@charset "utf-8";
/* ============================================================================
   ナデシコ食堂 — 意匠は写経元のまま（_bench/source/SOURCE.md）
   採取記録は _bench/source/SOURCE.md（実測値。推測で書かない）

   骨格: 1px枠で額装した3カラム
     .pane-visual（左・固定・FV）/ .pane-main（中央・スクロール）/ .pane-nav（右・固定・140px）

   写経元から変えた点（_bench/source/SOURCE.md「転用時の注意」／プラン §3.4）
     - 見出しは画像でなく実テキスト（画像見出しは AIO で読めない＝両層原則違反）
     - アクセントを寒色→ブランド色。使い方の構造（CTA1色＋淡い地1色＋hover1色）は同じ
   ========================================================================= */

/* ── トークン ─────────────────────────────────────────────────────────── */
:root {
  --ink: #333;               /* 本文（写経元実測 rgb(51,51,51)） */
  --bg: #fff;
  --line: #000;              /* 額装の罫 */
  --line-soft: #d8d2cc;
  --accent: #e55c23;         /* ロゴSVG由来 */
  --accent-hover: #b8471b;
  --wash: #f5eee8;           /* 写経元の News ブロック地（#A2C2CA）に相当する枠 */
  --logo: #3a333a;           /* ロゴの墨色 */
  --frame: 15px;             /* 額装の内側余白 */
  --nav-w: 140px;
  --ease: cubic-bezier(0.36, 0.14, 0, 1);   /* 写経元実測 */
  --dur: 0.5s;
  /* 明朝は使わない（2026-08-07 ユーザー指示・全面禁止）。写経元は明朝だが指示が優先。 */
  --gothic: "Zen Kaku Gothic New", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",
            "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
  --latin: "Jost", "Helvetica Neue", Arial, sans-serif;
}

/* ── リセット ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-weight: 700;                 /* 写経元実測 */
  line-height: 2;                   /* 写経元実測 */
  letter-spacing: 0.08em;           /* ゴシック化にともない再調整（写経元は明朝で0.25em） */
  font-feature-settings: "palt";
  overflow-x: hidden;               /* 横スクロールを出さない（/design 320px の関所） */
}
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.5; font-weight: 700; }
p { margin: 0; font-size: 1.6rem; line-height: 2; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--logo); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.font-gothic-l { font-family: var(--gothic); letter-spacing: 0.08em; }
.font-latin { font-family: var(--latin); letter-spacing: 0.14em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ── ローダー ─────────────────────────────────────────────────────────
   **CSSだけで必ず退場する。** JS(main.js)が404でも3秒で消える。
   正典 DESIGN_RULES.md:213「ローダーは必ず消える（JSの load 非表示＋
   **CSSの失敗安全網** animation:loaderHide .8s ease 3s forwards）」。
   先行案件 torimaru-hikone は 2026-08-04 に main.js を404にして実測し、
   この安全網が無いと全面白紙で固着することを確認している（同 site.css:1262）。
   外部 .js は取込時にパスが書き換わらない＝配信で404になりうる（G25-a）ので、
   JS の生存を前提にしてはいけない。                                        */
.l-loading {
  position: fixed; inset: 0; z-index: 10010;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
  animation: loaderHide 0.8s var(--ease) 3s forwards;   /* ← 失敗安全網 */
}
@keyframes loaderHide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.l-loading__logo { width: 220px; max-width: 56vw; animation: loaderPulse 1.6s ease-in-out infinite; }
.l-loading__bar { position: absolute; bottom: 22%; width: 120px; height: 1px; background: var(--line-soft); overflow: hidden; }
.l-loading__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent); transform-origin: left center;
  animation: loaderBar 1.6s var(--ease) infinite;
}
.l-loading.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes loaderBar { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* ── 額装の枠（写経元 .contents_box_border） ───────────────────────────── */
.l-frame {
  position: fixed; top: var(--frame); left: var(--frame);
  width: calc(100% - var(--frame) * 2); height: calc(100% - var(--frame) * 2);
  border: 1px solid var(--line); z-index: 11; pointer-events: none;
}

/* ── 3カラムの器 ──────────────────────────────────────────────────────── */
.l-shell { position: relative; }

/* 左: FV（PCでは固定、SPでは通常フロー） */
.l-visual { position: relative; }
.l-visual__stage { position: relative; height: 100svh; overflow: hidden; background: var(--logo); }
.l-visual__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.4s var(--ease);
}
/* JS が無くても1枚目は必ず見える。ただし JS が回し始めたら（.is-auto）この保険を外す。
   外さないと1枚目が消えないまま次の画像と重なり、二重露光になる（2026-08-07 に目視で検出）。 */
