/* 選挙PR — 白地・墨の文字。特定の1色を主役にしない（政党の色に見せない）。
   節の作りは、実在の企業の販売ページ（見出しは中央、3列のカード、料金と流れは表と段で静かに見せる）に合わせる。
   スマホを基準に書き、広い画面で足す */
:root {
  --bg: #ffffff;
  --ink: #1f1f1f;
  --sub: #5c5c5c;
  --rule: #e3e3e3;
  --gray: #f5f6f7;
  --line: #cfcfcf;
  --head-h: 60px;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* スマホは文字の基準を 18px にする（50〜70代の方が読みやすいように。2026-11-12 白井の意見）。広い画面は 16px のまま */
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  overflow-x: hidden;
  /* 語の途中で折らず、最後の行に1〜2字だけ残さない */
  word-break: auto-phrase;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-feature-settings: "palt"; margin: 0; }
.nw { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; line-height: 1.4;
  padding: 14px 24px; border: 0; border-radius: 6px; cursor: pointer;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #444; }
.btn-small { display: none; padding: 9px 14px; font-size: .82rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; min-height: 64px; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { background: var(--gray); }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--head-h); }
.logo { font-weight: 900; font-size: 1.15rem; letter-spacing: .06em; text-decoration: none; }
.logo-sub { margin-left: .45em; font-weight: 500; font-size: .78em; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 380px) { .logo { font-size: 1rem; } .logo-sub { font-size: .72em; margin-left: .3em; } }
.header-nav { display: none; }

/* ---------- 最初の画面 ---------- */
/* 議員の活動の場面のタイルが、段ごとに左右互い違いに流れる。その上に見出しと、見本サイトの入った端末を重ねる */
/* スマホ：写真の段を4段にし、見出しの四角の下端より約50px下まで延ばす（11/18 土田「四角の下の切れ目がわからん」）。
   段の高さ --tiles-h は main.js が四角の下端を測って入れる（四角の高さは小見出しの折り返しで幅ごとに変わるため）。
   下の 505px は main.js が動かない時の目安（幅375の四角の下端 455px＋52px） */
.hero { position: relative; overflow: hidden; padding: 0 0 40px; --tiles-h: 505px; }
.tile-rows {
  position: absolute; inset: 0 0 auto 0; height: var(--tiles-h);
  display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; padding: 8px 0;
}
.tile-row { overflow: hidden; }
.track { display: flex; gap: 8px; width: max-content; height: 100%; animation: flow var(--dur, 70s) linear infinite; }
.tile-row.rev .track { animation-direction: reverse; --dur: 80s; }
.track img { height: 100%; width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; flex: none; }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3) 0, rgba(255, 255, 255, .5) 170px, rgba(255, 255, 255, .5) var(--tiles-h), #fff var(--tiles-h));
}
.hero-inner { position: relative; z-index: 1; padding-top: 64px; }
.hero-copy {
  position: relative;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 12px; padding: 20px 16px 22px; margin: 0 -8px;
}
.kicker { font-weight: 700; font-size: .9rem; color: var(--sub); margin: 0 0 10px; letter-spacing: .04em; }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 8.4vw, 6.4rem); line-height: 1.32; letter-spacing: 0; white-space: nowrap;
  margin: 0 0 18px;
}
/* 料金は、数字を大きく・単位を小さくし、同じ基準線にそろえる（点検表 1-10） */
/* 料金の丸い印（11/18 土田「キャッチーなデザインに」）。確定画像 seal_SP_v1.png・seal_PC_v1.png の形：
   白い丸に墨の太い輪と細い内輪、右下に札と同じ墨の影。中は「製作」「10万円」（数字は明朝で大きく）・細い罫・「4年間の維持費込み」。
   大きさは --d（直径）で決め、文字は直径に比例させる。スマホは見出しの四角の右上の角に重ね、PC は見出しの右に大きく置く */
