/* =========================================================
   Quokka Works v3 — site.css（LPサイト・管理サイト共通）
   HTML + CSS のみ。JavaScript は使いません。
   ---------------------------------------------------------
   1. トークン        2. ベース          3. 部品
   4. ヘッダー/フッター 5. トップページ   6. 下層ページ
   7. 料金シミュレーター 8. フォーム      9. 動き（アニメーション）
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  /* グレースケール 1系統（0 = 白 … 1000 = 黒） */
  --g-0:    oklch(1 0 0);
  --g-50:   oklch(0.975 0 0);
  --g-100:  oklch(0.95 0 0);
  --g-150:  oklch(0.925 0 0);
  --g-200:  oklch(0.89 0 0);
  --g-300:  oklch(0.80 0 0);
  --g-400:  oklch(0.68 0 0);
  --g-500:  oklch(0.56 0 0);
  --g-600:  oklch(0.47 0 0);
  --g-700:  oklch(0.39 0 0);
  --g-800:  oklch(0.31 0 0);
  --g-900:  oklch(0.235 0 0);
  --g-950:  oklch(0.185 0 0);
  --g-1000: oklch(0.145 0 0);

  /* 意味のある色（暗い帯 .inv で反転） */
  --bg:        var(--g-50);
  --surface:   var(--g-0);
  --surface-2: var(--g-100);
  --surface-3: var(--g-150);
  --ink:       var(--g-1000);
  --ink-2:     var(--g-800);   /* 補足文字も濃いめに */
  --ink-3:     var(--g-700);   /* いちばん薄い文字でもこの濃さまで */
  --line:      var(--g-300);
  --line-2:    var(--g-500);   /* 入力欄・強い罫線 */
  --on-ink:    var(--g-0);     /* 黒地の上の文字 */

  /* 書体 */
  --f-ja:   "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-en:   "Archivo", var(--f-ja);
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* 文字サイズ（高齢の方にも読みやすく：本文19px／補足17px／いちばん小さくても15px） */
  --fs-xs:   0.9375rem;  /* 15px  これ未満は使わない */
  --fs-sm:   1.0625rem;  /* 17px */
  --fs-body: 1.1875rem;  /* 19px */
  --fs-md:   1.3125rem;  /* 21px */
  --fs-lg:   1.5rem;     /* 24px */
  --fs-xl:   clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  --fs-h2:   clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --fs-h1:   clamp(1.875rem, 1.1rem + 4.2vw, 4rem);
  --fs-hero: clamp(2.6rem, 1.1rem + 6.4vw, 5.6rem);

  --lh:      1.95;
  --lh-long: 2.05;
  --measure: 42rem;

  /* 角丸・影・余白 */
  --r-s: 10px;
  --r:   16px;
  --r-l: 24px;
  --r-xl: 32px;
  --shadow:   0 1px 0 oklch(0 0 0 / .04), 0 12px 32px -12px oklch(0 0 0 / .18);
  --shadow-l: 0 2px 0 oklch(0 0 0 / .04), 0 30px 60px -24px oklch(0 0 0 / .32);
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(80px, 9vw + 30px, 150px);

  /* 部品の高さ */
  --h-btn: 52px; --h-btn-s: 44px; --h-btn-l: 62px;
  --h-input: 56px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

.inv {
  --bg:        var(--g-1000);
  --surface:   var(--g-950);
  --surface-2: var(--g-900);
  --surface-3: var(--g-800);
  --ink:       var(--g-0);
  --ink-2:     var(--g-200);
  --ink-3:     var(--g-300);
  --line:      var(--g-700);
  --line-2:    var(--g-500);
  --on-ink:    var(--g-1000);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-en);
  font-size: var(--fs-body);
  line-height: var(--lh);
  letter-spacing: .03em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  text-wrap: balance;
  word-break: auto-phrase;
}
h1 { font-size: var(--fs-h1); line-height: 1.3; }
h2 { font-size: var(--fs-h2); line-height: 1.35; }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0; max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: 1em; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
strong, b { font-weight: 700; }
small, .small { font-size: var(--fs-sm); }
ul, ol { margin: 0; padding: 0; }
dl, dd, figure { margin: 0; }
hr { border: 0; border-top: 1.5px solid var(--line); margin: 48px 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.inv :focus-visible { outline-color: var(--g-0); }
::selection { background: var(--ink); color: var(--bg); }

/* 見出しの約物を詰める（Zen Kaku Gothic New は palt が効かないので手動で） */
.kr  { margin-right: -0.35em; }   /* 「、」「。」「」」の後ろの空き */
.kl  { margin-left: -0.4em; }     /* 「「」の前の空き */
.kc  { margin-inline: -0.25em; }  /* 「・」の左右 */

.en   { font-family: var(--f-en); }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
.num  { font-family: var(--f-en); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ja   { font-family: var(--f-ja); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: var(--r-s);
  min-height: 44px; display: inline-flex; align-items: center;
}
.skip:focus { top: 12px; }

/* レイアウト */
.wrap { width: 100%; max-width: calc(1200px + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: calc(860px + var(--pad) * 2); }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: calc(var(--sec) * .6); }
.section--alt { background: var(--surface); }
.stack > * + * { margin-top: var(--gap, 24px); }
.grid { display: grid; gap: var(--gap, 24px); }
.grid-2 { display: grid; gap: var(--gap, 24px); }
.grid-3 { display: grid; gap: var(--gap, 24px); }
.grid-4 { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.center { text-align: center; }
.center p { margin-inline: auto; }
.mt-s { margin-top: 16px; } .mt { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: 80px; }

/* ---------- 3. 部品 ---------- */
.ic {
  width: 1.3em; height: 1.3em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.25em;
}
.ic--l { width: 28px; height: 28px; }
.ic--xl { width: 36px; height: 36px; stroke-width: 1.6; }

/* 見出しまわり */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700;
  letter-spacing: .08em; color: var(--ink-2);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: currentColor;
}
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 52rem; }
.sec-head.center { margin-inline: auto; justify-items: center; }
.lead { font-size: var(--fs-md); line-height: var(--lh); color: var(--ink-2); }
.note { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.muted { color: var(--ink-2); }

/* ボタン（高さ 52px／小 44px／大 62px） */
.btn {
  --h: var(--h-btn);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 1.6em;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font: 700 var(--fs-body)/1.3 var(--f-en); letter-spacing: .04em;
  text-decoration: none; cursor: pointer; text-align: center; max-width: 100%; padding-block: 8px;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s;
}
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic--go { transform: translateX(4px); }
.btn:hover { text-decoration: none; }
.btn--s { --h: var(--h-btn-s); padding: 0 1.2em; font-size: var(--fs-sm); }
.btn--l { --h: var(--h-btn-l); padding: 0 2em; font-size: var(--fs-md); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { box-shadow: 0 10px 24px -10px oklch(0 0 0 / .5); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* テキストリンク（矢印付き） */
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor;
  min-height: 44px; line-height: 1.4;
}
.link .ic { transition: transform .3s var(--ease); }
.link:hover .ic { transform: translateX(4px); }

/* タグ（チップ） */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 4px 16px 4px 12px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface);
  font-size: var(--fs-sm); font-weight: 700;
}
.chip .ic { width: 20px; height: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 12px; border-radius: 999px; min-height: 28px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  background: var(--ink); color: var(--bg);
}
.badge--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.badge--soft { background: var(--surface-3); color: var(--ink); }

/* カード */
.card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px);
  container-type: inline-size;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card p { font-size: var(--fs-sm); line-height: 1.95; color: var(--ink-2); }
.card h3 { font-size: var(--fs-md); }
.card > * + * { margin-top: 12px; }
.icon-box {
  width: 60px; height: 60px; border-radius: 18px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
}
.icon-box--line { background: var(--surface-2); color: var(--ink); border: 1.5px solid var(--line); }
.icon-box .ic { width: 28px; height: 28px; }

/* 機能カード：幅が広いと横並び（コンテナクエリ） */
.feature { display: grid; gap: 16px; align-content: start; }
.feature > * + * { margin-top: 0; }
@container (min-width: 460px) {
  .feature { grid-template-columns: auto 1fr; column-gap: 22px; }
  .feature .icon-box { grid-row: span 3; }
}

/* 箇条書き */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { margin-top: .3em; width: 22px; height: 22px; }
.checks--x .ic { opacity: .9; }
.dots { padding-left: 1.3em; display: grid; gap: 8px; }
.dots li::marker { color: var(--ink-2); }
.olist { padding-left: 1.6em; display: grid; gap: 10px; }

/* 表 */
.table-wrap { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.table th, .table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { background: var(--surface-2); font-size: var(--fs-sm); }
.table th { font-weight: 700; }
.table td { font-size: var(--fs-sm); line-height: 1.9; }
@media (max-width: 640px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: 14px 18px; border-bottom: 1.5px solid var(--line); }
  .table--stack tr:last-child { border-bottom: 0; }
  .table--stack th, .table--stack td { display: block; padding: 4px 0; border: 0; }
  .table--stack td[data-th]::before { content: attr(data-th) "："; font-weight: 700; }
}

/* 定義リスト（運営者情報など） */
.deflist { border-top: 1.5px solid var(--line); }
.deflist > div { display: grid; gap: 6px; padding: 20px 4px; border-bottom: 1.5px solid var(--line); }
.deflist dt { font-weight: 700; }
.deflist dd { color: var(--ink-2); line-height: 1.95; }
@media (min-width: 760px) { .deflist > div { grid-template-columns: 15rem 1fr; gap: 24px; } }
.fill { display: inline-block; padding: 0 10px; border: 1.5px dashed var(--line-2); border-radius: 8px; color: var(--ink); background: var(--surface-2); font-size: var(--fs-sm); }

/* お知らせ枠 */
.callout {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 22px 24px; border-radius: var(--r); border: 1.5px solid var(--line-2);
  background: var(--surface);
}
.callout .ic { width: 26px; height: 26px; margin-top: .2em; }
.callout p { font-size: var(--fs-sm); }
.callout--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.callout--ink p { color: inherit; }

/* 図版の差し替え枠（AI画像ができたら <img> に置き換え） */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-l);
  background: var(--surface-2); border: 1.5px solid var(--line);
  aspect-ratio: var(--ar, 16 / 10);
}
.media > img, .media > svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.media > img { filter: grayscale(1) contrast(1.04); }
.media--4x3 { --ar: 4 / 3; }

/* ページ見出し（下層） */
.page-hero { padding-block: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 80px); position: relative; overflow: clip; border-bottom: 1.5px solid var(--line); }
.page-hero .wrap { position: relative; display: grid; gap: 20px; }
.page-hero h1 { max-width: 20em; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 90% at 85% 10%, #000 0%, transparent 70%);
  opacity: .5;
}
.crumbs { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ink-3); }
.crumbs a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- 4. ヘッダー／フッター ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1.5px solid var(--line);
}
.hd__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
/* ロゴ：v1 と同じく、マークがそのまま「Q」になり「uokka Works」が続く */
.brand { display: inline-flex; align-items: baseline; text-decoration: none; min-height: 44px; flex: none; font-size: 1.625rem; padding-top: 6px; }
.brand__name { font-family: var(--f-en); font-weight: 700; font-size: 1em; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 2px; }
.gnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  text-decoration: none; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap;
  border-radius: 999px; position: relative;
}
.gnav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 7px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.hd__act { display: flex; gap: 10px; flex: none; }
.hd__act .btn { white-space: nowrap; }

/* ハンバーガー（<details>） */
.mnav { display: none; margin-left: auto; }
.mnav > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); font-weight: 700; font-size: var(--fs-sm);
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav__icon { display: grid; gap: 4px; width: 20px; }
.mnav__icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.mnav[open] .mnav__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mnav[open] .mnav__icon i:nth-child(2) { opacity: 0; }
.mnav[open] .mnav__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav__close { display: none; }
.mnav[open] .mnav__open { display: none; }
.mnav[open] .mnav__close { display: inline; }
.mnav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1.5px solid var(--line);
  box-shadow: 0 30px 40px -20px oklch(0 0 0 / .25);
  padding: 12px var(--pad) 28px;
  max-height: calc(100dvh - 76px); overflow-y: auto;
}
.mnav__panel ul { list-style: none; display: grid; }
.mnav__panel li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 0 6px; border-bottom: 1.5px solid var(--line);
  text-decoration: none; font-weight: 700; font-size: var(--fs-md);
}
.mnav__panel .btn-row { margin-top: 22px; }
.mnav__panel .btn { flex: 1 1 220px; }
@media (max-width: 1099.98px) {
  .gnav, .hd__act { display: none; }
  .mnav { display: block; }
}
@media (min-width: 640px) and (max-width: 1099.98px) {
  .hd__act { display: flex; margin-left: auto; }
  .hd__act .btn--ghost { display: none; }
  .mnav { margin-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .mnav[open] .mnav__panel { animation: drop .35s var(--ease); }
}

/* フッター */
.ft { padding-block: 80px 40px; }
.ft__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .ft__top { grid-template-columns: 1.3fr 2fr; } }
.ft__brand p { color: var(--ink-2); font-size: var(--fs-sm); margin-top: 18px; }
.ft__cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ft__cols h3 { font-family: var(--f-ja); font-size: var(--fs-sm); letter-spacing: .06em; color: var(--ink-2); font-weight: 500; margin-bottom: 10px; }
.ft__cols ul { list-style: none; }
.ft__cols a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: var(--fs-sm); }
.ft__cols a:hover { text-decoration: underline; }
.ft__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1.5px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--ink-2);
}

/* ---------- 5. トップページ ---------- */

