@charset "utf-8";

/*==========================
common
==========================*/
:root {
    --primary-white: rgba(255, 253, 253, 1);
    --primary-black: rgba(44, 44, 44, 1);
    --primary-orange: rgba(255, 147, 100, 1);
    --primary-yellow: rgba(255, 228, 99, 1);
    --primary-blue: rgba(159, 215, 216, 1);
    --primary-gray: rgba(133, 133, 133, 1);
    --primary-darkGray: rgba(137, 137, 137, 1);
    --primary-lightGray: rgba(240, 240, 240, 1);
}

html {
    font-size: 62.5%;
}

body {
    font-family:
        'Noto Sans JP',
        'Manrope',
        Arial, sans-serif;
    font-style: normal;
    color: var(--primary-black);
    background-color: var(--primary-white);
    line-height: 1.6;
}

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

.topic {
    font-family: 'Manrope';
    font-weight: 700;
    font-size: 5rem;
    line-height: 1;
}

.btn {
    display: inline-block;
    padding: 0 25px;
    height: 50px;
    color: var(--primary-white);
    background: var(--primary-black);
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.btn__txt {
    display: inline-block;
    line-height: 1;
}

.btn:hover {
    opacity: 0.5;
    background-color: var(--primary-gray);
}

/*common pc */
@media screen and (min-width:769px) {
    .topic {
        font-size: 10rem;
    }

    .btn {
        padding: 0 60px;
        height: 100px;
        font-size: 3.5rem;
        font-weight: 700;
        line-height: 100px;
        border-radius: 50px;
        transition: 0.3s;
        letter-spacing: 0.05em;
    }

    .btn__txt {
        display: inline-block;
        line-height: 1;
    }

    .btn:hover {
        opacity: 0.5;
        background-color: var(--primary-gray);
    }
}


/*==========================
header
==========================*/
.header {
    padding: 20px 6% 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__img {
    width: 78px;
    height: auto;
}

/* .nav初期表示 */


.drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    /* ベース */
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 100;
}

.nav {
    position: absolute;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: var(--primary-darkGray);
    transition: right 0.4s;
    padding: 20px;
    box-sizing: border-box;
    z-index: 200;
    /* ← オーバーレイより上に！ */
}

.drawer.open .overlay {
    opacity: 1;
}

.drawer.open .nav {
    right: 0;
    /* スライドイン */
}

.drawer.open {
    pointer-events: auto;
    /* 背景クリックできるように */
}

.nav__header {
    padding-left: 4.2%;
    display: flex;
    justify-content: flex-end;

}

.nav__btn--close {
    height: 18px;
    width: 18px;
}

.nav__logo {
    display: block;
    margin: 40px auto 0;
    width: 160px;
}

.nav__item {
    color: var(--primary-white);
    font-size: 2rem;
    font-weight: 400;
    line-height: 35px;
    margin-top: 28px;
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin-left: 15%;
}

.nav__list img {
    width: 45px;
    margin-right: 12px;
}

.nav__sns {
    display: flex;
    position: relative;
    justify-content: center;
    margin-top: 80px;
    gap: 20px;
}

.header__container a {
    cursor: pointer;
}

.header__btn--menu {
    width: 30px;
    height: auto;
}
.header__btn--menu img {
    width: 100%;
    height: auto;
}

@media screen and (min-width:769px) {
    .header {
        padding: 60px 6% 50px;
        height: 80px;
    }

    .header__img {
        width: 140px;
        height: auto;
    }

    .header__btn--menu {
        width: 43px;
    }

   .nav__header img {
    width: 35px;
    height: auto;
   }

   .nav {
    right: -300px;
    width: 300px;
   
}
.nav__logo {
    display: block;
    margin: 50px auto 30px;
    width: 180px;
}

.nav__list {
    margin-left: 18%;
}

.nav__item {
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 35px;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.nav__sns {
    margin-top: 100px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: flex-end;
}

.nav__sns-item img{
    width: 30px;
    height: auto;
}
}

/* ==========================
footer
========================== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0 40px;
    text-align: center;
}

.footer a img {
    width: 135px;
    height: auto;
    display: block;
}

.footer .nav__sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 14px;
}

.footer .nav__sns-item img {
    width: 20px;
    height: auto;
}

.footer .copy {
    font-size: 1.2rem;
    color: var(--primary-gray);
    margin-top: 35px;
}

@media screen and (min-width:769px) {
    .footer a img {
    width: 200px;
}

.footer .nav__sns {
    margin-top: 32px;
}

.footer .nav__sns-item img {
    width: 40px;
}

.footer .copy {
    font-size: 1.6rem;
    color: var(--primary-gray);
    margin-top: 60px;
}
}