/* HK LOUNGE TOP（STEP2-C：KV → S1 利用案内 → S2 パーティーのお料理 → S3 プラン・料金 → S4 空間・設備 → S5 アクセス → S6 相談 → S7 営業日・お知らせ → フッター）
   KV・ヘッダーはSTEP1修正版を継承。
   PCファースト。BP：1180px（ヘッダーの主要リンクを隠し、全体メニューを2列に）／768px（スマホ。全体メニューは1列）。 */

:root {
  --charcoal: #121412;
  --charcoal-raise: #1c1f1b;
  --line-dark: #30342f;
  --mist: #a9ada5;
  --paper: #f3f1eb;
  --paper-line: #dcdad2;
  --ink: #121412;
  --ink-soft: #464a44;
  --green: #2b4a36;
  --green-hover: #355a42;
  --sage: #bcc8b0;
  --paper-deep: #ebe8df;
  --paper-line-deep: #d3d0c6;
  --scrim: 12 13 12;
  --font-en: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-title: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --gutter: 56px;
  --header-height: 76px;
  --name-size: clamp(96px, 11vw, 160px);
  --overlap: calc(var(--name-size) * 0.3);
  --fade: 1.6s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ヘッダーと本文を同じセルに置き、ヘッダーをKVに重ねる（absoluteを使わない） */
body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-feature-settings: "palt";
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main {
  grid-area: 1 / 1;
}

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

/* 画面には出さず、読み上げには残す（表の見出し・新しいタブの案内） */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html {
  scroll-padding-top: var(--header-height);
}

/* ページ内リンクの移動。モーション低減の設定がない時だけ滑らかにする（止まる位置は上のscroll-padding-topで固定ヘッダーの下） */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* メニューを開いている間は背景をスクロールさせない（位置はそのまま保持される）。
   キーボードのフォーカス移動はscript.jsがメニュー内だけをスクロールさせる */
html.is-menu-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

h1,
p,
figure {
  margin: 0;
}

/* 共通パーツ */

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding: 0 11px 0 28px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s;
}

.button-primary:hover {
  background: #fff;
}

.button-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
}

.button-green {
  background: var(--green);
  color: var(--paper);
}

.button-green:hover {
  background: var(--green-hover);
}

.button-green .button-arrow {
  background: var(--paper);
  color: var(--green);
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
}

.tel-link:hover .tel-label {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.tel-number {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ヘッダー：上部では透過・白文字、スクロール後と メニュー展開時は白背景・黒文字 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  align-self: start;
  color: var(--paper);
  text-shadow: 0 1px 2px rgb(var(--scrim) / 0.35);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-solid,
.site-header.is-menu-open,
.site-header:not(.is-ready) {
  background: var(--paper);
  color: var(--ink);
  text-shadow: none;
  box-shadow: 0 1px 0 var(--paper-line);
}

/* JSなし・script.jsの読込失敗時：script.jsがヘッダーを初期化して is-ready を付けるまでは、
   透過にせず白背景（スクロール後と同じ見た目）のままにする。開閉できないメニューボタンは出さない（全案内はフッター） */
.site-header:not(.is-ready),
.site-header:not(.is-ready) .header-cta {
  transition: none;
}

.site-header:not(.is-ready) .menu-button {
  display: none;
}

/* G02：閉じたヘッダーはどの幅でも一段（ロゴ｜主要リンク｜相談・メニュー）。2行目は全体メニュー。
   1行目の高さは固定し、メニューの開閉でヘッダーの高さ・ロゴの位置が動かないようにする */
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: var(--header-height) auto;
  grid-template-areas:
    "logo quick actions"
    "nav nav nav";
  align-items: center;
  column-gap: 32px;
  padding: 0 var(--gutter);
}

.logo {
  grid-area: logo;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}

/* --text-fit：Bebas Neueが読み込めず代替フォントで幅が収まらない時だけ、script.jsが1未満を入れる（通常は1） */
.logo-name {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: calc(35.1px * var(--text-fit, 1));
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.logo-sub {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: calc(12px * var(--text-fit, 1));
  line-height: 1;
  letter-spacing: 0.28em;
  white-space: nowrap;
  opacity: 0.8;
}

/* 主要リンク（PC）：用途2つ・空間・アクセスと、ユーザー指定で直接見せるお知らせ・利用規定・営業日の7件。
   H04：営業日もこの一覧の中で同じ文字・間隔に揃える。予約システム・ギャラリーなどは全体メニューへ */
.header-quick-nav {
  grid-area: quick;
  justify-self: end;
}

/* H03/H04：7件を1181〜1280px付近でも一段に収めるため、間隔は幅に応じて詰める */
.quick-nav-list {
  display: flex;
  gap: clamp(20px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
}

.quick-nav-list a:hover,
.quick-nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

/* 全体メニューを開いている間は隠す（同じリンクへフォーカスが二重に回らないように）。
   場所は残し、ロゴと右のボタンの位置を開閉で動かさない */
.is-menu-open .header-quick-nav {
  visibility: hidden;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu-icon-close,
.menu-button.is-open .menu-icon-open {
  display: none;
}

.menu-button.is-open .menu-icon-close {
  display: inline;
}

.label-short {
  display: none;
}

/* 全体メニュー：開いている間は、ヘッダーより下の画面全体をメニューの面にする。
   背景が下から見えず、画面より長い場合はメニュー内でスクロールする。
   H06：主なご案内（2列分）｜ご予約の前に｜目的別のご案内 の4等分の列。下に問い合わせと電話を全幅で。
   列の間隔と主なご案内の内側の列の間隔を同じにして、罫線の端を揃える */
.global-nav {
  --nav-gap: 40px;
  grid-area: nav;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 40px var(--nav-gap);
  padding: 40px 0 56px;
  border-top: 1px solid var(--paper-line);
}

.global-nav.is-open {
  display: grid;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-group-main {
  grid-column: span 2;
}

.nav-heading {
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* どの列も 上の罫線＋1行ごとの罫線・同じ行の高さ にそろえる */
.nav-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--paper-line);
  list-style: none;
}

.nav-group-main .nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--nav-gap);
}

.nav-list li {
  border-bottom: 1px solid var(--paper-line);
}

.nav-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  column-gap: 4px;
  min-height: 60px;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  word-break: keep-all;
  text-decoration: none;
}

.nav-group-main .nav-link {
  font-size: 18px;
}

.nav-link:hover {
  color: var(--green);
}

.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* 利用規定の必読注記（文言は既存のまま） */
.nav-link-note {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* H06：問い合わせと電話を同じ連絡領域に、同じ高さの丸いボタンで並べる。
   PCは上段のheader-ctaと競わないよう枠線だけ。1180px以下は上段に問い合わせがないので塗りにする */
.nav-contact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.nav-contact-link,
.nav-tel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.nav-tel-link svg {
  color: var(--green);
}

.nav-contact-link:hover,
.nav-tel-link:hover {
  background: var(--green);
  color: var(--paper);
}

.nav-tel-link:hover svg {
  color: inherit;
}

/* H06-R1：PCは上段のheader-ctaがあるため、メニュー内の問い合わせは1180px以下だけ表示 */
.nav-contact-link {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.is-solid .header-cta,
.is-menu-open .header-cta,
.site-header:not(.is-ready) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.is-solid .header-cta:hover,
.is-menu-open .header-cta:hover,
.site-header:not(.is-ready) .header-cta:hover {
  background: var(--green-hover);
}

/* KV：写真の下端と黒い余白の境界に大きな店名を組む
   列：余白 | 店名・用途 | 間 | 相談 | 余白
   行：写真のみ | 写真と店名の重なり | 店名の残り | 用途 | 用途の補足 | 相談（1180px以下）| 補足（スマホ） */

.kv {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) 48px auto var(--gutter);
  grid-template-rows: auto var(--overlap) auto auto auto auto auto;
  padding-bottom: 40px;
  background: var(--charcoal);
  color: var(--paper);
}

.kv-side {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  padding-bottom: 12px;
  writing-mode: vertical-rl;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 16.2px;
  letter-spacing: 0.32em;
  color: var(--mist);
  white-space: nowrap;
}

/* 写真：画面上端から始まり、右端まで伸ばす。スライドは同じセルに重ねる */
.kv-stage {
  grid-column: 2 / -1;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: max(420px, calc(100svh - 200px));
  overflow: hidden;
  background: var(--charcoal-raise);
}

/* 写真領域はキーボードで停止・再開できるため、フォーカス位置を内側の線で示す */
.kv-stage:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -4px;
}

/* 薄い暗さはヘッダーの周辺と、店名がかかる下端だけに補う（写真全体は暗くしない） */
.kv-stage::before,
.kv-stage::after {
  content: "";
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
}

.kv-stage::before {
  background: linear-gradient(rgb(var(--scrim) / 0.68), rgb(var(--scrim) / 0.3) 55%, rgb(var(--scrim) / 0)) top / 100% 200px no-repeat;
}

.kv-stage::after {
  background: linear-gradient(to top, rgb(var(--scrim) / 0.55), rgb(var(--scrim) / 0.2) 50%, rgb(var(--scrim) / 0)) bottom / 100% 34% no-repeat;
}

.slide {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fade) ease, visibility 0s linear var(--fade);
}

.slide.is-current {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fade) ease;
}

.slide picture {
  display: contents;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos-pc, 50% 50%);
  background: var(--charcoal-raise);
}

.slide-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 6px;
}

.kv-title {
  display: contents;
  font-weight: inherit;
}

/* 大きな店名：上の一部が写真にかかり、残りは黒い余白に置く。スライドに関係なく固定 */
.kv-name {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  z-index: 2;
  align-self: start;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: calc(var(--name-size) * var(--text-fit, 1));
  line-height: 0.8;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.kv-use {
  grid-column: 2;
  grid-row: 4;
  margin-top: 20px;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  word-break: keep-all;
}

.kv-uses {
  grid-column: 2;
  grid-row: 5;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

/* 丸い停止・再開ボタン（料理の写真フェーダーで使用） */
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: none;
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.icon-button:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.icon-play,
.is-paused .icon-pause {
  display: none;
}

.is-paused .icon-play {
  display: block;
}

.kv-actions {
  grid-column: 4;
  grid-row: 3 / 6;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding-top: 24px;
}

.kv-actions .tel-link {
  justify-content: center;
}

/* 動きを減らす設定 */

@media (prefers-reduced-motion: reduce) {
  :root {
    --fade: 0s;
  }

  .site-header,
  .header-cta {
    transition: none;
  }
}

/* 1180px以下：ヘッダーの主要リンクが横一列に無理なく収まらないため隠し、全体メニューを2列にする。
   KV下部は「店名・用途」の下に相談を並べる2段構成にする。 */

@media (max-width: 1180px) {
  :root {
    --name-size: clamp(80px, 11vw, 128px);
  }

  /* H05：主要リンクは横一列に無理なく収まらないため隠し、閉じたヘッダーはロゴ｜メニューだけにする。
     営業日・問い合わせは全体メニュー内から辿る */
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "nav nav";
  }

  .header-quick-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  /* H06：主なご案内は2列のまま全幅、ご予約の前に｜目的別のご案内 をその下に2列で */
  .global-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px var(--nav-gap);
    padding: 32px 0 48px;
  }

  .nav-contact-link {
    display: inline-flex;
    background: var(--green);
    color: var(--paper);
  }

  .nav-contact-link:hover {
    background: var(--green-hover);
  }

  .kv {
    grid-template-columns: var(--gutter) minmax(0, 1fr) 0 auto var(--gutter);
    grid-template-rows: auto var(--overlap) auto auto auto auto auto;
  }

  .kv-actions {
    grid-column: 2 / 5;
    grid-row: 6;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-self: start;
    gap: 6px 24px;
    padding-top: 24px;
  }
}

/* スマホ（768px以下） */

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --header-height: 56px;
    --name-size: clamp(72px, 24vw, 96px);
    --overlap: calc(var(--name-size) * 0.8);
  }

  .button-primary {
    gap: 12px;
    min-height: 58px;
    padding: 0 9px 0 22px;
    font-size: clamp(13px, 3.9vw, 15px);
    letter-spacing: 0.03em;
  }

  .header-inner {
    padding: 0 6px 0 var(--gutter);
  }

  .logo-name {
    font-size: calc(29.7px * var(--text-fit, 1));
  }

  .logo-sub {
    letter-spacing: 0.18em;
  }

  .header-actions {
    gap: 2px;
  }

  .label-long {
    display: none;
  }

  .label-short {
    display: inline;
  }

  /* G01：「お問い合わせ」（6字）でも320px幅でロゴを縮めずに並ぶよう、狭い幅だけ文字と左右の余白を詰める */
  .header-cta {
    min-height: 40px;
    padding: 0 clamp(10px, 3.2vw, 14px);
    font-size: clamp(11.5px, 3.5vw, 13px);
    letter-spacing: 0.02em;
  }

  /* H06：すべて1列。右端はロゴ側と同じ基本余白（header-innerの右6px＋14px）。
     行は本文幅いっぱいに揃え、見出しは大きくしない */
  .global-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 20px 14px 40px 0;
  }

  .nav-group-main {
    grid-column: auto;
  }

  .nav-group-main .nav-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-link {
    min-height: 56px;
  }

  .nav-group-main .nav-link {
    font-size: 17px;
  }

  .nav-contact {
    flex-direction: column;
    gap: 12px;
  }

  .nav-contact-link,
  .nav-tel-link {
    padding: 0 20px;
  }

  /* KV：写真（4:5）→ 写真の下端に「HK」、黒地に「LOUNGE」→ 用途 → 相談・電話 */
  .kv {
    padding-bottom: 28px;
  }

  .kv-side {
    display: none;
  }

  .kv-stage {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 5;
    max-height: max(360px, calc(100svh - 300px));
  }

  .kv-stage::after {
    background: linear-gradient(to top, rgb(var(--scrim) / 0.7), rgb(var(--scrim) / 0.32) 50%, rgb(var(--scrim) / 0)) bottom / 100% 40% no-repeat;
  }

  .slide img {
    object-position: var(--pos-sp, 50% 50%);
  }

  .slide-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .slide-pair .pair-sub {
    display: none;
  }

  .kv-name-line {
    display: block;
  }

  /* 料理の写真フェーダーの丸ボタン（KVの操作部削除後も見た目を変えないため残す） */
  .icon-button {
    margin-left: 0;
    border: 0;
    border-radius: 0;
  }

  .kv-use {
    grid-column: 2 / 5;
    margin-top: 14px;
    font-size: 15px;
  }

  .kv-actions {
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    gap: 4px;
    padding-top: 16px;
  }

  .kv-uses {
    grid-column: 2 / 5;
    grid-row: 7;
    margin-top: 8px;
    font-size: 12px;
    text-align: center;
  }

}

/* ========== 本文共通 ========== */

.section-en {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 17.55px;
  letter-spacing: 0.3em;
  color: var(--green);
}

.section-title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

/* 詳細ページへのテキストリンク（相談ボタンとは別の弱い入口） */
.detail-link {
  align-self: flex-start;
  word-break: keep-all;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.detail-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  transition: transform 0.2s ease;
}

.detail-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.detail-link:hover .detail-arrow {
  transform: translateX(3px);
}

.usage-photo,
.food-photo {
  margin: 0;
  background: var(--charcoal-raise);
}

.usage-photo img,
.food-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== 写真のクロスフェード（共通：.photo-fader / data-photo-fader） ==========
   写真を同じグリッドのセルに重ね、opacityだけで切り替える。高さは枠のaspect-ratioで決まり、写真は枠いっぱいに切り取る。
   新しい写真を上に重ねて浮かび上がらせ、前の写真はフェードの間だけ下に残す（途中で背景色が透けない）。
   JSなしでは最初の写真（.is-current）だけを見せる。操作部はscript.jsが作る。 */

.photo-fader {
  --fader-fade: 1.6s;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--charcoal-raise);
}

.photo-fader-item,
.photo-fader-controls {
  grid-area: 1 / 1;
}

.photo-fader-item {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s linear var(--fader-fade), visibility 0s linear var(--fader-fade);
}

.photo-fader-item.is-current {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fader-fade) ease, visibility 0s;
}

.photo-fader-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-fader-controls {
  z-index: 2;
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: center;
  margin: 16px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(18 20 18 / 0.62);
  color: var(--paper);
}

.photo-fader-controls .icon-button {
  border-color: transparent;
}

.photo-fader-count {
  margin: 0;
  padding: 0 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .photo-fader {
    --fader-fade: 0s;
  }
}

/* ========== S1 利用案内 ==========
   貸切パーティーは写真左・本文右。ホール利用は左右を入れ替え、本文左・写真右のほぼ50:50。
   左右の反転で2つの用途を区別し、同じカードを並べない。 */

.usage {
  background: var(--paper);
  color: var(--ink);
}

.usage-inner {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter) 96px;
}

.usage .section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 48px;
}

.usage-item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: end;
}

.usage-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usage-party .usage-photo {
  grid-column: 1 / 8;
  aspect-ratio: 3 / 2;
}

.usage-party .usage-body {
  grid-column: 8 / 13;
  padding-left: 16px;
}

.usage-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ホール：パーティーと左右を入れ替え、本文（1〜6列）｜写真（7〜12列）のほぼ50:50。
   DOMは写真→本文のまま（SPで画像が先に来る）、PCだけ列指定で写真を右へ */
.usage-hall {
  align-items: center;
  margin-top: 72px;
}

.usage-hall .usage-body {
  grid-column: 1 / 7;
  grid-row: 1;
  padding-right: 16px;
}

.usage-hall .usage-photo {
  grid-column: 7 / 13;
  grid-row: 1;
  aspect-ratio: 4 / 3;
}

/* 縦位置の素材を4:3で切り出すため、照明〜ステージ〜客席が入る位置に寄せる */
.usage-hall .usage-photo img {
  object-position: 50% 40%;
}

.usage-en {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 17.55px;
  letter-spacing: 0.26em;
  color: var(--green);
}

.usage-title {
  margin: 0;
  word-break: keep-all;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.usage-text {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.usage-text strong {
  color: var(--ink);
  font-weight: 700;
}

.usage-facts {
  display: flex;
  gap: 24px;
  margin: 2px 0 4px;
}

.usage-facts div {
  flex: 1 1 0;
  max-width: 180px;
  padding-top: 10px;
  border-top: 1px solid var(--ink);
}

.usage-facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
}

.usage-facts dd {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ========== S2 メインリード ==========
   深緑の面に、縦位置の料理3枚（P09・P10・P01）を同じ枠でゆっくり切り替え、右にHK LOUNGE全体の案内文を置く。
   PCは写真と本文をほぼ50:50。節の高さは料理写真（4:5）と本文の高い方で決まり、本文は写真の高さの中で上下中央に置く。
   写真の操作表示は出さない（data-photo-controls="none"）。 */

.food {
  background: var(--green);
  color: var(--paper);
}

.food-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) var(--gutter);
  column-gap: 72px;
  max-width: 1440px;
  margin: 0 auto;
}

.food-photo {
  grid-column: 1;
  justify-self: stretch;
  align-self: stretch;
}

/* 写真領域はキーボードで停止・再開できるため、フォーカス位置を内側の線で示す */
.food-photo:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -4px;
}

.food-body {
  grid-column: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 96px 0;
}