/* ヒーロー */
.hero { position: relative; overflow: clip; padding-block: clamp(48px, 7vw, 110px) clamp(64px, 8vw, 120px); }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 70% 40%, #000 10%, transparent 75%);
  opacity: .55;
}
.hero__grid { position: relative; display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero__alert {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--surface);
  border: 1.5px solid var(--line-2); font-size: var(--fs-sm); font-weight: 700;
}
.hero__alert .badge { gap: 6px; }
.hero__title {
  font-size: var(--fs-hero); line-height: 1.18; letter-spacing: .01em;
  margin-top: 26px; word-break: keep-all; text-wrap: nowrap;
}
.hero__title .ln { display: block; }
@media (min-width: 1000px) { .hero__title { font-size: min(6.2vw, 5rem); } }
.outline {
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, .2vw, 2.5px) var(--ink);
  paint-order: stroke fill;
}
@supports not (-webkit-text-stroke: 1px #000) { .outline { color: var(--ink); } }
.hero__lead { margin-top: 28px; font-size: var(--fs-md); color: var(--ink-2); max-width: 34rem; }
.hero__lead strong { color: var(--ink); }
.hero__lead .src { font-size: var(--fs-sm); }
.hero .chips { margin-top: 26px; }
.hero .btn-row { margin-top: 34px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1.5px solid var(--ink); }
.metrics > div { padding: 16px 14px 0 0; }
.metrics > div + div { padding-left: 14px; border-left: 1.5px solid var(--line); }
.metrics dt { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 700; line-height: 1.6; }
.metrics dd { font-family: var(--f-en); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.2; letter-spacing: -.02em; margin-top: 6px; white-space: nowrap; }
.metrics dd small { font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-left: 2px; }

/* メインビジュアル：攻撃されうる入口が消えていく */
.mv { position: relative; padding: 36px 0 56px; }
.threat {
  position: relative; background: var(--surface); border: 1.5px solid var(--ink);
  border-radius: var(--r-xl); box-shadow: var(--shadow-l); overflow: hidden;
}
.threat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1.5px solid var(--line); background: var(--surface-2); }
.threat__bar i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); display: block; }
.threat__url { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--ink-2); margin-left: 8px; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.threat__body { padding: 22px clamp(18px, 3vw, 28px) 24px; }
.threat__cap { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.threat__list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.threat__list li {
  --d: calc(.7s + var(--i) * .55s);
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  min-height: 52px; padding: 6px 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--surface);
}
.threat__list li > * { opacity: .5; }    /* 最終状態（動きを止めたときもこの状態） */
.threat__list .ic { width: 22px; height: 22px; }
.threat__name { font-weight: 700; font-size: var(--fs-sm); line-height: 1.4; }
.threat__path { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: 0; white-space: nowrap; }
.threat__list li::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2.5px; margin-top: -1px;
  background: var(--ink); border-radius: 2px; transform-origin: left center;
}
.threat__total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: var(--bg);
}
.threat__total span { font-size: var(--fs-sm); font-weight: 700; }
.threat__num { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 700; }
.threat__num b { display: inline-grid; font-family: var(--f-en); font-size: 2.4rem; line-height: 1; font-weight: 800; }
.threat__num b > i { grid-area: 1 / 1; font-style: normal; }
.threat__num .n5 { opacity: 0; }
.float-card {
  position: absolute; z-index: 2; background: var(--surface); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow);
  display: grid; gap: 0; line-height: 1.4;
}
.float-card small { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); }
.float-card strong { font-family: var(--f-en); font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
.float-card strong em { font-style: normal; font-family: var(--f-ja); font-size: var(--fs-sm); margin-left: 2px; }
.float-card--a { top: 0; right: -6px; }
.float-card--b { bottom: 4px; left: -10px; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.float-card--b small { color: var(--g-200); }
@media (max-width: 520px) {
  .float-card--a { right: 0; }
  .float-card--b { left: 0; }
  .threat__path { display: none; }
  .threat__list li { grid-template-columns: auto 1fr; }
}

/* ティッカー／マーキー（同じ内容を2回並べてループ） */
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; flex: none; align-items: center; list-style: none; }
/* よくある攻撃 → 静的なHTMLなら（左に見出し、右に流れるカード） */
.ticker { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--g-100); border-block: 1.5px solid var(--g-1000); color: var(--g-1000); }
.ticker__label {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px;
  padding: 14px var(--pad); background: var(--g-1000); color: var(--g-0);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .06em; line-height: 1.5;
}
.ticker__label .ic { width: 20px; height: 20px; }
.ticker__view { overflow: hidden; padding-block: 18px; }
.ticker .ticker__group { gap: 16px; padding-right: 16px; }
.ticker .ticker__group li {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--g-0); border: 1.5px solid var(--g-300);
  font-size: var(--fs-sm); font-weight: 700; line-height: 1.4;
}
.tk__atk, .tk__ok { display: inline-flex; align-items: center; gap: 8px; }
.tk__atk { color: var(--g-800); }
.tk__atk .ic { width: 22px; height: 22px; }
.tk__arrow .ic { width: 20px; height: 20px; color: var(--g-500); }
.tk__ok { padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--g-1000); color: var(--g-0); }
.tk__ok .ic { width: 20px; height: 20px; stroke-width: 2.4; }
@media (min-width: 900px) {
  .ticker { grid-template-columns: auto minmax(0, 1fr); }
  .ticker__label { flex-direction: column; gap: 2px; padding: 12px 28px; }
  .ticker__label .ic { rotate: 90deg; }
}
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 48px); border-block: 1.5px solid var(--line); }
.marquee .ticker__group li { font-family: var(--f-en); font-size: clamp(2.2rem, 1.4rem + 4vw, 5rem); font-weight: 800; letter-spacing: -.02em; padding: 0 .4em; line-height: 1.2; }
.marquee .ticker__group li::after { content: "●"; font-size: .3em; margin-left: .8em; opacity: 1; }
.marquee .ticker__group li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee .ticker__group li.ja { font-family: var(--f-ja); font-size: clamp(1.8rem, 1.1rem + 3.2vw, 3.8rem); }

/* 数字の帯 */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--line-2); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 28px 18px 28px 0; border-bottom: 1.5px solid var(--line); }
.stat:nth-child(even) { padding-left: 18px; border-left: 1.5px solid var(--line); }
@media (min-width: 900px) {
  .stat { border-bottom: 0; }
  .stat + .stat { padding-left: 24px; border-left: 1.5px solid var(--line); }
}
.stat__num { font-family: var(--f-en); font-weight: 800; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.stat__num small { font-family: var(--f-ja); font-size: max(.38em, var(--fs-xs)); letter-spacing: 0; margin-left: 4px; font-weight: 700; }
.stat__label { margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.8; }
.source { margin-top: 28px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; max-width: none; }
.source a { color: var(--ink); }

/* 「消えるもの」と「消えないもの」 */
.vanish { display: grid; gap: 24px; }
@media (min-width: 860px) { .vanish { grid-template-columns: 1.15fr .85fr; } }
.vanish__list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.vanish__list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); min-height: 56px; font-weight: 700; font-size: var(--fs-sm); }
.vanish__list s { text-decoration-thickness: 2px; }
.vanish__list .tag { margin-left: auto; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0; white-space: nowrap; }

/* 課題（5項目） */
.pains { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .pains { grid-template-columns: .9fr 1.1fr; } }
.pain-list { list-style: none; display: grid; gap: 12px; }
.pain-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 16px 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px;
  transition: transform .3s var(--ease), border-color .2s;
}
.pain-list li:hover { transform: translateX(6px); border-color: var(--ink); }
.pain-list h3 { font-size: var(--fs-body); }
.pain-list p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.8; }

/* 比較表 */
.compare th:first-child { width: 28%; }
.compare .is-static { background: var(--surface-2); }
.compare td strong { display: block; font-size: var(--fs-body); }

/* ページが表示されるまでの道のり（図） */
.route { display: grid; gap: 22px; }
.route__row { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 24px clamp(18px, 3vw, 32px) 28px; container-type: inline-size; }
.route__row--static { border-color: var(--ink); }
.route__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.route__head h3 { font-size: var(--fs-md); }
.route__head .badge { margin-left: auto; }
.route__steps { list-style: none; display: grid; gap: 10px; position: relative; }
.route__steps li {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 14px; border-radius: 14px;
  background: var(--surface-2); font-weight: 700; font-size: var(--fs-sm); line-height: 1.4;
}
.route__steps li .ic { width: 24px; height: 24px; }
.route__steps li:last-child { background: var(--ink); color: var(--bg); }
.route__steps li:not(:last-child)::after {   /* 矢印（縦） */
  content: ""; position: absolute; left: 26px; bottom: -10px; width: 2px; height: 10px; background: var(--ink-3);
}
@container (min-width: 720px) {
  .route__steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 22px; }
  .route__steps li { flex-direction: column; justify-content: center; text-align: center; min-height: 112px; padding: 14px 8px; gap: 8px; }
  .route__steps li:not(:last-child)::after {
    left: auto; right: -18px; top: 50%; bottom: auto; width: 14px; height: 14px; margin-top: -7px;
    background: none; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); transform: rotate(45deg);
  }
}
.route__track { display: none; }
@container (min-width: 720px) {
  .route__track { display: block; position: relative; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
  .route__track::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--ink); border-radius: 4px; transform-origin: left; }
}
.route__time { margin-top: 12px; font-size: var(--fs-sm); color: var(--ink-2); }

/* 進め方（ステップ） */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps > li {
  counter-increment: s; position: relative; padding: 28px 26px; border-radius: var(--r-l);
  background: var(--surface); border: 1.5px solid var(--line); container-type: inline-size;
}
.steps > li::before {
  content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: var(--fs-xs);
  font-weight: 500; letter-spacing: .1em; color: var(--ink-2);
}
.steps > li .icon-box { position: absolute; right: 22px; top: 22px; width: 52px; height: 52px; border-radius: 16px; }
.steps h3 { margin-top: 18px; font-size: var(--fs-md); padding-right: 64px; }
.steps p { margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; }
.steps .badge { margin-top: 14px; }

/* 管理サイトの紹介 */
.showcase { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .showcase { grid-template-columns: 1fr 1.15fr; } }
.screen { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-l); }
.screen__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1.5px solid var(--line); }
.screen__bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.screen__bar span { margin-left: 8px; font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: 0; }
.screen__body { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; }
@media (min-width: 560px) { .screen__body { grid-template-columns: 130px 1fr; } }
.screen__side { display: none; }
@media (min-width: 560px) { .screen__side { display: grid; gap: 6px; align-content: start; } }
.screen__side span { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; padding: 8px 10px; border-radius: 10px; line-height: 1.3; }
.screen__side span.on { background: var(--ink); color: var(--bg); }
.screen__side .ic { width: 16px; height: 16px; }
.screen__main { display: grid; gap: 12px; }
.mini { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); }
.mini small { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); line-height: 1.5; }
.mini strong { font-family: var(--f-en); font-size: 1.6rem; font-weight: 800; line-height: 1.3; }
.mini--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mini--ink small { color: var(--g-200); }
.mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bar-line { height: 10px; border-radius: 6px; background: var(--surface-3); }
.bar-line + .bar-line { margin-top: 8px; }
.bar-line.w70 { width: 70%; } .bar-line.w50 { width: 50%; } .bar-line.w85 { width: 85%; }

/* 料金 */
.price-hero {
  display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl); background: var(--ink); color: var(--bg); position: relative; overflow: hidden;
}
@media (min-width: 860px) { .price-hero { grid-template-columns: auto 1fr; gap: 48px; } }
.price-hero__num { font-family: var(--f-en); font-weight: 800; font-size: clamp(5rem, 3rem + 9vw, 10rem); line-height: .9; letter-spacing: -.05em; white-space: nowrap; }
.price-hero__num small { font-family: var(--f-ja); font-size: .2em; letter-spacing: 0; margin-left: .4em; font-weight: 700; }
.price-hero p { color: var(--g-200); }
.price-hero h3 { font-size: var(--fs-xl); }
.price-cards { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 860px) { .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { display: grid; gap: 14px; align-content: start; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 28px; container-type: inline-size; position: relative; }
.pcard--must { border-color: var(--ink); }
.pcard__top { display: flex; align-items: center; gap: 14px; }
.pcard__top .badge { margin-left: auto; }
.pcard h3 { font-size: var(--fs-md); }
.pcard__price { font-family: var(--f-en); font-weight: 800; font-size: 2.6rem; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.pcard__price small { font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.pcard p, .pcard li { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.85; }
.combos { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 760px) { .combos { grid-template-columns: 1fr 1fr; } }
.combo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--r); border: 1.5px dashed var(--line-2); background: var(--surface); }
.combo b { font-size: var(--fs-body); }
.combo small { display: block; font-size: var(--fs-sm); color: var(--ink-2); }
.combo .num { font-size: 1.9rem; font-weight: 800; white-space: nowrap; }
.combo .num small { display: inline; font-family: var(--f-ja); font-size: var(--fs-sm); }

/* 制作例 */
.work { display: grid; gap: 16px; text-decoration: none; }
.work .media { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work:hover .media { transform: translateY(-4px); box-shadow: var(--shadow); }
.work h3 { font-size: var(--fs-md); }
.work p { font-size: var(--fs-sm); color: var(--ink-2); }
.work__meta { display: flex; flex-wrap: wrap; gap: 8px; }

/* FAQ（<details name> で1つだけ開く） */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  min-height: 64px; padding: 14px 20px; font-weight: 700; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-en); font-weight: 800; font-size: 1.25rem; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .faq__a { padding: 0 24px 24px 70px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 2; }
.faq .faq__a p + p { margin-top: .8em; }
@media (max-width: 560px) { .faq .faq__a { padding-left: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a { animation: fadeUp .4s var(--ease); }
}

/* CTA */
.cta { padding-block: var(--sec); position: relative; overflow: hidden; }
.cta__box { position: relative; display: grid; gap: 24px; justify-items: center; text-align: center; }
.cta__box h2 { font-size: clamp(2rem, 1.2rem + 4vw, 4rem); }
.cta__box p { margin-inline: auto; color: var(--ink-2); }
.cta__ring {
  position: absolute; width: min(720px, 120vw); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%;
  border-radius: 50%; border: 1.5px dashed var(--line); pointer-events: none;
}
.cta__ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1.5px solid var(--line); }

/* ---------- 6. 下層ページ ---------- */
.prose { max-width: 48rem; }
.prose h2 { font-size: var(--fs-xl); margin-top: 64px; padding-top: 24px; border-top: 1.5px solid var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-md); margin-top: 36px; }
.prose p, .prose li { line-height: var(--lh-long); color: var(--ink-2); }
.prose p { margin-top: 14px; }
.prose ol, .prose ul { margin-top: 14px; padding-left: 1.5em; display: grid; gap: 8px; }
.prose .callout { margin-top: 24px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); background: var(--surface); }
.toc a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.split { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .split { grid-template-columns: 18rem 1fr; } .split__aside { position: sticky; top: 110px; align-self: start; } }

