/* 金竜山 大歓寺 — 試作（複数ページ版 2026-10-07）
   配色・書体は 9/27 の1ページ試作を引き継ぐ */
:root {
  --bg: #fbf7f0;
  --bg-tint: #f5eee3;
  --card: #fffdf9;
  --ink: #4a4038;
  --ink-soft: #6f6358;
  --sakura: #e9b9b4;
  --rose: #b0665f;
  --rose-pale: #fbe7e2;
  --leaf: #a9bf9a;
  --gold: #a8873f;
  --line: #eadfce;
  --radius: 22px;
  --ff-sans: "Zen Maru Gothic", system-ui, sans-serif;
  --ff-serif: "Shippori Mincho", serif;
  --header-h: 68px;
}
.lang-zh { --ff-sans: "Noto Sans SC", "Zen Maru Gothic", system-ui, sans-serif; --ff-serif: "Noto Serif SC", "Shippori Mincho", serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ff-sans); font-size: 16px; line-height: 2; letter-spacing: .04em; overflow-x: hidden; }
.lang-en { letter-spacing: .01em; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { flex: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.note { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.sp-only { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sakura); outline-offset: 2px; }

.mock-bar { background: #efe4d3; color: var(--ink-soft); font-size: 12px; text-align: center; padding: 4px 16px; line-height: 1.6; }
.mock-tag { display: inline-block; margin-left: .5em; padding: 0 .6em; font-size: 11px; line-height: 1.8; border-radius: 99px; background: #fbe3c8; color: #8a5a20; vertical-align: middle; letter-spacing: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,247,240,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: .5em; font-family: var(--ff-serif); margin: 0; white-space: nowrap; }
.logo-sub { font-size: 13px; color: var(--ink-soft); }
.logo-main { font-size: 24px; letter-spacing: .15em; }
.lang-en .logo-main { letter-spacing: .06em; }
.nav { display: flex; gap: 22px; font-size: 14px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rose); border-bottom-color: var(--sakura); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; color: var(--ink-soft); }
.lang svg { width: 15px; height: 15px; margin-right: 4px; }
.lang a { text-decoration: none; padding: 4px 8px; border-radius: 99px; line-height: 1.4; }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:not([aria-current]):hover { background: var(--rose-pale); color: var(--rose); }
.h-ig { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--sakura); color: var(--rose); }
.h-ig svg { width: 19px; height: 19px; }
.h-tel { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 700; color: #fff; background: var(--rose); border-radius: 99px; padding: 7px 16px; white-space: nowrap; }
.h-tel svg { width: 16px; height: 16px; }
.nav-sp { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--rose); color: #fff; padding: 12px 28px; border-radius: 99px; font-size: 15px; font-weight: 700; line-height: 1.4; box-shadow: 0 6px 18px rgba(176,102,95,.28); transition: transform .2s, box-shadow .2s; min-height: 48px; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(176,102,95,.32); }
.btn-sub { font-weight: 500; font-size: 13px; opacity: .9; }
.btn-ig { background: #fff; color: var(--rose); border: 1.5px solid var(--sakura); box-shadow: none; }
.btn-ghost { background: #fff; color: var(--rose); border: 1px solid var(--sakura); box-shadow: none; }
.btn-block { display: flex; margin-top: 16px; }

/* ---------- hero (top) ---------- */
.hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,247,240,.94) 0%, rgba(251,247,240,.72) 38%, rgba(251,247,240,0) 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(0deg, var(--bg), rgba(251,247,240,0)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: 112px; }
.hero-kicker { font-size: 13px; color: var(--ink-soft); margin: 0 0 12px; }
.hero-title { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(48px, 8vw, 88px); line-height: 1.2; letter-spacing: .2em; margin: 0; }
.lang-en .hero-title { letter-spacing: .04em; font-size: clamp(44px, 7vw, 80px); }
.hero-sango { display: block; font-size: .3em; letter-spacing: .4em; color: var(--rose); margin-bottom: .3em; }
.lang-en .hero-sango { letter-spacing: .2em; }
.hero-lead { font-size: clamp(16px, 2vw, 19px); margin: 24px 0 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cap { position: absolute; right: 24px; top: 12px; margin: 0; font-size: 11px; color: var(--ink-soft); background: rgba(255,253,249,.85); padding: 2px 10px; border-radius: 99px; z-index: 1; }

/* ---------- guide card ---------- */
.guide { position: relative; z-index: 2; margin-top: -56px; padding: 0 24px 24px; }
.guide .wrap { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px 32px; box-shadow: 0 12px 32px rgba(120,90,60,.08); }
.guide-title { margin: 0 0 20px; font-family: var(--ff-serif); font-weight: 500; font-size: 22px; letter-spacing: .15em; text-align: center; }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.guide-grid li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 3px; align-items: start; background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.g-ico { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fdf1ee; color: var(--rose); margin-top: 2px; }
.g-ico svg { width: 18px; height: 18px; }
.g-label { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.g-val { font-weight: 700; line-height: 1.5; font-size: 17px; overflow-wrap: anywhere; }
.g-val a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sakura); text-underline-offset: 4px; }
.g-val a[href^="tel"], .g-val a[href*="instagram"] { color: var(--rose); }
.guide-note { font-size: 15px; color: var(--ink); background: #f7f0e4; border-radius: 14px; padding: 12px 16px; margin: 16px 0 0; line-height: 1.8; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--bg-tint); }
.sec-en { margin: 0; text-align: center; color: var(--gold); font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-family: var(--ff-serif); }
.sec-title { text-align: center; margin: 4px 0 48px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 32px); letter-spacing: .15em; line-height: 1.5; }
.lang-en .sec-title { letter-spacing: .03em; }
.sec-title::after { content: ""; display: block; width: 40px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--sakura), var(--leaf)); }

/* sub page header */
.page-hero { background: var(--bg-tint); padding: 28px 0 44px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 4px 0 0; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: .15em; line-height: 1.5; }
.lang-en .page-hero h1 { letter-spacing: .03em; }
.crumb { font-size: 13px; color: var(--ink-soft); text-align: left; margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--rose); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-rev .split-img { order: 2; }
.split-img img { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; box-shadow: 0 16px 40px rgba(120,90,60,.12); }
.split-img.photo img { border-radius: 28px; max-width: 420px; margin: 0 auto; }
.split-body > p:first-child { margin-top: 0; }

/* cards */
.cards { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.cards li { background: var(--card); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.cards h3 { margin: 8px 0 4px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.cards p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rose-pale); color: var(--rose); }
.ico svg { width: 22px; height: 22px; }

/* goshuin */
.badge { display: inline-flex; flex-direction: column; align-items: center; margin: 16px 0; padding: 16px 32px; border-radius: 999px; background: var(--card); border: 2px solid #c8a86a; }
.badge-no { font-family: var(--ff-serif); font-size: 26px; letter-spacing: .2em; color: #8a6a2a; line-height: 1.4; }
.badge-txt { font-size: 13px; color: var(--ink-soft); }
.mini-dl { margin: 8px 0 0; }
.mini-dl div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mini-dl dt { color: var(--rose); font-size: 14px; min-width: 5em; }
.mini-dl dd { margin: 0; font-weight: 700; }

/* instagram */
.ig-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 32px 36px; text-decoration: none; box-shadow: 0 10px 28px rgba(120,90,60,.07); transition: transform .2s; }
.ig-card:hover { transform: translateY(-2px); }
.ig-mark { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #f2b37a 0%, #d9707a 45%, #a2659e 100%); }
.ig-mark svg { width: 44px; height: 44px; }
.ig-body { display: flex; flex-direction: column; line-height: 1.6; }
.ig-en { color: var(--gold); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-family: var(--ff-serif); }
.ig-title { font-family: var(--ff-serif); font-size: 22px; letter-spacing: .08em; margin: 2px 0 4px; }
.ig-text { color: var(--ink-soft); font-size: 15px; }
.ig-handle { color: var(--rose); font-weight: 700; margin-top: 4px; }

/* page cards (top) */
.page-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-cards a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.page-cards a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(120,90,60,.1); }
.pc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.page-cards li:nth-child(2) .pc-img img { object-position: center 10%; }
.pc-body { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 56px 22px 22px; flex: 1; }
.pc-title { font-family: var(--ff-serif); font-size: 20px; letter-spacing: .08em; line-height: 1.5; }
.pc-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.pc-more { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rose-pale); color: var(--rose); }
.pc-more svg { width: 18px; height: 18px; }

/* events */
.season { width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: 36px; }
.events { list-style: none; padding: 0; margin: 0 auto 16px; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.events li { display: grid; grid-template-columns: 6.5em 1fr auto; align-items: center; gap: 14px; background: var(--card); border-radius: 18px; padding: 12px 18px; border: 1px solid var(--line); line-height: 1.5; }
.lang-en .events li { grid-template-columns: 4.5em 1fr auto; }
.ev-date { font-weight: 700; color: #5e7a52; background: #eef3e8; border-radius: 99px; text-align: center; font-size: 14px; padding: 4px 0; }
.ev-name { font-weight: 500; }
.ev-time { font-size: 13px; color: var(--rose); background: var(--rose-pale); border-radius: 99px; padding: 2px 10px; white-space: nowrap; }

/* about / access */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.about-text p { margin: 0 0 1.2em; }
.about-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 28px; }
.about-card div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.lang-en .about-card div { grid-template-columns: 8.5em 1fr; }
.about-card div:last-child { border-bottom: 0; }
.about-card dt { color: var(--rose); font-size: 14px; line-height: 1.8; }
.about-card dd { margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.about-card small { color: var(--ink-soft); font-size: 12px; }
.about-card a { color: var(--rose); font-weight: 700; }
.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 360px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 500; position: relative; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--rose); font-family: var(--ff-serif); margin-right: .7em; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 20px; color: var(--ink-soft); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink-soft); line-height: 1.9; }

/* footer */
.footer { background: #5a4d42; color: #efe6da; text-align: center; padding: 48px 0 32px; font-size: 13px; line-height: 1.9; }
.footer p { margin: 0; }
.footer a { color: inherit; }
.footer-name { font-family: var(--ff-serif); font-size: 22px; letter-spacing: .2em; margin-bottom: 8px !important; }
.footer-name span { font-size: 12px; margin-right: .6em; letter-spacing: .3em; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0 12px; font-size: 14px; }
.footer-nav a { text-decoration: none; padding: 6px 0; }
.lang-footer { justify-content: center; color: #efe6da; }
.lang-footer a[aria-current="true"] { background: #efe6da; color: #5a4d42; }
.lang-footer a:not([aria-current]):hover { background: rgba(255,255,255,.12); color: #fff; }
.copy { margin-top: 16px !important; opacity: .65; }

/* sp bottom bar */
.sp-bar { display: none; }
.sp-bar svg { width: 18px; height: 18px; }

/* 404 */
.page-404 .nf { max-width: 640px; margin: 12vh auto; padding: 0 24px; text-align: center; }
.page-404 .logo { justify-content: center; margin-bottom: 24px; }
.page-404 h1 { font-family: var(--ff-serif); font-weight: 500; letter-spacing: .1em; }
.page-404 .btn { margin: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .nav-sp { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
  .nav-sp::-webkit-scrollbar { display: none; }
  .nav-sp a { flex: none; font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); text-decoration: none; color: var(--ink-soft); line-height: 1.6; }
  .nav-sp a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  html { scroll-padding-top: 124px; }
  .sp-bar { display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,253,249,.97); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; min-height: 46px; padding: 8px 6px; border-radius: 99px; font-size: 14px; font-weight: 700; background: #fff; color: var(--rose); border: 1px solid var(--sakura); line-height: 1.3; }
  .sp-bar a:first-child { background: var(--rose); color: #fff; border-color: var(--rose); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (max-width: 860px) {
  .about-grid, .split, .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-rev .split-img { order: 0; }
  .split-img { max-width: 420px; margin: 0 auto; }
  .section { padding: 64px 0; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .page-cards { grid-template-columns: 1fr; }
  .page-cards a { flex-direction: row; }
  .pc-img { width: 38%; aspect-ratio: auto; flex: none; }
  .events { grid-template-columns: 1fr; }
  .ig-card { grid-template-columns: auto 1fr; }
  .ig-card .btn { grid-column: 1 / -1; }
  .h-tel span { display: none; }
  .h-tel { padding: 0; width: 38px; height: 38px; justify-content: center; }
}
@media (max-width: 560px) {
  :root { --header-h: 56px; }
  .wrap { padding: 0 16px; }
  .logo-main { font-size: 21px; }
  .logo-sub { display: none; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .lang svg { display: none; }
  .lang a { padding: 4px 6px; }
  .h-ig, .h-tel { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-img { position: relative; inset: auto; height: 250px; }
  .hero-img img { object-position: 72% 30%; }
  .hero-img::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(251,247,240,0) 35%); }
  .hero::after { display: none; }
  .hero-inner { padding-top: 4px; padding-bottom: 72px; }
  .hero-title { font-size: 52px; letter-spacing: .12em; }
  .lang-en .hero-title { font-size: 44px; }
  .hero-lead { margin: 12px 0 20px; }
  .hero-btns .btn { flex: 1; padding: 12px 14px; }
  .hero-btns .btn-sub { display: none; }
  .hero-cap { top: 222px; right: 12px; }
  .hero-kicker { font-size: 12px; line-height: 1.7; }
  .guide { padding: 0 12px 24px; margin-top: -40px; }
  .guide .wrap { padding: 22px 16px; border-radius: 22px; }
  .guide-grid { grid-template-columns: 1fr; gap: 8px; }
  .g-val { font-size: 16px; }
  .guide-note { font-size: 14px; }
  .about-card { padding: 8px 18px; }
  .about-card div, .lang-en .about-card div { grid-template-columns: 1fr; gap: 0; }
  .ig-card { padding: 24px 20px; gap: 18px; }
  .ig-mark { width: 64px; height: 64px; border-radius: 20px; }
  .ig-mark svg { width: 34px; height: 34px; }
  .ig-title { font-size: 19px; }
  .page-cards a { flex-direction: column; }
  .pc-img { width: 100%; aspect-ratio: 16 / 9; }
  .events li, .lang-en .events li { grid-template-columns: 6em 1fr; }
  .lang-en .events li { grid-template-columns: 4.5em 1fr; }
  .ev-time { grid-column: 2; justify-self: start; }
  .sp-only { display: inline; }
  .sp-bar a { font-size: 13px; gap: 4px; }
  .page-hero { padding: 20px 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ご祈祷: 絵の横に並べるカードは1列（アイコン左・文字右） */
.split .cards { grid-template-columns: 1fr; gap: 12px; }
.split .cards li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 16px 20px; }
.split .cards .ico { grid-row: span 2; }
.split .cards h3 { margin: 0; }
/* グリッドの子が画像の元サイズで広がらないように（スマホで横にはみ出す対策） */
.split > *, .about-grid > *, .access-grid > * { min-width: 0; }
.split-img.photo img { width: 100%; }

/* ===== お知らせ（トップのヒーローの下） ===== */
.news { position: relative; z-index: 2; margin-top: -56px; padding: 0 24px; }
.news .wrap { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 24px 32px 18px; box-shadow: 0 12px 32px rgba(120,90,60,.08); }
.news-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.news-head h2 { margin: 0; font-family: var(--ff-serif); font-weight: 500; font-size: 22px; letter-spacing: .15em; display: flex; align-items: baseline; gap: 14px; }
.news-en { color: var(--gold); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.news-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--rose); text-decoration: none; padding: 6px 0; }
.news-more svg { width: 16px; height: 16px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list a { display: grid; grid-template-columns: 11em auto 1fr 20px; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px dashed var(--line); text-decoration: none; line-height: 1.6; }
.lang-en .news-list a { grid-template-columns: 10em auto 1fr 20px; }
.news-list li:last-child a { border-bottom: 0; }
.news-list a:hover .news-title { color: var(--rose); }
.news-list time { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.news-kind { font-size: 12px; color: #5e7a52; background: #eef3e8; border-radius: 99px; padding: 2px 12px; white-space: nowrap; }
.news-title { font-weight: 500; }
.news-list svg { width: 18px; height: 18px; color: var(--sakura); }
.news-ig { margin: 6px 0 0; text-align: right; font-size: 13px; }
.news-ig a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); text-decoration: none; padding: 6px 0; }
.news-ig svg { width: 15px; height: 15px; color: var(--rose); }
/* お知らせが重なるので、参拝案内カードは通常の位置に */
.news + .guide { margin-top: 0; padding-top: 32px; }
@media (max-width: 560px) {
  .news { margin-top: -40px; padding: 0 12px; }
  .news .wrap { padding: 20px 16px 12px; border-radius: 22px; }
  .news-head h2 { font-size: 20px; }
  .news-list a, .lang-en .news-list a { grid-template-columns: auto 1fr 18px; gap: 4px 10px; padding: 12px 2px; }
  .news-list time { grid-column: 1 / 2; font-size: 13px; }
  .news-kind { grid-column: 2 / 3; justify-self: start; }
  .news-title { grid-column: 1 / 3; grid-row: 2; }
  .news-list svg { grid-column: 3; grid-row: 1 / 3; }
  .news-ig { text-align: left; }
  .news + .guide { padding-top: 24px; }
}

/* ===== ご住職へのご相談（大歓寺について の最後） ===== */
.consult-box { position: relative; max-width: 920px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 56px 56px 44px; box-shadow: 0 16px 40px rgba(120,90,60,.08); overflow: hidden; }
.consult-box::before { content: ""; position: absolute; inset: 14px; border: 1px solid #efe2cf; border-radius: 24px; pointer-events: none; }
.consult-head { position: relative; text-align: center; max-width: 680px; margin: 0 auto 36px; }
.consult-title { margin: 4px 0 20px; font-family: var(--ff-serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: .18em; line-height: 1.5; }
.lang-en .consult-title { letter-spacing: .03em; }
.consult-title::after { content: ""; display: block; width: 40px; height: 3px; margin: 16px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--sakura), var(--leaf)); }
.consult-lead { font-family: var(--ff-serif); font-size: clamp(17px, 2vw, 20px); line-height: 2; letter-spacing: .08em; margin: 0 0 16px; color: var(--ink); }
.lang-en .consult-lead { letter-spacing: .01em; line-height: 1.7; }
.consult-text { margin: 0; color: var(--ink-soft); text-align: left; }
.consult-list { position: relative; list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult-list li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; background: var(--bg); border-radius: 18px; padding: 16px 20px; }
.consult-list .ico { grid-row: span 2; }
.cl-h { font-weight: 700; line-height: 1.6; }
.cl-p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.consult-foot { position: relative; text-align: center; }
.consult-foot p { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .consult-box { padding: 44px 28px 36px; }
  .consult-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .consult-box { padding: 36px 18px 28px; border-radius: 24px; }
  .consult-box::before { inset: 8px; border-radius: 18px; }
  .consult-lead { font-size: 16px; }
  .consult-list li { padding: 14px 16px; }
}
/* 日本語の見出し文は語の途中で折り返さない（<wbr> の位置で折る） */
.lang-ja .consult-lead, .lang-ja .consult-foot p { word-break: keep-all; overflow-wrap: anywhere; }

/* ===== Instagram 公式グリフ（2026-10-07 差し替え）===== */
.ig-glyph { display: block; flex: none; }
.h-ig { width: 44px; height: 44px; background: #fff; border-color: var(--line); }
.h-ig:hover { border-color: var(--sakura); }
.ig-mark { background: #fff; border: 1px solid var(--line); }
.g-ico .ig-glyph { width: 18px; height: 18px; }
.news-ig .ig-glyph { width: 16px; height: 16px; }
.sp-bar .ig-glyph { width: 20px; height: 20px; }
/* PC: 画面右下に常に出す Instagram ボタン */
.ig-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; min-height: 58px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 10px 28px rgba(120,90,60,.18); transition: transform .2s, box-shadow .2s; }
.ig-float:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(120,90,60,.24); }
@media (max-width: 1080px) { .ig-float { display: none; } }
.page-404 .ig-float { display: none; }

/* ===== 2026-10-07 Hermes・Fable レビュー反映 ===== */
/* 色: 文字のコントラストを 4.5 以上に（桜色・生成り・茶の方向は変えない） */
:root { --rose: #a0574f; --gold: #7d5f25; }
.btn { box-shadow: 0 6px 18px rgba(160,87,79,.28); }
.badge { border-color: #c8a86a; }
.ev-date { color: #4f6a45; }
.ev-time { color: #8e4c45; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.hero-cap { font-size: 12.5px; padding: 3px 12px; }

/* 見出しは語の途中で折らない（日本語） */
.lang-ja .page-hero h1 { word-break: keep-all; overflow-wrap: anywhere; }

/* お知らせ: PC は「一覧を見る」を右上、スマホはリストの下 */
.news .wrap { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px; }
.news-h { grid-column: 1; grid-row: 1; margin: 0 0 8px; font-family: var(--ff-serif); font-weight: 500; font-size: 22px; letter-spacing: .15em; display: flex; align-items: baseline; gap: 14px; }
.news .news-more { grid-column: 2; grid-row: 1; min-height: 44px; }
.news-list { grid-column: 1 / -1; grid-row: 2; }
@media (max-width: 560px) {
  .news-h { font-size: 20px; }
  .news .news-more { grid-column: 1 / -1; grid-row: 3; justify-self: end; }
}

/* 押しやすさ（タップ領域 44px） */
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.nav-sp a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb { margin-bottom: 8px; align-items: center; }
@media (max-width: 560px) { .lang a { padding: 0 7px; } }

/* スマホのメニュー: 右端をぼかして続きがあることを示す */
@media (max-width: 1080px) {
  .nav-sp { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
}

/* カード全体がリンクのもの */
.cards .card-link { padding: 0; }
.card-link a { display: block; position: relative; height: 100%; padding: 20px 52px 20px 22px; text-decoration: none; border-radius: var(--radius); transition: background .2s; }
.card-link a:hover { background: #fff; }
.card-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rose-pale); color: var(--rose); }
.card-arrow svg { width: 16px; height: 16px; }
.split .cards .card-link a { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 16px 52px 16px 20px; }
.split .cards .card-link .ico { grid-row: span 2; }

/* 日本語のみの案内（英語・中国語ページ） */
.lang-only { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); background: #fbe7e2; border-radius: 12px; padding: 10px 14px; line-height: 1.6; }
.consult-foot .lang-only { display: inline-block; margin: 0 0 14px; }
.narrow > .lang-only { margin-bottom: 16px; }

/* PC 右下の Instagram ボタン: フッターが見えたら隠す */
.ig-float { transition: opacity .25s, transform .25s; }
.ig-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
/* リンク付きカードは li 自体をグリッドにしない（中の a でレイアウトする） */
.split .cards li.card-link { display: block; padding: 0; }
/* 日本語の節見出しも語の途中で折らない */
.lang-ja .sec-title { word-break: keep-all; overflow-wrap: anywhere; }

/* ===== お知らせ: 見出しを押すと本文が開く（2026-10-10） ===== */
.news-list details summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 11em auto 1fr 20px; align-items: center; gap: 16px; padding: 14px 4px; line-height: 1.6; min-height: 44px; }
.lang-en .news-list details summary { grid-template-columns: 10em auto 1fr 20px; }
.news-list details summary::-webkit-details-marker { display: none; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list details summary:hover .news-title { color: var(--rose); }
.news-chev { width: 10px; height: 10px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(45deg); justify-self: center; margin-top: -4px; transition: transform .2s; }
.news-list details[open] .news-chev { transform: rotate(-135deg); margin-top: 4px; }
.news-body { margin: 0 4px 16px; padding: 12px 16px; background: var(--bg); border-radius: 12px; font-size: 15px; line-height: 1.9; color: var(--ink); }
.note a { color: var(--rose); }
@media (max-width: 560px) {
  .news-list details summary, .lang-en .news-list details summary { grid-template-columns: auto 1fr 18px; gap: 4px 10px; padding: 12px 2px; }
  .news-list details summary time { grid-column: 1 / 2; font-size: 13px; }
  .news-list details summary .news-kind { grid-column: 2 / 3; justify-self: start; }
  .news-list details summary .news-title { grid-column: 1 / 3; grid-row: 2; }
  .news-chev { grid-column: 3; grid-row: 1 / 3; }
  .news-body { font-size: 14px; margin: 0 0 14px; }
}

/* ===== 毎月の行事（2026-10-20） ===== */
.monthly-title { margin: 48px 0 18px; text-align: center; font-family: var(--ff-serif); font-weight: 500; font-size: 22px; letter-spacing: .15em; }
.lang-en .monthly-title { letter-spacing: .04em; }
.monthly { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 820px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.monthly li { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; box-shadow: 0 8px 22px rgba(120,90,60,.06); }
.mo-day { flex: none; width: 84px; height: 84px; border-radius: 50%; border: 2px solid #c8a86a; background: #fffaf0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: var(--gold); }
.mo-day b { font-family: var(--ff-serif); font-weight: 500; font-size: 32px; color: var(--ink); letter-spacing: 0; }
.mo-day small { font-size: 11px; letter-spacing: .05em; }
.lang-en .mo-day small { font-size: 9.5px; text-align: center; max-width: 64px; }
.mo-body { display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.mo-name { font-weight: 700; font-size: 16px; }
.mo-time { align-self: flex-start; font-size: 13px; color: #8e4c45; background: var(--rose-pale); border-radius: 99px; padding: 2px 12px; }
.events { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 980px; }
@media (max-width: 860px) {
  .monthly { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 560px) {
  .mo-day { width: 72px; height: 72px; }
  .mo-day b { font-size: 28px; }
}

/* ===== 2026-10-28 第2回レビュー反映 ===== */
/* 小さい文字のコントラスト */
.news-kind { color: #4f6a45; }
.btn-sub { opacity: 1; }

/* 英中: ヒーローの電話ボタンの下に「日本語のみ」 */
.hero-lang { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--ink); display: inline-block; background: rgba(251,231,226,.92); border-radius: 99px; padding: 4px 14px; }

/* お知らせ: summary 自体は grid にせず、中の span で並べる（Safari 対策） */
.news-list details summary { display: block; padding: 0; min-height: 0; }
.news-row { display: grid; grid-template-columns: 11em auto 1fr 20px; align-items: center; gap: 16px; padding: 14px 4px; line-height: 1.6; min-height: 44px; }
.lang-en .news-row { grid-template-columns: 10em auto 1fr 20px; }
.news-list details summary:hover .news-title { color: var(--rose); }
@media (max-width: 560px) {
  .news-list details summary, .lang-en .news-list details summary { display: block; padding: 0; }
  .news-row, .lang-en .news-row { grid-template-columns: auto 1fr 18px; gap: 4px 10px; padding: 12px 2px; }
  .news-row time { grid-column: 1 / 2; font-size: 13px; }
  .news-row .news-kind { grid-column: 2 / 3; justify-self: start; }
  .news-row .news-title { grid-column: 1 / 3; grid-row: 2; }
  .news-row .news-chev { grid-column: 3; grid-row: 1 / 3; }
}

/* Instagram 欄の題（h2 にしたので余白を元の見た目に） */
.ig-title { margin: 2px 0 4px; font-weight: 400; }

/* 毎月の行事: 見出しを他の節見出しと同じ意匠に・カードの高さをそろえる・英語の 18th */
.monthly-en { margin-top: 56px; }
.monthly-title { margin: 4px 0 28px; font-size: clamp(20px, 2.6vw, 26px); }
.monthly-title::after { content: ""; display: block; width: 40px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--sakura), var(--leaf)); }
.monthly li { align-items: center; height: 100%; }
.monthly { align-items: stretch; }
.mo-suf { font-size: 14px; font-family: var(--ff-sans); margin-left: 1px; }
.lang-en .mo-day small { font-size: 11px; max-width: none; }

/* スマホ: アンカーで飛んだとき見出しが隠れない量に */
@media (max-width: 560px) { html { scroll-padding-top: 112px; } }

/* 375px 前後でメニュー4つが収まるように */
@media (max-width: 400px) {
  .nav-sp { gap: 6px; padding-left: 12px; padding-right: 12px; -webkit-mask-image: none; mask-image: none; }
  .nav-sp a { padding: 0 10px; font-size: 12px; letter-spacing: 0; }
}

/* iPad 横向き（901〜1080px）は PC のメニューを出す。スマホ用のチップメニューは 900px 以下だけ */
@media (min-width: 901px) and (max-width: 1080px) {
  .nav { display: flex; gap: 14px; font-size: 13px; margin-left: auto; }
  .nav-sp { display: none; }
  .header-actions { margin-left: 0; }
  .h-tel span { display: none; }
  .h-tel { padding: 0; width: 38px; height: 38px; justify-content: center; }
  html { scroll-padding-top: 84px; }
}