/* 指定文の4行をPCで崩さないよう、右列の幅（最長11字）に合わせて大きさを変える。TOP共通の見出しサイズとは別 */
.food-lead-title {
  margin: 0 0 20px;
  font-size: clamp(24px, 3.3vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.food-text {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  /* 折返しは<wbr>の文節位置だけにし、句末1〜2字の孤立を防ぐ。入りきらない場合のみ任意位置で折る */
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.food .detail-arrow {
  background: var(--paper);
  color: var(--green);
}

/* ========== S3 プラン・料金 ==========
   役割：比較。写真を置かず、プラン名・人数・お一人様料金・税表記だけを罫線と余白で読み比べる。
   着席・立食、テーブル、料理形式、設備の内訳は /party/#plans へ。
   料理を含む3プランと、施設使用料＋ドリンクのカジュアルを別のまとまりに分け、
   カジュアルの料金を「食事込みの最安値」と読ませない。 */

.plans {
  background: var(--paper);
  color: var(--ink);
}

.plans-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter);
}

.plans-head {
  grid-column: 1 / 5;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plans-lead {
  margin: 14px 0 6px;
  word-break: keep-all;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.plans-notes,
.space-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.plans-notes {
  margin: 20px 0 10px;
}

.plans-notes li,
.space-notes li {
  display: flex;
  gap: 10px;
}

.plans-notes li::before,
.space-notes li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  margin-top: 0.9em;
  background: var(--green);
}

.plans-body {
  grid-column: 5 / 13;
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.plans-table thead th {
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.plans-table thead th:nth-child(1) {
  width: 38%;
}

.plans-table thead th:nth-child(2) {
  width: 26%;
}

.plans-group th {
  padding: 36px 0 12px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}

.plans-table tbody:first-of-type .plans-group th {
  padding-top: 20px;
}

.plans-table tr:not(.plans-group) > * {
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--paper-line);
  vertical-align: middle;
}

.plans-casual tr:not(.plans-group) > * {
  background: var(--paper-deep);
}

.plans-casual tr:not(.plans-group) > :first-child {
  padding-left: 20px;
}

.plan-name {
  word-break: keep-all;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.plan-size {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.size-num {
  margin: 0 2px;
  font-family: var(--font-en);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.price-unit {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.price-value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.price-from {
  margin-left: 2px;
  font-family: var(--font-ja);
  font-size: 18px;
}

.price-tax {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  vertical-align: 9px;
}

/* カジュアル：料金のすぐ下に、何の料金か（施設＋ドリンク）と料理別途を置く */
.price-note {
  display: block;
}

.price-basis {
  display: block;
  margin-top: 6px;
  word-break: keep-all;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.price-exclude {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 8px;
  background: var(--green);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* T04：表の直下に、詳しい料金・条件が下層にあることを1文で示す */
.plans-more {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.plans-more a {
  font-weight: 700;
  color: var(--ink);
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}

.plans-more a:hover {
  color: var(--green);
}

/* ホール：パーティーの表とは別の、短い入口 */
.plans-hall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  margin: 48px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.plans-hall-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ========== 写真ブロック（S3とS4の間・V02） ==========
   役割：料金表を読んだ後に写真だけを眺める間。前のS3と同じ紙色の上に、10枚を3枚/4枚/3枚の行で敷き詰める。
   各写真は切り取り比率 --ratio を flex-grow と aspect-ratio の両方に使う。行内の幅が比率に比例して分かれるので、
   同じ行の写真は高さが揃い、行の左右の端もgutterに揃う。高さは比率・幅・余白から決まり、固定しない。
   1行目：会場の俯瞰（横長・主役）／デザート（縦）／イベント風景。2行目：寿司の近景／料理2枚（縦）の間にテーブルの奥行き。
   3行目：椅子を並べた会場（縦）／木のテーブル／料理台のある会場。縦の写真が上下の行で同じ位置に重ならないよう散らす。
   PC 1440pxで写真部分 約940px（行の高さ 約306・280・306px）、1180pxで約760px。
   上下の余白は写真間のgapと同じ24pxに抑え、節全体を写真の高さに近づける（V02-FIT）。 */

.interlude {
  --mosaic-gap: 24px;
  background: var(--paper);
}

.interlude-inner {
  display: flex;
  flex-direction: column;
  gap: var(--mosaic-gap);
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px var(--gutter);
}

.interlude-row {
  display: flex;
  align-items: flex-start;
  gap: var(--mosaic-gap);
}

.interlude-photo {
  flex: calc(var(--ratio)) 1 0%;
  min-width: 0;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  margin: 0;
  background: var(--paper-deep);
}

.interlude-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* 切り取り比率：会場は横長、料理は縦長。寿司（819×747）は原寸比のまま小さめに置き、引き伸ばさない */
.interlude-wide {
  --ratio: 16 / 9;
}

.interlude-landscape {
  --ratio: 16 / 10;
}

.interlude-portrait {
  --ratio: 4 / 5;
}

.interlude-near-square {
  --ratio: 11 / 10;
}

/* デザートは手前の果物とカップを中心に、奥の寿司を少し残す。椅子の列はステージ側を残す */
.interlude-dessert {
  --focus: 50% 62%;
}

.interlude-chairs {
  --focus: 50% 38%;
}

/* SP：行のまとまりを解き、全10枚を2列×5行に4:3で敷き詰める。全幅の段を作らず、写真面をコンパクトに保つ。
   上下の余白はPCと同じ24px。縦長から切り取る椅子の列は、ステージと手前の椅子が両方入る位置へ寄せる */
@media (max-width: 768px) {
  .interlude {
    --mosaic-gap: 20px;
  }

  .interlude-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interlude-row {
    display: contents;
  }

  .interlude-photo {
    --ratio: 4 / 3;
  }

  .interlude-chairs {
    --focus: 50% 60%;
  }
}

/* ========== S4 空間・設備 ==========
   役割：写真で空間を見せ、代表的な設備名だけ添えて /facility/ へ送る。
   階別の用途・全設備・注意点は下層で説明する。
   S2が左端まで写真を置いたので、ここは右端へ寄せて流れを変える。 */

.space {
  background: var(--paper-deep);
  color: var(--ink);
}

.space-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 72px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px 0 104px var(--gutter);
}

.space-body {
  grid-column: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.space-subtitle {
  margin: 22px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

/* 設備名は3つに絞り、1行ずつ縦に並べる（列数の変化で端数が出ないように） */
.space-equipment {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ink);
  list-style: none;
}

.space-equipment li {
  padding: 12px 0 14px;
  border-top: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.space-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.space-photo {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.space-photo img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  background: var(--charcoal-raise);
}

.space-photo figcaption {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ========== S5 アクセス ==========
   役割：場所の把握。地図を主役に、住所・駅からの徒歩分数・詳細入口だけを添える。 */

.access {
  background: var(--paper);
  color: var(--ink);
}

.access-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter);
}

.access-head {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-body {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 40px;
}

/* 地図が読み込めない時も面として見えるよう背景色を敷く。高さは比率で決める */
.access-map {
  grid-column: 5 / 13;
  grid-row: 1 / 3;
  aspect-ratio: 16 / 11;
  background: var(--paper-deep);
  border: 1px solid var(--paper-line);
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.access-zip {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.access-walk {
  margin: 0;
  padding-top: 14px;
  border-top: 2px solid var(--green);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.access-walk strong {
  margin-left: 0.5em;
  font-size: 22px;
}

/* ========== S6 相談への入口 ==========
   役割：行動。TOP末尾の相談（ボタン＋代表電話）。深緑の面で、S2の料理の面と呼応させる。 */

.contact {
  background: var(--green);
  color: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter);
}

.contact-body {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact .section-en {
  color: var(--sage);
}

.contact .section-title {
  word-break: keep-all;
}

.contact-text {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* UX01：下層末尾は相談ボタン1つと電話だけ。予約・規定・流れへのリンクは本文・ヘッダー・フッターに任せる */
.contact-note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #d6dccf;
}

.contact-actions {
  grid-column: 9 / 13;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.contact-actions .tel-link {
  justify-content: center;
}

.contact-guide-note {
  margin: -8px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  color: #c3ccbb;
}

/* TOP専用（U06）：見出し・相談ボタン・代表電話を中央の縦一列に。
   .contact 系は下層でも使うため、section の .top-contact に限定して上書きする。 */

.top-contact .contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  padding: 112px var(--gutter);
  text-align: center;
}

.top-contact .contact-body {
  align-items: center;
}

/* UX01：相談できる内容の1文だけを残す（連絡方法の説明はボタン・電話で自明なため削除） */
.top-contact .contact-text {
  margin-top: 12px;
  line-height: 1.9;
  color: #e3e8dd;
}

.top-contact .contact-actions {
  align-self: center;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 0;
}

.top-contact .button-primary {
  gap: 28px;
  min-height: 72px;
  max-width: 100%;
  padding: 0 12px 0 36px;
  font-size: 17px;
}

.top-contact .button-arrow {
  width: 48px;
  height: 48px;
}

.top-contact .tel-link {
  gap: 12px;
}

.top-contact .tel-number {
  font-family: var(--font-en);
  font-size: 30px;
  letter-spacing: 0.08em;
}

/* ========== S7 一般営業（OG01） ==========
   役割：相談の後、フッター前の写真付き1セクション。見出し・指定本文・カレンダー入口を左に、
   店内とスタジオの写真を右に大小で並べる。高さは写真の比率で決まる（固定高さなし）。 */

.info {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--paper-line);
}

.info-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 40px 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--gutter) 104px;
}

.info-head {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.info-photos {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: 24px;
}

.info-photo {
  margin: 0;
}

.info-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--charcoal-raise);
}

/* 店内：左右を少し詰めた正方形にし、テーブルと花を中心に残す */
.info-photo-room img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 55%;
}

/* スタジオ：2方向の室内が両方見えるよう、元の比率のまま切り取らない */
.info-photo-studio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-photo-studio img {
  aspect-ratio: 1136 / 660;
}

.info-studio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.info-studio-link span {
  color: var(--green);
}

.info-studio-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ========== お知らせ（T08・KV直下） ==========
   役割：KVの後に置く控えめな1行。見出し・新しい順2件・一覧入口を横に並べる。写真や大きな見出しは置かない。 */

.top-news {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--paper-line);
}

.top-news-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.top-news-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.top-news-en {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 17.55px;
  letter-spacing: 0.2em;
  color: var(--green);
}

.top-news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-news-link {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

/* 長い題名がSPで折り返すとき、末尾の1字だけが次の行に残らないようにする */
.top-news-item-title {
  text-wrap: pretty;
}

.top-news-link:hover .top-news-item-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.top-news-date {
  flex: none;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.top-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
}

.top-news-more span {
  color: var(--green);
}

.top-news-more:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ========== フッター ========== */

.site-footer {
  background: var(--charcoal);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px var(--gutter) 32px;
}

.footer-brand {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.footer-logo .logo-name {
  font-size: 40.5px;
}

.footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.footer-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer-tel:hover,
.footer-group a:hover,
.footer-social a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}

.footer-heading {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.footer-group ul,
.footer-social {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group a {
  word-break: keep-all;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

/* 現在のページ（G01：新しい利用規定・予約システム・ギャラリーを含む全下層で共通） */
.footer-group a[aria-current="page"] {
  color: var(--sage);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.footer-copy small {
  font-size: inherit;
}

/* 1180px以下：列の配分を広げる（S1は写真の大小を保ち、S3〜S6は見出しを上に置いて本文を全幅にする） */

@media (max-width: 1180px) {
  /* 列が狭くなる分、パーティー写真は4:3にして、ホール写真より常に大きく保つ */
  .usage-party .usage-photo {
    grid-column: 1 / 7;
    aspect-ratio: 4 / 3;
  }

  .usage-party .usage-body {
    grid-column: 7 / 13;
    padding-left: 0;
  }

  .usage-facts dd {
    white-space: nowrap;
  }

  .usage-hall .usage-body {
    padding-right: 0;
  }

  .food-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) var(--gutter);
    column-gap: 48px;
  }
  /* S3：見出しと注記を上に、表を全幅に */
  .plans-head {
    grid-column: 1 / -1;
    margin-bottom: 40px;
  }

  .plans-notes {
    margin-top: 12px;
  }

  .plans-body {
    grid-column: 1 / -1;
  }

  .space-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 48px;
  }

  .access-head {
    grid-column: 1 / -1;
    margin-bottom: 40px;
  }

  .access-body {
    grid-column: 1 / 6;
    margin-top: 0;
  }

  .access-map {
    grid-column: 6 / 13;
    grid-row: 2;
    aspect-ratio: 4 / 3;
  }

  .contact-body {
    grid-column: 1 / -1;
  }

  .contact-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 28px;
    margin-top: 40px;
  }

  .contact-guide-note {
    flex-basis: 100%;
    margin: -8px 0 0;
    text-align: left;
  }

  /* S7：左列では見出しと写真が窮屈になるため、文字の下に写真組を全幅で置く */
  .info-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 80px var(--gutter) 88px;
  }

  .info-head,
  .info-photos {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    grid-row: auto;
  }
}

/* スマホ（768px以下） */

@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .usage-inner {
    padding: 64px 0 72px;
  }

  .usage .section-head {
    margin: 0 var(--gutter) 28px;
  }

  .usage-item {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .usage-party .usage-photo {
    aspect-ratio: 4 / 3;
  }

  .usage-party .usage-body {
    padding: 0 var(--gutter);
  }

  .usage-title {
    font-size: 23px;
  }

  .usage-text {
    font-size: 14px;
    line-height: 1.95;
  }

  .usage-facts dd {
    font-size: 16px;
  }

  /* ホール：パーティーと同じく画像→本文の縦並び。
     PCの列・行指定が残らないよう1列gridにして、写真1行目・本文2行目に置き直す */
  .usage-hall {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    margin-top: 56px;
  }

  .usage-hall .usage-photo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    aspect-ratio: 4 / 3;
  }

  .usage-hall .usage-photo img {
    width: 100%;
    min-width: 0;
  }

  .usage-hall .usage-body {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding: 0 var(--gutter);
  }

  .food-inner {
    display: flex;
    flex-direction: column;
  }

  /* スマホは料理 → 本文の順。見出しは320pxでも最長11字の行が1行に収まる大きさにする */
  .food-body {
    align-self: stretch;
    gap: 16px;
    padding: 48px var(--gutter) 64px;
  }

  .food-lead-title {
    margin-bottom: 12px;
    font-size: clamp(21px, 6.6vw, 32px);
  }

  .food-text {
    font-size: 15px;
  }

  /* S3：表は行ごとのまとまりに組み直す（PCの表を縮めない） */
  .plans-inner {
    display: flex;
    flex-direction: column;
    padding: 64px var(--gutter) 72px;
  }

  .plans-head {
    margin-bottom: 28px;
  }

  .plans-notes {
    font-size: 13px;
  }

  .plans-table,
  .plans-table tbody,
  .plans-table tr,
  .plans-table th,
  .plans-table td {
    display: block;
  }

  .plans-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .plans-group th {
    padding: 28px 0 10px;
  }

  .plans-table tbody:first-of-type .plans-group th {
    padding-top: 0;
  }

  /* 料金のセルを行のgridへ展開し、人数と金額を同じ主行に置いて文字の基準線で揃える。
     税表記は金額の直後、収まらない幅では金額の真下（右揃え）へ折り返す。
     カジュアルの補足は人数・金額の下に全幅の短い行として置く */
  .plans-table tr:not(.plans-group) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "name name"
      ". unit"
      "size main";
    gap: 4px 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--paper-line);
  }

  .plans-table tr:not(.plans-group) > * {
    padding: 0;
    border-bottom: 0;
  }

  .plans-casual tr:not(.plans-group) {
    padding: 20px 16px;
    background: var(--paper-deep);
  }

  .plans-casual tr:not(.plans-group) > *,
  .plans-casual tr:not(.plans-group) > :first-child {
    padding: 0;
    background: none;
  }

  .plan-name {
    grid-area: name;
    font-size: 17px;
  }

  .plan-size {
    grid-area: size;
    align-self: baseline;
    font-size: 13px;
  }

  .size-num {
    font-size: 26px;
  }

  .plans-table .plan-price {
    display: contents;
  }

  .price-unit {
    grid-area: unit;
    text-align: right;
    font-size: 12px;
  }

  .price-main {
    grid-area: main;
    align-self: baseline;
    text-align: right;
  }

  .price-note {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 6px;
  }

  .price-note .price-basis,
  .price-note .price-exclude {
    margin-top: 0;
  }

  .price-value {
    font-size: 32px;
  }

  .price-from {
    font-size: 15px;
  }

  .price-tax {
    margin-left: 6px;
    vertical-align: 7px;
  }

  .price-basis {
    font-size: 12.5px;
  }

  .price-exclude {
    font-size: 12.5px;
  }

  .plans-hall {
    margin-top: 40px;
  }

  /* S4：写真を先に全幅で、一覧は下へ */
  .space-inner {
    display: flex;
    flex-direction: column;
    padding: 0 0 64px;
  }

  .space-photo {
    order: -1;
  }

  .space-photo img {
    aspect-ratio: 4 / 3;
  }

  .space-photo figcaption {
    padding: 0 var(--gutter);
  }

  /* T07：縦積みでは中央寄せを解除し、左右の基本余白を除いた全幅にする */
  .space-body {
    align-self: stretch;
    width: 100%;
    padding: 36px var(--gutter) 0;
  }

  .space-equipment li {
    font-size: 16px;
  }

  .space-links {
    flex-direction: column;
  }

  /* S5 */
  .access-inner {
    display: flex;
    flex-direction: column;
    padding: 64px var(--gutter) 72px;
  }

  .access-head {
    margin-bottom: 28px;
  }

  .access-body {
    gap: 20px;
  }

  .access-address {
    font-size: clamp(16px, 5vw, 19px);
  }

  .access-walk strong {
    font-size: 19px;
  }

  .access-map {
    margin-top: 28px;
  }

  /* S6 */
  .contact-inner {
    display: flex;
    flex-direction: column;
    padding: 64px var(--gutter) 72px;
  }

  .contact-text {
    font-size: 15px;
  }

  .contact-actions {
    align-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 36px;
  }

  .contact-guide-note {
    text-align: center;
  }

  /* S6 TOP専用（U06）：ボタンを幅いっぱいに近づけ、320pxでも文言と矢印を1行に収める */
  .top-contact .contact-inner {
    gap: 32px;
    padding: 72px var(--gutter) 80px;
  }

  /* T07b：SPでは本文が2行になるため左揃えに。見出し・ボタンは中央のまま */
  .top-contact .contact-text {
    text-align: left;
    text-wrap: pretty;
  }

  .top-contact .contact-actions {
    align-self: stretch;
    gap: 14px;
  }

  .top-contact .button-primary {
    width: 100%;
    max-width: 400px;
    gap: 12px;
    min-height: 62px;
    padding: 0 9px 0 22px;
    font-size: clamp(13px, 3.9vw, 15px);
    letter-spacing: 0.03em;
  }

  .top-contact .button-arrow {
    width: 40px;
    height: 40px;
  }

  .top-contact .tel-number {
    font-size: 26px;
  }

  /* S7：見出し・本文・カレンダー入口 → 店内 → スタジオ＋補助リンクの順に縦へ */
  .info-inner {
    gap: 28px;
    padding: 56px var(--gutter) 64px;
  }

  .info-head {
    gap: 14px;
  }

  .info-text {
    font-size: 15px;
  }

  .info-photos {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* 縦並びでは横長の元比率に戻し、画面を占めすぎないようにする */
  .info-photo-room img {
    aspect-ratio: 4 / 3;
  }

  /* お知らせ（T08）：見出しと一覧入口を1行目に、2件は下に縦に並べる */
  .top-news-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 16px;
    padding: 12px var(--gutter) 14px;
  }

  .top-news-list {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: 0;
  }

  .top-news-link {
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.6;
  }

  .top-news-date {
    font-size: 14px;
  }

  /* フッター */
  .footer-inner {
    gap: 36px;
    padding: 56px var(--gutter) 28px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  /* お問い合わせの項目は長いため、2列にせず全幅で */
  .footer-group:last-child {
    grid-column: 1 / -1;
  }
}

/* TOP専用（U07）：主なセクション見出しを一段大きくし、本文・補足との差を付ける。
   .section-title は下層でも使うため、body の .top-page に限定する。本文・補足のサイズは変えない。
   相談の見出しは中央のボタンを主役に残すため、他より一段控えめにする。
   営業日・お知らせ（.info-title）とフッター見出しは対象外。 */

.top-page .section-title {
  font-size: clamp(40px, 3.6vw, 52px);
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.top-page .top-contact .section-title {
  font-size: clamp(40px, 3.2vw, 46px);
}

@media (max-width: 768px) {
  .top-page .section-title,
  .top-page .top-contact .section-title {
    font-size: clamp(28px, 8.5vw, 32px);
    line-height: 1.35;
  }
}

/* TOP KV店名（FONT01）：英字タイトル共通のBebas Neue Regular。
   書体は.kv-nameと同じ--font-title。TOPだけ--name-sizeを1.35倍（135%）にする（root変数・--overlapは変えない。二重に掛けない） */
.top-page .kv-name {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: calc(var(--name-size) * 1.35 * var(--text-fit, 1));
}

/* TOPの動き（T08-MOTION）：KV写真の緩やかな拡大と、写真・見出しの1回だけの出現。本文・料金・リンクは隠さない。
   M01-SUBPAGE：出現（data-reveal）は下層でも同じルールを使う。KVの拡大はTOPだけ。
   出現前の状態は script.js が body に .has-reveal を付けた時だけ（JSなし・IOなし・例外時は最終表示のまま）。
   すべてモーション低減の設定がない時だけで、途中で設定を変えても直ちに静止した最終表示になる。
   寸法・配置は変えず、clip-path・opacity・transform だけを動かす */

@media (prefers-reduced-motion: no-preference) {
  /* KV：表示中の写真を約8秒で3%だけ拡大し、切り替わるまでその大きさを保つ。写真は最初から表示する。
     外れる写真は拡大したまま薄くなり、次に表示中になる時は透明の間に元の大きさから始める。
     拡大は写真領域（overflow: hidden）の中に収まる。script.jsの初期化後（.is-ready）だけ動かし、JSなしは静止。
     自動切替を休んでいる間（.is-paused：停止・フォーカス・ホバー・タブ非表示）は拡大も止める */
  .top-page .kv-stage.is-ready .slide {
    transform: scale(1.03);
  }

  .top-page .kv-stage.is-ready .slide.is-current {
    animation: top-kv-zoom 8s ease-out both;
  }

  .top-page .kv-stage.is-paused .slide.is-current {
    animation-play-state: paused;
  }

  /* 写真：置かれた側の端から開く（TOP：パーティーは左、ホールは右、店内は下から。下層：M01-SUBPAGEで同じ属性を付けた写真・photo-faderの外枠） */
  .has-reveal [data-reveal^="mask"] {
    transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .has-reveal [data-reveal="mask-left"]:not(.is-revealed) {
    clip-path: inset(0 100% 0 0);
  }

  .has-reveal [data-reveal="mask-right"]:not(.is-revealed) {
    clip-path: inset(0 0 0 100%);
  }

  .has-reveal [data-reveal="mask-up"]:not(.is-revealed) {
    clip-path: inset(100% 0 0 0);
  }

  .has-reveal [data-reveal^="mask"].is-revealed {
    clip-path: inset(0);
  }

  /* ギャラリーのサムネイル：既存のホバー（opacity・transform）の切替時間を保ったまま、下から開く */
  .has-reveal .gallery-page-thumb img[data-reveal^="mask"] {
    transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, transform 0.8s ease;
  }

  /* スタジオ：店内の写真に少し遅れて、短く浮き上がる（下のリンクは動かさない） */
  .has-reveal [data-reveal="rise"] {
    transition: opacity 0.8s ease 0.15s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
  }

  .has-reveal [data-reveal="rise"]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(28px);
  }

  /* 写真モザイク：節が画面に入った時に、並び順で短い時間差（script.jsが付ける--reveal-delay、最大180ms）で揃って現れる */
  .has-reveal [data-reveal="mosaic"] .interlude-photo {
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .has-reveal [data-reveal="mosaic"]:not(.is-revealed) .interlude-photo {
    opacity: 0;
    transform: translateY(20px);
  }

  /* 見出し：少しの移動とフェード */
  .has-reveal [data-reveal="heading"] {
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .has-reveal [data-reveal="heading"]:not(.is-revealed) {
    opacity: 0;
    transform: translateY(14px);
  }

  /* 下層の主タイトル（M01-SUBPAGE）：最初から見えたまま、開いた時に12pxだけ下から位置が落ち着く。opacityは変えない */
  .has-reveal [data-reveal="intro"] {
    animation: subpage-intro 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* フォーカス・ページ内リンクで移った対象は、出現の時間を待たずに最終表示（script.jsが付ける） */
  .has-reveal [data-reveal].is-revealed.is-reveal-instant,
  .has-reveal [data-reveal].is-revealed.is-reveal-instant .interlude-photo {
    transition: none;
  }
}

@keyframes subpage-intro {
  from {
    transform: translateY(12px);
  }

  to {
    transform: none;
  }
}

@keyframes top-kv-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.03);
  }
}

/* ==========================================================
   下層：貸切パーティー（/party/）STEP3-A1
   導入 → 会場・ご利用（M05全文）→ プラン・料金（見出しのみ。詳細はSTEP3-A2）→ 相談 → フッター
   TOPのルールは変更せず、.party-page と .party- で始まるクラスだけを追加する。
   相談・フッターはTOPのクラスをそのまま使う。
   ========================================================== */

.party-page {
  --party-en-size: clamp(72px, 9.6vw, 148px);
  --party-overlap: calc(var(--party-en-size) * 0.3);
}

/* 現在のページ：主ナビとフッターで「貸切パーティー」を示す */
.party-page .nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.party-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ========== 導入 ==========
   ヘッダーは黒地の上に置き、写真には重ねない（透過時も白文字が読める）。
   写真は左の余白から右端まで。下端に英字PRIVATE PARTYをかけ、TOPのKVの文字組みを引き継ぐ。
   行：パンくず | 写真のみ | 写真と英字の重なり | 英字の残り | 見出し・本文・ページ内の入口 */

.party-intro {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
  grid-template-rows: auto auto var(--party-overlap) auto auto;
  padding: var(--header-height) 0 88px;
  background: var(--charcoal);
  color: var(--paper);
}

.party-breadcrumb {
  grid-column: 2;
  grid-row: 1;
  padding: 4px 0 12px;
}

.party-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.party-breadcrumb li {
  display: flex;
  align-items: center;
}

.party-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.party-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.party-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.party-breadcrumb a[aria-current="page"] {
  color: var(--paper);
}

/* 写真の切替は共通の.photo-fader。枠の比率・高さだけをここで上書きする */
.party-intro-photo {
  grid-column: 2 / -1;
  grid-row: 2 / 4;
  aspect-ratio: 12 / 5;
  max-height: max(400px, calc(100svh - 260px));
}

.party-intro-photo picture {
  display: contents;
}

.party-intro-photo img {
  object-position: 50% 42%;
}

/* 縦位置のp06は、横長の枠でステージと手前のテーブルが残る位置で切り取る */
.party-intro-casual img {
  object-position: 50% 55%;
}

/* 英字がかかる下端だけを薄く暗くする（写真全体は暗くしない）。写真の上・操作部の下に重ねる */
.party-intro-photo::after {
  content: "";
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgb(var(--scrim) / 0.55), rgb(var(--scrim) / 0.2) 50%, rgb(var(--scrim) / 0)) bottom / 100% 34% no-repeat;
}

/* 操作部は右上へ。下端の英字・暗くした部分と重ねない */
.party-intro-photo .photo-fader-controls {
  align-self: start;
}

/* 代替フォントで幅が足りない時は、語の区切りで2行に折り返す */
.party-intro-en {
  grid-column: 2 / -1;
  grid-row: 3 / 5;
  z-index: 2;
  align-self: start;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  /* FONT01：重なり・行トラックに使う--party-en-sizeは変えず、文字だけ1.35倍 */
  font-size: calc(var(--party-en-size) * 1.35);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.party-intro-en-line {
  white-space: nowrap;
}

/* 見出し（1〜4列）｜本文と写真の説明（5〜8列）｜ページ内の入口（9〜12列） */
.party-intro-body {
  grid-column: 2;
  grid-row: 5;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  align-items: start;
  margin-top: 36px;
}

.party-intro-title {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.party-intro-text {
  grid-column: 5 / 9;
  grid-row: 1;
  padding-top: 4px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #d9dbd4;
}

.party-index {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
}

.party-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-dark);
}

.party-index li {
  border-top: 1px solid var(--line-dark);
}

.party-index li:first-child {
  border-top-color: var(--paper);
}

.party-index a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.party-index-num {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--sage);
}

.party-index-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.party-index a:hover .party-index-label {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.party-index a:hover .party-index-arrow {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

/* ========== 会場・ご利用 ==========
   PCは写真｜本文の50:50。本文は見出し→導入→結びの段落→6階→7階の順に通常フローで組む。
   写真は本文の高さに合わせて伸ばし、どちらかの列だけが余らないようにする（写真の階は未確定のため階と結びつけない）。
   6階は墨の罫線、7階は細い罫線から始まる項目。人数は先方原文の中で強調し、別の大数字には分けない（OC01）。 */

.party-venue {
  background: var(--paper);
  color: var(--ink);
}

.party-venue-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 5vw, 80px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 112px var(--gutter) 104px;
}

/* 写真の切替は共通の.photo-fader。比率を外して行の高さ（本文の高さ）まで伸ばす。
   contain: sizeで写真の元の大きさが行の高さを押し上げないようにし、本文が短い時だけmin-heightで下限を持たせる */
.party-venue-photo {
  aspect-ratio: auto;
  min-height: 560px;
  contain: size;
}

.party-venue-photo picture {
  display: contents;
}

.party-venue-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.party-venue-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.party-venue-lead {
  margin-top: 28px;
  word-break: keep-all;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.party-venue-text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.party-floor-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.party-floor-text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* 人数は先方原文の中で太字・墨色にして拾いやすくする */
.party-floor-text strong {
  font-weight: 700;
  color: var(--ink);
}

.party-floor-six {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.party-floor-seven {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-line);
}

/* ========== プラン・料金（STEP3-A2） ==========
   お料理等を含む3プランは、太い罫線の下に縦の細い罫線で区切った3列にし、
   名前・人数・料金・含むもの・着席/立食・詳細の行を列どうしでそろえて読み比べる（subgrid）。
   その下に料理の一例（P04）を1枚。カジュアルは細い罫線と明るい面の横組みにして、
   料金を小さめにし「お料理代は含みません」を料金のすぐ下に置く。 */

.party-plans {
  background: var(--paper-deep);
  color: var(--ink);
}

.party-plans-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter) 112px;
}

.party-plans-head {
  grid-column: 1 / 6;
  grid-row: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.party-plans-notes {
  grid-column: 7 / 13;
  grid-row: 1;
  align-self: end;
  margin: 0;
}

.party-plan-group {
  grid-column: 1 / -1;
  margin-top: 64px;
}

.party-plan-group-title {
  margin: 0;
  padding: 14px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--green);
}

/* 行：1 名前 | 2 人数 | 3 料金 | 4 含むもの | 5 着席・立食 | 6〜8 お料理・テーブル・設備 */
.party-plan-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto);
}

.party-plan {
  grid-row: 1 / span 8;
  display: grid;
  grid-template-rows: subgrid;
  padding: 36px 32px 0;
  border-left: 1px solid var(--paper-line-deep);
}

.party-plan:first-child {
  padding-left: 0;
  border-left: 0;
}

.party-plan:last-child {
  padding-right: 0;
}

.party-plan > .party-plan-name { grid-row: 1; }
.party-plan > .party-plan-size { grid-row: 2; }
.party-plan > .party-plan-price { grid-row: 3; }
.party-plan > .party-plan-includes { grid-row: 4; }
.party-plan > .party-plan-seat { grid-row: 5; }

.party-plan > .party-plan-details {
  grid-row: 6 / 9;
  display: grid;
  grid-template-rows: subgrid;
}

.party-plan-food-row { grid-row: 1; }
.party-plan-table-row { grid-row: 2; }
.party-plan-equipment-row { grid-row: 3; }

.party-plan-name {
  margin: 0;
  word-break: keep-all;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.party-plan-size {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.party-plan-num {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.party-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.party-plan-unit {
  flex-basis: 100%;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.party-plan-value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(52px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: 0.01em;
}

.party-plan-from {
  margin-left: 2px;
  font-family: var(--font-ja);
  font-size: 20px;
}

.party-plan-tax {
  padding: 0 7px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.party-plan-includes {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.party-plan-seat {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--green);
}

.party-plan-details {
  margin: 28px 0 0;
}

.party-plan-details div {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--paper-line-deep);
  font-size: 13px;
}

.party-plan-details dt {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.party-plan-details dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* 料理の一例：写真｜本文の50:50。D02の文言と写真の注記は写真の上下中央にそろえる。
   写真の切替は共通の.photo-fader。先頭の写真が幅800のため、枠は1:1・最大640pxにとどめて拡大しすぎない */
.party-plan-food {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  margin-top: 96px;
}

.party-plan-food-photo {
  grid-column: 1 / 7;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1 / 1;
}

.party-plan-food-body {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.party-plan-food-text {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.party-plan-food-note {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* カジュアル：細い罫線と明るい面。名前・人数｜料金と料金の条件｜お料理・機材の順に横へ */
/* 各プランのまとめ末尾から、ページ下部の詳細へ移るページ内リンク */
.party-plan-more {
  margin-top: 24px;
}

.party-plan-group-casual {
  margin-top: 96px;
}

.party-plan-group-casual .party-plan-group-title {
  border-top-width: 1px;
  border-bottom: 0;
}

.party-plan-casual {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr);
  align-items: start;
  gap: 0 40px;
  padding: 32px 40px 36px;
  background: var(--paper);
}

.party-plan-casual .party-plan-price {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.party-plan-casual .party-plan-value {
  font-size: 44px;
}

.party-plan-basis {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.party-plan-exclude {
  width: fit-content;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.party-plan-casual .party-plan-details {
  margin-top: 0;
}

.party-plan-casual .party-plan-details div {
  grid-template-columns: 8.5em minmax(0, 1fr);
}

.party-plan-casual .party-plan-details div:first-child {
  padding-top: 0;
  border-top: 0;
}

/* 1180px以下：導入の入口を見出しの下へ横並びに、会場は列の配分を広げる */

@media (max-width: 1180px) {
  .party-page .nav-link[aria-current="page"] {
    font-weight: 700;
  }

  .party-intro-title {
    grid-column: 1 / 6;
    grid-row: 1;
  }

  .party-intro-text {
    grid-column: 6 / 13;
  }

  .party-index {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 36px;
  }

  .party-index ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    border-bottom: 0;
  }

  .party-venue-inner {
    column-gap: 40px;
  }

  .party-plans-head,
  .party-plans-notes {
    grid-column: 1 / -1;
  }

  .party-plans-head {
    grid-row: 1;
  }

  .party-plans-notes {
    grid-row: 2;
    margin-top: 24px;
  }

  /* 3列の幅が狭くなるため、料金を一段小さくし、詳細は項目名の下に内容を置く */
  .party-plan {
    padding: 32px 24px 0;
  }

  .party-plan-value {
    font-size: 48px;
  }

  /* 列幅によって税区分だけが折り返さないよう、3列とも税区分を料金の次の行に置く */
  .party-plan-set .party-plan-value {
    flex-basis: 100%;
  }

  .party-plan-set .party-plan-tax {
    margin-top: 12px;
  }

  .party-plan-details div {
    grid-template-columns: minmax(0, 1fr);
  }

  .party-plan-food {
    margin-top: 80px;
  }

  .party-plan-group-casual {
    margin-top: 80px;
  }

  .party-plan-casual {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 32px;
    padding: 28px 32px 32px;
  }

  .party-plan-casual .party-plan-details {
    grid-column: 1 / -1;
    margin-top: 28px;
  }

  .party-plan-casual .party-plan-details div {
    grid-template-columns: 8.5em minmax(0, 1fr);
  }

  .party-plan-casual .party-plan-details div:first-child {
    padding-top: 12px;
    border-top: 1px solid var(--paper-line-deep);
  }
}

/* 会場・ご利用だけの局所BP（960px以下）：50:50のままだと写真列が細い縦帯になり会場の広がりが伝わらないため、
   写真→本文の1列にして写真を横長の枠に戻す。768px以下は下のスマホ指定がそのまま上書きする */
@media (max-width: 960px) {
  .party-venue-inner {
    display: flex;
    flex-direction: column;
  }

  .party-venue-photo {
    aspect-ratio: 3 / 2;
    min-height: 0;
    contain: none;
  }

  .party-venue-body {
    margin-top: 48px;
  }
}

/* スマホ（768px以下）：パンくず → 写真 → 英字 → 見出し・本文 → 入口。会場は写真を全幅にして文字は下へ */

@media (max-width: 768px) {
  .party-page {
    --party-en-size: clamp(64px, 23vw, 100px);
  }

  .party-intro {
    padding-bottom: 56px;
  }

  .party-breadcrumb {
    padding: 0 0 4px;
  }

  .party-intro-photo {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 5;
    max-height: max(320px, calc(100svh - 320px));
  }

  .party-intro-photo img {
    object-position: 50% 50%;
  }

  .party-intro-photo::after {
    background: linear-gradient(to top, rgb(var(--scrim) / 0.7), rgb(var(--scrim) / 0.32) 50%, rgb(var(--scrim) / 0)) bottom / 100% 40% no-repeat;
  }

  .party-intro-photo .photo-fader-controls {
    margin: 12px;
  }

  .party-intro-en-line {
    display: block;
  }

  /* 2行になるため、詰めた行間のまま上下の字が触れないよう行の間だけ空ける */
  .party-intro-en-line + .party-intro-en-line {
    margin-top: 0.12em;
  }

  .party-intro-body {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
  }

  .party-intro-title {
    font-size: 26px;
  }

  .party-intro-text {
    margin-top: 12px;
    padding-top: 0;
    font-size: 14px;
    line-height: 1.95;
  }

  /* 縦並びのflexでは内容幅に縮むため、本文幅いっぱいに伸ばす */
  .party-index {
    align-self: stretch;
    margin-top: 28px;
  }

  .party-index ol {
    display: block;
    border-bottom: 1px solid var(--line-dark);
  }

  /* 写真（全幅）→ 本文の順に縦へ */
  .party-venue-inner {
    display: flex;
    flex-direction: column;
    padding: 64px 0 72px;
  }

  /* PC用の伸縮をやめ、正方形の枠に戻す */
  .party-venue-photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
    contain: none;
  }

  .party-venue-photo img {
    object-position: 50% 55%;
  }

  .party-venue-photo .photo-fader-controls {
    margin: 12px;
  }

  .party-venue-body {
    margin: 40px var(--gutter) 0;
  }

  .party-venue-lead {
    margin-top: 18px;
    font-size: 19px;
  }

  .party-venue-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.95;
  }

  .party-floor-title {
    font-size: 18px;
  }

  .party-floor-six {
    margin-top: 36px;
    padding-top: 22px;
  }

  .party-floor-seven {
    margin-top: 28px;
    padding-top: 22px;
  }

  .party-floor-text {
    font-size: 14px;
    line-height: 1.95;
  }

  .party-plans-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px var(--gutter) 72px;
  }

  /* PC用のalign-self: endは縦並びのflexでは右寄せになるため、本文の左端へ戻す */
  .party-plans-head {
    align-self: flex-start;
  }

  .party-plans-notes {
    margin-top: 20px;
    font-size: 13px;
  }

  /* 各プラン：名前 → 人数 → 料金 → 含むもの・着席/立食 → 詳細の順に、罫線で区切って縦に読む */
  .party-plan-group {
    margin-top: 44px;
  }

  .party-plan-set {
    display: block;
  }

  .party-plan {
    display: flex;
    flex-direction: column;
    padding: 28px 0 32px;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .party-plan:first-child {
    border-top: 0;
  }

  .party-plan:last-child {
    padding-bottom: 0;
  }

  .party-plan-name {
    font-size: 19px;
  }

  .party-plan-num {
    font-size: 28px;
  }

  .party-plan-price {
    margin-top: 16px;
    padding-top: 14px;
    border-top-color: var(--paper-line-deep);
  }

  .party-plan-value {
    font-size: 52px;
  }

  /* 1列で幅が足りるため、税区分は料金の横へ戻す */
  .party-plan-set .party-plan-value {
    flex-basis: auto;
  }

  .party-plan-set .party-plan-tax {
    margin-top: 0;
  }

  .party-plan-includes {
    margin-top: 14px;
  }

  .party-plan-details {
    margin-top: 20px;
  }

  .party-plan-details div {
    grid-template-columns: 5.5em minmax(0, 1fr);
    padding: 10px 0;
  }

  /* 料理の一例：写真は画面幅いっぱいに、文言はその下へ */
  .party-plan-food {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 56px;
  }

  .party-plan-food-photo {
    width: auto;
    max-width: none;
    margin: 0 calc(var(--gutter) * -1);
  }

  .party-plan-food-body {
    gap: 12px;
  }

  .party-plan-food-text {
    font-size: 17px;
  }

  .party-plan-group-casual {
    margin-top: 56px;
  }

  .party-plan-casual {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px 28px;
  }

  .party-plan-casual .party-plan-value {
    font-size: 40px;
  }

  .party-plan-casual .party-plan-details {
    margin-top: 4px;
  }

  .party-plan-casual .party-plan-details div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========== ご利用条件・プラン資料（STEP3-A3） ==========
   料金の濃い紙色から明るい紙色に切り替え、深緑の相談の直前に置く。
   上段：左にカジュアルの最低利用金額の表（見出し・表題にプラン名と税込）、右にご来店・音量の注意。
   下段：PDF 2点を料金と同じ太い罫線＋縦の細い罫線で2列に並べ、開く（塗り）と保存（線）を分ける。 */

.party-conditions {
  background: var(--paper);
  color: var(--ink);
}

.party-conditions-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter) 112px;
}

.party-conditions-head {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.party-conditions-head .section-title {
  word-break: keep-all;
}

.party-conditions-subtitle {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  word-break: keep-all;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.party-minimum-plan {
  color: var(--green);
}

/* 最低利用金額：時間帯（行）× 平日・土日祝（列）。時間の条件は区分名のすぐ下に置く */
.party-minimum {
  grid-column: 1 / 8;
  margin-top: 56px;
}

.party-minimum-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.party-minimum-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.party-minimum-table caption {
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-align: left;
}

.party-minimum-tax {
  margin-left: 10px;
  padding: 1px 7px;
  border: 1px solid currentColor;
  font-size: 12px;
}

.party-minimum-table thead th {
  padding: 0 0 10px 16px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
  color: var(--green);
}

.party-minimum-table thead th:first-child {
  width: 40%;
  padding-left: 0;
}

.party-minimum-table tbody th {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-align: left;
}

.party-minimum-time {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.party-minimum-table td {
  padding: 16px 0 16px 16px;
  border-bottom: 1px solid var(--paper-line-deep);
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: right;
}

/* ご来店・ご利用にあたって：料金の表と同じ高さの罫線から始める */
.party-visit {
  grid-column: 9 / 13;
  margin-top: 56px;
}

.party-visit-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.party-visit-list li {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.party-visit-list li::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  margin-top: 0.95em;
  background: var(--green);
}

/* プランの詳細（D02・D01）：見出しは上段と同じ太い罫線。
   A・B・小宴会はお飲物を3列で読み比べ、共通条件は項目名｜内容の2列の行を左右2段に流す。
   カジュアルは料金｜利用条件、お料理｜予約時期を2列に組み、オプションは最後に横幅いっぱいで2段に流す。 */
.party-detail {
  grid-column: 1 / -1;
  margin-top: 88px;
}

.party-detail-compare {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  table-layout: fixed;
}

.party-detail-compare thead th {
  padding: 0 16px 10px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--green);
}

.party-detail-compare thead th:first-child {
  width: 16%;
  padding-left: 0;
}

.party-detail-compare tbody th {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.06em;
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}

.party-detail-compare td {
  padding: 16px;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  vertical-align: top;
}

.party-detail-compare td[colspan] {
  font-weight: 500;
}

.party-detail-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.party-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin: 28px 0 0;
}

.party-detail-list div {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line-deep);
}

.party-detail-list dt {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--green);
}

.party-detail-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.party-detail-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.party-detail-note a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.party-detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 48px;
  margin-top: 36px;
}

/* 利用条件・お料理は右列の幅に収まるよう、行を1段にする */
.party-detail-part .party-detail-list {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 12px;
}

.party-detail-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.party-detail-title-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.party-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.party-detail-table + .party-detail-table {
  margin-top: 24px;
}

.party-detail-caption {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
}

.party-detail-table th {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: left;
}

.party-detail-table td {
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--paper-line-deep);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: right;
}

.party-detail-timing td {
  color: var(--green);
}

.party-detail-service {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.party-detail-service li {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.party-detail-service-num {
  flex: none;
  font-weight: 700;
  color: var(--green);
}

/* オプションは2段に流して縦に伸ばしすぎない */
.party-detail-options {
  margin-top: 56px;
}

.party-detail-options .party-detail-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.party-detail-options .party-detail-table tr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--paper-line-deep);
}

.party-detail-options .party-detail-table th,
.party-detail-options .party-detail-table td {
  border-bottom: 0;
}

.party-detail-options .party-detail-sub {
  margin-top: 2px;
}

.party-detail-casual > .party-detail-note {
  margin-top: 28px;
}

/* プランのご案内（PDF）：年月・資料名・内容・開く（UX02で保存を外し、開くは補助のテキストリンクに） */
.party-documents {
  grid-column: 1 / -1;
  margin-top: 88px;
}

.party-document-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.party-document {
  display: flex;
  flex-direction: column;
  padding: 28px 32px 0;
  border-left: 1px solid var(--paper-line-deep);
}

.party-document:first-child {
  padding-left: 0;
  border-left: 0;
}

.party-document-date {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--green);
}

.party-document-name {
  margin: 8px 0 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.party-document-text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.party-document-actions {
  display: flex;
  margin-top: 8px;
}

.party-document-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.party-document-open:hover {
  text-decoration-thickness: 2px;
}

/* 1180px以下：表の列を広げ、注意の列を少し広げる */

@media (max-width: 1180px) {
  .party-conditions-head {
    grid-column: 1 / -1;
  }

  .party-visit {
    grid-column: 8 / 13;
  }

  .party-minimum-table td {
    font-size: 28px;
  }

  .party-detail-list {
    column-gap: 32px;
  }

  .party-detail-list div {
    grid-template-columns: minmax(0, 1fr);
  }

  .party-detail-columns {
    column-gap: 32px;
  }

  .party-detail-options .party-detail-table tbody {
    column-gap: 32px;
  }

  .party-document {
    padding: 24px 24px 0;
  }

  .party-document:first-child {
    padding-left: 0;
  }
}

/* スマホ（768px以下）：表 → 注意 → 資料の順に縦へ。表は3列のまま数字を縮める */

@media (max-width: 768px) {
  .party-conditions-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px var(--gutter) 72px;
  }

  .party-conditions-subtitle {
    font-size: 16px;
  }

  .party-minimum {
    margin-top: 40px;
  }

  .party-minimum-text {
    font-size: 13px;
  }

  .party-minimum-table {
    margin-top: 20px;
  }

  .party-minimum-table thead th {
    padding-left: 8px;
  }

  .party-minimum-table thead th:first-child {
    width: 36%;
  }

  .party-minimum-table tbody th {
    padding: 14px 8px 14px 0;
    font-size: 14px;
  }

  .party-minimum-time {
    font-size: 11px;
  }

  .party-minimum-table td {
    padding: 14px 0 14px 8px;
    font-size: 24px;
  }

  .party-visit {
    margin-top: 48px;
  }

  .party-visit-list li {
    font-size: 14px;
  }

  .party-detail {
    margin-top: 56px;
  }

  /* 3列の比較表は幅が足りないため、項目ごとにプラン名｜内容の行へ組み替える */
  .party-detail-compare {
    margin-top: 20px;
  }

  .party-detail-compare,
  .party-detail-compare tbody,
  .party-detail-compare tr,
  .party-detail-compare th,
  .party-detail-compare td {
    display: block;
  }

  .party-detail-compare thead {
    display: none;
  }

  .party-detail-compare tr {
    padding: 16px 0 10px;
    border-bottom: 1px solid var(--ink);
  }

  .party-detail-compare tr:first-child {
    border-top: 1px solid var(--ink);
  }

  .party-detail-compare tbody th {
    padding: 0 0 6px;
    border-bottom: 0;
    color: var(--green);
  }

  .party-detail-compare td {
    display: grid;
    grid-template-columns: 9em minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .party-detail-compare td + td {
    border-top: 1px solid var(--paper-line-deep);
  }

  .party-detail-compare td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
  }

  .party-detail-compare td[colspan] {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .party-detail-list,
  .party-detail-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .party-detail-list {
    margin-top: 20px;
  }

  .party-detail-list div {
    padding: 12px 0;
  }

  .party-detail-columns {
    row-gap: 44px;
    margin-top: 28px;
  }

  .party-detail-table th {
    font-size: 13px;
  }

  .party-detail-table td {
    font-size: 14px;
  }

  .party-detail-options {
    margin-top: 44px;
  }

  .party-detail-options .party-detail-table tbody {
    grid-template-columns: minmax(0, 1fr);
  }

  .party-documents {
    margin-top: 56px;
  }

  .party-document-list {
    display: block;
  }

  .party-document,
  .party-document:first-child {
    padding: 24px 0 28px;
    border-left: 0;
  }

  .party-document + .party-document {
    border-top: 1px solid var(--ink);
  }

  .party-document:last-child {
    padding-bottom: 0;
  }

  .party-document-date {
    font-size: 26px;
  }

  .party-document-name {
    font-size: 17px;
  }
}

/* ==========================================================
   下層：イベント・ホール利用（/rental/）STEP3-B1
   導入 → 料金・利用条件（STEP3-B2：相談項目・PDF・ご利用条件）→ 相談 → フッター
   TOP・/party/のルールは変更せず、.rental-page と .rental- で始まるクラスだけを追加する。
   相談・フッターはTOPのクラスをそのまま使う。
   ========================================================== */

/* 英字の大きさ・写真への重なりは/party/の導入と同じ値 */
.rental-page {
  --rental-en-size: clamp(72px, 9.6vw, 148px);
  --rental-overlap: calc(var(--rental-en-size) * 0.3);
}

/* 現在のページ：主ナビとフッターで「ホール利用」を示す */
.rental-page .nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.rental-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ========== 導入（R01：/party/の導入と同じ構成） ==========
   ヘッダーは黒地の上に置き、写真には重ねない。
   写真は左の余白から右端まで。下端に英字EVENT HALLをかける。写真の切替は共通の.photo-fader。
   行：パンくず | 写真のみ | 写真と英字の重なり | 英字の残り | 見出し・本文・最大人数・ページ内の入口 */

.rental-intro {
  background: var(--charcoal);
  color: var(--paper);
}

.rental-intro-inner {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
  grid-template-rows: auto auto var(--rental-overlap) auto auto;
  padding: var(--header-height) 0 88px;
}

.rental-breadcrumb {
  grid-column: 2;
  grid-row: 1;
  padding: 4px 0 12px;
}

.rental-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.rental-breadcrumb li {
  display: flex;
  align-items: center;
}

.rental-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.rental-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.rental-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.rental-breadcrumb a[aria-current="page"] {
  color: var(--paper);
}

/* 写真の切替は共通の.photo-fader。枠の比率・高さは/party/の導入と同じ */
.rental-intro-photo {
  grid-column: 2 / -1;
  grid-row: 2 / 4;
  aspect-ratio: 12 / 5;
  max-height: max(400px, calc(100svh - 260px));
}

.rental-intro-photo picture {
  display: contents;
}

.rental-intro-photo img {
  object-position: 50% 50%;
}

/* 縦位置のp06は、横長の枠でステージと手前のテーブルが残る位置で切り取る */
.rental-intro-casual img {
  object-position: 50% 55%;
}

/* 英字がかかる下端だけを薄く暗くする（写真全体は暗くしない）。写真の上・操作部の下に重ねる */
.rental-intro-photo::after {
  content: "";
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgb(var(--scrim) / 0.55), rgb(var(--scrim) / 0.2) 50%, rgb(var(--scrim) / 0)) bottom / 100% 34% no-repeat;
}

/* 操作部は右上へ。下端の英字・暗くした部分と重ねない */
.rental-intro-photo .photo-fader-controls {
  align-self: start;
}

/* 代替フォントで幅が足りない時は、語の区切りで2行に折り返す */
.rental-intro-en {
  grid-column: 2 / -1;
  grid-row: 3 / 5;
  z-index: 2;
  align-self: start;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  /* FONT01：重なり・行トラックに使う--rental-en-sizeは変えず、文字だけ1.35倍 */
  font-size: calc(var(--rental-en-size) * 1.35);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.rental-intro-en-line {
  white-space: nowrap;
}

/* 見出し（1〜4列）｜本文と最大人数（5〜8列）｜ページ内の入口（9〜12列） */
.rental-intro-body {
  grid-column: 2;
  grid-row: 5;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 32px;
  align-items: start;
  margin-top: 36px;
}

.rental-intro-title {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  word-break: keep-all;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.rental-intro-text {
  grid-column: 5 / 9;
  grid-row: 1;
  padding-top: 4px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #d9dbd4;
}

.rental-intro-text strong {
  font-weight: 700;
  color: var(--paper);
}

/* 最大人数：本文の事実を大きな数字で。着席数・宴会人数ではないため、M01と同じ「名様まで」で結ぶ */
.rental-intro-size {
  grid-column: 5 / 9;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-top: 20px;
  font-weight: 700;
}

.rental-size-num {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.rental-size-pre,
.rental-size-approx,
.rental-size-unit {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.rental-size-approx {
  margin-left: 4px;
}

/* 入口：ページ内（料金・相談）は下向き、別ページ（空間・設備）は右向きの矢印 */
.rental-index {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
}

.rental-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-dark);
}

.rental-index li {
  border-top: 1px solid var(--line-dark);
}

.rental-index li:first-child {
  border-top-color: var(--paper);
}

.rental-index a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.rental-index-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.rental-index a:hover .rental-index-label {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.rental-index a:hover .rental-index-arrow {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

/* ========== 料金・利用条件（#price）R03 ==========
   紙色の上に墨の見出し・罫線、深緑のアクセント。導入の黒と相談の緑の間をつなぐ。
   行：見出し（全幅）→ 会場写真（1〜5列）｜最低保証料金・含むもの・備品計算・注意・資料リンク（7〜12列） */

.rental-price {
  background: var(--paper);
  color: var(--ink);
}

.rental-price-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--gutter) 112px;
}

/* UX02：右の案内文を外したため、見出しは1行を占める */
.rental-price-head {
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 小見出し：墨の太罫の下に置き、3つのまとまりの上端をそろえる */
.rental-price-subtitle {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  word-break: keep-all;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

/* 会場写真：研修会・発表会の並べ方を想像できる椅子の列。画像未読込時は一段深い紙色 */
.rental-price-photo {
  grid-column: 1 / 6;
  aspect-ratio: 4 / 5;
  margin: 64px 0 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.rental-price-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-price-body {
  grid-column: 7 / 13;
  margin-top: 64px;
}

.rental-price-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* 平日／土日祝と時間帯ごとの最低保証を比較できる3列表 */
.rental-minimum-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
  line-height: 1.7;
}

.rental-minimum-table th,
.rental-minimum-table td {
  padding: 16px 8px;
  border-bottom: 1px solid var(--paper-line-deep);
}

.rental-minimum-table thead th {
  background: var(--green);
  color: var(--paper);
  text-align: center;
}

.rental-minimum-table tbody th {
  font-size: 14px;
  text-align: left;
}

.rental-minimum-table td {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.rental-minimum-time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* 最低保証の説明を料金表の下に添える */
.rental-price-notes {
  margin-top: 28px;
  padding-left: 14px;
  border-left: 2px solid var(--green);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* 含むもの／別料金：項目名｜内容の2行。項目名は9字（字間込み）が1行に収まる幅 */
.rental-include {
  margin: 32px 0 0;
  border-top: 1px solid var(--ink);
}

.rental-include-item {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  column-gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line-deep);
}

.rental-include-item dt {
  word-break: keep-all;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.rental-include-item dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.rental-equipment-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-top: 24px;
  padding: 14px 20px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
}

.rental-equipment-link:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.rental-equipment-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.rental-price-caution {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* 1行目の中央に短い線を合わせる（行の高さ1.8の半分） */
.rental-price-caution::before {
  content: "";
  flex: none;
  width: 12px;
  height: 1px;
  margin-top: 0.9em;
  background: var(--green);
}

/* 資料への入口：ボタンにせず、具体的な名前のテキストリンク。
   PDFの旧最低保証と区別する1文を挟むため縦に並べ、各行は44pxの押せる高さを持つ */
.rental-price-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rental-price-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.rental-price-links a:hover {
  color: var(--green);
}

/* 文中のリンク：行の高さを変えずに上下のpaddingで押せる範囲を広げる。
   li の上下余白で、隣の行のリンク領域と重ならない */
.rental-price-minimum-note {
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.rental-price-links .rental-price-minimum-note a {
  display: inline;
  min-height: 0;
  padding: 12px 0;
  white-space: nowrap;
}

/* 1180px以下：列の間を詰める。写真と文字の左右の構成は保つ */

@media (max-width: 1180px) {
  .rental-page .nav-link[aria-current="page"] {
    font-weight: 700;
  }

  .rental-price-inner {
    column-gap: 24px;
  }

  /* 導入：/party/と同じく、見出し｜本文・最大人数の下に入口を横並びで */
  .rental-intro-title {
    grid-column: 1 / 6;
    grid-row: 1;
  }

  .rental-intro-text,
  .rental-intro-size {
    grid-column: 6 / 13;
  }

  .rental-index {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 36px;
  }

  .rental-index ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    border-bottom: 0;
  }

  .rental-size-num {
    font-size: 64px;
  }

  /* 料金：写真を1列分細くし、料金表の幅を確保する */
  .rental-price-photo {
    grid-column: 1 / 5;
  }

  .rental-price-body {
    grid-column: 5 / 13;
  }
}

/* スマホ（768px以下）：/party/と同じく パンくず → 写真 → 英字 → 見出し → 本文（用途・人数）→ 最大人数 → 入口 */

@media (max-width: 768px) {
  .rental-page {
    --rental-en-size: clamp(64px, 23vw, 100px);
  }

  .rental-intro-inner {
    padding-bottom: 56px;
  }

  .rental-breadcrumb {
    padding: 0 0 4px;
  }

  .rental-intro-photo {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 5;
    max-height: max(320px, calc(100svh - 320px));
  }

  .rental-intro-photo img {
    object-position: 50% 50%;
  }

  .rental-intro-photo::after {
    background: linear-gradient(to top, rgb(var(--scrim) / 0.7), rgb(var(--scrim) / 0.32) 50%, rgb(var(--scrim) / 0)) bottom / 100% 40% no-repeat;
  }

  .rental-intro-photo .photo-fader-controls {
    margin: 12px;
  }

  .rental-intro-en-line {
    display: block;
  }

  /* 2行になるため、詰めた行間のまま上下の字が触れないよう行の間だけ空ける */
  .rental-intro-en-line + .rental-intro-en-line {
    margin-top: 0.12em;
  }

  .rental-intro-body {
    display: flex;
    flex-direction: column;
    margin-top: 22px;
  }

  .rental-intro-title {
    font-size: 26px;
  }

  .rental-intro-text {
    margin-top: 12px;
    padding-top: 0;
    font-size: 14px;
    line-height: 1.95;
  }

  .rental-intro-size {
    margin-top: 18px;
  }

  .rental-size-num {
    font-size: 56px;
  }

  /* 縦並びのflexでは内容幅に縮まないよう、本文幅いっぱいに伸ばす */
  .rental-index {
    align-self: stretch;
    margin-top: 28px;
  }

  .rental-index ul {
    display: block;
    border-bottom: 1px solid var(--line-dark);
  }

  .rental-price-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px var(--gutter) 72px;
  }

  /* PC用のalign-self:endが縦並びで右寄せ・内容幅への縮小になるため、本文幅へ戻す */
  .rental-price-head {
    align-self: stretch;
  }

  /* 料金：見出し → 写真（横長）→ 最低保証料金 → 説明 → 含むもの → 備品計算 → 注意 → 資料リンク */
  .rental-price-subtitle {
    font-size: 16px;
  }

  .rental-price-photo {
    aspect-ratio: 4 / 3;
    margin-top: 40px;
  }

  .rental-price-photo img {
    object-position: 50% 60%;
  }

  .rental-price-body {
    margin-top: 40px;
  }

  .rental-minimum-table {
    font-size: 14px;
  }

  .rental-minimum-table th,
  .rental-minimum-table td {
    padding: 12px 4px;
  }

  /* 項目名が長くなったため、狭い幅では項目名の下に内容を置く */
  .rental-include-item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
  }
}

/* ==========================================================
   下層：空間・設備（/facility/）STEP3-B3
   導入 → 主な設備（#equipment）→ スタジオ・会議室（#studio）→ 相談 → フッター
   TOP・/party/・/rental/のルールは変更せず、.facility-page と .facility- で始まるクラスだけを追加する。
   相談・フッターはTOPのクラスをそのまま使う。設備の詳細・スタジオの詳細はSTEP3-B4で追加する。
   ========================================================== */

/* 現在のページ：主ナビとフッターで「空間・設備」を示す */
.facility-page .nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.facility-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：このページの冒頭は紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする。
   スクロール後・メニュー展開時は共通の白背景のまま */
.facility-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.facility-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.facility-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 導入 ==========
   黒地で始まる/party/・/rental/とは変え、紙色の地に墨の英字と暖色の写真を置く。
   英字SPACE & EQUIPMENTは全幅。その下を 文字（5fr）｜写真（7fr＋右の余白）に分ける。
   文字の列：見出し・M05の一文 → 6階・7階（大きな階の数字と人数）→ ホール利用（別の行）→ ページ内の入口 */

.facility-intro {
  background: var(--paper);
  color: var(--ink);
}

/* 英字の大きさを、この枠の幅（cqi）から決めるための基準 */
.facility-intro-inner {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "crumb crumb"
    "en en"
    "text photo";
  column-gap: 56px;
  align-items: start;
  padding: var(--header-height) var(--gutter) 104px;
}

.facility-breadcrumb {
  grid-area: crumb;
  padding: 4px 0 4px;
}

.facility-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.facility-breadcrumb li {
  display: flex;
  align-items: center;
}

.facility-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.facility-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.facility-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.facility-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* 英字：通常は1行。大きさは枠の幅の10%まで（代替フォントでもEQUIPMENTの1語が枠に収まる比率）。
   幅が足りない時は語の区切りでだけ2行に折り返し、詰めた行間でも上下の字が触れないよう行の間を空ける */
.facility-intro-en {
  grid-area: en;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.24em;
  row-gap: 0.12em;
  margin: 12px 0 48px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: min(216px, 12.15vw);
  font-size: min(216px, 13.5cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.facility-intro-en-line {
  white-space: nowrap;
}

.facility-intro-en-amp {
  color: var(--green);
}

.facility-intro-text {
  grid-area: text;
}

.facility-intro-title {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.facility-intro-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* フロア：階の数字を大きく、用途・人数・内容を右に。人数は深緑で階の数字と区別する */
.facility-floors {
  margin-top: 40px;
}

.facility-floor-list {
  margin: 0;
}

.facility-floor {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas:
    "name use"
    "name size"
    "name detail";
  column-gap: 24px;
  align-items: baseline;
  padding: 22px 0 24px;
  border-top: 1px solid var(--ink);
}

.facility-floor:first-child {
  border-top-width: 2px;
}

.facility-floor-name {
  grid-area: name;
  align-self: start;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.facility-floor-num {
  font-family: var(--font-en);
  font-size: 84px;
  font-weight: 800;
  line-height: 0.8;
}

.facility-floor-unit {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.facility-floor-use,
.facility-floor-size,
.facility-floor-detail {
  margin: 0;
}

.facility-floor-use {
  grid-area: use;
  word-break: keep-all;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.facility-floor-size {
  grid-area: size;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.facility-floor-count {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--green);
}

.facility-floor-detail {
  grid-area: detail;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* 7階（上・補助）：数字と人数を小さく、余白を詰める。文字の列は6階・ホール利用と揃える */
.facility-floor-sub {
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 16px 0 18px;
}

.facility-floor-sub .facility-floor-num {
  font-size: 56px;
}

.facility-floor-sub .facility-floor-use {
  font-size: 15px;
}

.facility-floor-sub .facility-floor-count {
  font-size: 32px;
}

/* 6階（下・主会場）：階の数字を大きく、上の罫線を太く。「イベントホール」の下に
   イベント・ホール利用（約150名）とパーティー（120名）を同じ大きさの用途ラベル＋人数で縦に並べ、
   同じ6階の別条件と読めるようにする（OC01） */
.facility-floor-main {
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-areas:
    "name role"
    "name uses";
  padding: 28px 0 30px;
  border-top-width: 2px;
}

.facility-floor-main .facility-floor-num {
  font-size: 132px;
}

.facility-floor-role {
  grid-area: role;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
}

.facility-floor-uses {
  grid-area: uses;
  margin: 0;
}

.facility-use-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-use {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 0 16px;
}

.facility-use:first-child {
  padding-top: 6px;
}

.facility-use + .facility-use {
  border-top: 1px solid var(--paper-line-deep);
}

.facility-use:last-child {
  padding-bottom: 0;
}

.facility-use-label {
  word-break: keep-all;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.facility-use-size {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.facility-use-detail {
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.facility-use .detail-link {
  margin-top: 4px;
  font-size: 14px;
}

/* 入口：ページ内の受け先へ下向きの矢印。英字の小見出しを項目名の上に */
.facility-index {
  margin-top: 40px;
}

.facility-index ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--paper-line-deep);
}

.facility-index li {
  border-top: 1px solid var(--paper-line-deep);
}

.facility-index li:first-child {
  border-top-color: var(--ink);
}

.facility-index a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
  text-decoration: none;
}

.facility-index-label {
  display: flex;
  flex-direction: column;
  word-break: keep-all;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.facility-index-en {
  font-family: var(--font-title);
  font-size: 16.2px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.22em;
  color: var(--green);
}

.facility-index-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--paper-line-deep);
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.facility-index a:hover .facility-index-label {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.facility-index a:hover .facility-index-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* 写真：右の余白まで伸ばす。幕を開いたステージ（原画像4:3）を5:4で、照明の列とステージ面が残る位置に置く。
   画面より高い時だけ上下を詰める。未読込時は暗い面 */
.facility-intro-photo {
  grid-area: photo;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-right: calc(var(--gutter) * -1);
}

.facility-intro-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: max(480px, calc(100svh - var(--header-height) - 64px));
  object-fit: cover;
  object-position: 50% 40%;
  background: var(--charcoal-raise);
}

.facility-intro-photo figcaption {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ========== 主な設備（#equipment） ==========
   黒の面に、設備名を大きく罫線で区切り、右に含まれるプラン。カジュアル・ホールは2列の短い案内、
   料金表（PDF）は一段明るい黒の面に版・確認の案内・開く/保存を並べる。カードの反復にしない。 */

.facility-equipment {
  background: var(--charcoal);
  color: var(--paper);
}

.facility-equipment-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px var(--gutter) 112px;
}

/* 見出し（3列）｜本文（9列）。本文の文章は読める行幅（約40字）で止め、設備名の行・料金表の面だけ列幅いっぱいに */
.facility-equipment-head {
  grid-column: 1 / 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.facility-equipment .section-en {
  color: var(--sage);
}

.facility-equipment-body {
  grid-column: 4 / 13;
}

.facility-equipment-lead {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.facility-equipment-subtitle {
  margin: 0;
  word-break: keep-all;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.facility-equipment-text {
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #d9dbd4;
}

/* A・B・小宴会：設備名（左・大）｜含まれるプラン（右）。共通の3設備は1行にまとめ、差分のカラオケ・控室を別の行に */
.facility-equipment-plans {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 48px;
}

.facility-equipment-plans > .facility-equipment-text {
  margin-top: 6px;
}

.facility-equipment-rows {
  align-self: stretch;
  margin: 20px 0 14px;
  border-bottom: 1px solid var(--line-dark);
}

.facility-equipment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  column-gap: 24px;
  align-items: start;
  padding: 20px 0 22px;
  border-top: 1px solid var(--line-dark);
}

.facility-equipment-row:first-child {
  border-top-color: var(--paper);
}

.facility-equipment-name {
  grid-column: 1;
  word-break: keep-all;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.facility-equipment-name + .facility-equipment-name {
  margin-top: 6px;
}

/* 設備名が3行の場合も右上に置く（行数に合わせて縦に広がるだけ） */
.facility-equipment-plan {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  padding-top: 0.6em;
  word-break: keep-all;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.facility-equipment-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  margin-top: 56px;
}

.facility-equipment-case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--paper);
}

.facility-equipment-caution {
  margin-top: 48px;
  padding-left: 14px;
  border-left: 2px solid var(--sage);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* 料金表（PDF）：/rental/の資料と同じ原本。版と「現在の料金・規定は確認」をボタンのすぐ上に置く */
.facility-equipment-document {
  margin-top: 48px;
  padding: 28px 32px 32px;
  background: var(--charcoal-raise);
}

.facility-equipment-document-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
}

.facility-equipment-document-date {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.facility-equipment-document-date span {
  margin-left: 6px;
  font-family: var(--font-ja);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.facility-equipment-document > .facility-equipment-text {
  margin-top: 10px;
}

.facility-equipment-document-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--sage);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.facility-equipment-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 22px;
}

.facility-equipment-document-open,
.facility-equipment-document-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.facility-equipment-document-open {
  background: var(--paper);
  color: var(--ink);
}

.facility-equipment-document-open:hover {
  border-color: var(--sage);
  background: var(--sage);
}

.facility-equipment-document-save {
  color: var(--paper);
}

.facility-equipment-document-save:hover {
  background: var(--paper);
  color: var(--ink);
}

.facility-equipment-consult {
  margin-top: 32px;
}

/* F06：料金シミュレーション（/facility/simulator/）への入口。黒地で読める紙色のボタン（.button-primary）を、
   狭い幅では文字を折り返して枠内に収める（旧#ratesのリンク先を兼ねる） */
.facility-equipment-rates-link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 32px;
  padding-block: 10px;
  line-height: 1.5;
  white-space: normal;
  /* 旧/facility/#ratesで直接移動した時、固定ヘッダー（scroll-padding-top）の下に少し間を空ける */
  scroll-margin-top: 16px;
}

/* 狭い幅では語の途中で割らず、「備品・設備の」/「料金シミュレーション」の区切り（wbr）で折り返す */
.facility-equipment-rates-label {
  word-break: keep-all;
}

.facility-equipment-rates-link + .facility-equipment-consult {
  margin-top: 4px;
}

/* 黒地では深緑の丸が沈むため、紙色の丸に深緑の矢印 */
.facility-equipment .detail-arrow {
  background: var(--paper);
  color: var(--green);
}

/* ========== 備品・設備の料金計算 ==========
   導入は下層共通の英字タイトルと本文。計算部分は旧サイトの一覧表を維持する。 */
.equipment-intro,
.equipment-calculator {
  background: var(--paper);
  color: var(--ink);
}

.equipment-intro-inner {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
  align-items: start;
  max-width: 1440px;
  min-width: 0;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 80px;
}

.equipment-breadcrumb {
  grid-area: auto;
  grid-column: 1 / -1;
  margin: 0;
}

.equipment-intro-en {
  grid-column: 1 / -1;
  margin: 16px 0 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: min(205.2px, 17vw);
  font-size: min(205.2px, 18.9cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.equipment-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.equipment-instructions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.equipment-instructions li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
}

.equipment-instructions li::before {
  content: "";
  width: 10px;
  height: 2px;
  margin-top: 0.95em;
  background: var(--green);
}

.equipment-calculator [hidden] {
  display: none;
}

.equipment-calculator-inner {
  max-width: 1440px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.equipment-nojs,
.equipment-scroll-note {
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.8;
}

.equipment-table-scroll {
  /* 読み上げ用ラベルを表のスクロール領域内に収める。 */
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.equipment-table-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.equipment-table {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--paper-line-deep);
  font-size: 14px;
  line-height: 1.7;
}

.equipment-column-mark { width: 2%; }
.equipment-column-name { width: 18%; }
.equipment-column-stock { width: 7%; }
.equipment-column-unit { width: 12%; }
.equipment-column-note { width: 19%; }
.equipment-column-hours { width: 8%; }
.equipment-column-price { width: 9%; }
.equipment-column-quantity { width: 8%; }
.equipment-column-amount { width: 15%; }

.equipment-table th,
.equipment-table td {
  padding: 10px 8px;
  border: 1px solid var(--paper-line-deep);
  overflow-wrap: anywhere;
}

.equipment-table thead th {
  background: var(--green);
  color: var(--paper);
  font-weight: 700;
  text-align: center;
}

.equipment-table thead .equipment-input-heading {
  background: var(--sage);
  color: var(--ink);
}

.equipment-table tbody th,
.equipment-table tbody td {
  background: var(--paper);
}

.equipment-table .equipment-name {
  font-weight: 400;
  text-align: left;
}

.equipment-table .equipment-unavailable {
  background: var(--paper-deep);
}

.equipment-price,
.equipment-amount {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.equipment-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 6px 4px;
  border: 1px solid var(--ink-soft);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.equipment-input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.equipment-input[aria-invalid="true"] {
  border-color: #9a2a1c;
  outline-color: #9a2a1c;
}

.equipment-input:disabled {
  background: var(--paper-deep);
}

.equipment-result {
  width: min(100%, 900px);
  margin: 64px auto 0;
}

.equipment-result-title {
  margin: 0 0 28px;
  padding: 15px 20px;
  background: var(--green);
  color: var(--paper);
  font-size: 20px;
  text-align: center;
}

.equipment-result-lines {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 24px;
  border-bottom: 2px solid var(--green);
  list-style: none;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.equipment-totals {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.equipment-totals > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px 20px;
}

.equipment-totals dt {
  font-weight: 700;
}

.equipment-totals dd {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.equipment-result-note {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.8;
}

.equipment-error {
  margin: 24px 0 12px;
  color: #9a2a1c;
  font-size: 14px;
  font-weight: 700;
  white-space: pre-line;
}

.equipment-error-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.equipment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  width: min(100%, 900px);
  margin: 32px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--paper-line-deep);
}

.equipment-contact-link {
  width: min(100%, 320px);
  white-space: normal;
}

.equipment-document-link {
  align-self: center;
  max-width: 100%;
  color: var(--green);
  overflow-wrap: anywhere;
}

.equipment-document-label {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.equipment-document-label small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

@media (max-width: 1180px) {
  .equipment-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 72px;
  }

  .equipment-instructions {
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .equipment-intro-inner {
    padding-bottom: 56px;
  }

  .equipment-breadcrumb {
    padding: 0;
  }

  .equipment-intro-en {
    margin: 8px 0 20px;
  }

  .equipment-calculator-inner {
    padding-bottom: 64px;
  }

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

  .equipment-instructions {
    margin-top: 20px;
    font-size: 15px;
  }

  .equipment-result {
    margin-top: 40px;
  }

  .equipment-result-title {
    padding: 14px 12px;
    font-size: 18px;
  }

  .equipment-actions {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========== スタジオ・会議室（#studio）F08 ==========
   見出し → 導入 → 2室（写真・名称・料金・用途を1つのまとまりにして横並びで比較）→ ご利用条件（条件表｜注意）→ 定期利用（案内 → 特典｜条件・期間）。
   見出し・導入・各ブロックの見出しは全て同じ左端から始める。本文の幅は親のカラムで決め、カラム内でさらに max-width で絞らない。
   条件と定期利用は同じ 7:5 の2列に揃え、縦の区切り位置を共有する。
   写真は2方向を収めた原画像なので切り取らず元の比率（1136×660）で置く */

.facility-studio {
  background: var(--paper);
  color: var(--ink);
}

.facility-studio-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--gutter) 104px;
}

.facility-studio-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.facility-studio .section-title {
  word-break: keep-all;
}

/* 導入は2文だけなので、見出しの直下に同じ左端で置く（右カラムへ離さない） */
.facility-studio-body {
  margin-top: 28px;
}

.facility-studio-text {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}

.facility-studio-text + .facility-studio-text {
  margin-top: 4px;
}

/* 2室を同じ幅で横に並べ、写真・名称・料金の高さを揃えて比較できるようにする */
.facility-studio-rooms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin-top: 56px;
}

.facility-studio-photo {
  margin: 0;
  background: var(--paper-deep);
}

.facility-studio-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1136 / 660;
}

.facility-studio-room-text {
  margin-top: 20px;
}

/* 用途・広さ・注意は名称・料金の下に、細い線で区切って続ける */
.facility-studio-room-detail {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line-deep);
}

.facility-studio-room-en {
  margin: 0;
  font-family: var(--font-title);
  font-size: 17.55px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.3em;
  color: var(--green);
}

.facility-studio-room-name {
  margin: 4px 0 0;
  word-break: keep-all;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.facility-studio-room-use {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.facility-studio-room-note {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--green);
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* 料金：名称の下に1時間の額を英字の大きな数字で。税区分は原文にないため書かない */
.facility-studio-room-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.facility-studio-room-price-num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--green);
}

.facility-studio-room-spec {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* ご利用条件：見出しを上に置き、その下を 条件の表（7）｜注意事項（5）の2列にする。
   1440pxで表の内容欄は約600px（15pxで約38字）、注意は約470px（14pxで約32字）。2部屋共通なので1か所にまとめる */
.facility-studio-terms {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.facility-studio-terms-title {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.facility-studio-terms-body,
.facility-studio-regular-columns {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: 56px;
  align-items: start;
}

.facility-studio-terms-body {
  margin-top: 20px;
}

.facility-studio-terms-list {
  margin: 0;
  border-bottom: 1px solid var(--paper-line-deep);
}

.facility-studio-terms-row {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  column-gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--paper-line-deep);
}

.facility-studio-terms-row:first-child {
  border-top-color: var(--ink);
}

.facility-studio-terms-row dt {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--green);
}

.facility-studio-terms-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.facility-studio-nowrap {
  white-space: nowrap;
}

/* 注意事項：条件表の右に、紙色を一段濃くした面でまとめる（表の行と混ざらないように） */
.facility-studio-notes {
  padding: 22px 26px 24px;
  background: var(--paper-deep);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

/* 定期利用：見出し → 案内文を同じ左端で上に置き、その下を ご利用条件と同じ 7:5 で 特典｜条件・期間 に分ける。
   案内文は原文の改行（2文）で行が切れるため全幅でも1行が長くなりすぎない。
   特典3点は常に見せ、条件・期間は JSなしでも開閉できる details で全文を読めるようにする */
.facility-studio-regular {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.facility-studio-regular-title {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.facility-studio-regular-body {
  margin-top: 16px;
}

.facility-studio-regular-lead {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}

.facility-studio-regular-columns {
  margin-top: 32px;
}

.facility-studio-regular-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--green);
}

/* 特典：短い文の縦の一覧。要点（15％引き・お預かり・各10分）だけ深緑の太字で拾えるようにする */
.facility-studio-benefits {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--paper-line-deep);
}

.facility-studio-benefits li {
  padding: 14px 0;
  border-top: 1px solid var(--paper-line-deep);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.facility-studio-benefits li:first-child {
  border-top-color: var(--ink);
}

.facility-studio-benefits strong {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--green);
}

.facility-studio-benefit-note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* 条件・期間：特典の見出しの行と上端を揃え、線は特典の一覧と同じ濃さ */
.facility-studio-regular-details {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--paper-line-deep);
}

.facility-studio-regular-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  list-style: none;
}

.facility-studio-regular-details summary::-webkit-details-marker {
  display: none;
}

.facility-studio-regular-details summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--paper-line-deep);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 18px;
  line-height: 1;
}

/* 記号はASCIIのUnicodeエスケープで書く（文字コードの解釈違いで文字化けしないように） */
.facility-studio-regular-details[open] summary::after {
  content: "\2212";
}

.facility-studio-regular-details summary:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.facility-studio-regular-details-body {
  padding: 0 0 24px;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.facility-studio-regular-group + .facility-studio-regular-group {
  margin-top: 24px;
}

.facility-studio-regular-details-body ul,
.facility-studio-notes {
  margin: 0;
  list-style: none;
}

.facility-studio-regular-details-body ul {
  margin-top: 6px;
  padding: 0;
}

.facility-studio-regular-details-body li,
.facility-studio-notes li {
  display: flex;
}

.facility-studio-regular-details-body li + li,
.facility-studio-notes li + li {
  margin-top: 6px;
}

.facility-studio-regular-details-body li::before,
.facility-studio-notes li::before {
  content: "\30FB";
  flex: none;
  width: 1.2em;
}

/* 1180px以下：英字 → 写真（全幅・右の余白まで）→ 見出し → フロア｜入口 の順に組み替える。
   文字の列の囲みは解き（display: contents）、各要素をグリッドの名前付き領域へ置く */

@media (max-width: 1180px) {
  .facility-page .nav-link[aria-current="page"] {
    font-weight: 700;
  }

  .facility-intro-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas:
      "crumb crumb"
      "en en"
      "photo photo"
      "head head"
      "floors index";
    column-gap: 40px;
    padding-bottom: 88px;
  }

  .facility-intro-en {
    margin-bottom: 36px;
  }

  .facility-intro-text {
    display: contents;
  }

  .facility-intro-head {
    grid-area: head;
    margin-top: 40px;
  }

  .facility-floors {
    grid-area: floors;
  }

  .facility-index {
    grid-area: index;
  }

  .facility-intro-photo img {
    aspect-ratio: 16 / 9;
    max-height: none;
    object-position: 50% 45%;
  }

  .facility-equipment-inner,
  .facility-studio-inner {
    column-gap: 24px;
  }

  /* 主な設備：見出しを上に置き、設備名とプランが1行に収まるよう本文を全幅にする */
  .facility-equipment-head,
  .facility-equipment-body {
    grid-column: 1 / -1;
  }

  .facility-equipment-body {
    margin-top: 32px;
  }

  .facility-equipment-cases {
    column-gap: 24px;
  }

  /* スタジオ：2室の横並びは保つ。条件・定期利用は 1:1 にし、条件の表は項目名の下に内容を置いて内容欄を細らせない */
  .facility-studio-rooms {
    column-gap: 32px;
  }

  .facility-studio-terms,
  .facility-studio-regular {
    margin-top: 80px;
  }

  .facility-studio-terms-body,
  .facility-studio-regular-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }

  .facility-studio-terms-row {
    display: block;
    padding: 12px 0;
  }

  .facility-studio-terms-row dd {
    margin-top: 2px;
  }

  .facility-studio-notes {
    padding: 20px 22px 22px;
  }
}

/* スマホ（768px以下）：パンくず → 英字（2行）→ 見出し・一文 → 写真（全幅・縦位置）→ 6階・7階 → ホール利用 → 入口。
   1列のグリッドのまま並べ、縦並びのflexにしない（右寄せ・内容幅への縮小を残さない） */

@media (max-width: 768px) {
  .facility-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "crumb"
      "en"
      "head"
      "photo"
      "floors"
      "index";
    padding-bottom: 64px;
  }

  .facility-breadcrumb {
    padding: 0;
  }

  /* 枠の幅の16%：Big Shouldersでは2行、代替フォントでもEQUIPMENTが枠に収まる */
  .facility-intro-en {
    margin: 8px 0 0;
    font-size: 18.9vw;
    font-size: 21.6cqi;
  }

  .facility-intro-head {
    margin-top: 20px;
  }

  .facility-intro-title {
    font-size: 26px;
  }

  .facility-intro-lead {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.9;
  }

  /* 写真は画面幅いっぱい。4:5でステージ中央（照明の列・ステージ面）を縦に切り取る */
  .facility-intro-photo {
    gap: 10px;
    margin: 28px calc(var(--gutter) * -1) 0;
  }

  .facility-intro-photo img {
    aspect-ratio: 4 / 5;
    object-position: 50% 50%;
  }

  .facility-intro-photo figcaption {
    padding: 0 var(--gutter);
  }

  .facility-floors {
    margin-top: 32px;
  }

  .facility-floor {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px 0 20px;
  }

  .facility-floor-num {
    font-size: 64px;
  }

  .facility-floor-unit {
    font-size: 13px;
  }

  .facility-floor-use {
    font-size: 16px;
  }

  .facility-floor-count {
    font-size: 36px;
  }

  .facility-floor-sub .facility-floor-num {
    font-size: 44px;
  }

  .facility-floor-sub .facility-floor-count {
    font-size: 28px;
  }

  .facility-floor-sub,
  .facility-floor-main {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .facility-floor-main {
    padding: 22px 0 24px;
  }

  .facility-floor-main .facility-floor-num {
    font-size: 92px;
  }

  .facility-use-label {
    font-size: 15px;
  }

  .facility-index {
    margin-top: 32px;
  }

  .facility-index-label {
    font-size: 14px;
  }

  .facility-equipment-inner,
  .facility-studio-inner {
    display: block;
    padding: 64px var(--gutter) 72px;
  }

  .facility-equipment-body {
    margin-top: 28px;
  }

  .facility-equipment-lead {
    font-size: 15px;
  }

  .facility-equipment-subtitle {
    font-size: 17px;
  }

  .facility-equipment-plans {
    margin-top: 36px;
  }

  /* 設備名の下に含まれるプランを置く（横並びで設備名を細らせない） */
  .facility-equipment-row {
    display: block;
    padding: 16px 0 18px;
  }

  .facility-equipment-name {
    font-size: 24px;
  }

  .facility-equipment-name + .facility-equipment-name {
    margin-top: 2px;
  }

  .facility-equipment-plan {
    margin-top: 8px;
    padding-top: 0;
    font-size: 14px;
  }

  .facility-equipment-cases {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    margin-top: 40px;
  }

  .facility-equipment-caution {
    margin-top: 36px;
    font-size: 14px;
  }

  .facility-equipment-document {
    margin: 36px calc(var(--gutter) * -1) 0;
    padding: 24px var(--gutter) 28px;
  }

  .facility-equipment-document-date {
    font-size: 34px;
  }

  /* 2つのボタンが並ばない幅（320px）では、それぞれ全幅に */
  .facility-equipment-document-open,
  .facility-equipment-document-save {
    flex: 1 1 auto;
  }

  .facility-equipment-rates-link {
    margin-top: 28px;
  }

  .facility-studio-body {
    margin-top: 20px;
  }

  .facility-studio-text {
    font-size: 15px;
    line-height: 1.95;
  }

  /* 2室は1列。写真は画面幅いっぱい（元の比率のまま）、その下に名称・料金 → 用途 */
  .facility-studio-rooms {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 56px;
    margin-top: 40px;
  }

  .facility-studio-photo {
    margin: 0 calc(var(--gutter) * -1);
  }

  .facility-studio-room-text {
    margin-top: 16px;
  }

  .facility-studio-room-name {
    font-size: 26px;
  }

  .facility-studio-room-use {
    font-size: 15px;
  }

  .facility-studio-room-detail {
    margin-top: 14px;
    padding-top: 14px;
  }

  .facility-studio-room-price-num {
    font-size: 40px;
  }

  /* 条件：見出し → 表 → 注意の1列 */
  .facility-studio-terms,
  .facility-studio-regular {
    margin-top: 64px;
    padding-top: 24px;
  }

  .facility-studio-terms-title {
    font-size: 19px;
  }

  .facility-studio-terms-body,
  .facility-studio-regular-columns {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .facility-studio-terms-body {
    margin-top: 16px;
  }

  .facility-studio-terms-row dd {
    font-size: 14px;
  }

  .facility-studio-notes {
    margin: 0 calc(var(--gutter) * -1);
    padding: 20px var(--gutter) 22px;
    font-size: 13px;
  }

  /* 定期利用：見出し → 案内文 → 特典 → 条件・期間の1列 */
  .facility-studio-regular-title {
    font-size: clamp(17px, 5.6vw, 19px);
  }

  .facility-studio-regular-lead {
    font-size: 15px;
    line-height: 1.95;
  }

  .facility-studio-regular-columns {
    margin-top: 24px;
  }

  .facility-studio-benefits li {
    padding: 12px 0;
    font-size: 15px;
  }

  .facility-studio-regular-details summary {
    font-size: 14px;
  }
}

/* ==========================================================
   下層：空き状況・利用内容のご相談（/contact/）STEP3-C1
   見出し・電話の案内（左）｜入力／確認（右）。1180px以下は1列。
   既存のルールは変更せず、.contact-page と .inquiry- で始まるクラスだけを追加する。
   ヘッダー・フッターは共通のクラスのまま。ボタンは .button-primary .button-green に .inquiry-button を足す。
   ========================================================== */

/* 現在のページ：フッターの「空き状況・利用内容の相談」 */
.contact-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/facility/と同じ扱い） */
.contact-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.contact-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.contact-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* エラーは墨・深緑と区別できる暗い赤。色だけに頼らず、文言と枠の太さでも示す */
.inquiry {
  --inquiry-error: #9a2a1c;
  --inquiry-line: #7a7e76;
  background: var(--paper);
  color: var(--ink);
}

/* 入力／確認の切り替え（hidden）を、各要素のdisplay指定より優先する */
.inquiry [hidden] {
  display: none;
}

.inquiry-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  grid-template-areas:
    "crumb crumb"
    "aside main";
  column-gap: 72px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 120px;
}

.inquiry-breadcrumb {
  grid-area: crumb;
  padding: 4px 0;
}

.inquiry-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.inquiry-breadcrumb li {
  display: flex;
  align-items: center;
}

.inquiry-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.inquiry-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.inquiry-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.inquiry-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* ========== 見出し・電話の案内 ==========
   英字の大きさは列の幅（cqi）から決め、代替フォントでもCONTACTの1語が列に収まる比率にする */

.inquiry-aside {
  grid-area: aside;
  container-type: inline-size;
  padding-top: 16px;
}

.inquiry-en {
  margin-bottom: 36px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 97.2px;
  font-size: min(162px, 24.3cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.inquiry-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  /* 文字単位で折り返さず、HTMLの<wbr>（空き状況・／利用内容のご相談）で折り返す。収まらない幅では文字単位に戻す */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.inquiry-lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.inquiry-lead a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.inquiry-options {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--paper-line-deep);
}

.inquiry-option {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--paper-line-deep);
}

.inquiry-option-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.inquiry-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 4px;
  text-decoration: none;
}

.inquiry-tel-number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.inquiry-tel:hover .inquiry-tel-number {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.inquiry-option-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.9;
}

/* ========== 入力・確認の面 ==========
   一段深い紙色の面に白い入力欄を置き、ページの地から区別する */

.inquiry-main {
  grid-area: main;
  min-width: 0;
  max-width: 800px;
}

.inquiry-form,
.inquiry-confirm {
  padding: 40px 56px 56px;
  background: var(--paper-deep);
}

/* 切り替え・エラー時のスクロールで、固定ヘッダー（scroll-padding-top）の下に少し間を空ける */
.inquiry-form,
.inquiry-confirm,
.inquiry-field {
  scroll-margin-top: 16px;
}

/* プレビューの案内：面の上端に常に表示。警告色にはせず、深緑の線で見落とさない程度に */
.inquiry-preview {
  padding: 10px 16px;
  border-left: 3px solid var(--green);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.inquiry-title {
  margin: 32px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

/* 表示の切り替え時にscript.jsがフォーカスを移す見出し */
.inquiry-title:focus {
  outline: none;
}

.inquiry-title:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}

.inquiry-note {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--green);
}

.inquiry-reply-notice {
  color: #b42318;
}

/* CF7の入力・確認は一つのform内で切り替える。 */
.inquiry-form .inquiry-confirm {
  padding: 0;
  background: transparent;
}

.inquiry-form .inquiry-title:first-child {
  margin-top: 0;
}

.inquiry .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.inquiry .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: var(--inquiry-error);
  font-size: 14px;
}

.inquiry .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px;
  line-height: 1.8;
}

.inquiry-form .inquiry-verification {
  margin-top: 24px;
}

.inquiry-form .inquiry-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.inquiry-noscript {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.9;
}

.inquiry-noscript a {
  font-weight: 700;
  text-underline-offset: 4px;
}

/* エラーの全体案内：各項目への入口を並べる */
.inquiry-summary {
  margin-top: 28px;
  padding: 16px 20px 12px;
  border: 2px solid var(--inquiry-error);
  background: var(--paper);
}

.inquiry-summary-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--inquiry-error);
}

.inquiry-summary-list {
  margin: 4px 0 0;
  padding-left: 1.2em;
  font-size: 14px;
}

.inquiry-summary-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}

/* JSなし（disabledのまま）の時は、使えない状態と分かるよう薄くする */
.inquiry-fields {
  min-width: 0;
  margin: 36px 0 0;
  padding: 0;
  border: 0;
}

.inquiry-fields:disabled {
  opacity: 0.5;
}

.inquiry-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.inquiry-group + .inquiry-group {
  margin-top: 56px;
}

.inquiry-legend {
  width: 100%;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* 1項目：ラベル → 説明 → 入力欄 → エラー */
.inquiry-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 28px;
}

.inquiry-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.inquiry-required,
.inquiry-optional {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.inquiry-required {
  background: var(--green);
  color: var(--paper);
}

.inquiry-optional {
  padding: 0 7px;
  border: 1px solid var(--inquiry-line);
  color: var(--ink-soft);
}

.inquiry-hint {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.inquiry-control {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--inquiry-line);
  border-radius: 4px;
  background-color: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.inquiry-control:focus {
  border-color: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.inquiry-control[aria-invalid="true"] {
  border-color: var(--inquiry-error);
  box-shadow: inset 0 0 0 1px var(--inquiry-error);
}

.inquiry-control-short {
  max-width: 20em;
}

.inquiry-select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23121412' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  cursor: pointer;
}

.inquiry-textarea {
  resize: vertical;
  line-height: 1.8;
}

.inquiry-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--inquiry-error);
}

.inquiry-error::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--inquiry-error);
  color: var(--paper);
  font-size: 12px;
  line-height: 1;
}

.inquiry-error:empty {
  display: none;
}

/* 操作：個人情報の取り扱い（左）｜ボタン（右） */
.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--paper-line-deep);
}

.inquiry-privacy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-underline-offset: 5px;
}

.inquiry-button {
  min-width: 280px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* 共通のフォーカス線（文字色＝紙色）は面の紙色に溶けるため、深緑にする */
.inquiry-button:focus-visible {
  outline-color: var(--green);
}

.inquiry-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.inquiry-button:disabled:hover {
  background: var(--green);
}

/* ========== 確認 ========== */

.inquiry-review {
  margin: 32px 0 0;
  border-top: 1px solid var(--ink);
}

.inquiry-review-row {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  column-gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-line-deep);
}

.inquiry-review-term {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* 入力の改行を保ち、長いURLなども枠内で折り返す */
.inquiry-review-value {
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inquiry-review-value.is-empty {
  color: var(--ink-soft);
}

.inquiry-confirm-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.inquiry-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s;
}

.inquiry-back:hover {
  background: var(--paper);
}

.inquiry-send-note {
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
  color: var(--ink-soft);
}

/* ========== 送信結果のプレビュー（STEP3-C2） ==========
   確認一覧とは別の操作と分かるよう、破線の枠で控えめに分ける */

.inquiry-result-choice {
  min-width: 0;
  margin: 40px 0 0;
  padding: 16px 20px 12px;
  border: 1px dashed var(--inquiry-line);
}

.inquiry-result-choice:disabled {
  opacity: 0.5;
}

.inquiry-result-legend {
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.inquiry-result-hint {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.inquiry-result-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin-top: 4px;
}

.inquiry-result-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.inquiry-result-radio {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
  cursor: inherit;
}

.inquiry-result-radio:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.inquiry-result-choice:disabled .inquiry-result-option {
  cursor: not-allowed;
}

/* 送信中（模擬）：送信ボタンはフォーカスを保ったまま押せない見た目に（script.jsがaria-disabledを付ける） */
.inquiry-button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: progress;
}

.inquiry-button[aria-disabled="true"]:hover {
  background: var(--green);
}

.inquiry-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.inquiry-back:disabled:hover {
  background: transparent;
}

.inquiry-back:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* 進行状況は文字で示す。左の印はゆっくり明滅し、動きを減らす設定では止める */
.inquiry-sending:not(:empty) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.inquiry-sending:not(:empty)::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: inquiry-sending-pulse 1.2s ease-in-out infinite;
}

@keyframes inquiry-sending-pulse {
  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-sending:not(:empty)::before {
    animation: none;
  }
}

/* ========== 送信失敗・受付（模擬） ========== */

.inquiry-result {
  padding: 40px 56px 56px;
  background: var(--paper-deep);
  scroll-margin-top: 16px;
}

/* 失敗は色だけでなく、見出しの「!」の印と太い枠でも示す */
.inquiry-failure-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.inquiry-failure-title::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--inquiry-error);
  color: var(--paper);
  font-size: 17px;
  line-height: 1;
}