.can-cannot { display: grid; gap: 20px; }
@media (min-width: 860px) { .can-cannot { grid-template-columns: 1fr 1fr; } }

/* タイムライン */
.tl { list-style: none; position: relative; display: grid; gap: 0; }
.tl > li { position: relative; padding: 0 0 32px 52px; container-type: inline-size; }
.tl > li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.tl > li:last-child::before { display: none; }
.tl__dot { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--ink); }
.tl__dot .ic { width: 18px; height: 18px; }
.tl > li.is-done .tl__dot { background: var(--ink); color: var(--bg); }
.tl > li.is-now .tl__dot { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 6px var(--surface-3); }
.tl__when { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: 0; line-height: 36px; }
.tl h3 { font-size: var(--fs-body); }
.tl p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.9; margin-top: 4px; }

/* 流れ（大きなステップ） */
.flow { list-style: none; display: grid; gap: 20px; counter-reset: f; }
.flow > li { counter-increment: f; display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-l); container-type: inline-size; }
@media (min-width: 760px) { .flow > li { grid-template-columns: 96px 1fr; gap: 28px; } }
.flow__no { font-family: var(--f-en); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; }
.flow__no::before { content: counter(f, decimal-leading-zero); }
.flow h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: var(--fs-lg); }
.flow p { margin-top: 10px; color: var(--ink-2); }
.flow .checks { margin-top: 16px; font-size: var(--fs-sm); }

/* ---------- 7. 料金シミュレーター（チェックボックス + :has()） ---------- */
.sim { display: grid; gap: 24px; padding: clamp(22px, 4vw, 44px); border-radius: var(--r-xl); background: var(--surface); border: 1.5px solid var(--ink); }
@media (min-width: 900px) { .sim { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; } }
.sim__opts { display: grid; gap: 14px; }
.opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; min-height: 76px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .2s, background-color .2s; }
.opt input { appearance: none; -webkit-appearance: none; margin: 0; width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--ink); display: grid; place-items: center; cursor: pointer; background: var(--surface); }
.opt input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--bg); border-bottom: 2.5px solid var(--bg); transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.opt input:checked { background: var(--ink); }
.opt input:checked::after { opacity: 1; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.opt--fixed { cursor: default; }
.opt--fixed .lock { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--bg); }
.opt--fixed .lock .ic { width: 18px; height: 18px; }
.opt b { display: block; line-height: 1.5; }
.opt small { display: block; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.6; }
.opt .num { font-weight: 800; font-size: var(--fs-md); white-space: nowrap; }
.sim__out { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--ink); color: var(--bg); }
.sim__out small { color: var(--g-200); font-size: var(--fs-sm); }
.sim__res { display: none; }
.sim__res .big { font-family: var(--f-en); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.sim__res .big small { font-family: var(--f-ja); font-size: var(--fs-md); letter-spacing: 0; margin-left: 6px; color: var(--g-200); }
.sim__res .year { margin-top: 6px; font-size: var(--fs-md); font-weight: 700; }
.sim__res ul { list-style: none; margin-top: 16px; display: grid; gap: 6px; padding-top: 16px; border-top: 1.5px solid var(--g-700); font-size: var(--fs-sm); }
.sim__res li { display: flex; justify-content: space-between; gap: 12px; }
/* 4通りの出し分け */
.sim:has(#sim-sv:checked):has(#sim-dm:checked)         .sim__res[data-case="sv-dm"],
.sim:has(#sim-sv:checked):has(#sim-dm:not(:checked))   .sim__res[data-case="sv"],
.sim:has(#sim-sv:not(:checked)):has(#sim-dm:checked)   .sim__res[data-case="dm"],
.sim:has(#sim-sv:not(:checked)):has(#sim-dm:not(:checked)) .sim__res[data-case="none"] { display: block; }
@supports not selector(:has(*)) {
  .sim__res[data-case="sv-dm"] { display: block; }
  .sim__fallback { display: block !important; }
}
.sim__fallback { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sim__res { animation: fadeUp .45s var(--ease); }
}

/* ---------- 8. フォーム ---------- */
.form { display: grid; gap: 28px; }
.fieldset { border: 1.5px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); margin: 0; background: var(--surface); display: grid; gap: 26px; min-width: 0; }
.fieldset > legend { font-size: var(--fs-lg); font-weight: 700; padding: 0 10px; margin-left: -10px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field > label, .field__label { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 44px; line-height: 1.6; }
.req, .opt-tag { font-size: var(--fs-xs); font-weight: 700; padding: 1px 10px; border-radius: 999px; line-height: 1.8; }
.req { background: var(--ink); color: var(--bg); }
.opt-tag { border: 1.5px solid var(--line-2); color: var(--ink-2); }
.hint { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; }
.err { display: none; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); gap: 8px; align-items: center; }
.err::before { content: "!"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: var(--fs-xs); flex: none; }
.input, .select, .textarea {
  width: 100%; min-height: var(--h-input); padding: 12px 16px;
  font: 400 var(--fs-body)/1.6 var(--f-en); letter-spacing: .02em; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 180px; resize: vertical; line-height: 1.9; }
.select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right 24px center, right 18px center; background-size: 6px 6px; background-repeat: no-repeat; }
.input::placeholder, .textarea::placeholder { color: var(--g-600); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--surface-3); }
/* 入力チェック（:user-invalid ＝触ったあとだけ赤くしない…モノクロなので太枠＋斜線＋文言） */
.input:user-invalid, .select:user-invalid, .textarea:user-invalid {
  border-width: 2.5px; border-color: var(--ink); border-style: dashed;
  background-color: var(--surface-2);
}
.field:has(:user-invalid) .err { display: flex; }
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; min-height: 64px; border-radius: 16px; border: 1.5px solid var(--line-2); cursor: pointer; background: var(--surface); transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--surface); cursor: pointer; }
.choice input::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .2s var(--ease); }
.choice input:checked::after { transform: scale(1); }
.choice input[type="checkbox"] { border-radius: 8px; }
.choice input[type="checkbox"]::after { width: 11px; height: 6px; border-radius: 0; background: none; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-2px) rotate(-45deg) scale(0); }
.choice input[type="checkbox"]:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.choice input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.choice b { display: block; line-height: 1.5; }
.choice small { display: block; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.7; margin-top: 2px; }
.choice:has(input:user-invalid) { border-style: dashed; border-width: 2.5px; border-color: var(--ink); }
/* ハニーポット（画面外の1px欄） */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 16px; justify-items: start; }

/* モーダル（:target） */
.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; }
.modal:target { display: grid; }
.modal__bg { position: absolute; inset: 0; background: oklch(0.145 0 0 / .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal__box { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--surface); color: var(--ink); border-radius: var(--r-l); border: 1.5px solid var(--ink); box-shadow: var(--shadow-l); }
.modal__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: var(--surface); border-bottom: 1.5px solid var(--line); }
.modal__head h2 { font-size: var(--fs-lg); line-height: 1.5; }
.modal__close { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; flex: none; }
.modal__close:hover { background: var(--ink); color: var(--bg); }
.modal__body { padding: 22px; display: grid; gap: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .modal:target .modal__box { animation: pop .35s var(--ease); }
  .modal:target .modal__bg { animation: fade .3s ease; }
}

/* タブ（ラジオボタン + :checked ~） */
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--line); width: fit-content; max-width: 100%; }
.tabs__list label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: var(--fs-sm); }
.tabs__list label:hover { background: var(--surface); }
.tabs__list .count { font-family: var(--f-en); font-size: var(--fs-xs); padding: 0 8px; border-radius: 999px; background: var(--surface-3); line-height: 1.7; }
.tabs__panel { display: none; margin-top: 20px; }

/* ---------- 9. 動き ---------- */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade     { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop      { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes drop     { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob      { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); } }
@keyframes strikeOnce { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dimOnce    { from { opacity: 1; } to { opacity: .5; } }
@keyframes showZero   { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hideFive   { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px); } }
@keyframes travel   { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes spin     { to { rotate: 360deg; } }
@keyframes drift    { from { background-position: 0 0, 0 0; } to { background-position: 64px 64px, 64px 64px; } }
@keyframes rise     { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes reveal   { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes wipe     { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pulse    { 0%, 100% { box-shadow: 0 0 0 0 oklch(0.145 0 0 / .35); } 50% { box-shadow: 0 0 0 10px oklch(0.145 0 0 / 0); } }

@media (prefers-reduced-motion: no-preference) {
  /* 読み込み時の登場 */
  .in { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
  .hero__title .ln { animation: wipe 1.1s var(--ease) both; }
  .hero__title .ln + .ln { animation-delay: .35s; }
  .hero__bg { animation: drift 14s linear infinite; }

  /* 入口が1行ずつ消えていき、最後に「0箇所」で止まる（1回だけ。5には戻らない） */
  .threat__list li::after { animation: strikeOnce .6s var(--d) var(--ease) both; }
  .threat__list li > *    { animation: dimOnce .6s var(--d) ease both; }
  .threat__num .n0 { animation: showZero .6s 3.6s var(--ease) both; }
  .threat__num .n5 { animation: hideFive .5s 3.5s var(--ease) both; }
  .float-card--a { --rot: 3deg;  animation: bob 6s ease-in-out infinite; }
  .float-card--b { --rot: -3deg; animation: bob 7s 1s ease-in-out infinite; }

  .ticker__track { animation: marquee 90s linear infinite; }   /* ゆっくり読めるように */
  .marquee .ticker__track { animation-duration: 36s; }
  .marquee--rev .ticker__track { animation-direction: reverse; }
  .ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }

  .route__track::before { animation: travel var(--t, 4s) var(--ease) infinite; }
  .cta__ring { animation: spin 60s linear infinite; }
  .pulse { animation: pulse 2.4s ease-in-out infinite; }
}

/* スクロール連動（対応ブラウザのみ。非対応なら静止状態で全文が読めます） */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .rv-wipe {
      animation: wipe linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
    .rv-stagger > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
    .stat__num { animation: reveal linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  }
}

/* 動きを減らす設定：すべて止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* 1列のときも、中身の最小幅でグリッドが押し広げられないように */
.hero__grid, .showcase, .pains, .vanish, .split, .can-cannot, .price-hero, .sim,
.flow > li, .grid, .grid-2, .grid-3, .route, .combos, .price-cards, .ft__top { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .grid-2, .grid-3, .combos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow > li { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (min-width: 860px) {
  .vanish { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .can-cannot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-hero { grid-template-columns: auto minmax(0, 1fr); }
  .price-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 18rem minmax(0, 1fr); }
  .sim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); }
}
@media (min-width: 960px) { .pains { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
h1, h2, h3 { overflow-wrap: anywhere; }

/* ---------- 警告の帯（脆弱性が増えている）：トップのメインビジュアル ---------- */
.alert-band {
  position: relative; overflow: clip; padding-block: clamp(56px, 7vw, 96px);
  /* 背景画像：自動で入口を探して回るアクセスの記録（assets/img/alert-bg.svg）。写真に差し替える場合は IMAGE-PROMPTS.md の「alert-bg」 */
  background:
    linear-gradient(90deg, oklch(0.145 0 0 / .94) 0%, oklch(0.145 0 0 / .78) 55%, oklch(0.145 0 0 / .55) 100%),
    url("../img/alert-bg.svg?v=69dca12789") center / cover no-repeat,
    var(--g-1000);
}
/* 黒白の注意縞：1枚のタイルを並べる方式にして、左端が欠けないように */
.alert-band::before, .alert-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: 1;
  background-color: var(--g-1000);
  background-image: linear-gradient(-45deg, var(--g-0) 25%, transparent 25% 50%, var(--g-0) 50% 75%, transparent 75%);
  background-size: 28px 28px;
  background-position: 0 0;
}
.alert-band::before { top: 0; }
.alert-band::after { bottom: 0; }
.alert-band__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .alert-band__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.alert-band__badge {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: var(--fs-md); font-weight: 700; letter-spacing: .2em;
}
.alert-band__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--g-0); color: var(--g-1000); flex: none; }
.alert-band__icon .ic { width: 28px; height: 28px; stroke-width: 2.2; }
.alert-band__en { font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; color: var(--g-300); padding: 2px 10px; border: 1.5px solid var(--g-600); border-radius: 999px; }
.alert-band__title { margin-top: 22px; font-size: clamp(2rem, .9rem + 2.8vw, 3.1rem); line-height: 1.3; letter-spacing: .01em; }
.alert-band__title strong {
  display: inline-block; margin-top: .12em; padding: 0 .18em .04em;
  background: var(--g-0); color: var(--g-1000); border-radius: 10px; white-space: nowrap;
}
.alert-band__sub { margin-top: 22px; font-size: var(--fs-md); color: var(--g-200); max-width: 36rem; }
.alert-band__sub strong { color: var(--g-0); border-bottom: 2px solid var(--g-0); }

/* 5年分の棒グラフ：2025年がいちばん高く、いちばん目立つ */
.surge { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-l); background: oklch(0.145 0 0 / .72); border: 1.5px solid var(--g-700); }
.surge__delta {
  justify-self: start; display: inline-flex; align-items: baseline;
  font-family: var(--f-en); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1;
  padding: 10px 18px; border-radius: 999px; background: var(--g-0); color: var(--g-1000); white-space: nowrap;
}
.surge__delta span { font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700; margin-right: 10px; }
.surge__delta small { font-family: var(--f-ja); font-size: .62em; margin-left: 2px; }
.surge__bars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.7fr); gap: clamp(6px, 1.4vw, 14px); align-items: end;
  height: clamp(230px, 26vw, 300px); margin-bottom: 40px; border-bottom: 2px solid var(--g-0);
}
.surge__col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.surge__bar {
  position: relative; width: 100%; height: calc(var(--h) * .78); flex: none; border-radius: 8px 8px 0 0;
  background: repeating-linear-gradient(-45deg, var(--g-600) 0 5px, var(--g-700) 5px 10px);
  transform-origin: bottom;
}
.surge__val { font-family: var(--f-en); font-weight: 700; font-size: var(--fs-xs); color: var(--g-300); white-space: nowrap; line-height: 1.2; letter-spacing: 0; }
.surge__year { position: absolute; left: 0; right: 0; bottom: -36px; text-align: center; font-size: var(--fs-xs); font-weight: 700; color: var(--g-300); letter-spacing: 0; }
/* 2025年 */
.surge__col.is-now .surge__bar { background: var(--g-0); border-radius: 12px 12px 0 0; box-shadow: 0 0 0 4px oklch(1 0 0 / .18); }
.surge__col.is-now .surge__val { align-self: flex-end; font-weight: 800; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem); color: var(--g-0); letter-spacing: -.01em; }
.surge__col.is-now .surge__val small { font-family: var(--f-ja); font-size: var(--fs-sm); margin-left: 2px; }
.surge__col.is-now .surge__year { font-size: var(--fs-sm); color: var(--g-0); }
.surge__tag {
  position: absolute; left: 50%; top: 14px; translate: -50% 0; white-space: nowrap;
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; padding: 2px 10px; border-radius: 999px;
  background: var(--g-1000); color: var(--g-0);
}
.surge figcaption { font-size: var(--fs-xs); line-height: 1.8; color: var(--g-300); }
.surge figcaption a { color: var(--g-0); }

