/* =========================================================
   さくら坂整形外科・リハビリテーションクリニック
   WordPress 追加CSS

   静的サイトの style.css を、すべて .style 配下にスコープしたもの。
   各固定ページの最上位グループブロックに className "style" を付けること。

   ★ セレクタの先頭には必ず .style が付いている。
      直すときも .style を消さないこと。消すと Cocoon 全体に漏れる。
   ★ :root のデザイントークンも .style に移してある。
      .style の外では変数が未定義になる。
   ========================================================= */

/* =========================================================
   さくら坂整形外科・リハビリテーションクリニック（サンプル）
   デモサイト用スタイルシート

   構成
     1. トークン（色・文字・余白）
     2. リセットと土台
     3. 部品（ボタン・見出し・カードなど）
     4. ヘッダー／ナビ／デモ告知バー
     5. 本日の診療状況バー
     6. ヒーローと人体図
     7. 各セクション
     8. 診療時間表・アクセス
     9. フォーム
    10. フッター
    11. スマホ対応（最後に置くこと）
   ========================================================= */


/* =========================================================
   1. トークン
   ========================================================= */

.style {
  /* 色は6つだけ。増やさないこと。
     alert は「休業・中止」の意味を持たせているので、装飾に使わない */
  --ink:        #1a1614;   /* 本文 */
  --ink-soft:   #5f574f;   /* 補足・キャプション */
  --line:       #e6e0d6;   /* 罫線 */
  --paper:      #faf8f4;   /* 地色 */
  --surface:    #ffffff;   /* カード */
  --brand:      #8c7238;   /* ゴールドブラウン。見出し・リンク・主ボタン */
  --brand-deep: #5f4d24;
  --brand-tint: #f0ead9;   /* 金の薄い面 */
  --alert:      #a33a2a;   /* 休業日・注意。ここ以外で使わない */

  --radius:     4px;
  --radius-lg:  10px;

  --wrap:       1120px;
  --space-section: 96px;

  --shadow-sm: 0 1px 2px rgba(26, 22, 20, .06);
  --shadow-md: 0 2px 14px rgba(26, 22, 20, .07);

  --font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho",
                  "MS PMincho", serif;
}


/* =========================================================
   2. リセットと土台
   ========================================================= */

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

.style { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  .style { scroll-behavior: auto; }
  .style *, .style *::before, .style *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

.style {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

.style img, .style svg { max-width: 100%; height: auto; vertical-align: middle; }

/* ★ hidden 属性を確実に効かせる。
   display を指定したクラスがあると、ブラウザ既定の
   [hidden]{display:none} が負けて消えなくなる。 */
.style [hidden] { display: none !important; }

.style a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.style a:hover { color: var(--brand-deep); }

.style :focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.style .wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.style .skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}
.style .skip-link:focus { left: 0; }

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


/* =========================================================
   3. 部品
   ========================================================= */

/* --- 見出し --------------------------------------------- */

.style .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
}

/* 最小値は19px。
   「診断と、その後のリハビリを、」（14文字）を <br> の1行目にしたため、
   320pxの画面（使える幅272px）でもこの14文字が収まる必要がある。
     272 ÷ 14 = 19.4px（1文字あたり）→ 字間.02em を差し引いて 19px
   21pxのままだと 320px で3行に割れた（2026-09-17 実測）。
   ※ clamp の最小値はスマホでしか効かない。パソコン（34px）は変わらない */
.style .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 3vw, 34px);
  line-height: 1.5;
  letter-spacing: .02em;
  margin: 0 0 14px;
}

.style .section-lead {
  max-width: 34em;
  margin: 0 0 40px;
  color: var(--ink-soft);
}

.style .section-head--center {
  text-align: center;
}
.style .section-head--center .section-lead { margin-inline: auto; }

/* --- ボタン --------------------------------------------- */

