/* 法泉寺 全面刷新 代表画面 r3（2026-10-28）— 全ページ共通の決まり（デザインシステム）
   配色・書体の大本は指示書（2026-10-20）：墨・深緑・生成り・古金（少しだけ）・本文
   見出し＝明朝（しっぽり明朝 B1）／本文・ボタン・メニュー＝ゴシック（BIZ UDP ゴシック：読みやすさのための UD 書体）
   本文 スマホ17px・PC 18px、行間1.85。押せる所は高さ48px以上（主な行動は56px以上）
   考え方：寺の「掲示（定め書き）」のように、費用・条件を正確に、落ち着いて示す。飾りは足さない。写真は本物を大きく */
:root {
  --sumi: #242C27; --midori: #34483D; --midori-d: #2a3b32; --kinari: #F7F4ED; --kin: #A58A52; --kin-d: #6f5a2e;
  --ink: #292D29; --muted: #575c55; --line: #d8d0be; --line-l: #e7e1d3; --paper: #fff; --stone: #efebe1;
  --mincho: "Shippori Mincho B1", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --gothic: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1160px; --text: 38em; --gut: 20px; --hdr: 64px; --bar: 64px; --sec: 72px;
}
@media (min-width: 768px) { :root { --gut: 40px; --sec: 112px; } }
@media (min-width: 1100px) { :root { --hdr: 80px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--gothic); font-size: 17px; line-height: 1.85; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased; padding-bottom: var(--bar); overflow-wrap: anywhere; }
@media (min-width: 1024px) { body { font-size: 18px; padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--midori); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--sumi); }
:focus-visible { outline: 3px solid var(--kin); outline-offset: 3px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.text { max-width: var(--text); }
.sec { padding: var(--sec) 0; }
.sec + .sec { padding-top: 0; }
.sec.tint { background: var(--kinari); padding-top: var(--sec); }
.tint + .sec { padding-top: var(--sec); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--sumi); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; }
.draft { position: fixed; z-index: 300; left: 8px; bottom: calc(var(--bar) + 8px); background: rgba(36,44,39,.88); color: #fff; font: 700 12px/1.4 var(--gothic); padding: 4px 9px; pointer-events: none; }
@media (min-width: 1024px) { .draft { bottom: 8px; } }

/* ---------- 文字の段（見出し） ---------- */
h1, h2, h3 { font-family: var(--mincho); color: var(--sumi); font-weight: 700; margin: 0; word-break: auto-phrase; }
/* 11/02 tenken B1：札・表・ボタン・本文でも言葉の切れ目で折る（1字だけ次の行に落ちるのを防ぐ） */
p, li, dt, dd, th, td, figcaption, summary, small, b, strong, .btn { word-break: auto-phrase; text-wrap: pretty; }
.nb { display: inline-block; }   /* 見出しを言葉の切れ目で折り返す（auto-phrase の効かないブラウザのため） */
.h2 { font-size: clamp(25px, 5.6vw, 36px); line-height: 1.5; letter-spacing: .08em; margin: 0 0 .9em; }
.h3 { font-size: clamp(20px, 4.4vw, 23px); line-height: 1.55; letter-spacing: .06em; margin: 0 0 .5em; }
.lead { font-size: 1.06em; }
.note { font-size: 15px; color: var(--muted); line-height: 1.75; }
.muted { color: var(--muted); }

/* ---------- ヘッダー ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line-l); }
.hdr-in { height: var(--hdr); max-width: 1320px; margin: 0 auto; padding: 0 6px 0 var(--gut); display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; min-height: 48px; flex: none; }
.logo img { height: 38px; width: auto; }
@media (min-width: 1100px) { .logo img { height: 46px; } }
.gnav { display: none; }
.gnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; color: var(--sumi); text-decoration: none; font-size: 15px; white-space: nowrap; letter-spacing: .04em; border-bottom: 2px solid transparent; }
.gnav a:hover { border-bottom-color: var(--kin); }
.gnav a[aria-current] { border-bottom-color: var(--midori); font-weight: 700; }
.hdr-tel { display: none; }
.gmenu { margin-left: auto; }
.gmenu > summary { list-style: none; width: 64px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; color: var(--sumi); font-size: 12px; letter-spacing: .1em; }
.gmenu > summary::-webkit-details-marker { display: none; }
.gmenu > summary i { display: block; width: 24px; height: 12px; border-top: 1.5px solid var(--sumi); border-bottom: 1.5px solid var(--sumi); position: relative; }
.gmenu > summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid var(--sumi); }
.gmenu[open] > summary i { border-color: transparent; } .gmenu[open] > summary i::after { transform: rotate(45deg); } .gmenu[open] > summary i::before { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid var(--sumi); transform: rotate(-45deg); }
.gmenu-panel { position: fixed; left: 0; right: 0; top: var(--hdr); bottom: 0; overflow: auto; background: var(--paper); border-top: 1px solid var(--line-l); padding: 8px var(--gut) 40px; }
.gmenu-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line-l); color: var(--sumi); text-decoration: none; font: 700 19px/1.4 var(--mincho); letter-spacing: .06em; }
.gmenu-panel a::after { content: ""; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 6px; }
.gmenu-panel .tel { margin-top: 24px; }
.gmenu-panel .tel a { width: 100%; font-family: var(--gothic); justify-content: center; color: #fff; }   /* 11/02 tenken：緑の地に濃い灰色の字（1.4:1）だった */
/* 11/02 tenken B：メールの住所を「@gmail / .com」で折らない */
a[href^="mailto:"] { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }   /* 11/02 nowrap は 390 で横に 24px はみ出したので、住所ごと次の行へ送り、それでも入らない時だけ折る */
.gmenu-panel .tel a::after { display: none; }
@media (min-width: 1100px) {
  .gnav { display: flex; margin-left: auto; } .gmenu { display: none; }
  .hdr-tel { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding-left: 18px; margin-left: 6px; border-left: 1px solid var(--line); color: var(--sumi); text-decoration: none; line-height: 1.25; }
  .hdr-tel small { font-size: 12px; color: var(--muted); letter-spacing: .08em; } .hdr-tel b { font: 700 20px/1.25 var(--mincho); letter-spacing: .05em; }
}

/* ---------- パンくず ---------- */
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 2px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .2em; }
.crumbs li { display: flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "／"; margin: 0 .45em; color: var(--line); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- ボタン ---------- */
.acts { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 10px 26px; border-radius: 2px; font: 700 17px/1.35 var(--gothic); letter-spacing: .06em; text-decoration: none; text-align: center; }
.btn-main { background: var(--midori); color: #fff; } .btn-main:hover { background: var(--midori-d); color: #fff; }
.btn-line { background: var(--paper); color: var(--sumi); border: 1.5px solid var(--sumi); } .btn-line:hover { background: var(--kinari); color: var(--sumi); }
.btn-tel { flex-direction: column; gap: 0; padding: 8px 30px; }
.btn-tel small { font-size: 13px; font-weight: 400; letter-spacing: .08em; } .btn-tel b { font: 700 24px/1.25 var(--mincho); letter-spacing: .06em; }
.on-dark .btn-main { background: var(--kinari); color: var(--sumi); } .on-dark .btn-main:hover { background: #fff; }
.on-dark .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); } .on-dark .btn-line:hover { background: rgba(255,255,255,.08); }
@media (max-width: 599px) { .acts .btn { width: 100%; } }
.go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--sumi); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.go::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

/* ---------- 定め書き（費用と条件の掲示。このサイトの顔になる部品） ---------- */
.board { background: var(--paper); border: 1px solid var(--sumi); }
.board-h { margin: 0; background: var(--sumi); color: #fff; font: 700 17px/1.4 var(--mincho); letter-spacing: .3em; padding: 12px 20px; }
.board dl { margin: 0; padding: 4px 20px 6px; }
.board dl > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.board dl > div:last-child { border-bottom: 0; }
.board dt { font-size: 14.5px; color: var(--kin-d); letter-spacing: .08em; }
.board dd { margin: 0; color: var(--sumi); font-weight: 700; line-height: 1.6; }
.board dd small { display: block; font-weight: 400; font-size: 14.5px; color: var(--muted); }
.board .price { font: 800 clamp(30px, 8vw, 40px)/1.15 var(--mincho); letter-spacing: .02em; }
.board .price span { font-size: .5em; font-weight: 700; margin-left: .15em; letter-spacing: .1em; }
.board .price-note { display: inline-block; font-size: 15px; color: var(--midori); margin-left: .8em; letter-spacing: .06em; }
.board-foot { margin: 0; padding: 10px 20px 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 下層ページの最初の画面（スマホ：名前→写真→費用と条件／PC：左に名前と費用、右に縦長の写真） ---------- */
.pghead { padding: 8px 0 var(--sec); }
.pghead-grid { display: grid; gap: 22px; grid-template-areas: "a" "ph" "b"; }
.pghead-a { grid-area: a; } .pghead-ph { grid-area: ph; } .pghead-b { grid-area: b; }
.pg-title { margin: 6px 0 14px; }
.pg-title .kind { display: block; font-size: clamp(16px, 4vw, 19px); letter-spacing: .12em; font-weight: 600; color: var(--sumi); }
.pg-title .name { display: block; font-size: clamp(52px, 15vw, 96px); line-height: 1.12; letter-spacing: .14em; font-weight: 800; margin-top: 6px; }
.pg-title .name .nb { letter-spacing: inherit; }   /* 10/31 長い名前（ペット合同供養祭・法要・年忌供養）は言葉の切れ目で折る */
.pg-title .yomi { display: block; font: 400 15px/1.4 var(--gothic); letter-spacing: .5em; color: var(--muted); margin-top: 6px; }
.pghead .lead { max-width: 30em; margin: 0; }
.pghead .board { margin: 0 0 20px; }
.pghead-ph { margin: 0; }
.pghead-ph img { width: 100%; object-fit: cover; }
.pghead-ph figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 959px) {
  .pghead-ph { margin: 0 calc(var(--gut) * -1); } .pghead-ph img { aspect-ratio: 3 / 2; } .pghead-ph figcaption { padding: 0 var(--gut); }
}
@media (min-width: 960px) {
  .pghead { padding-top: 20px; }
  .pghead-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); grid-template-rows: auto 1fr; grid-template-areas: "a ph" "b ph"; column-gap: 64px; row-gap: 26px; align-items: start; }
  .pghead-ph { position: sticky; top: calc(var(--hdr) + 24px); }
  .pghead-ph img { aspect-ratio: 1269 / 1928; max-height: calc(100vh - var(--hdr) - 80px); }
}

