@charset "UTF-8";
/* ResRes 予約フォーム
 * 配色は CSS 変数で切り替える。
 *   :root                  … ライトテーマ
 *   :root[data-theme=dark] … ダークテーマ
 * アクセント色（--accent 系）は PHP 側（RR\Theme）が <style id="rr-accent"> で上書きする。
 */

:root {
    color-scheme: light;

    --bg: #faf8f4;
    --surface: #ffffff;
    --surface-2: #fbf9f6;
    --surface-3: #f7f3ec;
    --surface-4: #f6f2ec;
    --chip-bg: #f4efe8;
    --step-bg: #efe9e0;
    --step-num: #cec4b7;

    --ink: #24211d;
    --ink-2: #5d564e;
    --muted: #7d7368;
    --line: #e6ded2;

    --field-bg: #ffffff;
    --field-line: #e6ded2;

    --header-from: #2b2723;
    --header-to: #3a3430;
    --header-ink: #f4efe7;
    --header-sub: #ddd3c5;
    --header-meta: #b4a795;
    --header-eyebrow: #c8b9a4;

    --footer-bg: #2b2723;
    --footer-ink: #b8ab99;
    --footer-sub: #8a7f70;

    --open: #2f7a5b;
    --few: #b8860b;
    --full: #b0a99f;
    --closed: #a99e91;
    --past: #d5cec4;
    --sun: #b04141;
    --sat: #3f6796;

    --disabled-bg: #fbfaf8;
    --disabled-ink: #bdb5aa;
    --slot-disabled-bg: #faf8f5;
    --slot-disabled-ink: #b6ada2;

    --error-bg: #fdeeee;
    --error-ink: #a02b2b;
    --error-line: #f3d2d2;
    --info-bg: #f1f4f7;
    --info-ink: #445566;
    --info-line: #dde3ea;

    --shadow: rgba(0, 0, 0, .08);

    /* PHP 側で上書きされる既定値 */
    --accent: #8c2f39;
    --accent-dark: #6d232b;
    --accent-soft: #f6eeee;
    --accent-contrast: #ffffff;
    --accent-ring: rgba(140, 47, 57, .25);

    --radius: 10px;
    --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --bg: #16181c;
    --surface: #1e2126;
    --surface-2: #22262c;
    --surface-3: #262b33;
    --surface-4: #2b3038;
    --chip-bg: #2b313a;
    --step-bg: #262b33;
    --step-num: #4a525d;

    --ink: #e9e6e2;
    --ink-2: #c2bcb4;
    --muted: #968e85;
    --line: #333a44;

    --field-bg: #191c21;
    --field-line: #3b434e;

    --header-from: #101215;
    --header-to: #1e2229;
    --header-ink: #f0ece6;
    --header-sub: #c2bab0;
    --header-meta: #948b81;
    --header-eyebrow: #b09a7c;

    --footer-bg: #101215;
    --footer-ink: #9a938a;
    --footer-sub: #6d675f;

    --open: #5cbb8e;
    --few: #d8a842;
    --full: #6f6a63;
    --closed: #7d766d;
    --past: #4a453f;
    --sun: #e08585;
    --sat: #7fa8dd;

    --disabled-bg: #1a1d22;
    --disabled-ink: #5b5751;
    --slot-disabled-bg: #1a1d22;
    --slot-disabled-ink: #625d57;

    --error-bg: #2c1a19;
    --error-ink: #e59089;
    --error-line: #4a2a27;
    --info-bg: #1c2230;
    --info-ink: #a8b6cc;
    --info-line: #2e394c;

    --shadow: rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }

/* hidden 属性を確実に効かせる。
   .field や .steps のように display を指定した要素は、
   ブラウザ既定の [hidden]{display:none} が上書きされてしまうため。 */
