/* ============================================================
   テンプレート B_v1 ── エステ・個室サロン(料金表と空間)
   「灯りを落とした個室」。方針は docs/design/B_v1.md

   - グレージュ1色相の濃淡だけで組む。差し色は --deep の1色、有彩色は使わない。
     写真(よもぎの緑、木、布)だけが色を持つ状態にして、UIが主張しないようにする
   - 書体はゴシック1系統。料金の数字が小さい画面で最も読みやすい
   - 影は使わない。面の濃淡と罫線だけで区切る
   - 画面幅の区切りは 860px の1つだけ(確認所見の3)。
     区切りを2つにするとタブレットの縦向きで予約への常設導線が消えるため
   - JavaScript は使わない
   ============================================================ */

:root {
  --bg:            #ece7e0;  /* ページの背景。A_v1 より一段暗くし、室内にいる印象を出す */
  --bg-tint:       #e0d9d0;  /* 区切りたいセクション(初めての方へ、営業時間・アクセス、案内の帯) */
  --surface:       #f6f3ee;  /* 料金表のパネル、入力欄の内側 */
  --ink:           #3a342f;  /* 本文・見出し・料金・フッター */
  --ink-soft:      #5f574f;  /* 補足・注意書き・日付 */
  --line:          #cfc6bb;
  /* 入力欄の枠。方針書の #8f857a は外側の背景(--bg)に対して 2.94 で基準 3.0 に届かなかった
     (確認所見の1)。--bg に 3.15、--surface に 3.50 */
  --line-strong:   #8a8075;
  --deep:          #5c5249;  /* 差し色。押せるものと「期間限定」の札だけに塗る */
  --on-deep:       #f6f3ee;
  --on-deep-soft:  #d9d1c7;

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "YuGothic", Meiryo, sans-serif;

  --pad: clamp(20px, 5.5vw, 40px);
  --section: clamp(48px, 11vw, 88px);
  --radius: 6px;
  --text-max: 680px;
  --page-max: 960px;
  --bar-h: 56px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;            /* 幅広い年齢が読むため A_v1(15px)より大きく */
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
figure { margin: 0; }

/* キーボード操作時の輪郭。消さない */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

/* ---------- ヘッダー ---------- */

.site-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.head-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand { text-decoration: none; display: block; max-width: 60%; }
.brand img { height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.brand-text { font-size: 16px; letter-spacing: 0.12em; }
.head-nav { display: none; }

/* ---------- ヒーロー ---------- */

/* 高さは写真ではなく枠が持つ。写真が無いときは --deep の塗りになる。
   画面いっぱいにしないのは、直下の案内の帯を最初の画面に入れ、料金まで1回のスクロールで届かせるため。
   min-height にして、キャッチコピーが長いときは文字に合わせて伸ばす(切らない) */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  min-height: clamp(320px, 62vh, 520px);
  min-height: clamp(320px, 62svh, 520px);
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 唯一の演出。拡大率だけを動かし、透明度は動かさない(最初の表示を遅く見せない) */
  animation: hero-settle 6s ease-out both;
}
@keyframes hero-settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px var(--pad) clamp(28px, 6vw, 48px);
  color: var(--on-deep);
}
/* 濃い下地は写真全体ではなく文字の箱に持たせる。
   方針書の「写真の下 40% にグラデーション」では、白壁・ベージュ基調の明るい写真
   (この業種では普通)のとき、店名と2〜3行目のキャッチコピーが薄い位置に来て読めなくなる
   (quality-reviewer の指摘)。文字が何行になっても下地が追いかける形にする。
   上端 48px でだけ透明へ溶かし、写真との境目を出さない */