.l-visual__stage:not(.is-auto) .l-visual__slide:first-child { opacity: 1; }
.l-visual__slide.is-active { opacity: 1; }
.l-visual__slide img { width: 100%; height: 100%; object-fit: cover; }
.l-visual__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.12) 42%, rgba(0,0,0,.46)); }
/* FV の中身（ロゴ＋見出し＋主CTA）
   A-10 の hero.headline / hero.cta は **FVの固定枠の内側**に置く。
   枠の外（.l-visual の下）に出すと PC では position:fixed のため永久に到達できず、
   マーカーだけ在って中身が死蔵になる（ゲート2 H1 で実測・1440/1280/768px で画面外だった）。*/
.l-visual__center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: 78%; max-width: 420px;
  display: grid; justify-items: center; gap: 20px; text-align: center;
}
.l-visual__logo { width: 82%; max-width: 320px; }
/* ロゴは墨色(#3a333a)なので写真の上では読めない。FVでは白抜きにする。 */
.l-visual__logo img { width: 100%; filter: brightness(0) invert(1) drop-shadow(0 2px 14px rgba(0,0,0,.45)); }
.l-visual__headline {
  color: #fff; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.7;
  letter-spacing: .18em; text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.l-visual__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: #fff; font-family: var(--latin); font-size: 1.1rem; letter-spacing: .2em;
  display: grid; justify-items: center; gap: 8px;
}
.l-visual__scroll::after { content: ""; width: 1px; height: 46px; background: rgba(255,255,255,.8); animation: scrollCue 2s var(--ease) infinite; }
@keyframes scrollCue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 中央: 本文 */
.l-main { position: relative; }
.l-inner { padding: 0 6.14%; }             /* 写経元実測 */

/* 右: 固定ナビ（PCのみ） */
.l-nav { display: none; }

/* ── ヘッダー小物（SP） ───────────────────────────────────────────────── */
.l-sp-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.l-sp-bar__logo a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.l-sp-bar__logo img { width: 118px; }
/* 言語切替（SPはヘッダーに常設＝ドロワーを開かなくても切り替えられる） */
.l-sp-bar__lang { margin-left: auto; margin-right: 10px; display: flex; gap: 4px; align-items: center;
  font-family: var(--latin); font-size: 1.2rem; letter-spacing: .1em; }
.l-sp-bar__lang span[aria-current], .l-sp-bar__lang a { padding: 12px 6px; margin: -12px 0; }
.l-sp-bar__lang span[aria-current] { color: var(--accent); font-weight: 500; }
.l-sp-bar__lang a { opacity: .55; }
.l-sp-bar__lang a::before { content: "/"; margin-right: 8px; opacity: .5; }
.l-sp-bar__lang a:hover { opacity: 1; }
/* 当たり判定を44pxに。線の見た目は変えず padding で広げる（design-qa の指摘） */
.l-burger { width: 44px; height: 44px; padding: 8px 2px; display: grid; align-content: center; gap: 7px; }
.l-burger span { display: block; height: 1.5px; background: var(--logo); transition: transform .35s var(--ease), opacity .2s; }
.l-burger.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(15deg); }
.l-burger.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-15deg); }
.l-drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  padding: 88px 24px 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.l-drawer.is-open { opacity: 1; visibility: visible; }
.l-drawer__list { display: grid; gap: 22px; }
.l-drawer__list a { font-family: var(--latin); font-size: 1.9rem; letter-spacing: .16em; }
.l-drawer__list small { display: block; font-family: var(--gothic); font-size: 1.2rem; letter-spacing: .18em; opacity: .6; margin-top: 2px; }
.l-drawer__cta { margin-top: 34px; display: grid; gap: 12px; }

/* ── 共通パーツ ───────────────────────────────────────────────────────── */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 14px 26px; background: var(--accent); color: #fff;
  font-family: var(--gothic); font-size: 1.3rem; font-weight: 700; letter-spacing: .12em;
  border-radius: 3px; transition: background var(--dur) var(--ease);
}
.c-btn:hover { background: var(--accent-hover); }
.c-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.c-btn--ghost:hover { background: var(--logo); border-color: var(--logo); color: #fff; }

.c-label {
  display: block; font-family: var(--latin); font-size: 1.2rem;
  letter-spacing: .24em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase;
}
.c-h2 { font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.7; }   /* 正典: セクション見出し ≤2rem */
.c-h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.7; }
.c-lead { margin-top: 20px; }
.c-lead p + p { margin-top: 2em; }                                  /* 写経元実測 */