.style .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.style .btn--primary {
  background: var(--brand);
  color: #fff;
}
.style .btn--primary:hover { background: var(--brand-deep); color: #fff; }

.style .btn--ghost {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.style .btn--ghost:hover { background: var(--brand-tint); color: var(--brand-deep); }

.style .btn--tel {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .04em;
}

.style .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* --- リンクの矢印 --------------------------------------- */

.style .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}
.style .arrow-link::after {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  transition: width .18s ease;
}
.style .arrow-link:hover::after { width: 28px; }

/* --- カード --------------------------------------------- */

.style .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

/* --- 写真 ------------------------------------------------
   画像がまだ無いときは、薄い緑の面と説明が出る（main.js が切り替える）
   -------------------------------------------------------- */

.style .photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-tint) 0%, #f6f1e8 100%);
  border-radius: var(--radius-lg);
}
.style .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.style .photo--3x4 { aspect-ratio: 3 / 4; }
.style .photo--wide { aspect-ratio: 16 / 9; }

.style .photo__fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.9;
}
.style .photo__fallback::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(31, 92, 77, .3);
  border-radius: 6px;
  pointer-events: none;
}
.style .photo.is-missing .photo__fallback { display: grid; }
.style .photo.is-missing img { display: none; }

/* --- セクション ----------------------------------------- */

.style .section { padding-block: var(--space-section); }
.style .section--tint { background: var(--brand-tint); }
.style .section--surface { background: var(--surface); }

.style .section + .section--tint, .style .section + .section--surface { padding-block: var(--space-section); }


/* =========================================================
   4. デモ告知バー・ヘッダー・ナビ
   ========================================================= */

.style .demo-bar {
  background: var(--ink);
  color: #d7e0e0;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 7px 16px;
}
.style .demo-bar strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: .16em;
  margin-right: 10px;
}

/* --- ヘッダー（飲食店向け・2026-09-21 改装） ------------------
   参考サイトと同じ組み立てにしている。

     金色の帯（全幅）
       左　　ロゴ（文字だけ）
       中　　ナビ。英字の下に日本語を敷く2段
       右端　★黒いブロック：電話番号 ／ ネット予約

   ★クリニック版との違い
     ・白い帯 → 金色の帯、文字は白抜き
     ・ロゴのマーク（緑の葉）は使わない。文字だけにする
     ・予約ボタンは★外部の予約システムへ飛ばす

   ★position は sticky にしている（fixed ではない）
     参考サイトは fixed で写真の上に帯を重ねているが、
     その形にすると「帯の高さぶん本文を下げる」指定が全ページに要る。
     DEMOバーの有無でも高さが変わるため、条件分岐が増える。
     sticky なら帯が場所を取るので、余白の計算が一切要らない。
     スクロール後の見え方は同じ。
   -------------------------------------------------------- */

.style .site-header {
  /* ★固定。スクロールしても帯は画面上に残り、本文がその下を流れる */
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 64px;
  background: var(--brand);
  color: #fff;
}

/* ★固定にすると帯が場所を取らなくなるので、同じ高さの空き箱を置いて
   本文が帯の下に潜り込まないようにする（functions.php が出力）。
   ヒーローだけは、この空き箱ぶん引き上げて帯の下にもぐらせる。 */
.style .header-spacer { height: 64px; }
.style .hero { margin-top: -64px; }

/* ★DEMOバーを出しているときは、もぐらせない。
   帯とDEMOバーが上下に並ぶため、引き上げるとDEMOバーに重なってしまう。
   本番（$is_demo = false）ではこの指定は効かない。 */
body:has(.demo-bar) .style .hero { margin-top: 0; }

/* ★帯は全幅。中身も左端から始める（.wrap で中央に寄せない）。
   右端の黒ブロックを画面の端まで届かせるため。 */
/* ★帯は全幅。中身は左端から始める（.wrap で中央に寄せない）。
   右端の黒ブロックを画面の端まで届かせるため。

   ★2026-09-21 メモ
   本文の左端に揃えようとして
     padding-left: max(24px, calc((100% - var(--wrap)) / 2))
   を入れたが、画面が広いと左の余白が数百pxになり、
   右端の黒ブロックが画面からはみ出して崩れた。
   固定値に戻している。 */
.style .site-header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 22px;
}

.style .brand {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.style .brand__mark { display: none; }   /* マークは使わず、文字だけのロゴにする */
.style .brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .14em;
}
.style .brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  opacity: .85;
}

