@charset "UTF-8";

/* =========================================
   1. ヘッダー本体 (.l-header)
========================================= */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background-color: #ffffff;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* 追従開始時（スクロール時） */
.l-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}


/* =========================================
   2. ロゴエリア (.l-header__center)
========================================= */
.l-header__center {
    text-align: center;
}

.l-header__catch {
    color: var(--color-main);
    font-size: 12px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.l-header__logo img {
    width: 146px;
}


/* =========================================
   3. 無料体験ボタン (.l-header__reserve)
========================================= */
.l-header__reserve {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 180px;
    background-color: var(--color-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.l-header__reserve:hover {
    opacity: 0.85;
}

.l-header__reserve img {
    width: 16px;
    margin-bottom: 12px;
}

.l-header__reserve-text {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.03em;
}


/* =========================================
   4. ハンバーガーボタン (.l-header__hamburger)
========================================= */
.l-header__hamburger {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 102;
}

.l-header__hamburger-lines {
    position: relative;
    width: 38px;
    height: 16px;
    margin-bottom: 10px;
}

.l-header__hamburger-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-main);
    transition: transform 0.4s ease-in-out, top 0.4s ease-in-out, bottom 0.4s ease-in-out;
}

.l-header__hamburger-lines span:nth-child(1) {
    top: 0;
}

.l-header__hamburger-lines span:nth-child(2) {
    bottom: 0;
}

.l-header__hamburger-text {
    font-size: 16px;
    color: var(--color-main);
    letter-spacing: 0.08em;
    transition: opacity 0.4s ease-in-out;
    line-height: 1;
    font-family: var(--font-en);
    font-weight: 300;
}

/* 開閉（is-open）状態 */
.l-header__hamburger.is-open .l-header__hamburger-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.l-header__hamburger.is-open .l-header__hamburger-lines span:nth-child(2) {
    bottom: 7px;
    transform: rotate(-45deg);
}

.l-header__hamburger.is-open .l-header__hamburger-text {
    opacity: 0;
}


/* =========================================
   5. スライドダウンメニュー (.l-header__drawer)
========================================= */
.l-header__drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-1);
    padding: 100px 0 60px;
    z-index: 99;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s ease-in-out;
    overflow-y: auto;
}

.l-header__drawer.is-open {
    transform: translateY(0);
    visibility: visible;
}

.l-header__drawer-inner {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.l-header__drawer-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    width: 100%;
    padding: 0;
    margin: 0 0 45px 0;
    list-style: none;
}

.l-header__drawer-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.l-header__drawer-item a:hover {
    opacity: 0.6;
}

.l-header__drawer-en {
    font-size: 24px;
    font-family: var(--font-en);
    color: var(--color-main);
    letter-spacing: 0.15em;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 6px;
}

.l-header__drawer-jp {
    font-size: 13px;
    color: var(--color-text-base);
    letter-spacing: 0.1em;
    font-weight: 300;
}

.l-header__drawer-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.l-header__drawer-btn {
    width: 280px;
    height: 52px;
    border-radius: 9999px;
    font-size: 14px;
}

.l-header__drawer-btn--login {
    background-color: #ffffff;
    color: var(--color-main);
    border: 1px solid var(--color-main);
}

.l-header__drawer-btn--login .c-btn__arrow {
    background-color: var(--color-main);
}

.l-header__drawer-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.l-header__drawer-sub {
    font-size: 12px;
    color: #BFA17A;
    letter-spacing: 0.15em;
    font-family: var(--font-en);
    font-weight: 300;
    margin-bottom: 15px;
}

.l-header__drawer-line {
    display: block;
    width: 40px;
    height: 1px;
    background-color: #BFA17A;
}

@media screen and (max-width: 768px) {
    .l-header__drawer {
        padding: 80px 0 50px;
    }

    .l-header__drawer-list {
        gap: 25px;
        margin-bottom: 35px;
    }

    .l-header__drawer-en {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .l-header__drawer-jp {
        font-size: 12px;
    }

    .l-header__drawer-cta {
        margin-bottom: 30px;
    }

    .l-header__drawer-btn {
        width: 100%;
        max-width: 280px;
        height: 48px;
    }
}

@media screen and (max-width: 768px) {
    .l-header__drawer-cta {
        margin-bottom: 30px;
        gap: 12px;
    }

    .l-header__drawer-btn {
        width: 100%;
        max-width: 280px;
        height: 48px;
    }
}

/* =========================================
   6. レスポンシブ (タブレット / スマホ)
========================================= */
/* タブレット版 (769px 〜 1024px) */
@media screen and (max-width: 1024px) {
    .l-header {
        height: 130px;
    }

    .l-header__catch {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .l-header__logo img {
        width: 130px;
    }

    .l-header__reserve {
        width: 150px;
        height: 130px;
    }

    .l-header__reserve img {
        width: 28px;
        margin-bottom: 8px;
    }

    .l-header__reserve-text {
        font-size: 13px;
    }

    .l-header__hamburger {
        width: 120px;
        height: 130px;
    }

    .l-header__drawer {
        padding: 160px 0 60px;
    }
}

/* スマホ版 (768px以下) */
@media screen and (max-width: 768px) {
    .l-header {
        height: 90px;
    }

    .l-header__catch {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .l-header__logo img {
        width: 73px;
    }

    .l-header__reserve {
        width: 90px;
        height: 90px;
    }

    .l-header__reserve img {
        width: 23px;
        margin-bottom: 6px;
    }

    .l-header__reserve-text {
        font-size: 14px;
    }

    .l-header__hamburger {
        width: 90px;
        height: 90px;
    }

    .l-header__hamburger-lines {
        width: 38.5px;
        height: 12px;
        margin-bottom: 4px;
    }

    .l-header__hamburger.is-open .l-header__hamburger-lines span:nth-child(1) {
        top: 5px;
        transform: rotate(45deg);
    }

    .l-header__hamburger.is-open .l-header__hamburger-lines span:nth-child(2) {
        bottom: 5px;
        transform: rotate(-45deg);
    }

    .l-header__drawer {
        padding: 120px 0 60px;
    }
}