[hidden] { display: none !important; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

.container { width: min(920px, calc(100% - 32px)); margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.site-header {
    background: linear-gradient(180deg, var(--header-from) 0%, var(--header-to) 100%);
    color: var(--header-ink);
    padding: 44px 0 40px;
    text-align: center;
    position: relative;
}
.site-header__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: .32em;
    color: var(--header-eyebrow);
}
.site-header__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: .1em;
}
.site-header__lead { margin: 14px 0 0; font-size: 14px; color: var(--header-sub); }
.site-header__meta {
    margin: 16px 0 0; font-size: 12px; color: var(--header-meta);
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}

/* ---------- ホームボタン ---------- */
.site-header__home {
    position: absolute; top: 16px; left: 16px;
    display: inline-flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 14px 0 11px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: var(--header-ink); text-decoration: none;
    font-size: 12px; letter-spacing: .04em;
    transition: background .15s, border-color .15s;
}
.site-header__home:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); }
.site-header__home svg { width: 17px; height: 17px; flex: none; display: block; }

/* ---------- テーマ切り替えボタン ---------- */
.theme-toggle {
    position: absolute; top: 16px; right: 16px;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: var(--header-ink);
    cursor: pointer; display: grid; place-items: center; padding: 0;
    transition: background .15s, transform .15s;
}
.theme-toggle:hover { background: rgba(255, 255, 255, .18); transform: rotate(-15deg); }
.theme-toggle__icon { width: 16px; height: 16px; display: block; position: relative; }
/* ライト時は月（これから暗くする）、ダーク時は太陽 */
.theme-toggle__icon::before {
    content: ""; position: absolute; inset: 0;
    border-radius: 50%; background: currentColor;
    box-shadow: inset -5px -3px 0 0 var(--header-to);
}
:root[data-theme="dark"] .theme-toggle__icon::before {
    inset: 3px; box-shadow: 0 0 0 2px currentColor;
    background: transparent;
}
:root[data-theme="dark"] .theme-toggle__icon::after {
    content: ""; position: absolute; inset: -3px; border-radius: 50%;
    background:
        radial-gradient(circle at 50% 0, currentColor 1px, transparent 1.6px),
        radial-gradient(circle at 50% 100%, currentColor 1px, transparent 1.6px),
        radial-gradient(circle at 0 50%, currentColor 1px, transparent 1.6px),
        radial-gradient(circle at 100% 50%, currentColor 1px, transparent 1.6px);
}

/* ---------- ステップ ---------- */
.steps {
    display: flex; list-style: none; margin: 28px 0 22px; padding: 0;
    gap: 6px; font-size: 12px; color: var(--muted);
}
.steps li {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 4px; background: var(--step-bg); border-radius: 6px; white-space: nowrap;
}
.steps li span {
    width: 20px; height: 20px; border-radius: 50%; background: var(--step-num); color: var(--surface);
    display: grid; place-items: center; font-size: 11px; flex: none;
}
.steps li.is-done { background: var(--accent-soft); color: var(--open); }
.steps li.is-done span { background: var(--open); color: #fff; }
.steps li.is-current { background: var(--accent); color: var(--accent-contrast); font-weight: 600; }
.steps li.is-current span { background: rgba(255, 255, 255, .28); color: var(--accent-contrast); }

/* ---------- パネル ---------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
}
.panel__title {
    margin: 0 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 600;
    letter-spacing: .04em;
}
.panel__desc { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.panel__actions {
    display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap;
    margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
}

/* パネル左上に置く「〜へ戻る」ボタン */
.panel__back {
    display: inline-flex; align-items: center; gap: 7px;
    margin: 0 0 18px; padding: 9px 18px 9px 14px;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--ink);
    font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    box-shadow: 0 1px 2px var(--shadow);
    transition: border-color .15s, color .15s, background-color .15s, transform .1s;
}
.panel__back::before { content: "‹"; font-size: 18px; line-height: 1; margin-top: -2px; }
.panel__back:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.panel__back:active { transform: translateY(1px); }

