@charset "UTF-8";

:root {
    --bg-color: #f9f8f4; /* 生成り色（和紙） */
    --text-main: #333333; /* 墨色 */
    --primary: #1e2a4a;   /* 濃紺 (Japan Blue) */
    --accent: #c9171e;    /* 朱色 (Torii Red) */
    --gold: #b69b4c;      /* 金色 (Luxury) */
    --green: #4a7c59;     /* 抹茶色 (Available) */
    --gray: #e0e0e0;
    --red: #ffebee;
    --busy: #d35400;

    --font-serif: 'Cinzel', serif;
    --font-sans: 'Roboto', 'Noto Sans JP', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23dcdcdc' fill-opacity='0.2' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- ヘッダー --- */
.guest-header {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contact-btn {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    border: 1px solid var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s;
}
.contact-btn:hover {
    background: var(--text-main);
    color: #fff;
}

/* --- 言語タブ --- */
.lang-nav-wrapper {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    overflow-x: auto;
}

.lang-nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

.lang-item input {
    display: none;
}

.lang-item span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.3s;
}

.lang-item input:checked + span {
    background-color: var(--primary);
    color: #fff;
    font-weight: 500;
}

/* --- メインコンテナ --- */
.calendar-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 32px;
    margin: 0;
    color: var(--primary);
    letter-spacing: 1px;
//    border-bottom: 3px solid var(--accent);
    padding-bottom: 1px;
}

.check-booking-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-sans);
}
.check-booking-btn:hover {
    color: var(--accent);
}

.id-link {
    font-family: 'Roboto', sans-serif;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}
.id-link:hover {
    text-decoration: underline;
}

/* --- 月ナビゲーション --- */
.month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.nav-arrow {
    color: var(--primary);
    font-size: 24px;
    text-decoration: none;
    transition: 0.3s;
}
.nav-arrow:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.current-month {
    text-align: center;
    margin: 0;
    font-family: var(--font-serif);
}
.en-month {
    display: block;
    font-size: 40px;
    line-height: 1;
    color: var(--primary);
}
.year {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 5px;
    letter-spacing: 2px;
}

/* --- 凡例 --- */
.calendar-legend {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #333;
    font-weight: bold;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}
.dot.available { background: var(--green); }
.dot.few { background: var(--gold); }
.dot.full { background: var(--red); border: 1px solid #ffcdd2; }
.dot.busy { background: var(--busy); }

/* --- カレンダーテーブル --- */
.calendar-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    padding: 20px;
}

