@charset "utf-8";

/**
 * 御開帳月下祈祷 LP
 *
 * 目次
 *   01. ベース
 *   02. セクション見出し（共通の下線）
 *   03. ボタン
 *   04. ヘッダー・ナビ
 *   05. ヒーロー
 *   06. 月下祈祷とは
 *   07. 4つの体験
 *   08. 祈祷料・お申し込み
 *   09. 予約方法
 *   10. 授与品
 *   11. アクセス
 *   12. よくある質問
 *   13. 締め
 *   14. 関連リンク・SNS
 *   15. フッター
 *   16. ダイアログ
 *   17. 動きを減らす設定
 *
 * ブレイクポイント
 *   1200px以下 : ヘッダーをコンパクトに（横並びメニューのまま）
 *   800px以下  : ハンバーガーメニュー・スマートフォン（1列レイアウト）
 *   767px以下  : アクセス経路図を縦向き・授与品価格を縮小
 *   400px以下 / 360px以下 : 小さい端末の文字サイズ調整
 */

/* ---------- 01. ベース ---------- */

:root {
	--gold: linear-gradient(110deg, #b38b15, #d3a723);  /* 申込ボタン */
	--gold-line: #aba07d;                               /* 見出し下線・アクセス見出し */
	--font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--font-gothic: "Source Han Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #000; color: #fff; font-family: var(--font-gothic); font-size: 15px; line-height: 1.9; }

/* 見出し・ボタン・開催日は明朝 */
h1, h2, h3, .gold, .dates { font-family: var(--font-mincho); font-weight: 400; }
h2 { margin: 0 0 60px; font-size: 30px; text-align: center; letter-spacing: 0.08em; }
h3 { margin: 12px 0 20px; font-size: 27px; line-height: 1.6; letter-spacing: 0.04em; }
p { margin: 0 0 20px; }
a { color: inherit; touch-action: manipulation; }
button { border: 0; font: inherit; cursor: pointer; touch-action: manipulation; }
img { display: block; max-width: 100%; object-fit: cover; }
.wrap { width: calc(100% - 64px); max-width: 1100px; margin: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* 本文へ移動（フォーカス時のみ表示） */
.skip { position: fixed; top: -80px; left: 16px; z-index: 10; padding: 12px; background: white; color: black; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #ecdca9; outline-offset: 5px; }

@media (max-width: 800px) {
	html { scroll-padding-top: 76px; }
}

@media (max-width: 800px) {
	body { font-size: 14px; }
	.wrap { width: calc(100% - 40px); }
	h2 { margin-bottom: 38px; font-size: 24px; }
	h3 { font-size: 23px; }
}

/* ---------- 02. セクション見出し（共通の下線） ---------- */

.eyebrow::after, .experiences h2::after, .fees h2::after, .booking h2::after, .goods h2::after, .lp-access h2::after, .faq h2::after { content: ""; display: block; width: 93px; height: 1px; margin: 18px auto 0; background: #fff; }

/* 金色の太い下線 */
.booking h2::after, .goods h2::after, .lp-access h2::after, .faq h2::after { height: 2px; background: var(--gold-line); }
.experiences h2, .fees h2, .goods h2, .lp-access h2, .faq h2 { margin-bottom: 36px; }

@media (max-width: 800px) {
	.experiences h2, .fees h2, .goods h2, .lp-access h2, .faq h2 { margin-bottom: 28px; }
}

/* ---------- 03. ボタン ---------- */

.gold, .light { display: inline-block; min-width: 340px; padding: 16px 28px; background: var(--gold); color: #fff; font-size: 21px; line-height: 1.5; text-align: center; text-decoration: none; transition: filter 0.2s; }
.gold:hover, .light:hover { filter: brightness(1.15); }
.gold small { display: block; margin-top: 5px; font-family: sans-serif; font-size: 11px; }
.light { background: #fff; color: #222; font-size: 16px; }

/* 右端の矢印つきボタン */
.cta .gold, .booking > button.gold, .closing-links button { position: relative; padding-right: 54px; padding-left: 54px; }
.button-arrow { position: absolute; top: 50%; right: 22px; display: block; width: 36px; height: 7.955px; transform: translateY(-50%); pointer-events: none; }

/* ボタン下の注記エリア */
.cta { margin: 70px 0 0; text-align: center; }
.cta p { margin-top: 8px; font-size: 11px; }

@media (max-width: 800px) {
	.gold, .light { width: min(100%, 380px); min-width: 0; font-size: 18px; }
	.cta .gold, .booking > button.gold, .closing-links button { padding-right: 46px; padding-left: 46px; }
	.button-arrow { right: 18px; width: 27px; height: auto; }
	.cta { margin-top: 40px; padding: 0 20px; }
}

/* ---------- 04. ヘッダー・ナビ ---------- */

/* 参照LPと同じく、FVの上では透明。FVを抜けたら .is-scrolled で黒背景にする */
.site-header { position: fixed; inset: 0 0 auto; z-index: 110; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 110px; padding: 18px 30px; background: transparent; color: #fff; transition: background-color 0.2s, box-shadow 0.2s; }
.site-header a { text-decoration: none; }
.site-header .brand { display: block; flex: none; width: 190px; }
.site-header .brand img { width: 100%; height: auto; object-fit: contain; }
#site-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; line-height: 1.5; }
#site-nav a { white-space: nowrap; }
#site-nav .reserve { padding: 17px 22px; background: var(--gold); }
.menu-toggle { display: none; }

/* スクロール後は小さくする（app.jsで .is-scrolled を付与） */
.site-header.is-scrolled { height: 86px; padding-top: 16px; padding-bottom: 16px; background: rgba(17, 17, 17, 0.96); box-shadow: 0 2px 12px #0002; }
.site-header.is-scrolled .brand { width: 121px; }
.site-header.is-scrolled .brand img { height: 54px; }

/* 801〜1200px：横並びメニューが収まるよう、ロゴと文字を小さくする */
@media (max-width: 1200px) {
	.site-header { height: 86px; padding: 16px 20px; gap: 16px; }
	.site-header .brand { width: 121px; }
	.site-header .brand img { height: 54px; }
	#site-nav { gap: 14px; font-size: 13px; }
	#site-nav .reserve { padding: 12px 14px; }
}

/* ハンバーガーメニュー */
@media (max-width: 800px) {
	/* SPはスクロール前後で同じ大きさ（メニューボタンの60pxに合わせる） */
	.site-header { align-items: flex-start; height: 60px; padding: 10px 20px; pointer-events: none; }
	.site-header .brand { width: 90px; pointer-events: auto; }
	.site-header .brand img { height: 40px; }
	.menu-toggle { position: fixed; top: 0; right: 0; z-index: 150; display: block; width: 60px; height: 60px; padding: 0; background: #000; color: #fff; pointer-events: auto; }
	.menu-toggle > span { position: absolute; left: 50%; width: 30px; height: 1px; background: #fff; transform: translateX(-50%); }
	.menu-toggle > span:nth-child(1) { top: 35%; }
	.menu-toggle > span:nth-child(2) { top: 50%; }
	.menu-toggle > span:nth-child(3) { top: 65%; }

	/* 開いているときは × 表示 */
	.menu-toggle[aria-expanded="true"] > span:nth-child(1) { top: 50%; transform: translateX(-50%) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
	.menu-toggle[aria-expanded="true"] > span:nth-child(3) { top: 50%; transform: translateX(-50%) rotate(-45deg); }
	#site-nav { position: fixed; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 90%; height: 100dvh; padding: 80px 8vw 30px; overflow-y: auto; background: rgba(0, 0, 0, 0.95); color: #fff; visibility: hidden; opacity: 0; pointer-events: none; }
	#site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
	#site-nav a, #site-nav .reserve { position: relative; margin: 0 0 12px; padding: 10px 0 10px 28px; background: transparent; font-size: 16px; white-space: normal; }
	#site-nav a::before { content: ""; position: absolute; top: 22px; left: 0; width: 16px; height: 1px; background: #fff; }
	.site-header:has(#site-nav.is-open) .brand { visibility: hidden; }
	.site-header.is-scrolled { height: 60px; padding: 10px 20px; }
	.site-header.is-scrolled .brand { width: 90px; }
	.site-header.is-scrolled .brand img { height: 40px; }
}

/* ---------- 05. ヒーロー ---------- */

/* 参照LPと同じく高さを画面に合わせ、背景はcoverで切り、ロゴは上・文字は下に重ねる
   PSD 1920_04.psd（1920×1080）の座標を、FVの高さに対する比率 --hero-scale で再現する */
/* 背景はヘッダーの裏（画面最上部）から敷き、ロゴと文字はヘッダーより下の領域に配置する */
.hero { --header-h: 110px; --hero-h: clamp(320px, calc(100svh - var(--header-h)), 1080px); --hero-scale: calc(var(--hero-h) / 1080); position: relative; overflow: hidden; }
.hero picture { display: block; height: calc(var(--hero-h) + var(--header-h)); }

/* 透明ヘッダーの白文字を読みやすくする上部の影（参照LPの .fv-shade と同じ考え方） */
.hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h) * 2); background: linear-gradient(rgba(0, 0, 0, 0.45), transparent); pointer-events: none; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-logo { position: absolute; top: calc(var(--header-h) + 29 * var(--hero-scale)); left: 50.36%; width: calc(230 * var(--hero-scale)); height: auto; transform: translateX(-50%); }
.hero-text { position: absolute; bottom: calc(36 * var(--hero-scale)); left: 50%; width: min(calc(1623 * var(--hero-scale)), 94vw); height: auto; transform: translateX(-50%); }

@media (max-width: 1200px) {
	.hero { --header-h: 86px; }
}

@media (max-width: 800px) {
	.hero { --header-h: 60px; }
}

/* 800px以下はスマートフォン版：文字入りの縦長画像（9:16）をヘッダーの裏からそのまま表示
   index.html の <source media> と幅を合わせる */
@media (max-width: 800px) {
	.hero picture { height: auto; }
	.hero-img { height: auto; }
	.hero-logo, .hero-text { display: none; }
}

/* ---------- 06. 月下祈祷とは ---------- */

/* XDどおり：背景写真は幅1440pxで上付き、写真は左端まで寄せた縦長、本文は右に幅470px */
.about { padding: 170px 0 48px; background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.45) 560px, #000 806px), url(assets/2dd670305e5bc25b51ac0846cbba6e66.webp) center top/1440px auto no-repeat; }
.about-grid { display: grid; grid-template-columns: 44.8% minmax(0, 470px); align-items: start; column-gap: 7.6%; width: 100%; max-width: none; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 645/807; object-fit: cover; object-position: 20% center; }
.about-text { padding-top: 32px; }
.eyebrow { display: table; margin-bottom: 40px; font-size: 22px; letter-spacing: 0.12em; text-align: left; }
.eyebrow::after { margin-right: 0; margin-left: 0; }
.about h3 { margin: 0 0 40px; font-size: 30px; line-height: 1.55; letter-spacing: 0.1em; }
.about p { margin-bottom: 16px; line-height: 1.9; }
.about-text p { margin-bottom: 36px; font-size: 16px; line-height: 2.25; letter-spacing: 0.08em; }
.about-text p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
	.about { padding-top: 40px; padding-bottom: 32px; background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.8)), url(assets/2dd670305e5bc25b51ac0846cbba6e66.webp); background-size: auto, cover; }
	.about-grid { grid-template-columns: 1fr; gap: 30px; width: calc(100% - 40px); margin: auto; }
	.about-photo img { aspect-ratio: 4/3; object-position: center; }
	.about-text { padding-top: 0; }
	.eyebrow { margin-bottom: 20px; font-size: 20px; letter-spacing: 0.08em; }
	.about h3 { margin-bottom: 14px; font-size: 23px; line-height: 1.6; letter-spacing: 0.04em; }
	.about-text p, .about-text p:last-child { margin-bottom: 16px; font-size: 14px; line-height: 1.9; letter-spacing: normal; }
}

/* ---------- 07. 4つの体験 ---------- */

/* 背景写真は画面幅で伸縮させず、原寸（1800px）で上付き */
.experiences { padding: 72px 0 32px; background: linear-gradient(#0003, #000 750px), url(assets/26bbb4464c883bc749d325302acbe211.webp) center top/1800px auto no-repeat; }
.experience { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; margin: 0 0 80px; }
.experience:last-child { margin-bottom: 24px; }
.experience img { width: 100%; aspect-ratio: 16/9; }

/* 写真を右側に置く行 */
.experience.reverse img { order: 2; }

/* 番号（01〜04のSVG）＋ラベル */
.number { display: flex; align-items: center; gap: 18px; font: 80px/1 Helvetica, sans-serif; }
.experience .number { min-height: 100px; }
.experience .number img { display: block; flex: none; order: 0; width: auto; height: 78.8px; aspect-ratio: auto; object-fit: contain; }
.number span { padding: 3px 20px; border: 1px solid #555; font: 14px/1.5 serif; }
.experience h3 { margin-top: 8px; margin-bottom: 12px; font-size: 26px; }
.experience p { margin-bottom: 0; font-size: 14px; line-height: 1.8; }

@media (max-width: 800px) {
	.experiences { padding: 44px 0 0; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.9) 360px, #000 650px), url(assets/26bbb4464c883bc749d325302acbe211.webp); background-size: auto 650px; }
	.experiences h2 .experience-heading-line { display: block; white-space: nowrap; }
	.experience { grid-template-columns: 1fr; gap: 20px; margin-bottom: 55px; }
	.experience.reverse img { order: 0; }
	.number { font-size: 60px; }
	.experience h3 { font-size: 23px; }
}

@media (max-width: 360px) {
	.experiences h2 { font-size: 20px; }
}

/* ---------- 08. 祈祷料・お申し込み ---------- */

/* XD（幅1600px）どおり：写真は幅1600pxで縦中央、不透明度49%。137pxから873pxにかけて黒へ
   見出しは上から約230px、カードは約455pxから始め、半透明のカード越しにも写真を見せる */
.fees { padding: 216px 0 24px; background: linear-gradient(#00000082 137px, #000 873px) 0 0/100% 100% no-repeat, url(assets/3769224b28a3f7a492aa3ee5687caac3.webp) center -101px/1600px auto no-repeat; }
.fees .intro { max-width: 850px; margin: 0 auto 72px; line-height: 1.8; }
.fee-card { display: grid; grid-template-columns: 45% 1fr; align-items: center; gap: 32px; margin-bottom: 24px; padding: 32px; background: rgba(59, 59, 59, 0.55); }
.fee-card img { width: 100%; aspect-ratio: 16/9; }
.fee-card h3 { margin: 0; text-align: center; }
.fee-card p { margin-bottom: 12px; font-size: 12px; line-height: 1.8; }

/* 読みがな */
.fee-card h3 + p { margin-bottom: 10px; }

/* 祈祷料・内容などの項目表 */
.fee-card dl { display: grid; grid-template-columns: 65px 1fr; align-items: baseline; gap: 8px 12px; margin: 12px 0 0; font-size: 12px; }
.fee-card dd { margin: 0; }
.fee-card strong { font-size: 20px; }
.fees .cta p { margin-bottom: 0; }

@media (max-width: 800px) {
	.fees { padding-top: 44px; padding-bottom: 24px; background: linear-gradient(#00000082 100px, #000 640px) 0 0/100% 100% no-repeat, url(assets/3769224b28a3f7a492aa3ee5687caac3.webp) center 40px/auto 600px no-repeat; }
	.fees .intro { margin-bottom: 150px; }
	.fee-card { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
	.fee-card h3 { font-size: 25px; }
	.fee-card dl { grid-template-columns: 55px 1fr; column-gap: 10px; }
}

/* ---------- 09. 予約方法 ---------- */

.booking { margin-top: 16px; padding: 40px 60px; background: #222; text-align: center; }
.booking h2 { font-size: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 0 35px; padding: 0; list-style: none; }
.steps li { position: relative; padding: 25px 12px 18px; background: #fff; color: #111; }

/* ステップ番号の丸 */
.steps b { position: absolute; top: -22px; left: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; background: #a49b73; color: #fff; line-height: 44px; }
.steps h3 { margin: 10px 0; font: 700 17px/1.6 sans-serif; }
.steps p { margin: 0; font-size: 12px; }
.booking > p { margin: 10px 0 0; font-size: 12px; }

@media (max-width: 800px) {
	.booking { padding: 32px 22px; }
	.booking h2 { font-size: 22px; }
	.booking-heading-line { display: block; white-space: nowrap; }
	.steps { grid-template-columns: 1fr; gap: 35px; }
	.steps h3 { font-size: 18px; }
	.steps p { font-size: 14px; }
	.booking > button.gold { padding-right: 36px; padding-left: 12px; font-size: clamp(13px, 3.4vw, 17px); }
	.booking > button.gold .button-arrow { right: 10px; width: 20px; }
}

/* ---------- 10. 授与品 ---------- */

/* 見本デザインどおり、見出しの上に授与品の写真（御縁柱・タオル）を大きく見せる */
.goods { padding: 290px 0 24px; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.45) 420px, #000 780px), url(assets/0da28232b485b611369f95597c8e41c2.webp) center -140px/1600px auto no-repeat; }
.goods-card { display: grid; grid-template-columns: 1fr 250px; align-items: center; gap: 40px; margin-bottom: 30px; padding: 28px 36px; background: white; color: #111; }
.goods-card:last-child { margin-bottom: 0; }

/* 2枚目だけ写真を左側に置く */
.goods-card:nth-of-type(2) { grid-template-columns: 250px 1fr; }
.goods-card:nth-of-type(2) > div { order: 2; }
.goods-card h3 { margin: 0 0 10px; font-size: 28px; }
.goods-card img { width: 250px; height: 230px; object-fit: contain; }
.goods-card p { font-size: 13px; }
.goods-card p:last-child { margin-bottom: 0; line-height: 1.8; }

/* 価格欄 */
.goods-card .prices { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #ccc; line-height: 1.5; }
.prices strong { font-size: 24px; }

/* 種類ごとの価格（大・中・小など）を並べる */
.goods-card .prices:has(.price-option) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 22px; font-size: 17px; }
.prices .price-option { display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; }
.prices .price-option strong { margin: 0 4px; font-family: Helvetica, Arial, sans-serif; font-size: 36px; font-weight: 700; line-height: 1.1; }

/* 福銭のようにラベルなしの価格は、見出しと左端を揃える */
.prices .price-option strong:first-child { margin-left: 0; }

/* 種類名の四角い枠 */
.prices .price-label { display: inline-flex; flex: none; align-items: center; align-self: center; justify-content: center; width: 29px; height: 29px; margin-right: 6px; border: 1px solid #555; font-size: 17px; font-weight: 700; line-height: normal; }
.prices .price-label.is-wide { width: auto; min-width: calc(5.2em + 18px); padding: 0 8px; }

@media (max-width: 800px) {
	/* SPも見出しの上に写真を見せる（写真は幅800pxで上付き） */
	.goods { padding-top: 190px; padding-bottom: 20px; background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.45) 220px, #000 450px), url(assets/0da28232b485b611369f95597c8e41c2.webp); background-position: 0 0, center top; background-size: auto, 800px auto; }
	.goods-card { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
	.goods-card:nth-of-type(2) { grid-template-columns: 1fr; gap: 15px; }
	.goods-card:nth-of-type(2) > div { order: 0; }
	.goods-card img { width: 100%; height: 220px; }
	.prices strong { font-size: 21px; }
}

@media (max-width: 767px) {
	.goods-card .prices:has(.price-option) { gap: 8px 14px; font-size: 15px; }
	.prices .price-option strong { font-size: 32px; }
}

@media (max-width: 400px) {
	.goods-card .prices:has(.price-option) { font-size: 13px; }
	.prices .price-option strong { font-size: 26px; }
	.prices .price-label { height: 26px; font-size: 13px; }
}

/* ---------- 11. アクセス ---------- */

.lp-access { padding-top: 40px; color: #111; font-family: "Noto Sans JP", "Source Han Sans JP", sans-serif; }
.lp-access h2 { color: #fff; }
.lp-access .access-cards { display: grid; grid-template-columns: 1fr; gap: 22px; }

/* 出発地ごとのカード（左：見出し／右：経路） */
.lp-access article { display: grid; grid-template-columns: 190px 1fr; border: 1px solid #d0d0d0; background: #fff; box-shadow: 10px 10px 0 #868686; }
.lp-access h3 { display: flex; align-items: center; justify-content: center; margin: 0; padding: 14px 10px; background: var(--gold-line); color: #000; font-size: 24px; font-weight: 600; letter-spacing: normal; text-align: center; }
.lp-access article > div { min-width: 0; padding: 26px 30px 22px; font-size: 14px; }

/* 経路図：駅（枠）と路線（線＋説明）を交互に並べる */
.lp-access .access-route { display: flex; align-items: flex-start; margin: 0; padding: 0; list-style: none; }
.lp-access .access-station { display: inline-block; flex: none; min-width: 0; padding: 6px 14px; border: 1px solid #333; background: #fff; font-size: 14px; font-weight: 700; line-height: 1.94; text-align: center; white-space: nowrap; }
.lp-access .access-station.is-goal { border-color: #000; background: #000; color: #fff; }
.lp-access .access-line { position: relative; flex: 1; min-width: 70px; margin: 0; padding: 26px 6px 0; color: #444; font-size: 12px; line-height: 1.5; text-align: center; }

/* 駅と駅をつなぐ線 */
.lp-access .access-line::before { content: ""; position: absolute; top: 18px; right: 0; left: 0; height: 1px; background: #333; }
.lp-access .access-line small { display: block; color: #666; font-size: 11px; }
.lp-access .keep-phrase { display: inline-block; }
.lp-access .access-route-note { margin: 10px 0 0; font-size: 12px; }
.lp-access .access-car { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #ddd; font-size: 13px; font-weight: 700; line-height: 1.7; }
.lp-access .access-car-label { display: inline-block; margin-right: 8px; padding: 4px 8px; background: #000; color: #fff; font-size: 11px; line-height: 1; vertical-align: 1px; }
.lp-access .access-note { margin: 60px 0 0; color: white; font-size: 18px; text-align: center; }
.lp-access .br-sp { display: none; }

/* タブレット：見出しを上に置く */
@media (min-width: 768px) and (max-width: 1199px) {
	.lp-access article { grid-template-columns: 1fr; }
	.lp-access h3 { padding: 10px; font-size: 18px; }
	.lp-access article > div { padding: 22px 18px 18px; }
	.lp-access .access-station { padding: 6px 8px; font-size: 12px; }
	.lp-access .access-line { min-width: 0; padding: 24px 3px 0; font-size: 11px; }
	.lp-access .access-line::before { top: 16px; }
	.lp-access .access-line small { font-size: 10px; }
}

@media (max-width: 800px) {
	.lp-access { padding-top: 32px; }
}

/* スマートフォン：経路図を縦向きにする */
@media (max-width: 767px) {
	.lp-access .access-cards { gap: 25px; }
	.lp-access article { display: block; }
	.lp-access h3 { padding: 14px 10px; font-size: 23px; }
	.lp-access article > div { padding: 22px; }
	.lp-access .access-route { flex-direction: column; align-items: center; }
	.lp-access .access-station { width: 10em; min-width: 0; }
	.lp-access .access-line { position: relative; flex: auto; align-self: stretch; min-width: 0; margin-left: 0; padding: 8px 0 8px calc(50% + 14px); text-align: left; }
	.lp-access .access-line::before { top: 0; right: auto; bottom: 0; left: 50%; width: 1px; height: auto; }
	.lp-access .access-route-note { text-align: center; }
	.lp-access .access-car { margin-top: 20px; padding-top: 16px; }
	.lp-access .access-car-label { display: table; margin: 0 0 8px; }
	.lp-access .access-note { margin-top: 35px; font-size: 16px; }
	.lp-access .br-sp { display: block; }
}

/* ---------- 12. よくある質問 ---------- */

.faq { max-width: 850px; padding: 64px 0; }
.faq details { margin: 12px 0; border-bottom: 2px solid #b29851; background: #fff; color: #222; font-size: 14px; }
.faq summary { display: flex; align-items: center; gap: 20px; padding: 21px 25px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }

/* 「Q」 */
.faq summary span { color: #a98420; font-size: 21px; }
.faq details p { margin: 0; padding: 0 30px 24px 65px; font-size: 13px; }

/* 開閉アイコン（＋ / −）。横線の幅が変わらないよう2本の線で描く */
.faq .faq-toggle { position: relative; display: block; flex: 0 0 22px; width: 22px; height: 22px; margin-left: auto; }
.faq .faq-toggle::before, .faq .faq-toggle::after { content: ""; position: absolute; top: 10px; left: 0; width: 22px; height: 2px; background: #ac8621; }
.faq .faq-toggle::after { transform: rotate(90deg); }
.faq details[open] .faq-toggle::after { transform: rotate(0deg); }

@media (max-width: 800px) {
	.faq { padding: 40px 0; }
	.faq summary { gap: 12px; padding: 14px 18px; }
	.faq details p { padding: 0 20px 20px; }
}

/* ---------- 13. 締め ---------- */

.closing { padding: 72px 0; background: linear-gradient(#0005, #0009), url(assets/674309f9b5cbeb4d6970c8ef424334ea.webp) center/cover; text-align: center; }
.closing h2 { margin-bottom: 24px; line-height: 1.5; }
.closing p { font-size: 17px; }
.closing .wrap > p:not(.dates) { margin-bottom: 14px; line-height: 1.8; }

/* さあ、豊川稲荷へ。 */
.closing h3 { margin: 30px 0 40px; font-size: 64px; line-height: 1.2; }

/* 開催日 */
.closing .dates { margin-top: 0; font-size: 27px; line-height: 1.45; }
.closing .dates small { display: block; margin-top: 4px; font-size: 20px; line-height: 1.5; }
.closing-links { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.closing-links button { font-size: 16px; }
.closing-links .button-arrow { width: 27px; }

@media (max-width: 800px) {
	.closing { padding: 48px 0; }
	.closing .wrap { width: calc(100% - 32px); }
	.closing h2 { font-size: clamp(20px, 5.6vw, 24px); letter-spacing: 0.04em; }

	/* 見出しは1行ずつ改行（PC用の<br>は使わない） */
	.closing h2 br { display: none; }
	.closing-title-line { display: block; white-space: nowrap; }
	.closing p { font-size: 14px; }
	.closing h3 { margin-bottom: 32px; font-size: clamp(26px, 7.4vw, 32px); letter-spacing: 0.02em; white-space: nowrap; }
	.closing .dates { font-size: clamp(16px, 4.5vw, 19px); line-height: 1.6; }
	.closing-date-range, .closing-date-days { display: block; white-space: nowrap; }
	.date-connector { display: none; }
	.closing .dates small { margin-top: 6px; font-size: clamp(14px, 4.4vw, 18px); white-space: nowrap; }
	.closing-links { flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; }
	.closing-links button { width: min(100%, 380px); min-height: 56px; padding: 16px 38px 16px 14px; font-size: clamp(12px, 3.5vw, 15px); line-height: 1.5; }
	.closing-links .button-label { white-space: nowrap; }
	.closing-links .button-arrow { right: 12px; width: 20px; }
}

/* ---------- 14. 関連リンク・SNS ---------- */

.footer-links { background: #fff; color: #111; }
.footer-links a { text-decoration: none; }
.footer-links .related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; width: calc(100% - 80px); max-width: 1440px; margin: auto; padding: 70px 0 55px; text-align: center; }
.related img { width: 100%; height: auto; }
.related span { display: block; margin-top: 12px; font-size: clamp(12px, 1.05vw, 14px); line-height: 1.6; }
.social-links { display: flex; align-items: center; justify-content: center; gap: 34px; padding: 0 20px 65px; }
.social-icon { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 46px; }
.social-icon img { width: auto; max-width: 100%; height: 40px; object-fit: contain; }
.social-icon img.sns-yt, .social-icon img.sns-x { height: 36px; }

@media (max-width: 800px) {
	.footer-links .related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 15px; width: calc(100% - 40px); padding: 40px 0; }
	.related span { margin-top: 8px; font-size: 12px; overflow-wrap: anywhere; }
	.social-links { gap: 16px; padding: 0 15px 40px; }
	.social-icon img { height: 32px; }
	.social-icon img.sns-yt, .social-icon img.sns-x { height: 29px; }
}

/* ---------- 15. フッター ---------- */

.lp-footer { padding: 55px 20px 25px; background: #000; color: #fff; text-align: center; }
.lp-footer > a { display: block; width: 160px; margin: auto; }
.lp-footer img { width: 100%; height: auto; }

/* Copyright */
.lp-footer > p { margin: 35px 0 0; font: 400 11px/1.8 sans-serif; }

@media (max-width: 800px) {
	.lp-footer { padding-top: 40px; }
	.lp-footer > a { width: 140px; }
	.lp-footer > p { margin-top: 25px; font-size: 9px; }
}

/* ---------- 16. ダイアログ（リンク先URL未設定時の案内） ---------- */

dialog { width: 520px; max-width: 90%; padding: 35px; border: 1px solid #ad8d3b; background: #202020; color: white; }
dialog::backdrop { background: #000b; }
dialog h2 { margin-bottom: 20px; font-size: 23px; }
dialog .gold { width: 100%; min-width: 0; }

/* ---------- 17. 動きを減らす設定 ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
