@charset "utf-8";

/* ============================================================
   FUJI SALON ─ 予約サイト共通スタイル
   NATURE × MUSIC × CONNECTION

   写真の差し替えは §0 のブロックだけを見てください。
   assets/img/ に同じファイル名で置き換えれば反映されます。
   写真が無い間は、自然の色調のグラデーションが代わりに表示されます。
   ============================================================ */


/* §0 ── 写真 ────────────────────────────────────────────────
   ファイルを assets/img/ に置くと、その写真に置き換わります。
     hero.jpg   富士山／サロン外観（横長・2000px程度）
     stay.jpg   客室・宿泊の様子（縦長ぎみ）
     salon.jpg  グランドピアノ・サロン内部（縦長ぎみ）
     oasis.jpg  木漏れ日・自然・人が過ごす様子（横長）
   -------------------------------------------------------- */
:root {
  --photo-hero:  url('img/hero.jpg');
  --photo-stay:  url('img/stay.jpg');
  --photo-salon: url('img/salon.jpg');
  --photo-oasis: url('img/oasis.jpg');
}


/* §1 ── デザイントークン ──────────────────────────────────── */
:root {
  /* 地の色：温かみのあるオフホワイト */
  --paper: #f7f5ef;
  --paper-warm: #fbfaf5;
  --surface: #ffffff;
  --sand: #efeade;
  --sand-deep: #e6e0d1;

  /* 線 */
  --line: #e1dccf;
  --line-strong: #ccc5b3;

  /* 文字 */
  --ink: #252525;
  --ink-soft: #45433e;
  --muted: #78736a;
  --faint: #a8a294;

  /* 森 */
  --forest: #31483b;
  --forest-deep: #22332a;
  --forest-soft: #4d6857;
  --forest-tint: #e8eee9;

  /* 富士・空 */
  --fuji: #718b96;
  --fuji-deep: #566f7a;
  --fuji-tint: #e7eef1;

  /* 木 */
  --wood: #a88d6b;
  --wood-tint: #f2ebdf;

  /* 状態 */
  --alert: #9c4a3c;
  --alert-tint: #f8efec;

  --shadow-sm: 0 1px 2px rgba(37, 37, 37, .04);
  --shadow: 0 18px 40px -24px rgba(37, 45, 40, .35);

  --r-xs: 2px;
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;

  --font-en: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;

  --shell: 1140px;
  --gutter: 20px;
}


/* §2 ── ベース ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* display を持つ要素にも hidden を効かせる（grid/flex が打ち消してしまうため） */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: .28em; }
a:hover { color: var(--forest-deep); }

:focus-visible { outline: 2px solid var(--fuji-deep); outline-offset: 3px; }

hr { height: 1px; margin: 0; border: 0; background: var(--line); }

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}