.tblCAL {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* THの設定 */
.tblCAL th {
    padding: 15px 0;
    text-align: center;
    font-family: var(--font-serif);
    color: #333;
    font-weight: bold;
    font-size: 14px;
    border-bottom: 2px solid #ddd;
}
.tblCAL th.sun { color: var(--accent); }
.tblCAL th.sat { color: var(--primary); }

/* TDの設定 */
.tblCAL td {
    padding: 10px;
    vertical-align: top;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    height: 120px;
    transition: background-color 0.2s, box-shadow 0.2s;
}
.tblCAL tr:last-child td { border-bottom: none; }
.tblCAL td:last-child { border-right: none; }

/* 日付数字 */
.cal-day {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #444; 
    font-weight: bold;
    margin-bottom: 10px;
}

/* 土日のTD設定 */
.tblCAL td.sun .cal-day { color: var(--accent); }
.tblCAL td.sat .cal-day { color: var(--primary); }
.tblCAL td.sun { background-color: #fffafb; }
.tblCAL td.sat { background-color: #f8f9fc; }

/* ★追加: 過日 (Gray) のTD設定 */
.tblCAL td.gray {
    background-color: #eeeeee; /* 明確なグレー */
}
.tblCAL td.gray .cal-day {
    color: #aaa; /* 日付を目立たなくする */
}
/* 過日はホバー時の強調（枠線・背景変化）を無効化 */
.tblCAL td.gray:hover {
    background-color: #eeeeee;
    box-shadow: none;
    cursor: default;
}
.tblCAL td.busy {
  box-shadow: inset 0 0 0 1px #d35400;   /* 枠線っぽく */
  background: rgba(211, 84, 0, 0.06);
  border-radius: 8px;
}
.tblCAL td.busy {
  box-shadow: inset 0 0 0 1px #d35400;   /* 枠線っぽく */
  background: rgba(211, 84, 0, 0.06);
  border-radius: 8px;
}

/* マウスオーバー時の挙動 (通常セル) */
/* .gray以外のtdに対して適用 */
.tblCAL td:not(.gray):hover {
    background-color: #fcfcfc;
    box-shadow: inset 0 0 0 2px var(--primary); 
    cursor: pointer;
}

/* --- 予約ボタン --- */
.icon-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-btn {
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 6px 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.btn-time {
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}
.btn-status {
    font-size: 10px;
    opacity: 0.9;
}

/* 利用可能 */
.time-btn.available {
    background-color: var(--green);
    color: #fff;
    box-shadow: 0 2px 5px rgba(74, 124, 89, 0.3);
}
.time-btn.available:hover {
    background-color: #3d664a;
    transform: translateY(-2px);
}

/* 残りわずか */
.time-btn.almost {
    background-color: var(--gold);
    color: #fff;
}
.time-btn.almost:hover {
    background-color: #9e853e;
}

/* 満席 */
.time-btn.full {
    background-color: var(--red);
    border-color: #ef9a9a;
    cursor: not-allowed;
}
.time-btn.full .btn-time {
    color: #b71c1c;
    text-decoration: line-through;
    opacity: 0.7;
}

/* --- フッター --- */
.guest-footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: #999;
    font-size: 12px;
}

/* --- スマホ対応 (レスポンシブ・グリッド維持版) --- */
@media screen and (max-width: 768px) {
    .calendar-container {
        max-width: none;
        width: 100%;
        margin: 10px 0;
        padding: 0;
    }

    .page-title {
        font-size: 24px;
    }

    .en-month {
        font-size: 32px;
    }

    .calendar-wrapper {
        border-left: none;
        border-right: none;
        border-radius: 0;
        box-shadow: none;
        padding: 10px 5px;
    }

    .action-bar, .month-nav {
        padding: 0 10px;
    }

    .tblCAL th {
        font-size: 11px;
        padding: 8px 0;
        overflow: hidden;
    }

    .tblCAL td {
        height: 60px;
        padding: 4px 2px;
        border-right: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .cal-day {
        font-size: 12px;
        margin-bottom: 4px;
        text-align: right;
        padding-right: 2px;
        color: #333;
    }

    /* スマホ時の過日日付は少し薄く調整 */
    .tblCAL td.gray .cal-day {
        color: #aaa;
    }

    .icon-container {
        gap: 3px;
    }

    .time-btn {
        padding: 6px 0;
        min-height: 32px;
        position: relative;
        justify-content: center;
        border-radius: 2px;
    }

    .btn-time {
        font-size: 12px;
        font-family: 'Roboto Condensed', sans-serif;
        letter-spacing: -1px;
        z-index: 2;
        font-weight: 700;
    }

    .btn-status {
        display: none;
    }

    /* 満席 (Full) */
    .time-btn.full {
        background-color: rgba(255, 235, 238, 0.5);
        border: 1px solid #ffcdd2;
        color: #d32f2f;
        overflow: hidden;
    }

    .time-btn.full::after {
        content: "×";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        font-weight: 400;
        color: rgba(211, 47, 47, 0.6);
        line-height: 1;
        z-index: 1;
        pointer-events: none;
    }

    /* わずか (Almost) */
    .time-btn.almost {
        background-color: #fff8e1;
        border: 1px solid #ffecb3;
        color: #f57f17;
    }
    .time-btn.almost::after {
        content: "△";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        color: rgba(245, 127, 23, 0.6);
        z-index: 1;
    }

    /* 空きあり (Available) */
    .time-btn.available {
        padding: 6px 0;
    }
}

/* =========================================
   詳細ページ用スタイル (Activity Details)
   ========================================= */

/* コンテナ設定 */
.detail-container {
    max-width: 800px; /* 読みやすさのためカレンダーより少し狭く */
    margin: 30px auto;
    padding: 0 20px;
}

.form-inner {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- タイトル周り --- */
.section-header {
    text-align: left;
    margin-bottom: 30px;
//    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.activity-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.activity-lead {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* --- セクション共通 --- */
.section {
    margin-bottom: 50px;
}

.section p {
    line-height: 1.8;
    margin-bottom: 1.5em;
    text-align: justify;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text-main);
    border-left: 5px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* --- リストスタイル --- */
.custom-list, .schedule-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.custom-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

/* タイムスケジュール */
.schedule-list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}
.schedule-list .time {
    font-family: var(--font-serif);
    font-weight: bold;
    color: var(--primary);
    width: 80px;
    flex-shrink: 0;
}
.schedule-list .content {
    font-weight: 500;
}

/* --- 画像ギャラリー (テーブルのレスポンシブ化) --- */
.image-gallery {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.image-gallery td {
    width: 50%; /* PCでは2列 */
    padding: 5px;
    border: none !important; /* テーブル枠線削除 */
}
.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- Googleマップ --- */
.location-info {
    margin-bottom: 15px;
}
.map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary);
    text-decoration: underline;
    font-weight: bold;
}
.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* --- 料金表 (.brwsr1) --- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-top: 2px solid var(--primary);
}
.price-table th, .price-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.price-table th {
    background-color: #f9f9f9;
    color: var(--primary);
    width: 30%;
    font-weight: bold;
}
.price-table td {
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: 16px;
}

/* --- キャンセルポリシー (.box27) --- */
.policy-box {
    border: 2px solid var(--gold);
    background-color: #fffcf5; /* 薄いクリーム色 */
    padding: 20px;
    border-radius: 6px;
    position: relative;
    margin-top: 20px;
}
.policy-box .box-title {
    background: var(--gold);
    color: #fff;
    padding: 5px 15px;
    position: absolute;
    top: -15px;
    left: 15px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: bold;
}
.policy-box p {
    font-size: 14px;
    margin: 10px 0 0 0;
}

/* --- 注意事項 --- */
.note-block {
    margin-bottom: 20px;
}
.note-block h3 {
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.note-block ul {
    padding-left: 20px;
    font-size: 14px;
    color: #555;
}
.note-block li {
    margin-bottom: 8px;
}

/* --- 原材料表 --- */
.ingredients-section {
    border-top: 1px solid #eee;
    padding-top: 40px;
}
.ingredient-block {
    margin-bottom: 20px;
}
.ingredient-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #eee;
}
.ingredient-table th.header-row {
    background: var(--gray);
    color: #333;
    padding: 8px;
    text-align: left;
    font-weight: bold;
}
.ingredient-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #666;
}
.info1 {
    font-weight: bold;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 4px;
    background: #eee;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px;
}

/* --- ボタンエリア --- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
//    border-top: 1px solid #eee; ボタン上部の線
}

.action-buttons button {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
    font-weight: bold;
}

.btn-back {
    background: #fff;
    border: 1px solid #ccc;
    color: #666;
}
.btn-back:hover {
    background: #f0f0f0;
}

.btn-confirm {
    background: var(--accent); /* 赤いボタンで誘導 */
    border: 1px solid var(--accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(201, 23, 30, 0.3);
}
.btn-confirm:hover {
    background: #a01218;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(201, 23, 30, 0.4);
}


/* =========================================
   スマホ対応 (Activity Details)
   ========================================= */
@media screen and (max-width: 768px) {
    .detail-container {
        padding: 0;
        margin: 0;
    }
    
    .form-inner {
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }

    .activity-title {
        font-size: 22px;
    }

    /* 画像テーブルを縦積みに */
    .image-gallery, .image-gallery tbody, .image-gallery tr, .image-gallery td {
        display: block;
        width: 100%;
    }
    .image-gallery td {
        padding: 5px 0;
    }

    /* タイムスケジュール */
    .schedule-list li {
        flex-direction: row; /* 横並び維持 */
    }
    .schedule-list .time {
        width: 60px;
        font-size: 14px;
    }
    .schedule-list .content {
        font-size: 14px;
    }

    /* ボタン */
    .action-buttons {
        flex-direction: column-reverse; /* 戻るを下に */
        gap: 15px;
    }
    .action-buttons button {
        width: 100%;
        padding: 12px;
    }
}

/* =========================================
   座席指定ページ (Seat Selection)
   ========================================= */

/* --- フロアマップコンテナ --- */
.floor-map-container {
    width: 100%;
    max-width: 640px; /* PCでの最大幅 */
    margin: 0 auto 30px auto;
    position: relative;
}

/* 背景画像エリア (tblR) */
.tblR {
    width: 100%;
    /* アスペクト比を固定 (横600px : 縦721px の画像の場合) */
    aspect-ratio: 600 / 721;
    background-image: url("/tanaka/image/floor_base.webp");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain; /* 枠に合わせて伸縮 */
    position: relative;
}

/* --- 座席アイコンの共通設定 --- */
.seat-icon {
    position: absolute;
    /* アイコンサイズをコンテナ幅に対する%で指定するとレスポンシブに追従しやすい */
    width: 13%;  /* 例: 80px / 600px ? 13.3% */
    height: 11%; /* 例: 80px / 721px ? 11.0% */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* アイコン画像自体 以下に変更2026.02.22
.seat-icon span, 
.seat-icon a {
    display: block;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}*/

/* アイコン画像自体 */
.seat-icon span,
.seat-icon a {
    /* blockからflexに変更して文字をド真ん中に配置 */
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;

    /* --- 数字のデザイン --- */
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    color: #333;                 /* 濃いグレー */
    text-decoration: none;
    font-size: clamp(16px, 4vw, 24px); /* スマホ幅に合わせて文字を自動縮小 */
    
    /* 背景画像に負けないように白いフチをつける */
    text-shadow:
        1.5px 1.5px 0 #fff, -1.5px -1.5px 0 #fff,
       -1.5px 1.5px 0 #fff,  1.5px -1.5px 0 #fff,
        0px 1.5px 0 #fff,    0px -1.5px 0 #fff,
       -1.5px 0px 0 #fff,    1.5px 0px 0 #fff;
}

/* --- 少し小さいアイコン（75%縮小版）の文字サイズ微調整 --- */
.seat-icon .maru4-icon,
.seat-icon .sankaku4-icon,
.seat-icon .batsu4-icon {
    font-size: clamp(12px, 3vw, 18px); 
}

/* --- アイコンの位置指定 (%) --- */
/* 元の座標(px) ÷ 画像サイズ(w600, h721) × 100 で計算 */
.table1  { top: 2.8%;  left: 4.2%; }  /* 20/721, 25/600 */
.table2  { top: 19.0%; left: 4.2%; }
.table3  { top: 34.3%; left: 4.2%; }
.table4  { top: 53.4%; left: 4.2%; }
.table5  { top: 53.4%; left: 17.7%; }
.table6  { top: 53.4%; left: 31.6%; }

.table7  { top: 2.8%;  left: 83.2%; }
.table8  { top: 19.0%; left: 83.2%; }
.table9  { top: 34.3%; left: 83.2%; }
.table10 { top: 53.4%; left: 83.2%; }
.table11 { top: 53.4%; left: 69.6%; }

.table12 { top: 72.4%; left: 18.0%; }
.table13 { top: 72.4%; left: 34.2%; }
.table14 { top: 63.1%; left: 68.2%; } /* C席エリア */
.table15 { top: 71.6%; left: 68.2%; }
.table16 { top: 80.0%; left: 68.2%; }

/* --- アイコン画像定義 --- */
/* 点滅アニメーション */
@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.20); }
}