/* 実際には送信・受付していないことを、見出しのすぐ下で目立たせる */
.inquiry-result-notice {
  margin-top: 20px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.inquiry-failure-notice {
  border-color: var(--inquiry-error);
}

.inquiry-result-text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
}

.inquiry-result-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 8px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-underline-offset: 5px;
}

/* 結果画面のボタンは右寄せ。長い文言は幅が足りない時に折り返す */
.inquiry-result .inquiry-actions {
  justify-content: flex-end;
}

.inquiry-result .inquiry-back {
  white-space: normal;
  text-align: center;
}

/* 1180px以下：見出し・電話の案内 → 入力／確認 の1列。電話と来店の案内は2列に並べて短くする */

@media (max-width: 1180px) {
  .inquiry-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "crumb"
      "aside"
      "main";
    padding-bottom: 96px;
  }

  .inquiry-en {
    margin-bottom: 28px;
    font-size: min(151.2px, 18.9cqi);
  }

  .inquiry-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    margin-top: 36px;
  }

  .inquiry-main {
    margin-top: 48px;
  }
}

/* スマホ（768px以下）：入力／確認の面を画面幅いっぱいにし、確認の項目名は値の上へ。ボタンは全幅 */

@media (max-width: 768px) {
  .inquiry-inner {
    padding-bottom: 72px;
  }

  .inquiry-breadcrumb {
    padding: 0;
  }

  .inquiry-aside {
    padding-top: 8px;
  }

  .inquiry-en {
    margin-bottom: 20px;
    font-size: 75.6px;
    font-size: 24.3cqi;
  }

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

  .inquiry-lead {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.9;
  }

  .inquiry-options {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 28px;
  }

  .inquiry-option {
    padding: 16px 0 18px;
  }

  .inquiry-tel-number {
    font-size: 30px;
  }

  .inquiry-main {
    margin-top: 36px;
  }

  .inquiry-form,
  .inquiry-confirm {
    margin: 0 calc(var(--gutter) * -1);
    padding: 24px var(--gutter) 40px;
  }

  .inquiry-title {
    margin-top: 24px;
    font-size: 21px;
  }

  .inquiry-group + .inquiry-group {
    margin-top: 48px;
  }

  .inquiry-field {
    padding-top: 24px;
  }

  .inquiry-control-short {
    max-width: none;
  }

  .inquiry-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
    padding-top: 24px;
  }

  .inquiry-confirm-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .inquiry-button,
  .inquiry-back {
    width: 100%;
    min-width: 0;
  }

  .inquiry-review-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
    padding: 14px 0 16px;
  }

  .inquiry-review-term {
    font-size: 13px;
  }

  .inquiry-send-note {
    text-align: left;
  }

  .inquiry-result-choice {
    margin-top: 32px;
    padding: 12px 16px 8px;
  }

  .inquiry-result {
    margin: 0 calc(var(--gutter) * -1);
    padding: 24px var(--gutter) 40px;
  }

  .inquiry-failure-title::before {
    width: 24px;
    height: 24px;
    margin-top: 3px;
    font-size: 15px;
  }

  .inquiry-result-notice {
    padding: 14px 16px;
  }

  .inquiry-result .inquiry-back {
    padding: 12px 20px;
  }
}