/* 入口のページ（総合）：写真は横長。名前は1行に収まる大きさ */
.pghead.hub .pg-title .name { font-size: clamp(42px, 11vw, 74px); letter-spacing: .08em; }
@media (min-width: 960px) {
  .pghead.hub .pghead-ph img { aspect-ratio: 4 / 3; max-height: none; }
}
.pg-title .sub { display: block; font: 400 15px/1.5 var(--gothic); letter-spacing: .12em; color: var(--muted); margin-top: 8px; }
/* 10/31 seo の照合：守るページの h1 は本番の文字列だけにし、見本で足した言葉は h1 の外（.pg-kind・.pg-sub・.hc-kind・.hc-sub）に置く。見た目は中と同じ */
.pg-kind { display: block; margin: 6px 0 0; font-size: clamp(16px, 4vw, 19px); letter-spacing: .12em; font-weight: 600; color: var(--sumi); }
.pg-kind + .pg-title { margin-top: 0; }
.pg-sub { display: block; margin: -6px 0 14px; font: 400 15px/1.5 var(--gothic); letter-spacing: .12em; color: var(--muted); }
.hc-kind { display: block; margin: 0; font-size: clamp(16px, 4.2vw, 19px); letter-spacing: .1em; font-weight: 600; }
.hc-sub { display: block; margin: 8px 0 0; font: 400 14.5px/1.5 var(--gothic); letter-spacing: .1em; color: var(--muted); }
.pg-title .sub.main, .hc-h1 .sub.main { color: var(--sumi); }
.pg-title .sub.main { font-size: clamp(19px, 5vw, 26px); font-weight: 700; letter-spacing: .14em; margin-top: 2px; }
.hsp { display: block; height: 0; font-size: 0; line-height: 0; }   /* h1 の中の本番どおりの空白（全角）を、見た目の行にしない */
.pg-sub .yomi { display: block; font: 400 15px/1.4 var(--gothic); letter-spacing: .5em; color: var(--muted); margin: 0 0 4px; }

/* 定め書きの行を押せる行に（入口のページの費用の一覧） */
.board .row-link { display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-items: center; gap: 0 12px; color: var(--sumi); text-decoration: none; }
.board .row-link > * { grid-column: 1; }
.board .row-link .sm { font-weight: 400; font-size: 14px; color: var(--muted); }
.board .yen { white-space: nowrap; }
@media (max-width: 599px) { .hub .board dl > div { grid-template-columns: 1fr; gap: 0; padding: 12px 0; } .hub .board dt { font-size: 13.5px; } }
.board .row-link::after { content: ""; grid-row: 1 / -1; grid-column: 2; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.board .row-link:hover b { text-decoration: underline; }
.board .yen { font: 800 23px/1.3 var(--mincho); letter-spacing: .02em; }
.board .left { display: inline-block; font-family: var(--gothic); font-size: 13px; font-weight: 700; color: #fff; background: var(--midori); padding: 1px 8px; margin-left: 6px; vertical-align: 3px; letter-spacing: .06em; }
.board .common { margin: 0; padding: 12px 20px 14px; border-top: 1px solid var(--line); background: var(--kinari); font-size: 15px; line-height: 1.7; }
.board .common b { color: var(--sumi); }

/* ご希望から選ぶ（日本郵便のような「用件から探す」） */
.choose { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sumi); }
.choose a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 6px; border-bottom: 1px solid var(--line); color: var(--sumi); text-decoration: none; min-height: 72px; }
.choose a::after { content: ""; grid-row: 1 / span 2; grid-column: 2; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 8px; }
.choose .wish { font-size: 16px; color: var(--muted); }
.choose .ans { font: 700 20px/1.5 var(--mincho); letter-spacing: .04em; }
.choose .ans small { font: 700 15px/1.5 var(--gothic); color: var(--midori); margin-left: .6em; letter-spacing: .02em; }
.choose a:hover { background: var(--kinari); }
@media (min-width: 900px) { .choose a { grid-template-columns: 22em 1fr auto; } .choose a::after { grid-row: 1; grid-column: 3; } .choose .wish { font-size: 17px; } }

/* お墓の紹介（いちばん勧めたいお墓は大きく、ほかは2列） */
.feature { display: grid; gap: 28px; }
.feature .ph img { aspect-ratio: 4 / 3; }
.feature .badge { display: inline-block; font-size: 14px; font-weight: 700; color: var(--midori); border: 1.5px solid var(--midori); padding: 2px 10px; margin-bottom: 12px; letter-spacing: .06em; }
.feature .price-l { font: 800 clamp(30px, 7vw, 38px)/1.2 var(--mincho); color: var(--sumi); margin: 6px 0 12px; }
.feature .price-l span { display: block; font-size: .5em; font-weight: 700; margin-top: 6px; letter-spacing: .04em; }
.feature .price-add { margin: -4px 0 18px; padding: 10px 14px; background: var(--paper); border-left: 3px solid var(--kin); font-size: 16px; }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; } }
.graves { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; }
.graves .ph img { aspect-ratio: 3 / 2; }
.graves h3 { font-size: 22px; letter-spacing: .06em; margin: 18px 0 2px; }
.graves .kind { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.graves .yen { font: 700 22px/1.4 var(--mincho); color: var(--sumi); margin: 0 0 8px; }
.graves .yen small { font: 400 14px/1.5 var(--gothic); color: var(--muted); display: block; }
@media (min-width: 900px) { .graves { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 56px; } }

/* 料金の表（人数ごとの合計。お墓のページの顔になる表） */
.ptable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--sumi); }
.ptable th, .ptable td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.ptable thead th { font-size: 15px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.ptable tbody th { text-align: left; font: 700 19px/1.4 var(--mincho); color: var(--sumi); white-space: nowrap; }
.ptable td { font: 800 clamp(22px, 5.4vw, 28px)/1.2 var(--mincho); color: var(--sumi); white-space: nowrap; }
.ptable td small { font-size: .55em; font-weight: 700; margin-left: .1em; }
.ptable .left { display: block; font: 700 13px/1.4 var(--gothic); color: var(--midori); margin-top: 4px; }
.ptable caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: 14.5px; color: var(--muted); }
.breakdown { margin-top: 24px; border: 1px solid var(--line); background: var(--paper); }
.breakdown summary { cursor: pointer; padding: 14px 18px; min-height: 52px; font-weight: 700; color: var(--sumi); }
.breakdown .in { padding: 0 18px 16px; }
.breakdown dl { margin: 0; } .breakdown dl > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-l); }
.breakdown dd { margin: 0; font-weight: 700; white-space: nowrap; }
/* 地蔵墓の料金のしくみ（10/29 住職「図解でわかりやすく」）：足し算・人数ごとの帯・50年後の帰命廟 */
.breakdown .bk-h { font: 700 17px/1.5 var(--mincho); color: var(--sumi); letter-spacing: .04em; margin: 26px 0 12px; }
.breakdown .bk-h:first-child { margin-top: 2px; }
.breakdown .bk-p { margin: 8px 0 0; font-size: 15px; }
.calc { list-style: none; margin: 0; padding: 0; }
.calc li { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; background: var(--kinari); border: 1px solid var(--line); }
.calc li + li { margin-top: 24px; }
.calc li + li::before { content: "＋"; position: absolute; left: 50%; top: -23px; transform: translateX(-50%); font: 700 17px/22px var(--gothic); color: var(--kin-d); }
.calc li.sum { background: var(--sumi); border-color: var(--sumi); color: #fff; }
.calc li.sum::before { content: "＝"; }
.calc .k { font-weight: 700; line-height: 1.5; }
.calc .k small { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.calc .v { font: 800 25px/1 var(--mincho); white-space: nowrap; }
.calc .v small { font-size: .55em; margin-left: .1em; }
.calc li.sum .v { font-size: 31px; }
.bars-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 12px 0 6px; font-size: 13px; color: var(--muted); }
.bars-key span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; }
.bk-row { display: grid; grid-template-columns: 3.3em minmax(0,1fr) 4.4em; align-items: center; gap: 8px; padding: 5px 0; }
.bk-row .bk-who { font-weight: 700; font-size: 14.5px; }
.bk-row .bk-bar { display: flex; height: 30px; }
.bk-row .bk-bar i { display: flex; align-items: center; justify-content: center; font: normal 700 12px/1 var(--gothic); overflow: hidden; }
.bk-row .bk-bar i + i { border-left: 2px solid var(--paper); }
.bk-row .bk-tot { text-align: right; font: 800 18px/1 var(--mincho); white-space: nowrap; }
.bk-c1, .bars-key .bk-c1::before { background: var(--midori); color: #fff; }
.bk-c2, .bars-key .bk-c2::before { background: var(--kin-d); color: #fff; }   /* 11/02 金の上の白文字は 3.3:1 で足りない→濃い金に白（4.5:1 以上） */
.bk-c3, .bars-key .bk-c3::before { background: var(--stone); color: var(--sumi); box-shadow: inset 0 0 0 1px var(--line); }
.bars-key .bk-c1, .bars-key .bk-c2, .bars-key .bk-c3 { background: none; color: var(--muted); box-shadow: none; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; padding: 0 0 16px 28px; }
.tl li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--kin); }
.tl li::after { content: ""; position: absolute; left: 8.5px; top: 22px; bottom: 2px; width: 1px; background: var(--line); }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::after { display: none; }
.tl li:last-child::before { background: var(--midori); }
.tl b { display: block; font: 700 16px/1.5 var(--mincho); color: var(--sumi); }
.tl span { display: block; font-size: 15px; margin-top: 2px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* お客様の声 */
.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--sumi); }
.voices li { padding: 24px 2px; border-bottom: 1px solid var(--line); }
.voices h3 { font-size: 19px; letter-spacing: .04em; margin: 0 0 8px; }
.voices p { margin: 0; }
.voices .who { margin-top: 8px; font-size: 14.5px; color: var(--kin-d); letter-spacing: .06em; }
@media (min-width: 900px) { .voices { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* お悩みの一覧 */
.worries { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.worries li { padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 900px) { .worries { grid-template-columns: 1fr 1fr; } }

/* ---------- このページの内容 ---------- */
.toc { border-top: 1px solid var(--sumi); border-bottom: 1px solid var(--line); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.toc a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 6px; color: var(--sumi); text-decoration: none; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--line-l); }
.toc a::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--kin); border-bottom: 1.5px solid var(--kin); transform: rotate(45deg) translateY(-3px); flex: none; }
.toc a:hover { background: var(--kinari); }
@media (min-width: 900px) { .toc ol { display: flex; flex-wrap: wrap; } .toc li { flex: 1 1 auto; } .toc a { border-bottom: 0; justify-content: center; } }

/* ---------- 内訳の表（含まれるもの） ---------- */
.items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sumi); }
.items li { display: grid; grid-template-columns: 1.6em 1fr; gap: 10px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.items li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--midori); border-bottom: 2px solid var(--midori); transform: rotate(-45deg); margin-top: .55em; margin-left: 2px; }
.items b { font: 700 19px/1.6 var(--mincho); color: var(--sumi); letter-spacing: .04em; }
.items span { display: block; font-size: 15.5px; color: var(--muted); }
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } .split.wide-l { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ---------- 大事なお知らせ（読み落とすと困ること） ---------- */
.caution { border: 1px solid var(--sumi); border-left-width: 6px; padding: 18px 20px; background: var(--paper); }
.caution h3 { font-size: 19px; letter-spacing: .06em; margin: 0 0 6px; }
.caution p { margin: 0; }

/* ---------- 景色（画面の幅いっぱいの写真。1ページに1枚まで） ---------- */
.vista { margin: 0; }
.vista img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.vista figcaption { font-size: 14px; color: var(--muted); padding-top: 10px; }
@media (min-width: 768px) { .vista img { aspect-ratio: 21 / 8; max-height: 560px; } }

/* ---------- 写真と文 ---------- */
.ph { margin: 0; } .ph img { width: 100%; object-fit: cover; }
.ph figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.trio { display: grid; gap: 40px; }
.trio .ph img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ---------- 流れ（本当の順番だけに番号） ---------- */
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 0 0 30px; position: relative; }
.flow li::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; width: 1px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow .n { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--sumi); font: 700 22px/1 var(--mincho); color: var(--sumi); background: var(--paper); }
.flow h3 { font-size: 20px; letter-spacing: .05em; margin: 12px 0 6px; }
.flow p { margin: 0 0 .5em; }
@media (min-width: 900px) { .flow { max-width: 44em; } }

