/* =========================================================
   結心堂｜霊園の個別詳細ページ  スタイル（全霊園で共通）
   総合案内（css/hub.css）と同じ色・書体・イラストの世界観。主役は現地写真。
   構成：
   1. 色・基本設定
   2. 試作リボン・ヘッダー・パンくず
   3. ヒーロー（はがき型の看板＋アーチ窓の写真）
   4. 目次（追従）・見出し
   5. 霊園のようす（要点・特徴）
   6. 写真でめぐる（小道）・ギャラリー・拡大表示
   7. 基本情報（案内板）・お参りのヒント
   8. 代行・清掃／料金／流れ／FAQ
   9. ご相談・関連リンク・出典・フッター・追従ボタン
   10. 動き・画面幅ごとの調整・動きを減らす設定
   写真の枚数は body[data-photo-mode]（zero / one / few / standard / rich）で分かる。
   ========================================================= */

/* ---------- 1. 色・基本設定 ---------- */
:root {
  --ink: #2B4B65;
  --ink-soft: #5f7386;
  --text: #44596b;
  --gold: #C5A059;
  --peach: #F3C7A5;
  --pink: #f7b6cc;
  --green: #7cc95f;
  --green-deep: #4f9a45;
  --green-soft: #eef7e6;
  --line-green: #06C755;
  --hair: rgba(43, 75, 101, .14);
  --sky-top: #8fd3f4;
  --sky-mid: #c4ebfb;
  --cream: #FDFBF7;
  --paper: #fffdf7;
  --wood: #b9825b;
  --shadow: 0 10px 30px rgba(43, 75, 101, .10);
  --shadow-soft: 0 18px 44px rgba(43, 75, 101, .10);
  --shadow-lift: 0 22px 46px rgba(36, 83, 94, .18);
  --radius: 22px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  --font-maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  --font-mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --toc-h: 58px;
}
/* 地域のテーマカラー（総合案内と同じ値） */
[data-area="amagasaki"]   { --c: #9CCFDF; --c-deep: #3F7F99; --c-soft: #EEF8FB; --c-band: #B8DDEC; }
[data-area="nishinomiya"] { --c: #E29A6E; --c-deep: #8B563D; --c-soft: #FDF3EC; --c-band: #F3CDB5; }
[data-area="itami"]       { --c: #1F336E; --c-deep: #1F336E; --c-soft: #EFF1FB; --c-band: #D3D8EC; }
[data-area="takarazuka"]  { --c: #6E1F2E; --c-deep: #6E1F2E; --c-soft: #FBF1F2; --c-band: #ECD3D6; }
[data-area="toyonaka"]    { --c: #8CB59A; --c-deep: #537768; --c-soft: #F1F7F3; --c-band: #CFE0D4; }
[data-area="osaka4"]      { --c: #1F5F6E; --c-deep: #1F5F6E; --c-soft: #F1F8EA; --c-band: #BFE09A; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--toc-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-weight: 500; color: var(--ink);
  background: var(--cream); line-height: 1.9; letter-spacing: .03em; overflow-x: hidden;
}
/* 傾けた写真の角が画面の外にはみ出しても、スマホで横に広がらないようにする */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
svg { overflow: visible; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
/* 折り返しを整える：見出し・ボタンは行の長さをそろえ、文章は最後の行に1〜2文字だけ残らないようにする */
h1, h2, h3, h4, summary, dt, figcaption, .btn, .text-link, [class*="__title"], [class*="__head"], [class*="__main"], [class*="__sub"], strong { text-wrap: balance; }
.nw { white-space: nowrap; } /* 電話番号・番地・時刻などを途中で切らない */
/* 見出し・ボタンは、日本語の文節の切れ目で折り返す（「ま｜ず知っておきたい」のような切れ方を防ぐ。対応していないブラウザではふつうの折り返し） */
h1, h2, h3, h4, summary, dt, .btn, [class*="__title"], [class*="__head"], [class*="__main"], [class*="__name"], strong { word-break: auto-phrase; overflow-wrap: anywhere; } /* 文節が枠より長いときだけ途中で折り返す（画面からはみ出さない） */
.ib { display: inline-block; }
p, li, dd { text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sp-only { display: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.wrap--narrow { max-width: 860px; }

/* ---------- 2. 試作リボン・ヘッダー・パンくず ---------- */
.proto-ribbon {
  position: relative; z-index: 30;
  background: repeating-linear-gradient(-45deg, #fff4c7 0 14px, #ffeeb0 14px 28px);
  color: #6b5320; font-size: 13px; font-family: var(--font-maru); text-align: center; padding: 6px 12px; line-height: 1.5;
}
.proto-ribbon strong { background: var(--gold); color: #fff; padding: 1px 8px; border-radius: 99px; margin-right: 6px; }

.site-header {
  position: relative; z-index: 20; background: var(--sky-top);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px clamp(16px, 4vw, 40px) 4px;
}
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo__mark { font-family: var(--font-mincho); font-size: 27px; font-weight: 700; letter-spacing: .06em; }
.logo__sub { font-family: var(--font-mincho); font-size: 8.5px; letter-spacing: .3em; margin-top: 5px; }
/* 結心堂のロゴ画像（本番HPの logo2 と同じもの） */
.logo__img { display: block; height: 40px; width: auto; }
/* パソコン幅のロゴはヘッダーの中に置くだけなので、ガラスにしない */
@media (min-width: 821px) {
  .logo.lg { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .logo.lg::before { content: none; }
}
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  text-decoration: none; font-family: var(--font-maru); font-weight: 700; font-size: 14px;
  padding: 7px 16px; border-radius: 99px; background: rgba(255, 255, 255, .78);
  transition: background .2s, transform .2s;
}
.site-nav a:hover { background: #fff; transform: translateY(-2px); }
.site-nav svg { width: 18px; height: 18px; }
.site-nav__line { color: #0a7d36; }
.site-nav__line svg { color: var(--line-green); }
.menu-btn { display: none; }
.menu[hidden] { display: none !important; }

.crumbs { position: relative; z-index: 19; background: var(--sky-top); padding: 6px clamp(16px, 4vw, 40px) 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; font-family: var(--font-maru); font-size: 12.5px; font-weight: 700; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); opacity: .45; }
.crumbs a { text-decoration: none; padding: 2px 4px; border-radius: 6px; }
.crumbs a:hover { background: rgba(255, 255, 255, .7); }
.crumbs [aria-current] { color: var(--ink-soft); }

/* ---------- 3. ヒーロー ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 52%, #e9f7ee 86%, #e6f3dc 100%);
  padding: 26px clamp(16px, 3vw, 40px) 120px;
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sun { position: absolute; width: 92px; height: 92px; left: 40%; top: 8px; animation: spin 60s linear infinite; }
.hero-cloud { position: absolute; filter: drop-shadow(0 6px 10px rgba(36, 83, 94, .08)); will-change: transform; }
.hero-cloud--1 { width: 150px; height: 80px; left: 3%; top: 60px; animation: drift 34s ease-in-out infinite alternate; }
.hero-cloud--2 { width: 110px; height: 58px; left: 46%; top: 140px; opacity: .9; animation: drift 28s ease-in-out -6s infinite alternate; }
.hero-cloud--3 { width: 180px; height: 96px; right: 3%; top: 12px; animation: drift 40s ease-in-out -12s infinite alternate-reverse; }
.hero-bird { position: absolute; width: 30px; height: 14px; animation: flap 1.4s ease-in-out infinite, fly 30s linear infinite; }
.hero-bird--1 { left: 34%; top: 92px; }
.hero-bird--2 { left: 37%; top: 112px; width: 22px; animation-delay: -.5s, -4s; }

.hero__inner {
  position: relative; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(340px, 440px) 1fr; gap: clamp(24px, 3.4vw, 56px); align-items: center;
}

/* はがき型の看板（タイトル） */
.postcard {
  position: relative; z-index: 2;
  background: #fff; border-radius: 30px; padding: 40px 34px 28px; border: 1px solid var(--hair);
  box-shadow: 0 18px 40px rgba(43, 75, 101, .14), 0 5px 0 rgba(243, 199, 165, .55);
  animation: pop-in .9s cubic-bezier(.2, .9, .3, 1.3) backwards;
}
.postcard::before { /* ステッチの内側線 */
  content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(197, 160, 89, .55); border-radius: 18px; pointer-events: none;
}
/* スタンプは右上の英字の行の横に浮かせる。英字の行だけがスタンプをよけ、霊園名は横幅いっぱいに使える */
.postcard__stamp {
  float: right; margin: -28px -20px -6px 12px; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; border: 2px dashed var(--c); color: var(--c-deep); background: var(--c-soft);
  font-family: var(--font-mincho); font-weight: 700; font-size: 14px; letter-spacing: .12em; transform: rotate(10deg);
  animation: stamp 1s .5s cubic-bezier(.2, .9, .3, 1.6) backwards;
}
.postcard__stamp span { display: block; padding-left: .12em; text-align: center; line-height: 1.3; }
.postcard__stamp.is-long { font-size: 12px; letter-spacing: .04em; } /* 「大阪市4区」など長い地域名は小さく2行で */
.postcard__kicker { font-family: var(--font-mincho); font-size: 12px; letter-spacing: .26em; color: var(--gold); font-weight: 600; }
.postcard__title { margin-top: 10px; line-height: 1.2; }
.postcard__name {
  font-family: var(--font-mincho); font-weight: 700;
  font-size: clamp(42px, 4.4vw, 60px); letter-spacing: .08em;
  background: linear-gradient(transparent 68%, rgba(243, 199, 165, .6) 68%, rgba(243, 199, 165, .6) 92%, transparent 92%);
  padding: 0 4px;
  /* 名前が2行以上になっても、マーカーを行ごとに引く */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  word-break: keep-all; overflow-wrap: anywhere;
}
.postcard__name.is-long { font-size: clamp(34px, 3.3vw, 46px); letter-spacing: .04em; }
.postcard__alias { display: inline-block; font-size: .5em; letter-spacing: .04em; }
.postcard__sub > span { display: inline-block; }
.postcard__sub { display: block; margin-top: 12px; font-family: var(--font-maru); font-size: clamp(15px, 1.35vw, 17px); font-weight: 700; color: var(--ink); letter-spacing: .04em; line-height: 1.6; }
.postcard__lead { margin-top: 16px; font-size: 15px; line-height: 2; color: var(--text); }
.postcard__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.postcard__tags li {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-maru); font-size: 12.5px; font-weight: 700;
  background: #fff; border: 1px solid var(--hair); border-radius: 99px; padding: 3px 11px; line-height: 1.6;
}
.postcard__tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.postcard__tags li:nth-child(2)::before { background: var(--green); }
.postcard__tags li:nth-child(3)::before { background: #7FC0D8; }
.postcard__tags li:nth-child(4)::before { background: var(--pink); }
.postcard__cta { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.postcard__cta .mini-btn--ghost { grid-column: 1 / -1; }
.mini-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 8px 16px; white-space: nowrap;
  border-radius: 99px; text-decoration: none; font-family: var(--font-maru); font-weight: 700; font-size: 14.5px; line-height: 1.3;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.mini-btn svg { width: 18px; height: 18px; flex: none; }
.mini-btn--line { background: var(--line-green); color: #fff; box-shadow: 0 4px 0 #04a446; }
.mini-btn--tel { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #1b3245; }
.mini-btn--ghost { background: #fff; border: 1px solid var(--hair); box-shadow: 0 4px 0 var(--peach); }
.mini-btn--ghost svg { width: 14px; height: 14px; transform: rotate(90deg); color: var(--gold); }
.mini-btn:hover { transform: translateY(2px); }
.mini-btn--line:hover { box-shadow: 0 2px 0 #04a446; }
.mini-btn--tel:hover { box-shadow: 0 2px 0 #1b3245; }
.mini-btn--ghost:hover { box-shadow: 0 2px 0 var(--peach); }
.postcard__note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--ink-soft); }

/* アーチ窓の写真 */
.hero__photo { position: relative; animation: rise-in 1s .15s cubic-bezier(.2, .8, .3, 1) backwards; }
.hero__frame {
  position: relative; border-radius: 48% 48% 30px 30px / 34% 34% 30px 30px; overflow: hidden;
  border: 8px solid #fff; background: #dfeef4; box-shadow: 0 26px 60px rgba(43, 75, 101, .22);
  aspect-ratio: 4 / 3.25;
}
.hero__img { display: block; height: 100%; cursor: zoom-in; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; transform-origin: 60% 70%; animation: kenburns 26s ease-in-out infinite alternate; }
.hero__zoom {
  position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); pointer-events: none; transition: transform .3s;
}
.hero__zoom svg { width: 20px; height: 20px; }
.hero__photo:hover .hero__zoom { transform: scale(1.1); }
.hero__cap {
  position: relative; z-index: 1; margin: -22px auto 0; width: fit-content; max-width: 92%;
  display: flex; align-items: center; gap: 8px; padding: 7px 16px 7px 8px;
  background: #fff; border-radius: 99px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.5;
}
.hero__cap-badge { flex: none; font-family: var(--font-maru); font-size: 11.5px; font-weight: 700; color: #fff; background: var(--green-deep); border-radius: 99px; padding: 2px 10px; }
.hero__photo--illust .hero__cap-badge { background: var(--gold); }
.hero__illust { width: 100%; height: 100%; display: block; }

.hero__ground { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; z-index: 0; pointer-events: none; }
.hero__flowers { position: absolute; left: 0; right: 0; bottom: 18px; height: 80px; z-index: 1; pointer-events: none; }
.hf { position: absolute; bottom: 0; width: 30px; height: 60px; transform-origin: bottom center; animation: sway 4s ease-in-out infinite; filter: drop-shadow(0 2px 0 rgba(43, 75, 101, .12)); }
.hf--1 { left: 4%; }
.hf--2 { left: 9%; width: 22px; height: 46px; animation-delay: -1.2s; }
.hf--3 { left: 52%; width: 24px; height: 50px; animation-delay: -2s; }
.hf--4 { right: 8%; animation-delay: -.6s; }
.hf--5 { right: 4%; width: 22px; height: 44px; animation-delay: -2.6s; }

/* ---------- 4. 目次（追従）・見出し ---------- */
.toc {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(253, 251, 247, .93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.toc__list { max-width: 1180px; margin: 0 auto; padding: 8px 16px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.toc__chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px; border-radius: 99px;
  background: #fff; border: 1px solid var(--hair); text-decoration: none; white-space: nowrap;
  font-family: var(--font-maru); font-weight: 700; font-size: 14px; transition: background .25s, transform .25s, border-color .25s, color .25s;
}
.toc__no { font-family: var(--font-mincho); font-size: 11px; color: var(--gold); letter-spacing: .06em; }
.toc__chip:hover { transform: translateY(-2px); background: var(--green-soft); }
.toc__chip.is-current { background: var(--green-soft); border-color: var(--green); color: #2f6b2a; }

.sec { position: relative; padding: 76px 0; }
.sec-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.sec-head__kicker { font-family: var(--font-mincho); font-size: 12px; letter-spacing: .3em; font-weight: 600; color: var(--gold); display: flex; align-items: center; justify-content: center; gap: 12px; }
.sec-head__kicker::before, .sec-head__kicker::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .6; }
/* 霊園名を言葉の途中で折り返さない（「・」の後ろと「墓地」「霊園」などの前でだけ折り返す） */
.sec-head__title { word-break: keep-all; overflow-wrap: anywhere; }
.sec-head__title { font-family: var(--font-mincho); font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: .06em; margin-top: 6px; line-height: 1.5; }
.sec-head__title::after { content: ""; display: block; width: 74px; height: 10px; margin: 12px auto 0; background: radial-gradient(circle, var(--peach) 0 3.5px, transparent 4.5px) 0 0 / 18.5px 10px repeat-x; }
.sec-head__lead { margin-top: 14px; font-size: 15.5px; color: var(--text); }

.chip { display: inline-flex; align-items: center; font-family: var(--font-maru); font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 1px 10px; line-height: 1.7; white-space: nowrap; }
.chip--photo { background: var(--green-soft); color: #2f6b2a; border: 1px solid #bfe3ad; }
.chip--ok { background: #e7f4fb; color: #2b6b8a; border: 1px solid #b7dcef; }
.chip--part { background: #fff6e0; color: #8a6420; border: 1px solid #f0d9a2; }
.chip--pending { background: #f5f3ee; color: #7d7668; border: 1px dashed #cfc7b4; }

/* ---------- 5. 霊園のようす ---------- */
.sec--about { padding-top: 64px; }
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.summary { position: relative; background: #fff; border-radius: 30px; padding: 30px 30px 26px; box-shadow: var(--shadow-soft); border: 1px solid var(--hair); }
.summary::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(124, 201, 95, .5); border-radius: 22px; pointer-events: none; }
.summary__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-mincho); font-size: 19px; font-weight: 700; line-height: 1.5; }
.summary__badge { flex: none; font-family: var(--font-maru); font-size: 12px; font-weight: 700; color: #fff; background: var(--green-deep); border-radius: 99px; padding: 2px 12px; }
.summary__list { margin-top: 16px; display: grid; gap: 12px; }
.summary__list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.summary__list li > svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); margin-top: 2px; }
.summary__list p { font-size: 15px; line-height: 1.85; }
.evidence { display: inline-block; margin-left: 8px; font-family: var(--font-maru); font-size: 11.5px; font-weight: 700; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--hair); border-radius: 99px; padding: 0 8px; line-height: 1.7; white-space: nowrap; max-width: 100%; }
/* 「出典：…」が長いときは、せまい画面で枠からはみ出さないよう折り返す */
@media (max-width: 480px) { .evidence { white-space: normal; border-radius: 12px; } }
.highlights { display: grid; gap: 14px; }
.highlight {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: center;
  background: var(--paper); border-radius: 24px; padding: 16px 20px; border: 1px solid var(--hair);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--green) 30%, transparent);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.4);
}
.highlight:hover { transform: translateY(-3px) rotate(-.4deg); }
.highlight__icon { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.highlight__icon .ic { width: 44px; height: 44px; }
.highlight:hover .ic { animation: wiggle .8s ease-in-out; }
.highlight__title { font-family: var(--font-mincho); font-size: 17.5px; font-weight: 700; line-height: 1.5; }
.highlight__text { font-size: 14px; line-height: 1.8; color: var(--text); }

/* ---------- 6. 写真でめぐる（小道） ---------- */
.sec--walk { background: linear-gradient(180deg, var(--cream), var(--green-soft) 18%, var(--green-soft) 82%, var(--cream)); }
.trail { position: relative; }
.trail__line {
  position: absolute; left: 50%; top: 30px; bottom: 30px; width: 8px; margin-left: -4px; border-radius: 8px;
  background: radial-gradient(circle, #bcdcab 0 3px, transparent 3.6px) center top / 8px 16px repeat-y;
}
.trail__fill {
  position: absolute; left: 0; top: 0; width: 8px; height: calc(var(--p, 0) * 100%); border-radius: 8px;
  background: linear-gradient(180deg, #cfe9bf, var(--green));
}
.trail__walker { position: absolute; left: 50%; bottom: -16px; width: 32px; height: 32px; margin-left: -16px; animation: spin 3.2s linear infinite; filter: drop-shadow(0 3px 4px rgba(43, 75, 101, .2)); }
.trail__stops { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); }
.stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.stop::before { /* 小道の上の目印 */
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #fff; border: 5px solid var(--green); box-shadow: 0 0 0 6px rgba(124, 201, 95, .18); z-index: 1;
}
.stop--alt .stop__photo { order: 2; }
.stop__photo { position: relative; }
.stop__photo a { display: block; position: relative; border-radius: 26px; overflow: hidden; border: 10px solid #fff; background: #fff; box-shadow: var(--shadow-soft); transform: rotate(-1.4deg); transition: transform .5s cubic-bezier(.2, .9, .3, 1.2), box-shadow .4s; cursor: zoom-in; }
.stop--alt .stop__photo a { transform: rotate(1.4deg); }
.stop__photo a:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-lift); }
.stop__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.stop__photo a:hover img { transform: scale(1.04); }
.stop__photo figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.photo-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); transition: transform .3s; }
.photo-zoom svg { width: 18px; height: 18px; }
a:hover > .photo-zoom { transform: scale(1.12); }
.stop__body { position: relative; }
.stop__no { font-family: var(--font-mincho); font-size: 12px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.stop__no span { display: inline-block; background: #fff; border: 1px solid var(--gold); color: var(--ink); border-radius: 99px; padding: 1px 12px; letter-spacing: .14em; }
.stop__title { margin-top: 10px; font-family: var(--font-mincho); font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; line-height: 1.5; letter-spacing: .05em; }
.stop__text { margin-top: 10px; font-size: 15.5px; color: var(--text); }
.stop__seen { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.stop__seen::before { content: "写真で見える様子"; width: 100%; font-family: var(--font-maru); font-size: 12px; font-weight: 700; color: var(--green-deep); }
.stop__seen li { font-family: var(--font-maru); font-size: 13px; font-weight: 700; background: #fff; border: 1px solid #cfe7c2; border-radius: 99px; padding: 2px 12px; line-height: 1.7; }
.stop__service { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.8; background: #fff; border-radius: 16px; padding: 12px 14px; border: 1px solid var(--hair); box-shadow: 0 3px 0 var(--peach); }
.stop__service-badge { flex: none; font-family: var(--font-maru); font-size: 11.5px; font-weight: 700; color: #fff; background: var(--ink); border-radius: 99px; padding: 1px 10px; margin-top: 3px; }
.stop__note { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); }

/* 写真2〜3枚（few）：小道は引かず、大きめのカードで並べる */
.trail--few .trail__line { display: none; }
.trail--few .trail__stops { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.trail--few .stop { grid-template-columns: 1fr; gap: 18px; align-items: start; background: #fff; border-radius: 30px; padding: 18px 18px 24px; box-shadow: var(--shadow-soft); }
.trail--few .stop::before { display: none; }
.trail--few .stop--alt .stop__photo { order: 0; }
.trail--few .stop__photo a, .trail--few .stop--alt .stop__photo a { transform: none; border-width: 0; box-shadow: none; }
.trail--few .stop__body { padding: 0 8px; }
.trail--few .stop:only-child { grid-template-columns: 1.1fr 1fr; align-items: center; }

/* ギャラリー */
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.gallery--n2 { grid-template-columns: repeat(2, 1fr); max-width: 940px; margin: 0 auto; }
.gallery--n4 { grid-template-columns: repeat(4, 1fr); }
.gallery__item a { display: block; position: relative; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .4s cubic-bezier(.2, .9, .3, 1.3), box-shadow .4s; }
.gallery__item a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.gallery__item a:hover img { transform: scale(1.06); }
.gallery__item figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; padding: 0 4px; }

/* 拡大表示 */
.lightbox { width: min(1100px, 100vw); max-width: 100vw; max-height: 100vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(23, 42, 58, .82); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .35s cubic-bezier(.2, .8, .3, 1); }
.lightbox__inner { position: relative; padding: 56px 64px 20px; }
.lightbox__fig { margin: 0; }
.lightbox__img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 18px; background: #0f2233; }
.lightbox__img.is-switching { animation: lb-fade .35s ease; }
.lightbox__cap { margin-top: 12px; display: flex; gap: 12px; align-items: baseline; justify-content: center; color: #fff; font-size: 14.5px; line-height: 1.6; text-align: center; }
.lightbox__count { flex: none; font-family: var(--font-mincho); font-size: 12px; letter-spacing: .16em; color: var(--peach); }
.lightbox__btn, .lightbox__close {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow); transition: transform .2s;
}
.lightbox__btn svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__btn { top: 50%; margin-top: -24px; }
.lightbox__prev { left: 6px; }
.lightbox__prev svg { transform: rotate(180deg); }
.lightbox__next { right: 6px; }
.lightbox__close { right: 6px; top: 0; }
.lightbox__btn:hover, .lightbox__close:hover { transform: scale(1.08); }
.lightbox[data-single] .lightbox__btn { display: none; }

/* ---------- 7. 基本情報（案内板）・お参りのヒント ---------- */
.facts { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-areas: "board access" "board tips" "rules rules"; gap: clamp(20px, 3vw, 32px); align-items: start; }
.board { grid-area: board; }
.access { grid-area: access; }
.tips { grid-area: tips; }
.rules { grid-area: rules; }
.card-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-mincho); font-size: 20px; font-weight: 700; line-height: 1.5; }
.card-title .ic { flex: none; width: 40px; height: 40px; }
.access { background: #fff; border-radius: 26px; padding: 22px 22px 20px; border: 1px solid var(--hair); box-shadow: var(--shadow-soft); scroll-margin-top: calc(var(--toc-h) + 16px); }
.access__list { margin-top: 10px; display: grid; gap: 6px; }
.access__list li { font-size: 14.5px; line-height: 1.75; }
.access__label { display: inline-block; min-width: 76px; margin-right: 8px; font-family: var(--font-maru); font-size: 12.5px; font-weight: 700; text-align: center; color: #2b6b8a; background: #e7f4fb; border-radius: 99px; padding: 0 10px; }
.bus { margin-top: 14px; border-radius: 20px; padding: 16px 16px 14px; background: linear-gradient(180deg, #fff8dc, #fffdf3); border: 1px solid #f0dea2; }
.bus__label { display: flex; align-items: center; gap: 6px; font-family: var(--font-maru); font-weight: 700; font-size: 15.5px; }
.bus__period { margin-top: 2px; font-size: 13.5px; color: var(--text); }
.bus__dates { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.bus__dates li { font-family: var(--font-maru); font-size: 13px; font-weight: 700; background: #fff; border: 1px solid #ead9a0; border-radius: 10px; padding: 2px 10px; }
.bus__dates li.is-past { opacity: .45; text-decoration: line-through; }
.bus__dates li.is-next { background: #e8875c; border-color: #e8875c; color: #fff; }
.bus__dates li.is-next::after { content: "次回"; margin-left: 6px; font-size: 10.5px; background: #fff; color: #b4532a; border-radius: 99px; padding: 0 6px; }
.bus__rows { margin-top: 10px; display: grid; gap: 4px; }
.bus__rows div { display: grid; grid-template-columns: 56px 1fr; gap: 8px; font-size: 13.5px; line-height: 1.7; }
.bus__rows dt { font-family: var(--font-maru); font-weight: 700; color: #8a6420; }
.bus__notes { margin-top: 8px; display: grid; gap: 2px; }
.bus__notes li, .bus__asof { position: relative; padding-left: 14px; font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }
.bus__notes li::before { content: "・"; position: absolute; left: 0; }
.bus__asof { padding-left: 0; margin-top: 6px; }
.rules { background: #fff; border-radius: 26px; padding: 24px 26px; border: 1px solid var(--hair); box-shadow: var(--shadow-soft); }
.rules__lead { margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }
.rules__list { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.rules__list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.75; }
.rules__list li > svg { width: 22px; height: 22px; padding: 4px; margin-top: 3px; border-radius: 50%; background: #fdf2ea; color: #b4532a; }
.care { margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: var(--green-soft); border: 1px dashed #bfe3ad; }
.care__title { font-family: var(--font-maru); font-weight: 700; font-size: 15px; color: #2f6b2a; }
.care__text { margin-top: 4px; font-size: 14px; line-height: 1.85; color: var(--text); }
.src-refs { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: 2px; }
.fact__meta { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; } /* 「公式情報」と出典の番号は離さない */
.fact__meta .src-refs { margin-left: 0; }
.src-ref { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 6px; background: #eef2f5; color: var(--ink-soft); font-size: 11px; font-weight: 700; line-height: 1; text-decoration: none; }
.src-ref:hover { background: var(--ink); color: #fff; }
.src__no { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 6px; background: #eef2f5; font-size: 11.5px; font-weight: 700; }
.sources__list li:target { background: #fff6d8; border-radius: 8px; }
.board { position: relative; background: #fff; border-radius: 26px; box-shadow: var(--shadow-soft); border: 1px solid var(--hair); overflow: hidden; }
.board__head {
  position: relative; padding: 16px 24px; text-align: center;
  background: repeating-linear-gradient(90deg, #b9825b 0 22px, #b27a53 22px 26px, #bf8a63 26px 48px);
  color: #fff; font-family: var(--font-mincho); font-size: 19px; font-weight: 700; letter-spacing: .14em;
}
.board__head::before, .board__head::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #f6e7d3; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.board__head::before { left: 18px; }
.board__head::after { right: 18px; }
.board__list { padding: 10px 24px 6px; }
.fact { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--hair); }
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: 10px; font-family: var(--font-maru); font-weight: 700; font-size: 15px; line-height: 1.5; }
.fact dt .ic { flex: none; width: 34px; height: 34px; }
.fact dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; line-height: 1.7; }
.fact__value { font-weight: 700; }
.fact__value--pending { color: #8d8676; font-weight: 500; }
.fact__note { width: 100%; font-size: 13px; color: var(--ink-soft); line-height: 1.7; order: 3; }
.fact--pending dt { color: #6a7f90; }
.fact--pending dt .ic { filter: grayscale(.55); opacity: .7; }
.pending { margin: 4px 16px 18px; padding: 14px 16px; border-radius: 16px; background: #faf8f3; border: 1px dashed #d9d1bf; }
.pending__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-maru); font-weight: 700; font-size: 14.5px; }
.pending__list { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.pending__list li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--hair); border-radius: 99px; padding: 2px 12px 2px 4px; font-family: var(--font-maru); font-size: 13px; font-weight: 700; color: #6a7f90; }
.pending__list .ic { width: 26px; height: 26px; filter: grayscale(.5); opacity: .75; }
.pending__notes { margin-top: 8px; display: grid; gap: 2px; }
.pending__notes li { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); }
.pending__notes b { font-weight: 700; color: var(--ink); margin-right: 4px; }
.board__official { display: flex; gap: 10px; margin: 6px 16px 16px; padding: 14px 16px; border-radius: 16px; background: #f2f9fd; font-size: 14px; line-height: 1.8; }
.board__official > svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: #3f7f99; }
.board__official a { margin-left: 6px; font-weight: 700; color: #2b6b8a; }

.tips { position: relative; background: var(--green-soft); border-radius: 26px; padding: 26px 24px; border: 1px solid #d8ecc9; }
.tips__title { font-family: var(--font-mincho); font-size: 20px; font-weight: 700; line-height: 1.5; }
.tips__title.card-title { display: flex; }
.tips__lead { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; }
.tips__list { margin-top: 14px; display: grid; gap: 12px; }
.tip { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; background: #fff; border-radius: 18px; padding: 12px 14px; }
.tip .ic { width: 46px; height: 46px; }
.tip__title { font-family: var(--font-maru); font-weight: 700; font-size: 15px; line-height: 1.5; }
.tip__text { margin-top: 2px; font-size: 13.5px; line-height: 1.75; color: var(--text); }

/* ---------- 8. 代行・清掃 ---------- */
.sec--service { background: linear-gradient(180deg, var(--cream), #fdf2ea 30%, #fdf2ea 80%, var(--cream)); }
.work { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.work::before { content: ""; position: absolute; left: 10%; right: 10%; top: 46px; border-top: 3px dotted var(--peach); }
.work__step { position: relative; background: #fff; border-radius: 24px; padding: 18px 16px 20px; text-align: center; border: 1px solid var(--hair); box-shadow: 0 4px 0 rgba(243, 199, 165, .7); }
.work__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: #fdf2ea; }
.work__icon .ic { width: 44px; height: 44px; transition: transform .4s cubic-bezier(.2, .9, .3, 1.6); }
.work__step:hover .ic { transform: rotate(-8deg) scale(1.12); }
.work__no { margin-top: 8px; font-family: var(--font-mincho); font-size: 12px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.work__title { font-family: var(--font-mincho); font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.work__text { margin-top: 6px; font-size: 13.5px; line-height: 1.75; text-align: left; color: var(--text); }
.features { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; background: #fff; border-radius: 22px; padding: 16px; border: 1px solid var(--hair); }
.feature .ic { width: 48px; height: 48px; }
.feature__title { font-family: var(--font-maru); font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.feature__text { margin-top: 4px; font-size: 13.5px; line-height: 1.75; color: var(--text); }
.mid-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border-radius: 28px; padding: 22px 28px; border: 2px dashed var(--peach); }
.mid-cta__text { flex: 1 1 320px; font-size: 14.5px; line-height: 1.8; color: var(--text); }
.mid-cta__text strong { display: block; font-family: var(--font-mincho); font-size: 19px; color: var(--ink); }
.mid-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mid-cta .btn { margin-top: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 26px; min-height: 60px; min-width: 230px; border-radius: 99px;
  font-family: var(--font-maru); font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.3; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.btn > span { display: flex; flex-direction: column; align-items: center; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn small { display: block; font-size: 11.5px; font-weight: 500; opacity: .92; letter-spacing: .04em; margin-top: 2px; }
.btn--tel { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #1b3245, 0 12px 24px rgba(43, 75, 101, .2); }
.btn--line { background: var(--line-green); color: #fff; box-shadow: 0 5px 0 #04a446, 0 12px 24px rgba(6, 199, 85, .22); }
.btn:hover { transform: translateY(3px); }
.btn--tel:hover { box-shadow: 0 2px 0 #1b3245, 0 8px 16px rgba(43, 75, 101, .2); }
.btn--line:hover { box-shadow: 0 2px 0 #04a446, 0 8px 16px rgba(6, 199, 85, .22); }

/* 料金 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.plan { position: relative; background: #fff; border-radius: 30px; padding: 30px 28px 24px; border: 1px solid var(--hair); box-shadow: var(--shadow-soft); }
.plan--main { border: 2px solid var(--peach); }
/* プラン：名前・価格・説明は中央にそろえる（右側に余白が残らないように） */
.plan__en, .plan__name, .plan__lead { text-align: center; }
.plan__lead, .fee--free .fee__text { text-wrap: balance; }
.plan__en { font-family: var(--font-mincho); font-size: 11.5px; letter-spacing: .24em; color: var(--gold); font-weight: 700; }
.plan__name { margin-top: 2px; font-family: var(--font-mincho); font-size: 24px; font-weight: 700; letter-spacing: .05em; line-height: 1.4; }
.plan__catch { display: table; margin: 4px auto 0; font-family: var(--font-maru); font-size: 13px; font-weight: 700; color: #8a5a3c; background: #fdf2ea; border-radius: 99px; padding: 1px 12px; }
.plan__prices { margin-top: 16px; display: grid; gap: 8px; }
.price { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 12px 16px; border-radius: 18px; background: var(--cream); }
.price__label { font-family: var(--font-maru); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--hair); white-space: nowrap; }
.price__num { font-family: var(--font-mincho); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: .02em; }
.price__num small { font-size: 14px; margin-left: 2px; }
.price__tax { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.price--first { background: linear-gradient(90deg, #fff1e6, #fff8f1); border: 1px solid #f6d6bd; }
.price--first .price__label { background: #e8875c; border-color: #e8875c; color: #fff; }
.price--first .price__num { font-size: 34px; color: #b4532a; }
.plan__lead { margin-top: 14px; font-size: 14px; color: var(--text); line-height: 1.8; }
.plan__more { margin-top: 12px; border-top: 1px dashed var(--hair); padding-top: 10px; }
.plan__more summary, .cond summary { cursor: pointer; list-style: none; font-family: var(--font-maru); font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; min-height: 40px; }
.plan__more summary::-webkit-details-marker, .cond summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.plan__more summary::after, .cond summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.plan__more[open] summary::after, .cond[open] summary::after { transform: rotate(-135deg); }
.plan__more ul { margin-top: 6px; display: grid; gap: 6px; }
.plan__more li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; line-height: 1.7; }
.plan__more li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green-deep); }
.plan__ex { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }

.price-notes { max-width: 980px; margin: 26px auto 0; display: grid; gap: 16px; }
.cond { background: #fff; border-radius: 20px; padding: 8px 20px; border: 1px solid var(--hair); }
.cond__badge { font-size: 11.5px; color: #fff; background: #e8875c; border-radius: 99px; padding: 1px 10px; }
.cond__list { padding: 4px 0 12px; display: grid; gap: 8px; }
.cond__list div { display: grid; grid-template-columns: 56px 1fr; gap: 10px; font-size: 14px; line-height: 1.75; }
.cond__list dt { font-family: var(--font-maru); font-weight: 700; color: #b4532a; }
.price-notes__list { display: grid; gap: 4px; padding: 0 6px; }
.price-notes__list li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.8; color: var(--text); }
.price-notes__list li::before { content: "※"; position: absolute; left: 0; }
.fee { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; background: var(--c-soft); border-radius: 26px; padding: 20px 24px; border: 1px solid var(--c-band); }
.fee__art svg { width: 100%; height: auto; }
.fee--free { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 24px 24px 22px; }
.fee--free .fee__art { width: 200px; }
.fee--free .fee__title { justify-content: center; }
.fee--free .fee__rows { justify-content: center; }
.fee--free .fee__text { max-width: 620px; }
.van__body { animation: van-bob .5s ease-in-out infinite alternate; }
.van__wheel { animation: spin 1s linear infinite; }
.van__speed { animation: van-speed 1.2s ease-in-out infinite; }
.fee__pin { transform-box: fill-box; transform-origin: bottom center; animation: hop 2.4s ease-in-out infinite; }
.fee__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--font-mincho); font-size: 19px; font-weight: 700; line-height: 1.5; }
.fee__rows { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.fee__rows div { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 99px; padding: 4px 14px; font-size: 14px; border: 1px solid var(--c-band); }
.fee__rows dt { font-family: var(--font-maru); font-weight: 700; color: var(--c-deep); }
.fee__rows dd { font-weight: 700; }
.fee__text { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--text); }
.others { background: #fff; border-radius: 20px; padding: 16px 20px; border: 1px solid var(--hair); }
.others__title { font-family: var(--font-maru); font-weight: 700; font-size: 14.5px; }
.others ul { margin-top: 6px; display: grid; gap: 6px; }
.others li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--hair); }
.others__name { font-weight: 700; }
.others__price { font-family: var(--font-mincho); font-weight: 700; color: #b4532a; }
.others__note { font-size: 13px; color: var(--ink-soft); }
.text-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-family: var(--font-maru); font-weight: 700; font-size: 14px; }
.text-link svg { width: 15px; height: 15px; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: flow; }
.flow__step { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 24px; padding: 20px 20px 20px 18px; border: 1px solid var(--hair); box-shadow: var(--shadow); }
.flow__no { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 2px solid var(--peach); font-family: var(--font-mincho); font-weight: 700; font-size: 22px; color: #b4532a; box-shadow: 0 4px 0 var(--peach); }
.flow__step:hover .flow__no { animation: hop .8s ease; }
.flow__title { font-family: var(--font-mincho); font-size: 17.5px; font-weight: 700; line-height: 1.5; }
.flow__text { margin-top: 4px; font-size: 14px; line-height: 1.8; color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: 20px; border: 1px solid var(--hair); box-shadow: 0 3px 0 rgba(43, 75, 101, .06); overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 34px 1fr 24px; gap: 12px; align-items: center; padding: 16px 18px; font-family: var(--font-maru); font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.faq__q, .faq__alabel { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--font-mincho); font-weight: 700; font-size: 16px; }
.faq__q { background: var(--ink); color: #fff; }
.faq__toggle { position: relative; width: 20px; height: 20px; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 2.6px; margin-top: -1.3px; border-radius: 2px; background: var(--ink); transition: transform .3s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 0 18px 18px; }
.faq__alabel { background: #fdf2ea; color: #b4532a; }
.faq__a p { font-size: 14.5px; line-height: 1.9; color: var(--text); padding-top: 4px; }

/* ---------- 9. ご相談・関連リンク・出典・フッター ---------- */
.sec--consult { padding-top: 30px; }
.consult {
  position: relative; max-width: 900px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, #e6f5fb, #fff 70%); border-radius: 40px; padding: 54px 32px 44px;
  border: 1px solid var(--hair); box-shadow: var(--shadow-soft);
}
.consult::before { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(127, 192, 216, .6); border-radius: 32px; pointer-events: none; }
.consult__icon { position: absolute; left: 50%; top: -34px; width: 68px; height: 68px; margin-left: -34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.consult__icon svg { width: 50px; height: 50px; }
.consult__deco { position: absolute; bottom: 8px; width: 40px; height: 80px; transform-origin: bottom center; animation: sway 4.4s ease-in-out infinite; }
.consult__deco--l { left: 28px; }
.consult__deco--r { right: 28px; animation-delay: -2s; }
.consult__kicker { font-family: var(--font-mincho); font-size: 12px; letter-spacing: .3em; color: var(--gold); }
.consult__title { margin-top: 6px; font-family: var(--font-mincho); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: .05em; line-height: 1.6; }
.consult__text { margin: 12px auto 0; max-width: 640px; font-size: 15px; color: var(--text); }
.consult__btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.consult__hours { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.link-card { height: 100%; display: grid; grid-template-columns: 52px 1fr 18px; gap: 12px; align-items: center; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--hair); text-decoration: none; box-shadow: 0 3px 0 rgba(197, 160, 89, .35); transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(197, 160, 89, .35), var(--shadow); }
.link-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); }
.link-card__icon .ic { width: 38px; height: 38px; }
.link-card__text { display: flex; flex-direction: column; line-height: 1.5; }
.link-card__main { font-family: var(--font-maru); font-weight: 700; font-size: 15px; }
.link-card__sub { font-size: 12.5px; color: var(--ink-soft); }
.link-card > svg { width: 18px; height: 18px; color: var(--gold); }
.link-card:hover > svg { animation: nudge .9s ease-in-out infinite; }
.nearby { text-align: center; max-width: 980px; margin: 22px auto 0; background: var(--c-soft); border-radius: 24px; padding: 20px 22px; border: 1px solid var(--c-band); }
.nearby__title { font-family: var(--font-mincho); font-weight: 700; font-size: 17px; }
.nearby__lead { margin-top: 2px; font-size: 13.5px; color: var(--text); text-wrap: balance; }
.nearby__list { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nearby__list li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 99px; padding: 4px 6px 4px 8px; font-family: var(--font-maru); font-weight: 700; font-size: 14px; border: 1px solid var(--hair); }
.nearby__list svg { width: 24px; height: 24px; }
.nearby__list span { font-size: 11px; color: #8a8a80; background: #f5f3ee; border: 1px dashed #d5d0c2; border-radius: 99px; padding: 0 8px; }
.nearby__list li.is-link { padding: 0; border-color: var(--c-band); transition: transform .2s, box-shadow .2s; }
.nearby__list li.is-link a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 8px; color: inherit; text-decoration: none; border-radius: inherit; }
.nearby__list li.is-link span { color: #fff; background: var(--c-deep, #2B4B65); border: 0; flex: none; white-space: nowrap; }
.nearby__list li.is-link:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(43, 75, 101, .12); }
@media (prefers-reduced-motion: reduce) { .nearby__list li.is-link:hover { transform: none; } }

.sec--sources { padding: 20px 0 60px; }
.sources { background: #fff; border-radius: 22px; padding: 22px 26px; border: 1px dashed #d5cbb5; }
.sources > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 2px 10px; padding-left: 22px; min-height: 40px; padding-right: 22px; position: relative; }
.sources > summary::after { position: absolute; right: 4px; top: 50%; margin-top: -6px; }
.sources > summary::-webkit-details-marker { display: none; }
.sources > summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2.4px solid var(--ink); border-bottom: 2.4px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.sources[open] > summary::after { transform: rotate(-135deg); }
.sources__hint { font-family: var(--font-maru); font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.sources__title { font-family: var(--font-mincho); font-size: 17px; font-weight: 700; }
.sources__list { margin-top: 10px; display: grid; gap: 8px; }
.sources__list li { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 4px 10px; align-items: baseline; font-size: 13.5px; line-height: 1.7; }
.src__kind { font-family: var(--font-maru); font-size: 11.5px; font-weight: 700; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--hair); border-radius: 99px; padding: 0 9px; }
.src__date { font-size: 12px; color: var(--ink-soft); }
.sources__notes { margin-top: 12px; display: grid; gap: 4px; }
.sources__notes li { position: relative; text-align: center; font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.sources__notes li::before { content: ""; display: inline-block; vertical-align: middle; margin-right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }

.site-footer { position: relative; background: #fff; margin-top: 60px; border-top: 1px solid var(--hair); }
.site-footer__hills { position: absolute; left: 0; right: 0; top: -60px; width: 100%; height: 61px; }
.site-footer__inner { max-width: 1100px; margin: 0 auto; padding: 30px 20px; text-align: center; }
.site-footer__logo { font-family: var(--font-mincho); font-size: 28px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; }
.site-footer__logo small { display: block; font-size: 9px; letter-spacing: .3em; }
.site-footer__tag { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.site-footer__disclaimer { margin: 10px auto 0; max-width: 620px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }
.site-footer__home { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-family: var(--font-maru); font-size: 14px; font-weight: 700; }
.site-footer__home svg { width: 16px; height: 16px; }
.site-footer__copy { margin-top: 10px; }

.dock { display: none; }
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1px solid var(--hair); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- 10. 動き ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stop.reveal { transform: translateY(40px); }
.js .stop.reveal .stop__photo { transform: translateX(-30px) rotate(-3deg); opacity: 0; transition: transform 1s cubic-bezier(.2, .8, .3, 1.1), opacity .8s; }
.js .stop--alt.reveal .stop__photo { transform: translateX(30px) rotate(3deg); }
.js .stop.reveal.is-in, .js .stop.reveal.is-in .stop__photo { transform: none; opacity: 1; }
.js .stop.reveal::before { transform: scale(0); transition: transform .6s .3s cubic-bezier(.2, .9, .3, 1.8); }
.js .stop.reveal.is-in::before { transform: none; }
.js .reveal-list > li { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1.2); }
.js .reveal-list.is-in > li { opacity: 1; transform: none; }
.js .reveal-list.is-in > li:nth-child(2) { transition-delay: .08s; }
.js .reveal-list.is-in > li:nth-child(3) { transition-delay: .16s; }
.js .reveal-list.is-in > li:nth-child(4) { transition-delay: .24s; }
.js .reveal-list.is-in > li:nth-child(5) { transition-delay: .32s; }
.js .reveal-list.is-in > li:nth-child(6) { transition-delay: .4s; }
.js .reveal-list.is-done > li { transition-delay: 0s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-20px); } to { transform: translateX(30px); } }
@keyframes sway { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
@keyframes sway-soft { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }
@keyframes fly { from { translate: -40vw 0; } to { translate: 90vw -40px; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-30deg) scale(1.6); } to { opacity: 1; transform: rotate(10deg); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 30% { rotate: -8deg; } 60% { rotate: 6deg; } }
@keyframes hop { 0%, 100% { translate: 0 0; } 40% { translate: 0 -7px; } 60% { translate: 0 -2px; } }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 4px 0; } }
@keyframes van-bob { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes van-speed { 0%, 100% { opacity: .2; transform: translateX(6px); } 50% { opacity: 1; transform: none; } }
@keyframes menu-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lb-fade { from { opacity: .2; } to { opacity: 1; } }

/* ---------- 画面幅ごとの調整 ---------- */
@media (max-width: 1100px) {
  .work { grid-template-columns: repeat(3, 1fr); }
  .work::before { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .fact { grid-template-columns: 160px 1fr; }
}

@media (max-width: 820px) {
  :root { --toc-h: 54px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .site-header { padding: 10px 16px 2px; }
  .logo__mark { font-size: 23px; }
  .site-nav { display: none; }
  .toc { display: none; }
  html { scroll-padding-top: 76px; }
  /* ロゴとメニューのボタンは、写真や空の上に浮かぶリキッドグラス（css/liquid-glass.css の .lg） */
  .logo { position: fixed; z-index: 55; left: max(12px, env(safe-area-inset-left, 0px)); top: calc(10px + env(safe-area-inset-top, 0px)); padding: 8px 12px; border-radius: 16px; }
  .logo__img { height: 30px; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .85)) drop-shadow(0 0 1px rgba(255, 255, 255, .9)); }
  .site-header { min-height: 64px; }
  /* メニューのボタンは本番HPと同じ形（白い丸・金の細いふち・長さの違う3本線） */
  .menu-btn {
    position: fixed; z-index: 55; right: max(14px, env(safe-area-inset-right, 0px)); top: calc(8px + env(safe-area-inset-top, 0px));
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 50px; height: 50px; padding: 0; border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, .3); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(197, 160, 89, .25); color: #2b4b65; cursor: pointer;
  }
  .menu-btn:active { transform: scale(.95); }
  /* リキッドグラスにしたときも、金の細いふちとやわらかな金の光は残す */
  .menu-btn.lg {
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .85), inset 0 -1px 1px rgba(255, 255, 255, .35),
      0 0 20px rgba(197, 160, 89, .28), 0 4px 12px -6px rgba(30, 52, 70, .3);
  }
  .menu-btn.lg .menu-btn__label { text-shadow: 0 0 4px #fff, 0 0 2px #fff; }
  .menu-btn.lg .menu-btn__bars i { box-shadow: 0 0 3px rgba(255, 255, 255, .9); }
  /* 試作リボンが見えている間はその下に置き、スクロールしたら上端へ寄せる */
  .logo, .menu-btn { transition: top .3s ease; }
  html:not(.is-scrolled) .has-ribbon .logo { top: calc(38px + env(safe-area-inset-top, 0px)); }
  html:not(.is-scrolled) .has-ribbon .menu-btn { top: calc(36px + env(safe-area-inset-top, 0px)); }
  .nearby { padding: 18px 14px; }
  .menu-btn__bars { position: relative; width: 24px; height: 14px; }
  .menu-btn__bars i { position: absolute; right: 0; height: 1.5px; border-radius: 999px; background: #2b4b65; transition: .25s ease; }
  .menu-btn__bars i:nth-child(1) { top: 0; width: 24px; }
  .menu-btn__bars i:nth-child(2) { top: 6px; width: 18px; opacity: .45; }
  .menu-btn__bars i:nth-child(3) { top: 12px; width: 12px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(1) { transform: translateY(6px) rotate(35deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(3) { width: 24px; transform: translateY(-6px) rotate(-35deg); }
  .menu-btn__label { font-family: Arial, "Hiragino Sans", sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
  .menu { position: fixed; inset: 0; z-index: 80; background: rgba(23, 42, 58, .42); }
  .menu__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); overflow-y: auto;
    padding: calc(20px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 22px;
    background: var(--cream); box-shadow: -12px 0 30px rgba(43, 75, 101, .2); animation: menu-in .35s cubic-bezier(.2, .8, .3, 1);
  }
  .menu__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: #fff; display: grid; place-items: center; cursor: pointer; }
  .menu__close svg { width: 20px; height: 20px; }
  .menu__title { font-family: var(--font-mincho); font-size: 20px; font-weight: 700; padding-right: 52px; }
  .menu__list { margin-top: 14px; display: grid; }
  .menu__list a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 4px 4px; border-bottom: 1px dashed var(--hair); text-decoration: none; font-family: var(--font-maru); font-weight: 700; font-size: 15.5px; }
  .menu__list a svg { width: 16px; height: 16px; color: var(--gold); }
  .menu__links { margin-top: 16px; display: grid; gap: 4px; }
  .menu__links a { font-size: 13.5px; font-weight: 700; }
  .menu__cta { margin-top: 18px; display: grid; gap: 10px; }
  .menu__cta .btn { min-height: 56px; }
  .site-nav a { min-height: 38px; padding: 6px 14px; font-size: 13px; }
  .crumbs { padding: 4px 16px 0; }
  .crumbs ol { font-size: 11.5px; }

  .hero { padding: 14px 16px 96px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; } /* 中身の長い文字で列が画面より広がらないように */
  .hero__photo { order: -1; margin: 0 -4px; }
  .hero__frame { aspect-ratio: 4 / 3.3; border-width: 6px; border-radius: 46% 46% 24px 24px / 30% 30% 24px 24px; }
  .hero__cap { font-size: 12.5px; margin-top: -18px; }
  .postcard { margin-top: 18px; padding: 34px 22px 24px; }
  .postcard__stamp { width: 58px; height: 58px; margin: -22px -8px -10px 8px; font-size: 12px; }
  .postcard__stamp.is-long { font-size: 10.5px; }
  .postcard__name { font-size: 42px; }
  .postcard__name.is-long { font-size: 36px; }
  .postcard__kicker, .postcard__title { text-align: center; }
  .postcard__kicker { font-size: 11px; letter-spacing: .16em; }
  .postcard__tags { justify-content: center; gap: 6px 5px; }
  .postcard__tags li { padding: 3px 9px; font-size: 12px; }
  .postcard__lead { font-size: 14.5px; }
  .hero { padding-top: 64px; }
  .hero-sun { left: auto; right: 8%; top: 2px; width: 58px; height: 58px; }
  .hero-cloud--1 { width: 96px; height: 52px; left: 3%; top: 10px; }
  .hero-cloud--3 { width: 110px; height: 58px; right: auto; left: 40%; top: 0; }
  .hero-cloud--2 { display: none; }
  .hf--3 { display: none; }

  .toc__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 7px 12px; }
  .toc__list::-webkit-scrollbar { display: none; }
  .toc__chip { min-height: 38px; font-size: 13px; padding: 4px 12px; }

  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head__lead { font-size: 14.5px; text-align: left; }
  .about { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; grid-template-areas: "board" "access" "rules" "tips"; }
  .rules__list { grid-template-columns: 1fr; }
  .rules { padding: 20px 16px; }
  .access { padding: 20px 16px; }
  .summary { padding: 24px 20px 20px; }
  .summary__list p { font-size: 14.5px; }

  .trail__line { left: 14px; margin-left: 0; }
  .stop { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-left: 36px; }
  .stop__photo { min-width: 0; max-width: 100%; }
  .stop::before { left: 18px; top: 22px; }
  .stop--alt .stop__photo { order: 0; }
  .stop__photo a { border-width: 6px; border-radius: 20px; }
  .trail--few .trail__stops { grid-template-columns: 1fr; }
  .trail--few .stop, .trail--few .stop:only-child { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 20px; }
  .stop__text { font-size: 14.5px; }

  .gallery, .gallery--n4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery--n3 .gallery__item:first-child { grid-column: span 2; }
  .gallery--n2 { grid-template-columns: 1fr; }
  .gallery__item figcaption { font-size: 12.5px; }

  .board__list { padding: 4px 16px; }
  .fact { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .fact dd { padding-left: 44px; font-size: 14.5px; }
  .tips { padding: 22px 16px; }

  .work { grid-template-columns: 1fr; gap: 10px; }
  .work__step { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; text-align: left; padding: 14px 16px; }
  .work__icon { grid-row: span 3; margin: 0; }
  .work__no { margin-top: 0; }
  .features { grid-template-columns: 1fr; gap: 10px; }
  .mid-cta { padding: 20px 18px; }
  .mid-cta__btns, .consult__btns { width: 100%; flex-direction: column; }
  .btn { width: 100%; min-width: 0; }

  .plans { grid-template-columns: 1fr; }
  .plan { padding: 24px 18px 18px; }
  .price--first .price__num { font-size: 30px; }
  .fee { grid-template-columns: 1fr; padding: 18px; }
  .fee__art { width: 140px; margin: 0 auto; }

  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__step { border-radius: 0; box-shadow: none; border: 0; border-left: 3px dotted var(--peach); margin-left: 24px; padding: 4px 0 22px 0; grid-template-columns: 50px 1fr; background: transparent; }
  .flow__no { margin-left: -27px; }
  .flow__step:last-child { border-left-color: transparent; }

  .faq__item summary { grid-template-columns: 30px 1fr 20px; padding: 14px; font-size: 14.5px; }
  .faq__q, .faq__alabel { width: 30px; height: 30px; font-size: 14px; }
  .faq__a { grid-template-columns: 30px 1fr; padding: 0 14px 16px; }

  .consult { padding: 50px 18px 36px; border-radius: 30px; }
  .consult__deco { display: none; }
  .links { grid-template-columns: 1fr; }
  .sources { padding: 18px; }

  /* 公式の地域ページと同じ、角の丸い浮いた相談バー */
  .dock {
    position: fixed; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
    left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    border-radius: 999px; background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(43, 75, 101, .2);
    box-shadow: 0 12px 28px -16px rgba(30, 52, 70, .6);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transform: translateY(calc(100% + 24px)); transition: transform .4s cubic-bezier(.2, .9, .3, 1.1);
  }
  .dock.is-shown { transform: none; }
  .dock__btn { display: flex; align-items: center; justify-content: center; gap: clamp(5px, 1.6vw, 8px); min-height: 56px; padding: 4px 8px; text-decoration: none; font-family: var(--font); font-weight: 700; font-size: clamp(12.5px, 3.6vw, 13.5px); line-height: 1.3; }
  .dock__btn span { display: flex; flex-direction: column; align-items: flex-start; }
  /* 画面がせまいときは小さな文字を縮めて、「ご相談・お見積もり無料」を1行に収める */
  .dock__btn small { font-size: clamp(9px, 2.65vw, 10.5px); font-weight: 700; opacity: .85; white-space: nowrap; }
  .dock__btn svg { width: 18px; height: 18px; flex: none; }
  .dock__btn--tel { color: var(--ink); }
  .dock__btn--line { color: #087b3b; background: #e6f9ee; box-shadow: inset 1px 0 0 #d1e8d9; }
  .dock__btn--line svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--line-green); color: #fff; --line-text: var(--line-green); }
  .to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
  .site-footer__inner { padding-bottom: 96px; }

  .lightbox__inner { padding: 56px 8px 12px; }
  .lightbox__btn { top: auto; bottom: -58px; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__close { right: 8px; }
  .lightbox__inner { padding-bottom: 72px; }
}

@media (max-width: 380px) {
  .sec-head__title { font-size: clamp(21px, 7vw, 26px); } /* 「○○墓地の / お墓参り代行・墓石清掃」が1文字だけ次の行に落ちないように */
  .link-card { grid-template-columns: 40px 1fr 16px; gap: 10px; padding: 14px 12px; }
  .link-card__icon { width: 40px; height: 40px; }
  .link-card__icon .ic { width: 30px; height: 30px; }
  .postcard__name { font-size: 36px; }
  .postcard__name.is-long { font-size: 31px; }
  .postcard { padding: 30px 18px 22px; }
  .price--first .price__num { font-size: 28px; }
}

/* 動きを減らす設定：装飾の動きと出現演出を止める（内容はすべて見える） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-list > li, .js .stop.reveal .stop__photo { opacity: 1; transform: none; }
  .js .stop.reveal::before { transform: none; }
  .hero__img img { transform: none; }
}

/* Individual cemetery pages: service label, photo captions and mobile gallery controls. */
.site-header .logo--with-services { flex-direction: row; gap: 10px; }
.logo--with-services .logo__img { flex: none; }
.logo__services {
  min-width: 0; padding-inline-start: 10px; border-inline-start: 1px solid #2b4b6538;
  color: var(--ink, #263849); font-family: var(--font-maru, sans-serif);
  font-size: 12px; font-weight: 700; line-height: 1.45; text-align: left;
}
.logo__services span { display: block; }
.hero__cap.hero__cap--phrased { box-sizing: border-box; width: max-content; max-width: 100%; }
:is(.hero__cap-text, .photo-cap--phrased) {
  min-width: 0; line-break: strict; word-break: normal; word-break: auto-phrase;
  overflow-wrap: anywhere; text-wrap: pretty;
}
.caption-phrase { display: inline-block; width: max-content; max-width: 100%; }
html.lg-refract .site-header .lg[data-lg-ready] {
  -webkit-backdrop-filter: var(--lg-filter);
  backdrop-filter: var(--lg-filter);
}
@media (max-width: 820px) {
  .site-header .logo--with-services {
    max-width: calc(100% - max(12px, env(safe-area-inset-left, 0px)) - max(14px, env(safe-area-inset-right, 0px)) - 62px);
  }
  .logo__services { font-size: clamp(10.5px, 3vw, 12px); text-shadow: 0 1px 3px #ffffffb8; }
  .lightbox { overflow: auto; }
  .lightbox .lightbox__btn { bottom: 12px; }
}