.maru0-icon    { background-image: url("/tanaka/image/maru0.png"); animation: blink 0.6s ease-in-out infinite alternate; }
.maru1-icon    { background-image: url("/tanaka/image/maru1.png"); animation: blink 0.6s ease-in-out infinite alternate; }
.maru2-icon    { background-image: url("/tanaka/image/maru2.png"); animation: blink 0.6s ease-in-out infinite alternate; }
.maru3-icon    { background-image: url("/tanaka/image/maru3.png"); animation: blink 0.6s ease-in-out infinite alternate; }
/* C席用 */
.maru4-icon    { background-image: url("/tanaka/image/maru3.png"); animation: blink 0.6s ease-in-out infinite alternate; width: 75% !important; height: 75% !important; margin: auto; }

.sankaku0-icon { background-image: url("/tanaka/image/sankaku0.png"); animation: blink 0.6s ease-in-out infinite alternate; }
.sankaku1-icon { background-image: url("/tanaka/image/sankaku1.png"); animation: blink 0.6s ease-in-out infinite alternate; }
.sankaku2-icon { background-image: url("/tanaka/image/sankaku2.png"); animation: blink 0.6s ease-in-out infinite alternate; }
.sankaku3-icon { background-image: url("/tanaka/image/sankaku3.png"); animation: blink 0.6s ease-in-out infinite alternate; }
/* C席用 */
.sankaku4-icon { background-image: url("/tanaka/image/sankaku3.png"); animation: blink 0.6s ease-in-out infinite alternate; width: 75% !important; height: 75% !important; margin: auto; }

