@charset "utf-8";
/* =========common======== */

:root{
    --main:#242424;
    --sub:#A4A4A4;
    --white:#F5F5F5;
    --white80:rgba(245,245,245,0.9);
    --back:#E6E6E6;
}

html{ 
    font-size: 62.5%;
}

body{
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    color: var(--main,#242424);
    background-color: var(--white,#F5F5F5);
    background-image: url(../images/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    line-height: 1;
}

img{
    max-width: 100%;
    height: auto;
}  

.topic{
    color: var(--sub);
    opacity: 0.4;
    font-family: "Lato", sans-serif;
    font-size: 8rem;
    font-weight: 300;
}

.subtopic{
    color: var(--main, #242422);
    font-size: 2.4rem;
    font-weight: 350;
}

.spCta{
    width: 152px;
    height: 41px;
    flex-shrink: 0;
    display: block;
    margin: 64px 4.2% 0 auto;
}

.pcCta{
    display: block;
    margin: 0 8% 0 auto;
    width: 304px;
    height: 82px;
    flex-shrink: 0;
}


.btn{
    display: block;
    border-radius: 76.5px;
    background: var(--sub);
    width: 311px;
    height: 65px;
    margin: 0 auto;

    padding: 18px 47px 20px;
    color: var(--whitewhite);
    color: var(--white);
    text-align: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 350;
    line-height: 1.5;
    position: relative;
    transition: 0.4s;
    
}

.btn::after{
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url(../images/Polygon\ 2.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 
    position: absolute;
    right: 18px;
    top: 50%;   
    /* これで半分にいかないのは16px×16pxの箱の上辺が真ん中にくるから。真ん中にするには半分戻す */
    transform: translateY(-50%);
}

.btn:hover{
    opacity: 0.5;

}

/* commonPC769px */
@media screen and (min-width: 769px) {
    .topic{
        color: var(--sub, #A4A4A4);
        font-size: 35rem;
    }

    .subtopic{
        font-size: 3rem;
        font-weight: 500;
    }

    .btn{
        width: 664px;
        height: 153px;

        font-size: 3rem;
        font-weight: 500;
        line-height: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* =========/common======== */
/* =========header======== */
.header__topic a{
    display: flex;
    width: 100px;
    height: 30px;
    flex-shrink: 0;
    text-align: center;
    align-items: center;
} 

.header,
.nav__header{
    padding: 0 4.2%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-top: 41px; */
}


/* nav初期表示 */
.nav{
    background: var(--white80);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__list{
    margin-top: 101px;
}

.nav__item{
    color: var(--sub, #A4A4A4);
    font-family: Lato;
    font-size: 3rem;
    font-weight: 300;
    position: relative;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.nav__item::before{
    content: '';
    display: inline-block;
    width: 39px;
    height: 1px;   
    background: var(--sub, #A4A4A4);
    margin: 0 30px 0 13.6%;
}

/* .nav.active表示 */
.nav.active{
    transform: translateX(0);
}

.header_hamburger{
    display: block;
    width: 36px;
    height: 30px;

}

/* headerPC769px */
@media screen and (min-width:769px){
    .header{
        padding: 0 8.3%;
        height: 65px;
        margin: 33px auto 0;

    }

    .header__topic a{
        width: 215px;
        height: 65px;
    }

    .nav__header,
    .header_hamburger,
    .nav__item::before{
        display: none;
    }

    .nav{
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translateX(0);
    }

    .nav__list{
        display: flex;
        align-items: center;
        margin-top: 0;
        height: 65px;
    }

    .nav__item{
        margin: 0 0 0 31px;
        text-align: center;
        font-size: 2rem;
    }
}

/* =========/header======== */
/*==========================
fadeIn
==========================*/
.fadeIn {
    transform: translate(0, 50px);
    opacity: 0;
    transition: 0.8s;
}

.fadeIn.animated {
    transform: translate(0, 0);
    opacity: 1;
}
/* =========footer======== */
.footer{
    margin-top: 100px;
    background-color: var(--white);
    padding: 64px 0 0;
}

.footer .logo{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 275px;
    aspect-ratio: 275/168;
}

.snsicon{
    margin: 128px auto 0;
    display: flex;
    /* gap: 42px; */
    justify-content: space-between;
    max-width: 275px;
}

    
.kiyaku__container{
    display: flex;
    justify-content: space-between;
    margin: 85px auto 0;
    max-width: 275px;
}

.kiyaku{
    font-size: 1rem;
}


.copy{
    display: block;
    margin: 30px auto 0;
    text-align: center;
}


/* productPC769px */
@media screen and (min-width: 769px) {
    .footer{
        margin-top: 100px;
    }

    .footer__container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 8.3%;
    }

    .footer .logo{
       margin: 0;
    }

    .snsicon{
        margin: 0;
        gap: 42px;
    }

    
}