@charset "utf-8";


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

.header{
    position: sticky;
    top: 0;
    left: 0;
    z-index: 3000;
    width: 100%;
    height: 84px;
    color: var(--white);
}

/* ヘッダー背景 */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--color-text-primary);
    z-index: 2000; /* 背景レイヤー */
}

/* ヘッダー中身（ロゴ・PCナビ・ハンバーガー） */
.header-inner {
    position: relative;
    z-index: 3000; /* 常に前面 */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* ロゴ */
.header__logo {
    width: 243px;
}

/* =========================
   PCナビ
========================= */
.header-nav ul {
    display: flex;
    column-gap: 40px;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.header-nav__contact-btn a{
    display: block;
    padding: 6px 16px;
    border: 1px solid var(--white);
}

/* =========================
    ハンバーガー
========================= */
.js-hamburger-toggle{
    display: none;
}

.js-hamburger-drawer{
    display: none;
}


@media screen and (max-width:750px) {

    body.is-fixed {
        position: fixed;
        width: 100%;
    }
    


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

    .header{
        height: calc((100 / 390) * 72 * 1vw);
    }

    /* ヘッダー中身（ロゴ・PCナビ・ハンバーガー） */
    .header-inner {
        padding: 0 calc((100 / 390) * 16 * 1vw);
    }

    /* ロゴ */
    .header__logo {
        width: calc((100 / 390) * 193 * 1vw);
    }

    /* =========================
    PCナビ
    ========================= */
    .header-nav{
        display: none;
    }

    

    /* =========================
    ハンバーガー
    ========================= */
    .js-hamburger-toggle {
        display: block;
        width: calc((100 / 390) * 40 * 1vw);
        height: calc((100 / 390) * 40 * 1vw);
        position: relative;
        border: calc((100 / 390) * 1 * 1vw) solid var(--white);
        cursor: pointer;
        z-index: 3000; /* 常に前面 */
    }

    .js-hamburger-toggle span {
        position: absolute;
        width: calc((100 / 390) * 16 * 1vw);
        height: calc((100 / 390) * 1 * 1vw);
        background-color: var(--white);
        left: calc((100 / 390) * 12 * 1vw);
        transition: 0.3s ease;
    }

    .js-hamburger-toggle span:nth-child(1) { top: calc((100 / 390) * 13 * 1vw); }
    .js-hamburger-toggle span:nth-child(2) { top: calc((100 / 390) * 19 * 1vw); }
    .js-hamburger-toggle span:nth-child(3) { bottom: calc((100 / 390) * 13 * 1vw); }

    .js-hamburger-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: calc((100 / 390) * 19 * 1vw);
    }
    .js-hamburger-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .js-hamburger-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: calc((100 / 390) * 19 * 1vw);
    }
    
    /* =========================
        ハンバーガーメニュー
    ========================= */
    .js-hamburger-drawer {
        display: block;
        position: fixed;
        top: calc((100 / 390) * 72 * 1vw); /* ヘッダー下から出現 */
        left: 0;
        width: 100%;
        height: calc(100vh - (100 / 390) * 72 * 1vw);
        padding: calc((100 / 390) * 40 * 1vw) calc((100 / 390) * 16 * 1vw) calc((100 / 390) * 64 * 1vw);
        background: var(--color-text-primary);
    
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    
        z-index: 1999; /* ヘッダー背景の下 */
        overflow-y: auto;
    }

    .js-hamburger-drawer.is-open {
        transform: translateY(0);
    }

    

    
    .hamburger-menu--large {
        margin-bottom: calc((100 / 390) * 48 * 1vw);
    }
    
    .hamburger-menu--large li {
        border-bottom: calc((100 / 390) * 1 * 1vw) solid var(--white);
        font-size: calc((100 / 390) * 15 * 1vw);
        font-weight: 500;
        line-height: 1.8;
    }

    .hamburger-menu--large a{
        display: block;
        padding: calc((100 / 390) * 24 * 1vw) calc((100 / 390) * 8 * 1vw);
        position: relative;
    }

    .hamburger-menu--large a::after{
        content: '';
        display: block;
        width: calc((100 / 390) * 12 * 1vw);
        aspect-ratio: 12/10;
        background: url(/assets/img/vector.svg) center center/cover;
        position: absolute;
        top: 50%;
        right: calc((100 / 390) * 8 * 1vw);
        transform: translateY(-50%);
    }




    .hamburger-menu--small{
        display: flex;
        column-gap: calc((100 / 390) * 24 * 1vw);
        font-size: calc((100 / 390) * 13 * 1vw);
        font-weight: 500;
        line-height: 1.8;
        color: var(--border_gray);
    }

    

    
}