/* ---------- 比べる表 ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.cmp thead th { font: 700 20px/1.4 var(--mincho); color: var(--sumi); border-bottom: 2px solid var(--sumi); letter-spacing: .05em; }
.cmp thead th a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.cmp tbody th { font-size: 14.5px; font-weight: 700; color: var(--kin-d); letter-spacing: .08em; white-space: nowrap; width: 7em; }
.cmp .here { background: var(--kinari); }
.cmp .yen { font: 700 20px/1.4 var(--mincho); color: var(--sumi); }
@media (max-width: 899px) {
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; } .cmp thead, .cmp tbody th { display: none; }
  .cmp-m { display: grid; gap: 22px; }
}
@media (min-width: 900px) { .cmp-m { display: none; } }
.cmp-m { margin: 0; padding: 0; list-style: none; }
.cmp-m li { border-top: 2px solid var(--sumi); padding-top: 12px; }
.cmp-m li.here { background: var(--kinari); padding: 12px 14px 4px; }
.cmp-m h3 { font-size: 21px; margin: 0 0 4px; }
.cmp-m dl { margin: 0; } .cmp-m dl > div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-l); }
.cmp-m dt { font-size: 14px; color: var(--kin-d); } .cmp-m dd { margin: 0; }
.cmp-m .go { margin: 6px 0 10px; }
@media (max-width: 899px) { .cmp-wrap .cmp { display: none; } }

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--sumi); max-width: 46em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1.6em 1fr 20px; gap: 10px; align-items: start; padding: 18px 4px; min-height: 64px; font-weight: 700; color: var(--sumi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; font: 700 19px/1.5 var(--mincho); color: var(--kin-d); }
.faq summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--sumi); border-bottom: 1.5px solid var(--sumi); transform: rotate(45deg); margin-top: 8px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 13px; }
.faq .a { display: grid; grid-template-columns: 1.6em 1fr; gap: 10px; padding: 0 30px 22px 4px; }
.faq .a::before { content: "答"; font: 700 19px/1.5 var(--mincho); color: var(--midori); }
.faq .a p { margin: 0; }

/* ---------- 相談の帯 ---------- */
.band { background: var(--sumi); color: #e8e6de; padding: 64px 0; }
.band h2 { color: #fff; }
.band p { max-width: 36em; }
.band .tel-big { font: 700 clamp(30px, 8vw, 44px)/1.2 var(--mincho); color: #fff; text-decoration: none; letter-spacing: .05em; }
@media (min-width: 960px) { .band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; } }

/* ---------- 事実の並び（アクセスなど） ---------- */
.facts { margin: 0; border-top: 1px solid var(--sumi); }
.facts > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14.5px; color: var(--kin-d); letter-spacing: .1em; padding-top: .15em; }
.facts dd { margin: 0; }
.facts dd b { font: 700 21px/1.4 var(--mincho); color: var(--sumi); letter-spacing: .04em; }
.fact-link { display: inline-flex; align-items: center; min-height: 44px; }
a.fact-link b { color: var(--sumi); }
.map { aspect-ratio: 4 / 3; background: var(--stone); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- ほかの案内（関連ページ） ---------- */
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; }
.links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; min-height: 64px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--sumi); text-decoration: none; }
.links a::after { content: ""; grid-row: 1 / span 2; grid-column: 2; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-right: 8px; }
.links b { font: 700 19px/1.5 var(--mincho); letter-spacing: .04em; } .links span { font-size: 15px; color: var(--muted); }
.links a:hover { background: var(--kinari); }
@media (min-width: 900px) { .links { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---------- フッター ---------- */
.ftr { background: var(--sumi); color: #d9d6cc; padding: 64px 0 28px; font-size: 15.5px; }
.ftr a { color: #f0ede4; text-decoration: none; }
.ftr-grid p a { display: inline-block; padding: 8px 0; } /* 10/31 点検 B4：電話・メールの文字リンクを押しやすく（44px 以上） */
.ftr-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.1fr 2fr; gap: 64px; } }
.ftr-name { font: 700 22px/1.5 var(--mincho); color: #fff; letter-spacing: .14em; margin: 0 0 8px; }
.ftr-tel { font: 700 26px/1.4 var(--mincho); letter-spacing: .06em; }
.ftr-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (min-width: 900px) { .ftr-nav { grid-template-columns: repeat(3, 1fr); } }
.ftr-nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid rgba(255,255,255,.13); }
.ftr-copy { margin: 48px 0 0; font-size: 13px; color: #a9a69c; letter-spacing: .1em; }

/* ---------- スマホの下の帯（いつでも電話・地図） ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: var(--bar); display: flex; background: var(--sumi); box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
.bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .06em; border-right: 1px solid rgba(255,255,255,.14); line-height: 1.35; }
.bar a b { font-size: 16px; }
.bar a:first-child { background: var(--midori); }
.bar a:last-child { border-right: 0; }
@media (min-width: 1024px) { .bar { display: none; } }
/* 10/29 地蔵墓の費用：内訳を開いて見せる・総合の地蔵墓の箱に足し算の例 */
.breakdown.open { margin-top: 0; }
.breakdown.open .in { padding-top: 18px; }
.feature .price-ex { margin: -4px 0 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.feature .price-ex b { color: var(--sumi); }
.feature .price-l span { font: 700 16px/1.65 var(--gothic); letter-spacing: .02em; margin-top: 8px; color: var(--sumi); }
.feature .price-ex b { white-space: nowrap; }

/* ---------- 10/29 墓地の総合（入口のページ）だけの最初の画面：2案（住職「総合ページは各お墓のページとは違う特別感あるデザインに」） ---------- */
/* 共通：お墓の種類への入口（扉） */
.hub-ihai { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.hub-ihai b { color: var(--sumi); }
.hub-common { margin: 14px 0 0; padding: 12px 18px; background: var(--kinari); border-left: 3px solid var(--kin); font-size: 15px; line-height: 1.7; }
.hub-common b { color: var(--sumi); }
.hub-acts { margin-top: 22px; }
.hub-foot { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* A：境内の眺め＋三つの扉 */
.hubA { padding-bottom: var(--sec); }
.hubA .hub-hero { position: relative; background: var(--sumi); color: #fff; }
.hubA .hub-hero img { width: 100%; height: clamp(240px, 62vw, 340px); object-fit: cover; object-position: 50% 62%; }
.hubA .hub-title { padding: 22px 0 64px; }
.hubA .pg-title { margin: 0 0 12px; }
.hubA .pg-title .kind, .hubA .pg-title .name { color: #fff; }
.hubA .pg-title .name { font-size: clamp(42px, 11vw, 80px); letter-spacing: .1em; }
.hubA .pg-title .sub { color: rgba(255,255,255,.82); }
.hubA .lead { color: rgba(255,255,255,.92); max-width: 34em; margin: 0; }
.doors { list-style: none; margin: -40px 0 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 2; }
.doors a { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 14px; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--kin); color: var(--sumi); text-decoration: none; box-shadow: 0 10px 28px rgba(36,44,39,.10); }
.doors a > * { grid-column: 2; }
.doors img { grid-column: 1; grid-row: 1 / span 5; width: 112px; height: 112px; object-fit: cover; order: -1; }
.doors .d-kind { order: 1; font-size: 13.5px; color: var(--kin-d); letter-spacing: .06em; line-height: 1.5; }
.doors .d-name { order: 2; font: 700 24px/1.35 var(--mincho); letter-spacing: .08em; }
.doors .d-name .left { display: inline-block; vertical-align: middle; margin-left: .5em; padding: 1px 8px; font: 700 12.5px/1.6 var(--gothic); letter-spacing: .04em; background: var(--sumi); color: #fff; }
.doors .d-price { order: 3; font: 800 21px/1.4 var(--mincho); margin-top: 4px; }
.doors .d-note { order: 4; font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 2px; }
.doors .d-go { order: 5; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--midori); }
.doors .d-go::after { content: " ›"; }
.doors a:hover { border-color: var(--kin); } .doors a:hover .d-go { text-decoration: underline; }
@media (min-width: 960px) {
  .hubA .hub-hero img { height: clamp(400px, 50vh, 560px); }
  .hubA .hub-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 0 104px; background: linear-gradient(180deg, rgba(24,30,27,0) 0%, rgba(24,30,27,.72) 55%, rgba(24,30,27,.86) 100%); }
  .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: -64px; }
  .doors a { display: flex; flex-direction: column; padding: 0 0 20px; }
  .doors a > * { padding: 0 22px; }
  .doors img { width: 100%; height: auto; aspect-ratio: 3 / 2; padding: 0; margin-bottom: 16px; }
  .doors .d-name { font-size: 28px; }
  .doors .d-go { margin-top: auto; padding-top: 12px; }
}

/* B：扁額（お寺の額）の題字＋三つの写真の扉 */
.hubB { padding-bottom: var(--sec); }
.hubB .hb-top { text-align: center; padding-top: 18px; padding-bottom: 34px; }
.hubB .pg-title { margin: 0 0 18px; }
.hubB .pg-title .kind { letter-spacing: .18em; }
.hubB .pg-title .name { display: inline-block; margin: 14px 0 10px; padding: .22em .7em .26em; font-size: clamp(36px, 10vw, 68px); letter-spacing: .16em; line-height: 1.2;
  background: var(--sumi); color: #d9c48f; box-shadow: inset 0 0 0 4px var(--sumi), inset 0 0 0 5px var(--kin), inset 0 0 0 9px var(--sumi), inset 0 0 0 10px var(--kin); }
.hubB .lead { max-width: 36em; margin: 0 auto; text-align: left; }
.trip { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.trip a { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; background: var(--sumi); }
.trip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.trip a:hover img { transform: scale(1.03); }
.trip .t-txt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 70px var(--gut) 18px;
  background: linear-gradient(180deg, rgba(24,30,27,0) 0%, rgba(24,30,27,.70) 45%, rgba(24,30,27,.88) 100%); }
.trip .t-name { order: 2; font: 700 28px/1.3 var(--mincho); letter-spacing: .1em; }
.trip .t-kind { order: 1; font-size: 13.5px; letter-spacing: .08em; color: #e6d7ae; }
.trip .t-price { order: 3; font: 800 20px/1.4 var(--mincho); margin-top: 4px; }
.trip .t-note { order: 4; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.88); }
.trip .t-name .left { display: inline-block; vertical-align: middle; margin-left: .5em; padding: 1px 8px; font: 700 12.5px/1.6 var(--gothic); background: #fff; color: var(--sumi); letter-spacing: .04em; }
@media (min-width: 960px) {
  .hubB .hb-top { padding-top: 30px; padding-bottom: 48px; }
  .trip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trip img { aspect-ratio: 1 / 1; max-height: 440px; }
  .trip .t-txt { padding: 90px 28px 26px; }
  .trip .t-name { font-size: 32px; }
}

/* 10/29 まだできていないお墓の枠（2027年春 完成予定）：写真の代わりの札 */
.graves .soon-ph { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--kinari); border: 1px solid var(--line); font: 700 24px/1.6 var(--mincho); color: var(--kin-d); letter-spacing: .12em; text-align: center; }

/* ---------- 10/29 墓地の総合（入口のページ）カード型（hc-）----------
   住職「スクロールも少なく、クリック数も少なく、パッと見ですぐわかるカードタイプ」「写真多すぎ・もやっと動く写真はしない」「初めの一秒は、きれい・明るい・花の写真」
   手本：法眼寺（伊勢原樹木葬墓地）のプラン表／横浜三保浄苑の区画の札。写真の上に暗い色を重ねない・動きを付けない */
.hc-hero { margin: 0; }
.hc-hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 30%; }
.hc-hero-b { display: none; }   /* スマホは桜の1枚だけ */
.hc-title { padding: 2px 0 26px; }
.hc-title .crumbs { margin: 0 0 2px; }
.hc-h1 { margin: 0 0 12px; }
.hc-h1 .kind { display: block; font-size: clamp(16px, 4.2vw, 19px); letter-spacing: .1em; font-weight: 600; }
.hc-h1 .name { display: block; font-size: clamp(40px, 11vw, 62px); line-height: 1.15; letter-spacing: .1em; font-weight: 800; margin-top: 4px; }
.hc-h1 .sub { display: block; font: 400 14.5px/1.5 var(--gothic); letter-spacing: .1em; color: var(--muted); margin-top: 8px; }
.hc-lead { margin: 0 0 14px; max-width: 40em; font-size: 16px; line-height: 1.8; }
.hc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hc-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 9px; background: var(--kinari); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--sumi); line-height: 1.4; }
.hc-chips li::before { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--midori); border-bottom: 2px solid var(--midori); transform: rotate(-45deg) translateY(-2px); flex: none; }
@media (min-width: 768px) {
  .hc-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }   /* PC：しだれ桜と、境内の花の2枚 */
  .hc-hero-b { display: block; }
  .hc-hero img { aspect-ratio: auto; height: clamp(220px, 17vw, 270px); object-position: 50% 30%; }
  .hc-hero-b img { object-position: 50% 62%; }
  .hc-title { position: relative; z-index: 2; margin-top: -84px; padding: 10px 34px 24px; background: var(--paper); box-shadow: 0 8px 30px rgba(36,44,39,.10); }
  .hc-chips li { font-size: 14px; padding: 5px 12px 5px 10px; }
}
@media (min-width: 1100px) {
  .hc-title { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 44px; align-items: center; }
  .hc-title .crumbs { grid-column: 1 / -1; }
  .hc-h1 { margin: 0; }
  .hc-h1 .name { white-space: nowrap; font-size: 56px; }
  .hc-lead { font-size: 16px; margin-bottom: 12px; }
}

/* 最初の画面の費用のあらまし（いいお墓・三保浄苑の「永代供養墓 10万円〜／樹木葬 35万円〜」の並び）。押すと下のカードへ */
.hc-sum3 { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--sumi); }
.hc-sum3 a { display: grid; grid-template-columns: 7.2em minmax(0, 1fr) 10px; grid-template-areas: "k p ar" "b p ar"; align-items: center; column-gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); color: var(--sumi); text-decoration: none; }
.hc-sum3 a::after { content: ""; grid-area: ar; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.hc-sum3 .k { grid-area: k; font-size: 12.5px; color: var(--kin-d); line-height: 1.4; }
.hc-sum3 b { grid-area: b; font: 700 17px/1.35 var(--mincho); letter-spacing: .04em; white-space: nowrap; }
.hc-sum3 .nw { white-space: nowrap; }
@media (max-width: 599px) { .hc-sum3 .p { font-size: 16.5px; } .hc-sum3 a { grid-template-columns: 6.6em minmax(0, 1fr) 10px; } }
.hc-sum3 .p { grid-area: p; font: 800 19px/1.35 var(--mincho); letter-spacing: .02em; }
.hc-sum3 .p small { display: block; font: 400 12.5px/1.5 var(--gothic); color: var(--muted); letter-spacing: 0; }
.hc-sum3 a:hover { background: var(--kinari); }
@media (max-width: 1099px) {   /* スマホ・タブレット：名前のすぐ下に費用（パッと見で分かるように）。説明の文と条件はその後 */
  .hc-title { display: flex; flex-direction: column; }
  .hc-title .crumbs { order: 0; } .hc-title-a { order: 1; } .hc-sum3 { order: 2; margin: 2px 0 16px; } .hc-title-b { order: 3; }
}
@media (min-width: 1100px) {
  .hc-sum3 { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.45fr 1fr; margin-top: 18px; border-bottom: 1px solid var(--line); }
  .hc-sum3 .p { white-space: nowrap; } .hc-sum3 .p small { white-space: normal; }
  .hc-sum3 li + li { border-left: 1px solid var(--line); }
  .hc-sum3 a { border-bottom: 0; padding: 10px 16px; grid-template-columns: auto minmax(0, 1fr) 10px; }
}

/* お墓のカード（法眼寺・三保浄苑の区画の札のように、どのカードも同じ順で：写真→名前→費用→条件→ボタン） */
.hc-plans { padding: 22px 0 var(--sec); }
.hc-sech { margin-bottom: 20px; }
.hc-sech .h2 { margin: 0; }
.hc-sech-note { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.hc-points-lead { margin: -8px 0 22px; color: var(--muted); }
@media (min-width: 900px) { .hc-plans { padding-top: 32px; } .hc-sech { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; } }
.hc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.hc-card { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-areas: "ph head" "price price" "spec spec" "more more"; column-gap: 14px; align-content: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px 16px; }
.hc-card:hover { border-color: var(--kin); }
.hc-ph { grid-area: ph; margin: 0; position: relative; }
.hc-ph img { width: 116px; height: 116px; object-fit: cover; border-radius: 2px; }
.hc-left { display: block; margin-top: 6px; padding: 2px 2px; background: var(--midori); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0; white-space: nowrap; text-align: center; line-height: 1.5; border-radius: 2px; }
.hc-head { grid-area: head; align-self: center; }
.hc-kind { margin: 0; font-size: 13.5px; color: var(--kin-d); letter-spacing: .04em; line-height: 1.5; }
.hc-name { margin: 2px 0 0; font-size: 28px; letter-spacing: .1em; line-height: 1.3; }
.hc-price { grid-area: price; margin-top: 12px; }
.hc-yen { margin: 0; font: 700 18px/1.2 var(--mincho); color: var(--sumi); letter-spacing: .04em; }
.hc-yen b { font-size: 46px; font-weight: 800; letter-spacing: .01em; margin: 0 .06em; }
.hc-yen small { font: 700 15px/1 var(--gothic); margin-right: .3em; letter-spacing: .04em; }
.hc-incl { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--midori); line-height: 1.5; }
.hc-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.hc-add { list-style: none; margin: 8px 0 0; padding: 0; }
.hc-add li { display: flex; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.7; }
.hc-add span { min-width: 5.2em; color: var(--muted); }
.hc-add b { font: 800 19px/1.4 var(--mincho); color: var(--sumi); }
.hc-add small { font-size: 13.5px; color: var(--muted); }
.hc-sum { margin: 10px 0 0; padding: 8px 12px; background: var(--kinari); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.hc-sum span { width: 100%; font-size: 13px; font-weight: 700; color: var(--kin-d); letter-spacing: .04em; }
.hc-sum b { font: 800 19px/1.4 var(--mincho); color: var(--sumi); letter-spacing: .02em; }
.hc-spec { grid-area: spec; margin: 14px 0 0; border-top: 1px solid var(--line); }
.hc-spec > div { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-l); }
.hc-spec dt { font-size: 13.5px; color: var(--kin-d); letter-spacing: .04em; padding-top: .1em; }
.hc-spec dd { margin: 0; font-size: 14.5px; line-height: 1.65; }
@media (min-width: 900px) { .hc-spec dd { font-size: 15px; } }
.hc-spec .for dd { font-weight: 700; color: var(--sumi); }
.hc-more { grid-area: more; margin: 14px 0 0; }
.hc-more a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; background: var(--midori); color: #fff; font-weight: 700; letter-spacing: .06em; text-decoration: none; border-radius: 2px; }
.hc-more a::before { content: ""; position: absolute; inset: 0; }   /* カードのどこを押しても、そのお墓のご案内へ */
.hc-more a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.hc-card:hover .hc-more a { background: var(--midori-d); }
@media (min-width: 900px) {
  .hc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto; gap: 0 22px; }
  .hc-card { grid-row: span 5; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-template-areas: none; padding: 0 0 20px; overflow: hidden; }
  .hc-card > * { grid-area: auto; padding-left: 22px; padding-right: 22px; }
  .hc-card > .hc-ph { padding: 0; }
  .hc-card > .hc-spec { margin-left: 22px; margin-right: 22px; padding: 0; }
  .hc-ph img { width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 0; }
  .hc-left { position: absolute; left: 12px; top: 12px; margin: 0; padding: 3px 10px; font-size: 13px; }
  .hc-head { padding-top: 16px; align-self: start; }
  .hc-name { font-size: 30px; }
  .hc-more { align-self: end; }
}
.hc-soon-h { font-size: 20px; letter-spacing: .06em; margin: 36px 0 12px; }
.hc-soon { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hc-soon li { position: relative; padding: 14px 16px; background: var(--kinari); border: 1px solid var(--line); border-radius: 4px; }
.hc-when { display: inline-block; margin: 0 0 6px; padding: 1px 10px; border: 1px solid var(--kin); color: var(--kin-d); font-size: 13px; font-weight: 700; letter-spacing: .04em; background: var(--paper); }
.hc-soon h4 { margin: 0 0 4px; font: 700 19px/1.5 var(--mincho); color: var(--sumi); letter-spacing: .05em; }
.hc-soon p { margin: 0; font-size: 14.5px; line-height: 1.7; }
.hc-soon .hc-soon-go { margin-top: 6px; }
.hc-soon-go a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--midori); }
.hc-soon-go a::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.hc-foot { margin: 14px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (min-width: 900px) { .hc-soon { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } .hc-soon li { padding: 18px 22px; } }

/* 見学・相談の帯（明るい色） */
.hc-visit { background: var(--stone); padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hc-visit-h { font-size: clamp(22px, 5vw, 28px); letter-spacing: .06em; line-height: 1.5; margin: 0 0 10px; }
.hc-visit p { margin: 0; max-width: 34em; }
.hc-visit-acts { display: grid; gap: 10px; margin-top: 20px; }
.hc-visit-acts .btn { width: 100%; padding-left: 12px; padding-right: 12px; }
@media (min-width: 960px) { .hc-visit-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; } .hc-visit-acts { margin-top: 0; grid-template-columns: 1fr 1fr; } .hc-visit-acts .btn-tel { grid-column: 1 / -1; } }

/* 選ばれる理由（法眼寺の「樹木葬の特長」の4つ並び。番号は付けない＝見た目の基準 8：番号は本当の順番だけ） */
.hc-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.hc-points li { border-top: 2px solid var(--sumi); padding-top: 14px; }
.hc-points h3 { font-size: 19px; line-height: 1.55; letter-spacing: .04em; margin: 0 0 8px; }
.hc-points p { margin: 0; font-size: 15.5px; line-height: 1.8; }
@media (min-width: 700px) { .hc-points { grid-template-columns: 1fr 1fr; column-gap: 36px; } }
@media (min-width: 1100px) { .hc-points { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; } }

/* 説明の文とお悩み（PC は左右に並べて、縦の長さを減らす） */
.hc-two { display: grid; gap: 40px; }
.hc-two .h2 { font-size: clamp(23px, 5vw, 30px); }
.hc-h2s { margin-top: 1.6em; }
.hc-worries { grid-template-columns: 1fr !important; }
.hc-worries li { background: var(--paper); }
@media (min-width: 960px) { .hc-two { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; } }

/* お客様の声（10/29 夕「文字ばかりで読まない」：題と、どこの方かだけ見せる。本文は題を押すと開く） */
.hc-voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-voices details { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.hc-voices summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; column-gap: 12px; padding: 14px 16px; min-height: 64px; }
.hc-voices summary::-webkit-details-marker { display: none; }
.hc-voices summary::after { content: "＋"; grid-column: 2; grid-row: 1 / span 2; font: 700 18px/1 var(--gothic); color: var(--midori); text-align: center; }
.hc-voices details[open] summary::after { content: "－"; }
.hc-voices h3 { grid-column: 1; font-size: 17px; line-height: 1.55; letter-spacing: .03em; margin: 0; }
.hc-voices .who { grid-column: 1; font-size: 13.5px; color: var(--kin-d); letter-spacing: .06em; margin-top: 2px; }
.hc-voices details p { margin: 0; padding: 0 16px 16px; font-size: 15px; line-height: 1.8; }
@media (min-width: 900px) { .hc-voices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; } }