/* ナビ。英字の下に日本語を敷く2段組 */
.style .nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.style .nav__list a {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: .14em;
  line-height: 1.4;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.style .nav__list a span {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: .06em;
  opacity: .85;
}
.style .nav__list a:hover,
.style .nav__list a[aria-current="page"] {
  color: #fff;
  border-bottom-color: #fff;
}

/* 右端の黒いブロック。電話とネット予約を縦線で分ける */
.style .header-actions {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  height: 100%;
  background: var(--ink);
}

.style .header-tel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1px;
  padding: 0 22px;
  color: #fff;
  text-decoration: none;
}
.style .header-tel__num {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
}
.style .header-tel__label {
  font-size: 10.5px;
  letter-spacing: .1em;
  color: #cdbd93;
}

/* ★予約ボタンは外部の予約システムへ飛ばす。
   別タブで開き、rel="noopener" を付けている（functions.php 側）。 */
.style .btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.style .btn-reserve:hover { background: #7a6230; color: #fff; }
.style .btn-reserve__short { display: none; }

.style .nav-toggle { display: none; }

/* =========================================================
   5. 本日の診療状況
   ========================================================= */

.style .status {
  background: var(--ink);
  color: #ece5d8;
}
.style .status__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  min-height: 46px;
  padding-block: 8px;
  font-size: 14.5px;
}
.style .status__date {
  color: #9fb1b0;
  letter-spacing: .04em;
}
.style .status__state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}
.style .status__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #6b7d7b;
  flex: none;
}
.style .status--open .status__dot {
  background: #63c79b;
  box-shadow: 0 0 0 4px rgba(99, 199, 155, .18);
}
.style .status--soon .status__dot { background: #e0a64a; }
.style .status--closed .status__dot { background: #8b9a99; }
.style .status__detail { color: #b9c7c5; }
.style .status__link {
  margin-left: auto;
  color: #9ad8bd;
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 216, 189, .4);
}
.style .status__link:hover { color: #c6ecdb; }


/* =========================================================
   6. ヒーローと人体図
   ========================================================= */
/* --- ヒーロー（全面写真型・2026-09-16 改装） ------------------
   写真を全面に敷き、その上に白抜きの見出しを重ねる。

   ★ .hero に必ず背景（深緑のグラデーション）を持たせてある。
     写真が無くても・読み込めなくても、文字が読めなくなることはない。
   ★ backdrop-filter は使わない（スマホで横スクロールが出る）。
   -------------------------------------------------------- */
.style .hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;                 /* 文字は下寄せ */
  min-height: clamp(460px, 74vh, 700px);
  padding-block: clamp(48px, 9vw, 96px);
  /* ★写真が無いときの下地。レストランは暗い下地＋白文字にする。
     クリニックは明るい下地＋濃い文字だった。ここが反転している箇所。 */
  background: linear-gradient(120deg, #241f1b 0%, #1a1614 60%, #2b241c 100%);
  color: #fff;
}

.style .hero__media { position: absolute; inset: 0; }
.style .hero__media.is-missing img { display: none; }

/* ★写真を重ねて置き、いま見せる1枚だけ不透明にする（スライドショー）。
   写真が1枚だけのサイトでも、そのまま動く（is-active を付けておく）。 */
.style .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.style .hero__media img.is-active { opacity: 1; }

/* JSが動かない環境でも1枚目は見えるよう、HTML側の1枚目に
   is-active を付けてある。この保険は不要になったので置かない */

/* ★ 膜のかけ方（2026-09-21 に濃度を見直し）

   はじめ左を 84% の黒膜で覆っていたが、この写真は左の平均が 50 と
   もともと暗く、膜をかけると約30まで落ちて写真がほぼ見えなくなった。

   そこで2枚重ねにしている。
     1枚目 横方向　左を軽く落とす（60% → 4%）
     2枚目 縦方向　下だけ落とす（文字が下寄せのため）

   下half の重なりで、文字の背後は実効 約86% になる。
   写真の上半分は素の明るさが残るので、店内の様子が見える。 */
.style .hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, .40) 72%,
      rgba(0, 0, 0, .68) 100%),
    linear-gradient(100deg,
      rgba(26, 22, 20, .60) 0%,
      rgba(26, 22, 20, .46) 45%,
      rgba(26, 22, 20, .22) 70%,
      rgba(26, 22, 20, .04) 100%);
}