/* ==========================================================
   下層：アクセス（/access/）STEP3-D1
   所在地と地図 → 電車・お車（#route）→ 経路動画（#movie）→ 相談 → フッター
   既存のルールは変更せず、.access-page と .access-page- で始まるクラスだけを追加する。
   TOPのS5（.access / .access-map など）とはクラス名を分け、互いに当たらないようにする。
   相談・フッターはTOPのクラスをそのまま使う。
   ========================================================== */

/* 現在のページ：主ナビとフッターで「アクセス」を示す */
.access-page .nav-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.access-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/facility/と同じ扱い） */
.access-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.access-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.access-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 所在地と地図 ==========
   住所・駅から徒歩（5fr）｜地図（7fr）。地図は2行にまたがり、左の列の下に外部の地図への入口を置く。
   地図は比率で高さを決め、読み込めない時も一段深い紙色の面として見せる。地図の上には何も重ねない */

.access-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.access-page-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "crumb crumb"
    "text map"
    "link map";
  column-gap: 56px;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 104px;
}

.access-page-breadcrumb {
  grid-area: crumb;
  padding: 4px 0;
}

.access-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.access-page-breadcrumb li {
  display: flex;
  align-items: center;
}

.access-page-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.access-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.access-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.access-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

.access-page-text {
  grid-area: text;
  padding-top: 16px;
}