.hero:not(.no-photo) .hero-copy {
  max-width: none;
  background: linear-gradient(to top,
    rgba(58, 52, 47, 0.75) 0,
    rgba(58, 52, 47, 0.75) calc(100% - 48px),
    rgba(58, 52, 47, 0) 100%);
}
.hero:not(.no-photo) .hero-copy > * {
  max-width: calc(var(--page-max) - var(--pad) * 2);
  margin-left: auto;
  margin-right: auto;
}
.hero-name { font-size: 13px; letter-spacing: 0.2em; line-height: 1.4; margin-bottom: 12px; }
.hero-catch {
  font-size: clamp(22px, 5.6vw, 38px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin: 0;
}

/* 短い文は文節の切れ目でだけ改行する。生成処理の phrase_wrap が切れ目に <wbr> を入れ、
   末尾3文字を .nobr で包む。keep-all・<wbr>・nowrap は古い iPhone の Safari から効く。
   1つの塊が1行に入りきらないときだけ、塊の中で折る(はみ出させない) */
.hero-catch, .menu-name, .menu-desc, .menu-until, .feature h3, .steps h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}
.nobr { white-space: nowrap; }

/* ---------- 案内の帯(スマホ・タブレット) ---------- */

.guide-strip {
  display: flex;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.guide-strip a {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.guide-strip a + a { border-left: 1px solid var(--line); }

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

.section { padding: var(--section) 0; }
.section.tinted { background: var(--bg-tint); }
/* お知らせが無いと「初めての方へ」と「営業時間・アクセス」が同じ色で続き、1つの塊に見える */
.section.tinted + .section.tinted { border-top: 1px solid var(--line); }
.inner { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad); }
/* 文字主体のセクションも枠は 960px にそろえ、中身の幅だけを 680px に絞る(左端をそろえる)。
   枠ごと 680px で中央に置くと、PCで見出しの左端がセクションごとに左右へ動く(quality-reviewer の指摘) */
.inner.text > * { max-width: var(--text-max); }

/* 見出しは太さではなく、大きさ・字間・上の短い線で区別する */
.heading {
  font-size: clamp(19px, 4.6vw, 24px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin: 0 0 24px;
}
.heading::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--deep);
  margin-bottom: 16px;
}

/* ---------- メニュー・料金 ---------- */

.tax-note { font-size: 13px; color: var(--ink-soft); margin: -12px 0 24px; }

.menu-group + .menu-group { margin-top: 32px; }
.menu-group-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0 16px;
  background: var(--surface);
  border-radius: var(--radius);
}
/* 期間限定は位置(分類の先頭)と上辺の線で示す。形は通常と同じ一覧 */
.menu-limited .menu-list { border-top: 2px solid var(--deep); }

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 0;
}
.menu-row + .menu-row { border-top: 1px solid var(--line); }
/* メニュー名の列だけ折り返す。料金の列は折り返さず幅を確保する(幅 320px でも押し出されない) */
.menu-main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.menu-name { font-size: 16px; font-weight: 600; line-height: 1.5; }
.menu-desc, .menu-until { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-top: 4px; }
.menu-price {
  flex: none;
  min-width: 6.5em;          /* 6桁(100,000円)でも列幅が揺れない */
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
/* 折り返さないのは料金だけ。添え書きまで折り返さないと、上限10字の添え書きで右の列が広がり、
   幅320pxでメニュー名が1行4〜7字に潰れる(quality-reviewer の指摘)。長い添え書きは料金の上で折る */
.menu-unit { font-size: 13px; color: var(--ink-soft); line-height: 1.4; max-width: 7em; }
.price { line-height: 1.2; white-space: nowrap; }
.price-num { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.price-yen { font-size: 13px; margin-left: 2px; }

/* 回数券・月額の注意書き。開閉にせず常に見せる。入力の改行をそのまま出す */
.package-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 12px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* ---------- 予約ボタン ---------- */

.reserve-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--deep); color: var(--on-deep); }
.btn-primary:hover { background: var(--ink); }
.btn-secondary { border: 1px solid var(--deep); color: var(--deep); }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--on-deep); }
.btn { flex-wrap: wrap; column-gap: 0.25em; }
/* 電話番号は途中で改行させない。入りきらなければ番号ごと次の行へ */
.tel-num { white-space: nowrap; }

