html{
    font-size: 100%;
}

body{
    font-size: 0.9rem;
    color: #333;
}

img{
    max-width: 100%;
}

.site-title{
    width: 200px;
    text-align: center;
}

.site-title .ja{
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
}

.site-title .en{
    display: block;
    font-size: 1.7rem;
    font-weight: bold;
}

.wrapper{
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.sec-title{
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.sec-title::after{
    content: "";
    width: 100px;
    height: 3px;
    background-color: #333;
    display: block;
    margin: 0 auto;
    position: absolute;
    right: 0;
    left: 0;
    bottom: -20px;
}



/* header */
#header{
    height: 100px;
    padding: 40px 0 0 50px;
}

#hamburger-menu{
    width: 100%;
    height: 100vh;
    background-color: burlywood;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#hamburger-menu.active{
    opacity: 1;
    visibility:visible;
}

#hamburger-menu .site-title{
    color: #fff;
    position: absolute;
    top: 40px;
    left: 50px;
}

.hamburger-list{
    text-align: center;
    padding-top: 100px;
}

.hamburger-list li{
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.header-btn{
    width: 300px;
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    border: solid 2px #fff;
    padding: 20px 0;
    margin-top: 50px;
    transition: 0.3s ease-in-out;
}

.header-btn:hover{
    background-color: #fff;
    color: burlywood;
}

.hamburger-btn{
    width: 100px;
    height: 100px;
    background-color: burlywood;
    position: fixed;
    top: 0;
    right: 0;
    transition: 0.3s;
    z-index: 30;
}

.hamburger-btn:hover{
    opacity: 0.7;
}

.hamburger-btn span{
    width: 50px;
    height: 3px;
    background-color: #fff;
    display: block;
    position: absolute;
    left: 25px;
}

.hamburger-btn span:nth-child(1){
    top: 36px;
}

.hamburger-btn span:nth-child(2){
    top: 50px;
}

.hamburger-btn span:nth-child(3){
    top: 64px;
}

.hamburger-btn.active span:nth-child(1){
    top: 50px;
    transform: rotate(45deg);
}

.hamburger-btn.active span:nth-child(2),
.hamburger-btn.active span:nth-child(3){
    top: 50px;
    transform: rotate(-45deg);
}



/* mainvisual */
.mainvisual{
    height: 720px;
    position: relative;
    margin-bottom: 120px;
}

.mainvisual .text{
    position: absolute;
    top: 280px;
    left: 10%;
    z-index: 10;
}

.mainvisual .text p{
    font-size: 2.25rem;
    font-weight: bold;
    line-height: 1.5;
    text-shadow: 0 6px 6px #fff;
}

.mainvisual-btn{
    display: block;
    background-color: burlywood;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    text-align: center;
    border-radius: 20px;
    border-bottom: solid 8px rgb(223, 162, 83);
    padding: 20px 0;
    margin-top: 30px;
    position: relative;
}

.mainvisual-btn::after{
    content: "";
    width: 16px;
    height: 16px;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    position: absolute;
    transform: rotate(45deg);
    bottom: 25px;
    right: 15px;
}

.mainvisual-btn:hover{
    opacity: 0.9;
    transform: scale(1.05);
}

.fade li{
    width: 75%;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    animation: fade 15s infinite;
}

.fade li:nth-child(1){
    animation-delay: 0s;
}

.fade li:nth-child(2){
    animation-delay: 5s;
}

.fade li:nth-child(3){
    animation-delay: 10s;
}

.fade li img{
    width: 100%;
    height: 720px;
    object-fit: cover;
}

.fade li::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    box-shadow: inset 0px 0px 20px 20px #fff;
}

@keyframes fade{
    0%{
        opacity: 0;
    }
    15%{
        opacity: 1;
    }
    30%{
        opacity: 1;
    }
    45%{
        opacity: 0;
    }
    100%{
        opacity: 0;
    }
}



/* reason */
#reason{
    margin-bottom: 120px;
}

.bg{
    background-color: blanchedalmond;
    padding: 80px 0;
}

.slide{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 50%;
    padding: 5%;
    opacity: 0;
}

.slide img{
    width: 80px;
    margin-right: 30px;
}

.slide-title{
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: orangered;
    line-height: 1.6;
}

.slide-text{
    display: block;
    line-height: 1.6;
}

.inview-slide-left{
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 40px;
}

.slide-left{
    animation: slide-left 0.5s ease-out 0s 1 forwards;
}