.batsu0-icon   { background-image: url("/tanaka/image/batsu0.png"); opacity: 0.7; }
.batsu1-icon   { background-image: url("/tanaka/image/batsu1.png"); opacity: 0.7; }
.batsu2-icon   { background-image: url("/tanaka/image/batsu2.png"); opacity: 0.7; }
.batsu3-icon   { background-image: url("/tanaka/image/batsu3.png"); opacity: 0.7; }
.batsu4-icon   { background-image: url("/tanaka/image/batsu3.png"); opacity: 0.7; width: 75% !important; height: 75% !important; margin: auto; }

.red {
        color: #ff0000;
}
.green {
        color: #008000;
}

/* --- 凡例 (Legend) --- */
.legend-container {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    text-align: center;
}

.legend-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}
.legend-row:last-child { margin-bottom: 0; }

.legend-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.legend-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 凡例アイコン画像 */
.sgrade-icon { background-image: url("/tanaka/image/sgrade.png"); }
.agrade-icon { background-image: url("/tanaka/image/agrade.png"); }
.bgrade-icon { background-image: url("/tanaka/image/bgrade.png"); }
.cgrade-icon { background-image: url("/tanaka/image/cgrade.png"); }
.maruS-icon  { background-image: url("/tanaka/image/maruS.png"); }
.sankakuS-icon { background-image: url("/tanaka/image/sankakuS.png"); }
.batsuS-icon { background-image: url("/tanaka/image/batsuS.png"); }

/* =========================================
   座席指定ページ (Seat Selection) 調整
   ========================================= */

/* コンテンツ全体を囲むラッパー */
.seat-selection-wrapper {
    width: 100%;
    max-width: 700px; /* ★重要：これ以上広げない（マップが間延びしない） */
    margin: 20px auto; /* 上下20px、左右自動で中央寄せ */
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 軽く影をつけて浮き立たせる */
    box-sizing: border-box;
}

/* ページタイトル調整 */
.page-title {
    text-align: left;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 24px;
    color: #1e2a4a; /* primary color */
}

/* スマホの場合の調整 */
@media screen and (max-width: 768px) {
    .seat-selection-wrapper {
        max-width: 100%;
        margin: 0;
        padding: 15px 10px;
        box-shadow: none; /* スマホでは全画面なので影なし */
        border-radius: 0;
    }
}

/* =========================================
   ヘッダーエリア修正（左寄せ・日付強調）
   ========================================= */

/* --- ロゴバー --- */
.form-logo-header {
    text-align: left;       /* 左寄せに変更 */
    padding-bottom: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.form-logo-img {
    height: 35px;           /* ロゴサイズ微調整 */
    width: auto;
}

/* --- タイトルエリア --- */
.section-header {
    text-align: left;       /* 左寄せに変更 */
    margin-bottom: 30px;
}

/* ページタイトル */
.page-title {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: var(--text-main);
    /* 左端に朱色のアクセントラインを入れて和モダン感を強調 */
    border-left: 6px solid var(--accent); 
    padding-left: 15px;
    line-height: 1.2;
}

/* 日付情報（強調デザイン） */
.date-highlight {
    font-family: var(--font-serif); /* セリフ体で格式高く */
    font-size: 20px;        /* 文字サイズを大きく */
    font-weight: 700;       /* 太字 */
    color: var(--primary);  /* 濃紺色で視認性を高く */
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.05em;
}

/* 日付の前のアイコン装飾 */
.date-highlight i {
    color: var(--accent);   /* アイコンは朱色 */
    margin-right: 8px;
    font-size: 18px;
}

/* 補足テキスト */
.guide-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding-left: 2px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .form-logo-header {
        margin-bottom: 20px;
    }
    .page-title {
        font-size: 22px;
        border-left-width: 4px;
        padding-left: 10px;
    }
    .date-highlight {
        font-size: 18px; /* スマホでは少し控えめに */
    }
}