/* お申し込みの流れ（PC は横に4つ） */
.hc-flow-lead { margin: -6px 0 20px; max-width: 40em; }
.hc-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.hc-flow li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; column-gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.hc-flow .n { grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--sumi); font: 700 19px/1 var(--mincho); color: var(--sumi); }
.hc-flow h3 { font-size: 18px; letter-spacing: .04em; margin: 8px 0 4px; }
.hc-flow p { margin: 0; font-size: 15px; line-height: 1.75; }
.hc-flow li > :not(.n) { grid-column: 2; }   /* 10/31 段落が2つ以上ある時も、番号の列に落ちないように */
@media (min-width: 960px) { .hc-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .hc-flow li { grid-template-columns: 1fr; padding: 18px 20px; } .hc-flow .n { grid-row: auto; } .hc-flow li > :not(.n) { grid-column: auto; } .hc-flow h3 { margin-top: 12px; } }

/* 入口のページは、段と段の間を少し詰める（スクロールを減らす）。アクセスの見出しは列の幅に収める */
.hc-top ~ .sec { --sec: 56px; }
@media (min-width: 768px) { .hc-top ~ .sec { --sec: 84px; } }
.hc-top ~ #access .h2 { font-size: clamp(23px, 5vw, 30px); }
/* よくある質問（PC は2列にして、縦の長さを半分に） */
@media (min-width: 1100px) { .hc-faq { max-width: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; } }