@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes warn { 0%, 100% { box-shadow: 0 0 0 0 oklch(1 0 0 / .55); } 50% { box-shadow: 0 0 0 14px oklch(1 0 0 / 0); } }
@keyframes stripes { from { background-position: 0 0; } to { background-position: 28px 0; } }
@media (prefers-reduced-motion: no-preference) {
  .surge__bar { animation: grow .9s calc(.4s + var(--i, 0) * .22s) var(--ease) both; }
  .surge__col.is-now .surge__bar { animation-duration: 1.3s; }
  .surge__delta { animation: pop .5s 2.1s var(--ease) both; }
  .pulse-w { animation: warn 1.8s ease-in-out infinite; }
  .alert-band::before { animation: stripes 1.4s linear infinite; }
  .alert-band::after { animation: stripes 1.4s linear infinite reverse; }
}

/* 改行させたくない語のかたまり */
.nw { display: inline-block; white-space: nowrap; }

/* 残るのは、置き場所とドメインだけ */
.keep { list-style: none; display: grid; gap: 10px; margin-block: 18px; }
.keep li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); }
.keep b { display: block; font-size: var(--fs-body); line-height: 1.5; }
.keep small { display: block; color: var(--ink-2); line-height: 1.6; }
.keep__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.keep__ic .ic { width: 24px; height: 24px; }
.keep__who { font-size: var(--fs-xs); font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); white-space: nowrap; }
.keep li.is-out .keep__ic { background: transparent; color: var(--ink); border: 1.5px dashed var(--line-2); }
.keep li.is-out .keep__who { background: transparent; color: var(--ink-2); border: 1.5px solid var(--line-2); }

/* たとえると、こう変わります */
.fx-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 1000px) { .fx-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--surface); border: 1.5px solid var(--line); }
.fx__q { display: flex; align-items: center; gap: 12px; font-size: var(--fs-lg); line-height: 1.45; }
.fx__no { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--f-en); font-size: var(--fs-md); }
.fx__hint { color: var(--ink-2); flex: 1; }
.fx__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who ans" "pics pics"; gap: 6px 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); }
.fx__who { grid-area: who; font-family: var(--f-en); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); }
.fx__ans { grid-area: ans; font-size: var(--fs-md); white-space: nowrap; }
.fx__pics { grid-area: pics; display: flex; flex-wrap: wrap; gap: 6px; }
.fx__pics .ic { width: 34px; height: 34px; padding: 5px; border-radius: 9px; background: var(--surface-2); color: var(--ink-2); }
.fx__row.is-qw { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fx__row.is-qw .fx__who { color: var(--g-300); }
.fx__row.is-qw .fx__pics .ic { background: var(--g-0); color: var(--g-1000); stroke-width: 2.2; }

/* 先着20社の限定価格 */
.was { display: block; font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); letter-spacing: 0; text-decoration-thickness: 2px; }
.pcard__price .was { margin-bottom: 4px; }
.pcard .pcard__note { font-weight: 700; color: var(--ink); margin-top: -6px; }
.offer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-bottom: 28px; padding: 18px clamp(18px, 3vw, 28px); border-radius: var(--r-l);
  background: var(--g-1000); color: var(--g-0); border: 1.5px solid var(--g-1000);
}
.offer p { margin: 0; max-width: none; }
.offer__tag { font-weight: 700; font-size: var(--fs-sm); padding: 4px 14px; border-radius: 999px; background: var(--g-0); color: var(--g-1000); white-space: nowrap; }
.offer__tag b, .offer__left b { font-family: var(--f-en); font-size: 1.3em; margin-inline: 2px; }
.offer__main { flex: 1 1 260px; font-size: var(--fs-md); font-weight: 700; line-height: 1.6; }
.offer__main s { color: var(--g-300); font-size: .85em; text-decoration-thickness: 2px; margin-inline: 4px; }
.offer__main strong { font-family: var(--f-en); font-size: 1.6em; font-weight: 800; letter-spacing: -.01em; margin-inline: 4px; }
.offer__main small { color: var(--g-300); font-size: var(--fs-sm); }
.offer__left { font-weight: 700; font-size: var(--fs-md); padding: 6px 18px; border-radius: 14px; border: 2px dashed var(--g-0); white-space: nowrap; }
.inv .offer { background: var(--g-0); color: var(--g-1000); }

/* 乗り換えだけでもOK（保守料金が高い方へ） */
.switch {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); box-shadow: var(--shadow-l);
}
@media (min-width: 1000px) { .switch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.switch__head h2 { margin-top: 10px; }
.switch__head .lead { margin-top: 18px; color: var(--ink-2); }
.switch__head .btn-row { margin-top: 26px; }
.switch__cond {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 18px;
  border-radius: 14px; border: 1.5px solid var(--g-0); font-size: var(--fs-sm); line-height: 1.8;
}
.switch__cond .ic { width: 24px; height: 24px; flex: none; margin-top: .2em; }
.switch__cond strong { border-bottom: 2px solid currentColor; }
.switch__steps { list-style: none; display: grid; gap: 14px; }
.switch__steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--surface-2); }
.switch__steps h3 { font-size: var(--fs-md); line-height: 1.5; }
.switch__steps p { margin-top: 4px; color: var(--ink-2); font-size: var(--fs-sm); }
.switch__no { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--g-0); color: var(--g-1000); font-family: var(--f-en); font-weight: 800; font-size: var(--fs-md); }
.switch__note { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--ink-3); max-width: none; }
.switch-sec { padding-block: clamp(56px, 6vw, 96px); }
@media (max-width: 359.98px) { .nw { white-space: normal; } }   /* とても狭い画面では、はみ出すより折り返す */

/* 警告の帯：PHPの脆弱性ニュース */
.news { list-style: none; display: grid; gap: 12px; margin-top: 24px; max-width: 40rem; }
.news li {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px;
  padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--g-600); background: oklch(0.145 0 0 / .7);
}
@media (min-width: 600px) { .news li { grid-template-columns: 9.5em minmax(0, 1fr); } }
.news__date { font-weight: 700; font-size: var(--fs-sm); color: var(--g-0); }
.news__date time { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--g-0); color: var(--g-1000); white-space: nowrap; }
.news__title { font-size: var(--fs-md); line-height: 1.5; }
.news li p:not(.news__date):not(.news__cve) { margin-top: 4px; font-size: var(--fs-sm); color: var(--g-200); line-height: 1.8; }
.news li strong { color: var(--g-0); }
.news__cve { margin-top: 6px; font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--g-300); letter-spacing: 0; overflow-wrap: anywhere; }
.alert-band__sub + .news + .alert-band__sub { margin-top: 20px; }
.surge__head { font-size: var(--fs-md); font-weight: 700; line-height: 1.5; color: var(--g-0); }
.surge__head b { display: inline-block; padding: 0 .3em; border-radius: 6px; background: var(--g-0); color: var(--g-1000); white-space: nowrap; }
@media (min-width: 980px) { .alert-band__in { align-items: start; } .surge { margin-top: 80px; } }

/* 見出し：「PHPの脆弱性」をいちばん大きく見せる */
.alert-band__title--kw { display: grid; justify-items: start; gap: 14px; line-height: 1.2; }
.alert-band__title--kw .alert-band__kw {
  margin: 0; padding: .06em .22em .1em; border-radius: 14px; white-space: nowrap;
  font-size: clamp(2.6rem, .9rem + 5.6vw, 5.4rem); line-height: 1.15; letter-spacing: .02em;
  background: var(--g-0); color: var(--g-1000);
}
.alert-band__rest { display: block; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.4rem); line-height: 1.4; }
@media (max-width: 699.98px) { .alert-band__title--kw .alert-band__kw { font-size: clamp(2.2rem, .4rem + 9.5vw, 2.7rem); } }
/* 「深刻なものが、相次いで公表。」は1行で（列の幅に合わせて文字の大きさを決める） */
.alert-band__head { container-type: inline-size; }
.alert-band__rest { white-space: nowrap; font-size: min(clamp(1.5rem, 1rem + 1.8vw, 2.4rem), calc(100cqi / 14.2)); }

/* パソコンの大きな画面（フルHDなど）：警告の帯をちょうどブラウザ1画面分に収める
   ヘッダー（約78px）を引いた高さいっぱいに広げ、中身は2列＋ニュース横並びで詰める */
@media (min-width: 1200px) and (min-height: 720px) {
  .alert-band {
    min-height: calc(100vh - 77px);   /* パソコンではアドレスバーが伸び縮みしないので vh で十分 */
    display: flex; align-items: center;
    padding-block: clamp(36px, 4.5vh, 56px);
  }
  .alert-band > .wrap { width: 100%; }
  .alert-band__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: stretch; gap: 56px; }
  .alert-band__title { margin-top: 16px; }
  .alert-band__title--kw { gap: 10px; }
  .alert-band__sub { margin-top: 16px; max-width: 46rem; }
  .news { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin-top: 20px; align-items: stretch; }
  .news li { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 16px 18px; }
  .surge { margin-top: 0; display: flex; flex-direction: column; gap: 14px; }
  .surge__delta { align-self: flex-start; }
  .surge__bars { flex: 1 1 auto; height: auto; min-height: 200px; }
}

/* ヒーローの数字：何の数字かを、ひと言の説明つきで */
.metrics > div { display: flex; flex-direction: column; }
.metrics dt { font-size: var(--fs-sm); color: var(--ink); }
.metrics dd.metrics__num { margin-top: 4px; }
.metrics dd.metrics__note { margin-top: 6px; font-family: var(--f-ja); font-size: var(--fs-xs); line-height: 1.7; letter-spacing: .02em; white-space: normal; color: var(--ink-2); font-weight: 500; }
@media (max-width: 639.98px) {
  /* スマホ：1行に1項目。左に数字、右に説明 */
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metrics > div, .metrics > div + div {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "num dt" "num note";
    column-gap: 16px; align-items: center; padding: 14px 0; border-left: 0; border-bottom: 1.5px solid var(--line);
  }
  .metrics dt { grid-area: dt; align-self: end; }
  .metrics dd.metrics__num { grid-area: num; margin: 0; min-width: 3.2em; }
  .metrics dd.metrics__note { grid-area: note; align-self: start; margin-top: 0; }
}

/* 「新規制作費 ¥0」のカード：黒い箱と重なっても見えるよう、白地に黒枠 */
.float-card--b { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px var(--bg), var(--shadow-l); }
.float-card--b small { color: var(--ink-2); }

/* ことばの説明（FAQ） */
.words { display: grid; gap: 14px; margin: 0; }
.words > div { background: var(--bg, #fff); border: 2px solid currentColor; border-radius: 14px; padding: 20px 24px; }
.words dt { font-size: var(--fs-md); font-weight: 800; line-height: 1.5; margin-bottom: 6px; }
.words dd { margin: 0; font-size: var(--fs-body); line-height: 1.9; }
@media (min-width: 900px) { .words { grid-template-columns: 1fr 1fr; } }
/* 料金表の補足ラベル */
.th-sub { display: block; font-size: var(--fs-xs); font-weight: 500; line-height: 1.5; margin-top: 4px; opacity: .85; }

/* 文字のロゴ（QWS ＋ 正式名） */
.brand { align-items: center; gap: .4em; padding-top: 0; }
.brand__abbr { font-family: var(--f-en); font-weight: 800; font-size: 1.15em; line-height: 1; letter-spacing: -.03em; }
.brand__name { font-family: var(--f-en); font-weight: 700; font-size: .5em; line-height: 1.15; letter-spacing: 0; white-space: nowrap; padding-left: .55em; border-left: 2px solid currentColor; }
.brand__name { font-size: var(--fs-xs); }


/* よくある攻撃 → 静的なHTMLなら（改良版：枠や丸を使わず、文字の強弱で見せる） */
.ticker { background: var(--g-0); border-block: 1.5px solid var(--g-1000); }
.ticker__label {
  position: relative; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  padding: 14px var(--pad); letter-spacing: .04em; white-space: nowrap;
}
.ticker__k1 { font-size: var(--fs-xs); font-weight: 500; color: var(--g-400); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.ticker__k2 { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; }
.ticker__k2 .ic, .ticker__label .ic { width: 18px; height: 18px; rotate: 0deg; }
.ticker__view { padding-block: 0; display: flex; align-items: center; }
.ticker .ticker__group { gap: 0; padding-right: 0; }
.ticker .ticker__group li {
  gap: 14px; padding: 22px 36px; border: 0; border-radius: 0; background: none;
  font-size: var(--fs-body); font-weight: 700; line-height: 1.4; position: relative;
}
.ticker .ticker__group li::after {   /* 区切り：細い斜線 */
  content: ""; position: absolute; right: 0; top: 50%; width: 1.5px; height: 28px; translate: 0 -50%; rotate: 20deg; background: var(--g-300);
}
.tk__atk { color: var(--g-500); font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--g-400); }
.tk__atk .ic { width: 22px; height: 22px; color: var(--g-400); }
.tk__arrow .ic { width: 22px; height: 22px; color: var(--g-1000); }
.tk__ok { padding: 0; border-radius: 0; background: none; color: var(--g-1000); font-weight: 800; }
.tk__ok .ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--g-1000); color: var(--g-0); stroke-width: 3; }
@media (min-width: 900px) {
  .ticker__label { padding: 14px 44px 14px 28px; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); margin-right: -18px; }
}
.ticker__k1 { color: var(--g-300); }
@media (max-width: 899px) { .ticker__label { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 10px var(--pad); } }

