/* 川本技研工業株式会社 リニューアル提案デモ — 共通スタイル
   水インフラの信頼感：深い藍 × 水色 × 白　／　緊急CTAのみ橙
   外部リソース参照なし（フォント・画像とも）。オフラインで開けること。 */

:root {
  --navy:      #0c2942;   /* ヘッダー・フッター・見出し */
  --navy-2:    #143b5c;
  --blue:      #1a6ba8;   /* 主リンク・アクセント */
  --blue-lt:   #e8f1f8;
  --aqua:      #178b8e;   /* 水・処理のイメージ */
  --aqua-lt:   #e4f2f2;
  --orange:    #c4530c;   /* 緊急CTA専用。他では使わない */
  --orange-lt: #fdf1e7;
  --sample:    #7a5a00;   /* サンプル表示バッジ */
  --sample-bg: #fff4d1;
  --text:      #22303c;
  --muted:     #5f7183;
  --line:      #d6dfe7;
  --bg:        #ffffff;
  --bg-2:      #f4f8fb;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;
  --maxw: 1120px;
  --narrow: 820px;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
               "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  color: var(--text); background: var(--bg);
  padding-bottom: 0;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.5; letter-spacing: .04em; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

/* ── デモ告知バー ───────────────────────────── */
.demo-bar {
  background: #2b2b2b; color: #f2f2f2; font-size: .74rem; line-height: 1.7;
  text-align: center; padding: 7px var(--s4);
}
.demo-bar b { color: #ffd66b; }

/* ── ヘッダー ─────────────────────────────── */
.header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { max-width: min(1280px, 100%); margin: 0 auto; padding: var(--s3) var(--s4); display: flex; align-items: center; flex-wrap: nowrap; gap: var(--s4); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; flex: none; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .name { font-size: 1.06rem; font-weight: 700; letter-spacing: .06em; line-height: 1.35; white-space: nowrap; }
.brand .name small { display: block; font-size: .58rem; font-weight: 500; color: var(--muted); letter-spacing: .16em; }
.header-tel { display: none; text-align: right; line-height: 1.4; flex: none; white-space: nowrap; }
.header-tel .num { font-size: 1.22rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; text-decoration: none; }
.header-tel .cap { display: block; font-size: .68rem; color: var(--muted); }
.header-cta { display: none; }
.nav-toggle {
  width: 46px; height: 46px; flex: none; display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gnav { display: none; }
.gnav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12,41,66,.09); padding: var(--s3) var(--s4) var(--s6); max-height: 78vh; overflow-y: auto; }
.gnav ul { display: grid; gap: 1px; }
.gnav a { display: block; text-decoration: none; color: var(--text); padding: 13px var(--s3); font-size: .95rem; border-bottom: 1px solid #eef2f5; }
.gnav a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.gnav .nav-emg a { color: var(--orange); font-weight: 700; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .header-inner { padding: var(--s3) var(--s4); gap: var(--s4); }
  .gnav { display: block; margin-right: var(--s4); }
  .gnav ul { display: flex; flex-wrap: nowrap; gap: clamp(14px, 1.35vw, 20px); }
  .gnav a { border: none; padding: var(--s2) 0; font-size: .86rem; white-space: nowrap; }
  .gnav a:hover { color: var(--blue); }
  .gnav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
  .header-tel { display: block; }
  .header-cta { display: inline-flex; }
}

/* ── ボタン ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px var(--s8); border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: .96rem; letter-spacing: .06em;
  border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-emg { background: var(--orange); color: #fff; }
.btn-emg:hover { filter: brightness(1.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-sm { min-height: 44px; padding: 8px var(--s5); font-size: .86rem; }
.header-cta.btn { min-height: 44px; padding: 8px var(--s5); font-size: .84rem; }

/* ── セクション共通 ─────────────────────────── */
section { padding: var(--s16) var(--s4); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.inner-narrow { max-width: var(--narrow); margin: 0 auto; }
.bg-alt { background: var(--bg-2); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy a { color: #9fd0f0; }
.sec-head { margin-bottom: var(--s10); }
.sec-head .en { display: block; font-size: .68rem; letter-spacing: .28em; color: var(--aqua); font-weight: 700; text-transform: uppercase; }
.bg-navy .sec-head .en { color: #6fd2d5; }
.sec-head h2 { font-size: clamp(1.32rem, 4.2vw, 1.72rem); font-weight: 700; margin-top: var(--s2); color: var(--navy); }
.bg-navy .sec-head h2 { color: #fff; }
.sec-head .lead { margin-top: var(--s4); color: var(--muted); font-size: .95rem; max-width: 44em; }
.bg-navy .sec-head .lead { color: #c3d5e3; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ── パンくず・ページヘッダー ───────────────────── */
.page-head { background: linear-gradient(140deg, var(--navy) 0%, #10486e 58%, var(--aqua) 160%); color: #fff; padding: var(--s12) var(--s4) var(--s10); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: radial-gradient(120% 100% at 50% 100%, rgba(255,255,255,.16), transparent 70%); }
.page-head .inner { position: relative; z-index: 1; }
.page-head .en { font-size: .68rem; letter-spacing: .28em; color: #7fd8da; font-weight: 700; }
.page-head h1 { font-size: clamp(1.5rem, 5.5vw, 2.1rem); margin-top: var(--s2); }
.page-head p { margin-top: var(--s4); font-size: .94rem; color: #c9dceb; max-width: 44em; }
.breadcrumb { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .76rem; }
.breadcrumb ol { max-width: var(--maxw); margin: 0 auto; padding: var(--s3) var(--s4); display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }

/* ── 写真プレースホルダ ───────────────────────── */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: var(--s3); text-align: center;
  aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  border: 1px dashed #9fb6c8; color: #35566e; padding: var(--s5);
  background: linear-gradient(150deg, #dfeaf2 0%, #cfe3ec 45%, #d8ecec 100%);
}
.ph svg { width: clamp(44px, 16%, 76px); height: auto; aspect-ratio: 1 / 1; opacity: .55; }
.ph figcaption, .ph .cap { font-size: .74rem; line-height: 1.7; color: #3c5a72; letter-spacing: .02em; }
.ph .cap b { display: block; font-size: .66rem; letter-spacing: .18em; color: #6a8398; font-weight: 700; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 21 / 9; }
.ph-sq   { aspect-ratio: 1 / 1; }
.ph-warm { background: linear-gradient(150deg, #f0e6da 0%, #e6dccd 50%, #dfe9e4 100%); border-color: #bfae99; color: #5d4c38; }
.ph-warm .cap, .ph-warm figcaption { color: #6a5843; }
.ph-deep { background: linear-gradient(150deg, #1a4b6d 0%, #12374f 55%, #12545a 100%); border-color: rgba(255,255,255,.35); color: #d6e8f2; }
.ph-deep .cap, .ph-deep figcaption { color: #b9d3e2; }
.ph-deep .cap b { color: #86b3cc; }
.ph-deep svg { opacity: .5; }

/* ── サンプル値のバッジ・注記 ─────────────────── */
.tag-sample {
  display: inline-block; background: var(--sample-bg); color: var(--sample);
  border: 1px solid #e0c366; border-radius: 3px; font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; padding: 1px 7px; vertical-align: middle; margin-left: 5px;
  white-space: nowrap;
}
.tag-real { display: inline-block; background: var(--aqua-lt); color: #0f6d70; border: 1px solid #9dcdce; border-radius: 3px; font-size: .66rem; font-weight: 700; letter-spacing: .1em; padding: 1px 7px; margin-left: 5px; white-space: nowrap; }
.sample-callout {
  background: var(--sample-bg); border: 1px solid #e6cd7c; border-left: 5px solid #d9a400;
  border-radius: var(--radius); padding: var(--s4) var(--s5); font-size: .84rem;
  line-height: 1.85; color: #5a4300; margin: var(--s6) 0;
}
.sample-callout b { color: #4a3700; }
.sample-callout ul { margin-top: var(--s2); }
.sample-callout li { padding-left: 1.1em; position: relative; }
.sample-callout li::before { content: "・"; position: absolute; left: 0; }

/* ── カード ─────────────────────────────── */
.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: var(--s6); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .ph { border: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.card-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.card-body h3 { font-size: 1.02rem; color: var(--navy); }
.card-body p { font-size: .88rem; color: var(--muted); }
.card-body .more { margin-top: auto; font-size: .85rem; font-weight: 700; }
a.card { text-decoration: none; color: inherit; transition: .15s; }
a.card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(12,41,66,.09); transform: translateY(-2px); }
.card-tag { display: inline-block; align-self: flex-start; background: var(--blue-lt); color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: 2px 9px; border-radius: 3px; }
.card-tag.emg { background: var(--orange-lt); color: var(--orange); }
.card-tag.area { background: var(--aqua-lt); color: #0f6d70; }

/* ── 数値ハイライト（KPI） ───────────────────── */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 760px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
.kpi { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--aqua); border-radius: var(--radius); padding: var(--s4); text-align: center; }
.kpi .label { display: block; font-size: .72rem; color: var(--muted); line-height: 1.6; }
.kpi .value { display: block; font-size: clamp(1.24rem, 5vw, 1.62rem); font-weight: 700; color: var(--navy); line-height: 1.3; margin-top: var(--s1); letter-spacing: 0; }
.kpi .value .unit { font-size: .68em; font-weight: 700; }
.kpi .sub { display: block; font-size: .7rem; color: var(--muted); margin-top: var(--s1); }
.kpi.is-sample { border-top-color: #d9a400; background: #fffdf5; }
.kpi.is-improve .value { color: var(--aqua); }

/* ビフォー→アフター */
.ba { display: grid; grid-template-columns: 1fr; gap: var(--s3); align-items: stretch; margin-top: var(--s5); }
@media (min-width: 700px) { .ba { grid-template-columns: 1fr 44px 1fr; gap: var(--s4); } }
.ba-box { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); background: #fff; }
.ba-box h4 { font-size: .78rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.ba-box .big { font-size: clamp(1.3rem, 5vw, 1.75rem); font-weight: 700; color: var(--navy); margin-top: var(--s2); line-height: 1.35; }
.ba-box ul { margin-top: var(--s3); font-size: .84rem; color: var(--muted); }
.ba-box li { padding-left: 1em; position: relative; }
.ba-box li::before { content: "▸"; position: absolute; left: 0; color: var(--aqua); }
.ba-after { background: var(--aqua-lt); border-color: #a8d3d4; }
.ba-after .big { color: #0f6d70; }
.ba-arrow { display: flex; align-items: center; justify-content: center; color: var(--aqua); font-size: 1.6rem; font-weight: 700; }
.ba-arrow::before { content: "▼"; }
@media (min-width: 700px) { .ba-arrow::before { content: "▶"; } }

/* ── テーブル ────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-top: var(--s5); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; }
th, td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--bg-2); color: var(--navy); font-size: .8rem; letter-spacing: .06em; white-space: nowrap; }
tbody th { background: #fafcfd; color: var(--muted); font-weight: 500; width: 9em; white-space: nowrap; }
tr:last-child th, tr:last-child td { border-bottom: none; }
.table-note { font-size: .76rem; color: var(--muted); margin-top: var(--s3); }
.t-num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── リスト類 ────────────────────────────── */
.tick { display: grid; gap: var(--s2); margin-top: var(--s4); }
.tick li { position: relative; padding-left: 1.6em; font-size: .92rem; }
.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--aqua); font-weight: 700; }
.pill-list { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.pill-list li { background: var(--blue-lt); color: var(--navy); border-radius: 999px; padding: 5px 14px; font-size: .82rem; }
.pill-list.aqua li { background: var(--aqua-lt); color: #0f6d70; }

/* 沿革タイムライン */
.timeline { margin-top: var(--s5); border-left: 2px solid var(--line); padding-left: var(--s5); display: grid; gap: var(--s5); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--s5) - 6px); top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--aqua); }
.timeline .year { display: block; font-size: .78rem; font-weight: 700; color: var(--aqua); letter-spacing: .06em; }
.timeline .body { font-size: .92rem; }

/* ── 緊急CTAブロック ────────────────────────── */
.emg-block { background: linear-gradient(135deg, #7d3406 0%, var(--orange) 65%, #d96a1f 130%); color: #fff; border-radius: var(--radius); padding: var(--s8) var(--s6); }
.emg-block .en { font-size: .68rem; letter-spacing: .26em; color: #ffd9bd; font-weight: 700; }
.emg-block h2, .emg-block h3 { font-size: clamp(1.2rem, 4.4vw, 1.55rem); margin-top: var(--s2); }
.emg-block p { margin-top: var(--s3); font-size: .92rem; color: #ffe7d6; }
.emg-actions { display: grid; gap: var(--s3); margin-top: var(--s6); }
@media (min-width: 620px) { .emg-actions { grid-auto-flow: column; justify-content: start; } }
.tel-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; color: var(--orange); text-decoration: none; border-radius: var(--radius);
  padding: 10px var(--s8); min-height: 62px; line-height: 1.25;
}
.tel-btn .num { font-size: 1.5rem; font-weight: 700; letter-spacing: .02em; }
.tel-btn .cap { font-size: .68rem; color: #8b4a1c; letter-spacing: .06em; }

/* ── フォーム ────────────────────────────── */
.form { display: grid; gap: var(--s5); margin-top: var(--s6); }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--navy); }
.form .req { display: inline-block; background: var(--orange); color: #fff; font-size: .64rem; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.form .opt { display: inline-block; background: #eef2f5; color: var(--muted); font-size: .64rem; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.form input, .form select, .form textarea {
  border: 1px solid #b9c8d4; border-radius: var(--radius); padding: 12px 14px;
  font-size: 16px; font-family: inherit; min-height: 50px; color: var(--text); background: #fff; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.form .hint { font-size: .76rem; font-weight: 400; color: var(--muted); }
.radio-row { display: grid; gap: var(--s2); }
@media (min-width: 620px) { .radio-row { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.radio-card { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #b9c8d4; border-radius: var(--radius); padding: var(--s3) var(--s4); cursor: pointer; font-weight: 500; font-size: .88rem; background: #fff; }
.radio-card input { width: auto; min-height: 0; margin-top: 4px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--orange); background: var(--orange-lt); }

/* ── FAQ ────────────────────────────────── */
.faq { margin-top: var(--s5); display: grid; gap: var(--s3); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { cursor: pointer; padding: var(--s4) var(--s5); font-weight: 700; font-size: .93rem; color: var(--navy); list-style: none; position: relative; padding-right: var(--s10); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: var(--s5); color: var(--aqua); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 var(--s5) var(--s5); font-size: .89rem; color: var(--muted); }

/* ── フッター ────────────────────────────── */
footer { background: var(--navy); color: #a9c1d4; font-size: .86rem; padding: var(--s12) var(--s4) var(--s8); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: var(--s8); }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand b { color: #fff; font-size: 1rem; letter-spacing: .06em; }
.footer-brand p { margin-top: var(--s3); font-size: .81rem; line-height: 1.95; }
.footer-brand .tel { color: #fff; font-size: 1.16rem; font-weight: 700; text-decoration: none; }
.footer-nav h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; margin-bottom: var(--s3); }
.footer-nav ul { display: grid; gap: 5px; }
.footer-nav a { color: #a9c1d4; text-decoration: none; font-size: .82rem; display: inline-block; padding: 3px 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { max-width: var(--maxw); margin: var(--s8) auto 0; border-top: 1px solid #1d4363; padding-top: var(--s5); display: grid; gap: var(--s3); }
.footer-bottom .copy { font-size: .78rem; }
.footer-bottom .demo-note { font-size: .72rem; color: #7b96ad; line-height: 1.8; }

/* ── モバイル固定CTAバー ──────────────────────── */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(12,41,66,.12); }
.mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; text-decoration: none; font-size: .74rem; font-weight: 700; gap: 1px; padding: 6px 4px; }
.mobile-cta .m-tel { background: var(--orange); color: #fff; }
.mobile-cta .m-tel .num { font-size: 1.02rem; letter-spacing: .02em; }
.mobile-cta .m-mail { color: var(--navy); }
.mobile-cta .m-mail .sub { font-size: .66rem; font-weight: 500; color: var(--muted); }
body.has-mobile-cta { padding-bottom: 62px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } body.has-mobile-cta { padding-bottom: 0; } }

/* ── 汎用ユーティリティ ─────────────────────── */
.stack > * + * { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.mt-10 { margin-top: var(--s10); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.xsmall { font-size: .76rem; }
.actions { display: grid; gap: var(--s3); margin-top: var(--s6); }
@media (min-width: 620px) { .actions { grid-auto-flow: column; justify-content: start; } .actions.center { justify-content: center; } }
.split { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s12); } .split.rev > :first-child { order: 2; } }
.prose p + p { margin-top: var(--s4); }
.prose h3 { color: var(--navy); font-size: 1.06rem; margin-top: var(--s8); }
.prose h3:first-child { margin-top: 0; }
.note-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); font-size: .86rem; color: var(--muted); }
.src-note { font-size: .74rem; color: var(--muted); margin-top: var(--s3); }

/* ── 小さい画面のヘッダー調整 ──
   1) .header-cta は base で display:none だが、後ろにある .btn の
      display:inline-flex に上書きされ、モバイルでもヘッダーに出ていた。
      （1200px 以上でのみ出す元の設計に戻す）
   2) .brand .name が nowrap のため、英字タグラインの分だけ横に伸びて
      ハンバーガーを画面外へ押し出していた（横スクロールの原因） */
@media (max-width: 1199px) {
  .header-cta { display: none; }
}
@media (max-width: 520px) {
  .brand .name small { display: none; }
  /* 万一それでも入らない場合に画面外へ出さないための保険 */
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand .name { overflow: hidden; text-overflow: ellipsis; }
}
