/* style.css — hakushi 主題の様式（theme 級・唯一の全体 CSS）。
   layout/theme.liquid の head <link> で読み込む。分段は index.liquid の section 編成に対応。

   設計：鼠尾草緑 × 赤陶 × 金。角丸（img 6 / card 12 / 大カード 16 / pill 999）+ 柔らかな影
   （--shadow-card）、画像は一律 filter: sepia(.06) saturate(1.05)、max-width: 480px の単一列。
   二次テキスト色は独立 token（--muted / --faint）—— 鼠尾草グレー系で --ink から派生できない異色のため。
   字体栈は :root に置く（頁壳 .hk-page の外にある水印 .page-footer にも効かせる為）。layout の :root は
   --font-* / 設計トークンを吐き、こちらは --stack-* と定数（--shadow-card）を定義するので属性は重複しない。
   position: fixed は assets/convert-bar.css だけが持つ。 */

:root {
  --stack-heading: var(--font-heading), 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --stack-body: var(--font-body), 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --stack-en: var(--font-en), 'Helvetica Neue', Arial, sans-serif;
  --stack-serif-en: var(--font-serif-en), 'Cormorant Garamond', serif;
  --shadow-card: 0 2px 10px rgba(30, 42, 33, 0.05);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.hk-page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: var(--stack-body);
  font-weight: var(--font-body-weight);
}
.hk-page a { color: var(--accent); text-decoration: none; }
.hk-page a:hover { color: var(--accent-deep); }
/* 画像は一律のトーン（設計稿の統一フィルタ）。プレースホルダ（span）や svg は img でないので掛からない。 */
.hk-page img { max-width: 100%; filter: sepia(0.06) saturate(1.05); }

.hk-section { padding: var(--space) var(--gutter) 58px; }

/* ===== SECTION HEAD（赤陶ダッシュ + Outfit 英字 + Shippori 見出し） ===== */
.hk-sec-head { position: relative; }
.hk-sec-eyebrow { display: flex; align-items: center; gap: 10px; }
.hk-sec-dash { width: 22px; height: 1px; background: var(--terracotta); }
.hk-sec-eyebrow-en {
  font-family: var(--stack-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--terracotta);
}
/* 暗底変体（convert の暗カード内）：ダッシュ・英字とも金色に。 */
.hk-sec-eyebrow--dark .hk-sec-dash { background: var(--gold); }
.hk-sec-eyebrow--dark .hk-sec-eyebrow-en { color: var(--gold); }
.hk-sec-title {
  margin: 14px 0 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-feature-settings: 'palt';
}

/* ===== HERO（#1・深緑覆図） ===== */
.hk-hero {
  position: relative;
  height: min(92vh, 640px);
  min-height: 520px;
  padding: 0;
  background: var(--accent-deep);
  overflow: hidden;
}
.hk-hero--plain { background: var(--accent-deep); }
.hk-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hk-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(28, 58, 42, 0.28) 0%,
    rgba(28, 58, 42, 0) 26%,
    rgba(18, 28, 22, 0.12) 52%,
    rgba(18, 28, 22, 0.88) 100%);
}
.hk-hero-vertical {
  position: absolute;
  top: 28px;
  right: 26px;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 16px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 4px rgba(18, 28, 22, 0.45);
}
.hk-hero-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 36px;
}
.hk-hero-eyebrow {
  display: inline-block;
  margin: 0;
  padding-bottom: 7px;
  border-bottom: 1.5px solid rgba(217, 185, 140, 0.7);
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(18, 28, 22, 0.6);
}
.hk-hero-word {
  margin: 12px 0 0;
  font-family: var(--stack-heading);
  font-weight: 800;
  font-size: 31px;
  line-height: 1.52;
  color: #fff;
  font-feature-settings: 'palt';
  text-shadow: 0 2px 12px rgba(18, 28, 22, 0.5);
  white-space: pre-line;
}
.hk-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.hk-tag {
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 7px 14px;
}
.hk-bar-sentinel { width: 100%; height: 1px; }