/* ★ .wrap の中に入れ子にしてある。
   .wrap と max-width を同じ要素に付けると、箱ごと中央に置かれてしまう。
   入れ子にすると、文字の左端がヘッダの左端と揃う。 */
.style .hero__inner {
  position: relative; z-index: 1;
  max-width: 680px;
  margin-inline-end: auto;
}

.style .hero__eyebrow { color: #e0cb96; }

.style .hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.4vw, 60px);
  line-height: 1.4;
  letter-spacing: .02em;
  margin: 0 0 26px;
  color: #fff;
  /* 暗い側ににじみを置いて、明るい画素の上でも輪郭を保つ */
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.style .hero__title em { font-style: normal; color: #d9bd7d; }

.style .hero__note {
  margin-top: 26px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}

/* 暗い膜の上に置くので、白い線と白い文字の中抜きにする */
.style .btn--hero-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}
.style .btn--hero-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

/* --- 人体図 --------------------------------------------- */

.style .bodymap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-md);
}

.style .bodymap__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}
.style .bodymap__hint {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.style .bodymap__stage {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.style .bodymap__figure { width: 100%; display: block; }

/* 図が薄すぎると人の形に見えないので、地色よりはっきり濃くする。
   輪郭線（stroke）は付けないこと。左右を鏡写しで描いているため、
   線を付けると体の中心に縦線が出てしまう。 */
.style .bodymap__body {
  fill: #c3dace;
}
.style .bodymap__hit {
  fill: rgba(31, 92, 77, .001);
  cursor: pointer;
  transition: fill .18s ease;
}
.style .bodymap__hit:hover { fill: rgba(31, 92, 77, .2); }
.style .bodymap__hit.is-active { fill: rgba(31, 92, 77, .42); }

.style .bodymap__panel { min-height: 0; }
.style .bodymap__region {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--brand);
}
.style .bodymap__symptoms {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.style .bodymap__symptoms li { position: relative; padding-left: 15px; }
.style .bodymap__symptoms li::before {
  content: "";
  position: absolute; left: 0; top: .78em;
  width: 6px; height: 1px;
  background: var(--brand);
}

.style .bodymap__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.style .bodymap__btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.style .bodymap__btn:hover { border-color: var(--brand); color: var(--brand); }
.style .bodymap__btn[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}


/* =========================================================
   7. 各セクション
   ========================================================= */

/* --- 選ばれる理由 --------------------------------------- */

.style .reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.style .reason {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
}
.style .reason__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--brand);
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--brand-tint);
}
.style .reason__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 10px;
}
.style .reason__text {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* --- 診療案内 ------------------------------------------- */

.style .menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.style .menu-item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.style .menu-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--ink);
}
.style .menu-item__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--brand);
}
.style .menu-item__text {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* --- リハビリの流れ ------------------------------------- */

.style .flow {
  counter-reset: flow;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.style .flow__step {
  counter-increment: flow;
  position: relative;
  padding: 26px 0 26px 74px;
  border-bottom: 1px solid var(--line);
}
.style .flow__step:last-child { border-bottom: 0; }
.style .flow__step::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0; top: 26px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .04em;
}
.style .flow__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}
.style .flow__text {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* --- 院長紹介 ------------------------------------------- */

.style .doctor {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.style .doctor__name {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0 0 4px;
}
.style .doctor__name span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 12px;
  letter-spacing: .06em;
}
.style .doctor__role {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--brand);
  margin: 0 0 22px;
}
.style .doctor__body p { margin: 0 0 18px; }
.style .doctor__list {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.style .doctor__list li { padding-left: 16px; position: relative; }
.style .doctor__list li::before {
  content: "";
  position: absolute; left: 0; top: .85em;
  width: 7px; height: 1px; background: var(--brand);
}

/* --- お知らせ ------------------------------------------- */

.style .news {
  margin: 0; padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.style .news__item { border-bottom: 1px solid var(--line); }
.style .news__link {
  display: grid;
  grid-template-columns: 120px 96px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  text-decoration: none;
  color: var(--ink);
}
.style .news__link:hover { color: var(--brand); }
.style .news__date {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.style .news__tag {
  justify-self: start;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  white-space: nowrap;
}
.style .news__tag--alert { background: #f6e4de; color: var(--alert); }
.style .news__title { font-size: 16px; font-weight: 500; }

.style .news-article { border-bottom: 1px solid var(--line); padding: 30px 0; }
.style .news-article:first-of-type { border-top: 1px solid var(--line); }
.style .news-article__meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.style .news-article__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}
.style .news-article__body { margin: 0; color: var(--ink-soft); }


/* =========================================================
   8. 診療時間表・アクセス
   ========================================================= */

.style .hours-table-wrap { overflow-x: auto; }

.style .hours-table {
  width: 100%;
  min-width: 486px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}
.style .hours-table th, .style .hours-table td {
  border: 1px solid var(--line);
  padding: 13px 8px;
  text-align: center;
}
.style .hours-table thead th {
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  letter-spacing: .06em;
}
.style .hours-table tbody th {
  background: var(--brand-tint);
  font-weight: 500;
  white-space: nowrap;
  font-family: var(--font-display);
  letter-spacing: .03em;
}
.style .hours-table .mark { color: var(--brand); font-size: 17px; }
.style .hours-table .mark--half { color: var(--brand); font-size: 14px; }
.style .hours-table .mark--none { color: #b3bfbd; }
.style .hours-table td.is-today { background: #f7f2e8; }
.style .hours-table th.is-today { background: var(--brand-deep); }

.style .hours-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.style .hours-note--alert { color: var(--alert); font-weight: 500; }

.style .access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.style .info-list {
  margin: 0;
  border-top: 1px solid var(--line);
}
.style .info-list__row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.style .info-list dt {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.style .info-list dd { margin: 0; font-size: 15.5px; }

.style .map-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(0deg, #f3efe6 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #f3efe6 0 1px, transparent 1px 34px),
    #fbf8f2;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .1em;
}

/* 埋め込み枠（予約システム・地図など、提供元がくれるコードを置く場所）

   ★ 提供元のコードは書き換えないこと。
     Airリザーブは「発行されたコードは書き換えないでください」と
     はっきり書いている。iframe には width="600" height="450" のように
     数値がベタ書きされているが、タグには触らず、
     この枠の側から CSS で打ち消す。 */
.style .embed-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;          /* 角丸から中身がはみ出さない */
  background: #fbf8f2;       /* 読み込み中に見える色 */
}
.style .embed-frame iframe {
  display: block;            /* 下にすき間ができるのを防ぐ */
  width: 100%;               /* 提供元の width="600" を打ち消す */
  border: 0;
}

/* 地図は横長。枠の比率で高さを決める */
.style .embed-frame--map { aspect-ratio: 4 / 3; }
.style .embed-frame--map iframe { height: 100%; }

/* 予約カレンダーは縦長で、中で自分でスクロールする。
   実際の画面を見てから、この1か所の数字だけを調整する */
.style .embed-frame--booking iframe { height: 760px; }


/* =========================================================
   9. フォーム
   ========================================================= */

.style .form { max-width: 640px; }
.style .form__row { margin-bottom: 24px; }
.style .form__label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.style .form__req {
  font-size: 11px;
  letter-spacing: .08em;
  color: #fff;
  background: var(--alert);
  border-radius: 3px;
  padding: 2px 7px;
  margin-left: 10px;
  vertical-align: 2px;
}
.style .form__input, .style .form__textarea, .style .form__select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}
.style .form__input:focus, .style .form__textarea:focus, .style .form__select:focus {
  border-color: var(--brand);
  outline: 2px solid rgba(31, 92, 77, .2);
  outline-offset: 0;
}
.style .form__textarea { min-height: 170px; resize: vertical; }
.style .form__help { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-soft); }

.style .form__notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--brand-tint);
  font-size: 14.5px;
}

.style .form__result {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--alert);
  background: #fdf4f1;
  font-size: 14.5px;
}


