/* --------------- レスポンシブのための設定 ここから ---------------*/
/* ハンバーガーナビ */
@media screen and (max-width: 768px) {
    /* --- ⑱ ナビリスト 最初非表示--- */
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-main);
        z-index: 999;
        transform: translateY(-100%); /* 初期状態：画面上に隠す */
        /* translate: 0 -100%;  */
        display: flex; /* display:none は使わない */
        justify-content: center;
        align-items: center;
    }

    .h-nav-list {
        display: flex;
        flex-direction: column; /* 横並び→縦並びに変更 */
        align-items: center;
        gap: 32px;
    }

    .h-nav-list a {
        color: var(--color-base);
        border-bottom: 1px solid #fff;
        padding-bottom: 8px;
    }

    /* 予約ボタン非表示 */
    .header__cta {
        display: none;
    }

    /* --- ハンバーガーメニュー本体 --- */
    .h-hamburger {
        top: 16px;
        right: 32px;
        z-index: 9999;
        width: 48px;
        height: 48px;
        position: absolute;
        display: flex;
        flex-direction: column; /* テキスト → 線ラッパー の縦並び */
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    /* MENUテキスト */
    .h-hamburger-text {
        color: var(--color-base);
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.1em;
        line-height: 1;
        transition: 0.3s;
        padding-bottom: 10px;
    }

    /* 線のラッパー：2本線を重ねる土台 */
    .h-hamburger-lines {
        position: relative; /* 子のspanをここ基準で重ねる */
        width: 40px;
        height: 3px; /* 線1本分の高さ */
    }

    /* 2本の線 共通設定 */
    .h-hamburger-lines .line {
        position: absolute; /* ラッパー基準で重ねる */
        top: 0; /* 2本とも同じ位置からスタート */
        left: 0;
        display: block;
        width: 40px;
        height: 3px;
        border-radius: 2px;
        background: var(--color-base);
        transition: 0.5s;
    }

    /* 通常時：上の線を上にずらして2本に見せる */
    .h-hamburger-lines .line:first-child {
        transform: translateY(-8px); /* 上にずらす */
    }

    /* 通常時：下の線はそのまま */
    .h-hamburger-lines .line:last-child {
        transform: translateY(8px); /* 下にずらす */
    }

    /* × アニメーション：上の線 → ＼ */
    .h-hamburger.close .h-hamburger-lines .line:first-child {
        transform: rotate(45deg); /* translateYを消してrotateだけ */
    }

    /* × アニメーション：下の線 → ／ */
    .h-hamburger.close .h-hamburger-lines .line:last-child {
        transform: rotate(-45deg); /* 同じ位置でrotateだけ */
    }

    /* CLOSEテキスト切り替え */
    .h-hamburger.close .h-hamburger-text {
        font-size: 0;
        transition: 0.3s;
    }

    .h-hamburger.close .h-hamburger-text::before {
        content: '閉じる';
        font-size: 8px;
        letter-spacing: 0.05em;
        color: var(--color-base);
    }

    /*  ×（クローズ）アニメーション */
    .h-hamburger.close span {
        background: rgba(0, 0, 0, 0); /* 中央の線を透明に */
    }
    .h-hamburger.close span::before {
        top: 0;
        transform: rotate(45deg); /* 上の線を斜め45度 */
    }
    .h-hamburger.close span::after {
        bottom: 0;
        transform: rotate(-45deg); /* 下の線を逆に45度 */
    }
}

/* ==================================================
   768px以下
================================================== */
@media screen and (max-width: 768px) {
    /* ----------------
       共通
    ---------------- */
    :root {
        --gutter: 24px;
    }

    .section-heading {
        font-size: 24px;
        line-height: 1.4;
    }

    .section-label {
        font-size: 12px;
    }

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

    /* ----------------
       Header
    ---------------- */

    .header {
        height: 80px;
        padding: 0 20px;
        justify-content: space-between;
    }

    .header__logo {
        width: 90px;
    }

    .header__cta {
        display: none;
    }

    .h-hamburger {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        cursor: pointer;
    }

    .h-hamburger-lines {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .h-hamburger-lines .line {
        width: 42px;
        height: 2px;
        background: #fff;
    }

    /* ----------------
       Hero
    ---------------- */

    .hero__content {
        width: 100%;
        padding: 0 24px;
        left: 0;
        bottom: 80px;
    }

    .hero__heading {
        font-size: 42px;
        line-height: 1.4;
        white-space: normal;
        margin-bottom: 24px;
    }

    .hero__desc {
        font-size: 14px;
        line-height: 2;
    }

    .hero__vertical-text {
        display: none;
    }

    .btn--hero {
        width: 100%;
        max-width: 320px;
        font-size: 16px;
    }

    /* ----------------
       Concept
    ---------------- */

    .concept {
        padding: 80px 24px;
    }

    .concept__inner {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .concept__text {
        width: 100%;
        margin-right: 0;
    }

    .concept__images {
        width: 100%;
        position: static;
    }

    .concept__img-main,
    .concept__img-sub {
        position: static;
        width: 100%;
    }

    .concept__img-sub {
        margin-top: 20px;
    }

    .concept__leaf {
        display: none;
    }

    /* ----------------
       Features
    ---------------- */

    .features {
        padding: 80px 24px;
    }

    .features__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features__text {
        padding-left: 0;
    }

    .features__image {
        height: 320px;
    }

    /* ----------------
       Gallery
    ---------------- */

    .gallery {
        padding: 80px 24px;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item {
        height: 200px;
    }

    .gallery__ashirai {
        width: 160px;
    }

    /* ----------------
       Stay
    ---------------- */

    .stay {
        padding: 80px 24px;
    }

    .stay__image {
        height: auto;
    }

    .stay__caption {
        font-size: 16px;
        margin-top: 20px;
    }

    /* ----------------
       Cuisine
    ---------------- */

    .cuisine {
        padding: 80px 24px;
    }

    .cuisine__all {
        flex-direction: column;
    }

    .cuisine__grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 24px;
    }

    .cuisine__badge {
        width: 100%;
        margin: 24px 0 0;
        padding: 0;
    }

    /* ----------------
       Access
    ---------------- */

    .access {
        padding: 80px 24px;
    }

    .access__inner {
        flex-direction: column;
        gap: 40px;
    }

    .access__info {
        flex: none;
        width: 100%;
        padding: 0;
    }

    .access__map {
        width: 100%;
        height: 280px;
    }

    .access__map iframe {
        /* width: 100%;
        height: 100%; */
    }

    .access__dl {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .access__photo {
        min-height: auto;
    }

    /* ----------------
       Reservation
    ---------------- */

    .reservation {
        padding: 80px 24px;
    }

    .reservation__all {
        flex-direction: column;
    }

    .reservation__cards {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .reservation__img {
        width: 100%;
    }

    /* ----------------
       Footer
    ---------------- */

    .footer {
        padding: 40px 24px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer__address {
        white-space: normal;
    }

    .footer__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer__sns {
        justify-content: center;
    }

    /* ----------------
       BackToTop
    ---------------- */

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}