/* お墓のカードの条件（10/29 夕：文ではなく、短い言葉の札を2列に） */
.hc-facts { grid-area: spec; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.hc-facts > div { background: var(--kinari); border-radius: 3px; padding: 7px 10px 8px; }
.hc-facts > div.w { grid-column: 1 / -1; }
@media (min-width: 900px) {
  /* PC：料金の下にすぐ札を続け、余りはボタンの上に（10/29 夕。札の高さをそろえるより、間の空白をなくす） */
  .hc-cards { grid-template-rows: none; gap: 22px; }
  .hc-card { grid-row: auto; display: flex; flex-direction: column; }
  .hc-card > .hc-facts { grid-area: auto; }
  .hc-card > .hc-more { margin-top: auto; padding-top: 18px; align-self: stretch; }
}
.hc-facts dd, .hc-points p, .hc-points h3, .hc-visit p, .hc-foot { text-wrap: pretty; }
.hc-facts dt { font-size: 12px; color: var(--kin-d); letter-spacing: .04em; line-height: 1.4; }
.hc-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--sumi); line-height: 1.45; }
/* 選ばれる理由（短い言葉だけ） */
.hc-points h3 { font-size: 18px; }
.hc-points p { font-size: 15px; color: var(--muted); }
/* くわしく読む（説明の文。開くと読める。検索の言葉はここに残す） */
.hc-read { border-top: 1px solid var(--sumi); max-width: 52em; }
.hc-read details { border-bottom: 1px solid var(--line); }
.hc-read summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; gap: 12px; padding: 16px 4px; min-height: 60px; }
.hc-read summary::-webkit-details-marker { display: none; }
.hc-read summary::after { content: "＋"; font: 700 18px/1 var(--gothic); color: var(--midori); text-align: center; }
.hc-read details[open] summary::after { content: "－"; }
.hc-read-h { font-size: clamp(17px, 4.4vw, 20px); line-height: 1.55; letter-spacing: .04em; margin: 0; }
.hc-read .in { padding: 0 4px 18px; }
.hc-read .in p { font-size: 15.5px; }

/* ---------- 10/29 夕 住職「文字を減らすとSEO対策できなくなる。レイアウトや写真を入れて、段落をつくり読みやすく」 ----------
   文は減らさない。①お悩みは札に ②理由は写真つき4枚 ③説明の文は写真と左右に組み、段落を短く ④お声はカード（引用の印） */