/* 英字の大きさは見出しの枠の幅（cqi）から決め、代替フォントでもACCESSの1語が枠に収まる比率にする */
.access-page-head {
  container-type: inline-size;
}

.access-page-en {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 129.6px;
  font-size: min(172.8px, 35.1cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.access-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.access-page-facts {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.access-page-address {
  display: flex;
  flex-direction: column;
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.access-page-zip {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* 駅から徒歩：TOPのS5と同じ深緑の罫線の下に、分数を英字の数字で大きく */
.access-page-walk {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 14px;
  padding-top: 16px;
  border-top: 2px solid var(--green);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.access-page-walk strong {
  font-size: 22px;
  letter-spacing: 0.06em;
}

.access-page-walk-num {
  margin: 0 0.08em;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 60px;
  line-height: 1;
  color: var(--green);
}

.access-page-map {
  grid-area: map;
  align-self: start;
  margin-top: 16px;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  border: 1px solid var(--paper-line);
}

.access-page-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 地図・動画の枠：外側の線が画面端で切れないよう、フォーカス線は枠の内側に描く */
.access-page-map iframe:focus-visible,
.access-page-video-frame iframe:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}

.access-page-map-link {
  grid-area: link;
  display: flex;
  margin-top: 24px;
}

/* ========== 電車・お車（#route） ==========
   見出し（1〜4列）｜項目（5〜12列）。項目は 種別（英字＋名称）｜内容 を罫線で区切る */

.access-page-route {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.access-page-route-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 88px 0 104px;
  border-top: 1px solid var(--paper-line-deep);
}

.access-page-route-head {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-page-route-head .section-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.access-page-route-list {
  grid-column: 5 / 13;
  border-top: 2px solid var(--ink);
}

.access-page-route-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  column-gap: 32px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--paper-line-deep);
}

.access-page-route-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.access-page-route-en {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 17.55px;
  line-height: 1;
  letter-spacing: 0.3em;
  color: var(--green);
}

.access-page-lines {
  display: grid;
  gap: 18px;
  margin: 0;
}

.access-page-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.access-page-station {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.access-page-way {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.access-page-route-text {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.access-page-route-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* ========== 経路動画（#movie） ==========
   一段深い紙色の帯。見出しとYouTubeへの入口（左）｜小さめの動画（右・16:9）。自動再生しない */

.access-page-movie {
  background: var(--paper-deep);
  color: var(--ink);
}

.access-page-movie-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  /* 経路（#route）と同じく、見出しを本文ブロック（動画）の上端にそろえる */
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px var(--gutter);
}

.access-page-movie-head {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-page-movie-head .section-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.access-page-movie-head .detail-link {
  margin-top: 18px;
}

.access-page-video {
  grid-column: 6 / 13;
  justify-self: end;
  width: 100%;
  max-width: 720px;
}

.access-page-video-frame {
  aspect-ratio: 16 / 9;
  background: var(--charcoal-raise);
}

.access-page-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-page-video figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* 1180px以下：地図を全幅にして住所の下へ。住所の列は 見出し｜住所・徒歩 の2列に並べて短くする。
   経路・動画は見出しを上に置いて本文を全幅にする */

@media (max-width: 1180px) {
  .access-page-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "crumb"
      "text"
      "map"
      "link";
    padding-bottom: 96px;
  }

  .access-page-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: end;
  }

  .access-page-facts {
    margin-top: 0;
  }

  .access-page-map {
    margin-top: 48px;
    aspect-ratio: 16 / 10;
  }

  .access-page-map-link {
    margin-top: 16px;
  }

  .access-page-route-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 80px 0 96px;
  }

  .access-page-route-head {
    grid-column: 1 / -1;
    margin-bottom: 40px;
  }

  .access-page-route-list {
    grid-column: 1 / -1;
  }

  .access-page-movie-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 88px var(--gutter);
  }

  .access-page-movie-head {
    grid-column: 1 / -1;
  }

  .access-page-video {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 32px;
  }
}

/* スマホ（768px以下）：パンくず → 英字 → 見出し → 住所 → 徒歩 → 地図（画面幅いっぱい・正方形）→ 外部の地図。
   経路は種別の下に内容を置く1列 */

@media (max-width: 768px) {
  .access-page-intro-inner {
    padding-bottom: 72px;
  }

  .access-page-breadcrumb {
    padding: 0;
  }

  .access-page-text {
    display: block;
    padding-top: 8px;
  }

  .access-page-en {
    margin-bottom: 20px;
  }

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

  .access-page-facts {
    gap: 22px;
    margin-top: 24px;
  }

  .access-page-address {
    font-size: clamp(16px, 5vw, 19px);
  }

  .access-page-walk strong {
    font-size: 19px;
  }

  .access-page-walk-num {
    font-size: 48px;
  }

  .access-page-map {
    margin: 32px calc(var(--gutter) * -1) 0;
    aspect-ratio: 1 / 1;
    border-right: 0;
    border-left: 0;
  }

  .access-page-map-link {
    margin-top: 12px;
  }

  .access-page-route-inner {
    padding: 64px 0 72px;
  }

  .access-page-route-head {
    margin-bottom: 28px;
  }

  .access-page-route-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
    padding: 22px 0 24px;
  }

  .access-page-route-name {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    font-size: 17px;
  }

  .access-page-lines {
    gap: 14px;
  }

  .access-page-station {
    font-size: 16px;
  }

  .access-page-route-text {
    font-size: 15px;
  }

  .access-page-movie-inner {
    padding: 64px var(--gutter) 72px;
  }

  .access-page-movie-head .detail-link {
    margin-top: 8px;
  }

  .access-page-video {
    margin-top: 24px;
  }
}

/* ==========================================================
   下層：営業日・一般営業（/calendar/）STEP3-D2a
   導入 → 予定（#schedule）→ 相談 → フッター
   既存のルールは変更せず、.calendar-page と .calendar-page- で始まるクラスだけを追加する。
   TOPのS7（営業日・お知らせ）には当たらない。相談・フッターはTOPのクラスをそのまま使う。
   ========================================================== */

/* 現在のページ：ヘッダーの「営業日」、メニューとフッターの「営業日・一般営業」を示す */
.calendar-page .header-utility[aria-current="page"],
.calendar-page .nav-utility a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  opacity: 1;
}

.calendar-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/facility/と同じ扱い） */
.calendar-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.calendar-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.calendar-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 導入 ==========
   写真は置かない。英字と見出し（1〜7列）｜短い案内（8〜12列、見出しの下端にそろえる） */

.calendar-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.calendar-page-intro-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: end;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 40px;
}

