/* ===================================
   ヘッダー全体
=================================== */
.original_header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e4dd;
    z-index: 1000;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

.original_header__inner {
    display: flex;
    align-items: center;
    height: 60px;
    max-width: 100%;
    padding: 0 0 0 16px;
}

/* ===================================
   ロゴ
=================================== */
.original_header__logo {
    flex-shrink: 0;
    margin-right: 20px;
    position: relative;
    z-index: 1200;
    /* ドロワーより前面に配置 */
}

.original_header__logo a {
    display: block;
}

.original_header__logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ===================================
   グローバルナビゲーション
=================================== */
.original_header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    margin-right: 30px;
}

.original_header__nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.original_header__nav-item {
    position: relative;
}

.original_header__nav-link {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 13px;
    height: 60px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.original_header__nav-link:hover {
    color: #4A9255;
}

.original_header__nav-arrow {
    display: none;
    font-size: 9px;
    opacity: 0.6;
    margin-top: 1px;
}

/* ===================================
   予約ボタン
=================================== */
.original_header__buttons {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    flex-shrink: 0;
}

.original_header__btn-reserve {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 20px;
    height: 100%;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

/* カレンダーから予約ボタン（オレンジ） */
.original_header__btn-calendar {
    background-color: #e8834a;
}

.original_header__btn-calendar:hover {
    filter: brightness(1.2);
    color: #fff !important;
}

/* プランから予約ボタン（グリーン） */
.original_header__btn-plan {
    background-color: #4A9255;
    border: 3px solid #4A9255;
}

.original_header__btn-plan:hover {
    filter: brightness(1.2);
    color: #fff !important;
}

.original_header__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.original_header__btn-label {
    line-height: 1;
    font-size: 13px;
}

/* ===================================
   デモコンテンツ（ヘッダー外）
=================================== */
.demo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 60px);
    font-size: 14px;
    color: #999;
}

/* バーガーボタン（デフォルト非表示） */
.original_header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1200;
    /* ロゴ・バーガーを最前面に */
}

/* 閉じるボタン ― ドロワー内に進んで上部に固定 */
.original_header__burger-close {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    position: sticky;
    top: 16px;
    margin-left: auto;
    margin-right: 16px;
    z-index: 1300;
    align-self: flex-end;
}

.original_header__burger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #3a3a2a;
    border-radius: 2px;
    transform-origin: center;
    position: relative;
}

/* 閉じるボタンのアニメーション後（常に×） */
.original_header__burger-close .original_header__burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.original_header__burger-close .original_header__burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.original_header__burger-close .original_header__burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================
   メニューの表示切替管理
=================================== */
@media (max-width: 520px) {

    /* 通常時：バーガーボタンを表示 */
    .original_header__burger {
        display: flex;
    }

    /* ドロワー開き時：閉じるボタンを表示 */
    .original_header:has(.original_header__drawer:target) .original_header__burger-close {
        display: flex;
    }

    /* :target（開いている時）：開くボタンを非表示、ロゴを非表示 */
    .original_header:has(.original_header__drawer:target) .original_header__burger {
        display: none !important;
    }

    .original_header:has(.original_header__drawer:target) .original_header__logo {
        visibility: hidden;
    }
}

/* ===================================
   モバイルドロワー
=================================== */
.original_header__drawer {
    display: none;
    /* SP のみ有効 */
    position: fixed;
    top: 0;
    /* ヘッダー上端ぴったり */
    left: 0;
    width: 100%;
    /* 全幅 */
    height: 100dvh;
    background-color: #f8f6f0;
    /* やや黄みがかった紙のような色 */
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("https://storage.489ban.net/storage/customer/3443/bg.jpg");
    /* 背景を薄く明るくするためのグラデーションオーバーレイを追加 */
    overflow-y: auto;
    transform: translateY(-100%);
    /* 上から下へスライド */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    /* ヘッダー全体より上、ただしロゴ・バーガーより下 */
}

/* :target で開く（URLの末尾が #original_header_drawer のとき） */
.original_header__drawer:target {
    transform: translateY(0);
    display: flex;
    flex-direction: column;
}

.original_header__drawer-inner {
    padding: 20px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ドロワー用ロゴ */
.original_header__drawer-logo {
    margin-bottom: 40px;
}

.original_header__drawer-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.original_header__drawer-nav {
    width: 100%;
}

.original_header__drawer-list {
    list-style: none;
    margin: 0 auto 40px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 25px;
    column-gap: 20px;
    width: 100%;
    max-width: 400px;
}

.original_header__drawer-list li {
    border-bottom: none;
}

.original_header__drawer-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    color: #301f00;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s ease;
}

.original_header__drawer-link:hover {
    opacity: 0.7;
    color: #301f00;
}

.original_header__drawer-arrow {
    font-family: monospace;
    font-size: 14px;
    color: #301f00;
}

/* ドロワー内予約ボタン */
.original_header__drawer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.original_header__drawer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: filter 0.2s ease;
}

.original_header__drawer-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.original_header__drawer-btn:hover {
    filter: brightness(1.1);
}

.original_header__drawer-btn--calendar {
    background-color: #cf793a;
    /* 画像のオレンジ色 */
}

.original_header__drawer-btn--plan {
    background-color: #4e8c56;
    /* 画像の緑色 */
}

.original_header__drawer-btn--contact {
    background-color: #382104;
    /* 画像の焦茶色 */
}

/* ドロワー下部 連絡先 */
.original_header__drawer-contact {
    margin-top: 50px;
    text-align: center;
}

.original_header__drawer-tel a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 30px;
    font-weight: 600;
    color: #382104;
    text-decoration: none;
    letter-spacing: 0.04em;
    line-height: 1;
}