/* =========================================================
   10. フッター
   ========================================================= */

.style .site-footer {
  background: var(--ink);
  color: #cfc6b4;
  padding-block: 60px 28px;
  font-size: 14.5px;
}
.style .site-footer a { color: #cfc6b4; text-decoration: none; }
.style .site-footer a:hover { color: #fff; }

.style .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.style .footer-brand__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.style .footer-brand p { margin: 0 0 6px; }

.style .footer-heading {
  font-size: 12px;
  letter-spacing: .16em;
  color: #7e908f;
  margin: 0 0 14px;
}
.style .footer-links {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 9px;
}

.style .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
  color: #8b9c9b;
}


/* =========================================================
   10.5 下層ページ用の部品
   ========================================================= */

/* --- ページ見出し --------------------------------------- */

.style .page-head {
  background:
    radial-gradient(760px 320px at 20% 0%, #f2ece1 0%, rgba(237,243,240,0) 70%),
    var(--paper);
  padding-block: clamp(40px, 5vw, 64px) clamp(36px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.style .page-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.45;
  margin: 0 0 12px;
}
.style .page-head__lead {
  max-width: 38em;
  margin: 0;
  color: var(--ink-soft);
}

.style .breadcrumb {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.style .breadcrumb li + li::before { content: "／"; margin-right: 8px; color: #b9c4c1; }
.style .breadcrumb a { text-decoration: none; }

/* --- 本文組版 ------------------------------------------- */

.style .prose { max-width: 44em; }
.style .prose h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  margin: 44px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
}
.style .prose h3:first-child { margin-top: 0; }
.style .prose p { margin: 0 0 18px; }
.style .prose ul { margin: 0 0 18px; padding-left: 1.3em; }
.style .prose li { margin-bottom: 8px; }

/* --- ページ内リンク（診療案内の部位ジャンプ） ----------- */

.style .anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.style .anchor-nav a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14.5px;
  text-decoration: none;
  color: var(--ink);
}
.style .anchor-nav a:hover { border-color: var(--brand); color: var(--brand); }

/* --- 診療内容のかたまり -------------------------------- */

.style .topic {
  padding-block: 46px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 130px;
}
.style .topic:first-of-type { border-top: 0; padding-top: 8px; }
.style .topic__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin: 0 0 8px;
}
.style .topic__sub {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--brand);
  margin: 0 0 20px;
}
.style .topic__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.style .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.style .tag-list li {
  font-size: 13.5px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-deep);
}

