/* 大岡山建築設計研究所 サイト共通スタイル（トップページと作品ページで共有） */
:root {
  --ink: #000000;     /* Black K100（シンボルマークと同じ純粋な黒） */
  --paper: #ffffff;
  --stone: #f2f2f2;   /* 面に使う薄いグレー（無彩色） */
  --sub: #444444;
  --rule: #000000;
  --hair: #d9d9d9;
  --gray: #808080;    /* Gray K50（線や図に使う。文字には使わない） */
  --wrap: 1120px;
  --text: 680px;      /* 読む文章の幅（1行あたり約35字） */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 書体はVIマニュアルの「UD丸ゴ_ラージ」に近い Zen Maru Gothic（無料）。本文18px・行間200%（要件整理どおり） */
body {
  background: var(--paper); color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 500; font-size: 18px; line-height: 2; letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.nb { display: inline-block; }   /* 文節の途中で改行させない */
/* 改行の調整：最後の行に1〜2文字だけ残る「泣き別れ」を防ぐ（Chrome・Edge・Safari 26以降）。
   見出しやリード文など短い文は、文節の途中で改行しない */
/* 本文は両端揃え。最後の行に1〜2文字だけ残らないようにする */
p, li, dd, blockquote { text-align: justify; text-justify: inter-character; text-wrap: pretty; }
h1, h2, h3, h4, .catch, .btn, .name, .h-sub, .sub-title, .tabi-quote, .nl-title { word-break: auto-phrase; text-wrap: balance; text-align: start; }  /* 行の長さをそろえる見出しは、両端揃えにすると字間が開くため左揃え */
/* 聖句・引用・ひとことなど短い文も、行の長さをそろえて文節で改行する（最後の行に1文字だけ残さない） */
.verse q, .pull, .answer, .vision-close, .creed-close, .site-footer .phrase { word-break: auto-phrase; text-wrap: balance; text-align: start; }
/* 1〜2行で終わる短い文（箇条書き・写真の説明）は、文節で改行して左揃え。
   リード文・カード・手順・理念など数行にわたる説明文は、本文と同じ両端揃え（上の p の決まり）で、
   行末をそろえて文字の面を整える。最後の行の泣き別れは text-wrap: pretty で防ぐ */
.concerns li, .collab-lead, figcaption { word-break: auto-phrase; text-wrap: pretty; text-align: start; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.text { max-width: var(--text); }
.amp { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 400; }
.mincho { font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 500; }

.tbd { display: inline-block; font-size: 14px; line-height: 1.6; padding: 0 8px; border: 1px dashed #b33; color: #b33; vertical-align: middle; }

/* ---------- ヘッダー ---------- */
/* 言語の切り替え（ヘッダーの上の細い帯。スクロールすると隠れる） */
.lang-bar { border-bottom: 1px solid var(--hair); background: #fff; }
.lang-bar .wrap { display: flex; justify-content: flex-end; }
.lang { display: flex; font-size: 15px; line-height: 1; }
.lang button { display: flex; align-items: center; min-height: 38px; padding: 0 14px; background: none; border: 0; font: inherit; color: var(--sub); cursor: pointer; }
.lang button + button { border-left: 1px solid var(--hair); }
.lang-bar .lang button:last-child { padding-right: 0; }
.lang button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.lang-foot { font-size: 14px; }
.lang-foot button:first-child { padding-left: 0; }
/* 自動翻訳中に Google が出す帯や吹き出しを隠す */
body { top: 0 !important; }
body > .skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--hair); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.site-header .brand img { width: 300px; }
.gnav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.gnav a, .gnav .tr { text-decoration: none; white-space: nowrap; }  /* 日本語でも英訳・韓国語訳でも、項目の途中で改行しない */
.gnav a:hover { text-decoration: underline; }
.gnav .tel { font-size: 17px; letter-spacing: 0.06em; padding-left: 24px; border-left: 1px solid var(--hair); }
.menu-btn { display: none; }

/* ---------- 1. ファーストビュー ----------
   礼拝堂の写真が7秒ごとに静かに重なり合って切り替わる。写真はゆっくり引いていき（光の中に入っていく感覚）、
   最初は白い光の中から写真が現れる。文字は1行ずつ浮かび上がる。派手な動きはしない */
.hero { position: relative; padding: 0; height: calc(100svh - 115px); min-height: 560px; max-height: 980px; overflow: hidden; background: #1c1a17; color: #fff; }
.hero-slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 2.2s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.08); transition: transform 9s cubic-bezier(.2,.6,.3,1); }
.slide.is-active img { transform: scale(1); }
/* 文字を読みやすくするための影（下に向かって暗く） */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.08) 42%, rgba(0,0,0,.72) 100%), linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 55%); }
/* 最初に、白い光が引いて写真が現れる */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #fff; opacity: 0; animation: heroLight 2.4s ease .2s backwards; }
@keyframes heroLight { from { opacity: 1; } to { opacity: 0; } }