.c-section { padding: 84px 0; }
.c-section + .c-section { padding-top: 0; }
.c-rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* コンセプト本文（横書き。2026-08-07 指示で縦書きはやめた） */
.c-lead-block { margin: 0 auto; max-width: 100%; }
.c-lead-block p + p { margin-top: 2em; }

/* ── STORY ────────────────────────────────────────────────────────────
   装飾でなく**字の大きさと余白**で階層を作る（DESIGN_RULES:66-72）。
   pill・丸番号・吹き出しは「AIっぽさを出す逃げ」として正典が名指しで禁じている。
   本文は 700 が既定なので、読ませたい塊だけ 400 に落として差を作る。      */
.c-story__open {
  font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 400;
  line-height: 2.1; letter-spacing: .04em; margin-top: 26px;
}
.c-story__genres {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem); font-weight: 400;
  line-height: 2.2; letter-spacing: .04em; margin-top: 1.4em;
}
.c-story__genres em { font-style: normal; font-weight: 700; }
.c-story__note { margin-top: 1.6em; font-size: 1.45rem; font-weight: 400; line-height: 2.1; }
/* 締めは箱で囲わず、余白と細い罫で引く。左寄せのまま非対称に置く */
.c-story__close { margin-top: 4.2em; padding-left: 0; }
.c-story__close::before {
  content: ""; display: block; width: 46px; height: 2px;
  background: var(--accent); margin-bottom: 1.4em;
}
.c-story__close p {
  font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 400; line-height: 2; letter-spacing: .03em;
}
.c-story__close strong { font-weight: 700; }

/* ── ブースの識別アイコンと、本文に挟むイラスト ────────────────────────
   飾りではなく「どのブースの話か」を示すために置く。
   線画・単色で、写真とタイポの邪魔をしない大きさに留める。               */
.c-booth { display: flex; align-items: center; gap: 12px; }
.c-booth__mark { flex: none; width: 34px; height: 34px; display: block; }
.c-booth__icon { width: 100%; height: 100%; object-fit: contain; }
/* カードは幅が狭いので、アイコンは名前の上に積む（横に並べると店名が不自然に折り返す） */
.c-card .c-booth { display: block; }
.c-card .c-booth__mark { width: 30px; height: 30px; margin-bottom: 8px; }
.c-strip { margin: 38px 0; }
.c-strip img { width: 100%; height: auto; }

/* カード・グリッド */
.c-grid { display: grid; gap: 28px; }
.c-card__ph { position: relative; overflow: hidden; background: var(--wash); }
.c-card__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.c-card a:hover .c-card__ph img { transform: scale(1.04); }
.c-card__body { padding-top: 16px; }
.c-card__name { font-size: 1.6rem; }
.c-card__genre { font-family: var(--gothic); font-size: 1.2rem; letter-spacing: .1em; color: var(--accent); margin-top: 4px; }
.c-card__text { font-size: 1.4rem; line-height: 1.9; margin-top: 10px; }