/* --- スタッフ ------------------------------------------- */

.style .staff {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.style .staff__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 4px;
}
.style .staff__role { margin: 0; font-size: 14px; color: var(--brand); }
.style .staff__text { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-soft); }

/* --- 設備 ----------------------------------------------- */

.style .equipment {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}
.style .equipment li {
  background: var(--surface);
  padding: 22px 24px;
}
.style .equipment strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  margin-bottom: 6px;
}
.style .equipment span { font-size: 14px; color: var(--ink-soft); }

/* --- よくある質問 --------------------------------------- */

.style .faq { border-top: 1px solid var(--line); }
.style .faq__item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.style .faq__q {
  display: flex;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  margin: 0 0 10px;
}
.style .faq__q::before { content: "Q"; color: var(--brand); flex: none; }
.style .faq__a {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.style .faq__a::before {
  content: "A";
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}


/* =========================================================
   10.5 レストラン用に新規で追加した部品（2026-09-21）

   クリニックのテンプレートには無かったもの。
   ★他業種に流用するときは、この節ごとコピーする。
   ========================================================= */

/* --- 営業時間（飲食店向け・2026-09-21） -------------------
   クリニックの .hours-table（曜日を横に並べ ●▲— で示す表）は
   「診療時間」の見え方そのものだったため、飲食店では使わない。

   ★飲食店は「ランチとディナーが何時から何時まで」が分かればよい。
     曜日ごとの細かい差は、注記1行で足りる。
   ★表をやめると、スマホでの横スクロールも起きない。 */

.style .hours-simple {
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
}

.style .hours-simple__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 4px 28px;
  align-items: baseline;
  padding: 24px 2px;
  border-bottom: 1px solid var(--line);
}