/* 先着20社キャンペーン：制作費と保守の2行 */
.offer__main { display: grid; gap: 4px; }
.offer__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.offer__item { font-size: var(--fs-sm); color: var(--g-300); min-width: 5.5em; }
.offer__main .offer__row s { margin: 0; }
.offer__to { color: var(--g-400); font-weight: 400; }
.offer__main strong { margin: 0; }
.offer__main > small { display: block; margin-top: 4px; font-weight: 500; }
.inv .offer .offer__item, .inv .offer .offer__to { color: var(--g-600); }
.float-card__was { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); text-decoration-thickness: 1.5px; }

/* 自然な改行：日本語は文節（意味のまとまり）で折り返し、行末に1〜2文字だけ残らないように */
body { word-break: auto-phrase; line-break: strict; }
p, li, dd, dt, td, th, summary, figcaption, label, small, .lead { text-wrap: pretty; }
summary, th, dt, .chip, .btn, .badge, .card h3, .pcard h3 { text-wrap: balance; }
/* 英数字や長い言葉が狭い所で収まらないときだけ、途中で折り返す */
p, li, dd, dt, td, th, summary, small, label { overflow-wrap: break-word; }
@media (max-width: 359px) { .brand__name { display: none; } }
.offer__tag { white-space: normal; text-align: center; }

/* フッターのメニュー：見出しは灰色の小見出し＋下線、リンクは白文字に「›」 */
.ft__cols h3 { font-family: var(--f-ja); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; color: var(--g-400); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1.5px solid var(--g-800); }
.ft__cols a { font-family: var(--f-ja); color: var(--g-0); font-weight: 500; gap: 8px; align-items: baseline; padding-block: 10px; min-height: 44px; }
.ft__cols a::before { content: "›"; color: var(--g-500); font-weight: 700; }
.ft__cols li { line-height: 1.5; }
.ft__cols a { display: inline-flex; align-items: flex-start; }
@media (min-width: 900px) and (max-width: 1199px) { .ft__top { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) { .ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offer__main { flex: 1 1 420px; }
.offer__main strong { white-space: nowrap; }
@media (max-width: 399px) { p, h3, span, summary, small, b, strong, li { overflow-wrap: anywhere; } }
.table th[scope="col"], .table td[data-th="金額"], .was { white-space: nowrap; }
@media (max-width: 1099px) {
  .offer__main { order: 3; flex-basis: 100%; }
  .offer__left { margin-left: auto; }
}

/* ---------- トップ：PHP脆弱性のお知らせ（最初に重ねて表示。閉じるとQWSのページ） ---------- */
.alert-dlg {
  position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: clamp(10px, 2.5vw, 36px); border: 0; color: inherit; overflow-y: auto; overscroll-behavior: contain;
  background: oklch(0.145 0 0 / .62); backdrop-filter: blur(6px);
}
.alert-dlg:not([open]) { display: none; }
.alert-dlg::backdrop { background: transparent; }
html:has(.alert-dlg[open]) { overflow: hidden; }
.alert-dlg .alert-band {
  min-height: 0; max-width: 1640px; margin-inline: auto; border-radius: var(--r-l);
  box-shadow: 0 30px 80px oklch(0 0 0 / .5); padding-block: clamp(64px, 7vw, 88px) clamp(28px, 3vw, 40px);
}
.alert-dlg .alert-band::before { border-radius: var(--r-l) var(--r-l) 0 0; }
.alert-dlg .alert-band::after { border-radius: 0 0 var(--r-l) var(--r-l); }
.alert-dlg__top { position: absolute; top: 24px; right: clamp(14px, 2.5vw, 28px); z-index: 3; margin: 0; }
.alert-dlg__x {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px;
  border: 2px solid var(--g-0); background: var(--g-0); color: var(--g-1000);
  font: 700 var(--fs-sm)/1 var(--f-ja); letter-spacing: .04em; cursor: pointer;
}
.alert-dlg__x .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.alert-dlg__x:hover { background: var(--g-1000); color: var(--g-0); }
.alert-dlg__bottom { position: relative; display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 40px); }
.alert-dlg__go { background: var(--g-0); color: var(--g-1000); border-color: var(--g-0); }
.alert-dlg__go:hover { background: transparent; color: var(--g-0); }
.alert-dlg__x:focus-visible, .alert-dlg__go:focus-visible { outline: 3px solid var(--g-0); outline-offset: 3px; }
/* 大きい画面では、窓が1画面に収まるように（以前の「1画面ぴったり」の設定を窓の中用に） */
@media (min-width: 1200px) and (min-height: 720px) {
  .alert-dlg .alert-band { min-height: 0; display: block; padding-block: 72px 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .alert-dlg[open] { animation: dlgIn .35s var(--ease) both; }
  @keyframes dlgIn { from { opacity: 0; } to { opacity: 1; } }
}
/* ヒーローの「もう一度見る」入口 */
.alert-reopen {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 22px; padding: 6px 18px 6px 8px;
  border-radius: 999px; border: 1.5px solid var(--g-1000); background: var(--g-0); color: var(--g-1000);
  font: 700 var(--fs-sm)/1.4 var(--f-ja); cursor: pointer; text-align: left;
}
.alert-reopen .ic { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--g-1000); color: var(--g-0); flex: none; }
.alert-reopen:hover { background: var(--g-1000); color: var(--g-0); }
.alert-reopen:hover .ic { background: var(--g-0); color: var(--g-1000); }
/* 閉じるボタンは、窓をスクロールしても右上に付いてくる */
.alert-dlg .alert-band { padding-top: 26px; }
.alert-dlg__top { position: sticky; top: 14px; right: auto; height: 0; display: flex; justify-content: flex-end; padding-inline: clamp(14px, 2.5vw, 28px); }
.alert-dlg__x { box-shadow: 0 6px 20px oklch(0 0 0 / .35); }
.alert-dlg .alert-band__in { margin-top: clamp(46px, 5vw, 60px); }
@media (max-width: 479px) { .alert-dlg .alert-band__in { margin-top: 72px; } }

/* ---------- お知らせの窓：画面の高さに合わせて中身を自動で縮める（パソコン・タブレット横向き） ----------
   窓そのものを「大きさの基準（container）」にして、cqh（窓の高さの1%）で文字や余白を決める */
.alert-dlg { container: alertdlg / size; }
@media (min-width: 1000px) {
  .alert-dlg { padding: clamp(10px, 2.4vh, 32px) clamp(14px, 2.4vw, 36px); }
  .alert-dlg .alert-band {
    min-height: 100cqh; display: flex; flex-direction: column;
    padding-block: clamp(22px, 3.2cqh, 34px) clamp(16px, 2.6cqh, 30px);
  }
  .alert-dlg__top { position: absolute; top: clamp(20px, 3cqh, 30px); right: clamp(18px, 2vw, 30px); height: auto; padding: 0; }
  .alert-dlg .alert-band__in {
    flex: 1 1 auto; margin-top: 0; width: 100%;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); align-items: stretch; gap: clamp(28px, 3.4vw, 56px);
  }
  .alert-dlg .alert-band__head { display: flex; flex-direction: column; justify-content: center; }
  .alert-dlg .alert-band__badge { font-size: clamp(1rem, 2.2cqh, 1.25rem); }
  .alert-dlg .alert-band__icon { width: clamp(38px, 5.2cqh, 52px); height: clamp(38px, 5.2cqh, 52px); }
  .alert-dlg .alert-band__title { margin-top: clamp(8px, 1.6cqh, 16px); }
  .alert-dlg .alert-band__title--kw { gap: clamp(4px, 1cqh, 10px); }
  .alert-dlg .alert-band__title--kw .alert-band__kw { font-size: min(clamp(2.4rem, .9rem + 5.6vw, 5.4rem), 9.6cqh); }
  .alert-dlg .alert-band__rest { font-size: min(clamp(1.5rem, 1rem + 1.8vw, 2.4rem), calc(100cqi / 14.2), 4.2cqh); }
  .alert-dlg .alert-band__sub { margin-top: clamp(8px, 1.6cqh, 16px); font-size: clamp(15px, 2.15cqh, 21px); line-height: 1.75; max-width: 46rem; }
  .alert-dlg .news { margin-top: clamp(10px, 2cqh, 20px); gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .alert-dlg .news li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: clamp(4px, .8cqh, 8px); padding: clamp(10px, 1.6cqh, 16px) 18px; }
  .alert-dlg .news__title { font-size: clamp(16px, 2.1cqh, 21px); }
  .alert-dlg .news li p:not(.news__date):not(.news__cve) { font-size: clamp(15px, 1.75cqh, 17px); line-height: 1.7; }
  .alert-dlg .surge { margin-top: clamp(40px, 6cqh, 64px); display: flex; flex-direction: column; gap: clamp(8px, 1.4cqh, 14px); padding: clamp(14px, 2cqh, 26px); }
  .alert-dlg .surge__head { font-size: clamp(16px, 2.1cqh, 21px); }
  .alert-dlg .surge__bars { flex: 1 1 0; height: auto; min-height: 110px; margin-bottom: 30px; }
  .alert-dlg .surge__col.is-now .surge__val { font-size: clamp(1.4rem, 3.4cqh, 2.4rem); }
  .alert-dlg .surge figcaption { line-height: 1.6; }
  .alert-dlg__bottom { margin-top: clamp(12px, 2cqh, 28px); }
  .alert-dlg__go { min-height: clamp(48px, 6cqh, 60px); padding-block: 0; }
}
/* 高さが足りないときは、補足の情報から順に省いて1画面に収める */
@container alertdlg (max-height: 900px) { .alert-dlg .news__cve { display: none; } }
@container alertdlg (max-height: 780px) { .alert-dlg .surge__delta { display: none; } }
@container alertdlg (max-height: 680px) { .alert-dlg .news li p:not(.news__date) { display: none; } }

/* スマホ・タブレット縦向き：縦に長くなるので、補足を省いて短くする（入りきらない分は窓の中でスクロール） */
@media (max-width: 999px) {
  .alert-dlg .news__cve, .alert-dlg .surge__delta { display: none; }
  .alert-dlg .alert-band__sub { font-size: var(--fs-body); line-height: 1.75; }
  .alert-dlg .news { margin-top: 18px; }
  .alert-dlg .news li { padding: 12px 16px; gap: 6px; }
  .alert-dlg .surge { margin-top: 0; gap: 12px; }
  .alert-dlg .surge__bars { height: 170px; }
  .alert-dlg .alert-band__in { gap: 28px; }
}

/* ---------- トップのヒーロー：パソコンでは、ヘッダーを除いた画面の高さ1枚に収める ----------
   文字・余白・図を画面の高さ（vh）に合わせて縮め、3つの数字は下に横1列で並べる */
@media (min-width: 1000px) {
  .hero {
    min-height: calc(100svh - 77px); display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(20px, 4vh, 64px);
  }
  .hero > .hero__grid { width: 100%; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(40px, 5vw, 72px); row-gap: 0; align-items: center; align-content: center; }
  .hero__grid > div { display: contents; }
  .hero__grid > div > * { grid-column: 1; }
  .hero__grid > .mv { grid-column: 2; grid-row: 1 / span 5; align-self: center; }
  .hero__grid > div > .metrics { grid-column: 1 / -1; grid-row: 6; }
  .alert-reopen { justify-self: start; margin-bottom: clamp(10px, 2vh, 22px); }
  .hero__title { font-size: min(clamp(2.6rem, 1rem + 4.6vw, 5.6rem), 7.4vh); }
  .hero__lead { margin-top: clamp(10px, 2.2vh, 28px); font-size: clamp(15px, 2.05vh, 21px); line-height: 1.8; max-width: 36rem; }
  .hero .chips { margin-top: clamp(10px, 2vh, 26px); }
  .hero .btn-row { margin-top: clamp(12px, 2.6vh, 34px); }
  .hero .btn--l { min-height: clamp(48px, 6.4vh, 62px); }
  .hero__grid > div > .metrics { margin-top: clamp(16px, 3.4vh, 44px); }
  .metrics > div { padding-top: clamp(8px, 1.4vh, 16px); }
  .metrics dd.metrics__num { font-size: clamp(1.6rem, 4.4vh, 2.5rem); }
  /* 右の図 */
  .threat__bar { padding-block: clamp(8px, 1.3vh, 14px); }
  .threat__body { padding-block: clamp(12px, 2.2vh, 22px) clamp(12px, 2.2vh, 24px); }
  .threat__list { margin-top: clamp(8px, 1.4vh, 14px); gap: clamp(4px, .8vh, 8px); }
  .threat__list li { padding-block: clamp(6px, 1.1vh, 12px); }
  .threat__total { margin-top: clamp(8px, 1.6vh, 18px); padding-top: clamp(8px, 1.4vh, 16px); }
  .threat__num b { font-size: clamp(1.8rem, 4.4vh, 2.4rem); }
}
@media (min-width: 1000px) { .threat__list li { min-height: clamp(40px, 6vh, 52px); } .threat__total { padding-block: clamp(8px, 1.4vh, 16px); } }
@media (min-width: 1000px) {
  .mv { padding-block: clamp(14px, 3vh, 36px) clamp(22px, 5vh, 56px); }
  .threat__list li { min-height: clamp(36px, 5.2vh, 52px); padding-block: 4px; }
  /* 3つの数字：数字の横に説明を置いて、高さを抑える */
  .hero__grid > div > .metrics > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "dt dt" "num note"; column-gap: 12px; align-items: center; }
  .hero__grid > div > .metrics dt { grid-area: dt; }
  .hero__grid > div > .metrics dd.metrics__num { grid-area: num; }
  .hero__grid > div > .metrics dd.metrics__note { grid-area: note; margin-top: 4px; line-height: 1.6; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .threat__bar, .threat__cap { display: none; }
  .threat__list { margin-top: 0; }
}
@media (min-width: 1000px) {
  .hero__title { font-size: min(clamp(2.6rem, 1rem + 4.6vw, 5.6rem), 6.8vh); }
}
@media (min-width: 1000px) and (max-height: 940px) { .threat__bar { display: none; } }
@media (min-width: 1000px) and (max-height: 860px) { .hero .chips { display: none; } .hero .btn-row { margin-top: clamp(14px, 2.6vh, 30px); } }
@media (min-width: 1000px) and (max-width: 1199px) { .hero__lead br { display: none; } }
@media (min-width: 1000px) and (max-width: 1199px) { .hero__lead { font-size: clamp(15px, 1.9vh, 19px); line-height: 1.7; } .hero__title { font-size: min(3.4rem, 6vh); } }
@media (min-width: 1000px) and (max-height: 760px) { .hero { padding-block: 14px; } }
@media (min-width: 1000px) and (max-width: 1199px) and (max-height: 820px) { .hero__grid > div > .metrics { margin-top: 10px; } .alert-reopen { margin-bottom: 8px; } .hero .btn-row { margin-top: 12px; } }
@media (min-width: 1000px) and (max-height: 940px) { .hero .float-card { display: none; } .mv { padding-block: 0; } }