/* ===== ABOUT（#2・page） ===== */
.hk-about { position: relative; }
.hk-about-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
}
.hk-about-avatar {
  flex: none;
  display: block;
  width: 116px;
  height: 116px;
  object-fit: cover;
  object-position: 60% 32%;
  border-radius: var(--radius-img);
}
.hk-about-avatar--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--alt);
  filter: none;
  font-family: var(--stack-serif-en);
  font-size: 40px;
  color: var(--faint);
}
.hk-about-id { min-width: 0; }
.hk-about-name {
  margin: 0;
  font-family: var(--stack-serif-en);
  font-weight: 600;
  font-size: 33px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hk-about-role {
  margin-top: 10px;
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-line;
}
.hk-about-body {
  margin: 22px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
  white-space: pre-line;
  text-wrap: pretty;
}
.hk-about-body-wrap { position: relative; }
.hk-about-body-wrap.is-collapsed .hk-about-body { max-height: 460px; overflow: hidden; }
.hk-about-fade {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--page) 100%);
  pointer-events: none;
}
.hk-about-body-wrap.is-collapsed .hk-about-fade { display: block; }
.hk-about-more {
  display: none;
  justify-content: center;
  margin-top: 18px;
}
.hk-about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--terracotta);
}
.hk-about-chev { transition: transform 0.25s ease; }
.hk-about-body-wrap:not(.is-collapsed) + .hk-about-more .hk-about-chev { transform: rotate(180deg); }

/* ===== VOICE（#3・alt） ===== */
.hk-voice { position: relative; background: var(--alt); }

/* rating カード（Google 口コミ 評点、VOICE 見出しの直下） */
.hk-rating {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.hk-rating + .hk-voices { margin-top: 14px; }
.hk-rating-num {
  flex: none;
  font-family: var(--stack-en);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.hk-rating-div {
  flex: none;
  align-self: stretch;
  width: 1px;
  background: var(--line);
}
.hk-rating-body { flex: 1; min-width: 0; }
/* ★ 二層：empty の上に fill を width% でクリップ（R4：金色は字面星のみ、色は --star token） */
.hk-rating-stars {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  font-size: 16px;
}
.hk-rating-stars-empty { color: color-mix(in srgb, var(--star) 24%, transparent); }
.hk-rating-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: var(--star);
}
.hk-rating-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}
.hk-rating-dot {
  flex: none;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.hk-rating-count-num {
  font-family: var(--stack-en);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hk-voices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}
.hk-voice-card {
  margin: 0;
  padding: 22px 22px 18px;
  background: var(--card);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-card);
}
.hk-voice-tag {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--terracotta-soft);
  font-family: var(--stack-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  overflow-wrap: anywhere;
}
.hk-voice-text {
  margin: 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
  text-wrap: pretty;
}
.hk-voice-by {
  margin: 14px 0 0;
  text-align: right;
  font-family: var(--stack-body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.hk-voice-date {
  margin-left: 8px;
  font-family: var(--stack-en);
  letter-spacing: 0.03em;
}

/* ===== BEFORE / AFTER（RESULT・#4・page・自绘 head） ===== */
.hk-ba { position: relative; }
.hk-ba-lead {
  margin: 14px 0 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 25px;
  line-height: 1.5;
  color: var(--ink);
  font-feature-settings: 'palt';
  text-wrap: pretty;
  white-space: pre-line;
}
.hk-ba-sub {
  margin: 10px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}
/* スクロールバー隠しは [data-strip] 属性で（横スワイプ帯の契約フック）。 */
[data-strip] { scrollbar-width: none; -ms-overflow-style: none; }
[data-strip]::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hk-ba-strip {
  display: flex;
  gap: 14px;
  margin: 28px -24px 0;
  padding: 0 24px 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  -webkit-overflow-scrolling: touch;
}
.hk-ba-item { flex: 0 0 auto; width: 300px; margin: 0; scroll-snap-align: start; }
.hk-ba-img {
  display: block;
  width: 300px;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-img);
  background: var(--alt);
}
/* 標注 chips：施術前/施術後 を画像上端 2 隅に固定（前=左上・後=右上、設計稿の新レイアウト）。
   ba.image は cover 300×500、chip は link（＝img と同寸）に絶対配置。 */
.hk-ba-chip {
  position: absolute;
  top: 8px;
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--stack-body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #fff;
}
.hk-ba-chip--before {
  left: 8px;
  background: rgba(18, 28, 22, 0.6);
  backdrop-filter: blur(3px);
}
.hk-ba-chip--after {
  right: 8px;
  background: var(--terracotta);
}
/* 双図（izzjp#159）：合成図の 300×500 cover と違い、2 枚は各自の原比のまま並べる（裁切ゼロ = AC1）。
   カードは viewport 内に収まる幅にして、狭幅（375px）でも横並びを崩さず溢れない（AC7）。
   chip は両図とも左上（合成カードの 前=左上/後=右上 は 1 枚の中での方位指示なので双図には持ち込まない）。
   矢印は対の中央に絶対配置＝隙間より大きい円が両図の縁に少し被る（参考設計）。
   組見出し（ba.label）は本主題の設計稿どおり画像の下（cli#28 AC5 の「図対の上」は合成図を図角叠加していた
   主題への訂正で、本主題は元から叠加していない）。 */
.hk-ba-item--dual { width: min(420px, calc(100vw - 48px)); }
.hk-ba-pair { position: relative; display: flex; align-items: flex-start; gap: 10px; }
.hk-ba-item--vertical .hk-ba-pair { flex-direction: column; }
.hk-ba-item--dual .hk-ba-link { flex: 1 1 0; min-width: 0; }
.hk-ba-item--vertical .hk-ba-link { flex: none; width: 100%; }
.hk-ba-item--dual .hk-ba-img { width: 100%; height: auto; }
.hk-ba-item--dual .hk-ba-chip--after { left: 8px; right: auto; }
.hk-ba-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--page);
  color: var(--terracotta);
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(30, 42, 33, 0.18);
}
.hk-ba-arrow::before { content: "→"; }
.hk-ba-item--vertical .hk-ba-arrow::before { content: "↓"; }
/* ba.label は画像下の説明キャプション（設計稿：画像上の亮点叠加ではなく画像直下の説明文） */
.hk-ba-cap {
  margin-top: 12px;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
.hk-ba-note {
  margin: 14px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--faint);
}