/* ---------- こだわり ---------- */

.intro { display: flex; flex-direction: column; gap: 24px; }
.intro-photo { width: 120px; }
.intro-photo img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.intro-text { white-space: pre-line; max-width: var(--text-max); }

.feature { margin-top: 40px; }
.feature-photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.feature-text { max-width: var(--text-max); }
.feature.has-photo .feature-text { margin-top: 16px; }
/* 写真の無い項目は上に罫線を引いて区切る。写真のある項目と混在しても成立させる */
.feature:not(.has-photo) { border-top: 1px solid var(--line); padding-top: 24px; }
.feature h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.6; margin: 0 0 8px; }
.feature p { white-space: pre-line; }

/* ---------- 店内のようす ---------- */

/* 指で送る。自動では動かさない。次の写真の端を 14% 見せて、送れると分かるようにする。
   スクロールバーは隠さない(隠すとPCでマウスの人が送れなくなる) */
.space-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.space-scroller figure { scroll-snap-align: start; }
.space-scroller img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); }
.space-scroller.single { grid-auto-columns: 100%; overflow-x: visible; padding-bottom: 0; }

/* ---------- 初めての方へ ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
}
.steps li + li { margin-top: 24px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.6; margin: 0 0 4px; }
.steps p { white-space: pre-line; }

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

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list time { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; }
.news-list h3 { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.6; margin: 4px 0; }
.news-list p { white-space: pre-line; overflow-wrap: anywhere; }

/* ---------- 営業時間・アクセス ---------- */

/* スマホは HTML の順(文字 → 外観の写真 → 地図)に縦積み。PCでは外観の写真を地図の下へ回す */
.access-grid { display: flex; flex-direction: column; gap: 32px; }
.access-text { min-width: 0; }

/* 共通部品 _shared/hours.html。クラス名は部品側で決まっている */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  vertical-align: top;
}
.hours th { width: 3.2em; padding-left: 0; }   /* 行見出しは2文字(「時間」「休み」)まで */
.hours td { font-variant-numeric: tabular-nums; }
/* 時刻は割らない。幅320pxで補足の列に幅を取られ「10:00 — 20:00」が2行に割れたため。折るのは補足だけ */
.hours td:not(.note) { white-space: nowrap; }
.hours tr.closed { color: var(--ink-soft); }
.hours .note { font-size: 13px; color: var(--ink-soft); }
.hours-guide { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-top: 12px; }
.hours-guide a { color: var(--ink); }