/* =========================================
   人数選択・見積もりページ (Pax & Quote)
   ========================================= */

/* --- 予約情報ボックス --- */
.booking-info-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { color: #666; }
.info-row .value { font-weight: bold; color: var(--text-main); }


/* --- 入力グループ共通 --- */
.input-group {
    margin-bottom: 30px;
}
.input-label {
    display: flex;
    justify-content: flex-start; /* ★変更: space-between(両端)から左寄せへ */
    align-items: center;         /* 垂直方向の中央揃え */
    gap: 15px;                   /* ★追加: 項目名と価格の間の余白 */
    font-size: 16px;
    margin: 0 0 10px 0;
    color: var(--text-main);
    border-left: 3px solid #ccc;
    padding-left: 8px;
}
.price-tag {
    font-size: 13px;             /* 文字サイズ */
    font-weight: bold;           /* 太字 */
    background: #f0f0f0;         /* 背景色（薄いグレー） */
    padding: 2px 10px;           /* 内側の余白 */
    border-radius: 12px;         /* 丸み */
    color: var(--text-main);     /* 文字色 */
    letter-spacing: 0.05em;
}
.price-tag.free {
    background: var(--green);    /* 緑背景 */
    color: #fff;                 /* 白文字 */
}
.input-note {
    font-size: 14px;
    color: #888;
    margin: 5px 0 10px 0;
}
.green-text { color: var(--green); }
.red-text { color: var(--accent); }


/* --- セグメントコントロール（人数選択ボタン） --- */
/* 日付選択ラジオボタン */
.radio02{
        display: flex;
        width: 100%;
        margin:0 0 0 0;
}
.radio02 input{
        display: none;
}
.radio02 label{
        display: block;
        float: left;
        cursor: pointer;
        width: 16%;
        margin: 1px 0 1px 0;
        padding: 1.4% 0 1.5% 0;
        border-right: 1px solid #d7d7d7;
        background: #e5e5e5;
        color: #555e64;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        line-height: 1;
        transition: .2s;
}
.radio02 label:first-of-type{
}
.radio02 label:last-of-type{
        border-right: 0px;
}
.radio02 input[type="radio"]:checked + label {
        background-color: #a1b91d;
        color: #fff;
}

.segment-control {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.segment-control input[type="radio"] {
    display: none;
}
.segment-control label {
    flex: 1; /* 均等幅 */
    min-width: 40px;
    max-width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
    background: #fff;
    color: #333;
}
/* 選択時 */
.segment-control input[type="radio"]:checked + label {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 5px rgba(30, 42, 74, 0.3);
}
/* 無効時 */
.segment-control input[type="radio"]:disabled + label {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}


/* --- トグルスイッチ（貸切/相席） --- */
.toggle-container {
    display: flex;
    gap: 10px;
}
.toggle-option {
    flex: 1;
    cursor: pointer;
}
.toggle-option input { display: none; }
.toggle-option .btn-shape {
    display: block;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: bold;
    color: #666;
    transition: 0.2s;
}
.toggle-option input:checked + .btn-shape {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 5px rgba(201, 23, 30, 0.3);
}


/* --- 料金サマリー --- */
.summary-section {
    background: #fffcf5; /* 薄いクリーム色 */
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}
.summary-title {
    font-size: 16px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
    margin: 0 0 15px 0;
    color: var(--text-main);
}
.summary-table {
    width: 100%;
    border-collapse: collapse;
}
.summary-table th, .summary-table td {
    padding: 8px 0;
    font-size: 14px;
}
.summary-table th {
    text-align: left;
    color: #666;
    font-weight: normal;
}
.summary-table td {
    text-align: right;
    font-weight: bold;
    color: #333;
}
/* 区切り線 */
.summary-table tr.divider th,
.summary-table tr.divider td {
    border-top: 1px dashed #ccc;
    padding-top: 12px;
    margin-top: 5px;
}
/* 合計行 */
.summary-table tr.total-row th,
.summary-table tr.total-row td {
    border-top: 2px solid var(--text-main);
    padding-top: 15px;
    font-size: 18px;
    color: var(--accent);
    font-weight: 800;
}


/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .segment-control label {
        height: 44px; /* タップしやすく */
        max-width: none;
    }
    .toggle-container {
        flex-direction: column;
    }
}

/* =========================================
   和モダン・予約内容確認スタイル (Refined)
   ========================================= */

/* --- 1. 予約情報ボックス (Booking Info Box) --- */
/* ページを追うごとに情報が増える「予約伝票」のようなデザイン */
.booking-info-box {
    background: #fff;           /* 清潔な白 */
    padding: 20px 25px;
    margin-bottom: 30px;
    
    /* 枠線のデザイン：上部に金色のアクセント */
    border: 1px solid #e0e0e0;  /* 全体は薄いグレー */
    border-top: 4px solid var(--gold); /* 上だけ金色で強調 */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(182, 155, 76, 0.1); /* 金色の淡い影 */
}

/* 行のデザイン */
.info-row {
    display: flex;
    justify-content: flex-start; /* 左寄せ */
    align-items: baseline;       /* 文字のベースラインを揃える */
    padding: 10px 0;
    border-bottom: 1px dashed #eee; /* 控えめな区切り線 */
    font-size: 15px;
    line-height: 1.6;
}

/* 最後の行は線を消す */
.info-row:last-child {
    border-bottom: none;
}

/* 項目名（ラベル） */
.info-row .label {
    color: #888;          /* 控えめな色 */
    font-weight: normal;
    font-size: 13px;
    width: 120px;         /* ★幅を固定して縦を揃える */
    flex-shrink: 0;       /* 縮まないようにする */
}

/* 値（中身） */
.info-row .value {
    color: var(--text-main); /* 墨色 */
    font-weight: 500;
    flex-grow: 1;         /* 残りの幅を使う */
    word-break: break-all;/* 長いメアドなどが来ても折り返す */
}


/* --- 2. 選択ボタン (radio02) の配色変更 --- */

/* 選択された状態：濃紺をやめて「抹茶色」にする */
.radio02 input[type="radio"]:checked + label {
    background-color: var(--green); /* ★変更: 抹茶色 */
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 2px 5px rgba(74, 124, 89, 0.3); /* 緑の影 */
}

/* ホバー時も少し緑がかった色に */
.radio02 label:hover {
    background-color: #f4f8f5; /* 極薄い緑 */
    border-color: #a3c4ac;
}


/* --- 3. 貸切/相席トグル の配色変更 --- */

/* 選択された状態：ここも「抹茶色」または「朱色」 */
/* ※「決定」の意味合いが強いので、ここだけ朱色(accent)のままでも良いですが、
     全体を緑で統一するなら以下のように変えます。今回は「重要な選択」なので朱色維持、
     もしくは抹茶色に変更、どちらもアリですが、カレンダーの流れなら「緑」が自然です。
     ここでは「抹茶色」で統一するコードを提示します。 */
     
.toggle-option input:checked + .btn-shape {
    background: var(--green); /* ★変更: 抹茶色 */
    color: #fff;
    border-color: var(--green);
}


/* --- 4. スマホ対応（情報ボックス） --- */
@media screen and (max-width: 768px) {
    .booking-info-box {
        padding: 15px;
    }
    .info-row {
        flex-direction: column; /* スマホでは縦積みにする */
        gap: 2px;
    }
    .info-row .label {
        width: 100%;
        font-size: 11px;
    }
    .info-row .value {
        width: 100%;
        padding-left: 0;
        font-size: 15px;
    }
}

/* =========================================
   入力フォームページ (Information Entry)
   ========================================= */

/* --- フォームセクション --- */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.form-section:last-of-type {
    border-bottom: none;
}

.section-title-sub {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid var(--accent); /* 左に朱色の線 */
    padding-left: 10px;
}
.section-title-sub i {
    color: #ccc;
}

/* --- 入力レイアウト (Row/Col) --- */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-col {
    flex: 1;
}
.form-col.half {
    flex: 0 0 calc(50% - 10px);
}

/* --- フローティングラベル入力 --- */
.input-container {
    position: relative;
    margin-bottom: 5px;
}

.input-container input[type="text"],
.input-container input[type="email"],
.input-container input[type="tel"],
.textbox-modern {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: 0.3s;
    outline: none;
    box-sizing: border-box; /* 重要 */
}

/* フォーカス時 */
.input-container input:focus,
.textbox-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(30, 42, 74, 0.1);
}