/* スマホ用の短い出典（パソコンでは長い説明を表示） */
.surge__src { display: none; font-size: var(--fs-xs); color: var(--g-300); line-height: 1.6; }
.surge__src a { color: var(--g-0); }

/* ---------- スマホ・縦向きタブレット：お知らせの窓を1画面に ---------- */
@media (max-width: 999px) {
  .alert-dlg { padding: 8px; }
  .alert-dlg .alert-band { min-height: 100cqh; display: flex; flex-direction: column; padding-block: 20px 14px; border-radius: 18px; }
  .alert-dlg__top { top: 12px; }
  .alert-dlg__x { min-height: 44px; padding: 0 16px 0 12px; }
  .alert-dlg .alert-band__in { flex: 1 1 auto; display: flex; flex-direction: column; gap: clamp(12px, 2.2cqh, 22px); margin-top: 0; }
  .alert-dlg .alert-band__badge { min-height: 44px; }
  .alert-dlg .alert-band__icon { width: 40px; height: 40px; }
  .alert-dlg .alert-band__en { display: none; }
  .alert-dlg .alert-band__title { margin-top: clamp(8px, 1.6cqh, 14px); }
  .alert-dlg .alert-band__title--kw { gap: 6px; }
  .alert-dlg .alert-band__more { display: none; }
  .alert-dlg .alert-band__sub { margin-top: clamp(6px, 1.4cqh, 12px); font-size: var(--fs-sm); line-height: 1.7; }
  .alert-dlg .news { margin-top: clamp(8px, 1.6cqh, 14px); gap: 8px; }
  .alert-dlg .news li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 14px; }
  .alert-dlg .news li p:not(.news__date) { display: none; }
  .alert-dlg .news__title { font-size: var(--fs-body); line-height: 1.45; }
  .alert-dlg .surge { flex: 1 1 auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; margin: 0; }
  .alert-dlg .surge__head { font-size: var(--fs-body); }
  .alert-dlg .surge__bars { flex: 1 1 0; height: auto; min-height: 90px; margin-bottom: 30px; }
  .alert-dlg .surge__col.is-now .surge__val { font-size: 1.5rem; }
  .alert-dlg .surge figcaption { display: none; }
  .alert-dlg .surge__src { display: block; }
  .alert-dlg__bottom { margin-top: 12px; }
  .alert-dlg__go { min-height: 52px; width: 100%; justify-content: center; }
}

/* ---------- スマホ・縦向きタブレット：ヒーローを1画面に ---------- */
@media (max-width: 999px) {
  .hero { min-height: calc(100svh - var(--hd-h, 68px)); display: flex; flex-direction: column; justify-content: center; padding-block: 18px 22px; }
  .hero > .hero__grid { width: 100%; gap: clamp(14px, 2.6svh, 28px); }
  .hero__stat, .hero__lead .src, .hero .metrics { display: none; }
  .alert-reopen { margin-bottom: clamp(8px, 1.6svh, 16px); }
  .hero__lead { margin-top: clamp(8px, 1.8svh, 18px); font-size: var(--fs-body); line-height: 1.75; }
  .hero .chips { margin-top: clamp(8px, 1.6svh, 16px); }
  .hero .btn-row { margin-top: clamp(10px, 2svh, 20px); flex-wrap: nowrap; gap: 10px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding-inline: 12px; justify-content: center; white-space: nowrap; }
  .mv { padding: 0; }
  .threat__bar, .threat__cap { display: none; }
  .threat__body { padding: 12px 14px 14px; }
  .threat__list { margin-top: 0; gap: 6px; }
  .threat__list li { min-height: 40px; padding-block: 4px; }
  .threat__total { margin-top: 10px; padding-block: 10px; }
  .threat__num b { font-size: 2rem; }
}
@media (max-width: 999px) and (max-height: 740px) { .hero .chips { display: none; } }
@media (max-width: 380px) { .hero .btn-row .btn { font-size: var(--fs-sm); padding-inline: 8px; } }
@media (max-width: 999px) { .alert-dlg .alert-band__in { align-items: stretch; } }
/* スマホ：さらに詰める */
@media (max-width: 999px) {
  .alert-dlg .news li { padding: 8px 12px; gap: 2px; }
  .alert-dlg .news__date { font-size: var(--fs-xs); }
  .alert-dlg .surge__head { font-size: var(--fs-sm); }
  .alert-dlg .surge__bars { min-height: 70px; }
  .alert-dlg .surge { gap: 8px; padding: 12px 14px; }
}
@media (max-width: 699px) {
  .hero .chips, .mv { display: none; }
  .hero .metrics { display: grid; margin-top: clamp(12px, 2.4svh, 24px); }
  .alert-reopen { font-size: var(--fs-xs); }
}
@media (max-width: 699px) and (max-height: 760px) { .hero .metrics dd.metrics__note { display: none; } }
:root { --hd-h: 77px; }
@media (max-width: 999px) {
  .alert-dlg .news__title { font-size: var(--fs-sm); }
  .alert-dlg .alert-band__in { gap: 12px; }
}
@media (max-width: 999px) and (max-height: 760px) { .alert-dlg .surge { display: none; } }
@media (max-width: 699px) { .hero .metrics dd.metrics__note { display: none; } }
@media (max-width: 699px) and (max-height: 700px) { .hero .metrics { display: none; } }
@media (max-width: 369px) and (max-height: 820px) { .alert-dlg .surge, .hero .metrics { display: none; } }

/* お知らせの窓が開いている間は、ヒーローの動きを一時停止。窓を閉じたら最初から動き出す */
html:has(.alert-dlg[open]) .hero *,
html:has(.alert-dlg[open]) .hero *::before,
html:has(.alert-dlg[open]) .hero *::after { animation-play-state: paused !important; }