/* ===== MENU（#5・alt・カードリスト） ===== */
.hk-menu { position: relative; background: var(--alt); }
.hk-menu-lead {
  margin: 12px 0 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.hk-menu-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.hk-menu-card {
  padding: var(--pad);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hk-menu-card--featured {
  position: relative;
  padding: 26px 20px 22px;
  border: 1.5px solid var(--terracotta);
}
.hk-menu-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--terracotta);
  box-shadow: 0 3px 10px rgba(201, 119, 42, 0.3);
  font-family: var(--stack-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #fff;
}
.hk-menu-row { display: flex; gap: 16px; }
.hk-menu-thumb {
  flex: none;
  display: block;
  width: 104px;
  height: 118px;
  object-fit: cover;
  border-radius: var(--radius-img);
}
.hk-menu-card--featured .hk-menu-thumb { height: 132px; }
.hk-menu-body { flex: 1; min-width: 0; }
.hk-menu-name {
  margin: 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  font-feature-settings: 'palt';
}
.hk-menu-card--featured .hk-menu-name { font-size: 17px; }
.hk-menu-price-wrap {
  margin-top: 12px;
}
.hk-menu-original {
  font-family: var(--stack-en);
  font-weight: 400;
  font-size: 12px;
  color: var(--faint);
  text-decoration: line-through;
}
.hk-menu-price {
  font-family: var(--stack-en);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}
.hk-menu-original + .hk-menu-price { margin-top: 3px; }
.hk-menu-card--featured .hk-menu-price { font-size: 27px; }
.hk-menu-desc {
  margin: 10px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}
.hk-menu-detail {
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink);
  white-space: pre-line;
  text-wrap: pretty;
}
.hk-news {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  padding: 15px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hk-news-bar { flex: none; width: 2px; border-radius: 2px; background: var(--accent); }
.hk-news-body { min-width: 0; }
.hk-news-label {
  margin: 0;
  font-family: var(--stack-body);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.hk-news-text {
  margin: 6px 0 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.hk-menu-note {
  margin: 16px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-line;
}

/* ===== 価格分組（#133/#26・組見出し + 画像なし組のコンパクト料金表） ===== */
.hk-menu-group + .hk-menu-group {
  margin-top: 40px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.hk-menu-group-heading {
  margin: 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-feature-settings: 'palt';
  white-space: pre-line;
}
.hk-plan {
  margin-top: 20px;
  padding: 2px var(--pad);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hk-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hk-plan-row:last-of-type { border-bottom: 0; }
.hk-plan-main { min-width: 0; }
.hk-plan-name {
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
}
.hk-plan-sub {
  margin-top: 3px;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--faint);
}
.hk-plan-prices { flex: none; text-align: right; }
.hk-plan-original {
  font-family: var(--stack-en);
  font-weight: 400;
  font-size: 12px;
  color: var(--faint);
  text-decoration: line-through;
}
.hk-plan-price {
  font-family: var(--stack-en);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--terracotta);
  font-variant-numeric: tabular-nums;
}
.hk-plan-detail {
  margin: 0 0 14px;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  white-space: pre-line;
  text-wrap: pretty;
}

/* ===== GALLERY / PLACE（#6・page・gallery + business_info 合并） ===== */
.hk-gallery { position: relative; }
.hk-place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}
.hk-place-item {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.hk-place-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hk-place-cap {
  position: absolute;
  left: 8px;
  max-width: calc(100% - 16px);
  bottom: 8px;
  padding: 6px 9px;
  border-radius: var(--radius-img);
  background: rgba(18, 28, 22, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 10.5px;
  line-height: 1.5;
  color: #fff;
  text-wrap: pretty;
}
.hk-place-info {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}
.hk-place-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hk-place-key {
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hk-place-val {
  margin: 5px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
}
.hk-place-val a { color: var(--accent); }
.hk-place-map {
  margin-top: 14px;
}
.hk-place-map-link {
  display: block;
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.hk-place-map-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--alt);
}
.hk-place-map-cta {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(18, 28, 22, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 999px;
  padding: 6px 12px;
}
.hk-place-map-arrow { flex: none; }

/* ===== 画像ライトボックス（共通 initGroup。app.js が hidden 属性 + .is-open で開閉。‹ ›/swipe/← → Esc、閉時 URL hash を書かない。class 名は app.js と対で硬編码・改名禁止）===== */
.hk-place-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.hk-ba-link { position: relative; display: block; cursor: zoom-in; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lb-backdrop { position: absolute; inset: 0; background-color: rgba(18, 28, 22, 0.88); }
.gallery-lb-img {
  position: relative;
  width: min(92vw, 560px);
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-img);
  background: var(--alt);
}
.gallery-lb-close, .gallery-lb-prev, .gallery-lb-next {
  position: absolute;
  z-index: 1;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-family: var(--stack-en);
  font-size: 24px;
  line-height: 1;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition: background-color 0.15s;
}
.gallery-lb-close:hover, .gallery-lb-prev:hover, .gallery-lb-next:hover { background-color: rgba(255, 255, 255, 0.34); }
.gallery-lb-close { top: 14px; right: 16px; }
.gallery-lb-prev { top: 50%; left: 12px; transform: translateY(-50%); }
.gallery-lb-next { top: 50%; right: 12px; transform: translateY(-50%); }
.gallery-lightbox--single .gallery-lb-prev,
.gallery-lightbox--single .gallery-lb-next { display: none; }
@media (prefers-reduced-motion: reduce) {
  .gallery-lb-close, .gallery-lb-prev, .gallery-lb-next { transition: none; }
}

/* ===== FAQ（#7・alt・business_info 移出） ===== */
.hk-faq { position: relative; background: var(--alt); }
.hk-faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.hk-faq-item { border-bottom: 1px solid var(--line); }
.hk-faq-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}
.hk-faq-sum::-webkit-details-marker { display: none; }
.hk-faq-q {
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.hk-faq-chev {
  flex: none;
  display: flex;
  width: 14px;
  height: 14px;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.hk-faq-chev svg { width: 14px; height: 14px; }
.hk-faq-item[open] .hk-faq-chev { transform: rotate(180deg); }
.hk-faq-a {
  padding: 0 0 18px;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.hk-faq-a-mark { color: var(--terracotta); font-weight: 600; }

/* ===== FLOW（#8・page・section_head 化・緑丸連番） ===== */
.hk-flow { position: relative; }
.hk-flow-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.hk-flow-item { display: flex; gap: 16px; }
.hk-flow-marker {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hk-flow-no {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  background: var(--accent);
  font-family: var(--stack-en);
  font-weight: var(--font-en-weight);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #fff;
}
.hk-flow-line {
  flex: 1;
  width: 1px;
  min-height: 20px;
  margin: 8px 0;
  background: var(--line);
}
.hk-flow-body { padding-top: 3px; }
.hk-flow-item:not(:last-child) .hk-flow-body { padding-bottom: 30px; }
.hk-flow-title {
  margin: 0;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  font-feature-settings: 'palt';
}
.hk-flow-desc {
  margin: 7px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}

/* ===== CONVERT（RESERVE・#9・page・暗カード） ===== */
.hk-convert { padding: 14px var(--gutter) 120px; }
.hk-convert-card {
  position: relative;
  padding: 38px 26px 34px;
  background: var(--convert-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hk-convert-vertical {
  position: absolute;
  top: 26px;
  right: 22px;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: rgba(217, 185, 140, 0.92);
}
.hk-convert-title {
  margin: 16px 0 0;
  max-width: 74%;
  font-family: var(--stack-heading);
  font-weight: var(--font-heading-weight);
  font-size: 26px;
  line-height: 1.5;
  color: #fff;
  font-feature-settings: 'palt';
  word-break: keep-all;
  white-space: pre-line;
}
.hk-convert-lead {
  margin: 16px 0 0;
  max-width: 80%;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.74);
  white-space: pre-line;
}
.hk-convert-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 40px;
  border-radius: 999px;
  background: #fff;
  font-family: var(--stack-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2em;
  transition: transform 0.1s ease, background-color 0.15s ease;
}
.hk-page .hk-convert-cta,
.hk-page .hk-convert-cta:hover { color: var(--accent); }
.hk-convert-cta:active { transform: scale(0.99); }
/* LINE 形態：ブランド緑地 + 白字。 */
.hk-convert-cta--line { background: #06C755; }
.hk-page .hk-convert-cta--line,
.hk-page .hk-convert-cta--line:hover { color: #fff; }
.hk-convert-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.hk-convert-cta-icon { flex: none; }
.hk-convert-cta-arrow {
  flex: none;
  font-family: var(--stack-en);
  font-weight: var(--font-en-weight);
  font-size: 18px;
  line-height: 1;
}
.hk-convert-note {
  margin: 14px 0 0;
  font-family: var(--stack-body);
  font-weight: 400;
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  white-space: pre-line;
}
.hk-convert-sign {
  margin: 22px 0 0;
  font-family: var(--stack-body);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== OTHER（#10・page・逃生通道） ===== */
.hk-links { position: relative; }
.hk-page .hk-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.hk-page .hk-link:hover { color: var(--accent); border-color: var(--accent); }
.hk-link-label {
  min-width: 0;
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.hk-link-mark {
  flex: none;
  display: flex;
  width: 14px;
  height: 14px;
  color: var(--faint);
}
.hk-link-mark svg { width: 14px; height: 14px; }
.hk-other-blocks { position: relative; }

/* ===== 水印（頁壳の外・layout 直下） ===== */
.page-footer {
  max-width: 480px;
  margin: 0 auto;
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  background: var(--backdrop);
  text-align: center;
}
.page-footer-text {
  margin: 0;
  font-family: var(--stack-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.page-footer-link { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .hk-faq-chev,
  .hk-convert-cta { transition: none; }
  .hk-ba-strip { scroll-behavior: auto; }
}