.style .hours-simple__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--brand);
}

.style .hours-simple__time {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}

/* 注記は時間の下に置く。ラベル列には入れない */
.style .hours-simple__note {
  grid-column: 2;
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* メニューページで使う中見出し。
   ★インラインstyleを書かないためのクラス。
   h2 と同じ見た目の系統で、ひと回り小さくする */
.style .section-title--sub {
  font-size: 22px;
  margin-top: 48px;
}

/* --- コースカード（写真＋価格） ---------------------------
   クリニックの .reason（文字だけのカード）に写真と価格を足した形。
   構造は同じなので、並べ方の指定は .reasons をまねている。 */

.style .course-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.style .course {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;              /* 写真の角をカードの角に合わせる */
  display: flex;
  flex-direction: column;
}

.style .course__photo { aspect-ratio: 4 / 3; background: var(--brand-tint); }
.style .course__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.style .course__body { padding: 22px 22px 26px; }

.style .course__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.style .course__price {
  display: block;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .03em;
}

.style .course__text {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* --- 料理の一覧（品名と価格） -----------------------------
   ★ table ではなく dl/ul にしている。
     スマホで横スクロールを出さないため。
     品名が長くても、価格は右端に残る。 */

.style .dish-list {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.style .dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 20px;
  align-items: baseline;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}

.style .dish__name { font-weight: 500; }

.style .dish__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;           /* 「1,800円」を途中で折らない */
}

/* 補足は2列を またいで下に置く */
.style .dish__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* =========================================================
   11. スマホ対応
   ここより下に新しい規則を足さないこと（上書きされます）
   ========================================================= */



@media (max-width: 900px) {
  /* 1列に落とすときは minmax(0, 1fr) にすること。
     ただの 1fr だと「中身より狭くなれない」ため、
     診療時間表のような幅の決まった要素がページ全体を横に押し広げる。 */
  .style .doctor { grid-template-columns: minmax(0, 1fr); }
  .style .access { grid-template-columns: minmax(0, 1fr); }
  .style .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .style .topic__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {


  /* 予約カレンダーはスマホでは少し低くする。
     ここは @media の中。外に書くと効かない（過去に2回やった） */
  .style .embed-frame--booking iframe { height: 620px; }
  .style { --space-section: 60px; }

  .style .wrap { width: calc(100% - 32px); }

  .style { font-size: 16px; line-height: 1.85; }
  /* --- ナビをハンバーガーに ---
     ★帯が金色になったので、線とバーを白にしている */
  .style .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .style .nav-toggle__bar {
    display: block;
    width: 20px; height: 1.5px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
  }
  .style .nav-toggle__bar + .nav-toggle__bar { margin-top: 5px; }
  .style .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .style .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .style .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .style .site-header { height: 58px; }
  .style .site-header__inner { gap: 10px; padding-left: 16px; padding-right: 12px; }

  /* ★スマホでは右端の黒ブロックごと隠す。
     電話とネット予約は、画面下の固定バーに出す（参考サイトと同じ形）。 */
  .style .header-actions { display: none; }

  .style .brand__name { font-size: 15px; letter-spacing: .1em; }
  .style .brand__sub { font-size: 9.5px; letter-spacing: .18em; }

  /* 引き出し式のメニュー。帯が金色なので、中は白地のまま読みやすくする */
  .style .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: 80px 26px 34px;
    transform: translateX(100%);
    transition: transform .24s ease;
    z-index: 55;
    overflow-y: auto;
  }
  .style .nav.is-open { transform: translateX(0); }
  .style .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .style .nav__list li + li { border-top: 1px solid var(--line); }
  .style .nav__list a {
    display: block;
    text-align: left;
    padding: 15px 2px;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 0;
  }
  .style .nav__list a span { font-size: 12px; opacity: 1; color: var(--brand); }
  .style .nav__list a[aria-current="page"] { border-bottom: 0; color: var(--brand); }

  .style .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(26, 22, 20, .42);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
  }
  .style .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  /* --- 本文まわり --- */

  /* ヒーロー上下の余白。
     ・余りが上に溜まらないよう上寄せ（下寄せのままだと帯との間が144px空いた）
     ・min-height 68vh のままだと、中身が短いぶん写真だけの帯が下に残る
       → スマホでは高さを指定せず、中身＋余白ぶんだけにする */
  .style .hero {
    align-items: start;
    min-height: 0;
    padding-block: 28px 32px;
  }

  /* 本日の診療状況バー。スマホでは縦に伸びて目立ちすぎるので詰める。
     ・本文の行間1.9をそのまま使うと、1行あたり27pxを食う → 1.5に
     ・リンクを width:100% にしていたため、必ず3行目ができていた → 解除
     狙い：日付＋状態／時間＋リンク の2行に収める */
  .style .status__inner {
    font-size: 12.5px;
    line-height: 1.5;
    gap: 3px 12px;
    min-height: 0;
    padding-block: 6px;
  }
  .style .status__date { font-size: 12px; }
  .style .status__detail { font-size: 12px; }
  .style .status__link { margin-left: 0; font-size: 12px; }
  .style .status__dot { width: 7px; height: 7px; }
  .style .status--open .status__dot { box-shadow: 0 0 0 3px rgba(99, 199, 155, .18); }

  .style .bodymap { padding: 20px 18px 18px; }
  .style .bodymap__stage { grid-template-columns: 108px minmax(0, 1fr); gap: 16px; }
  .style .bodymap__panel { min-height: 0; }

  .style .btn { width: 100%; }
  .style .btn-row { gap: 10px; }

  /* 見出しを1行に収めるため、スマホだけ字間を詰める */
  .style .section-title { letter-spacing: 0; }

  .style .flow__step { padding: 22px 0 22px 60px; }
  .style .flow__step::before { width: 40px; height: 40px; top: 22px; font-size: 13px; }

  .style .news__link {
    grid-template-columns: auto auto;
    grid-template-areas: "date tag" "title title";
    gap: 6px 14px;
    padding: 18px 0;
  }
  .style .news__date { grid-area: date; }
  .style .news__tag { grid-area: tag; }
  .style .news__title { grid-area: title; font-size: 15.5px; }

  .style .info-list__row { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }

  .style .topic__grid { grid-template-columns: 1fr; }
  .style .topic { padding-block: 34px; scroll-margin-top: 90px; }

  .style .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 460px) {
  .style .brand__mark { width: 34px; height: 34px; }
  .style .brand__name { font-size: 15.5px; }
  .style .brand__sub { font-size: 10.5px; }
  .style .bodymap__stage { grid-template-columns: 1fr; }
  .style .bodymap__figure { max-width: 160px; margin-inline: auto; }
}

@media print {
  .style .demo-bar, .style .nav, .style .nav-toggle, .style .status, .style .site-footer { display: none; }
  .style { background: #fff; }
}

/* ★ かつてスマホだけ見出しを先頭に出す指定を置いていたが、
   英字ラベルだけが見出しの下に落ちて、パソコンと並びがずれた。
   説明文を削って要素が減った今は、並べ替える必要がない。
   2026-09-17 に撤去。パソコンとスマホで同じ並びにする。 */

/* レストラン用に追加した部品のスマホ対応
   ★この指定は @media の中に置くこと。外に書くと効かない */
@media (max-width: 900px) {
  .style .course-list { grid-template-columns: minmax(0, 1fr); }
}

/* 営業時間のスマホ対応。ラベルを上に、時間を下に積む */
@media (max-width: 600px) {
  .style .hours-simple__row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 20px 2px; }
  .style .hours-simple__note { grid-column: 1; }
}

/* 固定ヘッダーの高さはスマホで58px。空き箱も合わせる */
@media (max-width: 780px) {
  .style .site-header { height: 58px; }
  .style .header-spacer { height: 58px; }
  .style .hero { margin-top: -58px; }
  body:has(.demo-bar) .style .hero { margin-top: 0; }
}