/* 情報の定義リスト（NAP・アクセス） */
.c-dl { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.c-dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.c-dl dt { font-family: var(--gothic); font-size: 1.2rem; letter-spacing: .1em; opacity: .72; line-height: 2.1; }
.c-dl dd { font-size: 1.5rem; line-height: 2; }

/* FAQ アコーディオン（details＝JSなしで開閉できる） */
.c-faq { border-top: 1px solid var(--line-soft); }
.c-faq details { border-bottom: 1px solid var(--line-soft); }
.c-faq summary {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 0;
  cursor: pointer; font-size: 1.5rem; line-height: 1.8; list-style: none;
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq__q { font-size: inherit; font-weight: 700; line-height: inherit; margin: 0; }
.c-faq summary::before { content: "Q"; font-family: var(--latin); color: var(--accent); font-size: 1.3rem; line-height: 1.9; }
.c-faq summary::after {
  content: ""; flex: none; margin-left: auto; width: 11px; height: 11px; margin-top: .7em;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: rotate(45deg); transition: transform .35s var(--ease);
}
.c-faq details[open] summary::after { transform: rotate(-135deg); }
.c-faq__a { display: flex; gap: 14px; padding: 0 0 22px; font-size: 1.4rem; line-height: 2; }
.c-faq__a::before { content: "A"; font-family: var(--latin); color: var(--accent); font-size: 1.3rem; flex: none; }
.c-faq__cat { font-family: var(--gothic); font-size: 1.2rem; letter-spacing: .12em; color: var(--accent); margin: 44px 0 12px; }

/* KWチップ（地域×コンセプトSEOセクション用） */
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
/* 角丸は写経元に合わせて控えめに。pill は正典 :70 が名指しで禁じている */
.c-chips li {
  font-family: var(--gothic); font-size: 1.2rem; font-weight: 400; letter-spacing: .06em;
  padding: 5px 11px; border: 1px solid var(--line-soft); border-radius: 2px; line-height: 1.7;
  color: #6d675f;
}

/* お知らせ／コラムの器（Stem が中身を差し込む） */
.c-feed { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.c-feed__item { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); transition: opacity var(--dur) var(--ease); }
.c-feed__item:hover { opacity: .55; }
.c-feed__date { font-family: var(--latin); font-size: 1.2rem; letter-spacing: .1em; opacity: .6; }
.c-feed__title { font-size: 1.5rem; line-height: 1.8; }
.c-feed__empty { padding: 28px 0; font-size: 1.4rem; opacity: .6; }
[data-stem-columns], [data-stem-topics] { min-height: 180px; }      /* CLS 防止（正典 §2c） */

/* 引用・サイテーション */
.c-cite { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-family: var(--gothic); font-size: 1.2rem; }
.c-cite a { border-bottom: 1px solid var(--line-soft); padding-bottom: 2px; }
.c-cite a:hover { border-color: var(--accent); color: var(--accent); }

/* お知らせ帯（写経元の #A2C2CA ブロックに相当） */
.c-notice { background: var(--wash); border-radius: 5px; padding: 22px 20px; }

/* ── TOP: about item（写経元 .top_about_item） ─────────────────────────── */
.p-about__item + .p-about__item { margin-top: 80px; }               /* 写経元実測 */
.p-about__head { position: relative; }
.p-about__ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* 見出しは白文字。明るい写真（客席・受け取りカウンター）だと text-shadow だけでは
   読めなくなるので、下端にスクリムを敷いてコントラストを確保する。
   （DESIGN_RULES: 低コントラスト配色・文字被りは禁止） */
.p-about__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.68) 100%);
  pointer-events: none; z-index: 1;
}
.p-about__ttl {
  position: absolute; left: 4%; right: 4%; bottom: 6%; z-index: 2; color: #fff;
  font-size: clamp(1.5rem, 4.4vw, 2rem); line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.p-about__body { margin-top: 28px; }
.p-about__body p + p { margin-top: 2em; }

/* ── フッター ───────────────────────────────────────────────────────────
   .l-main の中に置く。外に出すと PC で固定の左ペインの下に潜り込み、
   文字が左端で切れる（2026-08-07 に目視で検出）。 */
.l-footer { padding: 70px 0 40px; border-top: 1px solid var(--line-soft); margin-top: 40px; }
.l-footer__ttl { text-align: center; font-family: var(--latin); font-size: 1.2rem; letter-spacing: .24em; margin-bottom: 26px; }
.l-footer__menu { display: grid; gap: 14px; }
.l-footer__tile { position: relative; display: block; overflow: hidden; }
.l-footer__tile img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform 1.1s var(--ease); }
.l-footer__tile:hover img { transform: scale(1.05); }
.l-footer__tile span {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; background: rgba(0,0,0,.3); font-family: var(--latin);
  font-size: 1.4rem; letter-spacing: .2em; transition: background var(--dur) var(--ease);
}
.l-footer__tile:hover span { background: rgba(0,0,0,.14); }
.l-footer__nap { margin-top: 46px; font-size: 1.35rem; line-height: 2.1; }
.l-footer__sns { display: flex; gap: 18px; margin-top: 20px; font-family: var(--latin); font-size: 1.2rem; letter-spacing: .14em; }
.l-footer__fn { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; font-size: 1.25rem; }
.l-footer__fn a { transition: opacity var(--dur) var(--ease); }
.l-footer__fn a:hover { opacity: .5; }
.l-footer__copy { margin-top: 26px; font-family: var(--latin); font-size: 1.2rem; letter-spacing: .1em; opacity: .5; }

