/*
 * page-menu.css  v2.0
 * お品書きページ専用スタイル — レスポンシブ完全対応
 */

/* ============================================================
   TAB NAV
   ============================================================ */
.tab-nav-wrap {
    position: sticky;
    top: 90px; /* PC: ヘッダー高さ分 */
    z-index: 80;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}

.tab-nav {
    display: flex;
    justify-content: center;
    max-width: 820px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-nav li { flex-shrink: 0; }

.tab-nav li button {
    display: block;
    background: none;
    border: none;
    color: var(--muted);
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    letter-spacing: 0.14em;
    padding: 18px 32px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}
.tab-nav li button::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s;
}
.tab-nav li button:hover { color: rgba(255,255,255,0.75); }
.tab-nav li button.active {
    color: #fff;
}
.tab-nav li button.active::after { background: var(--red); }


/* ============================================================
   TAB PANELS
   ============================================================ */
.tab-panel { display: none; }
.tab-panel.active { display: block; }


/* ============================================================
   MENU WRAP & SECTIONS
   ============================================================ */
.menu-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.menu-section {
    padding: 52px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.menu-section:last-child { border-bottom: none; }


/* セクション見出し */
.section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.section-head::before,
.section-head::after {
    content: "";
    flex: 1;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.section-head .ttl-wrap { text-align: center; white-space: nowrap; }
.section-head .ttl-jp {
    display: block;
    font-size: 17px;
    letter-spacing: 0.22em;
}
.section-head .ttl-en {
    display: block;
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
}

.section-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.06em;
    line-height: 2;
}


/* ============================================================
   MENU ITEMS
   ============================================================ */
.menu-list { margin-top: 6px; }

.menu-item {
    display: flex;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 8px;
}
.menu-item:last-child { border-bottom: none; }

.item-left { flex: 1; min-width: 0; }
.item-name {
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}
.item-desc {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin-top: 4px;
    line-height: 1.7;
}

.dots {
    flex-shrink: 0;
    width: 40px;
    border-bottom: 1px dotted rgba(255,255,255,0.13);
    position: relative;
    top: -3px;
}

.item-price {
    flex-shrink: 0;
    font-size: 14px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-align: right;
}
.item-price .yen {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    margin-left: 1px;
}

/* 2カラムグリッド */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}


/* ============================================================
   COURSE CARDS
   ============================================================ */
.course-card {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.025);
    margin-bottom: 28px;
    border-radius: var(--radius);
    overflow: hidden;
}

.course-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.15em;
    padding: 5px 18px;
}

.course-body { padding: 28px 32px 32px; }

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.course-tag {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 8px;
}
.course-name {
    font-size: 18px;
    letter-spacing: 0.1em;
    font-weight: 400;
    line-height: 1.55;
    margin-bottom: 6px;
}
.course-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.48);
    letter-spacing: 0.08em;
}

.course-price-wrap {
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}
.course-price { font-size: 30px; letter-spacing: 0.05em; }
.course-price-unit { font-size: 13px; color: rgba(255,255,255,0.55); }
.course-per { font-size: 11px; color: var(--muted); margin-top: 4px; }

.course-desc {
    font-size: 13px;
    line-height: 2.1;
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.06em;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 18px;
}

.course-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.course-info-list li {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.course-info-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--muted);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.course-reserve-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
    line-height: 2;
}
.course-reserve-note a {
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
    transition: color 0.2s;
}
.course-reserve-note a:hover { color: #fff; }


/* ============================================================
   PAGE NOTE
   ============================================================ */
.page-note {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 40px 60px;
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.06em;
    line-height: 2;
    text-align: right;
}


/* ============================================================
   RESPONSIVE — TABLET (768–1023px)
   ============================================================ */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .tab-nav-wrap { top: 90px; }

    .menu-wrap { padding: 0 32px 64px; }

    .tab-nav li button {
        font-size: 13px;
        padding: 16px 24px;
    }

    .menu-grid { gap: 0 28px; }

    .course-body { padding: 22px 24px 28px; }
    .course-name { font-size: 16px; }
    .course-price { font-size: 26px; }

    .page-note { padding: 0 32px 48px; }
}


/* ============================================================
   RESPONSIVE — SP (~767px)
   ============================================================ */
@media screen and (max-width: 767px) {

    /* タブナビ */
    .tab-nav-wrap {
        top: 58px; /* SP: ヘッダー高さ分 */
    }
    .tab-nav {
        justify-content: flex-start;
        padding: 0 4px;
    }
    .tab-nav li button {
        font-size: 13px;
        padding: 14px 18px;
        letter-spacing: 0.08em;
    }

    /* メニュー本体 */
    .menu-wrap { padding: 0 16px 56px; }

    .menu-section { padding: 36px 0; }

    .section-head .ttl-jp { font-size: 15px; }

    /* 1カラム化 */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .menu-grid .menu-list:not(:last-child) {
        border-bottom: 1px solid rgba(255,255,255,0.04);
        padding-bottom: 4px;
        margin-bottom: 4px;
    }

    .item-name { font-size: 14px; }
    .dots { width: 20px; }
    .item-price { font-size: 13px; }

    /* コースカード */
    .course-body { padding: 18px 16px 24px; }
    .course-header {
        flex-direction: column;
        gap: 16px;
    }
    .course-price-wrap { text-align: left; }
    .course-price { font-size: 26px; }
    .course-name { font-size: 15px; }
    .course-desc { font-size: 12px; line-height: 2; }

    .course-info-list li { flex-wrap: wrap; }

    .course-reserve-note { font-size: 12px; }

    /* ページ注記 */
    .page-note {
        padding: 0 16px 40px;
        text-align: left;
    }
}