/* 日付選択画面に出す「選択中のコース」 */
.chosen {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px;
    margin: 0 0 20px; padding: 14px 18px;
    background: var(--surface-3); border: 1px solid var(--line);
    border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
}
.chosen:empty { display: none; }
.chosen__label {
    flex: 0 0 100%; font-size: 11px; color: var(--muted); letter-spacing: .06em;
}
.chosen__name { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.chosen__meta { font-size: 12px; color: var(--ink-2); }
.chosen__change {
    margin-left: auto; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface);
    color: var(--muted); font-family: inherit; font-size: 12px; cursor: pointer;
}
.chosen__change:hover { border-color: var(--accent); color: var(--accent); }

/* コース選択の上に出す案内ブロック */
.notice-block {
    margin: 0 0 22px; padding: 16px 18px;
    background: var(--surface-3); border: 1px solid var(--line);
    border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
}
.notice-block__title {
    margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--accent);
    letter-spacing: .04em;
}
.notice-block__body { font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.notice-block__body a { color: var(--accent); }
.notice-block__body p { margin: 0 0 8px; }
.notice-block__body p:last-child { margin-bottom: 0; }
.notice-block__body ul, .notice-block__body ol { margin: 0; padding-left: 1.3em; }
.block-title {
    margin: 28px 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .06em;
    padding-left: 10px; border-left: 3px solid var(--accent);
}

.loading { padding: 60px 0; text-align: center; color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

.alert { padding: 12px 16px; border-radius: 6px; font-size: 13px; margin-bottom: 18px; }
.alert-error { background: var(--error-bg); color: var(--error-ink); border: 1px solid var(--error-line); }
.alert-info { background: var(--info-bg); color: var(--info-ink); border: 1px solid var(--info-line); }

/* ---------- ボタン ---------- */
.btn {
    display: inline-block; padding: 11px 22px; border-radius: 6px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font-size: 14px; font-family: inherit;
    cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--surface-4); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); font-weight: 600; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-lg { padding: 14px 34px; font-size: 15px; }
.btn-ghost { color: var(--muted); }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- コース一覧 ---------- */
.service-list { display: grid; gap: 14px; }
.service-card {
    display: block; width: 100%; text-align: left; cursor: pointer;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px; font-family: inherit; color: inherit;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.service-card:hover { border-color: var(--accent); box-shadow: 0 4px 18px var(--shadow); transform: translateY(-1px); }
.service-card--plain { background: var(--surface-2); }
.service-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.service-card__head h3 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.service-card__price { color: var(--accent); font-size: 18px; font-weight: 700; white-space: nowrap; }
.service-card__price small { font-size: 11px; font-weight: 400; color: var(--muted); }
.service-card__desc { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.service-card__meta {
    display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0;
}
.service-card__meta li {
    font-size: 11px; color: var(--muted); background: var(--chip-bg);
    padding: 3px 10px; border-radius: 999px;
}
.service-card__cta { display: block; margin-top: 14px; font-size: 12px; color: var(--accent); font-weight: 600; }

/* 日付を先に選んだときに、コースごとの空き状況を出す */
.service-card__state {
    display: inline-block; margin-top: 14px; padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600;
}
.service-card__state.is-ok { background: var(--accent-soft); color: var(--accent); }
.service-card__state.is-ng { background: var(--surface-3); color: var(--muted); }
.service-card.is-unavailable {
    opacity: .55; cursor: not-allowed;
}
.service-card.is-unavailable:hover { border-color: var(--line); transform: none; box-shadow: none; }

/* コース先／日付先の切り替えリンク */
.flow-switch { margin: 0 0 18px; }
.flow-switch__link {
    padding: 8px 14px; border: 1px dashed var(--line); border-radius: 8px;
    background: none; color: var(--accent); font-family: inherit; font-size: 13px;
    font-weight: 600; cursor: pointer;
}
.flow-switch__link:hover { border-color: var(--accent); border-style: solid; }

/* ---------- 人数・席種 ---------- */
.picker-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.picker { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.picker__label { font-size: 12px; color: var(--muted); font-weight: 600; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="url"], input[type="password"], input[type="date"], input[type="time"], textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 6px;
    background: var(--field-bg); font-family: inherit; font-size: 14px; color: var(--ink);
}
select:focus, input:focus, textarea:focus {
    outline: 2px solid var(--accent-ring); outline-offset: 1px; border-color: var(--accent);
}
.seat-note { margin: 8px 0 20px; font-size: 12px; color: var(--muted); }

/* ---------- カレンダー ---------- */
.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calendar__head {
    display: flex; align-items: center; justify-content: center; gap: 24px;
    padding: 14px; background: var(--surface-3); border-bottom: 1px solid var(--line);
}
.calendar__title { font-family: var(--serif); font-size: 17px; font-weight: 600; min-width: 150px; text-align: center; }
.calendar__nav {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--surface); cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink);
}
.calendar__nav:disabled { opacity: .3; cursor: default; }
.calendar__legend {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    padding: 10px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line);
    background: var(--surface);
}
.calendar__legend .mark { font-style: normal; margin-right: 4px; font-weight: 700; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--line); gap: 1px; padding: 1px; }
.calendar__loading { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: var(--surface); }
.cal-dow { background: var(--surface-3); text-align: center; padding: 8px 0; font-size: 11px; color: var(--muted); }
.cal-dow.is-sun { color: var(--sun); }
.cal-dow.is-sat { color: var(--sat); }
.cal-cell {
    background: var(--surface); border: 0; min-height: 62px; padding: 6px 4px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-family: inherit; transition: background-color .12s;
}
.cal-cell--empty { background: var(--surface-2); cursor: default; }
.cal-cell__day { font-size: 13px; color: var(--ink); }
.cal-cell.is-sun .cal-cell__day { color: var(--sun); }
.cal-cell.is-sat .cal-cell__day { color: var(--sat); }
.cal-cell__mark { font-size: 16px; font-weight: 700; line-height: 1.2; }
.mark--open { color: var(--open); }
.mark--few { color: var(--few); }
.mark--full { color: var(--full); }
.mark--closed { color: var(--closed); font-size: 12px; }
.mark--past, .mark--outside { color: var(--past); }
.cal-cell:not(:disabled):hover { background: var(--accent-soft); }
.cal-cell:disabled { background: var(--disabled-bg); cursor: default; }
.cal-cell:disabled .cal-cell__day { color: var(--disabled-ink); }