.hc-facts > div.for { background: #eef2ec; }
.hc-facts > div.for dd { color: var(--midori); }
/* お悩み：札（チェックの印）＋答えの箱 */
.hc-worry { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-worry li { text-wrap: pretty; position: relative; padding: 14px 16px 14px 50px; background: var(--kinari); border-radius: 4px; font-weight: 700; color: var(--sumi); line-height: 1.65; }
.hc-worry li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--kin); background: var(--paper); }
.hc-worry li::after { content: ""; position: absolute; left: 23px; top: 20px; width: 8px; height: 5px; border-left: 2px solid var(--kin-d); border-bottom: 2px solid var(--kin-d); transform: rotate(-45deg); }
.hc-answer { margin: 22px 0 0; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--midori); border-radius: 0 4px 4px 0; line-height: 1.95; }
.hc-answer strong { color: var(--sumi); }
@media (min-width: 900px) { .hc-worry { grid-template-columns: 1fr 1fr; gap: 12px 16px; } .hc-answer { max-width: 52em; font-size: 17.5px; } }
/* 選ばれる理由：写真つきの4枚 */
.hc-reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hc-reasons li { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.hc-reasons figure { margin: 0; }
.hc-reasons img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.hc-reasons li > div { padding: 16px 18px 18px; }
.hc-reasons h3 { font-size: 19px; line-height: 1.55; letter-spacing: .04em; margin: 0 0 8px; text-wrap: pretty; }
.hc-reasons p { margin: 0 0 .7em; font-size: 15.5px; line-height: 1.9; }
.hc-reasons p:last-child { margin-bottom: 0; }
@media (min-width: 700px) { .hc-reasons li { grid-template-columns: 38% minmax(0, 1fr); } .hc-reasons img { height: 100%; aspect-ratio: auto; min-height: 200px; } }
@media (min-width: 1100px) { .hc-reasons { grid-template-columns: 1fr 1fr; gap: 20px; } }
/* 11/02 寺庭「何の写真か分かりづらいなら良くないデザイン」：写真が細い縦の帯になっていたのをやめる。
   700〜1099：左に 4:3 の写真・右に文（写真は上にそろえる）。1100 以上：2列のカードの中で写真が上・文が下（2:1） */
@media (min-width: 700px) { .hc-reasons li { align-items: start; } .hc-reasons img { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
@media (min-width: 1100px) { .hc-reasons li { grid-template-columns: minmax(0, 1fr); align-content: start; } .hc-reasons img { aspect-ratio: 2 / 1; } .hc-reasons li > div { align-self: start; } }
/* 説明の文：写真と左右に組む（交互）。1行を短く・段落を分ける */
.hc-zig { display: grid; gap: 22px; align-items: center; }
.hc-zig + .hc-zig { margin-top: 56px; }
.hc-zig figure { margin: 0; }
.hc-zig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.hc-zig .h2 { font-size: clamp(23px, 5vw, 30px); }
.hc-zig-t p { font-size: 16.5px; line-height: 1.95; margin: 0 0 1em; max-width: 34em; }
.hc-zig-t p:last-child { margin-bottom: 0; }
.hc-zig-t strong { color: var(--sumi); background: linear-gradient(transparent 62%, #efe4c8 62%); }
@media (min-width: 900px) {
  .hc-zig { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
  .hc-zig.rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hc-zig.rev figure { order: 2; }
  .hc-zig + .hc-zig { margin-top: 80px; }
}
/* お声：カード（引用の印）。PC は3列、スマホは横にずらして読む */
.hc-voices2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hc-voices2 li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 44px 20px 20px; }
.hc-voices2 li::before { content: "“"; position: absolute; left: 16px; top: 2px; font: 700 54px/1 var(--mincho); color: var(--kin); }
.hc-voices2 h3 { font-size: 17.5px; line-height: 1.6; letter-spacing: .03em; margin: 0 0 10px; }
.hc-voices2 p { margin: 0 0 .7em; font-size: 15px; line-height: 1.85; }
.hc-voices2 .who { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line-l); font-size: 14px; color: var(--kin-d); letter-spacing: .06em; }
@media (max-width: 699px) {
  .hc-voices2 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 10px; scroll-padding: 0 var(--gut); }
  .hc-voices2 li { flex: 0 0 86%; scroll-snap-align: start; }
}
@media (min-width: 700px) { .hc-voices2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .hc-voices2 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- 10/29 夜 住職「この画面が、ほとんどの方が、まず第一に目にするページ。このあたりを一番魅力的に、読みやすく」 ----------
   手本（スマホの最初の画面）：湘南森林霊園・相模メモリアルパーク・菩提樹苑（大きく明るい写真・中央の題）、厚木霊園（売りを絵の札で）、いいお墓（写真つきの値段の札）
   ①写真を大きく（4:3） ②題は白い板を写真に少し重ね、中央に ③費用は写真つきの札3枚 ④条件は絵の札6つ ⑤説明の文 ⑥パンくずは小さく下へ */
.hc-hero img { aspect-ratio: 4 / 3; object-position: 38% 40%; }
.hc-title { position: relative; z-index: 2; margin: -26px calc(var(--gut) * -1) 0; padding: 22px var(--gut) 20px; background: var(--paper); border-radius: 16px 16px 0 0; display: flex; flex-direction: column; box-shadow: none; }
.hc-title-a { order: 1; text-align: center; }
.hc-title-a::after { content: ""; display: block; width: 44px; height: 1px; background: var(--kin); margin: 14px auto 0; }
.hc-h1 { margin: 0; }
.hc-h1 .kind { font-size: 14.5px; letter-spacing: .16em; color: var(--kin-d); font-weight: 700; }
.hc-h1 .name { font-size: clamp(40px, 11.5vw, 56px); letter-spacing: .12em; margin-top: 6px; }
.hc-h1 .sub { font-size: 12.5px; letter-spacing: .08em; margin-top: 6px; }
.hc-sum3 { order: 2; margin: 18px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.hc-sum3 li + li { border-left: 0; }
.hc-sum3 a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 12px; grid-template-areas: "th t ar" "th p ar"; column-gap: 12px; row-gap: 1px; align-items: center;
  padding: 8px 12px 8px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 10px rgba(36,44,39,.06); }
.hc-sum3 a:hover { background: var(--kinari); }
.hc-sum3 .th { grid-area: th; align-self: center; }
.hc-sum3 .th img { width: 64px; height: 64px; object-fit: cover; border-radius: 7px; }
.hc-sum3 .t { grid-area: t; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hc-sum3 .t b { font: 700 17px/1.35 var(--mincho); letter-spacing: .06em; white-space: nowrap; }
.hc-sum3 .t .k { font-size: 12px; color: var(--kin-d); letter-spacing: .04em; }
.hc-sum3 .p { grid-area: p; font: 800 19px/1.3 var(--mincho); color: var(--sumi); letter-spacing: .02em; white-space: normal; }
.hc-sum3 .p small { display: block; font: 400 12px/1.5 var(--gothic); color: var(--muted); margin-top: 1px; }
.hc-sum3 a::after { content: ""; grid-area: ar; width: 8px; height: 8px; border: 0; border-top: 1.8px solid var(--midori); border-right: 1.8px solid var(--midori); transform: rotate(45deg); }
.hc-icons { order: 3; list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hc-icons li { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 4px 10px; background: var(--kinari); border-radius: 10px; text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--sumi); letter-spacing: .02em; }
.hc-icons svg { width: 30px; height: 30px; color: var(--kin-d); flex: none; }
.hc-title .hc-lead { order: 4; margin: 18px 0 0; font-size: 15.5px; line-height: 1.9; }
.hc-title .crumbs { order: 9; margin: 14px 0 0; font-size: 12.5px; }
.hc-title .crumbs li, .hc-title .crumbs a { min-height: 32px; }
@media (min-width: 600px) { .hc-sum3 .p { font-size: 20px; } }
@media (min-width: 768px) {
  .hc-hero img { aspect-ratio: auto; height: clamp(230px, 22vw, 300px); object-position: 50% 30%; }
  .hc-title { margin: -84px 0 0; padding: 22px 34px 22px; border-radius: 10px; box-shadow: 0 8px 30px rgba(36,44,39,.10); }
  .hc-icons { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hc-sum3 { gap: 12px; }   /* 11/02 tenken A1：768〜1099 の3列は狭く値段が縦に折れたので、3列は 1100 以上だけ */
  .hc-sum3 a { height: 100%; align-content: center; }
}
@media (min-width: 1100px) {
  .hc-title { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "cr cr" "a lead" "a icons" "sum sum"; column-gap: 44px; align-items: center; padding: 14px 36px 24px; }
  .hc-title .crumbs { grid-area: cr; order: 0; margin: 0 0 4px; }
  .hc-title-a { grid-area: a; text-align: left; }
  .hc-title-a::after { margin-left: 0; }
  .hc-title .hc-lead { grid-area: lead; margin: 0; font-size: 16px; }
  .hc-icons { grid-area: icons; margin-top: 12px; }
  .hc-icons li { padding: 9px 2px 8px; font-size: 12px; }
  .hc-icons svg { width: 26px; height: 26px; }
  .hc-sum3 { grid-area: sum; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-bottom: 0; }
  .hc-sum3 a { border-bottom: 1px solid var(--line); padding: 10px 14px 10px 10px; grid-template-columns: 64px minmax(0, 1fr) 12px; }
  .hc-sum3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); }
  .hc-sum3 a { align-content: center; }
  .hc-sum3 .p { font-size: 18.5px; white-space: nowrap; }
  .hc-sum3 .p small { white-space: normal; }
}
/* 10/29 これからできるお墓の仮の画像（言葉入り）。札の上に写真、下に文 */
.hc-soon li { padding: 0 0 16px; overflow: hidden; }
.hc-soon li > :not(.hc-soon-ph) { margin-left: 16px; margin-right: 16px; }
.hc-soon-ph { margin: 0 0 12px; }
.hc-soon-ph img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
@media (min-width: 900px) { .hc-soon li { padding: 0 0 20px; } .hc-soon li > :not(.hc-soon-ph) { margin-left: 22px; margin-right: 22px; } }
/* 10/30 お墓の生前契約のページ（seizen.html）。お墓は2つなので、費用の札とカードも2枚。法泉寺がすること／ご自身でご準備いただくことの2つの箱 */
@media (min-width: 768px) { .hc-sum3.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hc-sum3.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
@media (min-width: 900px) { .hc-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sk-role { display: grid; gap: 14px; margin: 26px 0 0; }
.sk-role > div { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--midori); border-radius: 4px; }
.sk-role > div.you { border-top-color: var(--kin); }
.sk-role h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: .04em; }
.sk-role ul { margin: 0; padding-left: 1.3em; line-height: 1.85; }
@media (min-width: 768px) { .sk-role { grid-template-columns: 1fr 1fr; gap: 18px; } }
.hc-h1 .name.wrap { white-space: normal; }   /* 生前契約のページ：名前が長いので、PC でも「お墓の／生前契約」の2行に */

/* 10/30 御朱印・御首題のページ（goshuin.html）。住職「御朱印で検索上位…しっかり作り込んで」。墓地のページの部品（hc-top・hc-sum3・hc-icons・hc-flow・faq・facts）をそのまま使い、写真の並び・12か月の切り絵・種類のカードだけ足す */
.gs-toc { background: var(--kinari); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.gs-toc ul { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.gs-toc a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--sumi); font-size: 14px; text-decoration: none; letter-spacing: .04em; }
.gs-toc a:hover { border-color: var(--midori); }
.gs-facts > div { grid-template-columns: 8em 1fr; }
.gs-facts dd .muted { font-size: 14px; }
.gs-cal { margin: 0 0 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.gs-cal iframe { display: block; width: 100%; height: 760px; border: 0; }
.gs-notes { margin: 0; padding-left: 1.3em; line-height: 1.85; font-size: 15px; }
.gs-kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.gs-kind a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; height: 100%; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: inherit; text-decoration: none; }
.gs-kind a:hover { border-color: var(--midori); }
.gs-kind-ph img { width: 112px; height: 112px; object-fit: cover; border-radius: 3px; background: var(--stone); }
.gs-kind-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gs-kind-name { font: 700 18px/1.4 var(--mincho); color: var(--sumi); letter-spacing: .03em; }
.gs-price { font-weight: 700; color: var(--kin-d); font-size: 15px; }
.gs-kind-txt { font-size: 14px; line-height: 1.7; color: var(--muted); }
.gs-split { display: grid; gap: 24px; align-items: start; }
.gs-text > p { margin: 0 0 14px; }
.gs-points { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 8px; }
.gs-points li { padding: 10px 14px; background: var(--paper); border: 1px solid var(--line-l); border-left: 3px solid var(--kin); border-radius: 3px; line-height: 1.75; }
.gs-points b { display: block; font-size: 13.5px; color: var(--kin-d); letter-spacing: .08em; }
.gs-gal ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gs-gal figure { margin: 0; background: var(--paper); border: 1px solid var(--line-l); border-radius: 3px; padding: 6px; }
.gs-gal img { width: 100%; height: 190px; object-fit: contain; display: block; }
.gs-more { margin-top: 10px; }
.gs-more summary { cursor: pointer; display: inline-block; padding: 10px 16px; border: 1px solid var(--midori); border-radius: 4px; color: var(--midori); font-weight: 700; list-style: none; }
.gs-more summary::-webkit-details-marker { display: none; }
.gs-more[open] summary { margin-bottom: 10px; }
.gs-feature { margin: 0; }
.gs-feature img { width: 100%; height: auto; max-height: 460px; object-fit: contain; border-radius: 4px; }
.gs-now { margin: 0 0 16px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--kin); border-radius: 4px; font-weight: 700; color: var(--kin-d); }
.gs-months { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gs-months figure { margin: 0; background: var(--paper); border: 1px solid var(--line-l); border-radius: 4px; overflow: hidden; }
.gs-months img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gs-months figcaption { padding: 8px 10px; font-size: 14px; line-height: 1.5; }
.gs-months figcaption b { font: 700 16px/1.3 var(--mincho); color: var(--sumi); }
.gs-months figcaption span { display: block; color: var(--muted); }
.gs-months li.is-now figure { border: 2px solid var(--kin); }
.gs-months li.is-now figcaption::before { content: "今月"; display: inline-block; margin-right: 6px; padding: 1px 7px; background: var(--kin); color: #fff; border-radius: 3px; font-size: 12px; vertical-align: 2px; }
.gs-diff > div { grid-template-columns: 6.5em 1fr; }
.gs-ol { margin: 0; padding-left: 1.4em; line-height: 1.85; }
.gs-ol li { margin-bottom: 10px; }
.gs-ol b { display: block; }
.gs-manner { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gs-manner > li { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.gs-manner h3 { margin: 0 0 10px; font: 700 19px/1.4 var(--mincho); color: var(--sumi); }
.gs-manner h3 .n { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; margin-right: 8px; border: 1px solid var(--kin); border-radius: 50%; color: var(--kin-d); font-size: 15px; }
.gs-manner p { margin: 0 0 10px; }
.gs-manner p:last-child { margin-bottom: 0; }
.gs-cta { margin: 20px 0; }
.gs-faqh { margin: 26px 0 10px; }
.gs-faqh:first-of-type { margin-top: 0; }
@media (min-width: 768px) {
  .gs-gal ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gs-gal img { height: 220px; }
  .gs-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gs-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
  .gs-manner { grid-template-columns: 1fr 1fr; }
  .gs-cal iframe { height: 820px; }
}
@media (min-width: 1100px) { .gs-months { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gs-cal iframe { height: 700px; }
@media (min-width: 768px) {
  .gs-hero { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* 御朱印：PC は御首題と切り絵の4枚（字が切れすぎないように細く並べる） */
  .gs-hero img { height: clamp(230px, 21vw, 300px); }
  .gs-split .gs-gal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-cal iframe { height: 640px; }
}
.hc-sold { margin: 10px 0 0; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--kin); border-radius: 3px; }
.hc-sold b { color: var(--kin-d); }

/* ---------- 10/31 ペットのページ（pt-）。住職 10/30「ペットの永代供養という言葉を入れて…お寺なので年中お経が上がる…みんな一緒で供養の気持ちで手を合わせる…この気持ちがあるお寺の安心感が伝わるように」
   墓地のページの部品（hc-top・hc-sum3・hc-icons・pghead・board・flow・faq・facts）をそのまま使い、ご用件のカード・動物の札・持ち物・料金の目安の表・住職の言葉だけ足す ---------- */
.pt-svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-svc a { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 10px; min-height: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: var(--sumi); text-decoration: none; }
.pt-svc a > picture { grid-column: 1; grid-row: 1 / span 4; }
.pt-svc a > span { grid-column: 2; }
.pt-svc img { width: 104px; height: 104px; object-fit: cover; border-radius: 3px; }
.pt-svc .k { display: block; font-size: 13px; color: var(--kin-d); letter-spacing: .04em; line-height: 1.5; }
.pt-svc .n { display: block; font: 700 20px/1.35 var(--mincho); letter-spacing: .05em; margin-top: 2px; }
.pt-svc .p { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.pt-svc .p b { color: var(--sumi); }
.pt-svc .go { display: inline-flex; margin-top: 6px; min-height: 36px; font-size: 14.5px; color: var(--midori); border: 0; }
.pt-svc a:hover { border-color: var(--kin); } .pt-svc a:hover .go { text-decoration: underline; }
@media (min-width: 700px) { .pt-svc { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1100px) {
  .pt-svc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pt-svc a { display: flex; flex-direction: column; align-items: stretch; padding: 0 0 18px; }
  .pt-svc img { width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 0; margin-bottom: 12px; }
  .pt-svc .k, .pt-svc .n, .pt-svc .p, .pt-svc .go { margin-left: 18px; margin-right: 18px; }
  .pt-svc .go { margin-top: auto; padding-top: 8px; }
}
.pt-animals { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pt-animals li { padding: 4px 11px; background: var(--kinari); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; line-height: 1.5; }
.pt-bring { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-bring li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); gap: 8px; padding: 10px 12px; background: var(--paper); border: 1px solid var(--line-l); border-radius: 3px; }
.pt-bring li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--midori); border-bottom: 2px solid var(--midori); transform: rotate(-45deg); margin-top: .6em; }
.pt-bring li > b, .pt-bring li > span { grid-column: 2; }
.pt-bring b { display: block; }
.pt-bring span { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: -6px; }
@media (min-width: 700px) { .pt-bring { grid-template-columns: 1fr 1fr; } }
.pt-fee { width: 100%; border-collapse: collapse; border-top: 2px solid var(--sumi); font-size: 16px; }
.pt-fee th, .pt-fee td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.pt-fee thead th { font-size: 14px; color: var(--muted); letter-spacing: .06em; font-weight: 700; }
.pt-fee tbody th { font-weight: 700; color: var(--sumi); }
.pt-fee .yen { font: 700 18px/1.4 var(--mincho); color: var(--sumi); white-space: nowrap; }
.pt-fee caption { caption-side: bottom; text-align: left; padding-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.pt-heart { background: var(--kinari); border-left: 4px solid var(--kin); padding: 18px 22px; border-radius: 0 4px 4px 0; }
.pt-heart p { margin: 0 0 .8em; } .pt-heart p:last-child { margin: 0; }
.pt-msg { background: var(--sumi); color: #e8e6de; padding: 56px 0; }
.pt-msg .h2, .pt-msg h3 { color: #fff; }

/* ===== 対応日カレンダー（cal.js・.gcal）。10/31 designer の再指定 HOSEN-WEB-014（renewal\refs\top\calendar_top_minaoshi_20261031.md）：
   狭い所（スマホ・トップの右列）＝週ごとの一覧で文字つき、広い所（御朱印ページ）＝月表示で各日に文字3行。2か月は ←→ と横スライド。色は 4.5:1 以上 ===== */
.gcal{container:gcal/inline-size;margin:0 0 16px;padding:14px 12px 12px;background:var(--paper);border:1px solid var(--line);border-radius:4px;color:var(--ink)}
.gcal .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gcal em,.gcal i{font-style:normal}
.gcal-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin:0 0 6px}
.gcal-nav button,.gcal-retry{min-height:48px;padding:6px 14px;border:1px solid var(--midori);background:var(--kinari);border-radius:999px;font:700 15px/1.3 var(--gothic);color:var(--sumi);cursor:pointer}
.gcal-prev{justify-self:start}.gcal-next{justify-self:end}
.gcal-nav button[disabled]{border:1px dashed var(--line);background:transparent;color:#5f645c;cursor:default}
.gcal-nav button:focus-visible,.gcal-retry:focus-visible,.gcal-track:focus-visible,.gcal-w>summary:focus-visible{outline:3px solid var(--kin);outline-offset:2px}
.gcal-cur{text-align:center;font:700 19px/1.3 var(--mincho);letter-spacing:.04em}
.gcal-cur small{display:block;font:400 13px/1.4 var(--gothic);color:#5f645c}
.gcal-hint{margin:0 0 10px;font-size:14px;line-height:1.6;color:#3b403a;text-align:center}
@media (hover:hover) and (pointer:fine){.gcal-hint .sw{display:none}}
.gcal-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 0 10px;padding:8px 10px;background:var(--kinari);border-radius:4px;font-size:14.5px;line-height:1.5;color:#3b403a}
.gcal-legend .k{display:inline-flex;align-items:center;gap:6px}
.gcal-track{position:relative;display:flex;align-items:flex-start;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none} /* position:relative＝中の絶対配置（.vh）を枠の中に閉じ込め、ページの幅を広げない */
.gcal-track::-webkit-scrollbar{display:none}
@media (prefers-reduced-motion:no-preference){.gcal-track{scroll-behavior:smooth}}
.gcal-m{flex:0 0 100%;min-width:0;scroll-snap-align:start}
.gcal-dots{display:flex;justify-content:center;gap:8px;margin:10px 0 0}
.gcal-dots i{width:10px;height:10px;border-radius:50%;border:2px solid var(--midori);box-sizing:border-box}
.gcal-dots i.on{background:var(--midori)}
.gcal .v{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:34px;border-radius:6px;font:700 20px/1 var(--gothic)}
.gcal .v.ok{color:#1e6b32;background:#e6f3e8}
.gcal .v.ng{color:#a3261d;background:#fbeae7}
.gcal .v.nd{color:#575c55;background:#efebe1;font-weight:400}
.gcal .tg{display:inline-block;padding:0 7px;border:1px solid var(--sumi);border-radius:999px;font:700 12.5px/1.6 var(--gothic);color:var(--sumi);background:#fff}
.gcal-g{display:none}
.gcal-w{margin:0 0 8px;border:1px solid var(--line);border-radius:4px;background:#fff;overflow:hidden}
.gcal-w>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding:6px 12px;background:var(--kinari);cursor:pointer;list-style:none;font:700 16px/1.4 var(--gothic);color:var(--sumi)}
.gcal-w>summary::-webkit-details-marker{display:none}
.gcal-w>summary::after{content:"";flex:none;width:9px;height:9px;margin-left:4px;border-right:2px solid var(--sumi);border-bottom:2px solid var(--sumi);transform:rotate(45deg);transition:transform .15s}
.gcal-w[open]>summary::after{transform:rotate(-135deg)}
.gcal-w .sm{margin-left:auto;font:400 14px/1.4 var(--gothic);color:#3b403a}
.gcal-t{width:100%;border-collapse:collapse;table-layout:fixed}
.gcal-t th,.gcal-t td{padding:6px 2px;border-top:1px solid var(--line-l);text-align:center}
.gcal-t thead th{padding:8px 2px;font:700 13px/1.35 var(--gothic);color:#3b403a}
.gcal-t th[scope=row]{width:31%;padding-left:10px;text-align:left;font:700 16px/1.35 var(--gothic);color:var(--sumi)}
.gcal-t tr.sun th[scope=row]{color:#a8332a}.gcal-t tr.sat th[scope=row]{color:#264d96}
.gcal-t td{height:48px}
.gcal-t th[scope=row] .tg{display:block;width:max-content;margin-top:2px}
.gcal-t tr.today>*{background:#fde6b8}
.gcal-note{margin:8px 0 0;font-size:14px;line-height:1.6;color:#3b403a}
.gcal-loading,.gcal-fail{margin:0;padding:20px 0;text-align:center;font-size:15px}
@container gcal (min-width:780px){
  .gcal-l{display:none}
  .gcal-g{display:table;width:100%;border-collapse:collapse;table-layout:fixed}
  .gcal-g th{padding:6px 0;font:700 14px/1.3 var(--gothic);color:#3b403a}
  .gcal-g th.sun{color:#a8332a}.gcal-g th.sat{color:#264d96}
  .gcal-g td{height:112px;padding:6px 8px;border:1px solid var(--line);vertical-align:top}
  .gcal-g td.out{background:#f6f4ef}
  .gcal-g td.today{background:#fde6b8}
  .gcal-g .n{display:block;margin:0 0 4px;font:700 17px/1.2 var(--gothic);color:var(--sumi)}
  .gcal-g td.sun .n{color:#a8332a}.gcal-g td.sat .n{color:#264d96}
  .gcal-g .n .tg{margin-left:6px;font-size:12px}
  .gcal-g .r{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-top:3px;font:400 13.5px/1.3 var(--gothic);color:#3b403a}
  .gcal-g .v{min-width:30px;height:24px;border-radius:5px;font-size:16px}
}
.pt-msg h3 { font-size: clamp(19px, 4.6vw, 23px); letter-spacing: .06em; margin: 0 0 .8em; color: #e6d7ae; }
.pt-msg p { max-width: 38em; }
.pt-msg .sign { color: #d9c48f; margin: 0; }
.pt-two { display: grid; gap: 36px; }
@media (min-width: 900px) { .pt-two { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.pt-two .flow { max-width: none; }
.pt-note-box { margin-top: 16px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: 15px; line-height: 1.8; }
.pt-note-box p { margin: 0 0 .5em; } .pt-note-box p:last-child { margin: 0; }

/* 2026-11-01 御朱印ページの仕上げ（.gs- 専用。他のページには効かない） */
@media (min-width: 1100px) { .gs-title .hc-h1 .name { font-size: 44px; letter-spacing: .06em; } .gs-title { column-gap: 40px; } }
.gs-cta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 0 0; }
.gs-cta-top .btn { min-height: 48px; }
.gs-cta-sub { font-size: 14.5px; color: var(--muted); }
.gs-guide { margin: 0 0 12px; font-weight: 700; line-height: 1.8; }
.gs-toc a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 767px) {
  .gs-cta-top .btn { width: 100%; }
  .gs-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gs-kind a { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
  .gs-kind-ph img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
  .gs-kind:first-child .gs-kind-ph img { object-position: 50% 20%; }
  .gs-kind-name { font-size: 16px; }
  .gs-kind-txt { font-size: 13px; line-height: 1.6; }   /* 11/02 tenken A2：3行で「…」と切っていたのをやめた */
  .gs-toc ul { gap: 6px; }
  .gs-toc a { padding: 7px 10px; }
}
.gs-title > .gs-cta-top { order: 3; }
@media (min-width: 1100px) { .gs-title > .gs-cta-top { grid-area: auto; grid-column: 1 / -1; } }
/* 11/01 全ページのフッターに法泉寺の SNS（住職の外部リンク）。文字だけのボタン・高さ48px（designer の指定） */
.ftr-sns { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.ftr-sns a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: 15px; }
.ftr-sns a:hover { background: rgba(255,255,255,.1); }

/* ---------- 11/01 ペット5ページの直し（会議 gijiroku_20261101_3 の1〜3。指定 renewal/refs/pet/ペット_構成と導線の評価_20261101.md）。
   .pghead・.btn-tel・.pt-svc・.hc-sum3 は他のページでも使うので、ペット5ページの <body class="pt-pg"> の中だけに効かせる ---------- */
.pt-pg .btn-tel { max-width: 100%; box-sizing: border-box; }
.pt-chips { display: flex; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.pt-chips li { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--paper); padding: 10px 8px; text-align: center; }
.pt-chips b { display: block; font: 800 20px/1.2 var(--mincho); color: var(--sumi); }
.pt-chips span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.pt-cta { display: flex; gap: 8px; margin: 0 0 16px; }
.pt-cta .btn { flex: 1; min-height: 48px; }
.pt-cta-end { margin: 24px 0 0; } .pt-cta-end .btn { flex: 0 1 auto; }
.pt-pg details.pt-fold { margin-top: 14px; border: 1px solid var(--line); background: var(--paper); }
.pt-pg details.pt-fold > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; min-height: 48px; box-sizing: border-box; }
.pt-pg details.pt-fold > .flow { padding: 0 16px 16px; }
@media (min-width: 960px) { .pt-pg .pghead .pt-cta { display: none; } .pt-pg .pghead .pt-chips { max-width: 30em; } .pt-cta-end { margin-top: 28px; } }
@media (max-width: 959px) {
  /* 最初の画面：見出し→料金→電話→本文→写真（16:10）→費用と条件 */
  .pt-pg .crumbs ol { flex-wrap: nowrap; }
  .pt-pg .crumbs li { white-space: nowrap; min-height: 36px; min-width: 0; flex: 0 0 auto; }
  .pt-pg .crumbs li:last-child { flex: 0 1 auto; display: block; line-height: 36px; overflow: hidden; text-overflow: ellipsis; }
  .pt-pg .crumbs a { min-height: 36px; }
  .pt-pg .pghead { padding-bottom: 40px; }
  .pt-pg .pghead-grid { gap: 16px; }
  .pt-pg .pghead .pg-title { margin-bottom: 0; }
  .pt-pg .pghead .pg-title .name, .pt-pg .pghead.hub .pg-title .name { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.25; letter-spacing: .1em; margin-top: 4px; }
  .pt-pg .pghead .pg-title .sub { font-size: 13.5px; }
  .pt-pg .pghead .lead { font-size: 15.5px; line-height: 1.85; }
  .pt-pg .pghead-ph img { aspect-ratio: 16 / 10 !important; max-height: none !important; height: auto; object-fit: cover; }
  .pt-pg .pghead .pt-chips { margin: 12px 0; }
  /* アクセスの地図：4:3 だと 1画面近くを使う */
  .pt-pg .map { aspect-ratio: 16 / 10; }
}
/* ③ 札：写真を 88px、見出しは札の全幅 */
.pt-pg .hc-sum3 .th img { width: 88px; height: 88px; }
.pt-pg .hc-sum3 a { grid-template-columns: 88px minmax(0, 1fr) 12px; min-height: 96px; }
.pt-pg .hc-sum3-more { margin: 10px 0 0; font-size: 15px; }
.pt-pg .hc-sum3-more a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) { .pt-pg .hc-sum3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pt-pg .hc-sum3 .p { white-space: normal; } }
.pt-pg .pt-svc a { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "n n" "ph k" "ph p" "ph go"; row-gap: 2px; align-items: start; }
.pt-pg .pt-svc a > picture { grid-area: ph; align-self: start; }
.pt-pg .pt-svc a > .n { grid-area: n; font-size: 18px; margin: 0 0 6px; }
.pt-pg .pt-svc a > .k { grid-area: k; }
.pt-pg .pt-svc a > .p { grid-area: p; }
.pt-pg .pt-svc a > .go { grid-area: go; }
.pt-pg .pt-svc img { width: 112px; height: 84px; }
@media (min-width: 1000px) {
  .pt-pg .pt-svc a { display: flex; flex-direction: column; }
  .pt-pg .pt-svc img { width: 100%; height: auto; }
}
.pt-pg .hc-sum3 li.more { grid-column: 1 / -1; }
.pt-pg .hc-sum3 li.more a { display: flex; min-height: 44px; padding: 4px 4px; border: 0; background: none; box-shadow: none; font-size: 15px; color: var(--midori); text-decoration: underline; }
.pt-pg .hc-sum3 li.more a::after { display: none; }
/* 11/01 ペット5ページのイメージカラー：B 桜（寺庭「ｂ」。.pt-pg の中だけ。他のページに影響なし。renewal\refs\pet\ペット_色の案_20261101.md） */
.pt-pg{--midori:#9A5468;--midori-d:#7E4254;--kinari:#FBF3F1;--stone:#F6EBEB;--line:#E6D2D6;--line-l:#F0E3E5;--kin:#A9806A;--kin-d:#6B4552;--pt-deep:#5A3340}
.pt-pg .bar,.pt-pg .ftr,.pt-pg .band,.pt-pg .board-h,.pt-pg .calc li.sum{background:var(--pt-deep)}
.pt-pg .hc-title,.pt-pg .hc-price{background:var(--kinari)}
.pt-pg .hc-card{border-top:3px solid var(--midori)}
.pt-pg .bar{border-color:var(--pt-deep)}
.pt-pg .bar a:first-child{background:var(--midori)}
/* 11/01 ヨガ4ページのイメージカラー：A 空（寺庭「A」。.yg-pg の中だけ。他のページに影響なし。renewal\refs\yoga\ヨガ_色の案_20261101.md） */
.yg-pg{--midori:#35708A;--midori-d:#285A71;--kinari:#F1F7FA;--stone:#E3EEF3;--line:#C7DAE3;--line-l:#DDE9EE;--kin:#8FA3AE;--kin-d:#3E5F70;--yg-deep:#1F4558}
.yg-pg .bar,.yg-pg .ftr,.yg-pg .band,.yg-pg .board-h{background:var(--yg-deep)}
.yg-pg .hc-title,.yg-pg .hc-price{background:var(--kinari)}
.yg-pg .hc-card{border-top:3px solid var(--midori)}
.yg-pg .bar{border-color:var(--yg-deep)}
.yg-pg .bar a:first-child{background:var(--midori)}
.yg-pg .yg-key,.yg-pg .yg-book{border-color:var(--midori);border-top-width:3px}

/* 写真の見え方 総点検 2026-11-02 designer：site.css の末尾に足す指定（統括がそのまま入れる）。元の規則は消さず、後ろから上書きする。
   1つずつ入れて前後を比べられるよう、番号ごとに独立（P1〜P5） */

/* P1 写真集 .gallery：4:3 や正方形に切らず、写真の元の形のまま並べる（2列／900以上で3列。gl-grid は4列）
   理由：写真集270枚のうち103枚が4:3 に切られて4割以上を失っていた（縦長の写経の手びき・本堂の像など）。img に width/height が全部あるので、場所取りは崩れない */
.gallery { display: block; columns: 2; column-gap: 14px; }
.gallery > li { break-inside: avoid; margin: 0 0 14px; }
.gallery img, .gallery.gl-grid img, .gallery.gd-gal img { height: auto; aspect-ratio: auto; max-height: 62vw; object-fit: cover; }   /* 細長い写真（9:16 など）だけ縦を 約3:4 で止め、ページが伸びすぎないように */
@media (min-width: 900px) {
  .gallery { columns: 3; column-gap: 22px; }
  .gallery > li { margin-bottom: 22px; }
  .gallery img, .gallery.gl-grid img, .gallery.gd-gal img { max-height: 440px; }
  .gallery.gl-grid { columns: 4; column-gap: 16px; }
  .split .gallery { columns: 2; column-gap: 14px; }   /* 花まつり・講師募集：文の横の狭い所は2列のまま（今のページ内の指定どおり） */
  .gallery.gl-grid > li { margin-bottom: 16px; }
}

@media (min-width: 1100px) { .gallery { columns: 4; } .gallery.gd-gal, .gallery.dn-gal, .gallery.ab-gal { columns: 3; } .split .gallery { columns: 2; } }   /* 今の写真集ページ（7ページ）が 1100 以上で4列にしている指定と同じ */

/* P2 ページ先頭の写真 .pghead-ph（スマホ・タブレット 〜959）：3:2 → 4:3。縦長の像・手びきが3:2 で約半分消えていた。ペット系の 16:10 も同じにそろえる */
@media (max-width: 959px) { .pghead-ph img { aspect-ratio: 4 / 3; } }
@media (max-width: 767px) { .pt-pg .pghead-ph img { aspect-ratio: 4 / 3 !important; } }

/* P3 札の写真 .pt-svc（1100以上の3列）：2:1 → 3:2。縦長の像が6〜7割消えていた。（小さい幅の 104px の横並びは、行の見出しとして許容） */
@media (min-width: 1100px) { .pt-svc img { aspect-ratio: 3 / 2; } }

/* P4 御朱印トップの写真（768〜1099）：4枚の細い縦帯（189px）をやめ、2枚にする。1100以上は今のまま */
@media (min-width: 768px) and (max-width: 1099px) {
  .gs-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-hero > :nth-child(n+3) { display: none; }
  .gs-hero img { height: clamp(300px, 36vw, 360px); }   /* 題の白い板が下 84px を隠すので、高さを足して写真が見える分を確保 */
}

/* P5 御朱印の種類の札 .gs-kind-ph（スマホ 1:1）：縦長の御朱印帳は上から（「御首題帳」の字が頭から入る）。横長の細い写真は枠に全体を入れる（hana_12） */
@media (max-width: 767px) {
  .gs-kind-ph img { object-position: 50% 8%; }
  .gs-kind-ph img[src*="hana_12"] { object-fit: contain; background: var(--kinari); }
}

/* 11/02 tenken B-1：1100〜1199 でヘッダーの電話番号が3行に割れて右が切れた → 番号は折らず、この幅だけ少し小さく */
.hdr-tel b { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1199px) { .gnav a { padding: 0 6px; letter-spacing: 0; } .hdr-tel { padding-left: 10px; margin-left: 2px; } .hdr-tel small { font-size: 10.5px; letter-spacing: 0; } .hdr-tel b { font-size: 16px; letter-spacing: 0; } }
/* ===== 住職のキャラクター（2026-11-02・chara-say / chara-guide）===== */
.chara-say { --cs: 64px; display: grid; grid-template-columns: var(--cs) minmax(0, 1fr); gap: 12px; align-items: start; margin: 22px 0; max-width: 46em; }
.chara-say .chara { width: var(--cs); height: auto; }
.chara-say .say { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.chara-say .say::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; background: var(--paper); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.chara-say .say > :last-child { margin-bottom: 0; }
.chara-say .say > :first-child { margin-top: 0; }
.chara-say .say p { margin: 0 0 .8em; }
.chara-say .say h2, .chara-say .say h3 { margin-top: 0; }
@media (min-width: 768px) { .chara-say { --cs: 96px; gap: 22px; } .chara-say .say { padding: 18px 24px; } .chara-say .say::before { top: 34px; } }
/* 挨拶の段（大）：見出し付きの挨拶・案内の段に。スマホ 112px／PC 200px、吹き出しの尾なし */
.chara-say.lg { --cs: 96px; align-items: end; }
.chara-say.lg .say::before { display: none; }
@media (min-width: 768px) { .chara-say.lg { --cs: 200px; } }
/* 案内役（小）：見出しの横に線画を置くだけ。吹き出しなし */
.chara-guide { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.chara-guide .chara { flex: none; width: 56px; height: auto; }
.chara-guide > :is(h2, h3) { margin: 0; }
@media (min-width: 768px) { .chara-guide .chara { width: 72px; } .chara-guide { gap: 18px; } }
/* 暗い帯（.band・.on-dark）の中には置かない。印刷では出さない */
.band .chara-say, .on-dark .chara-say, .band .chara-guide, .on-dark .chara-guide { display: none; }
@media print { .chara-say .chara, .chara-guide .chara { display: none; } .chara-say { grid-template-columns: 1fr; } }