/* §3 ── 文字 ──────────────────────────────────────────────── */
h1, h2, h3 { margin: 0 0 .6em; color: var(--ink); line-height: 1.5; font-weight: 600; }
h1 { font-family: var(--font-mincho); font-size: clamp(25px, 4.4vw, 34px); letter-spacing: .02em; }
h2 { font-family: var(--font-mincho); font-size: clamp(20px, 3vw, 25px); letter-spacing: .02em; }
h3 { font-size: 16px; letter-spacing: .02em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 .9em;
  color: var(--fuji-deep);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1;
}
.lede { max-width: 34em; color: var(--ink-soft); }
.muted { color: var(--muted); font-size: 14px; }
.error {
  margin: 0 0 1em; padding: 12px 14px;
  border-left: 3px solid var(--alert); background: var(--alert-tint);
  color: #7d3a2f; font-size: 14px; line-height: 1.7;
}
.notice {
  margin: 0 0 1.2em; padding: 12px 14px;
  border-left: 3px solid var(--forest-soft); background: var(--forest-tint);
  color: var(--forest-deep); font-size: 14px; line-height: 1.7;
}
.terms { max-width: 820px; margin-top: 48px; }
.terms > section { margin: 34px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.terms ul { margin: 0 0 1.1em; padding-left: 1.4em; }


/* §4 ── 写真ブロック ──────────────────────────────────────── */
/* 写真が無い間は、下の穏やかなグラデーションが見えます。 */
.photo {
  position: relative;
  background-color: var(--sand);
  background-image: var(--photo, none), var(--photo-fallback, linear-gradient(170deg, #dfe6e9 0%, #c3ced3 55%, #93a3aa 100%));
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.photo--sky   { --photo-fallback: linear-gradient(178deg, #e4ebee 0%, #cdd8dc 38%, #a3b3ba 68%, #7b8f97 100%); }
.photo--wood  { --photo-fallback: linear-gradient(165deg, #f0e9dc 0%, #ddcdb2 55%, #b7a184 100%); }
.photo--room  { --photo-fallback: linear-gradient(165deg, #e9e7df 0%, #cfd4cd 50%, #93a094 100%); }
.photo--grove { --photo-fallback: linear-gradient(160deg, #e7ece5 0%, #bccbbb 52%, #708a72 100%); }


/* §5 ── ヘッダー・フッター ────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 245, 239, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(12px);
}
.topbar .shell {
  min-height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-en {
  font-family: var(--font-en);
  font-size: 20px; font-weight: 500; letter-spacing: .2em; line-height: 1;
}
.brand-jp { color: var(--muted); font-size: 12px; letter-spacing: .16em; line-height: 1; }
.brand:hover { color: var(--forest); }

.topbar-link {
  color: var(--muted); font-size: 13px; letter-spacing: .08em; text-decoration: none; white-space: nowrap;
}
.topbar-link:hover { color: var(--forest); text-decoration: underline; }

.nav { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--forest); text-decoration: underline; }

.sitefoot {
  margin-top: 96px;
  padding: 56px 0 44px;
  background: var(--forest-deep);
  color: rgba(247, 245, 239, .72);
  font-size: 13px;
  line-height: 1.9;
}
.sitefoot .shell { display: grid; gap: 26px; }
.sitefoot .brand-en { color: var(--paper); font-size: 22px; }
.sitefoot p { margin: 0; }
.sitefoot-en { font-family: var(--font-en); letter-spacing: .1em; }
.sitefoot-copy { color: rgba(247, 245, 239, .45); font-size: 12px; letter-spacing: .06em; }
@media (min-width: 760px) {
  .sitefoot .shell { grid-template-columns: 1fr auto; align-items: end; }
}


/* §6 ── ボタン ────────────────────────────────────────────── */
.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px;
  border: 1px solid var(--forest); border-radius: var(--r-sm);
  background: var(--forest); color: var(--paper);
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .06em; line-height: 1.4;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover, button:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--paper); }
.button:active, button:active { transform: translateY(1px); }

.button-secondary, .button-ghost {
  background: transparent; border-color: var(--line-strong); color: var(--forest);
}
.button-secondary:hover, .button-ghost:hover { background: var(--forest-tint); border-color: var(--forest-soft); color: var(--forest-deep); }

.button-danger { background: transparent; border-color: #d3b1aa; color: var(--alert); }
.button-danger:hover { background: var(--alert-tint); border-color: var(--alert); color: var(--alert); }

.button-block { display: flex; width: 100%; }

button:disabled, .button[aria-disabled="true"] {
  opacity: .45; cursor: not-allowed; pointer-events: none; transform: none;
}

.backlink { margin: 0 0 22px; font-size: 14px; }
.backlink a { color: var(--muted); text-decoration: none; }
.backlink a:hover { color: var(--forest); text-decoration: underline; }


/* §7 ── フォーム ──────────────────────────────────────────── */
label { display: block; margin: 0 0 6px; color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: .06em; }

input, select, textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea { min-height: 120px; line-height: 1.8; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus {
  border-color: var(--forest-soft); outline: 0; box-shadow: 0 0 0 3px rgba(77, 104, 87, .16);
}
input:disabled, select:disabled, textarea:disabled { background: var(--sand); color: var(--faint); }
input[type="checkbox"] { width: auto; min-height: 0; }

select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 15px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field { margin: 0 0 20px; }
.field:last-child { margin-bottom: 0; }
.field-note { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid .field { margin: 0; }

.check {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 0 0 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper-warm);
  font-size: 14.5px; font-weight: 400; line-height: 1.7; letter-spacing: 0; cursor: pointer;
}
.check:hover { border-color: var(--line-strong); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--forest); flex: none; }

fieldset { margin: 0; padding: 0; border: 0; }
fieldset:disabled { opacity: .5; }
legend { padding: 0; }


/* §8 ── ホーム ────────────────────────────────────────────── */
.hero { display: grid; }
.hero-photo { min-height: 86vw; max-height: 58vh; }
.hero-copy { padding: 40px var(--gutter) 8px; }
.hero .wordmark {
  margin: 0 0 20px;
  font-family: var(--font-en);
  font-size: clamp(40px, 11vw, 74px);
  font-weight: 400; letter-spacing: .17em; line-height: 1;
  color: var(--ink);
}
.hero-tagline {
  margin: 0 0 18px;
  font-family: var(--font-mincho);
  font-size: clamp(19px, 4.4vw, 27px);
  font-weight: 500; line-height: 1.85; letter-spacing: .04em;
  color: var(--forest);
}
.hero-lede { max-width: 26em; color: var(--ink-soft); font-size: 15px; }
.hero-credit {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-family: var(--font-en); font-size: 13px; letter-spacing: .08em; line-height: 1.7;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    min-height: min(76vh, 700px);
  }
  .hero-photo { grid-column: 2; min-height: min(76vh, 700px); max-height: none; height: 100%; }
  .hero-copy {
    grid-column: 1; grid-row: 1;
    padding: 60px clamp(40px, 5vw, 72px) 60px max(var(--gutter), calc((100vw - var(--shell)) / 2));
  }
}

/* 予約の入口 */
.entries {
  display: grid; gap: 18px;
  margin-top: 72px;
}
.entries-head { margin-bottom: 26px; }
.entry {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); text-decoration: none;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.entry:hover { border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--ink); }
.entry-photo { min-height: 46vw; max-height: 300px; overflow: hidden; }
.entry-body { padding: 26px 24px 28px; }
.entry-en {
  margin: 0 0 10px;
  font-family: var(--font-en); font-size: 13px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--fuji-deep); line-height: 1;
}
.entry-body h2 { margin: 0 0 10px; font-size: 22px; }
.entry-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.entry-go {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px;
  color: var(--forest); font-size: 14.5px; font-weight: 600; letter-spacing: .06em;
}
.entry-go::after {
  content: ""; width: 22px; height: 1px; background: currentColor;
  transition: width .2s ease;
}
.entry:hover .entry-go::after { width: 34px; }

@media (min-width: 760px) {
  .entries { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 96px; }
  .entries-head { grid-column: 1 / -1; }
  .entry-photo { min-height: 300px; max-height: none; }
  .entry-body { padding: 30px 30px 34px; }
}

/* 心のオアシス */
.oasis { display: grid; gap: 28px; margin-top: 88px; align-items: center; }
.oasis-photo { min-height: 48vw; max-height: 320px; border-radius: var(--r-sm); }
.oasis-text h2 { font-size: clamp(21px, 3.6vw, 27px); line-height: 1.8; }
.oasis-text p { color: var(--ink-soft); font-size: 15px; }
.oasis-keywords {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 22px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.oasis-keywords li {
  color: var(--fuji-deep); font-family: var(--font-en);
  font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
}
@media (min-width: 860px) {
  .oasis { grid-template-columns: 1.05fr .95fr; gap: 56px; margin-top: 120px; }
  .oasis-photo { min-height: 380px; max-height: none; height: 100%; }
}


/* §9 ── 予約ページ ────────────────────────────────────────── */
.page-head { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 12px; }
.page-head .lede { margin: 0; color: var(--muted); font-size: 14.5px; }

.booking { padding-bottom: 40px; }

.booking-layout { display: grid; grid-template-columns: 1fr; gap: 0; }

.step { padding: 34px 0; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; }
.step > h2 {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 6px; font-size: 20px;
}
.step-no {
  flex: none;
  width: 27px; height: 27px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--fuji); border-radius: 50%;
  color: var(--fuji-deep); font-family: var(--font-en); font-size: 14px; letter-spacing: 0;
  transform: translateY(-1px);
}
.step-note { margin: 0 0 22px; color: var(--muted); font-size: 13.5px; }
.step-body { margin-top: 22px; }

/* カレンダー */
.cal { max-width: 420px; }
.cal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 10px;
}
.cal-title { font-family: var(--font-mincho); font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.cal-nav {
  min-height: 40px; width: 40px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: transparent; color: var(--forest); font-size: 14px;
}
.cal-nav:hover { background: var(--forest-tint); border-color: var(--forest-soft); color: var(--forest-deep); }
.cal-nav:disabled { opacity: .3; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow {
  padding: 8px 0 10px;
  color: var(--muted); font-size: 11.5px; letter-spacing: .1em; text-align: center;
}
.cal-dow:first-child { color: #a5726a; }
.cal-dow:last-child { color: var(--fuji-deep); }

.cal-day {
  position: relative;
  min-height: 46px; padding: 0;
  border: 0; border-radius: 0; background: transparent;
  color: var(--ink); font-size: 15px; font-weight: 400; letter-spacing: 0;
  display: grid; place-items: center;
  cursor: pointer;
}
.cal-day:hover { background: transparent; }
.cal-day::before {
  content: ""; position: absolute; inset: 4px 0; z-index: 0;
}
.cal-day > span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  transition: background .14s ease, color .14s ease;
}
.cal-day:not(.is-disabled):hover > span { background: var(--sand-deep); }
.cal-day.is-empty { pointer-events: none; }
.cal-day.is-disabled { color: #c2bcae; cursor: default; }
.cal-day.is-busy:not(.is-disabled) > span { color: var(--alert); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .26em; }
.cal-day.is-today > span { box-shadow: inset 0 0 0 1px var(--fuji); }
.cal-day.is-range::before { background: var(--fuji-tint); }
.cal-day.is-start::before { background: var(--fuji-tint); border-radius: 999px 0 0 999px; }
.cal-day.is-end::before { background: var(--fuji-tint); border-radius: 0 999px 999px 0; }
.cal-day.is-start.is-end::before { background: transparent; }
.cal-day.is-selected > span { background: var(--forest); color: var(--paper); font-weight: 600; }
.cal-day.is-selected:hover > span { background: var(--forest-deep); }

.cal-legend {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px; line-height: 1.6;
}
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 13px; height: 13px; border-radius: 50%; flex: none; }
.cal-legend .k-sel { background: var(--forest); }
.cal-legend .k-range { background: var(--fuji-tint); }
.cal-legend .k-today { box-shadow: inset 0 0 0 1px var(--fuji); }
.cal-legend .k-off { background: #e6e2d8; }
.cal-legend .k-busy { background: var(--alert-tint); border: 1px solid #d7a49b; }

/* 選択中の日程 */
.picked {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 10px;
  margin: 22px 0 0; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper-warm);
}
.picked-slot { min-width: 0; }
.picked-label {
  margin: 0 0 4px; color: var(--fuji-deep);
  font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; line-height: 1;
}
.picked-value { margin: 0; font-family: var(--font-mincho); font-size: 17px; letter-spacing: .02em; line-height: 1.5; }
.picked-value.is-empty { color: var(--faint); font-family: var(--font-sans); font-size: 14px; }
.picked-sep { color: var(--line-strong); }
.picked-nights { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.picked--single { grid-template-columns: 1fr; }

.timepair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; max-width: 420px; margin-top: 24px; }
.timepair .field { margin: 0; }
.timepair .to { padding-bottom: 15px; color: var(--muted); }

/* 料金・空き状況 */
.booking-side { margin-top: 8px; }
.summary {
  padding: 24px 22px 22px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface);
}
.summary-title {
  margin: 0 0 4px;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fuji-deep); line-height: 1;
}
.summary h2 { margin: 0 0 16px; font-size: 19px; }
.summary .button { margin-top: 4px; }
.summary-hint { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

.quote { margin: 0 0 18px; }
.quote-state {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .04em;
}
.quote-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.quote-state.ok { color: var(--forest); }
.quote-state.ok::before { background: var(--forest-soft); }
.quote-state.ng { color: var(--alert); }
.quote-state.ng::before { background: var(--alert); }
.quote-state.wait { color: var(--muted); }
.quote-state.wait::before { background: var(--faint); }

.quote-lines { margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; }
.quote-lines li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.quote-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 0 0 4px; padding-top: 4px;
}
.quote-total b { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); }
.quote-total strong {
  font-family: var(--font-mincho); font-size: 27px; font-weight: 600; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.quote-msg { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

@media (min-width: 1000px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr) 330px; column-gap: 56px; }
  .booking-layout > .step { grid-column: 1; }
  .booking-side {
    grid-column: 2; grid-row: 1 / span 12;
    align-self: start; position: sticky; top: 92px;
    margin-top: 34px;
  }
}


/* §10 ── 受付完了 ─────────────────────────────────────────── */
.done { max-width: 660px; margin: 0 auto; padding: 56px 0 24px; }
.done-mark {
  width: 54px; height: 54px; margin-bottom: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--forest-soft); border-radius: 50%;
  color: var(--forest);
}
.done h1 { margin-bottom: 14px; }
.receipt {
  margin: 30px 0; padding: 26px 24px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface);
}
.receipt dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.receipt dt {
  margin: 0; padding: 14px 0 2px;
  color: var(--muted); font-size: 12px; letter-spacing: .12em;
}
.receipt dd {
  margin: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mincho); font-size: 21px; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.receipt dd:last-child { border-bottom: 0; padding-bottom: 0; }
.next-steps { margin: 0 0 30px; padding: 0 0 0 20px; color: var(--ink-soft); font-size: 14.5px; }
.next-steps li { margin-bottom: 8px; }
.done-actions { display: grid; gap: 12px; }
@media (min-width: 560px) {
  .receipt dl {
    grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column;
    column-gap: 40px;
  }
  .receipt dt { padding-top: 0; }
  .receipt dd { padding-bottom: 0; border-bottom: 0; }
  .done-actions { grid-auto-flow: column; justify-content: start; }
}


/* §11 ── 管理画面 ─────────────────────────────────────────── */
.card {
  margin: 26px 0; padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.card > :last-child { margin-bottom: 0; }
main.shell { padding-bottom: 64px; }
main.shell > .card:first-child { margin-top: 26px; }

.login { width: min(100%, 430px); margin: 76px auto; padding: 34px 30px; }
.login h1 { font-size: 24px; }
.login label { margin-top: 18px; }
.login p:last-child { margin-top: 24px; }

.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.calendar-head h1 { margin: 0; font-size: clamp(19px, 4vw, 25px); }
.calendar-head .button {
  min-height: 42px; padding: 10px 15px; font-size: 13px;
  background: transparent; border-color: var(--line-strong); color: var(--forest);
}
.calendar-head .button:hover { background: var(--forest-tint); border-color: var(--forest-soft); }

.calendar {
  display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  overflow-x: auto;
}
.calendar-weekday, .calendar-day { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-weekday {
  padding: 8px 4px; background: var(--sand);
  color: var(--muted); font-size: 11.5px; letter-spacing: .08em; text-align: center;
}
.calendar-day { min-height: 108px; padding: 7px; background: var(--surface); }
.calendar-day.empty { background: var(--paper-warm); }
.day-number { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 12.5px; font-weight: 600; }
.event {
  display: block; margin: 4px 0; padding: 4px 7px;
  border-radius: var(--r-xs); color: var(--ink); font-size: 11px; line-height: 1.45;
  text-decoration: none; overflow: hidden;
}
.event:hover { color: var(--ink); filter: brightness(.96); }
.event.accommodation { background: var(--forest-tint); }
.event.rental { background: var(--fuji-tint); }
.event.cleaning { background: var(--wood-tint); }
.event.admin_block { background: #eceaf0; }

.agenda { display: grid; grid-template-columns: 1fr; gap: 20px; }
.agenda .card { margin: 0; }
.agenda h2 { font-size: 17px; }
.agenda ul { margin: 0; padding: 0; list-style: none; }
.agenda li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }

.detail { display: grid; grid-template-columns: 1fr; margin: 0; }
.detail dt, .detail dd { margin: 0; padding: 12px 0; font-size: 14px; }
.detail dt { padding-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; letter-spacing: .08em; }
.detail dd { padding-top: 4px; }

form + form { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.card form + form button { background: transparent; border-color: var(--line-strong); color: var(--forest); }
.card form + form button:hover { background: var(--forest-tint); border-color: var(--forest-soft); }
.card form + form + form button { border-color: #d3b1aa; color: var(--alert); }
.card form + form + form button:hover { background: var(--alert-tint); border-color: var(--alert); color: var(--alert); }

@media (min-width: 700px) {
  .detail { grid-template-columns: 170px 1fr; }
  .detail dt { padding: 14px 0; }
  .detail dd { padding: 14px 0; border-top: 1px solid var(--line); }
  .agenda { grid-template-columns: 1fr 1fr; }
}


/* §12 ── 画面幅の調整 ─────────────────────────────────────── */
@media (min-width: 700px) {
  :root { --gutter: 32px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .card { padding: 20px 17px; }
  .calendar-day { min-height: 84px; padding: 4px; }
  .event { font-size: 10px; }
  .cal-day > span { width: 34px; height: 34px; }
  .picked { padding: 15px 16px; }
  .picked-value { font-size: 15.5px; }
}