/* ---------- 時間帯 ---------- */
.slot-group { margin-bottom: 26px; }
.slot-group__title {
    margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em;
}
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 12px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
    cursor: pointer; font-family: inherit; color: var(--ink);
    transition: border-color .15s, background-color .15s;
}
.slot:hover:not(.is-disabled) { border-color: var(--accent); background: var(--accent-soft); }
.slot.is-open { border-color: var(--accent); background: var(--accent-soft); }
.slot__time { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.slot__state { font-size: 11px; color: var(--open); }
.slot.is-disabled { background: var(--slot-disabled-bg); color: var(--slot-disabled-ink); cursor: default; }
.slot.is-disabled .slot__state { color: var(--slot-disabled-ink); }

.seat-choice {
    margin-top: 14px; padding: 16px; border: 1px dashed var(--accent);
    border-radius: 8px; background: var(--accent-soft);
}
.seat-choice__label { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.seat-choice__item {
    display: inline-flex; flex-direction: column; align-items: flex-start;
    margin: 0 8px 8px 0; padding: 10px 18px; border-radius: 6px;
    border: 1px solid var(--accent); background: var(--surface); color: var(--accent);
    cursor: pointer; font-family: inherit;
}
.seat-choice__item:hover { background: var(--accent); color: var(--accent-contrast); }
.seat-choice__item small { font-size: 11px; opacity: .8; }

/* ---------- オプション ---------- */
.option-list { display: grid; gap: 10px; }
.option-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2);
}
.option-row__main { display: flex; gap: 10px; align-items: flex-start; flex: 1; }
.option-row__main strong { display: block; font-size: 14px; font-weight: 600; }
.option-row__main small { display: block; font-size: 12px; color: var(--muted); }
.option-row__check { cursor: pointer; }
.option-row__check input { margin-top: 5px; }
.option-row__side { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.option-row__price { font-size: 13px; color: var(--accent); font-weight: 600; }
.option-row__side select { width: auto; min-width: 110px; }

/* ---------- 料金表 ---------- */
.price-box { margin-top: 22px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.price-table td { text-align: right; white-space: nowrap; }
.price-table tfoot th, .price-table tfoot td {
    font-weight: 700; font-size: 16px; color: var(--accent); border-bottom: none; padding-top: 14px;
}
.price-box__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- 入力フォーム ---------- */
.customer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full, .customer-form .terms { grid-column: 1 / -1; }
.field__label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field__label em {
    font-style: normal; font-size: 10px; color: var(--accent-contrast); background: var(--accent);
    padding: 1px 6px; border-radius: 3px; margin-left: 6px;
}
.terms { background: var(--surface-3); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.terms h4 { margin: 0 0 8px; font-size: 13px; }
.terms p { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }

/* ---------- ラジオボタンの一覧（当店を知ったきっかけ） ---------- */
.radio-list { display: flex; flex-wrap: wrap; gap: 8px; }
.radio {
    display: flex; align-items: center; gap: 8px;
    /* スマートフォンで押しやすいよう、高さ 44px を確保する */
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--field-bg); font-size: 13px; cursor: pointer;
    transition: border-color .12s, background-color .12s;
}
.radio:hover { border-color: var(--accent); }
.radio input { flex: none; margin: 0; accent-color: var(--accent); }
/* 選択中の項目を分かりやすくする。
   :has() を解釈しない古いブラウザ向けに、JS でも is-checked を付けている。 */
.radio:has(input:checked),
.radio.is-checked { border-color: var(--accent); background: var(--accent-soft); }
.radio:focus-within { outline: 2px solid var(--accent-ring); outline-offset: 1px; }

/* ---------- 確認・完了 ---------- */
.confirm-list { margin: 0 0 22px; border-top: 1px solid var(--line); }
.confirm-list > div { display: flex; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.confirm-list dt { flex: none; width: 130px; font-size: 12px; color: var(--muted); font-weight: 600; }
.confirm-list dd { margin: 0; font-size: 14px; flex: 1; }
.panel--done { text-align: center; }
.panel--done .confirm-list { text-align: left; }
.done-mark {
    width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
    background: var(--open); color: #fff; font-size: 30px; display: grid; place-items: center;
}
.done-note { font-size: 13px; color: var(--muted); }
.done-note a { color: var(--accent); }

/* ---------- キャンセルページ ---------- */
.simple-page { padding: 40px 0 70px; }
.simple-page .panel { max-width: 620px; margin-inline: auto; }

/* ---------- フッター ---------- */
.site-footer {
    background: var(--footer-bg); color: var(--footer-ink); text-align: center;
    padding: 26px 0; font-size: 12px; margin-top: 40px;
}
.site-footer p { margin: 2px 0; }
.site-footer__small { font-size: 11px; color: var(--footer-sub); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 640px) {
    .panel { padding: 20px 16px; }
    .steps { font-size: 10px; gap: 3px; }
    .steps li { flex-direction: column; gap: 3px; padding: 8px 2px; }
    .customer-form { grid-template-columns: 1fr; }
    .cal-cell { min-height: 52px; }
    .site-header__title { font-size: 24px; }
    .theme-toggle { top: 10px; right: 10px; width: 34px; height: 34px; }
    /* 画面が狭いときはアイコンだけにする */
    .site-header__home {
        top: 10px; left: 10px; width: 34px; height: 34px; padding: 0;
        justify-content: center; gap: 0;
    }
    .site-header__home-label { display: none; }
    .panel__actions { flex-direction: column-reverse; }
    .panel__actions .btn { width: 100%; text-align: center; margin-left: 0; }
    .notice-block { padding: 14px 15px; }
    .chosen { padding: 12px 14px; }
    .chosen__change { margin-left: 0; margin-top: 6px; }
    .option-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .confirm-list > div { flex-direction: column; gap: 2px; }
    .confirm-list dt { width: auto; }
}