.calendar-page-breadcrumb {
  grid-column: 1 / -1;
  align-self: start;
  padding: 4px 0;
}

.calendar-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.calendar-page-breadcrumb li {
  display: flex;
  align-items: center;
}

.calendar-page-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.calendar-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.calendar-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.calendar-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* 英字の大きさは見出しの枠の幅（cqi）から決め、代替フォントでもCALENDARの1語が枠に収まる比率にする */
.calendar-page-head {
  grid-column: 1 / 8;
  padding-top: 16px;
  container-type: inline-size;
}

.calendar-page-en {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 129.6px;
  font-size: min(205.2px, 24.3cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.calendar-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

/* ========== 予定（#schedule）C04 ==========
   導入のすぐ下に操作欄と全幅の月カレンダー、その下に空き状況の短い案内と問い合わせへの文字リンク。
   カレンダーの中身（月グリッド・一覧・詳細）はscript.jsがデータから作る */

.calendar-page-schedule {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.calendar-page-schedule-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 0 120px;
}

/* 曜日の色：日曜は薄い赤の面に濃い赤、土曜は薄い青の面に濃い青（数字はどちらも面に対して4.5:1以上）。
   種類は貸切＝青、パーティー＝紫、休み＝赤、メンテ＝黄。小さな色点ではなく文字入りの面で区別する */
.calendar-page-board {
  --sunday-tint: #fbedeb;
  --sunday-ink: #b3261e;
  --saturday-tint: #eaf0f8;
  --saturday-ink: #1f4e8c;
  --type-ink: #fff;
  grid-column: 1 / -1;
  min-width: 0;
}

.calendar-page .is-type-private {
  --type-color: #24569c;
  --type-tint: #e7effb;
}

.calendar-page .is-type-party {
  --type-color: #923a77;
  --type-tint: #f6e7f1;
}

.calendar-page .is-type-event {
  --type-color: #5546a6;
  --type-tint: #eee9fa;
}

.calendar-page .is-type-tentative {
  --type-color: #9c4709;
  --type-tint: #fff1e4;
}

.calendar-page .is-type-maintenance {
  --type-color: #f0c45a;
  --type-tint: #fff0c8;
  --type-ink: #493508;
}

.calendar-page .is-type-closed {
  --type-color: #b3261e;
  --type-tint: #fbedeb;
}

.calendar-page .is-type-regular,
.calendar-page .is-type-karaoke,
.calendar-page .is-type-lunch {
  --type-color: #146e66;
  --type-tint: #dff2ed;
}

/* 未分類（type未設定・未知）：無彩色の枠だけにする */
.calendar-page .is-type-other {
  --type-color: var(--ink-soft);
  --type-tint: #e9e6df;
}

/* 種類の短いラベル（凡例・予定のボタン・詳細で共通） */
.calendar-page-type {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--type-color);
  color: var(--type-ink);
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.calendar-page-type.is-type-other {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-soft);
}

/* カレンダーを確認した後のお問い合わせ：案内と大きなボタンを中央にまとめる */
.calendar-page-contact {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: center;
}

.calendar-page-contact .button-primary {
  width: min(100%, 460px);
  min-height: 84px;
  padding: 12px 18px 12px 40px;
  background: var(--green);
  color: var(--paper);
  font-size: 22px;
}

.calendar-page-contact .button-primary:hover {
  background: var(--green-hover);
}

.calendar-page-contact .button-arrow {
  width: 48px;
  height: 48px;
  background: var(--paper);
  color: var(--green);
}

/* 案内（JSなし・読込中・読込失敗・取得範囲外の月）：紙色より一段深い面に深緑の罫線。失敗は墨の罫線 */
.calendar-page-notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 32px 20px;
  border-top: 2px solid var(--green);
  background: var(--paper-deep);
}

.calendar-page-notice.is-error {
  border-top-color: var(--ink);
}

.calendar-page-notice[hidden],
.calendar-page-app[hidden],
.calendar-page-legend[hidden] {
  display: none;
}

.calendar-page-notice-text {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.calendar-page-app .calendar-page-notice {
  margin-top: 24px;
}

/* 操作欄：前月・今日・翌月｜年月。月グリッドを読み進めても見失わないよう、ヘッダーの下に留める。
   右の空いた列は年月を中央に保つためのトラック（要素は置かない） */
.calendar-page-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "nav heading .";
  align-items: center;
  column-gap: 24px;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.calendar-page-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-page-nav-button,
.calendar-page-today-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.calendar-page-today-button {
  padding: 0 20px;
}

.calendar-page-nav-button:hover,
.calendar-page-today-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.calendar-page-heading {
  grid-area: heading;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 14px;
  text-align: center;
}

.calendar-page-current {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* ========== 月グリッド ==========
   日曜始まりの7列。各日に昼・夜の枠を置き、掲載予定のない枠も余白を残す。 */

.calendar-page-grid {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.calendar-page-grid-week {
  padding: 14px 10px 10px;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  color: var(--ink-soft);
}

.calendar-page-grid-week.is-sunday {
  background: var(--sunday-tint);
  color: var(--sunday-ink);
}

.calendar-page-grid-week.is-saturday {
  background: var(--saturday-tint);
  color: var(--saturday-ink);
}

/* 日付ごとの外枠を残し、昼・夜は罫線で分断しない。高さは内容に追従する。 */
.calendar-page-cell {
  padding: 8px 8px 10px;
  border: 1px solid var(--paper-line-deep);
  border-bottom-width: 2px;
  vertical-align: top;
}

.calendar-page-cell-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-page-date-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.calendar-page-cell .calendar-page-date-num {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
}

.calendar-page-cell.is-adjacent .calendar-page-date-num {
  color: var(--ink-soft);
  opacity: 0.55;
}

.calendar-page-cell.is-sunday {
  background: var(--sunday-tint);
}

.calendar-page-cell.is-saturday {
  background: var(--saturday-tint);
}

.calendar-page-cell.is-sunday .calendar-page-date-num {
  color: var(--sunday-ink);
}

.calendar-page-cell.is-saturday .calendar-page-date-num {
  color: var(--saturday-ink);
}

/* 今日は週末の色より優先し、深緑の丸と「今日」で示す */
.calendar-page-cell.is-today .calendar-page-date-num {
  background: var(--green);
  color: var(--paper);
  opacity: 1;
}

.calendar-page-cell-today {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}

/* 昼・夜：PC/SPで同じ構造。内側の線を置かず、1日の中の2枠として余白だけで分ける。 */
.calendar-page-periods {
  display: grid;
  gap: 10px;
  margin: 0;
}

.calendar-page-period {
  display: grid;
  grid-template-rows: auto minmax(28px, auto);
  gap: 3px;
  min-width: 0;
}

.calendar-page-period-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-align: center;
}

.calendar-page-period[data-period="day"] {
  --calendar-period-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.5 1.5m11 11L19 19M5 19l1.5-1.5m11-11L19 5'/%3E%3C/svg%3E");
}

.calendar-page-period[data-period="night"] {
  --calendar-period-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 13.5A9 9 0 0 1 10.5 3 9 9 0 1 0 21 13.5Z'/%3E%3C/svg%3E");
}

.calendar-page-period[data-period="day"] .calendar-page-period-label::before,
.calendar-page-period[data-period="night"] .calendar-page-period-label::before {
  content: "";
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--calendar-period-icon) center / contain no-repeat;
  mask: var(--calendar-period-icon) center / contain no-repeat;
}

.calendar-page-period-value {
  min-width: 0;
  min-height: 28px;
  margin: 0;
}

.calendar-page-period-button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-ja);
  cursor: pointer;
}