.price-seal {
  --d: 112px;
  position: absolute; z-index: 2; margin: 0;
  width: var(--d); height: var(--d); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-size: calc(var(--d) / 8.4); font-weight: 700; line-height: 1.15; color: var(--ink);
}
.price-seal::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--ink); border-radius: 50%; pointer-events: none; }
.ps-top { font-size: 1em; }
.ps-main { font-family: var(--serif); font-size: 1.3em; line-height: 1; white-space: nowrap; padding: 0 .3em 3px; border-bottom: 1px solid var(--ink); margin: 1px 0 3px; }
.ps-main b { font-size: 2.2em; letter-spacing: -.02em; margin-right: 1px; line-height: 1; }
.ps-sub { font-size: .66em; line-height: 1.2; }
/* スマホ：四角の右上の角に、上へはみ出して重ねる。小見出しは「議員・立候補予定の皆様へ」の1行だけなので、印は小見出しの右の空きに収まり、
   見出しの上で止まる（点検表 1-11）。印がはみ出す分、四角の上の余白（.hero-inner の padding-top）を 64px にしている */
.price-seal { --d: 124px; top: -44px; right: -4px; }
.hero .kicker { margin-bottom: 40px; letter-spacing: 0; }
.hero-copy .btn { width: 100%; }
/* 相談ボタンの下の2つの強み。押すとその説明の節へ移る */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
/* 強みの札：枠を太くし、墨の影を付けて、相談ボタンの下で目立たせる（11/18 土田「もうちょい目立たせて」） */
.hero-badges a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px 10px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); font-weight: 800; font-size: .92rem; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.hero-badges .ic { font-size: 1.3rem; }
.hero-badges a:hover { background: var(--gray); transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
/* スマホは2つずつ2段（11/18 土田「2かける2の構図」）。長い札と短い札を組み、2段の長さを揃える：
   1段目「AI検索対応！」＋「オーダーメイド製作！」、2段目「セキュリティ対策！」＋「自分で更新可能！」。
   1段に3つ入らないよう各札を幅の34%以上にし、余りは2つで分けて右端を揃える。
   文字は、2段目（17字分）が幅に収まる大きさにする（幅375で約13px、15pxまで） */
.hero-badges li { display: flex; flex: 1 1 auto; min-width: 34%; }
.hero-badges li:nth-child(2), .hero-badges li:nth-child(3) { order: 1; }
.hero-badges a { width: 100%; justify-content: center; gap: 4px; padding: 10px 10px 10px 8px; font-size: min(15px, calc((100vw - 150px) / 17.2)); }
.hero-badges .ic { font-size: 1.2em; }

/* PC とスマホの模型：devices.css（MIT。vendor/devices.min.css）の MacBook Pro と iPhone 14 Pro を、
   本来の大きさ（--nw × --nh）で描いてから、置き場の幅に合わせて縮める（縮める率 --k は main.js が入れる） */
/* スマホでは縦に並べ（PC が上、スマホが下）、画面の幅いっぱいに大きく見せる。広い画面では横に並べる */
.devices { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; margin: 72px 0 0; }
.mock { margin: 0; min-width: 0; }
.mock-pc { width: 100%; }
.mock-sp { width: 68%; }
.mock-box { position: relative; width: 100%; aspect-ratio: var(--nw) / var(--nh); filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .22)); }
.mock-box > .device { position: absolute; top: 0; left: 0; transform: scale(var(--k, .5)); transform-origin: 0 0; }
.mock .device-screen { position: relative; overflow: hidden; background: #fff; }
/* PC：ブラウザの上の帯（ノッチの下にサイトが来るように）。スマホ：時刻と電池の帯 */
.mock-bar { position: absolute; inset: 0 0 auto; height: 24px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #e9e9eb; border-bottom: 1px solid #d4d4d8; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c4c4c8; }
.mock-bar span { margin-left: 14px; padding: 1px 36px 1px 10px; border-radius: 5px; background: #fff; font: 500 8px/1.6 system-ui, sans-serif; color: #555; letter-spacing: .02em; }
.mock-status { position: absolute; inset: 0 0 auto; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; background: #1b1f24; color: #fff; font: 600 15px/1 system-ui, sans-serif; }
.mock-status b { width: 25px; height: 12px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 4px; background: linear-gradient(90deg, #fff 70%, transparent 70%) 1.5px 1.5px / calc(100% - 3px) calc(100% - 3px) no-repeat; }
.mock-frame { position: absolute; top: calc(var(--top, 0) * 1px); left: 0; border: 0; width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--s, .5)); transform-origin: 0 0; }
.mock figcaption { display: table; white-space: nowrap; margin: 12px auto 0; padding: 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .9rem; font-weight: 700; color: var(--ink); }
/* 「スクロール！」と、PC（左下）とスマホ（右下）を指す曲線の矢印 */
.scroll-hint { order: -1; display: flex; align-items: flex-start; gap: 2px; margin: 0; white-space: nowrap; pointer-events: none; }
.scroll-hint span { margin-top: 4px; padding: 6px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.scroll-hint .ic { display: none; }
.scroll-hint .ic { font-size: 40px; stroke-width: 1.6; color: var(--ink); }
.scroll-hint .hint-l { transform: rotate(200deg) scaleX(-1); margin-top: 14px; }
.scroll-hint .hint-r { transform: rotate(160deg) scaleX(-1); margin-top: 14px; }

/* ---------- 節の共通 ---------- */
.sec { padding: 64px 0; }
.sec-gray { background: var(--gray); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.eyebrow { font-size: .85rem; font-weight: 700; color: var(--sub); margin: 0 0 8px; letter-spacing: .06em; }
.sec-head h2 { font-size: clamp(1.4rem, 5.4vw, 2.1rem); font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.card h3, .sec-lead, .quote p { word-break: auto-phrase; }
.sec-lead { margin: 16px 0 0; color: var(--sub); }
.sec-note { font-size: .85rem; color: var(--sub); margin: 12px 0 0; line-height: 1.75; }
.more { text-align: center; margin: 28px 0 0; }
.more a { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more a span { margin-left: 6px; }

/* カード：3列（スマホでは1列） */
.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 24px 22px; }
.sec-gray .card { border-color: transparent; }
.card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.55; margin: 0 0 10px; }
.card p { margin: 0; font-size: 1rem; color: #3d3d3d; line-height: 1.8; }
.card .card-tag { display: inline-block; font-size: .76rem; font-weight: 700; color: var(--sub); background: var(--gray); border-radius: 4px; padding: 2px 8px; margin-bottom: 12px; }
.card .card-no { font-size: .9rem; font-weight: 700; color: var(--sub); margin-bottom: 8px; letter-spacing: .08em; }

/* 専門家の呼びかけ */
.quote { margin: 32px auto 0; max-width: 760px; text-align: center; padding: 24px 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.quote p { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; line-height: 1.7; }
.quote .quote-by { font-family: inherit; font-size: .82rem; font-weight: 400; color: var(--sub); margin-top: 8px; }
.sources { max-width: 760px; margin: 20px auto 0; font-size: .82rem; color: var(--sub); }
.sources summary { cursor: pointer; font-weight: 700; }
.sources ul { margin: 8px 0 0; padding-left: 1.2em; line-height: 1.8; }

/* 見本 */

/* 選ばれる理由の要約（トップ）：2枚。それぞれ「詳細を見る」で選ばれる理由のページへ */
.overview { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.ov-card { background: #fff; border-radius: 12px; padding: 26px 22px; display: flex; flex-direction: column; }
.ov-card h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.5; margin: 0 0 12px; }
.ov-card p { margin: 0 0 22px; color: #3d3d3d; line-height: 1.85; flex: 1; }
.ov-card .btn { width: 100%; }
.price-flow { max-width: 980px; margin: 48px auto 0; }
.next-links { display: grid; gap: 14px; }

/* 数字のグラフ */
.stats { display: grid; gap: 16px; margin-bottom: 40px; }
.stat { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 22px 20px; }
.sec-gray .stat { border-color: transparent; }
.stat figcaption { font-size: .8rem; color: var(--sub); line-height: 1.6; margin-bottom: 16px; }
.stat figcaption b { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.stat-big { white-space: nowrap; font-size: 2.6rem; font-weight: 700; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.stat-big small { font-size: .9rem; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.stat-note { font-size: 1rem; color: #3d3d3d; margin: 14px 0 0; line-height: 1.75; }
.stat-src { font-size: .8rem; color: var(--sub); margin: 6px 0 0; line-height: 1.6; }
/* 増え方は、前の棒の端（--from）から後の棒の端（--to）までの矢印と、その横の言葉で示す。
   .is-before は言葉を矢印の手前（左）に、無ければ矢印の先（右）に置く */
.bars.has-callout .bar-track { height: 30px; border-radius: 4px; }
.bar-delta { margin: -4px 0; }
.delta { position: relative; display: block; height: 30px; }
.delta i { position: absolute; top: 50%; left: var(--from); width: calc(var(--to) - var(--from)); height: 0; border-top: 2.5px solid var(--ink); }
.delta i::before { content: ""; position: absolute; left: 0; top: -15px; height: 28px; border-left: 2px dashed var(--ink); }
.delta i::after { content: ""; position: absolute; right: -2px; top: -7.5px; border: 6px solid transparent; border-right: 0; border-left: 10px solid var(--ink); }
.delta b { position: absolute; top: 50%; left: calc(var(--to) + 14px); transform: translateY(-50%); font-size: 1.15rem; font-weight: 900; line-height: 1; white-space: nowrap; }
.delta.is-before b { left: auto; right: calc(100% - var(--from) + 10px); }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 4.6em 1fr 4.4em; align-items: center; gap: 10px; font-size: .85rem; }
.bars-small .bar { grid-template-columns: 8em 1fr 4.4em; font-size: .8rem; }
.bar-label { color: var(--sub); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 18px; background: var(--gray); border-radius: 3px; overflow: hidden; }
.sec-gray .bar-track { background: #e9ebee; }
.bar-fill { display: block; height: 100%; width: var(--v); background: #9a9a9a; border-radius: 3px; }
.bar.is-strong .bar-fill { background: var(--ink); }
.bar-num { font-weight: 700; text-align: right; white-space: nowrap; }
.people { display: flex; gap: 10px; margin-bottom: 14px; }
.person { display: block; width: 34px; height: 46px; }
.person .body { fill: var(--ink); }
.person.is-wrong .body { fill: #cfcfcf; }
.person .x { stroke: #b3261e; stroke-width: 3.4; stroke-linecap: round; }
.donut { --v: 50; width: 128px; height: 128px; border-radius: 50%; margin: 4px 0 6px; display: grid; place-items: center;
  background: conic-gradient(var(--ink) calc(var(--v) * 1%), #e3e3e3 0); }
.donut span { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; align-items: baseline; justify-content: center; padding-top: 26px; font-size: 1.7rem; font-weight: 700; line-height: 1; }
.donut small { font-size: .8rem; }

/* 報道の切り抜き */
.clips { max-width: 980px; margin: 0 auto; }
.clips-title, .sub-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; }
.sub-title { text-align: center; margin: 40px 0 18px; font-size: 1.2rem; }
.clip { border-top: 1px solid var(--rule); padding: 18px 0; display: grid; gap: 6px; }
.clip:last-of-type { border-bottom: 1px solid var(--rule); }
.clip-media { margin: 0; font-size: .82rem; font-weight: 700; color: var(--sub); }
.clip-media time { font-weight: 400; margin-left: 10px; }
.clip-head { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.08rem; line-height: 1.6; }
.clip-body { margin: 0; font-size: 1rem; color: #3d3d3d; }
.clip-body a { margin-left: 8px; font-weight: 700; white-space: nowrap; }

/* 安全面の事例 */
.cases { display: grid; gap: 16px; max-width: 980px; margin: 0 auto 32px; }
/* 事例の2枚は、下のグラフの2枚と同じ作り（白い札・見出し・灰色の小さな出どころ）にそろえる */
.case { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 22px 20px; }
.sec-gray .case { border-color: transparent; }
.case h3 { font-size: 1rem; margin: 0 0 2px; line-height: 1.6; }
.case .case-date { margin: 0 0 16px; font-size: .8rem; font-weight: 400; color: var(--sub); line-height: 1.6; }
.case p { margin: 0; font-size: 1rem; color: #3d3d3d; line-height: 1.75; }
.cards-4 .card h3 { font-size: 1rem; }
.card-ic { display: block; font-size: 2.2rem; stroke-width: 1.5; margin: 0 0 14px; }
.table.company-table td { text-align: left; font-weight: 400; white-space: normal; word-break: normal; overflow-wrap: anywhere; }
.table.company-table th { width: 30%; white-space: nowrap; }
.credit { font-size: .72rem; color: #999; margin: 0; line-height: 1.7; }
.credit a { color: #bbb; }

/* 料金 */
.price-box { display: grid; gap: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; max-width: 980px; margin: 0 auto; }
.price-main { padding: 28px 22px; background: var(--gray); text-align: center; }
.price-tag { display: inline-block; align-self: center; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.price-name { font-weight: 700; margin: 0 0 6px; }
.price-value { font-size: 2.6rem; font-weight: 700; line-height: 1.2; margin: 0 0 8px; letter-spacing: .01em; }
.price-value span { font-size: .95rem; margin-left: 4px; }
.price-note { font-size: .88rem; color: var(--sub); margin: 0 0 20px; }
.price-main .btn { width: 100%; }
.price-detail { padding: 26px 22px; }
.price-detail h3, .price-sub-grid h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 12px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); font-size: .9rem; color: var(--sub); line-height: 1.7; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.checks b { display: block; color: var(--ink); font-size: .98rem; }
.price-sub-grid { display: grid; gap: 28px; max-width: 980px; margin: 40px auto 0; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 4px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--rule); }
.table th { font-weight: 500; color: var(--sub); }
.table td { text-align: right; font-weight: 700; white-space: nowrap; }

/* 流れ */
.flow { margin: 0 auto; max-width: 980px; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: fl; }
.flow li { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 12px; font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.flow li span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; }
.flow .sec-note { text-align: center; }

/* ---------- よくあるご質問 ---------- */
.faq { padding: 64px 0; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 40px 18px 34px; font-weight: 700; line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
.faq-list summary::before { content: "Q"; position: absolute; left: 4px; top: 17px; font-weight: 700; color: var(--sub); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 20px 34px; color: #3d3d3d; }
.faq-list .answer p { margin: 0; }
.faq-list .answer a { text-decoration: underline; }

/* ---------- お問い合わせ ---------- */
.contact { padding: 64px 0 100px; background: #fff; }
.contact .wrap > p { text-align: center; }
.confidential { font-weight: 700; }
.contact-form { margin-top: 28px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 24px 18px; }
.field { margin-bottom: 20px; }
.field label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.req { font-size: .7rem; font-weight: 700; color: #fff; background: var(--ink); padding: 1px 6px; border-radius: 3px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; font-size: .92rem; }
.agree input { width: 24px; height: 24px; accent-color: var(--ink); }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.5em; }
.form-status.ng { color: #b3261e; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 40px 0 100px; }
.footer-inner { display: grid; gap: 16px; }
.site-footer .logo { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: .88rem; }
.footer-links a { color: #ccc; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { font-size: .78rem; color: #999; margin: 0; }

/* ---------- スマホの下に出る相談ボタン ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
  display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700;
  padding: 18px 12px; font-size: 1.05rem; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.sticky-cta span { font-size: .75rem; font-weight: 700; color: #ddd; border-right: 1px solid #555; padding-right: 10px; }
.sticky-cta i { font-style: normal; }
.sticky-cta.show { transform: none; }

/* ---------- 下層ページ（AI 検索対策の進め方・運営者情報・404） ---------- */
.section { padding: 56px 0 80px; }
.section h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 20px; }
.article-hero { padding: 40px 0 8px; }
.article-hero h1 { font-size: clamp(1.6rem, 6.4vw, 2.4rem); font-weight: 700; line-height: 1.45; margin: 0 0 20px; }
.crumbs { font-size: .82rem; color: var(--sub); margin-bottom: 18px; }
.ask-box { background: var(--gray); border-radius: 10px; padding: 22px 20px; margin-bottom: 40px; }
.ask-box h2 { font-size: 1.15rem; margin: 0 0 10px; }
.ask-box ul { margin: 0 0 12px; padding-left: 1.2em; }
.ask-box p { margin: 0; font-weight: 700; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 24px 0 24px 52px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-weight: 700; font-size: 1.1rem; color: var(--sub); line-height: 1.6; }
.steps h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; line-height: 1.5; }
.steps p { margin: 0 0 8px; }
.steps .why { padding: 0; background: none; font-size: .88rem; color: var(--sub); }
.note-box { border-left: 3px solid var(--ink); padding: 4px 0 4px 16px; margin: 32px 0; }
.note-box h2 { font-size: 1.1rem; margin-bottom: 8px; }
.article-cta { margin-top: 48px; padding: 28px 20px; background: var(--gray); border-radius: 10px; }
.article-cta h2 { font-size: 1.2rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table th { width: 32%; color: var(--sub); font-weight: 700; font-size: .9rem; }
.info-table td { line-height: 1.7; }
.notfound-code { font-weight: 700; font-size: clamp(5rem, 24vw, 9rem); line-height: 1; color: var(--line); margin: 0 0 12px; }
.notfound h1 { font-size: 1.6rem; font-weight: 700; margin: 0 0 16px; }
.notfound-links { margin: 24px 0 32px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.notfound-links li { border-bottom: 1px solid var(--rule); }
.notfound-links a { display: block; padding: 14px 0; font-weight: 700; text-decoration: none; }

/* ========== 広い画面 ========== */
@media (min-width: 760px) {
  html { font-size: 100%; }
  .btn-lg { padding: 17px 30px; font-size: 1rem; min-height: 56px; }
  .hero-badges a { padding: 7px 13px 7px 10px; }
  .devices { flex-direction: row; align-items: flex-end; gap: 3%; }
  .scroll-hint { order: 0; position: absolute; transform: translateX(-50%); }
  .scroll-hint span { padding: 3px 12px; }
  .scroll-hint .ic { display: block; }
  .mock figcaption { padding: 3px 12px; }
  .overview { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ov-card { padding: 32px 30px; }
  .ov-card .btn { width: auto; align-self: flex-start; }
  .next-links { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 40px; }
  :root { --head-h: 72px; }
  .btn-small { display: inline-flex; padding: 11px 20px; font-size: .88rem; }
  .header-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 12px; }
  .header-nav a { font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--sub); }
  .header-nav a:hover { color: var(--ink); }

  /* 広い画面：タイルが画面いっぱいに流れ、左上に大きな見出し、右下に PC とスマホ */
  .hero { min-height: clamp(760px, calc(100svh - var(--head-h)), 940px); padding: 0; display: flex; align-items: stretch; }
  .tile-rows { inset: 0; height: auto; grid-template-rows: repeat(3, 1fr); gap: 14px; padding: 14px 0; }
  .tile-row.sp-only { display: none; }
  .track { gap: 14px; }
  .track img { border-radius: 12px; }
  .hero-veil { background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, .66) 46%, rgba(255, 255, 255, .14) 100%); }
  /* 見出しは上に大きく横いっぱいに。端末は右下に置き、見出し・ボタンと重ならない高さに収める */
  .hero-inner { position: relative; padding-top: 64px; padding-bottom: 48px; width: 100%; }
  .hero-copy { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; margin: 0; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 6.4rem); white-space: nowrap; margin-bottom: 22px; text-shadow: 0 0 28px rgba(255, 255, 255, .95), 0 0 2px rgba(255, 255, 255, .9); }
  .kicker, .hero .kicker { font-size: 1rem; margin-bottom: 10px; letter-spacing: .04em; }
  /* PC は印を見出しの右に、見出しの2行と同じ高さで大きく置く（11/18 土田「右上に、今より大きく」）。
     見出しの1行目「有権者に信頼される、」の実際の文字幅は文字の大きさ×9.28 なので、その右に 28px 空けて置く。
     縦は、見出しの上端に印の上端を揃え、見出しと同じ高さのすぐ右に置く（11/18 土田「同じ高さで直右」）。
     見出しの上端は、四角の上端から小見出し1行（1rem×1.85）とその下の余白 10px の所。
     直径は文字の大きさ×2.2で、下の「スクロール！」の札にかけない（点検表 1-11） */
  .hero-copy { --h1fs: clamp(3.4rem, 5.6vw, 6.4rem); }
  .price-seal { --d: calc(var(--h1fs) * 2.2); right: auto; left: calc(var(--h1fs) * 9.28 + 28px); top: calc(1rem * 1.85 + 10px); }
  /* 料金の行が抜けて空いた分、相談ボタンと札を大きくする（11/18 土田） */
  .hero-copy .btn { width: auto; }
  .hero-copy .btn-lg { padding: 20px 40px; font-size: 1.15rem; min-height: 64px; }
  .hero-badges { margin-top: 16px; gap: 10px; }
  .hero-badges a { gap: 10px; padding: 7px 20px 7px 14px; font-size: 1.15rem; }
  .hero-badges .ic { font-size: 1.5rem; }
  /* 端末は最初の画面の右下に置き、左の文字（料金・ボタン・縦に積んだ強みの札。幅 250px まで）にかからない幅で最大にする。
     文字の左端は 40px + max(0px, 50vw - 590px)。右の余白 --dr を広げるほど、端末は左に寄る */
  .hero-inner { position: static; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-badges { flex-direction: column; align-items: flex-start; }
  .hero-badges li { display: block; flex: none; min-width: 0; order: 0; }
  .hero-badges li:nth-child(2), .hero-badges li:nth-child(3) { order: 0; }
  .hero-badges a { width: auto; justify-content: flex-start; }
  .devices { --dr: max(clamp(24px, 6vw, 140px), 50vw - 590px); position: absolute; z-index: 1; right: var(--dr); bottom: 32px; margin: 0; width: min(880px, 62vw, calc(100vw - var(--dr) - 320px - max(0px, 50vw - 590px))); gap: 4%; }
  .mock-pc { width: 73%; }
  .mock-sp { width: 22%; }
  .mock figcaption { font-size: .8rem; margin-top: 10px; }
  .scroll-hint { left: 75%; top: -66px; }
  .scroll-hint span { font-size: .9rem; }
  .scroll-hint .ic { font-size: 46px; }

  .sec, .faq { padding: 96px 0; }
  .sec-head { margin-bottom: 48px; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stats-2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
  .cases { grid-template-columns: 1fr 1fr; gap: 24px; }
  .clip { grid-template-columns: 11em 1fr; column-gap: 24px; }
  .clip-media { grid-row: span 2; }
  .clip-media time { display: block; margin: 2px 0 0; }
  .card { padding: 28px 26px; }
  .quote p { font-size: 1.4rem; }
  .price-box { grid-template-columns: 2fr 3fr; }
  .price-main { padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; }
  .price-value { font-size: 3rem; }
  .price-detail { padding: 36px 36px; }
  .price-sub-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .flow ol { grid-template-columns: repeat(6, 1fr); }
  .flow li { flex-direction: column; text-align: center; padding: 18px 10px; }
  .contact { padding: 96px 0 120px; }
  .contact-form { padding: 36px 40px; }
  .site-footer { padding: 48px 0; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; gap: 16px 40px; }
  .footer-inner .credit, .footer-inner .copy { grid-column: 1 / -1; }
  .sticky-cta { display: none; }
  .section { padding: 80px 0 120px; }
  .article-hero { padding: 72px 0 8px; }
  .steps li { padding-left: 64px; }
}

/* 動きを減らす設定の方には、タイルを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none !important; }
}
