@charset "UTF-8";

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    font-family:
        'Noto Sans JP',
        Arial,
        sans-serif;
    font-style: normal;
    color: #000;
    background-color: #fff;
    line-height: 1.5;
}
p{
    font-size: var(--fontSizeNormal);
}
:root{
    /* color */
    --newestTheme: #5C8194;
    --subNewestTheme: #d5f6ef;
    --mainYellow:#ffc800;
    --mainYellow-lighter:#ffe893;
    --mainYellow-darker:#ffb700;
    /* fontSize */
    --fontSizeNormal:1.6rem;
    --fontSizeHeading:4rem;
}

@media screen and (min-width: 960px){
        :root{
            /* fontSize */
            --fontSizeNormal:max(1.7rem);
            --fontSizeHeading:max(2vw, 3.5rem);
        }
    }

/* ----------- header ----------- */

header{
    width: 100vw;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    padding: 0 2vh;
    top: 0;
    z-index: 10;
    background-color: transparent;
    animation: loadfade .5s linear backwards
}
.header-logo{
    height: 100%;
    position: relative;
}
.header-logo img{
    height: 39px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    margin: auto 0;
}
.nav-btn{
    height: 100%;
    width: 40px;
    position: relative;
    margin-right: 4px;
    z-index: 11;
}
.nav-bar,.nav-bar::before,.nav-bar::after{
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: black;
    transition: transform  .5s, top .5s, bottom .5s, background-color .3s;
    border-radius: 1vw;
}
.nav-bar{
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.nav-bar::before{
    top: -13px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.nav-bar::after{
    bottom: -13px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.nav-bar.active{
    background-color: transparent;
}
.nav-bar.active::before{
    top: 0;
    transform: rotate(135deg);
}
.nav-bar.active::after{
    bottom: 0;
    transform: rotate(-135deg);
}
.nav {
    pointer-events: none;
    background:rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -10;
    transition:opacity .4s ,z-index .4s;
}
.nav.active{
    pointer-events: all;
    opacity: 1;
    z-index: 10;
}
.nav-list{
    width: fit-content;
    height: fit-content;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.nav-item{
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: .2rem;
    margin: 3rem auto 0;
    position: relative;
    width: fit-content;
    z-index: 10;
}
.nav-item::before{
    content: "";
    display: block;
    border-top: 1px solid var(--mainYellow);
    width: 4rem;
    position: absolute;
    top: -1.5rem;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 10;
}
.pcNav{
    display: none;
}
header .onPage{
    font-weight: 600;
}
.nav-item.onPage::before{
    border-top: 2.5px solid var(--mainYellow);
    width: 6rem;
}
.SNS-list__sp,
.SNS-list__pc{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap;
}
.SNS-list__sp{
    width: 80%;
    margin: 5rem auto 0;
}
.SNS-list__sp i{
    font-size: 4rem;
    font-weight: 300;
}
.SNS-list__pc{
    display: none;
}

/* =============
　section-top
================ */
.section-top{
    width: 100%;
    height: 100vh;
    padding-top: 15vh;
    margin: 0 auto 20vh;
    position: relative;
    animation: loadfade 1s linear forwards;
    overflow: hidden;
}
.visual-box{
    width: 95%;
    max-width: 700px;
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center center;
    margin: 0 auto;
    position: relative;
    border-radius: 1rem;
    border: 8px solid white;
}
.visual-box::before{
    display: block;
    content: "";
    width: 0%;
    aspect-ratio: 1/1;
    background-color: var(--mainYellow);
    border-radius: 100% 65% 73% 100% / 65% 32% 40% 97% ;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -2;
    margin: auto;
    animation: visualBack-fade 3.5s forwards;
}

@keyframes visualBack-fade {
    0%{
        width: 0%;
    }
    100%{
        width: 120%;
    }
}
.top-phrase{
    font-weight: 700;
    font-size: min(10vw, 4rem);
    line-height: 6rem;
    letter-spacing: normal;
    position: relative;
    margin-top: 5vh;
}
.top-phrase span, .heading span, .heading-sub span{
    padding: .5rem .5rem .5rem 1.5rem;
    position: relative;
    overflow: hidden;
    left: -100%;
}
.opening1{
    animation: openin 1s ease forwards;
    overflow: hidden;
}
.opening2{
    animation: openin 1s 1.2s ease forwards;
    overflow: hidden;
}
.opening1::before,.opening2::before,.fadeInHeading::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
.opening1::before{
    animation: openfade 1s 0.8s ease forwards;
}
.opening2::before{
    animation: openfade 1s 2.2s ease forwards;
}
@keyframes  openin{
    0%{
        left: -100%;
    }
    100%{
        left: 0;
    }
}
@keyframes  openfade{
    0%{
        left: 0;
        width: 100%;
    }
    100%{
        left: 100%;
        width: 0%;
    }
}

/* --------  footer  --------- */

footer{
    width: 100%;
    height: 100vh;
}
.footer-wrapper{
    width: 100%;
    height: 100%;
    background-color:var(--mainYellow);
    position: relative;
    padding-top: 20vh;
}
.topbtn{
    width: fit-content;
    margin: 0 auto;
    font-size: var(--fontSizeNormal);
    font-weight: 600;
    color: white;
    position: absolute;
    bottom: 20vh;
    right: 0;
    left: 0;
    padding: 2.2rem 2rem;
    border: 2px solid white;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}
.footer-wrapper div{
    height: fit-content;
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
    transform: rotate(9deg);
}
.footer-wrapper div img{
    width: 100%;
    object-fit: contain;
    border: 10px solid white;
    border-radius: 10px;
}
footer p{
    color: black;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 7vh;
    margin: 0 auto;
}
.book-btn{
    display: inline-block;
    height: 8rem;
    aspect-ratio: 1/1;
    text-align: center;
    background-color:#ffc800;
    border-radius: 50%;
    position: fixed;
    bottom: 5vw;
    right: 5vw;
    z-index: 5;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    opacity: 0;
    pointer-events: none;
    animation: book-fadeIn .8s 15s forwards;
}
.book-btn p{
    width: fit-content;
    height: fit-content;
    font-size: 1.4rem;
    font-weight: 600;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
@keyframes book-fadeIn {
    from{
        opacity: 0;
        pointer-events: none;
    }
    to{
        opacity: 1;
        pointer-events: all;
    }
}

/* =============　PC ============== */

@media screen and (min-width:960px) {
    header{
        width: 100%;
        justify-content: space-between;
        height: 10vh;
        background-color: transparent;
        margin: 0vh auto;
        padding: 0 5vw;
    }
    .header-logo{
        height: 5.5vh;
        transition: .3s;
    }
    .header-logo img{
        height: 100%;
        position: relative;
    }
    .header-logo:hover{
        transform: scale(1.1);
    }
    .nav-btn{
        display: none;
    }
    .nav-bar{
        display: none;
    }
    .nav{
        width: fit-content;
        height: fit-content;
        position: static;
        opacity: 1;
        z-index: 10;
        transition: none;
        pointer-events: all;
        margin-left: 2.5vw;
        background-color: transparent;
        backdrop-filter: none;
    }
    .nav-list{
        display: flex;
        justify-content: center;
    }
    .nav-item{
        width: 12vw;
        height: 3.2rem;
        margin: 0 0 1.2rem;
        font-size: var(--fontSizeNormal);
        font-weight: 500;
        color: black;
        text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
        text-align: center;
        line-height: 4rem;
        letter-spacing: normal;
        transition: .3s;
        overflow: hidden;
    }
    .nav-item::before{
        display: none;
    }
    .pcNav{
        display: inline;
    }
    .onPage{
        font-weight: bold;
        color: var(--mainYellow);
    }
    li[class="nav-item"]:hover{
        font-weight: bold;
        color:var(--mainYellow);
        letter-spacing: .2rem;
    }
    .nav-item a{
        display: block;
        position: relative;
        animation: namechange 12s 5s ease  infinite  forwards;
    }
    .SNS-list__pc{
        height: 100%;
        display: flex;
        gap: 2rem;
    }
    .SNS-list__pc i{
        margin-top: .8rem;
        font-size: 3.5rem;
        text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
    }
    .SNS-list__pc li{
        margin-bottom: 4px;
        transition: .3s;
    }
    .SNS-list__pc li:hover{
        transform: scale(1.1);
        color: var(--mainYellow);
    }
    .nav-item__SNS{
        display: none;
    }
    @keyframes namechange {
        0%{
            top: 0;
        }
        10%{
            top: -4.1rem;
        }
        50%{
            top: -4.1rem;
        }
        60%{
            top: 0;
        }
        100%{
            top:0;
        }
    }

    /* =============
    　section-top
    ================ */
    .section-top{
        height: fit-content;
        width: 85%;
        aspect-ratio: none;
        margin: 10vh auto 25vh;
        padding-top: 0;
    }
    .visual-box{
        width: 100%;
        max-width: none;
        height: 85vh;
        border: none;
    }
    .top-phrase{
        font-size: 5rem;
        line-height: 9rem;
        letter-spacing: .3rem;
        position: absolute;
        bottom: 15%;
        left: -5vw;
    }
    .top-phrase span{
        background-color: white;
        padding: .6rem 1.5rem .6rem 3vw;
    }
    .visual-box::before{
        display: none;
    }
    /* --------  footer  --------- */
    footer{
        height: 90vh;
    }
    .footer-wrapper{
        padding: 10vh;
    }
    .footer-wrapper div{
        height: 40vh;
    }
    footer p{
        font-size: 2rem;
    }
    .topbtn{
        font-size: 2rem;
        padding: 2.8rem 2.5rem;
        transition: .3s;
    }
    .topbtn:hover{
        transform: scale(1.1);
    }
    .list-L li:hover{
        span{
            padding-left: 1rem;
            padding-right: 3rem;
        }
    }
    .list-R li:hover{
        span{
            padding-right: 1rem;
            padding-left: 3rem;
        }
    }
    .book-btn{
        height: 10rem;
        bottom: 3vw;
        right: 3vw;
        transition: .3s;
    }
    .book-btn p{
        font-size: 1.5rem;
    }
    .book-btn:hover{
        transform: scale(1.1);
    }
}

/* ----------------- common parts ------------------ */

.btn{
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.7rem;
    font-weight: 600;
    padding: 2rem 7rem 2rem 3rem; 
    color: black;
    background-color: var(--mainYellow);
    border-radius:100vw;
    position: relative;
    z-index: 1;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.btn::after{
    height: 4rem;
    line-height: 4rem;
    aspect-ratio: 1/1;
    display: block;
    content: "\f061";
    font-family: "Font Awesome 7 Free";
    font-size: 1.7rem;
    text-align: center;
    color: var(--mainYellow);
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 1.5rem;
    bottom: 0;
    margin: auto 0;
}

.fadeIn{
    opacity: 0;
    transition: 1s;
}
.fadeIn.animated{
    opacity: 1;
}
.fadeIn-up{
    opacity: 0;
    transition: 1s .5s ease;
    transform: translateY(50px);
}
.fadeIn-up.animated{
    opacity: 1;
    transform: translateY(0);
}
.heading{
    font-size: var(--fontSizeHeading);
    font-weight: 600;
}
.decoBox{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}


.pcOnly{
    display: none;
}

@keyframes loadfade {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


@media screen and (min-width:960px){
    
    .spBr{
        display: none;
    }
    .flex-box{
        display: flex;
    }
    .spOnly{
        display: none;
    }
    .pcOnly{
    display: inline-block;
    }


    .btn{
        padding: 2rem 7rem 2rem 3.5rem;
        transition: .3s;
        border: 3px solid var(--mainYellow);
    }
    .btn::after{
        font-size: 1.9rem;
        transition: .3s;
    }
    .btn:hover{
        transform: scale(1.05);
        background-color: white;
    }
    .btn:hover::after{
        right: 1rem;
    }

    .heading{
        font-size: var(--fontSizeHeading);
        font-weight: 600;
    }
    
}