.calendar-page-period-button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.calendar-page-period-type {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 3px 4px;
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.calendar-page-period-type.is-type-other {
  background: var(--type-tint);
  box-shadow: inset 0 0 0 1px var(--ink-soft);
}

.calendar-page-period-button:hover .calendar-page-period-type {
  box-shadow: inset 0 0 0 2px currentColor;
}

/* 種類の凡例：操作欄のすぐ下に、ラベルを横に並べる */
.calendar-page-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

/* ========== 詳細（dialog） ==========
   日付・種別・予定名（原題）・時間・詳細（ある時だけ）。外側のクリックを判定できるよう、余白はinnerに持たせる */

.calendar-page-dialog {
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}

.calendar-page-dialog::backdrop {
  background: rgba(18, 20, 18, 0.6);
}

.calendar-page-dialog-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 32px 28px;
}

.calendar-page-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.calendar-page-dialog-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.calendar-page-dialog-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.calendar-page-dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.calendar-page-dialog-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-page-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-page-detail + .calendar-page-detail {
  padding-top: 20px;
  border-top: 1px solid var(--paper-line-deep);
}

.calendar-page-detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.calendar-page-detail-row {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
}

.calendar-page-detail-term {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.calendar-page-detail-value {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

/* 詳細本文：入力された改行を保ち、行間を広めにする */
.calendar-page-detail-text {
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-line;
}

@media (prefers-reduced-motion: reduce) {
  .calendar-page-nav-button,
  .calendar-page-today-button,
  .calendar-page-period-button {
    transition: none;
  }
}

/* 1180px以下：見出しを全幅に。カレンダーと問い合わせの案内も全幅にする */

@media (max-width: 1180px) {
  /* 子要素はすべて1列なので、12列と列間の隙間が狭幅で本文幅を超えないよう1列にする */
  .calendar-page-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding-bottom: 36px;
  }

  .calendar-page-head {
    grid-column: 1 / -1;
  }

  .calendar-page-schedule-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 0 0 104px;
  }
}

/* スマホ（768px以下）：パンくず → 英字 → 見出し → 操作欄 → 凡例 → 月グリッド → 問い合わせの案内。
   操作欄は年月を上段、前月・今日・翌月を下段に、どちらも中央にそろえる。月グリッドは昼・夜それぞれの種類を文字と色面で示し、押すと詳細を開く */

@media (max-width: 768px) {
  .calendar-page-intro-inner {
    padding-bottom: 28px;
  }

  .calendar-page-breadcrumb {
    padding: 0;
  }

  .calendar-page-head {
    padding-top: 8px;
  }

  .calendar-page-en {
    margin-bottom: 20px;
  }

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

  .calendar-page-schedule-inner {
    padding: 0 0 80px;
  }

  .calendar-page-contact {
    margin-top: 32px;
    gap: 16px;
  }

  .calendar-page-contact .button-primary {
    min-height: 76px;
    padding-left: 28px;
    font-size: 20px;
  }

  .calendar-page-notice {
    padding: 22px 20px 14px;
  }

  .calendar-page-toolbar {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "nav";
    row-gap: 8px;
    padding: 10px 0;
  }

  .calendar-page-current {
    font-size: 19px;
    letter-spacing: 0.04em;
  }

  .calendar-page-nav {
    justify-content: center;
    gap: 6px;
  }

  .calendar-page-today-button {
    padding: 0 12px;
    font-size: 13px;
  }

  /* 月グリッド：7列を本文幅に収め、日付・昼・夜を常時表示する */
  .calendar-page-grid-week {
    padding: 10px 0 8px;
    font-size: 12px;
    text-align: center;
  }

  .calendar-page-cell {
    padding: 4px 2px 6px;
    text-align: center;
  }

  .calendar-page-cell-date {
    justify-content: center;
    margin-bottom: 4px;
  }

  .calendar-page-date-num {
    font-size: 18px;
  }

  .calendar-page-cell .calendar-page-date-num {
    min-width: 28px;
    height: 28px;
  }

  /* 今日は日付の深緑の丸で示す（読み上げはセルのaria-current） */
  .calendar-page-cell .calendar-page-cell-today {
    display: none;
  }

  .calendar-page-periods {
    gap: 8px;
  }

  .calendar-page-period {
    gap: 2px;
  }

  .calendar-page-period-label {
    padding: 0;
    font-size: 11px;
    letter-spacing: 0;
  }

  .calendar-page-period-type {
    padding: 3px 1px;
    font-size: clamp(10px, 2.82vw, 12px);
  }

  .calendar-page-legend {
    gap: 6px 8px;
  }

  .calendar-page-dialog-inner {
    gap: 16px;
    padding: 18px 20px 22px;
  }

  .calendar-page-dialog-title {
    font-size: 18px;
  }

  .calendar-page-detail-row {
    grid-template-columns: 4.5em minmax(0, 1fr);
    column-gap: 8px;
  }

  .calendar-page-detail-value {
    font-size: 15px;
  }
}

/* ==========================================================
   下層：営業日・一般営業（/calendar/）STEP3-D2b
   予定の後・相談の前に、一般営業の短い案内とスタジオ・会議室への入口を1区画で置く。
   既存のルールは変更せず、.calendar-page-general / .calendar-page-studio で始まるクラスだけを追加する。
   ========================================================== */

/* 一般営業（1〜7列、墨の罫線）｜スタジオ・会議室（9〜12列、深緑の罫線）。大きなボタンは置かず文字リンクにする */
.calendar-page-general {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.calendar-page-general-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 72px 0 112px;
  border-top: 1px solid var(--paper-line-deep);
}

.calendar-page-general-main,
.calendar-page-studio {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding-top: 22px;
}

.calendar-page-general-main {
  grid-column: 1 / 8;
  border-top: 2px solid var(--ink);
}

.calendar-page-studio {
  grid-column: 9 / 13;
  border-top: 2px solid var(--green);
}

.calendar-page-general-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-page-general-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.calendar-page-general-text {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.calendar-page-general-body .calendar-page-general-text + .calendar-page-general-text {
  color: var(--ink-soft);
}

/* 1180px以下：2列（予定の取得日・相談と同じ列の取り方）。12列と列間の隙間を残さない */
@media (max-width: 1180px) {
  .calendar-page-general-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    padding: 64px 0 96px;
  }

  .calendar-page-general-main {
    grid-column: 1 / 2;
  }

  .calendar-page-studio {
    grid-column: 2 / 3;
  }
}

/* スマホ（768px以下）：一般営業 → スタジオ・会議室の順に1列 */
@media (max-width: 768px) {
  .calendar-page-general-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 48px;
    padding: 56px 0 72px;
  }

  .calendar-page-general-main,
  .calendar-page-studio {
    grid-column: 1 / -1;
    gap: 12px;
    padding-top: 18px;
  }

  .calendar-page-general-title {
    font-size: 20px;
  }
}

/* ==========================================================
   下層：お知らせ（/news/）STEP3-D3a
   導入 → 一覧（#articles）→ 相談 → フッター
   既存のルールは変更せず、.news-page と .news-page- で始まるクラスだけを追加する。
   TOPのS7（営業日・お知らせ）には当たらない。相談・フッターはTOPのクラスをそのまま使う。
   ========================================================== */

/* 現在のページ：メニューとフッターの「お知らせ」を示す */
.news-page .nav-utility a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  opacity: 1;
}

.news-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/calendar/と同じ扱い） */
.news-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.news-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.news-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 導入 ==========
   写真は置かない。パンくず → 英字と見出し（1〜7列）。すぐ下に一覧を続ける */

.news-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.news-page-intro-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: end;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 64px;
}

.news-page-breadcrumb {
  grid-column: 1 / -1;
  align-self: start;
  padding: 4px 0;
}

.news-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.news-page-breadcrumb li {
  display: flex;
  align-items: center;
}

.news-page-breadcrumb li + li::before {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.news-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.news-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.news-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* 英字の大きさは見出しの枠の幅（cqi）から決め、代替フォントでもNEWSが枠に収まる比率にする */
.news-page-head {
  grid-column: 1 / 8;
  padding-top: 16px;
  container-type: inline-size;
}

.news-page-en {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 129.6px;
  font-size: min(205.2px, 24.3cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.news-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

/* ========== 一覧（#articles） ==========
   コンテナの全幅に、1行ずつ 公開日｜タイトル｜→ を罫線で区切り、行全体を記事へのリンクにする */

.news-page-articles {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.news-page-articles-inner {
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding-bottom: 120px;
}

.news-page-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.news-page-item {
  border-bottom: 1px solid var(--paper-line-deep);
}

.news-page-link {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr) auto;
  grid-template-areas: "date title arrow";
  align-items: center;
  column-gap: 32px;
  padding: 26px 12px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.news-page-link:hover {
  background: var(--paper-deep);
}

.news-page-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* 公開日：英字の書体で。古い記事も年まで読めるよう、年月日を省略しない */
.news-page-date {
  grid-area: date;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-page-item-title {
  grid-area: title;
  min-width: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.news-page-link:hover .news-page-item-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* 右矢印：深緑の丸は文字リンク（.detail-arrow）と同じ扱い。hoverで右へ動かす */
.news-page-arrow {
  grid-area: arrow;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  transition: transform 0.2s ease;
}

.news-page-link:hover .news-page-arrow {
  transform: translateX(3px);
}

/* 1180px以下：見出しを全幅に。12列と列間の隙間を残さず1列にする */
@media (max-width: 1180px) {
  .news-page-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding-bottom: 56px;
  }

  .news-page-head {
    grid-column: 1 / -1;
  }

  .news-page-articles-inner {
    padding-bottom: 104px;
  }
}

/* スマホ（768px以下）：パンくず → 英字 → 見出し → 記事。
   記事は1段目に公開日と→、2段目にタイトルを全幅で置く */
@media (max-width: 768px) {
  .news-page-intro-inner {
    padding-bottom: 40px;
  }

  .news-page-breadcrumb {
    padding: 0;
  }

  .news-page-head {
    padding-top: 8px;
  }

  .news-page-en {
    margin-bottom: 20px;
  }

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

  .news-page-articles-inner {
    padding-bottom: 80px;
  }

  .news-page-link {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "date arrow"
      "title title";
    column-gap: 16px;
    row-gap: 10px;
    padding: 18px 4px 20px;
  }

  .news-page-date {
    font-size: 20px;
  }

  .news-page-item-title {
    font-size: 16px;
  }

  .news-page-arrow {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================
   下層：お知らせ記事（/news/2026-notice/）STEP3-D3b
   パンくず → 記事（公開日・タイトル・本文）→ 取得日と一覧へ戻る → 相談 → フッター
   既存のルールは変更せず、.news-article で始まるクラスだけを追加する。
   ヘッダーの色はbodyの.news-page（D3a）をそのまま使う。
   ========================================================== */

.news-article-area {
  background: var(--paper);
  color: var(--ink);
}

/* 見出しは公開日（1〜4列相当）｜タイトル（5〜12列相当）。本文と取得日は記事枠の左端から全幅。
   12列ではなく2列にし、1180px以下で1列に戻したとき列間の隙間を残さない */
.news-article-inner,
.news-article,
.news-article-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
}

.news-article-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 120px;
}

.news-article-breadcrumb {
  grid-column: 1 / -1;
  padding: 4px 0;
}

.news-article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.news-article-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.news-article-breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.news-article-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.news-article-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.news-article-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

.news-article {
  grid-column: 1 / -1;
}

/* 見出し：英字と公開日（左）｜タイトル（右）を下端でそろえ、墨の罫線で本文と区切る */
.news-article-head {
  grid-column: 1 / -1;
  align-items: end;
  padding: 48px 0 44px;
  border-bottom: 2px solid var(--ink);
}

.news-article-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-article-en {
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 18.9px;
  line-height: 1;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
}

/* 公開日：年まで大きく。古い記事であることが本文より先に読めるようにする */
.news-article-date {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.news-article-title {
  padding-bottom: 2px;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

/* 本文：原文の段落をそのまま。記事枠の左端から全幅、広めの行間で読ませる */
.news-article-body {
  grid-column: 1 / -1;
  padding-top: 56px;
  font-size: 17px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.news-article-body p + p {
  margin-top: 1.2em;
}

/* 取得日と一覧へ戻る：本文の下に細い罫線で区切る */
.news-article-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-line-deep);
}

/* 戻るリンク：矢印を左に置き、hoverでも左へ動かす */
.news-article-back:hover .detail-arrow {
  transform: translateX(-3px);
}

/* 1180px以下：公開日の下にタイトル、本文と取得日を全幅に。列間の隙間を残さず1列にする */
@media (max-width: 1180px) {
  .news-article-inner,
  .news-article,
  .news-article-head {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .news-article-inner {
    padding-bottom: 104px;
  }

  .news-article-head {
    row-gap: 28px;
  }

  .news-article-body,
  .news-article-foot {
    grid-column: 1 / -1;
  }
}

/* スマホ（768px以下）：パンくず → 英字・公開日 → タイトル → 本文 → 取得日・一覧へ戻る */
@media (max-width: 768px) {
  .news-article-inner {
    padding-bottom: 80px;
  }

  .news-article-breadcrumb {
    padding: 0;
  }

  .news-article-head {
    row-gap: 20px;
    padding: 28px 0 28px;
  }

  .news-article-meta {
    gap: 12px;
  }

  .news-article-en {
    font-size: 16.2px;
  }

  .news-article-date {
    font-size: 40px;
  }

  .news-article-title {
    font-size: 24px;
  }

  .news-article-body {
    padding-top: 36px;
    font-size: 16px;
    line-height: 2;
  }

  .news-article-foot {
    margin-top: 48px;
  }
}

/* ==========================================================
   下層：ご利用の流れ・規定（/guide/）STEP3-D4
   導入 → ご予約までの流れ（#flow）→ ご予約前の確認と原本PDF（#documents）→ 相談 → フッター
   既存のルールは変更せず、.guide-page と .guide-page- で始まるクラスだけを追加する。
   相談・フッターはTOPのクラスをそのまま使う。
   ========================================================== */

/* 現在のページ：メニューとフッターの「ご利用の流れ・規定」を示す */
.guide-page .nav-utility a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  opacity: 1;
}

.guide-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/news/と同じ扱い） */
.guide-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.guide-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.guide-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 導入 ==========
   写真は置かない。英字と見出し（1〜7列）｜短い案内（8〜12列、見出しの下端にそろえる） */

.guide-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.guide-page-intro-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  align-items: end;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 80px;
}

.guide-page-breadcrumb {
  grid-column: 1 / -1;
  align-self: start;
  padding: 4px 0;
}

.guide-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.guide-page-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.guide-page-breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.guide-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.guide-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.guide-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* 英字の大きさは見出しの枠の幅（cqi）から決め、代替フォントでもGUIDEの1語が枠に収まる比率にする */
.guide-page-head {
  grid-column: 1 / 8;
  padding-top: 16px;
  container-type: inline-size;
}

.guide-page-en {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 129.6px;
  font-size: min(205.2px, 24.3cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.guide-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

/* ========== ご予約までの流れ（#flow） ==========
   見出し（左・4）｜4段階の一覧（右・8）。12列ではなく2列にし、1180px以下で1列に戻したとき列間の隙間を残さない。
   1段階ずつ 番号｜名前・時期・本文・要点 を罫線で区切る */

.guide-page-flow {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.guide-page-flow-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 88px 0 112px;
  border-top: 1px solid var(--paper-line-deep);
}

.guide-page-flow-head {
  grid-column: 1 / 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.guide-page-flow-head .section-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.guide-page-flow-text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.guide-page-steps {
  grid-column: 2 / 3;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.guide-page-step {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  column-gap: 32px;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--paper-line-deep);
}

.guide-page-step-number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--green);
}

.guide-page-step-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* 名前と時期を1行に。幅が足りない時は時期を下の行へ */
.guide-page-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
}

.guide-page-step-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.guide-page-step-timing {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
}

.guide-page-step-text {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

/* 要点：誤解されやすい条件を、深緑の縦線と太字で本文と分ける */
.guide-page-step-note {
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

/* ========== ご予約前の確認と原本（#documents） ==========
   D02：見出し・確認事項（全幅）→ 原本2点（全幅の行を縦積み：版日付｜題名・説明・サイズ｜ページで読む・PDF） */

.guide-page-documents {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.guide-page-documents-inner {
  display: flex;
  flex-direction: column;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 88px 0 120px;
  border-top: 1px solid var(--paper-line-deep);
}

.guide-page-documents-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  margin-bottom: 64px;
}

.guide-page-documents-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-page-documents-head .section-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.guide-page-points {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--green);
}

.guide-page-points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.guide-page-file-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

/* 資料1件＝題名（本文ページへのリンク）と、その下の弱いPDFリンクの縦2行 */
.guide-page-file {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--paper-line-deep);
}

.guide-page-file-name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.guide-page-file-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  transition: color 0.2s ease;
}

.guide-page-file-link svg {
  flex-shrink: 0;
  color: var(--green);
}

.guide-page-file-link:hover {
  color: var(--green);
}

.guide-page-file-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--paper-line-deep);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.guide-page-file-pdf:hover {
  color: var(--green);
  text-decoration-color: currentColor;
}

/* 1180px以下：流れ・資料は見出しを上に置き、本文を全幅にする。
   子要素はすべて全幅になるので、12列・2列と列間の隙間を残さず1列にする */
@media (max-width: 1180px) {
  .guide-page-intro-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding-bottom: 72px;
  }

  .guide-page-head {
    grid-column: 1 / -1;
  }

  .guide-page-flow-inner,
  .guide-page-documents-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 80px 0 104px;
  }

  .guide-page-flow-head,
  .guide-page-steps {
    grid-column: 1 / -1;
  }

  .guide-page-flow-head {
    margin-bottom: 48px;
  }

  .guide-page-documents-side {
    margin-bottom: 48px;
  }
}

/* スマホ（768px以下）：パンくず → 英字 → 見出し → 流れ（番号は名前の上）→ 確認事項 → 資料（1列）。
   資料は題名・PDFリンクの縦2行のまま */
@media (max-width: 768px) {
  .guide-page-intro-inner {
    padding-bottom: 56px;
  }

  .guide-page-breadcrumb {
    padding: 0;
  }

  .guide-page-head {
    padding-top: 8px;
  }

  .guide-page-en {
    margin-bottom: 20px;
  }

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

  .guide-page-flow-inner,
  .guide-page-documents-inner {
    padding: 64px 0 80px;
  }

  .guide-page-flow-head,
  .guide-page-documents-side {
    margin-bottom: 36px;
  }

  .guide-page-step {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 14px;
    padding: 24px 0 28px;
  }

  .guide-page-step-number {
    font-size: 32px;
  }

  .guide-page-step-name {
    font-size: 20px;
  }

  .guide-page-file-name {
    font-size: 19px;
  }
}

/* ==========================================================
   下層：個人情報の取り扱い（/privacy/）STEP3-D5
   パンくず → 英字・見出し → 本文（原稿確認中）→ 相談フォームへ戻る → フッター
   確定原稿が未確認のため本文は保留。原稿が入ったら .privacy-page-body の h2 / p がそのまま本文の書式になる。
   既存のルールは変更せず、.privacy-page と .privacy-page- で始まるクラスだけを追加する。
   ========================================================== */

/* 現在のページ：フッターの「個人情報の取り扱い」を示す */
.privacy-page .footer-group a[aria-current="page"] {
  color: var(--sage);
}

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/news/・/guide/と同じ扱い） */
.privacy-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.privacy-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.privacy-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

.privacy-page-area {
  background: var(--paper);
  color: var(--ink);
}

/* 余白（1〜4列相当）｜本文（5〜12列相当）。お知らせ記事と同じ2列にし、1180px以下で1列に戻す */
.privacy-page-inner,
.privacy-page-article {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
}

.privacy-page-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 120px;
}

.privacy-page-breadcrumb {
  grid-column: 1 / -1;
  padding: 4px 0;
}

.privacy-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.privacy-page-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.privacy-page-breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.privacy-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.privacy-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.privacy-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

.privacy-page-article {
  grid-column: 1 / -1;
}

/* 見出し：英字と見出しを全幅に置き、墨の罫線で本文と区切る。
   英字の大きさは見出しの枠の幅（cqi）から決め、代替フォントでもPRIVACYの7文字が枠に収まる比率にする */
.privacy-page-head {
  grid-column: 1 / -1;
  padding: 48px 0 44px;
  border-bottom: 2px solid var(--ink);
  container-type: inline-size;
}

