@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Noto_Sans_JP;
    src: url(../font/Noto_Sans_JP/static/NotoSansJP-Regular.ttf);
}
@font-face {
    font-family: FustatLight;
    src: url(../font/Fustat/static/Fustat-Light.ttf);
}
@font-face {
    font-family: FustatMedium;
    src: url(../font/Fustat/static/Fustat-Medium.ttf);
}

/* header */

.header-flexbox {
    display: flex;
    width: 100%;
    height: 50vw;
}

header .logobox {
   width: 20%;
   margin-top: 3%;
    /* background-color: rgb(231, 201, 162); */
}

h1 img {
    display: block;
    width:90%;    
    margin-left: auto;
    margin-right: auto;
    /* background-color: aquamarine; */
}

header nav {
    margin-top: 18%;
}

header nav ul li {
    list-style-type: none;
    text-align: center;    
}

header nav ul li a {
    text-decoration: none;
    line-height: 2;
    color: #202020;
    font-size: 1vw;
    font-family: FustatMedium;
    letter-spacing: 0.05em;
    transition: 0.5s
}

header nav ul li a:hover {
    color: #e9a149;
    transition: 0.5s 
}

header .sns-icon {
    display: block;
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    text-align: center;
    font-size: 1.8vw;
    color: #202020;
    transition: 0.5s
    /* background-color: antiquewhite; */
}

header .sns-icon .fa-facebook:hover {
    color: #4c88f0;
    transition: 0.5s
}

header .sns-icon .fa-instagram:hover {
    color: #d53ff7;
    transition: 0.5s
}

.header-rightbox {
    width: 80%;
    position: relative;
    /* background-color: antiquewhite; */
}

.parent1 {
    background-image: url(../images/topvisual.jpg);
    height: 50vw;
    background-size: 100% 100%;

}
.textbox1 {
    position: absolute;
    writing-mode: vertical-rl;
    letter-spacing: 0.09em;
    line-height: 1;
    width: 1.3vw;
    text-align: center;
    padding: 3% 1%;
    top: 6vw;
    left: 67vw;
    font-size: 1.8vw;
    background-color: #ffffff;
}

.textbox2 {
    position: absolute;
    writing-mode: vertical-rl;
    letter-spacing: 0.09em;
    line-height: 1;
    width: 1.3vw;
    text-align: center;
    padding: 3% 1%;
    top: 6vw;
    left: 62vw;
    font-size: 1.8vw;
    background-color: #ffffff;
}
    
.box1 {
    position: absolute;
    width: 10vw;
    height: 10vw;
    line-height: 7;
    border-radius: 5vw;
    top: 28vw;
    left: 61vw;
    text-align: center;
    font-size: 1.4vw;
    background-color: rgb(63, 64, 65);
    color: #ffffff;
    transition: 0.5s;
}

.box1:hover {
    width: 10.5vw;
    height: 10.5vw;
    border-radius: 5.25vw;
    line-height: 6;
    font-size: 1.6vw;
    background-color: rgb(109, 109, 109);
    transition: 0.5s;
}



/* ライン */
.line img {
    display: block;
    width: 75%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
}

/* 写真１段目 */
main section {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    /* background-color: antiquewhite; */
}

main h2 {
    width: 30%;
    font-size: 1.5vw;
}

.section-topbox {
    display: flex;
    width: 100%;
    margin-bottom: 7%;
    /* background-color: aqua; */
}

main .section-topbox p {
    width: 30%;
    margin-top: 5%;
    text-align: justify;
    line-height: 2;
    font-size: 1.11vw;.
    /* font-family: Noto_Sans_JP; */
    /* background-color: azure; */
}

main section .section-topbox img:nth-of-type(1) {
    width: 8%;
    height: 100%;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;        
}

main section .section-topbox img:nth-of-type(2) {
    width: 50%;
    margin-left: auto;    
}

/* イラスト */
.illust img {
    display: block;
    width: 10%;
    margin-left: auto;
}


/* 写真２段目 */

.section-middlebox {
    display: flex;
    width: 100%;
    margin-bottom: 10%;
    /* background-color: aqua; */
}

.section-middlebox img:nth-of-type(1) {
    width: 55%;
}

main .section-middlebox p {
    width: 40%;
    margin-top: 10%;
    margin-left: 5%;
    text-align: justify;
    line-height: 2;
    font-size: 1.11vw;.
}

/* イラスト */
.illust2 img {
    display: block;
    width: 12%;
}

/* 写真３段目 */
.parent img{
    width: 55%;
    margin-left: 45%;
}

.section-bottombox {
    position: relative;
    margin-bottom: 20%;
}

.section-bottombox img:nth-child(2) {
    position: absolute;
    top: 40%;
    width: 50%;
}


/* ライン */
.line2 img {
    display: block;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10%;
}

/* フッター */
footer {
    padding: 5%;
    background-color: rgb(63, 64, 65)
}

.footer-flexbox {
    display: flex;
    width: 100%;    
}

footer .footer-flexbox a{
    display: block;
    width: 20%   
}

footer .footer-flexbox img {
    display: block;
    width: 100%;
    vertical-align: middle;
}

footer .addressbox {
    width: 30%;
    margin-top: 4%;
    margin-left: 8%;
}

footer .addressbox address {    
    font-style: normal;
    line-height: 2.5;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    font-size: 1.2vw;
    color: #fff;  
}

.openbox {
    width: 20%;
    margin-top: 3%;
    margin-left: 5%;    
}

.openbox p span {
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    font-size: 1.7vw;
    color: #fff;  
}

.openbox p {
    text-align: left;
    line-height: 2.5;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    font-size: 1.2vw;
    color: #fff;      
}

footer .sns-icon {
    width: 10%;
    text-align: center; 
    height: fit-content;
    margin-top: 4%;
    margin-left: 1%;
    font-size: 2vw;
}

footer .sns-icon .fa-brands {
    color: #fff;
    transition: 0.5s
}

footer .sns-icon .fa-facebook:hover {
    color: #4c88f0;
    transition: 0.5s
}

footer .sns-icon .fa-instagram:hover {
    color: #d53ff7;
    transition: 0.5s
}

footer p {
    text-align: end;
    letter-spacing: 0.07em;
    font-size: 0.9vw;
    color: #fff;
}