.original_header__drawer-tel-icon {
    display: flex;
    align-items: center;
    width: 25px;
    height: 30px;
    object-fit: contain;
}

.original_header__drawer-hours {
    font-size: 14px;
    color: #382104;
    margin: 8px 0 0;
    letter-spacing: 0.04em;
}

.original_header__drawer-sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}

.original_header__drawer-sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.original_header__drawer-sns-link img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.original_header__drawer-sns-link:hover {
    opacity: 0.7;
}

/* ===================================
   オーバーレイ
=================================== */
.original_header__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1090;
    pointer-events: none;
    /* 閉じている時はクリック無効に */
    /* ドロワーの下、ロゴ・バーガーの下 */
}

.original_header:has(.original_header__drawer:target) .original_header__overlay {
    opacity: 1;
    pointer-events: auto;
    /* 開いている時のみクリック可能に */
}

/* ===================================
   520px 以下：SP レイアウト
=================================== */
@media (max-width: 520px) {

    /* PC ナビ・ボタンを隠す */
    .original_header__nav,
    .original_header__buttons {
        display: none;
    }

    /* バーガーボタン・ドロワー・オーバーレイを有効化 */
    .original_header__burger {
        display: flex;
        /* noneではなくflexに変更（通常時） */
    }

    .original_header__drawer,
    .original_header__overlay {
        display: block;
    }
}

/* ===================================
   フッター全体
   ※ original_header とは完全独立
=================================== */
.original_footer {
    background-color: #ede9e1;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #3a3a2a;
}

.original_footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 1060px;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 60px 40px 60px;
    gap: 40px;
}

@media (max-width: 520px) {
    .original_footer__inner {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 36px 24px 32px;
        gap: 0;
    }
}

/* ===================================
   左カラム
=================================== */
.original_footer__left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .original_footer__left {
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

/* ロゴ */
.original_footer__logo-img {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* 電話番号 */
.original_footer__tel a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 26px;
    font-weight: 700;
    color: #3a3a2a;
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1;
}

.original_footer__tel a:hover {
    opacity: 0.75;
}

.original_footer__tel-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* 受付時間 */
.original_footer__hours {
    font-size: 12px;
    color: #666;
    letter-spacing: 0.03em;
    margin: 0;
}

/* SNS アイコン一覧 */
.original_footer__sns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.original_footer__sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.original_footer__sns-link:hover {
    opacity: 0.75;
}

/* ダミーアイコン枠（後で <img> に差し替え） */
.original_footer__sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
}


/* お問い合わせボタン */
.original_footer__contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 210px;
    padding: 13px 0;
    background-color: #4A9255;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.original_footer__contact-btn:hover {
    filter: brightness(1.1);
    text-decoration: none !important;
    color: #fff !important;
}

.original_footer__contact-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

@media (max-width: 520px) {
    .original_footer__contact-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ===================================
   右カラム（ナビゲーション）
=================================== */
.original_footer__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}

.original_footer__nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 25px;
    row-gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.original_footer__nav-list li {
    position: relative;
}

.original_footer__nav-link {
    display: inline-block;
    padding: 4px 12px;
    font-size: 15px;
    font-weight: 700;
    color: #352304;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    text-decoration: none;
}

.original_footer__nav-link:hover {
    color: #4A9255;
    text-decoration: none !important;
}

@media (max-width: 520px) {
    .original_footer__nav {
        width: 100%;
        margin-top: 28px;
        gap: 0;
        padding-top: 24px;
    }

    .original_footer__nav-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        column-gap: 0;
        row-gap: 0;
    }

    .original_footer__nav-link {
        display: block;
        text-align: center;
        padding: 12px 8px;
        font-size: 13px;
    }
}

/* ===================================
   コピーライト帯
=================================== */
.original_footer__copyright {
    padding: 16px 60px;
    text-align: center;
}

.original_footer__copyright p {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.04em;
    margin: 0;
}

@media (max-width: 520px) {
    .original_footer__copyright {
        padding: 16px 20px;
    }
}

/* ===================================
   カレンダーが分かりづらい方へ（アコーディオン）
=================================== */
.howto {
    max-width: 900px;
    margin: 40px auto 100px;
    padding: 0 20px;
}

.howto__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 18px 24px;
    background-color: #ffffff;
    border: 1px solid #bba38a;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    list-style: none;
    /* デフォルトの三角形を消去 */
}

.howto__btn::-webkit-details-marker {
    display: none;
    /* Safari デフォルトの三角形を消去 */
}

.howto__btn:hover {
    background-color: #fdfbf9;
}

.howto__btn-text {
    font-size: 16px;
    color: #554838;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.howto__btn-icon {
    position: absolute;
    right: 32px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.howto__btn-icon::before,
.howto__btn-icon::after {
    content: '';
    position: absolute;
    background-color: #554838;
    transition: transform 0.3s ease;
}

.howto__btn-icon::before {
    width: 16px;
    height: 1px;
}

.howto__btn-icon::after {
    width: 1px;
    height: 16px;
}

/* 開いた状態では縦線を消して「ー」のみにする */
.howto[open] .howto__btn-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.howto__content {
    margin-top: 32px;
    overflow: hidden;
}

.howto[open] .howto__content {
    animation: slideDownFade 0.4s ease forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.howto__content-inner {
    min-height: 0;
    overflow: hidden;
}

.howto__img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 520px) {
    .howto {
        margin: 30px auto 60px;
    }

    .howto__btn {
        padding: 14px 20px;
    }

    .howto__btn-text {
        font-size: 14px;
    }

    .howto__btn-icon {
        right: 10px;
    }

    .howto__btn-icon::before {
        width: 13px;
        height: 1px;
    }

    .howto__btn-icon::after {
        width: 1px;
        height: 13px;
    }

}