.privacy-page-en {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 97.2px;
  font-size: min(205.2px, 16.2cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.privacy-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

/* 本文：お知らせ記事の本文と同じ文字サイズ・行間・段落間隔。h2は本文より一段大きい小見出し */
.privacy-page-body {
  grid-column: 2 / 3;
  padding-top: 56px;
  font-size: 17px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.privacy-page-body h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.privacy-page-body h2 + p {
  margin-top: 0.8em;
}

.privacy-page-body p + p {
  margin-top: 1.2em;
}

.privacy-page-body p + h2 {
  margin-top: 2.4em;
}

/* 保留中の見出し：深緑の短い線を添え、完成した規定ではないことを見出しの段階で示す */
.privacy-page-status {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green);
}

.privacy-page-status::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* 戻るリンク：本文の下に細い罫線で区切り、2つを横に並べる（幅が足りなければ折り返す） */
.privacy-page-foot {
  grid-column: 2 / 3;
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 8px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--paper-line-deep);
}

.privacy-page-back:hover .detail-arrow {
  transform: translateX(-3px);
}

/* 1180px以下：見出しの下に本文と戻るリンクを全幅に。列間の隙間を残さず1列にする */
@media (max-width: 1180px) {
  .privacy-page-inner,
  .privacy-page-article {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .privacy-page-inner {
    padding-bottom: 104px;
  }

  .privacy-page-body,
  .privacy-page-foot {
    grid-column: 1 / -1;
  }
}

/* スマホ（768px以下）：パンくず → 英字 → 見出し → 本文 → 戻るリンク（縦に並べる） */
@media (max-width: 768px) {
  .privacy-page-inner {
    padding-bottom: 80px;
  }

  .privacy-page-breadcrumb {
    padding: 0;
  }

  .privacy-page-head {
    padding: 28px 0 28px;
  }

  .privacy-page-en {
    margin-bottom: 20px;
  }

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

  .privacy-page-body {
    padding-top: 36px;
    font-size: 16px;
    line-height: 2;
  }

  .privacy-page-body h2 {
    font-size: 18px;
  }

  .privacy-page-foot {
    flex-direction: column;
    margin-top: 48px;
  }
}

/* ==========================================================
   下層：利用規定（/terms/）N01
   導入 → 目次（左）｜本文3節・原本PDF・/guide/への案内（右）→ 相談 → フッター
   既存のルールは変更せず、.terms-page と .terms-page- で始まるクラスだけを追加する。
   原本PDFは/guide/の補助リンク .guide-page-file-pdf をそのまま使う。
   ========================================================== */

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/guide/と同じ扱い） */
.terms-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.terms-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.terms-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 導入 ==========
   英字は全幅。その下の行で見出しを左の列（4）、案内を本文と同じ右の列（8）に置き、上端をそろえる。
   英字の大きさは導入の枠の幅（cqi）から決める */

.terms-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.terms-page-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  column-gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 56px;
  container-type: inline-size;
}

.terms-page-breadcrumb {
  grid-column: 1 / -1;
  padding: 4px 0;
}

.terms-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.terms-page-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.terms-page-breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.terms-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.terms-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.terms-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* 代替フォントでもTERMSの5文字が枠に収まる比率にする */
.terms-page-en {
  grid-column: 1 / -1;
  margin-bottom: 32px;
  padding-top: 16px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 129.6px;
  font-size: min(205.2px, 24.3cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.terms-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.terms-page-lead {
  grid-column: 2 / 3;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.terms-page-version {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 本文 ==========
   目次（左・4）｜本文（右・8）。本文は右の列の幅いっぱい */

.terms-page-body {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.terms-page-body-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 88px 0 120px;
  border-top: 1px solid var(--paper-line-deep);
}

/* 目次：番号｜節の名前。各行44px以上の押せる高さ */
.terms-page-toc {
  align-self: start;
  min-width: 0;
  max-width: 22em;
}

.terms-page-toc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.terms-page-toc-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--green);
}

.terms-page-toc-list a {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  align-items: baseline;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.terms-page-toc-list a:hover {
  color: var(--green);
}

.terms-page-toc-number {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
}

.terms-page-article {
  display: flex;
  flex-direction: column;
  gap: 72px;
  min-width: 0;
}

/* 節：墨の罫線の下に 番号＋見出し、本文 */
.terms-page-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.terms-page-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}

.terms-page-section-number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--green);
}

.terms-page-section-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.terms-page-subtitle {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.terms-page-text,
.terms-page-list li {
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.terms-page-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 箇条の印：深緑の短い線 */
.terms-page-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
}

.terms-page-list li::before {
  content: "";
  width: 10px;
  height: 2px;
  margin-top: 0.95em;
  background: var(--green);
}

/* 要点：条件の前提や責任の範囲を、深緑の縦線と太字で本文と分ける（/guide/の要点と同じ形） */
.terms-page-note {
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

/* 条件と料金の一覧：条件｜料金（右）、補足は下の行。罫線で1行ずつ区切る */
.terms-page-table {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.terms-page-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 6px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-line-deep);
}

.terms-page-row dt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.terms-page-value {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--green);
}

.terms-page-row-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

/* 本文の後：店舗への確認 → 原本PDF → /guide/ への案内 */
.terms-page-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-line-deep);
}

.terms-page-foot-text {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.terms-page-foot-tel {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.terms-page-foot-tel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* 1180px以下：目次を本文の上へ。2列と列間の隙間を残さず1列にする */
@media (max-width: 1180px) {
  .terms-page-intro-inner,
  .terms-page-body-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .terms-page-intro-inner {
    padding-bottom: 72px;
  }

  .terms-page-lead {
    grid-column: 1 / -1;
    margin-top: 28px;
  }

  .terms-page-body-inner {
    padding: 80px 0 104px;
  }

  .terms-page-toc {
    max-width: 40em;
    margin-bottom: 56px;
  }
}

/* スマホ（768px以下）：パンくず → 英字 → 見出し → 案内 → 目次 → 本文。
   料金は条件の下の行へ */
@media (max-width: 768px) {
  .terms-page-intro-inner {
    padding-bottom: 56px;
  }

  .terms-page-breadcrumb {
    padding: 0;
  }

  .terms-page-en {
    margin-bottom: 20px;
    padding-top: 8px;
  }

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

  .terms-page-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .terms-page-body-inner {
    padding: 56px 0 80px;
  }

  .terms-page-toc {
    margin-bottom: 48px;
  }

  .terms-page-article {
    gap: 56px;
  }

  .terms-page-section {
    gap: 16px;
    padding-top: 24px;
  }

  .terms-page-section-number {
    font-size: 32px;
  }

  .terms-page-section-title {
    font-size: 19px;
  }

  .terms-page-subtitle {
    font-size: 16px;
  }

  .terms-page-text,
  .terms-page-list li {
    font-size: 15px;
  }

  .terms-page-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 0;
  }

  .terms-page-value {
    text-align: left;
  }
}

/* ==========================================================
   下層：ご予約システム（/reservation/）N02
   導入 → 目次（左）｜本文7節・原本PDF・関連（右）→ 相談 → フッター
   /terms/と同じ紙色・2列の骨格。大きな番号のステップは置かず、見出し・段落・表で読ませる。
   既存のルールは変更せず、.reservation-page と .reservation-page- で始まるクラスだけを追加する。
   原本PDFは/guide/の補助リンク .guide-page-file-pdf をそのまま使う。
   ========================================================== */

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/terms/と同じ扱い） */
.reservation-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.reservation-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.reservation-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* ========== 導入 ========== */

.reservation-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.reservation-page-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 80px;
}

.reservation-page-breadcrumb {
  grid-column: 1 / -1;
  padding: 4px 0;
}

.reservation-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.reservation-page-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.reservation-page-breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.reservation-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.reservation-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.reservation-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* 英字はRESERVATIONの11文字。代替フォントでも枠に収まるよう/terms/より小さい比率（cqi）にする */
.reservation-page-head {
  grid-column: 1 / -1;
  padding-top: 16px;
  container-type: inline-size;
}

.reservation-page-en {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 75.6px;
  font-size: min(205.2px, 18.9cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.reservation-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.reservation-page-lead {
  grid-column: 2 / 3;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.reservation-page-version {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ========== 本文 ==========
   目次（左・4）｜本文（右・8）。本文は右の列の幅いっぱい */

.reservation-page-body {
  padding: 0 var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.reservation-page-body-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: 32px;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 88px 0 120px;
  border-top: 1px solid var(--paper-line-deep);
}

/* 目次：番号は付けず、節の名前だけ。各行44px以上の押せる高さ。
   2列の間は固定ヘッダーの下に留めて本文に追従し、本文の枠（body-inner）の末尾で止まる。
   画面より目次が長い短い画面では、目次の中だけをスクロールして7項目すべてに届くようにする */
.reservation-page-toc {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  align-self: start;
  min-width: 0;
  max-width: 22em;
  max-height: calc(100vh - var(--header-height) - 64px);
  max-height: calc(100dvh - var(--header-height) - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.reservation-page-toc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.reservation-page-toc-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--green);
}

.reservation-page-toc-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.reservation-page-toc-list a:hover {
  color: var(--green);
}

.reservation-page-article {
  display: flex;
  flex-direction: column;
  gap: 64px;
  min-width: 0;
}

/* 節：墨の罫線の下に見出し、本文。時期などの補足は見出しの横に小さく */
.reservation-page-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.reservation-page-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.reservation-page-section-sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green);
}

.reservation-page-text,
.reservation-page-list li {
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.reservation-page-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 箇条の印：深緑の短い線（/terms/と同じ） */
.reservation-page-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
}

.reservation-page-list li::before {
  content: "";
  width: 10px;
  height: 2px;
  margin-top: 0.95em;
  background: var(--green);
}

/* 要点：本契約扱いの切り替わりなど、見落とすと困る条件を深緑の縦線と太字で分ける */
.reservation-page-note {
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

/* 留保：原本に記載のない点の短い案内 */
.reservation-page-aside {
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

/* 最低保証の表：区分｜ホールレンタル｜パーティープラン。金額は右寄せ・桁をそろえる */
.reservation-page-table-wrap {
  min-width: 0;
}

.reservation-page-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--ink);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.reservation-page-table th,
.reservation-page-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line-deep);
  line-height: 1.6;
  vertical-align: baseline;
}

.reservation-page-table thead th {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: right;
}

.reservation-page-table thead th:first-child,
.reservation-page-table tbody th {
  text-align: left;
}

.reservation-page-table tbody th {
  font-weight: 500;
}

.reservation-page-table td {
  padding-left: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.reservation-page-table td:last-child {
  color: var(--green);
}

/* 段階ごとの条件：項目｜内容（右）、補足は下の行（/terms/の一覧と同じ形） */
.reservation-page-terms {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.reservation-page-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 6px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--paper-line-deep);
}

.reservation-page-row dt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.reservation-page-value {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--green);
}

.reservation-page-row-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

/* 本文の後：原本の結び → 電話 → 原本PDF → 利用規定・ご利用の流れ */
.reservation-page-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-line-deep);
}

.reservation-page-foot-text {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.reservation-page-foot-tel {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.reservation-page-foot-tel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.reservation-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
}

/* 1180px以下：目次を本文の上へ。1列にする */
@media (max-width: 1180px) {
  .reservation-page-intro-inner,
  .reservation-page-body-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .reservation-page-intro-inner {
    padding-bottom: 72px;
  }

  .reservation-page-lead {
    grid-column: 1 / -1;
    margin-top: 28px;
  }

  .reservation-page-body-inner {
    padding: 80px 0 104px;
  }

  /* 1列では追従させず、通常の流れで本文の上に置く */
  .reservation-page-toc {
    position: static;
    max-width: 40em;
    max-height: none;
    margin-bottom: 56px;
    overflow-y: visible;
  }
}

/* スマホ（768px以下）：表は3列のまま文字と余白を詰める。条件の内容は項目の下の行へ */
@media (max-width: 768px) {
  .reservation-page-intro-inner {
    padding-bottom: 56px;
  }

  .reservation-page-breadcrumb {
    padding: 0;
  }

  .reservation-page-head {
    padding-top: 8px;
  }

  .reservation-page-en {
    margin-bottom: 20px;
  }

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

  .reservation-page-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .reservation-page-body-inner {
    padding: 56px 0 80px;
  }

  .reservation-page-toc {
    margin-bottom: 48px;
  }

  .reservation-page-article {
    gap: 52px;
  }

  .reservation-page-section {
    gap: 16px;
    padding-top: 20px;
  }

  .reservation-page-section-title {
    font-size: 19px;
  }

  .reservation-page-section-sub {
    font-size: 13px;
  }

  .reservation-page-text,
  .reservation-page-list li {
    font-size: 15px;
  }

  .reservation-page-table {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .reservation-page-table thead th {
    font-size: 12px;
  }

  .reservation-page-table td {
    padding-left: 10px;
  }

  /* 320px・代替フォントでも「ル」「ン」「用」だけが落ちないよう、語のまとまりの間（wbr）でだけ折る */
  .reservation-page-table-word {
    display: inline-block;
  }

  .reservation-page-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px 0;
  }

  .reservation-page-value {
    text-align: left;
  }
}

/* ==========================================================
   下層：ギャラリー（/gallery/）N03・Y02
   導入（英字・タイトル・一例の注記）→ 全12枚を1つのグリッドに連続して並べる（PC4列／1180px以下3列／SP2列）→ フッター。拡大表示はdialog（script.js）
   /reservation/と同じ紙色。既存のルールは変更せず、.gallery-page と .gallery-page- で始まるクラスだけを追加する。
   サムネイルは4:3にそろえて切り取り、拡大表示では原寸比のまま（scale-down：原寸より大きくしない）
   ========================================================== */

/* ヘッダー：冒頭が紙色の地のため、透過の間だけ墨の文字・深緑の相談ボタンにする（/reservation/と同じ扱い） */
.gallery-page .site-header:not(.is-solid):not(.is-menu-open) {
  color: var(--ink);
  text-shadow: none;
}

.gallery-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta {
  background: var(--green);
  color: var(--paper);
}

.gallery-page .site-header:not(.is-solid):not(.is-menu-open) .header-cta:hover {
  background: var(--green-hover);
}

/* 拡大表示の間は背景をスクロールさせない（位置はそのまま保持される） */
html.is-gallery-locked {
  overflow: hidden;
}

/* ========== 導入 ========== */

.gallery-page-intro {
  background: var(--paper);
  color: var(--ink);
}

.gallery-page-intro-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--header-height) var(--gutter) 40px;
}

.gallery-page-breadcrumb {
  padding: 4px 0;
}

.gallery-page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.gallery-page-breadcrumb li {
  display: flex;
  align-items: center;
  min-width: 0;
}

.gallery-page-breadcrumb li + li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  margin: 0 12px;
  background: currentColor;
  opacity: 0.6;
}

.gallery-page-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.gallery-page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.gallery-page-breadcrumb a[aria-current="page"] {
  color: var(--ink);
}

/* タイトルと注記は一行に並べ、入らない幅では折り返す */
.gallery-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 28px;
  padding-top: 16px;
  container-type: inline-size;
}

.gallery-page-en {
  flex-basis: 100%;
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-weight: 400;
  font-synthesis: none;
  font-size: 75.6px;
  font-size: min(205.2px, 18.9cqi);
  line-height: 0.8;
  letter-spacing: 0.005em;
}

.gallery-page-title {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.gallery-page-lead {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

/* ========== 写真 ========== */

.gallery-page-body {
  padding: 0 var(--gutter) 120px;
  background: var(--paper);
  color: var(--ink);
}

/* 管理画面の保存順で、分類の見出しなしのグリッドに並べる。 */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.gallery-page-empty {
  max-width: calc(1440px - var(--gutter) * 2);
  margin: 0 auto;
  padding: 32px 0;
}

/* サムネイル：4:3の同じ枠。読込前は墨の地。押すと原寸の写真（JSありでは拡大表示） */
.gallery-page-thumb {
  display: block;
  overflow: hidden;
  background: var(--charcoal);
}

.gallery-page-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.8s ease;
}

.gallery-page-thumb:hover img {
  opacity: 0.88;
  transform: scale(1.02);
}

.gallery-page-thumb:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-page-thumb img {
    transition: none;
  }

  .gallery-page-thumb:hover img {
    transform: none;
  }
}

/* ========== 拡大表示（dialog） ==========
   画面いっぱいの墨の面：上段（枚数・閉じる）／写真／下段（前・次）。写真は残りの高さに原寸比で収める */
.gallery-page-viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0 var(--gutter);
  border: 0;
  background: var(--charcoal);
  color: var(--paper);
}

.gallery-page-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.gallery-page-viewer::backdrop {
  background: var(--charcoal);
}

.gallery-page-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 12px 0;
}

.gallery-page-viewer-count {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

/* 写真の面は行いっぱいに伸ばし、写真自体は枠の中央に原寸比で置く（object-fit） */
.gallery-page-viewer-stage {
  min-width: 0;
  min-height: 0;
}

.gallery-page-viewer-image {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.gallery-page-viewer-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.gallery-page-viewer-button:hover {
  border-color: var(--paper);
}

.gallery-page-viewer-button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* 1180px以下：写真は3列 */
@media (max-width: 1180px) {
  .gallery-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* スマホ（768px以下）：写真は2列・隙間8px（320pxでも2列）。
   拡大表示の説明は写真の下の一行目に回し、前後のボタンを左右に残す */
@media (max-width: 768px) {
  .gallery-page-intro-inner {
    padding-bottom: 28px;
  }

  .gallery-page-head {
    gap: 4px 20px;
    padding-top: 8px;
  }

  .gallery-page-en {
    margin-bottom: 14px;
  }

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

  .gallery-page-lead {
    font-size: 13px;
  }

  .gallery-page-body {
    padding-bottom: 80px;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-page-viewer-bar:last-child {
    flex-wrap: wrap;
  }

  .gallery-page-viewer-button {
    padding: 0 12px;
  }
}

/* ==========================================================
   よくある質問（FAQ-UI・表示試作）：全ページ右下の入口と案内パネル。script.jsが組み立てる（JSなしでは出ない）。
   画面右下の部品としてviewportに固定する（ユーザー指定で許可）。パネル内部はflex/grid、
   画面の小ささはmax-heightと内部のスクロールで吸収し、見出し・閉じるは常に見える。
   閉じた入口はヘッダーより下、開いたパネルは上に置く。全体メニューを開いている間は隠す。
   ========================================================== */

.faq-widget {
  position: fixed;
  right: max(16px, calc(env(safe-area-inset-right) + 12px));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: calc(100vw - 32px);
}

.faq-widget.is-open {
  z-index: 11;
}

.faq-widget[hidden],
html.is-menu-locked .faq-widget {
  display: none;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  border: 1px solid rgb(243 241 235 / 0.4);
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgb(var(--scrim) / 0.22);
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-toggle:hover {
  background: var(--green-hover);
}

.faq-toggle svg {
  flex: none;
}

.faq-panel {
  display: flex;
  flex-direction: column;
  width: 360px;
  max-width: 100%;
  max-height: calc(100vh - var(--header-height) - 92px);
  max-height: calc(100dvh - var(--header-height) - 92px);
  overflow: hidden;
  border: 1px solid var(--paper-line-deep);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 32px rgb(var(--scrim) / 0.2);
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 4px 20px;
  background: var(--green);
  color: var(--paper);
}

.faq-panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.faq-panel-title:focus {
  outline: none;
}

.faq-panel-title:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.faq-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.faq-close:hover {
  background: rgb(243 241 235 / 0.12);
}

.faq-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 16px;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* 会話の形：店側の短い案内（左の吹き出し）→ 選べる質問（右寄せ） */
.faq-prompt {
  justify-self: start;
  max-width: 90%;
  padding: 10px 16px;
  border-radius: 4px 14px 14px 14px;
  background: var(--paper-deep);
  font-size: 15px;
  line-height: 1.6;
}

.faq-choices,
.faq-guides {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-choices {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.faq-choice {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--green);
  border-radius: 14px 4px 14px 14px;
  background: #fff;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.faq-choice:hover {
  background: var(--green);
  color: var(--paper);
}

.faq-more {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
}

.faq-more-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.faq-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.faq-guide {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-underline-offset: 5px;
}

.faq-contact {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s;
}

.faq-contact:hover {
  background: var(--green-hover);
}

.faq-form {
  display: grid;
  gap: 6px;
}

.faq-input-row {
  display: flex;
  gap: 8px;
}

.faq-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--paper-line-deep);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.faq-input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.faq-send {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper-line-deep);
  color: var(--ink-soft);
}

.faq-send:disabled {
  cursor: not-allowed;
}

.faq-input-status {
  padding-left: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-widget.is-open .faq-panel {
    animation: faq-panel-in 0.2s ease-out;
  }
}

@keyframes faq-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* スマホ（768px以下）：入口は少し小さく、パネルは画面の左右余白を除いた幅まで */
@media (max-width: 768px) {
  .faq-widget {
    right: max(12px, calc(env(safe-area-inset-right) + 8px));
    bottom: max(12px, calc(env(safe-area-inset-bottom) + 8px));
    max-width: calc(100vw - 24px);
  }

  .faq-toggle {
    min-height: 44px;
    padding: 0 16px 0 12px;
    font-size: 14px;
  }

  .faq-panel {
    max-height: calc(100vh - var(--header-height) - 80px);
    max-height: calc(100dvh - var(--header-height) - 80px);
  }

  .faq-panel-body {
    padding: 16px;
  }
}


/* WordPress固有の表示：管理バーと標準本文。静的版のCSSは上記のまま保持。 */
.admin-bar {
  --hk-admin-offset: 32px;
}

.admin-bar .site-header {
  top: var(--hk-admin-offset);
}

.admin-bar main [id] {
  scroll-margin-top: var(--hk-admin-offset);
}

/* 782px/600pxはWordPress管理バーの切替幅。サイト本体のBPは1180px/768px。 */
@media (max-width: 782px) {
  .admin-bar {
    --hk-admin-offset: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar {
    --hk-admin-offset: 0px;
  }
}

.wp-content-inner {
  display: grid;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 64px) var(--gutter) 96px;
}

.wp-content-title {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.wp-content-article {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.wp-content-article + .wp-content-article {
  padding-top: 32px;
  border-top: 1px solid var(--paper-line-deep);
}

.wp-content-subtitle {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
}

.wp-content-date {
  color: var(--ink-soft);
  font-size: 14px;
}

.wp-content-body {
  overflow-wrap: anywhere;
}

.wp-content-body > * + * {
  margin-top: 1.5em;
}

/* 投稿件数に応じたページ送り。既存のお知らせ一覧の下に配置。 */
.news-pagination {
  margin-top: 40px;
}

.news-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--paper-line-deep);
  border-radius: 24px;
  text-decoration: none;
}

.news-pagination .current,
.news-pagination a:hover {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.news-pagination a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.news-article-body {
  overflow-wrap: anywhere;
}

.news-article-body > * + * {
  margin-top: 1.5em;
}

.news-article-body ul,
.news-article-body ol,
.wp-content-body ul,
.wp-content-body ol {
  padding-left: 1.5em;
}

.news-article-body ul,
.wp-content-body ul {
  list-style: disc;
}

.news-article-body ol,
.wp-content-body ol {
  list-style: decimal;
}

@media (max-width: 768px) {
  .wp-content-inner {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 64px;
  }
}

/* PDF資料管理で差し替えた日。初期資料には更新日を作らない。 */
.document-updated {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #666;
}

/* 管理画面の分類から質問を絞り、会話の形で回答を案内する。 */
.faq-panel [hidden] {
  display: none;
}

.faq-results {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.faq-results:empty {
  display: none;
}

.faq-choices li {
  max-width: 100%;
}

button.faq-choice {
  max-width: 100%;
  font-family: inherit;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.faq-reply {
  justify-self: end;
  max-width: 90%;
  margin: 0;
  padding: 10px 16px;
  border-radius: 14px 4px 14px 14px;
  background: var(--green);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.faq-answer-body {
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.faq-answer-body p + p {
  margin-top: 8px;
}

.faq-answer-body img,
.faq-answer-body video {
  max-width: 100%;
  height: auto;
}

.faq-answer-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.faq-step {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--paper-line-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.faq-step:hover {
  background: var(--paper-deep);
}

.faq-send:not(:disabled) {
  background: var(--green);
  color: var(--paper);
  cursor: pointer;
}

.faq-prompt:focus-visible,
.faq-answer-body:focus-visible,
.faq-choice:focus-visible,
.faq-step:focus-visible,
.faq-send:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