/* ── フォーム ─────────────────────────────────────────────────────────── */
.c-form { display: grid; gap: 22px; }
.c-form label { display: grid; gap: 8px; font-family: var(--gothic); font-size: 1.25rem; letter-spacing: .08em; }
.c-form input, .c-form textarea, .c-form select {
  font-family: var(--gothic); font-size: 1.5rem; font-weight: 400; line-height: 1.7;
  padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 3px;
  background: #fff; color: var(--ink); width: 100%;
}
.c-form textarea { min-height: 180px; resize: vertical; }
.c-form__req { color: var(--accent); font-size: 1.1rem; }
.c-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-form__msg { padding: 16px; border-radius: 3px; font-size: 1.35rem; }
.c-form__msg[hidden] { display: none; }
.c-form__msg.is-ok { background: var(--wash); }
.c-form__msg.is-ng { background: #fdeae3; }

/* ── 下層ページのヘッダー ─────────────────────────────────────────────── */
.p-hero { padding: 40px 0 8px; }
.p-hero__en { font-family: var(--latin); font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: .06em; line-height: 1.15; color: var(--logo); }
.p-hero__ja { font-family: var(--gothic); font-size: 1.25rem; letter-spacing: .16em; margin-top: 8px; opacity: .7; }
.p-hero__lead { margin-top: 26px; }
.c-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--gothic); font-size: 1.2rem; opacity: .6; padding-top: 24px; }
.c-breadcrumb li + li::before { content: "／"; margin-right: 6px; }

/* 本文（規約・ポリシー） */
.c-prose h2 { font-size: 1.7rem; margin: 44px 0 12px; }
.c-prose h3 { font-size: 1.45rem; margin: 28px 0 8px; }
.c-prose p, .c-prose li { font-size: 1.4rem; line-height: 2.05; }
.c-prose ul { margin: 10px 0 0; display: grid; gap: 6px; }
.c-prose li { padding-left: 1.1em; position: relative; }
.c-prose li::before { content: "・"; position: absolute; left: 0; }

/* 地図 */
.c-map { border: 0; width: 100%; aspect-ratio: 4 / 3; background: var(--wash); }

/* ── スクロールリビール ────────────────────────────────────────────────
   既定は「見えている」。JS が付ける .js クラスがある時だけ隠す。
   → JS が落ちても本文が消えない（正典の鉄則）                            */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ── PC（≥768px）: 3カラムに組み替える ────────────────────────────────── */
@media screen and (min-width: 768px) {
  .l-sp-bar, .l-drawer { display: none; }

  .l-visual {
    position: fixed; top: var(--frame); left: var(--frame); z-index: 5;
    width: calc(50% - 86px); height: calc(100vh - 32px);
    border-right: 1px solid var(--line);
  }
  .l-visual__stage { height: 100%; }
  .l-visual__center { width: 74%; max-width: 380px; }

  .l-main {
    width: calc(50% - 86px);
    margin-left: calc(50% - 70px);
    margin-top: var(--frame);
  }
  /* 枠の内側でスクロールしているように見せる白帯（写経元と同じ手）
     写経元は width:100% だが、それだと 50%-70px + 100% がビューポートを越えて
     横スクロールが出る（design-qa が overflow-x:hidden の裏まで見る）。right:0 で閉じる。 */
  .l-main::before, .l-main::after {
    content: ""; position: fixed; left: calc(50% - 70px); right: 0;
    height: var(--frame); background: var(--bg); z-index: 10;
  }
  .l-main::before { top: 0; }
  .l-main::after { bottom: 0; }

  .l-nav {
    display: block; position: fixed; top: var(--frame); right: var(--frame); z-index: 12;
    width: var(--nav-w); height: calc(100vh - 30px); padding: 30px;
    border-left: 1px solid var(--line); background: var(--bg);
  }
  .l-nav__list { display: grid; gap: 30px; }                        /* 写経元実測 li+li 30px */
  .l-nav__list a { font-family: var(--latin); font-size: 1.3rem; letter-spacing: .14em; position: relative; display: inline-block; }
  .l-nav__list a::after {
    content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: right center;
    transition: transform .3s var(--ease);
  }
  .l-nav__list a:hover::after, .l-nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
  .l-nav__cta { margin-top: 38px; }
  .l-nav__cta .c-btn { width: 100%; padding: 10px 8px; font-size: 1.15rem; letter-spacing: .06em; }
  .l-nav__sns { margin-top: 22px; font-family: var(--latin); font-size: 1.1rem; letter-spacing: .12em; }
  /* 言語切替。フッターだけだと見つけられないので縦ナビにも出す */
  .l-nav__lang { margin-top: 14px; display: flex; gap: 8px; align-items: center;
    font-family: var(--latin); font-size: 1.1rem; letter-spacing: .12em; }
  .l-nav__lang span[aria-current] { color: var(--accent); font-weight: 500; }
  .l-nav__lang a { opacity: .55; transition: opacity var(--dur) var(--ease); }
  .l-nav__lang a::before { content: "/"; margin-right: 8px; opacity: .5; }
  .l-nav__lang a:hover { opacity: 1; }
  .l-nav__logo { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 62%; }

  .c-section { padding: 104px 0; }
  .c-booth__mark { width: 40px; height: 40px; }
  .c-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .l-footer__menu { grid-template-columns: repeat(3, 1fr); }
  .p-about__item + .p-about__item { margin-top: 96px; }
}