.notice {
  margin-top: 24px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
}
.notice-head { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; margin: 0 0 8px; }
.notice ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.notice li + li { margin-top: 4px; }
.notice span { font-size: 13px; color: var(--ink-soft); }
.notice-foot { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

.info-list { margin: 24px 0 0; }
.info-list > div {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.info-list dt { font-size: 13px; color: var(--ink-soft); padding-top: 3px; }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.tel-large { font-size: 20px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

.access-note { font-size: 15px; margin-top: 16px; white-space: pre-line; }
.exterior img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius); }

/* 地図は高さを抑える。指で送るとページではなく地図が動くため、逃げ場を残す */
.map { height: 260px; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 12px; font-size: 15px; }

/* ---------- ご予約・お問い合わせ ---------- */

#contact .reserve-actions { margin-top: 0; }
.same-day, .form-lead { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-top: 16px; }
.form-lead { margin-top: 32px; }
#contact .reserve-actions + .form-lead,
#contact .same-day + .form-lead { margin-top: 32px; }

/* 共通部品 _shared/contact_form.html。明るい背景に濃い文字(入力中の文字が読みやすい) */
.contact-form { margin-top: 24px; }
.contact-form label { display: block; font-size: 15px; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr; }
.contact-form .req {
  font-size: 13px;
  color: var(--deep);
  margin-left: 8px;
}
.contact-form .req::before { content: "（"; }
.contact-form .req::after { content: "）"; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;            /* 15px以上の決まりを満たし、iOSの自動拡大も起きない */
  line-height: 1.6;
}
.contact-form .form-purpose {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.contact-form button {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  background: var(--deep);
  color: var(--on-deep);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.15s;
}
.contact-form button:hover { background: var(--ink); }

/*
  ハニーポット欄。お客様には見えないがBotのHTMLパーサからは見える状態にする。
  display:none や visibility:hidden は主要なBotが除外判定に使っているため避け、
  画面外へ飛ばす方式にしている(A_v1 と同じ)。
*/
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- フッター(共通部品) ---------- */

.site-foot { background: var(--ink); color: var(--on-deep-soft); padding: 48px 0; text-align: center; }
.foot-inner { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--pad); }
.foot-name { font-size: 16px; letter-spacing: 0.12em; color: var(--on-deep); margin: 0 0 8px; }
.foot-addr { font-size: 13px; margin: 0 0 24px; }
.sns { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 0; margin: 0 0 24px; }
.sns a { font-size: 13px; color: var(--on-deep); text-decoration: none; letter-spacing: 0.06em; }
.sns a:hover { text-decoration: underline; }
.copyright { font-size: 13px; margin: 0; }

/* ---------- 固定バー(スマホ・タブレット) ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  background: var(--deep);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.15s, color 0.15s;
}
/* バーが --deep なので配色を反転する。主は明るい塗り、副は塗りなし */
.mb-main { flex: 1.6; background: var(--surface); color: var(--ink); }
.mb-sub { flex: 1; color: var(--on-deep); }
.mobile-bar a:only-child { flex: 1; }
.mb-main:hover { background: var(--ink); color: var(--on-deep); }
.mb-sub:hover { background: var(--ink); }
/* 本文の下にバーと同じ高さの余白を取り、フッターが隠れないようにする */
body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
/* フォームに入力している間はバーを隠す(Androidでキーボードの上に乗り、入力欄を狭めるため)。
   :has に対応していないブラウザではバーが残るだけで、機能は損なわれない */
body:has(.contact-form :focus) .mobile-bar { display: none; }
/* バーが --deep なので、通常の --deep の輪郭は見えない。明るい色で内側に出す */
.mobile-bar a:focus-visible { outline-color: var(--on-deep); outline-offset: -4px; }

/* ---------- 予約の「準備中」の案内(共通部品) ---------- */

.reserve-pending {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(58, 52, 47, 0.5);
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.reserve-pending:target { display: flex; }
.reserve-pending-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.reserve-pending-title { font-size: 16px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 24px; }
.reserve-pending-sub { font-size: 15px; color: var(--ink-soft); margin: -16px 0 24px; }
.reserve-pending-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  border: 1px solid var(--deep);
  border-radius: var(--radius);
  color: var(--deep);
  text-decoration: none;
  font-size: 15px;
}

/* ---------- 確認用の表示だけに出るもの(本番には出ない) ---------- */

/* 上部の帯。何の画面かを最初に伝える。1行に収め、メインの写真を押し下げない(320px幅でも1行) */
.preview-banner {
  background: var(--ink);
  color: var(--on-deep);
  font-size: 13px;
  line-height: 1.7;
  padding: 6px 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* 未入力の場所。何を入力すると、どこに出るかを書く(サンプルの印と同じ破線の枠でそろえる) */
.preview-empty {
  word-break: keep-all;
  overflow-wrap: anywhere;
  display: block;
  padding: 12px 16px;
  border: 1px dashed var(--ink-soft);
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--surface);
}
dd .preview-empty { display: inline-block; padding: 4px 8px; }
.hero-catch-empty { display: inline-block; max-width: 100%; margin-top: 8px; }
/* 中の文は1つの要素に包む(包まないと、泣き別れ防止の span が flex の別の要素になって分かれる) */
.preview-photo { aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; text-align: center; }
.preview-map { display: flex; align-items: center; justify-content: center; padding: 16px; }
.preview-map .preview-empty { text-align: center; }
/* ページの一番下の説明(帯から飛んでくる先) */
.preview-about {
  margin: 0 auto;
  padding: 24px var(--pad);
  max-width: 680px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
  border-top: 1px dashed var(--ink-soft);
}
.preview-about p + p { margin-top: 8px; }
.preview-about-title { font-weight: 600; color: var(--ink); }
.preview-tel-num { white-space: nowrap; }
.preview-tel-title > span { display: inline-block; }
.preview-about p { word-break: keep-all; overflow-wrap: anywhere; }
/* サンプルで埋めた場所の印。差し色の札(期間限定)と取り違えないよう、枠線だけの形にする */
.sample-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  padding: 4px 8px;
  border: 1px dashed var(--ink-soft);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink-soft);
  background: var(--surface);
}
.package-note .sample-tag { margin: 0 0 4px; }
/* メインの写真の上。文字の箱と重ならない右上に置く */
.sample-on-photo { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }

/* ---------- PC(861px以上) ---------- */

@media (min-width: 861px) {
  /* ヘッダーを固定し、ページ内リンクと予約ボタンを置く */
  .site-head { position: sticky; top: 0; z-index: 50; }
  .head-inner { justify-content: space-between; height: 64px; }
  .head-nav { display: flex; align-items: center; gap: 24px; }
  .head-nav a { font-size: 14px; text-decoration: none; letter-spacing: 0.04em; }
  .head-nav a:not(.head-cta):hover { text-decoration: underline; }
  .head-cta {
    background: var(--deep);
    color: var(--on-deep);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-color 0.15s;
  }
  .head-cta:hover { background: var(--ink); }
  /* 移動先の見出しが固定ヘッダーの下に隠れないように */
  section[id] { scroll-margin-top: 64px; }

  .guide-strip, .mobile-bar { display: none; }
  body { padding-bottom: 0; }

  .reserve-actions { flex-direction: row; }
  .reserve-actions .btn { flex: 1; }

  .intro.has-photo { flex-direction: row; align-items: flex-start; }
  .intro-photo { width: 200px; flex: none; }

  /* 写真を左(42%)、文章を右。全項目同じ向き。写真の無い項目は文章だけの全幅 */
  .feature { margin-top: 56px; }
  .feature.has-photo { display: grid; grid-template-columns: 42% 1fr; gap: 32px; align-items: start; }
  .feature.has-photo .feature-text { margin-top: 0; }

  .space-scroller { grid-auto-columns: calc((100% - 24px) / 3); }

  .access-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 24px; align-items: start; }
  .access-text { grid-column: 1; grid-row: 1 / span 2; }
  .access-map { grid-column: 2; grid-row: 1; }
  .exterior { grid-column: 2; grid-row: 2; }
  /* 地図が無い店(住所未設定)では、外観の写真を右の列の先頭に */
  .access-grid:not(:has(.access-map)) .exterior { grid-row: 1; }

  .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* 動きを減らす設定の端末ではヒーローを動かさない */
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
  .btn, .mobile-bar a, .contact-form button, .head-cta { transition: none; }
}

/* 印刷: ヘッダー、固定バー、フォーム、地図を出さない。料金表は印刷できること */
@media print {
  .site-head, .guide-strip, .mobile-bar, .contact-form, .map, .map-link,
  .reserve-actions, .reserve-pending { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .hero-img { animation: none; }
}

/* 全ての営業日で同じ補足は、表の下に1回だけ出す(_shared/hours.html) */
.hours-note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; white-space: pre-line; }