/* ラベル (フローティング) */
.input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
    background: #fff; /* 線と重なるので背景白 */
    padding: 0 5px;
}

/* 入力あり or フォーカス時のラベル移動 */
.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label,
.input-container textarea:focus + label,
.input-container textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: var(--primary);
}

/* カード情報などラベル固定の場合 */
.input-container label.static-label {
    top: 0;
    font-size: 12px;
    color: #666;
}
.card-field {
//    height: 48px; /* inputと同じ高さ確保 */
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

/* --- エラーメッセージ --- */
.error-msg {
    color: var(--accent);
    font-size: 12px;
    margin-top: 5px;
    display: none; /* JSで表示制御 */
}


/* --- アレルギー選択 (Checkbox Button) --- */
.customer-label {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.request-toggle {
    margin-bottom: 20px;
}

.allergy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-btn {
    cursor: pointer;
    position: relative;
}
.checkbox-btn input {
    display: none;
}
.checkbox-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
    color: #555;
    font-size: 14px;
    transition: 0.2s;
    height: 100%;
}
/* チェック時 */
.checkbox-btn input:checked + span {
    background: #fffcf5; /* 薄いクリーム色 */
    border-color: var(--gold);
    color: var(--text-main);
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.checkbox-btn input:checked + span::before {
    content: "\f00c"; /* FontAwesome check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
    color: var(--gold);
}
/* 無効時 */
.checkbox-btn input:disabled + span {
    background: #f9f9f9;
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
}

/* テキストエリア */
.textbox-modern {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-family: inherit;
    resize: vertical;
}


/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .form-col.half {
        flex: 1 1 100%;
    }
    .allergy-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    }
}

/* =========================================
   intl-tel-input (電話番号) の幅調整
   ========================================= */

/* ライブラリが生成するラッパーを強制的に幅100%にする */
.iti {
    width: 100%; 
    display: block;
}

/* 入力欄自体のスタイル調整（既存のデザインと馴染ませる） */
.iti input {
    width: 100% !important; /* ライブラリのスタイルに負けないよう指定 */
    box-sizing: border-box;
}

/* =========================================
   エラー画面 (Error Page)
   ========================================= */

.error-container {
    text-align: center;
    padding: 20px 0 40px;
}

/* --- アイコン --- */
.error-icon-area {
    margin-bottom: 20px;
}
.error-icon-area i {
    font-size: 64px;
    color: var(--accent); /* 朱色 (#c9171e) */
    opacity: 0.8;
}

/* --- タイトル --- */
.error-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: bold;
}