/* 攻撃の帯：見出しなし。「問題（灰色）→ 解決（黒の太字）」だけを流す */
.ticker { grid-template-columns: minmax(0, 1fr) !important; }
.tk__atk { color: var(--g-600, #555); font-weight: 500; text-decoration: none; }
.tk__atk .ic { color: var(--g-500); }

/* こんなお悩み：左に見出しと図、右に6項目。パソコンでは左の列が画面に残る */
.ib { display: inline-block; }
.pains__side { display: grid; gap: clamp(20px, 3vw, 36px); }
.pains__side .sec-head { margin-bottom: 0; }
@media (min-width: 960px) {
  .pains { align-items: start; }
  .pains__side { position: sticky; top: calc(77px + 32px); }
}


/* ヒーローの図：取り消し線が1本引かれるたびに 5→4→3→2→1→0 と数字が減る
   線が引き終わる時刻 = .7s + 番号×.55s + .6s。線がほぼ引き終わったところで数字を変える
   動きを止める設定のときは、最初から「0」だけを表示 */
.threat__num .n4, .threat__num .n3, .threat__num .n2, .threat__num .n1 { opacity: 0; }
@keyframes numFirst { 0%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes numTick  { 0% { opacity: 0; transform: translateY(10px); } 18%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
  .threat__num .n5 { animation: numFirst 1.05s 0s linear both; }
  .threat__num .n4 { animation: numTick .55s 1.05s linear both; }
  .threat__num .n3 { animation: numTick .55s 1.6s  linear both; }
  .threat__num .n2 { animation: numTick .55s 2.15s linear both; }
  .threat__num .n1 { animation: numTick .55s 2.7s  linear both; }
  .threat__num .n0 { animation: showZero .3s 3.25s var(--ease) both; }
}

/* 表示までの道のり：2本の進み方を同じ8秒の周期でそろえ、速さの差をはっきり見せる
   「見る人」「サーバー」までは同じ速さ（1段0.5秒）。WordPress はそのあと「プログラム・データ・組み立て」に1段1.5秒ずつかかり6秒で表示、静的なHTMLは2秒で表示。どちらも8秒ごとに同時にやり直す。
   バーが通った段は、黒い枠で光る */
.route { --cycle: 8s; }
.route__row { --span: 6s; }
.route__row--static { --span: 1s; }
@keyframes routeSlow { 0% { transform: scaleX(0); opacity: 1; } 6.25% { transform: scaleX(0.1667); } 12.5% { transform: scaleX(0.3333); } 31.25% { transform: scaleX(0.5000); } 50% { transform: scaleX(0.6667); } 68.75% { transform: scaleX(0.8333); } 75% { transform: scaleX(1.0000); } 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes routeFast { 0% { transform: scaleX(0); opacity: 1; } 6.25% { transform: scaleX(0.2500); } 12.5% { transform: scaleX(0.5000); } 18.75% { transform: scaleX(0.7500); } 25% { transform: scaleX(1.0000); } 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes litW0 { 0%, 6.249% { box-shadow: 0 0 0 0 transparent; } 6.25%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litW1 { 0%, 12.499% { box-shadow: 0 0 0 0 transparent; } 12.5%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litW2 { 0%, 31.249% { box-shadow: 0 0 0 0 transparent; } 31.25%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litW3 { 0%, 49.999% { box-shadow: 0 0 0 0 transparent; } 50%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litW4 { 0%, 68.749% { box-shadow: 0 0 0 0 transparent; } 68.75%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litW5 { 0%, 74.999% { box-shadow: 0 0 0 0 transparent; } 75%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litS0 { 0%, 6.249% { box-shadow: 0 0 0 0 transparent; } 6.25%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litS1 { 0%, 12.499% { box-shadow: 0 0 0 0 transparent; } 12.5%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litS2 { 0%, 18.749% { box-shadow: 0 0 0 0 transparent; } 18.75%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes litS3 { 0%, 24.999% { box-shadow: 0 0 0 0 transparent; } 25%, 94% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: no-preference) {
  .route__row .route__track::before { animation: routeSlow var(--cycle) linear infinite; }
  .route__row--static .route__track::before { animation-name: routeFast; }
  .route__row:not(.route__row--static) .route__steps li:nth-child(1) { animation: litW0 var(--cycle) linear infinite; }
  .route__row:not(.route__row--static) .route__steps li:nth-child(2) { animation: litW1 var(--cycle) linear infinite; }
  .route__row:not(.route__row--static) .route__steps li:nth-child(3) { animation: litW2 var(--cycle) linear infinite; }
  .route__row:not(.route__row--static) .route__steps li:nth-child(4) { animation: litW3 var(--cycle) linear infinite; }
  .route__row:not(.route__row--static) .route__steps li:nth-child(5) { animation: litW4 var(--cycle) linear infinite; }
  .route__row:not(.route__row--static) .route__steps li:nth-child(6) { animation: litW5 var(--cycle) linear infinite; }
  .route__row--static .route__steps li:nth-child(1) { animation: litS0 var(--cycle) linear infinite; }
  .route__row--static .route__steps li:nth-child(2) { animation: litS1 var(--cycle) linear infinite; }
  .route__row--static .route__steps li:nth-child(3) { animation: litS2 var(--cycle) linear infinite; }
  .route__row--static .route__steps li:nth-child(4) { animation: litS3 var(--cycle) linear infinite; }
}

/* 「できること」のカード見出し：言葉の途中で折れないように、<wbr> の位置でだけ改行する
   （Safari は word-break: auto-phrase に未対応のため、区切りを HTML で指定） */
.feature h3 { word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; }

/* 見出し・ボタンなど：言葉の途中では改行しない（どのブラウザでも）
   ビルド時に言葉の区切りへ <wbr> を入れてあるので、そこでだけ折り返す。
   入りきらない長い言葉だけは、はみ出さないように途中で折る */
h1, h2, h3, h4, summary, dt, .btn, .chip, .badge, .eyebrow { word-break: keep-all; overflow-wrap: anywhere; }

/* トップの料金：キャンペーンを1枚のカードに（左に2つの金額、右に説明） */
.camp { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--g-1000); color: var(--g-0); margin-bottom: 28px; }
.camp p { max-width: none; }
.camp__tag { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: var(--g-0); color: var(--g-1000); font-weight: 800; font-size: var(--fs-sm); }
.camp__grid { display: grid; gap: 28px; margin-top: clamp(18px, 2.4vw, 28px); align-items: center; }
.camp__prices { margin: 0; display: grid; }
.camp__prices > div { padding-block: 16px; border-top: 1.5px solid var(--g-800); }
.camp__prices > div:last-child { border-bottom: 1.5px solid var(--g-800); }
.camp__prices dt { font-size: var(--fs-sm); font-weight: 700; color: var(--g-300); }
.camp__prices dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.camp__prices s { color: var(--g-400); font-size: var(--fs-body); text-decoration-thickness: 2px; white-space: nowrap; }
.camp__to .ic { width: 20px; height: 20px; color: var(--g-400); vertical-align: -3px; }
.camp__prices b { font-family: var(--f-en); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.camp__prices small { font-size: var(--fs-sm); font-weight: 700; color: var(--g-200); }
.camp__text h3 { font-size: var(--fs-xl); line-height: 1.45; }
.camp__text p { margin-top: 12px; color: var(--g-200); line-height: 1.9; }
@media (min-width: 900px) {
  .camp__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); }
}

/* ---------- トップ：最初の1画面に、ヒーローと「攻撃 → 防ぎ方」の帯までを収める ----------
   ヒーローの高さ ＝ 画面の高さ − ヘッダー − 帯（73px）。
   そのぶん、省く部分のしきい値も帯の高さだけ上げる */
:root { --tk-h: 73px; }
@media (min-width: 1000px) {
  .hero { min-height: calc(100svh - 77px - var(--tk-h)); }
}
@media (max-width: 999px) {
  .hero { min-height: calc(100svh - var(--hd-h, 77px) - var(--tk-h)); }
}
@media (min-width: 1000px) and (max-height: 1013px) { .threat__bar { display: none; } .mv { padding-block: 0; } }
@media (min-width: 1000px) and (max-height: 933px) { .hero .chips { display: none; } .hero .btn-row { margin-top: clamp(14px, 2.6vh, 30px); } }
@media (min-width: 1000px) and (max-height: 893px) { .threat__bar, .threat__cap { display: none; } .threat__list { margin-top: 0; } }
@media (min-width: 1000px) and (max-height: 833px) { .hero { padding-block: 14px; } }
@media (min-width: 1000px) and (max-width: 1199px) and (max-height: 893px) { .hero__grid > div > .metrics { margin-top: 10px; } .alert-reopen { margin-bottom: 8px; } .hero .btn-row { margin-top: 12px; } }
@media (max-width: 999px) and (max-height: 813px) { .hero .chips { display: none; } }
@media (max-width: 699px) and (max-height: 773px) { .hero .metrics { display: none; } }
@media (max-width: 369px) and (max-height: 893px) { .hero .metrics { display: none; } }
/* 帯まで収めるための追加の詰め（低い画面） */
@media (min-width: 1000px) and (max-height: 800px) {
  .hero { padding-block: 10px; }
  .alert-reopen { margin-bottom: 6px; }
  .hero__lead { line-height: 1.65; margin-top: 8px; }
  .hero .btn--l { min-height: 48px; }
  .hero__grid > div > .metrics { margin-top: 12px; }
  .metrics > div { padding-top: 6px; }
}
@media (min-width: 1000px) and (max-width: 1199px) and (max-height: 800px) { .hero__grid > div > .metrics dd.metrics__note { display: none; } }
@media (min-width: 700px) and (max-width: 999px) { .hero .metrics { display: none; } }
@media (max-width: 699px) and (max-height: 860px) { .hero .metrics { display: none; } }
@media (max-width: 999px) and (max-height: 700px) {
  .hero { padding-block: 10px 12px; }
  .alert-reopen { margin-bottom: 6px; }
  .hero__lead { margin-top: 8px; line-height: 1.65; }
  .hero .btn-row { margin-top: 12px; }
  .hero__title { font-size: min(2.4rem, 6.4svh); }
}
@media (min-width: 700px) and (max-width: 999px) and (max-height: 1100px) { .hero .chips { display: none; } }

/* 「キャンペーン中は、制作費0円」：文中でも目立たせる（黒地に白の太字、0円は大きく） */
.free {
  display: inline; padding: .1em .5em; margin-inline: .1em; border-radius: 8px;
  background: var(--g-1000); color: var(--g-0); font-weight: 800; font-size: 1.1em; line-height: 1.9;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.free__num { font-family: var(--f-en); font-size: 1.3em; letter-spacing: -.01em; margin-left: .1em; }
.inv .free, .switch .free { background: var(--g-0); color: var(--g-1000); }
.free__nw { white-space: nowrap; }

/* 表示までの道のり：最後の段（やっと表示／すぐ表示）は、バーが届いたときに黒に反転して「ゴール」を見せる。
   届くまでは、ほかの段と同じ薄い灰色。動きを止める設定では、最初から黒のまま */
@keyframes goalW { 0%, 74.999% { background: var(--surface-2); color: var(--ink); box-shadow: 0 0 0 0 transparent; }
  75%, 94% { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 3px var(--ink); }
  100% { background: var(--surface-2); color: var(--ink); box-shadow: 0 0 0 0 transparent; } }
@keyframes goalS { 0%, 24.999% { background: var(--surface-2); color: var(--ink); box-shadow: 0 0 0 0 transparent; }
  25%, 94% { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 3px var(--ink); }
  100% { background: var(--surface-2); color: var(--ink); box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: no-preference) {
  .route__row:not(.route__row--static) .route__steps li:last-child { animation: goalW var(--cycle) linear infinite; }
  .route__row--static .route__steps li:last-child { animation: goalS var(--cycle) linear infinite; }
}
/* 制作費0円の強調：「0円」まで黒地に収まるよう、箱の高さを確保する */
.free { display: inline-block; padding: .2em .6em .25em; line-height: 1.45; vertical-align: .05em; }
.free__num { line-height: 1; }

/* 文末の数文字が次の行にぽつんと残らないように（ビルドで「。」の前の数文字を .tail で包む） */
.tail { white-space: nowrap; }

/* 「キャンペーン中は、制作費0円」と「です。」を離さない */
.free-end { white-space: nowrap; }
.free-end .free { white-space: normal; }
.free-end .free { display: inline; padding: .38em .6em .42em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* 「必須」マークを直前の文字と離さない */
.nw2 { white-space: nowrap; }
/* ひとまとまりで収まらないときは、丸ごと次の行へ（幅が足りないときだけ中で折り返す） */
.free-end { display: inline-block; max-width: 100%; white-space: normal; }

/* ハイライト（キャンペーン中は、制作費0円）は途中で改行しない。
   入りきらないときは、ハイライトごと次の行へ送る */
.free, .free-end .free {
  display: inline-block; white-space: nowrap;
  padding: .2em .6em .25em; line-height: 1.45; vertical-align: .05em;
}
.free-end { display: inline-block; max-width: 100%; white-space: normal; }
/* スマホ：「です。」はハイライトの後ろで折り返してよい（ハイライトは割らない） */
@media (max-width: 480px) {
  .free-end { display: inline; }
  .free, .free-end .free { font-size: 1.05em; padding: .2em .45em .25em; letter-spacing: .02em; }
}
/* スマホ：枠の幅に合わせてハイライトの文字を少し小さくし、1行に収める（15px未満にはしない）。
   それでも入らないとても狭い枠だけ、「キャンペーン中は、」の後ろで2段に分ける */
@media (max-width: 480px) {
  p:has(.free) { container-type: inline-size; }
  .free, .free-end .free { font-size: max(15px, min(1.05em, 6.3cqi)); }
}
@container (max-width: 234px) {
  .free, .free-end .free { white-space: normal; display: inline; padding: .3em .45em .35em; line-height: 2.1; }
}
@media (max-width: 480px) { p:has(.free) { width: 100%; } }
.switch li > div { flex: 1 1 auto; min-width: 0; }
/* スマホ：乗り換えの手順カードは「番号＋見出し」を1行に、本文はカードの幅いっぱいに使う */
@media (max-width: 600px) {
  .switch__steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: center; padding: 16px; }
  .switch__steps li > div { display: contents; }
  .switch__no { width: 36px; height: 36px; }
  .switch__steps li p { grid-column: 1 / -1; margin-top: 8px; }
}
.cta { overflow-x: clip; }
/* フッターのリンクは、言葉の途中で折り返さない */
.ft__cols a { word-break: keep-all; overflow-wrap: anywhere; }

/* 流れる帯：文節ごとの区切り（auto-phrase）を使わない。
   一部のブラウザで「ログイン画面を　置きません」のように文節の間が空くため */
.tk__atk, .tk__ok { word-break: normal; line-break: auto; white-space: nowrap; text-wrap: nowrap; }

/* 本文は無理に改行位置を調整しない：ふつうの折り返し（行の端まで使う）にする。
   見出し・ボタン・ハイライトは、これまでどおり言葉の途中で折れない */
/* 改行は文節（言葉のまとまり）の切れ目で。「オ／ンライン」のような言葉の途中では折らない */
body { word-break: auto-phrase; }
p, li, dd, td, figcaption, small, label, .lead { text-wrap: wrap; }

/* リード文：1文ごとに改行。文の中は「、」の切れ目で優先して折り返す
   （「、」までのかたまりが入りきらないときだけ、その中で言葉の切れ目で折る） */
.lead .cl { display: inline-block; max-width: 100%; }
/* スマホ幅では「、」の優先をやめ、言葉の切れ目でふつうに折り返す（短い行が続かないように） */
@media (max-width: 600px) { .lead .cl { display: inline; } }
/* リード文は、見出しと同じ幅まで使う（本文の段落は 42rem のまま） */
p.lead { max-width: none; }

/* 文章の幅：右に何もないときは、右側まで使う（全体）。
   横に並ぶ部品がある所は、その列の幅で自然に折り返す */
p, .sec-head, .prose, .news { max-width: none; }
.lead .cl { display: inline; }

/* お支払いの目安：合計の行を太い線で区切る */
.pay .pay__sum th, .pay .pay__sum td { border-top: 2px solid var(--ink); }
.pay td small { color: var(--ink-2); }

/* ヒーローの出典は、本文のあとで改行して1行にする */
@media (min-width: 1000px) { .hero__lead .src { display: block; margin-top: 4px; } }

/* 「ひとつでも当てはまれば、作り直しどきです。」：黒い帯で目立たせる */
.pains__verdict { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 20px 24px; border-radius: var(--r); background: var(--ink); color: var(--bg); font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 700; line-height: 1.5; max-width: none; }
.pains__verdict .ic { flex: none; width: 1.4em; height: 1.4em; }
.pains__verdict strong { font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .25em; }

/* 料金カード：月額のほかにかかる費用（ドメインの代金など）を、枠で分けて示す */
.pcard__plus { margin-top: 12px; padding: 10px 14px; border: 1.5px dashed var(--line-2); border-radius: var(--r); font-size: var(--fs-sm); color: var(--ink-2); }
.pcard__plus b { display: block; color: var(--ink); font-size: var(--fs-body); }

/* 中央ぞろえの締めくくり（申し込みの案内）では、小見出しの左の横棒を出さない */
.cta .eyebrow::before { content: none; }

/* 比較表：QWS の列を黒い見出しで目立たせ、各項目に印（◎○△×）を付ける */
.compare th, .compare td { vertical-align: middle; }
.compare thead th small { display: block; font-size: var(--fs-xs); font-weight: 500; opacity: .75; }
.compare thead th.is-static { background: var(--ink); color: var(--bg); }
.compare td { color: var(--ink-2); }
.compare .cmp { display: flex; align-items: center; gap: 12px; }
.compare .cmp > span:not(.mk):not(.sr), .compare .cmp strong { flex: 1; min-width: 0; }
.compare td.is-static strong { color: var(--ink); font-size: var(--fs-body); }
.mk { flex: none; width: 1.6em; text-align: center; font-size: 1.4rem; font-weight: 800; line-height: 1; color: var(--ink); }
.mk--mid, .mk--bad { color: var(--ink-2); }
.compare .cmp__sub { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); }
.compare-legend { text-align: right; }
@media (min-width: 641px) { .compare th:first-child { width: 20%; } .compare th:not(:first-child), .compare td { width: 40%; } }

/* 「たとえると」：QWS の欄は、大きなアイコン＋大きな答え＋ひとこと説明で、ひと目でわかるように */
.fx__row.is-qw { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pics who" "pics ans" "sub sub"; gap: 2px 16px; padding: 18px 20px; }
.fx__row.is-qw .fx__pics .ic { width: 56px; height: 56px; padding: 11px; border-radius: 14px; }
.fx__row.is-qw .fx__who { font-family: var(--f-ja); color: var(--g-200); }
.fx__row.is-qw .fx__ans { font-size: var(--fs-xl); line-height: 1.25; }
.fx__sub { grid-area: sub; margin-top: 12px; padding-top: 12px; border-top: 1.5px solid var(--g-700); font-size: var(--fs-sm); line-height: 1.7; color: var(--g-100); }

/* 比較表「ページの作り方」：良し悪しではないので、評価の記号ではなく絵のアイコン */
.mk--pic { display: inline-flex; align-items: center; justify-content: center; }
.mk--pic .ic { width: 22px; height: 22px; color: var(--ink-2); }

/* サービス「できること／できないこと」：見出しを項目と見分けやすく（大きな文字・丸いマーク・下線） */
.can-cannot .cc__head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-size: var(--fs-xl); line-height: 1.3; }
.cc__badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.cc__badge .ic { width: 24px; height: 24px; stroke-width: 2.6; }
.cc__head--yes .cc__badge { background: var(--ink); color: var(--bg); }
.cc__head--no .cc__badge { background: var(--surface-2); color: var(--ink); border: 2px solid var(--ink); }
.can-cannot .cc__head { font-size: var(--fs-lg); }

/* 料金のまとめ：「デザイン案までは無料。」「お支払いは、案を選んでから。」をそれぞれ1行に */
.camp__title { font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.5; }
.camp__title .nw { display: inline-block; white-space: nowrap; }
.camp__title .nw { display: block; }
.camp__text { container-type: inline-size; }
.camp__text h3.camp__title { font-size: min(var(--fs-xl), 6.3cqi); }
.camp__text h3.camp__title .nw, .camp__text h3.camp__title .nw * { white-space: nowrap; }
.camp__text h3.camp__title { font-size: clamp(15px, 6.3cqi, var(--fs-xl)); }

/* ===== キャンペーン価格：通常価格に「キャンペーン中」の札を重ねる ===== */
.cp { display: inline-grid; justify-items: start; vertical-align: baseline; white-space: nowrap; }
.cp__old { grid-area: 1 / 1; color: inherit; opacity: .65; text-decoration: line-through; text-decoration-thickness: max(.07em, 2px); }
.cp__new {
  grid-area: 2 / 1; justify-self: end; z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center;
  margin-top: -.42em; margin-right: -.3em; padding: .14em .42em .18em;
  border-radius: .22em; background: var(--ink); color: var(--on-ink);
  box-shadow: 0 0 0 3px var(--surface); transform: rotate(-4deg);
  font-family: var(--f-ja); line-height: 1.1; letter-spacing: 0; opacity: 1;
}
.cp__tag { font-size: max(.3em, 15px); font-weight: 700; }
.cp__new b { font-family: var(--f-en); font-size: max(.68em, 20px); font-weight: 800; letter-spacing: -.01em; }
.camp .cp__new { background: var(--g-0); color: var(--g-1000); box-shadow: 0 0 0 3px var(--g-1000); }
/* 文章の中：取り消し線の通常価格と、黒い札 */
.cpt s, .cpt__new { white-space: nowrap; }
.nwi { white-space: nowrap; }
.cpt s { opacity: .6; text-decoration-thickness: 2px; }
.cpt__new { display: inline-block; margin: 0 .2em 0 .35em; padding: 0 .5em; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; line-height: 1.6; }
.camp .cpt__new { background: var(--g-0); color: var(--g-1000); }
.camp__prices .cp__old { font-size: inherit; color: inherit; white-space: nowrap; }
.camp__prices .cp__new { font-size: .8em; }
.nw-ib { display: inline-block; }

/* メールのリンク（アドレスは画面に出さない。押すと宛先入りでメールソフトが開く） */
.mlink { display: inline-flex; align-items: center; gap: .25em; font-weight: 700; white-space: nowrap; vertical-align: baseline; }
.mlink .ic { width: 1.15em; height: 1.15em; flex: none; align-self: center; }

/* ===== v4：料金（2つのプラン・ページ数別の月額・回数の数え方・オプション・契約の要点） ===== */
.sub-title { font-size: var(--fs-lg); line-height: 1.5; }
.sub-title small { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.plans { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); border: 1.5px solid var(--line-2); background: var(--surface); }
.plan--main { border: 3px solid var(--ink); }
.plan__tag { justify-self: start; display: inline-flex; padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: var(--fs-xs); }
.plan__tag--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.plan__name { font-size: var(--fs-lg); }
.plan__fees { margin: 0; display: grid; }
.plan__fees > div { padding-block: 12px; border-top: 1.5px solid var(--line); }
.plan__fees > div:last-child { border-bottom: 1.5px solid var(--line); }
.plan__fees dt { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.plan__fees dd { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.plan__fees b { font-family: var(--f-en); font-size: 2.2rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.plan__fees small { font-size: var(--fs-sm); color: var(--ink-2); }
.plan .checks li { font-size: var(--fs-sm); line-height: 1.8; }

.fees th[scope="row"] { white-space: nowrap; }
.fees__notes { margin-top: 16px; }
.fees__notes li { font-size: var(--fs-sm); line-height: 1.85; }

.count-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .count-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.count-grid h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-body); }
.count-grid h3 .ic { width: 24px; height: 24px; flex: none; }
.count-grid li { font-size: var(--fs-sm); line-height: 1.85; }

.opt-cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .opt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard .pcard__only { justify-self: start; font-weight: 800; color: var(--ink); border-bottom: 2px solid var(--ink); line-height: 1.5; }
.pcard .pcard__self { padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); color: var(--ink); }
.pcard__self b { display: block; }

.camp__body { margin-top: clamp(16px, 2vw, 24px); }
.contract-list { gap: 16px; }
.contract-list li { font-size: var(--fs-sm); line-height: 1.85; }
.contract-list .ic { flex: none; }
.camp .contract-list strong { color: var(--g-0); }

.sim-table td small { display: block; font-size: var(--fs-xs); color: var(--ink-2); font-weight: 400; }
.sim-table td { white-space: nowrap; }
@media (max-width: 759px) { .sim-table td { white-space: normal; } }
.pcard .pcard__price { font-size: 2.6rem; line-height: 1.1; color: var(--ink); }
.pcard .pcard__price small { font-size: var(--fs-sm); }
.sub-title + .contract-list { margin-top: 18px; }
.sub-title { margin-bottom: 18px; }
.nw-ib { white-space: nowrap; }   /* 中の「、」だけが次の行に落ちないように */

/* ===== v4：申込フォーム（オプションの枠・契約の要点・クーポン） ===== */
.opts { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: clamp(16px, 2.4vw, 24px); margin: 0; display: grid; gap: 22px; min-width: 0; }
.opts > legend { padding: 0 8px; margin-left: -8px; }
.opts > legend small { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.opts__off { display: none; font-weight: 700; }
form:has(#plan-only:checked) .opts > :not(legend):not(.opts__off) { opacity: .45; }
form:has(#plan-only:checked) .opts__off { display: block; }
.opts:disabled .choice { cursor: not-allowed; }
.input--short { max-width: 20em; }
.agree-box { border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(16px, 2.4vw, 24px); background: var(--surface-2); }
.agree-box__title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-body); }
.agree-box__title .ic { width: 24px; height: 24px; flex: none; }
.agree-box__list { margin: 12px 0 0; display: grid; }
.agree-box__list > div { padding-block: 10px; border-top: 1px solid var(--line); }
.agree-box__list dt { font-weight: 800; font-size: var(--fs-sm); }
.agree-box__list dd { margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.85; color: var(--ink); }

/* ===== v4：ヒーローの図。動きがなくても「5 → 0」と読める（数字のカウントダウンはやめた） ===== */
.threat__total > span:first-child { display: grid; gap: 2px; }
.threat__total .threat__scope { font-size: var(--fs-xs); font-weight: 700; opacity: .8; }
.threat__total .threat__num { display: inline-flex; align-items: baseline; gap: 6px; font-size: var(--fs-sm); white-space: nowrap; }
.threat__num .threat__from { display: inline-flex; align-items: baseline; gap: 2px; opacity: .6; }
.threat__num .threat__from s { font-family: var(--f-en); font-size: 1.6rem; font-weight: 800; line-height: 1; text-decoration-thickness: 3px; }
.threat__num .threat__arrow { font-size: 1.4rem; line-height: 1; font-weight: 800; }
.threat__num b { display: inline; font-family: var(--f-en); font-size: 2.4rem; line-height: 1; font-weight: 800; }

/* ===== v4：PHPのお知らせ（出典・最終更新日） ===== */
.news li p.news__src { margin-top: 6px; font-size: var(--fs-xs); color: var(--g-200); line-height: 1.8; }
.news__src a { color: var(--g-0); }
.news__updated { margin-top: 14px; font-size: var(--fs-xs); font-weight: 700; color: var(--g-200); }

/* ===== v4 B-1：ヘッダー直下のお知らせ帯（読み込み時のダイアログはやめた） ===== */
.notice-bar { margin: 0; background: var(--g-1000); color: var(--g-0); }
.notice-bar a { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px; min-height: 48px; padding: 8px clamp(16px, 3vw, 32px); color: inherit; text-decoration: none; font-weight: 700; font-size: var(--fs-sm); line-height: 1.5; text-align: center; }
.notice-bar a > .ic { width: 22px; height: 22px; flex: none; }
.notice-bar__more { display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid currentColor; white-space: nowrap; }
.notice-bar__more .ic { width: 18px; height: 18px; }
.notice-bar a:hover .notice-bar__more, .notice-bar a:focus-visible .notice-bar__more { border-bottom-color: transparent; }
.notice-bar a:focus-visible { outline: 3px solid var(--g-0); outline-offset: -6px; }
#php-alert { scroll-margin-top: var(--hd-h, 77px); }
#php-alert:focus { outline: none; }
/* お知らせ帯：スマホでは2行に収める（アイコンと文を左寄せで横並び、「くわしく」は文の後ろ） */
@media (max-width: 599px) {
  .notice-bar a { justify-content: flex-start; flex-wrap: nowrap; gap: 10px; text-align: left; min-height: 0; padding: 8px 16px; }
  .notice-bar a > span:not(.notice-bar__more) { flex: 1; }
  .notice-bar__more { font-size: var(--fs-xs); }
}

/* ===== 4つの特長（B-2）：PCは横に4つ、スマホは縦並び ===== */
.pillars-sec { border-bottom: 1.5px solid var(--line); }
.pillars__title { font-size: var(--fs-lg); margin-bottom: 24px; }
.pillars { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1.5px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.pillar__head { display: flex; align-items: center; gap: 14px; }
.pillar__head .icon-box { width: 48px; height: 48px; border-radius: 14px; }
.pillar__head .icon-box .ic { width: 24px; height: 24px; }
.pillar h3 { font-size: var(--fs-md); }
.pillar p { font-size: var(--fs-sm); line-height: 1.9; color: var(--ink-2); }
.pillar > .link { margin-top: auto; align-self: flex-start; }
/* 小さな「5箇所→0箇所」：ヒーローの図が出ないスマホ幅（699px以下）だけ */
.pillar__mini { display: none; }
@media (max-width: 699px) {
  .pillar__mini { display: block; padding: 12px 14px; border-radius: var(--r); background: var(--ink); color: var(--bg); }
  .pillar .pillar__mini p { color: inherit; }
  .pillar .pillar__mini-cap { font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; }
  .pillar .pillar__mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; line-height: 1.2; }
  .pillar__mini-from, .pillar__mini-to { display: grid; gap: 2px; font-weight: 700; }
  .pillar__mini-from small, .pillar__mini-to small { font-size: var(--fs-xs); }
  .pillar__mini-from { color: var(--g-300, #c8c8c8); }
  .pillar__mini-from s { font-family: var(--f-en); font-size: 1.6rem; text-decoration-thickness: 3px; }
  .pillar__mini-to b { font-family: var(--f-en); font-size: 2.4rem; }
  .pillar__mini-arrow { font-size: 1.5rem; font-weight: 700; }
}

/* ===== 月2〜3回の更新なら、WordPressはいりません（B-3） ===== */
.nowp { background: var(--bg); }
.nowp > ul { margin-top: 20px; }
.nowp li { font-size: var(--fs-sm); line-height: 1.9; }
.nowp--qws { border: 2.5px solid var(--ink); }
#no-wp .source { margin-top: 24px; }

/* ===== 更新は送るだけ（B-5）：3ステップの図を2つ ===== */
@media (min-width: 760px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#update .sub-title { margin-bottom: 18px; }
#update .source { margin-top: 32px; }

/* ===== 対応できるかチェック（B-6） ===== */
.check { display: grid; gap: 28px; }
.check__legend { font-size: var(--fs-lg); }
.check__multi { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
.check-result { margin-top: 48px; padding: clamp(24px, 4vw, 40px); border: 2.5px solid var(--ink); border-radius: var(--r-l); background: var(--surface); display: grid; gap: 20px; scroll-margin-top: calc(var(--hd-h, 77px) + 16px); }
.check-result:focus { outline: none; }
.check-result[hidden], .check-result [hidden] { display: none; }
.check-result__title { font-size: var(--fs-lg); line-height: 1.5; }
.check-result__title > span { display: inline-flex; align-items: center; gap: 10px; }
.check-result__title .ic { width: 30px; height: 30px; flex: none; }
.check-result__list li { font-size: var(--fs-sm); line-height: 1.9; }
.check-result__notes:not(:has(li:not([hidden]))) { display: none; }
.check-result__est { display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); }
.check-result__est dt { font-weight: 700; }
.check-result__est dd { margin: 4px 0 0; font-size: var(--fs-md); font-weight: 700; }
.check-result__est .check-result__sub { font-size: var(--fs-sm); font-weight: 400; color: var(--ink-2); line-height: 1.8; }
.check-result__go { margin-top: 4px; }
.prefill-note { margin-bottom: 24px; font-size: var(--fs-sm); font-weight: 700; }
@media (max-width: 599px) {
  .check-result { padding: 20px 16px; }
  .check-result__est { padding: 14px; }
  .check-result__est dd { font-size: var(--fs-body); }
}
/* 「対応できるかチェック」のボタン：スマホでは横いっぱいにして、1〜2行で読めるように */
@media (max-width: 599px) {
  .btn-row > .btn[href="check.html"] { flex: 1 1 100%; justify-content: center; text-align: center; }
}
@media (max-width: 599px) {
  .hero .btn-row { flex-wrap: wrap; }
  .hero .btn-row > .btn[href="check.html"] { flex: 1 1 100%; white-space: normal; }
}
/* 「結果を見る」は JavaScript が動くときだけ表示（.btn の display より hidden を優先） */
#check-run[hidden] { display: none; }

/* ===== フェーズC ===== */
/* C-3 運営者紹介 */
.about-sec { border-top: 1.5px solid var(--line); }
.about { display: grid; gap: 28px; align-items: start; }
@media (min-width: 700px) { .about { grid-template-columns: 180px 1fr; gap: 40px; } }
.about__photo { margin: 0; }
.about__ph { width: 160px; aspect-ratio: 1; border-radius: var(--r-l); border: 1.5px dashed var(--line-2); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
.about__ph .ic { width: 56px; height: 56px; }
.about__body { display: grid; gap: 14px; justify-items: start; }
.about__body h2 { font-size: var(--fs-lg); }
.about__list { display: grid; gap: 6px; margin: 0; }
.about__list > div { display: flex; gap: 16px; }
.about__list dt { font-weight: 700; min-width: 4.5em; }
.about__list dd { margin: 0; }
/* C-4 なぜこの価格でできるのか */
.price-why { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 28px; padding: 16px 20px; border-radius: var(--r); background: var(--surface-2); font-size: var(--fs-sm); line-height: 1.8; }
.price-why .ic { width: 24px; height: 24px; flex: none; margin-top: .15em; }
.check-result__sub-list { margin-top: 6px; }
.check-result__sub-list li { font-size: var(--fs-sm); }
.checks .check-result__sub-list li { display: list-item; }