.hero-copy { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 4; }
.hero-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; font-size: 16px; letter-spacing: 0.24em; text-shadow: 0 1px 10px rgba(0,0,0,.6), 0 0 2px rgba(0,0,0,.4); }
.hero-label .since { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 13px; letter-spacing: 0.32em; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.7); }
.hero-copy h1 { margin-top: 18px; font-size: 52px; line-height: 1.55; letter-spacing: 0.16em; font-weight: 500; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hero-copy h1 .line { display: block; }
.hero-lead { margin-top: 18px; font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
/* 文字の現れ方：光が引いたあと、ラベル → 1行目 → 2行目 → 説明文 の順に */
.hero-label, .hero-copy h1 .line, .hero-lead { animation: heroRise 1.6s ease backwards; }
.hero-label { animation-delay: 1.2s; }
.hero-copy h1 .line:nth-child(1) { animation-delay: 1.7s; }
.hero-copy h1 .line:nth-child(2) { animation-delay: 2.3s; }
.hero-lead { animation-delay: 3s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* 下の帯：作品名（その作品のページへ）と切り替えボタン */
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px 26px; max-width: var(--wrap); margin: 0 auto; animation: heroFade 1.2s ease 3.4s backwards; }
@keyframes heroFade { from { opacity: 0; } }
.hero-cap { color: rgba(255,255,255,.92); font-size: 15px; text-decoration: none; letter-spacing: 0.06em; }
.hero-cap:hover { text-decoration: underline; }
.hero-cap.is-in { animation: capIn 1.4s ease; }
@keyframes capIn { from { opacity: 0; } to { opacity: 1; } }
.hero-ctrl { display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { position: relative; width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dots button::before, .hero-dots button::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 100%; background: rgba(255,255,255,.4); }
.hero-dots button::after { width: 0; background: #fff; }
.hero-dots button[aria-current]::after { width: 100%; }
.hero-dots.run button[aria-current]::after { width: 0; animation: dotRun 7s linear forwards; }
@keyframes dotRun { to { width: 100%; } }
.hero-pause { font: inherit; font-size: 14px; letter-spacing: 0.12em; color: #fff; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.75); padding: 4px 14px; cursor: pointer; }
.hero-pause:hover { background: #fff; color: var(--ink); }
.hero-dots button:focus-visible, .hero-pause:focus-visible, .hero-cap:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 下へ進む合図：細い線の上を光が降りていく */
.hero-scroll { position: absolute; right: 28px; bottom: 96px; z-index: 4; padding: 8px; color: #fff; text-decoration: none; opacity: .9; animation: heroFade 1.2s ease 3.6s backwards; }
.hero-scroll .cue-draw { --cue-h: 64px; }

/* 停止中は写真も止める */
.hero.is-paused .slide img { transition: none; }
/* 動きを減らす設定の方：写真は切り替えず、文字もすぐに表示 */
@media (prefers-reduced-motion: reduce) {
  .hero::before { display: none; }
  .slide, .slide img, .hero-label, .hero-copy h1 .line, .hero-lead, .hero-foot, .hero-scroll { transition: none !important; animation: none !important; transform: none !important; filter: none !important; opacity: 1; }
  .slide:not(.is-active) { opacity: 0; }
}

/* ---------- 共通：セクション ---------- */
section { padding: 112px 0; }
section + section { border-top: 1px solid var(--hair); }
.label { display: block; font-size: 14px; letter-spacing: 0.3em; margin-bottom: 20px; }
h2 { font-size: 30px; line-height: 1.6; letter-spacing: 0.12em; font-weight: 700; }
.lead { margin-top: 28px; }
/* 本と同じく、各セクションの冒頭に聖句を置く */
.verse { margin-bottom: 48px; padding-left: 20px; border-left: 2px solid var(--ink); }
.verse q { quotes: none; display: block; font-size: 19px; line-height: 1.9; }
.verse cite { display: block; margin-top: 6px; font-style: normal; font-size: 15px; color: var(--sub); }
.verse cite .bible-ver { font-size: 13px; letter-spacing: 0.02em; }
.tr { white-space: normal; }

/* ---------- 2. 呼びかけ ---------- */
.concerns { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.concerns li { display: flex; gap: 14px; align-items: baseline; font-size: 19px; }
.concerns li::before { content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--ink); transform: translateY(2px); }
.answer { margin-top: 44px; font-size: 22px; line-height: 1.9; font-weight: 700; letter-spacing: 0.08em; }

/* ---------- 3. 代表作 ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin-top: 56px; }
.work a { text-decoration: none; display: block; }
.work figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work a:hover img { transform: scale(1.03); }
.work .catch { margin-top: 18px; font-size: 18px; line-height: 1.7; }
.work .name { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.6; }
.work .meta { font-size: 16px; color: var(--sub); line-height: 1.7; }
.more { margin-top: 64px; text-align: center; }
/* ボタン：文字を上下左右の中央に。矢印は細い線で描き、文字の高さの中心にそろえる */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-width: 300px; min-height: 64px; padding: 0 40px;
  border: 1.5px solid var(--ink); text-decoration: none; text-align: center;
  font-size: 18px; line-height: 1; letter-spacing: 0.12em; white-space: nowrap;
}
.btn::after {
  content: ""; flex: none; width: 28px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.btn:hover::after { transform: translateX(4px); }
.btn:hover { background: var(--ink); color: #fff; }

/* ---------- 4. 模型で光を確かめる ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.process figcaption { margin-top: 12px; font-size: 15px; color: var(--sub); line-height: 1.7; }
.pull { margin-top: 48px; font-size: 22px; line-height: 1.9; letter-spacing: 0.08em; }
.pull small { display: block; margin-top: 8px; font-size: 15px; color: var(--sub); letter-spacing: 0.04em; }

/* ---------- 5. 献堂までの歩み ---------- */
.steps { list-style: none; counter-reset: step; margin-top: 56px; border-top: 1px solid var(--rule); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 88px 1fr; gap: 0 24px; padding: 32px 0; border-bottom: 1px solid var(--hair); }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 36px; line-height: 1.2; letter-spacing: 0.04em; }
.steps h3 { font-size: 21px; line-height: 1.6; letter-spacing: 0.08em; }
.steps p { margin-top: 8px; }

/* ---------- 6. ご予算が限られていても ---------- */
.budget { background: var(--stone); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: #fff; padding: 32px 28px; }
.card h3 { font-size: 20px; line-height: 1.6; letter-spacing: 0.06em; }
.card p { margin-top: 12px; font-size: 17px; }

/* ---------- 7. 理念 ---------- */
.vision { background: var(--ink); color: #fff; padding: 136px 0; }
.vision .verse { border-color: #fff; }
.vision .verse cite { color: rgba(255,255,255,.75); }
.vision h2 { font-size: 38px; letter-spacing: 0.16em; }
.vision .lead { color: rgba(255,255,255,.92); }
.values { list-style: none; margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid rgba(255,255,255,.4); padding-top: 40px; }
.values .num { font-size: 15px; letter-spacing: 0.2em; opacity: .75; }
.values h3 { margin-top: 8px; font-size: 21px; line-height: 1.6; letter-spacing: 0.1em; }
.values p { margin-top: 12px; font-size: 17px; color: rgba(255,255,255,.88); }
.verse-note { display: block; font-size: 14px; letter-spacing: 0.2em; margin-bottom: 6px; opacity: .75; }
.vision-close { margin-top: 56px; font-size: 22px; line-height: 1.9; letter-spacing: 0.1em; }
.vision .btn { border-color: #fff; margin-top: 56px; }
.vision .btn:hover { background: #fff; color: var(--ink); }

/* ---------- 8. 設計者 ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; }
/* 二人の写真を同じ縦長の比率にそろえる（田淵の写真は横長なので人物の位置で切り抜く） */
.person .ph { max-width: 360px; }
.person .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.person .ph figcaption { margin-top: 8px; font-size: 13px; letter-spacing: 0.12em; color: var(--sub); text-align: right; }
.person .role { margin-top: 20px; font-size: 16px; color: var(--sub); }
.person h3 { font-size: 26px; letter-spacing: 0.2em; line-height: 1.5; }
.person .ruby { font-size: 14px; letter-spacing: 0.2em; color: var(--sub); }
.person blockquote { margin-top: 20px; padding-left: 18px; border-left: 2px solid var(--ink); font-size: 18px; }
.person p { margin-top: 16px; font-size: 16px; line-height: 1.9; color: var(--sub); }

/* ---------- 9. 教会からの言葉 ---------- */
.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.voice { border: 1px solid var(--hair); padding: 36px 32px; }
.voice p { font-size: 18px; }
.voice .who { margin-top: 16px; font-size: 16px; color: var(--sub); }

/* ---------- 10. 実績と書籍 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat { padding: 32px 24px; }
.stat + .stat { border-left: 1px solid var(--hair); }
.stat .n { font-size: 56px; line-height: 1.1; letter-spacing: 0.02em; }
.stat .n small { font-size: 20px; margin-left: 4px; }
.stat .t { margin-top: 10px; font-size: 16px; color: var(--sub); line-height: 1.7; }
.awards { margin-top: 28px; font-size: 16px; color: var(--sub); line-height: 1.9; }
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.book { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.book .t { font-size: 20px; font-weight: 700; line-height: 1.6; }
.book .a { margin-top: 4px; font-size: 16px; color: var(--sub); }
.book p { margin-top: 12px; font-size: 16px; line-height: 1.9; }

/* ---------- 11. お問い合わせ ---------- */
.contact { background: var(--stone); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.office { background: #fff; padding: 32px 28px; }
/* 名刺と同じ組み方：「□本　社　〒162-0056」／住所／TEL を、□の左端にそろえて3行で */
.office { font-size: 20px; line-height: 1.9; letter-spacing: 0.04em; }
.office h3 { display: flex; align-items: center; flex-wrap: wrap; font-size: inherit; font-weight: 500; letter-spacing: inherit; }
.office h3::before { content: ""; width: 0.8em; height: 0.8em; border: 1.5px solid var(--ink); margin-right: 0.3em; }
.office h3 .zip { margin-left: 1.2em; }
.office .tel a { text-decoration: none; }
.mail { margin-top: 24px; background: #fff; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.mail a { font-size: 24px; letter-spacing: 0.04em; }

/* ---------- フッター ---------- */
/* 礼拝堂の光の写真を細い帯にして白へ溶け込ませ、その下に中央揃えで情報を置く */
/* フッター（D案）：礼拝堂の光の写真で締め、下は白地に3列で情報を整理 */
.site-footer { margin-top: 48px; font-size: 16px; color: var(--sub); line-height: 1.9; }
.site-footer p, .site-footer li { text-align: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-photo { position: relative; height: 440px; overflow: hidden; background: #1c1a17; display: flex; align-items: center; justify-content: center; }
.footer-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.footer-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.35); }
.site-footer .footer-photo .phrase { position: relative; z-index: 2; color: #fff; font-size: 30px; line-height: 1.9; letter-spacing: 0.24em; text-align: center; text-shadow: 0 1px 16px rgba(0,0,0,.4); }
/* 写真の下：小さなマークから、スクロールの印と同じ細い線を一本下ろして社名へ（署名のように） */
.footer-sign { display: flex; flex-direction: column; align-items: center; padding: 96px 20px 0; }
.footer-sign img { width: 40px; height: 40px; }
.footer-sign .thread { width: 1px; height: 56px; margin: 28px 0; background: var(--ink); opacity: .6; }
.site-footer .footer-sign .ja-name { font-size: 17px; letter-spacing: 0.3em; padding-left: 0.3em; color: var(--ink); text-align: center; }
.site-footer .footer-sign .en-name { margin-top: 8px; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 10px; letter-spacing: 0.32em; padding-left: 0.32em; color: var(--sub); text-align: center; }
.footer-body { padding: 72px 0 48px; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; align-items: start; }
.site-footer .biz { font-size: 15px; }
.site-footer .ft-label { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; letter-spacing: 0.3em; color: var(--ink); margin-bottom: 12px; }
.site-footer nav ul { list-style: none; }
.site-footer nav li { padding: 2px 0; color: var(--ink); }
.ft-contact { color: var(--ink); }
.ft-contact .k { display: inline-block; width: 6em; color: var(--sub); }
.ft-contact a { white-space: nowrap; }
@media (max-width: 960px) and (min-width: 641px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 32px; margin-top: 80px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 14px; }
.footer-bottom .left { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.footer-bottom .left > a { color: var(--sub); }
.site-footer .credit { font-size: 13px; letter-spacing: 0.08em; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 960px) {
  .gnav { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
    flex: none; white-space: nowrap;
    background: none; border: 1.5px solid var(--ink); font: inherit; font-size: 16px; color: var(--ink); cursor: pointer;
  }
  .menu-open .gnav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--hair); padding: 8px 20px 20px;
  }
  .menu-open .gnav a { padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 18px; }
  .menu-open .gnav .tel { border-left: 0; padding-left: 0; font-size: 22px; }
  .works, .cards, .values, .books { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 64px; }
  .site-header .brand img { width: 200px; }
  .menu-open .gnav { top: 64px; }
  section { padding: 80px 0; }
  .vision { padding: 96px 0; }
  h2 { font-size: 25px; }
  .vision h2 { font-size: 24px; letter-spacing: 0.08em; }
  .works, .cards, .values, .books, .process, .people, .voices, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--hair); }
  .steps li { grid-template-columns: 56px 1fr; gap: 0 12px; }
  .steps li::before { font-size: 26px; }
  .footer-photo { height: 300px; }
  .site-footer .footer-photo .phrase { font-size: 22px; letter-spacing: 0.18em; }
  .footer-sign { padding-top: 64px; }
  .footer-body { padding-top: 56px; }
  .site-footer .footer-sign .ja-name { font-size: 15px; letter-spacing: 0.2em; padding-left: 0.2em; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .work img { transition: none; } }

/* ==========================================================
   作品詳細ページ（works/*.html）
   ========================================================== */
.crumbs { padding: 20px 0 0; font-size: 15px; color: var(--sub); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 8px; }

.work-head { padding: 48px 0 40px; }
.work-head .catch { font-size: 22px; line-height: 1.7; letter-spacing: 0.08em; }
.work-head h1 { margin-top: 10px; font-size: 40px; line-height: 1.4; letter-spacing: 0.14em; font-weight: 700; }
.work-head .sub { display: block; font-size: 18px; font-weight: 500; letter-spacing: 0.06em; }
.work-head .meta { margin-top: 10px; font-size: 17px; color: var(--sub); }

.photo { margin: 0; }
.photo img { width: 100%; height: auto; background: var(--stone); }
.photo figcaption { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--sub); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.photo figcaption .by { letter-spacing: 0.06em; white-space: nowrap; }
.work-main img { max-height: 86svh; object-fit: cover; }

.work-body section { padding: 96px 0; }
.work-body section + section { border-top: 1px solid var(--hair); }
.work-body p + p { margin-top: 1.2em; }
.episode h2, .intent h2 { margin-bottom: 28px; }
.episode .ep-title { font-size: 24px; line-height: 1.7; letter-spacing: 0.1em; margin-bottom: 24px; }
.source { margin-top: 28px; font-size: 15px; color: var(--sub); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; margin-top: 48px; align-items: start; }
.gallery .wide { grid-column: 1 / -1; }

/* 計画概要と設計クレジット。クレジットは役割名が長いので広めに。項目名と内容が重ならないよう、項目名の幅は中身に合わせ、間をあける */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; }
.facts h2 { font-size: 22px; margin-bottom: 20px; }
.facts dl { display: grid; grid-template-columns: minmax(8.5em, max-content) minmax(0, 1fr); column-gap: 28px; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.8; }
.facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--hair); overflow-wrap: anywhere; }
.facts dt { color: var(--sub); }
/* 数字の幅をそろえる（書体に等幅数字がないため、1字ずつ同じ幅の枠に入れる。tools/glossary.py の even_digits） */
.dgs { white-space: nowrap; }
.dg { display: inline-block; width: 0.6em; text-align: center; }
/* リンクの中の数字も、下線が途切れないように（枠に入れた数字には親の下線が引かれないため） */
a .dg { text-decoration: inherit; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 48px 0 96px; border-top: 1px solid var(--hair); }
.pager a { text-decoration: none; }
.pager .prev, .pager .next { display: block; }
.pager .prev, .pager .next { font-size: 17px; line-height: 1.6; }
.pager .next { text-align: right; }
.pager small { display: block; font-size: 14px; letter-spacing: 0.2em; color: var(--sub); }
.pager .prev:hover, .pager .next:hover { text-decoration: underline; }

.cta { background: var(--stone); padding: 72px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta p { font-size: 20px; line-height: 1.8; letter-spacing: 0.06em; }

@media (max-width: 640px) {
  .work-head { padding: 36px 0 28px; }
  .work-head .catch { font-size: 19px; }
  .work-head h1 { font-size: 27px; letter-spacing: 0.06em; }
  .work-body section { padding: 72px 0; }
  .gallery, .facts { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: minmax(6em, 9em) minmax(0, 1fr); column-gap: 16px; font-size: 16px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager .all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ==========================================================
   一覧・読みものなどのページ共通の見出し
   ========================================================== */
.page-head { padding: 48px 0 24px; }
.page-head h1 { font-size: 40px; line-height: 1.4; letter-spacing: 0.16em; font-weight: 700; }
.sec-title { font-size: 24px; letter-spacing: 0.12em; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.works-all .works { margin-top: 40px; }
.work .name .sub { display: block; font-size: 15px; font-weight: 500; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.year-list { list-style: none; }
.year-list li { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 17px; line-height: 1.7; }
.year-list .y { color: var(--sub); }
.year-list .note { display: block; font-size: 15px; color: var(--sub); }
@media (max-width: 640px) {
  .page-head h1 { font-size: 30px; }
  .lists { grid-template-columns: 1fr; }
}

/* ==========================================================
   読みもの（教会建築についての考え など）
   ========================================================== */
/* 「教会建築についての考え」冒頭の、事務所の理念 */
.creed { margin-top: 56px; padding-bottom: 72px; border-bottom: 1px solid var(--rule); }
.creed-label { font-size: 15px; letter-spacing: 0.2em; color: var(--sub); margin-bottom: 28px; }
.creed .verse { margin-bottom: 56px; }
.creed h2 { font-size: 32px; line-height: 1.6; letter-spacing: 0.16em; margin-bottom: 24px; }
.creed-list { list-style: none; margin-top: 48px; border-top: 1px solid var(--hair); }
.creed-list li { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; padding: 28px 0; border-bottom: 1px solid var(--hair); }
.creed-list .num { font-size: 15px; letter-spacing: 0.2em; color: var(--sub); padding-top: 4px; }
.creed-list h3 { font-size: 21px; line-height: 1.6; letter-spacing: 0.08em; }
.creed-list p { margin-top: 8px; }
.creed-close { margin-top: 48px; font-size: 21px; line-height: 1.9; letter-spacing: 0.1em; }
.essay-intro { margin-top: 64px; }
@media (max-width: 640px) {
  .creed h2 { font-size: 25px; }
  .creed-list li { grid-template-columns: 1fr; }
  .creed-list .num { padding-top: 0; }
  .creed-close { font-size: 19px; }
}
.toc { list-style: none; margin-top: 36px; border-top: 1px solid var(--rule); }
.toc a { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-size: 19px; }
.toc a:hover { text-decoration: underline; }
.toc .n { color: var(--sub); letter-spacing: 0.1em; }
.essay-hero { margin: 24px 0 0; }
.essay-hero img { max-height: 70svh; object-fit: cover; }
.essay { padding: 40px 0 96px; }
.essay .chapter { padding-top: 88px; }
.essay .ch-num { font-size: 15px; letter-spacing: 0.3em; color: var(--sub); }
.essay h2 { font-size: 32px; line-height: 1.6; letter-spacing: 0.12em; margin: 8px 0 40px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.essay h3 { font-size: 22px; line-height: 1.6; letter-spacing: 0.1em; margin: 64px 0 20px; }
.essay .verse { margin: 0 0 28px; }
.essay p + p { margin-top: 1.2em; }
.essay .plain { list-style: none; margin: 1.2em 0; padding-left: 2em; }
.essay .note { margin-top: 24px; font-size: 15px; color: var(--sub); }
.essay .source { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--sub); }
@media (max-width: 640px) {
  .essay h2 { font-size: 25px; }
  .essay h3 { font-size: 20px; margin-top: 48px; }
}

/* ==========================================================
   連載（serial/index.html）とトップページの連載欄
   ========================================================== */
.serial { padding-top: 48px; }
.serial-head { padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.serial-head h2 { font-size: 28px; line-height: 1.6; letter-spacing: 0.1em; }
.serial-head h2 span { display: block; font-size: 18px; letter-spacing: 0.12em; color: var(--sub); }
.serial-head .meta { margin-top: 8px; font-size: 16px; color: var(--sub); }
.issues { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 48px; }
.issue figure { background: var(--stone); }
.issue img { width: 100%; height: auto; }
.issue .no { margin-top: 14px; font-size: 15px; letter-spacing: 0.1em; color: var(--sub); }
.issue .no span { margin-left: 12px; }
.issue h3 { margin-top: 4px; font-size: 19px; line-height: 1.7; letter-spacing: 0.06em; }
.serial-teaser { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--hair); }
.serial-teaser h3 { font-size: 24px; line-height: 1.6; letter-spacing: 0.1em; }
.serial-teaser h3 span { display: block; font-size: 16px; color: var(--sub); }
.serial-teaser p { margin-top: 12px; font-size: 17px; }
.serial-teaser .btn { margin-top: 28px; }
@media (max-width: 960px) { .issues { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .issues, .serial-teaser { grid-template-columns: 1fr; }
  .serial-head h2 { font-size: 23px; }
}

/* 著書・連載ページ */
.pubs { padding-top: 48px; }
.pub-author { margin-top: 48px; font-size: 20px; letter-spacing: 0.2em; }
.pub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: 20px; }
/* 書影：本の形のまま、下端をそろえて置き、外形を細い線で囲む（白い表紙でも背景と分かれるように） */
.pub figure { position: relative; aspect-ratio: 3 / 4; }
.pub figure img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: auto; height: auto; max-width: 100%; max-height: 100%; border: 1px solid var(--hair); }
.pub figure.no-cover { background: var(--stone); place-items: center; }
.pub .no-cover span { padding: 24px; font-size: 18px; line-height: 1.7; text-align: center; color: var(--sub); }
.pub h4 { margin-top: 14px; font-size: 18px; line-height: 1.6; }
.pub .meta { margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.pub p:not(.meta) { margin-top: 8px; font-size: 15px; line-height: 1.8; }
.series + .series { margin-top: 80px; }
.serial .sec-title { margin-bottom: 40px; }
.serial-head h3 { font-size: 26px; line-height: 1.6; letter-spacing: 0.1em; }
.serial-head h3 span { display: block; font-size: 17px; letter-spacing: 0.12em; color: var(--sub); }
.issue h4 { margin-top: 4px; font-size: 19px; line-height: 1.7; letter-spacing: 0.06em; }
.issue-list { margin-top: 24px; }
.issue-list li { grid-template-columns: 5em 1fr; }
@media (max-width: 960px) { .pub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pub-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .serial-head h3 { font-size: 22px; } }

.books-more { margin-top: 40px; font-size: 17px; color: var(--sub); }
.books-more + .more { margin-top: 28px; text-align: left; }

.person blockquote .q-src { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--sub); font-family: "Zen Maru Gothic", sans-serif; }

.media-list { margin-top: 8px; }
.media-list li { grid-template-columns: 7em 1fr; }
.media-list a { text-decoration: underline; }
@media (max-width: 640px) { .media-list li { grid-template-columns: 1fr; gap: 0; } }

.pub h4 a { text-decoration: none; }
.pub h4 a:hover { text-decoration: underline; }

/* 書籍のご注文 */
.pub .price { font-size: 15px; color: var(--ink); }
.order { margin-top: 40px; padding: 32px 28px; background: var(--stone); }
.order h4 { font-size: 20px; letter-spacing: 0.1em; }
.order p { margin: 10px 0 24px; font-size: 17px; }
.order .order-mail { margin: 20px 0 0; overflow-wrap: anywhere; }
.btn.is-disabled { border-color: var(--hair); color: var(--sub); cursor: default; }
.btn.is-disabled::after { display: none; }
.btn.is-disabled:hover { background: none; color: var(--sub); }
.books-more + .more { display: flex; flex-wrap: wrap; gap: 16px; }

/* お知らせ（ご挨拶） */
.news-date { font-size: 16px; color: var(--sub); letter-spacing: 0.08em; }
.page-head .news-title { font-size: 30px; line-height: 1.6; letter-spacing: 0.1em; }
.greeting .chapter { padding-top: 56px; }
.greeting .ch-num { display: none; }
.greeting h2 { font-size: 24px; }
.essay .sign { text-align: right; margin-top: 0; }
.essay p + .sign:not(.sign + .sign) { margin-top: 2em; }
.offices-card { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--rule); display: grid; gap: 24px; font-size: 18px; line-height: 1.9; }
.office-line .h { display: flex; align-items: center; flex-wrap: wrap; }
.office-line .h::before { content: ""; width: 0.8em; height: 0.8em; border: 1.5px solid var(--ink); margin-right: 0.3em; }
.office-line .zip { margin-left: 1.2em; }
.office-line a { text-decoration: none; }
/* トップページのお知らせ（理念とは分けて小さく） */
.news-strip { border-bottom: 1px solid var(--hair); }
.news-strip .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding-top: 20px; padding-bottom: 20px; }
.news-strip .tag { font-size: 14px; letter-spacing: 0.3em; }
.news-strip time { font-size: 16px; color: var(--sub); }
.news-strip a { font-size: 17px; }
@media (max-width: 640px) { .page-head .news-title { font-size: 23px; } }
.office-line .note { font-size: 15px; color: var(--sub); }
.essay .sign + .sign { margin-top: 0; }

/* 設計協力グループ */
.collab { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--hair); }
.collab h3 { font-size: 22px; letter-spacing: 0.12em; }
.collab-lead { margin-top: 8px; font-size: 17px; color: var(--sub); }
.collab dl { display: grid; grid-template-columns: repeat(2, 8em 1fr); margin-top: 24px; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.8; }
.collab dt, .collab dd { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.collab dt { color: var(--sub); }
@media (max-width: 760px) { .collab dl { grid-template-columns: 8em 1fr; } }
/* お知らせの一覧（トップの帯・一覧ページ共通）：日付｜分類｜題名 */
.news-list { list-style: none; }
.news-list li { display: grid; grid-template-columns: 11em 1fr; gap: 4px 20px; align-items: baseline; padding: 14px 0; }
.news-list li + li { border-top: 1px solid var(--hair); }
.nl-meta { display: flex; align-items: baseline; gap: 14px; }
.nl-meta time { font-size: 16px; color: var(--sub); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.nl-cat { font-size: 14px; line-height: 1.6; padding: 1px 8px; border: 1px solid var(--ink); white-space: nowrap; }
.nl-title { font-size: 18px; }
.news-strip .wrap { display: block; padding-top: 28px; padding-bottom: 28px; }
.news-strip .tag { display: block; margin-bottom: 4px; }
.news-strip .nl-title, .news-strip .nl-title a { font-size: 17px; }
.news-more { margin-top: 8px; text-align: center; font-size: 16px; }
.news-more a::after { content: " →"; }
.news-index { padding-top: 8px; }
.nl-year { font-size: 20px; letter-spacing: 0.1em; padding: 40px 0 8px; border-bottom: 1px solid var(--rule); }
.nl-year:first-child { padding-top: 0; }
@media (max-width: 640px) {
  .news-list li { grid-template-columns: 1fr; }
}
/* 設計協力グループ：各社サイトへのリンク（別タブで開く） */
.collab dd a::after, .issue-list .n a::after { content: ""; display: inline-block; width: 0.75em; height: 0.75em; margin-left: 0.4em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M3 9 9.5 2.5M4.5 2.5h5v5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M3 9 9.5 2.5M4.5 2.5h5v5'/%3E%3C/svg%3E") center/contain no-repeat; }
/* 教会からの言葉：加藤常昭氏の推薦文は全幅で大きく */
.voice-lead { grid-column: 1 / -1; margin: 0; padding: 48px 56px; border-color: var(--rule); }
.voice-lead blockquote p { font-size: 19px; line-height: 2.1; }
.voice-lead blockquote p + p { margin-top: 1em; }
.voice-lead .who { margin-top: 28px; text-align: right; line-height: 1.8; }
.voice-lead .q-src { font-style: normal; font-size: 15px; }
@media (max-width: 640px) { .voice-lead { padding: 32px 22px; } .voice-lead blockquote p { font-size: 18px; } }
/* 旅とスケッチ：スケッチは切り取らず、紙の白地ごと見せる */
.h-sub { display: block; margin-top: 6px; font-size: 18px; font-weight: 500; letter-spacing: 0.14em; color: var(--sub); }
.tabi-quote { margin-top: 32px; font-size: 22px; line-height: 1.9; letter-spacing: 0.08em; }
.sketches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 56px; }
.sketch a { text-decoration: none; display: block; }
.sketch figure { aspect-ratio: 3 / 2; background: #fff; border: 1px solid var(--hair); padding: 10px; }
.sketch img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s ease; }
.sketch a:hover img { opacity: .8; }
.sk-num { margin-top: 16px; font-size: 14px; letter-spacing: 0.2em; color: var(--sub); }
.sketch .name { margin-top: 2px; font-size: 19px; font-weight: 700; line-height: 1.6; }
.sketch .meta { font-size: 16px; color: var(--sub); line-height: 1.7; }
.page-head .sub-title { margin-top: 8px; font-size: 20px; letter-spacing: 0.14em; }
.tabi-intro { padding: 32px 0 72px; }
.tabi-intro p + p, .tabi-essay p + p { margin-top: 1.2em; }
.tabi-intro .source, .tabi-essay .source { margin-top: 2.4em; font-size: 15px; color: var(--sub); line-height: 1.8; }
.tabi-list { padding: 72px 0 96px; }
.work-head .sk-num { margin-top: 0; }
.sketch-main { margin: 0; background: #fff; border: 1px solid var(--hair); padding: 24px; }
.sketch-main img { display: block; width: 100%; height: auto; max-height: 80svh; object-fit: contain; }
.sketch-main figcaption { margin-top: 12px; font-size: 15px; color: var(--sub); text-align: right; }
@media (max-width: 900px) { .sketches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .sketches { grid-template-columns: 1fr; gap: 40px; }
  .sketch-main { padding: 10px; }
  .tabi-quote { font-size: 20px; }
}
.tabi-intro .essay { padding: 0; }
/* 連載：文字だけの一覧。題から Fujisan の販売ページへ */
.serial-note { margin-top: 20px; font-size: 16px; color: var(--sub); }
.serial .series:first-of-type { margin-top: 40px; }
.issue-list .n a { text-underline-offset: 5px; }
.serial-teaser { grid-template-columns: 1fr; text-align: left; }
.serial-teaser .btn { display: flex; width: fit-content; margin: 32px auto 0; }
.pub .price .tax { display: block; font-size: 14px; color: var(--sub); }
/* 文節で改行すると長い社名が縮まらず横にはみ出すため、列が縮めるようにする */
.collab dl { grid-template-columns: repeat(2, 8em minmax(0, 1fr)); }
.collab dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .collab dl { grid-template-columns: 8em minmax(0, 1fr); } }
@media (max-width: 400px) { .collab dl { grid-template-columns: 6.5em minmax(0, 1fr); } }
/* 「光の礼拝堂」のリード：PCでは1文ずつ改行する（文の途中の「よう／に」で切れないように） */
.lead-works { max-width: 740px; }
@media (max-width: 800px) { br.pc { display: none; } }
/* 設計協力グループ：分野名（ランドスケープなど）と社名のあいだを広めに */
.collab dl { grid-template-columns: repeat(2, 9.5em minmax(0, 1fr)); column-gap: 0; }
.collab dt { padding-right: 1.2em; white-space: nowrap; }
@media (max-width: 760px) { .collab dl { grid-template-columns: 9.5em minmax(0, 1fr); } }
@media (max-width: 400px) { .collab dl { grid-template-columns: 8.6em minmax(0, 1fr); } .collab dt { padding-right: 0.8em; } }
/* 改行させないまとまり（.nb）がリンクの中にあっても下線を引く */
a .nb { text-decoration: inherit; text-underline-offset: inherit; text-decoration-thickness: inherit; }
/* お知らせ（募集など）：見出しと箇条書き */
.notice h3 { margin-top: 56px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.notice .plain { padding-left: 0; }
.notice .plain li { position: relative; padding-left: 1.2em; }
.notice .plain li::before { content: "・"; position: absolute; left: 0; }
.notice p + p { margin-top: 1.2em; }
/* ファーストビュー（スマホ） */
@media (max-width: 640px) {
  .hero { height: calc(100svh - 103px); min-height: 540px; }
  .hero-copy { bottom: 120px; }
  .hero-label { font-size: 14px; letter-spacing: 0.16em; }
  .hero-label .since { font-size: 12px; padding-left: 0; border-left: 0; flex-basis: 100%; }
  .hero-copy h1 { font-size: 34px; letter-spacing: 0.12em; }
  .hero-lead { font-size: 16px; }
  .hero-foot { flex-direction: column-reverse; align-items: flex-start; gap: 10px; padding-bottom: 20px; }
  .hero-cap { font-size: 14px; }
  .hero-scroll { display: none; }
}
/* スクロールに合わせて浮かび上がる（reveal：全ページ共通。動きを減らす設定の方には適用しない） */
/* 隠すときは一瞬で、現れるときだけゆっくり（最初に一度見えてから消える、というちらつきを防ぐ） */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; transition: opacity 1s ease var(--reveal-delay, 0s), transform 1.2s cubic-bezier(.2,.6,.3,1) var(--reveal-delay, 0s); }
/* 写真は、光が差すように少し明るい状態から落ち着く */
.js-reveal figure.reveal.is-in img, .js-reveal .reveal.is-in figure img { transition: filter 1.6s ease var(--reveal-delay, 0s); }
.js-reveal figure.reveal:not(.is-in) img, .js-reveal .reveal:not(.is-in) figure img { filter: brightness(1.25) saturate(.85); }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; transition: none; } }
@media print { .js-reveal .reveal { opacity: 1 !important; transform: none !important; } }

/* ==========================================================
   スクロールの印（冒頭と、LP の各セクションの終わり）
   SCROLL の小さな文字の下に、細い線がペンで引くように上から現れ、
   下へ抜けて消える。線は1pxの均一な線（ぼかし・グラデーションなし）
   印は <span class="cue"><small>SCROLL</small><span class="cue-draw"></span></span>
   ========================================================== */
.cue { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cue small { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 10px; line-height: 1; letter-spacing: 0.42em; padding-left: 0.42em; }
.cue-draw { position: relative; display: block; width: 1px; height: var(--cue-h, 56px); overflow: hidden; }
.cue-draw::before { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: top; animation: cueDraw 2.8s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes cueDraw {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }      /* 上から引かれる */
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }   /* 下へ抜けて消える */
}

/* LP：各セクションの終わりの右側に置く（区切りの水平線とは交わらない）。
   白で「差の絶対値」に重ねるので、白地では黒、黒地では白に見える */
main > section { position: relative; }
/* 印のまわりに余白：印のあるセクションは下の余白を広げ、本文やカードと印が近づかないようにする */
main > section:has(> .sec-cue) { padding-bottom: 200px; }
.sec-cue { position: absolute; right: max(20px, calc((100% - var(--wrap)) / 2 + 20px)); bottom: 28px; z-index: 2; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.sec-cue .cue small { opacity: .8; }
@media (max-width: 600px) {
  .sec-cue { bottom: 20px; }
  main > section:has(> .sec-cue) { padding-bottom: 148px; }
  .sec-cue .cue-draw { --cue-h: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .cue-draw::before { animation: none; }
}