@keyframes slide-left{
    0%{
        transform:translateX(-50%);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}

.inview-slide-right{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.slide-right{
    animation: slide-right 0.5s ease-out 0s 1 forwards;
}

@keyframes slide-right{
    0%{
        transform: translateX(150%);
    }
    100%{
        opacity: 1;
        transform: translateX(100%);
    }
}



/* voice */
#voice{
    margin-bottom: 120px;
}

.item-left,.item-right{
    display: flex;
    align-items: center;
    gap:30px;
    margin-bottom: 60px;
    opacity: 0;
}

.item-left{
    justify-content: flex-start;
}

.item-left:last-of-type{
    margin-bottom: 0;
}

.item-right{
    justify-content: flex-end;
}

.student img{
    width: 120px;
}

.student p{
    text-align: center;
    margin-top: 10px;
}

.balloon-text{
    width: 80%;
    background-color: rgb(231, 240, 248);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.item-left .balloon-text::before{
    content: "";
    position: absolute;
    left: 0;
    margin-left: -30px;
    border: solid 15px transparent;
    border-right: solid 15px rgb(231, 240, 248);
}

.item-right .balloon-text::before{
    content: "";
    position: absolute;
    right: 0;
    margin-right: -30px;
    border: solid 15px transparent;
    border-left: solid 15px  rgb(231, 240, 248);
}

.balloon{
    animation: balloon 0.5s ease-out 0s 1 forwards;
}

@keyframes balloon{
    0%{
        transform: scale(0.1);
        opacity: 0;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}



/* summary */
#summary{
    margin-bottom: 120px;
    padding: 80px 0 40px;
    background: url(../asset/img/bg.png) repeat;
    animation: fall 10s infinite linear;
}

@keyframes fall{
    0%{
        background-position: 0 0;
    }
    100%{
        background-position: -500px 500px;
    }
}

.summary-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 0;
    justify-content: space-between;
}

.summary-list li{
    width: 48%;
    height: 300px;
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
}

.summary-list .title{
    text-align: center;
    margin-bottom: 30px;
}

.summary-list .title .ja{
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-list .title .en{
    display: block;
    font-weight: 500;
}

.summary-list p{
    line-height: 1.7rem;
}

.summary-list dl{
    display: flex;
    flex-wrap: wrap;
}

.summary-list dl dt{
    width:45%;
    margin-bottom: 20px;
    font-weight: normal;
}

.summary-list dl dd{
    width: 55%;
    margin-bottom: 20px;
}

.summary-list .salon dt{
    width: 20%;
}

.summary-list .salon dd{
    width: 80%;
}



/* entry */
#entry{
    margin-bottom: 120px;
    text-align: center;
}

#entry .title{
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

#entry .text{
    font-size: 1.1rem;
}

.entry-btn{
    display: block;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    background-color: burlywood;
    border-bottom: solid 8px rgb(223, 162, 83);
    border-radius: 40px;
    padding: 20px;
    margin-top: 30px;
    transition: 0.3s;
}

.entry-btn:hover{
    opacity: 0.9;
    transform: scale(1.05);
}



/* footer */
#footer{
    background-color: rgb(240, 239, 239);
    padding: 50px 0 20px;
}

.inner{
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 60px;
}

.inner .list{
    width: 30%;
}

.inner .list p{
    font-weight: bold;
    margin-bottom: 15px;
}

.inner .list ul li{
    line-height: 1.8;
}

.copyright{
    text-align: center;
    font-size: 0.7rem;
}



/* tb */
@media(max-width:768px){
    .site-title{
        width: 150px;
    }

    .site-title .ja{
        font-size: 1rem;
    }

    .site-title .en{
        font-size: 1.3rem;
    }

    .wrapper{
        padding: 0 16px;
    }

    .sec-title{
        font-size: 1.3rem;
        margin-bottom: 50px;
    }


    /* header */
    #header{
        height:80px;
        padding: 25px 0 0 25px;
    }

    #hamburger-menu .site-title{
        top: 25px;
        left: 25px;
    }

    .hamburger-btn{
        width: 80px;
        height: 80px;
    }

    .hamburger-btn span{
        width: 40px;
        height: 2px;
        left: 20px;
    }

    .hamburger-btn span:nth-child(1){
        top: 27px;
    }

    .hamburger-btn span:nth-child(2){
        top: 40px;
    }

    .hamburger-btn span:nth-child(3){
        top: 53px;
    }

    .hamburger-btn.active span:nth-child(1){
        top: 40px;
    }

    .hamburger-btn.active span:nth-child(2),
    .hamburger-btn.active span:nth-child(3){
        top: 40px;
    }


    /* mainvisual */
    .mainvisual{
        height: 490px;
        margin-bottom: 80px;
    }

    .mainvisual .text{
        top: 310px;
        left: 16px;
        width: calc(100% - 32px);
    }

    .mainvisual .text p{
        font-size: 1.5rem;
    }

    .mainvisual-btn{
        width: 100%;
    }

    .fade li{
        width: 100%;
    }

    .fade li img{
        height: 300px;
    }


    /* reason */
    #reason{
        margin-bottom: 80px;
    }

    .slide{
        width:calc(100% - 16px);
    }

    .slide img{
        width: 20%;
    }

    .slide-title{
        font-size: 1.3rem;
    }

    @keyframes slide-left {
        0%{
            transform: translateX(-100%);
        }
        100%{
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slide-right {
        0%{
            transform: translateX(100%);
        }
        100%{
            opacity: 1;
            transform: translateX(16px);
        }
    }


    /* voice */
    #voice{
        margin-bottom: 80px;
    }

    .item-left{
        flex-direction: column-reverse;
    }

    .item-right{
        flex-direction: column;
    }

    .item-left .balloon-text::before{
        top: 100%;
        left: 55%;
        border: solid 15px transparent;
        border-top: solid 15px rgb(231, 240, 248);
    }

    .item-right .balloon-text::before{
        top: 100%;
        right: 53%;
        border: solid 15px transparent;
        border-top: solid 15px rgb(231, 240, 248);;
    }


    /* summary */
    #summary{
        margin-bottom: 80px;
    }

    .summary-list{
        flex-direction: column;
        gap: 30px 0;
    }

    .summary-list li{
        width: 100%;
    }


    /* entry */
    #entry{
        margin-bottom: 80px;
        text-align: center;
    }

    #entry .title{
        font-size: 1.3rem;
    }

    #entry .text{
        font-size: 0.9rem;
    }


    /* footer */
    .inner{
        flex-direction: column;
        align-items: center;
        gap: 50px 0;
    }

    .inner .list{
        width: 100%;
    }

}



@media(max-width:425px){
    .summary-list p,
    .summary-list dl{
        font-size: 0.8rem;
    }

    .summary-list p{
        line-height: 1.5;
    }
}