/* --- エラーメッセージボックス --- */
.error-message-box {
    background: #fffcfc; /* 極薄い赤 */
    border: 1px solid #f5c6cb; /* 薄い赤の枠線 */
    border-left: 4px solid var(--accent); /* 左に強調線 */
    border-radius: 4px;
    padding: 20px;
    margin: 0 auto 30px auto;
    max-width: 500px; /* 横に広がりすぎないように */
    text-align: left; /* 文章は左寄せで読みやすく */
}

.error-text {
    color: #721c24; /* 濃い赤茶色 */
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* --- ガイドテキスト --- */
.error-guide {
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .error-icon-area i {
        font-size: 50px;
    }
    .error-title {
        font-size: 20px;
    }
    .error-message-box {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================
   決済エラー画面 (Payment Error)
   ========================================= */

/* アイコンの色変更（失敗＝×） */
.error-icon-area i.fa-times-circle {
    color: var(--accent); /* 朱色 */
}

/* 案内文 */
.error-guidance {
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-main);
}

/* --- エラーコード表示エリア --- */
.error-code-wrapper {
    background-color: #f8f9fa; /* 薄いグレー背景 */
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
}

/* ラベル「エラーメッセージ(お問い合わせ用)」 */
.error-code-label {
    font-size: 12px;
    font-weight: bold;
    color: #666;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
}
.error-code-label::before {
    content: "\f05a"; /* FontAwesome 'i' icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 5px;
    color: var(--primary);
}

/* 実際のエラー文言が入るボックス */
.error-code-box {
    background: #fff;
    border: 1px solid #ccc;
    border-left: 4px solid #666; /* 左にグレーの線で「システムログ」感を出す */
    padding: 12px 15px;
    font-family: "Roboto Mono", "Courier New", monospace; /* 等幅フォントでコードっぽく */
    font-size: 14px;
    color: #c9171e; /* エラー内容は赤字で見やすく */
    margin-bottom: 10px;
    word-break: break-all;
    font-weight: bold;
}

/* 補足注釈 */
.error-code-note {
    font-size: 11px;
    color: #888;
    margin: 0;
    text-align: right;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .error-code-box {
        font-size: 13px;
    }
}
/* =========================================
   エラーコード装飾 (.transaction_error)
   ========================================= */

.transaction_error {
    display: inline-block;       /* 枠線や余白を効かせる */
    font-family: "Roboto Mono", "Courier New", monospace; /* 等幅フォントでコードらしく */
    font-weight: 700;            /* 太字 */
    font-size: 13px;             /* 少し小さめにして引き締める */
    
    color: #c9171e;              /* 文字色：朱色（アクセントカラー） */
    background-color: #fff;      /* 背景：白 */
    border: 1px solid #c9171e;   /* 枠線：朱色 */
    
    padding: 2px 8px;            /* 内側の余白 */
    margin-right: 10px;          /* 右側のメッセージとの距離 */
    border-radius: 4px;          /* 角を少し丸く */
    vertical-align: middle;      /* テキストとの高さ合わせ */
    letter-spacing: 0.05em;
}

/* スマホなどで画面が狭い場合、改行されても崩れないように */
.transaction_error::before {
    opacity: 0.5;
    margin-right: 2px;
}

/* =========================================
   完了画面のご案内セクション (Completion Guidance)
   ========================================= */

.completion-guidance {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid var(--green); /* 完了を示す緑（抹茶色） */
    border-radius: 4px;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ヘッダー部分 */
.guidance-header {
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
.guidance-header i {
    color: var(--green); /* チェックマークは緑 */
    font-size: 20px;
}

/* コンテンツ部分 */
.guidance-content {
    padding: 20px 25px;
}

/* 冒頭の感謝メッセージ */
.thank-you-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-main);
    font-weight: 500;
    text-align: left;
}

/* 注意事項リスト */
.guidance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guidance-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}
.guidance-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* アイコン */
.guidance-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fffcf5; /* 薄いクリーム色 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold); /* 高級感のある金 */
    font-size: 18px;
    border: 1px solid #efe8d8;
}

/* テキスト */
.guidance-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    padding-top: 2px;
    text-align: left;
}
.guidance-text strong {
    color: var(--text-main);
    font-weight: bold;
    border-bottom: 2px solid rgba(182, 155, 76, 0.3); /* 金色のマーカー風 */
}
.guidance-text small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