/* ── 広い画面 ─────────────────────────────────────────────────────────── */
@media screen and (min-width: 1329px) {
  .l-inner { padding: 0 8%; }
  .c-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* 写経元は本文サイズを 900px で切り替える（onca-common.css @media max-width:900px）。
   768–900px が抜けていたので補う。 */
@media screen and (max-width: 900px) {
  p { font-size: 1.3rem; line-height: 1.85; }
}

/* ── SP（<768px） ─────────────────────────────────────────────────────── */
@media screen and (max-width: 767px) {
  .l-frame { display: none; }
  p { font-size: 1.3rem; line-height: 1.85; }                       /* 写経元実測（≤900px） */
  .c-section { padding: 62px 0; }
  .c-dl > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .l-visual__stage { height: 100svh; }
}

/* ── 演出を止める指定 ─────────────────────────────────────────────────
   正典（DESIGN_RULES §5/§10）: 全演出オフ・最終状態を即表示                */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .l-loading { animation-delay: 0s !important; }   /* 失敗安全網を即時に */
  .l-visual__slide { opacity: 1; }
  .l-visual__slide:not(:first-child) { opacity: 0; }
  .l-visual__slide.is-active { opacity: 1; }
}

/* ── 印刷 ─────────────────────────────────────────────────────────────── */
@media print {
  .l-frame, .l-nav, .l-sp-bar, .l-drawer, .l-loading, .l-visual { display: none !important; }
  .l-main { width: auto; margin: 0; }
}

/* ── 記事本文の組版（色・書体・太さは指定しない＝各サイトの意匠のまま） ──
   before: 段落の間隔が無い／h2 と h3 と本文が同じ大きさ／箇条書きの中黒が消えている、という状態だった。
   見出しの実寸はこのサイト自身の見出しスケールから取っている（トンマナを揃えるため）。
   p / li は :not([class]) で絞る。絞らないと日付などのテンプレ側 p（.note 等）まで本文サイズになる。 */
.prose{max-width:40em;margin-inline:auto}
.prose{font-size:16px;line-height:2}
/* 生成本文に裸URLが1本でも入ると横スクロールが出る（実測: 320px で 320→402px） */
.prose{overflow-wrap:anywhere}
.prose p:not([class]),.prose li:not([class]){font-size:1em;line-height:inherit}
.prose p:not([class]){margin:0 0 1.6em}
.prose ul,.prose ol{margin:0 0 1.6em;padding-left:1.4em;list-style:disc}
.prose ol{list-style:decimal}
.prose ul ul{list-style:circle}
.prose ol ol{list-style:lower-alpha}
.prose li+li{margin-top:.5em}
.prose h1{font-size:1.75em;line-height:1.35;margin:0 0 .7em}
.prose h2{font-size:1.375em;line-height:1.5;margin:2.4em 0 .7em}
.prose h3{font-size:1.125em;line-height:1.7;margin:2em 0 .6em}
.prose h4{font-size:1.05em;margin:1.8em 0 .5em}
.prose img{max-width:100%;height:auto;margin:1.8em 0}
/* SPで横に溢れないための保険 */
.prose table{display:block;overflow-x:auto;max-width:100%}
.prose pre{overflow-x:auto;max-width:100%}
.prose > p:last-child,.prose > ul:last-child,.prose > ol:last-child{margin-bottom:0}
@media (max-width:699px){.prose{font-size:15.5px;line-height:1.95}}