/* リンク（メールアドレス） */
.contact-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: bold;
    transition: 0.2s;
}
.contact-link:hover {
    color: var(--accent);
    text-decoration: none;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .guidance-header {
        font-size: 16px;
    }
    .guidance-item {
        flex-direction: column;
        gap: 10px;
    }
    .guidance-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* =========================================
   予約確認ログイン画面 (Login / Check)
   ========================================= */

/* ラッパーの調整（少し幅を狭くしてログイン画面っぽく） */
.login-wrapper {
    max-width: 500px !important; /* 他のページより少しスリムに */
    margin: 40px auto;
}

/* ガイドテキスト */
.guide-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* エラー表示エリア */
.login-error-area {
    margin-bottom: 25px;
    animation: fadeIn 0.3s ease;
}

.error-box-inner {
    background-color: #fff5f5;
    border: 1px solid #ffcccc;
    color: #d32f2f;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.error-box-inner i {
    font-size: 18px;
    color: #d32f2f;
}

/* フォームセクションの境界線を消す（ログイン画面はシンプルにするため） */
.form-section.no-border {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

/* 入力欄を少し大きくして目立たせる */
.login-wrapper .input-container input {
    padding: 15px;
    font-size: 18px; /* 文字サイズUP */
    letter-spacing: 0.05em;
}

/* =========================================
   予約管理ダッシュボード (Dashboard)
   ========================================= */

/* --- アクションボタンエリア（グリッドレイアウト） --- */
.dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列 */
    gap: 15px;
    margin: 30px 0;
}

/* 共通ボタンスタイル */
.btn-dashboard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%; /* 高さ揃え */
    font-size: 14px;
}

.btn-dashboard i {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 1. 変更ボタン (Primary) - 一番目立たせる */
.btn-dashboard.modify {
    background-color: var(--primary); /* 濃紺 */
    color: #fff;
//    grid-column: span 2; /* 横幅いっぱいに */
}
.btn-dashboard.modify:hover {
    background-color: #1e2a4a; /* 少し暗く */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 42, 74, 0.3);
}

/* 2. メール再送 (Secondary) */
.btn-dashboard.mail {
    background-color: #fff;
    color: var(--text-main);
    border: 1px solid #ddd;
}
.btn-dashboard.mail:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
}
.btn-dashboard.mail i {
    color: var(--gold);
}

/* 3. キャンセル (Danger) */
.btn-dashboard.cancel {
    background-color: #fff;
    color: var(--accent); /* 朱色 */
    border: 1px solid #f5c6cb;
}
.btn-dashboard.cancel:hover {
    background-color: #fff5f5;
    border-color: var(--accent);
}

/* 4. 戻る (Secondary) */
.btn-dashboard.back {
    background-color: #fff;
    color: var(--text-main);
    border: 1px solid #ddd;
}
.btn-dashboard.back:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
}

/* --- キャンセルポリシー（コンパクト化） --- */
/*
.policy-box {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
}
.policy-box .box-title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}
.policy-content {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 10px;
}
.policy-content::-webkit-scrollbar {
    width: 6px;
}
.policy-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}
*/

/* スマホ対応 */
@media screen and (max-width: 480px) {
    .dashboard-actions {
        grid-template-columns: 1fr; /* スマホは1列にする */
    }
    .btn-dashboard.modify {
        grid-column: auto;
    }
}

/* =========================================
   繁忙期表示 (Peak Season Styling)
   ========================================= */

/* --- 1. アラート帯 --- */
.peak-season-alert {
    background-color: #fff5f5; /* 薄い赤背景 */
    border: 1px solid #ffcccc;
    color: var(--accent);      /* 朱色文字 */
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}
.peak-season-alert i {
    font-size: 18px;
}

/* --- 2. テーブル内の強調 --- */

/* 繁忙期モード時のテーブル調整 */
.price-table.peak-mode {
    border: 2px solid #f5c6cb; /* 枠線を少し赤くして特別感を出す */
}

/* 価格の文字色を強調 */
.price-highlight {
    color: var(--accent);      /* 朱色 */
    font-weight: bold;
    font-size: 16px;
    margin-right: 8px;
}

/* 「繁忙期」バッジ */
.peak-badge {
    display: inline-block;
    background-color: var(--accent); /* 朱色背景 */
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    font-weight: normal;
    transform: translateY(-1px); /* 位置微調整 */
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
    .peak-season-alert {
        font-size: 12px;
        padding: 10px;
    }
    .price-highlight {
        font-size: 15px;
    }
    .peak-badge {
        font-size: 10px;
        padding: 1px 4px;
    }
}
