/* ==========================================================
   WordPress・PHP 緊急対応 LP
   トーン：セキュリティ勧告書（生成りの紙 × 紺インク × 警告色1色）
   ========================================================== */

:root {
  --paper: #f4f0e6;
  --paper-2: #ebe5d6;
  --paper-3: #fffdf8;
  --ink: #142338;
  --ink-2: #1e3150;
  --ink-line: rgba(244, 240, 230, 0.14);
  --text: #1b2433;
  --muted: #586273;
  --line: #d3cbb7;
  --signal: #e8541e;        /* 大きな文字・面に使う */
  --signal-text: #b93d0c;   /* 小さな文字に使う（コントラスト確保） */
  --ok: #24705a;

  --f-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 1px 0 rgba(20, 35, 56, .06), 0 18px 40px -24px rgba(20, 35, 56, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background-color: var(--paper);
  /* 方眼紙 */
  background-image:
    linear-gradient(rgba(20, 35, 56, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 56, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

/* 紙のざらつき */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.13 0 0 0 0 0.22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 700; }
h1, h2, h3 { margin: 0; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-feature-settings: normal; letter-spacing: 0; }
.sp { display: none; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- ボタン ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 24px;
  border: 2px solid var(--bg);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(20, 35, 56, .55); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--signal); --fg: #fff; }
.btn-primary:hover { background: #d84a15; }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { --bg: transparent; --fg: var(--paper); border-color: rgba(244, 240, 230, .5); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; min-height: 64px; }
.btn-block { width: 100%; }
.btn-note { font-size: 12px; font-weight: 400; opacity: .85; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 230, .92);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.brand-mark path:last-child { stroke: var(--signal); }
.brand-text { font-weight: 700; font-size: 15px; line-height: 1.2; display: flex; flex-direction: column; }
.brand-text small { font-weight: 400; font-size: 11px; color: var(--muted); }
.header-nav { display: flex; gap: 22px; font-size: 14px; }
.header-nav a { text-decoration: none; color: var(--muted); }
.header-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ファーストビュー ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); position: relative; }
.hero::after {
  /* 斜めの警告帯 */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--signal) 14px 28px);
  opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

.advisory-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--signal-text);
  border-radius: 999px;
  color: var(--signal-text);
  font-size: 13px;
  font-weight: 700;
  background: rgba(232, 84, 30, .06);
}
.advisory-tag .mono { font-weight: 500; font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(232, 84, 30, .6); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 84, 30, .55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 84, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 84, 30, 0); }
}

.hero-title {
  margin-top: 24px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  text-wrap: balance;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: normal;
  color: var(--signal);
  background: linear-gradient(transparent 72%, rgba(232, 84, 30, .18) 72%);
}
.hero-lead { margin-top: 24px; font-size: clamp(15px, 1.6vw, 17px); max-width: 36em; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-small { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 勧告カード */
.advisory-card {
  position: relative;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-top: 6px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: var(--shadow);
  transform: rotate(.6deg);
}
.advisory-card::before {
  /* 角のスタンプ */
  content: "緊急";
  position: absolute;
  top: -22px; right: 18px;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border: 2.5px solid var(--signal);
  border-radius: 50%;
  color: var(--signal);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  background: var(--paper-3);
  transform: rotate(-14deg);
}
.card-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); letter-spacing: .08em; padding-right: 60px; }
.score { display: flex; align-items: center; gap: 18px; margin: 14px 0 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.score-num { font-size: 72px; font-weight: 700; line-height: 1; color: var(--signal); }
.score-meta { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.score-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.score-bar { display: block; height: 8px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.score-bar i { display: block; height: 100%; background: linear-gradient(90deg, #f0a33a, var(--signal)); border-radius: inherit; transform-origin: left; animation: grow 1.2s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.score-scale { font-size: 10px; color: var(--muted); white-space: nowrap; }
.card-list { margin: 0; display: grid; gap: 10px; }
.card-list div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; font-size: 14px; line-height: 1.6; }
.card-list dt { color: var(--muted); font-size: 12px; padding-top: 2px; }
.card-list dd { margin: 0; }
.card-list dd.mono { font-size: 13px; }
.card-src { margin-top: 14px; font-size: 11px; color: var(--muted); text-align: right; }

/* ---------- セクション共通 ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .section-sub { color: rgba(244, 240, 230, .72); }
.section-paper2 { background: var(--paper-2); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-no { font-size: 13px; font-weight: 700; color: var(--signal-text); letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.section-no::after { content: ""; width: 48px; height: 1.5px; background: currentColor; }
.section-ink .section-no { color: var(--signal); }
.section-head h2 {
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  text-wrap: balance;
}
.section:not(.section-ink) .section-head h2 { color: var(--ink); }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ---------- 01 タイムライン ---------- */
.timeline { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 0; border-top: 2px solid var(--ink); position: relative; }
.tl-item { padding: 28px 24px 8px; position: relative; border-right: 1px solid var(--line); }
.tl-item:last-child { border-right: 0; }
.tl-item::before { content: ""; position: absolute; top: -8px; left: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.tl-item.is-now { background: var(--paper-3); box-shadow: var(--shadow); }
.tl-item.is-now::before { background: var(--signal); border-color: var(--signal); }
.tl-date { font-size: 14px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.now-badge { font-size: 10px; letter-spacing: .12em; padding: 2px 8px; background: var(--signal); color: #fff; border-radius: 2px; }
.tl-item h3 { margin: 8px 0 12px; font-size: 22px; font-family: var(--f-mono); color: var(--ink); }
.tl-item h3 span { display: block; font-family: var(--f-body); font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.tl-item > p:last-child { font-size: 15px; }
.ticks { display: grid; gap: 10px; font-size: 15px; padding-bottom: 20px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--signal); }

.stat-line { margin-top: 48px; padding: 24px 0 0; border-top: 1px solid var(--line); font-size: clamp(16px, 2vw, 20px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.stat-num { font-family: var(--f-display); font-size: clamp(36px, 5vw, 52px); color: var(--ink); line-height: 1; margin: 0 4px; }
.stat-num .mono { font-size: 1.05em; }
.stat-src { font-size: 13px; color: var(--muted); }

/* ---------- 02 チェックリスト ---------- */
.check-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.check-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.check-result { margin-top: 28px; font-size: 15px; padding: 14px 18px; border-left: 3px solid rgba(244, 240, 230, .3); color: rgba(244, 240, 230, .8); transition: border-color .2s, color .2s; }
.check-result.is-hit { border-color: var(--signal); color: var(--paper); }
.check-result a { color: var(--signal); font-weight: 700; }
.checklist { display: grid; gap: 10px; }
.checklist label {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: rgba(244, 240, 230, .04);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.checklist label:hover { background: rgba(244, 240, 230, .08); }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.checklist span { position: relative; padding-left: 40px; font-size: 16px; line-height: 1.6; }
.checklist span::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 24px; height: 24px; border: 2px solid rgba(244, 240, 230, .5); border-radius: 3px;
  transition: background .15s, border-color .15s;
}
.checklist span::after {
  content: ""; position: absolute; left: 8px; top: 50%;
  width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0;
  transform: translateY(-62%) rotate(45deg) scale(0); transition: transform .15s;
}
.checklist input:checked + span::before { background: var(--signal); border-color: var(--signal); }
.checklist input:checked + span::after { transform: translateY(-62%) rotate(45deg) scale(1); }
.checklist label:has(input:checked) { border-color: rgba(232, 84, 30, .6); background: rgba(232, 84, 30, .1); }
.checklist input:focus-visible + span::before { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- 03 リスク ---------- */
.risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.risk { padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .5); }
.risk-wide { grid-column: 1 / -1; background: var(--paper-3); }
.risk-no { font-size: 12px; font-weight: 700; color: var(--signal-text); }
.risk h3 { margin: 6px 0 8px; font-size: 20px; color: var(--ink); }
.risk p { font-size: 15px; color: var(--muted); }

/* ---------- 04 難しい理由 ---------- */
.order-diagram { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; padding: 20px 24px; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius); }
.order-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.order-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; counter-reset: s; }
.order-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; color: var(--ink); font-size: 15px; }
.order-steps li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; }
.order-steps li:not(:last-child)::after { content: "→"; margin-left: 8px; margin-right: -2px; color: var(--muted); font-weight: 400; }
.order-steps li:not(:last-child) { border-color: transparent; padding-right: 0; }
.order-steps li.is-last { background: var(--signal); border-color: var(--signal); color: #fff; }
.order-steps li.is-last span { background: #fff; color: var(--signal); }

.reason-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.reason-list h3 { font-size: 19px; color: var(--ink); display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); margin-bottom: 12px; }
.reason-list h3 .mono { font-size: 14px; color: var(--signal-text); }
.reason-list p { font-size: 15px; }

/* ---------- 05 サービス ---------- */
.service-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.service-steps li { counter-increment: step; position: relative; padding: 52px 22px 24px; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.service-steps li:hover, .js .service-steps li.fade.is-in:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-steps li::before { content: "STEP " counter(step, decimal-leading-zero); position: absolute; top: 18px; left: 22px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--signal-text); letter-spacing: .08em; }
.service-steps li.is-option { background: transparent; border-style: dashed; }
.service-steps li.is-option::before { content: "OPTION"; color: var(--muted); }
.service-steps h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.service-steps p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 2px; background: var(--ink); color: var(--paper); vertical-align: middle; margin-left: 6px; line-height: 1.6; }

.report-sample { margin: 48px auto 0; max-width: 640px; padding: 22px 24px 20px; background: var(--paper-3); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); transform: rotate(-.5deg); }
.report-sample figcaption { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 12px; letter-spacing: .04em; }
.report-sample table { width: 100%; border-collapse: collapse; font-size: 14px; }
.report-sample th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 400; padding: 6px 8px; border-bottom: 1.5px solid var(--ink); }
.report-sample td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.report-sample td:first-child { font-weight: 700; color: var(--ink); }
.report-sample .before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(185, 61, 12, .6); }
.report-sample .after { color: var(--ok); font-weight: 700; }

/* ---------- 06 選ばれる理由 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink-line); }
.feature-grid article { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--ink-line); }
.feature-grid article + article { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.feature-grid h3 { font-size: 18px; margin-bottom: 10px; color: var(--paper); }
.feature-grid h3::before { content: ""; display: block; width: 20px; height: 3px; background: var(--signal); margin-bottom: 16px; }
.feature-grid p { font-size: 14.5px; color: rgba(244, 240, 230, .75); }

/* ---------- 07 料金 ---------- */
.price-table { border-top: 2px solid var(--ink); }
.price-row { display: grid; grid-template-columns: 1.1fr 1.6fr .9fr; gap: 16px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.price-row:hover { background: rgba(255, 253, 248, .7); }
.price-row.is-main { background: var(--paper-3); border-left: 4px solid var(--signal); padding-left: 12px; }
.p-name { font-weight: 700; font-size: 17px; color: var(--ink); }
.p-for { font-size: 14.5px; color: var(--muted); }
.p-price { text-align: right; font-size: 15px; color: var(--ink); white-space: nowrap; }
.p-price .mono { font-size: 26px; font-weight: 700; margin-right: 2px; }
.p-price small { font-size: 13px; color: var(--muted); }
.is-free .p-price .mono { color: var(--signal-text); }
.campaign { margin-top: 28px; padding: 18px 22px; border: 1.5px dashed var(--signal-text); border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: rgba(232, 84, 30, .05); }
.campaign-label { font-size: 12px; font-weight: 700; color: #fff; background: var(--signal-text); padding: 3px 10px; border-radius: 2px; }

/* ---------- 08 流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--ink); }
.flow li { position: relative; padding-right: 12px; }
.flow li > .mono { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--ink); font-weight: 700; color: var(--ink); font-size: 14px; }
.flow li:first-child > .mono { background: var(--signal); border-color: var(--signal); color: #fff; }
.flow p { margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.6; }
.flow small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 09 FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 36px; position: relative; font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 19px; font-family: var(--f-mono); color: var(--signal-text); font-size: 17px; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--signal-text); }
.faq details p { padding: 0 8px 22px 36px; font-size: 15px; color: var(--text); position: relative; }
.faq details p::before { content: "A"; position: absolute; left: 0; top: 0; font-family: var(--f-mono); color: var(--muted); font-size: 17px; line-height: 1.6; }

/* ---------- 10 フォーム ---------- */
.contact { background-image: radial-gradient(ellipse at 10% 0%, rgba(232, 84, 30, .18), transparent 55%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.contact-tel { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
.contact-tel p { font-size: 13px; color: rgba(244, 240, 230, .7); }
.contact-tel a { display: inline-block; margin: 6px 0; font-size: 26px; font-weight: 700; color: var(--paper); text-decoration: none; }
.contact-tel a:hover { color: var(--signal); }

.form { background: var(--paper-3); color: var(--text); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); border-top: 6px solid var(--signal); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form-notice { font-size: 13.5px; line-height: 1.7; padding: 12px 14px; background: rgba(232, 84, 30, .07); border-left: 3px solid var(--signal); margin-bottom: 24px; }
.form-notice b { color: var(--signal-text); display: block; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 8px; padding: 0; }
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 2px; line-height: 1.6; }
.req { background: var(--signal-text); color: #fff; }
.opt { background: var(--paper-2); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* iOS のズーム防止 */
  line-height: 1.6;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 35, 56, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--signal-text); background: #fff8f4; }
.field-error { margin-top: 6px; font-size: 13px; color: var(--signal-text); font-weight: 700; }
.hint { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; background: #fff; transition: all .15s; }
.choices label:hover span { border-color: var(--ink); }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choices input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.agree { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.agree input { width: 22px; height: 22px; accent-color: var(--signal); flex: none; }
.agree a { color: var(--ink); font-weight: 700; }
.agree .req { margin-left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin-top: 16px; font-size: 14.5px; line-height: 1.7; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 16px; background: #eef6f2; border-left: 3px solid var(--ok); color: #164b3c; }
.form-status.is-error { padding: 16px; background: #fff1ea; border-left: 3px solid var(--signal-text); color: #7a2a08; }

/* ---------- 会社情報 ---------- */
.company { padding: 64px 0; border-top: 1px solid var(--line); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.h-small { font-size: 15px; color: var(--ink); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.company-list { margin: 0; display: grid; gap: 6px; font-size: 14.5px; }
.company-list div { display: grid; grid-template-columns: 6em 1fr; }
.company-list dt { color: var(--muted); }
.company-list dd { margin: 0; }
.sources { display: grid; gap: 8px; font-size: 14px; }
.sources li { padding-left: 16px; position: relative; }
.sources li::before { content: "↗"; position: absolute; left: 0; color: var(--muted); font-size: 12px; top: 2px; }
.sources a { color: var(--ink); text-underline-offset: 3px; }
.updated { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: rgba(244, 240, 230, .75); font-size: 13px; padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a { color: rgba(244, 240, 230, .85); }
.footer-note { margin-left: auto; font-family: var(--f-mono); font-size: 11px; opacity: .7; }

/* ---------- スマホ用固定ボタン ---------- */
.sticky-cta { display: none; }

/* ---------- 表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-copy .reveal:nth-child(1) { animation-delay: .05s; }
.hero-copy .reveal:nth-child(2) { animation-delay: .15s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .3s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .42s; }
.hero-copy .reveal:nth-child(5) { animation-delay: .5s; }
.advisory-card.reveal { animation-delay: .35s; animation-name: rise-card; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-card { from { opacity: 0; transform: translateY(20px) rotate(2deg); } to { opacity: 1; transform: rotate(.6deg); } }

.motion-done .reveal, .motion-done .score-bar i { animation: none; opacity: 1; transform: none; }
.motion-done .advisory-card.reveal { transform: rotate(.6deg); }

.js .fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .fade.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .fade { opacity: 1; transform: none; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(32px, 7.4vw, 56px); }
  .advisory-card, .motion-done .advisory-card.reveal { max-width: 520px; transform: none; }
  @keyframes rise-card { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .tl-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 20px 16px 28px; }
  .tl-item:last-child { border-bottom: 0; }
  .tl-item::before { top: 26px; left: -8px; }
  .check-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .check-grid .section-head, .contact-grid .section-head { position: static; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 22px 0; border-left: 0; }
}

@media (max-width: 680px) {
  body { font-size: 15px; background-size: 22px 22px; padding-bottom: 72px; }
  .sp { display: inline; }
  .header-inner { height: 56px; gap: 12px; }
  .brand-text { font-size: 14px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .advisory-card { padding: 20px 18px 16px; }
  .score-num { font-size: 60px; }
  .card-list div { grid-template-columns: 1fr; gap: 0; }
  .risk-grid { grid-template-columns: 1fr; }
  .risk { padding: 22px 20px; }
  .reason-list { grid-template-columns: 1fr; gap: 28px; }
  .order-diagram { padding: 16px; }
  .order-steps li { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article + article { padding: 22px 0; border-left: 0; }
  .price-row { grid-template-columns: 1fr auto; grid-template-areas: "name price" "for for"; gap: 4px 12px; padding: 18px 8px; }
  .price-row.is-main { padding-left: 10px; }
  .p-name { grid-area: name; font-size: 16px; }
  .p-for { grid-area: for; font-size: 13.5px; }
  .p-price { grid-area: price; }
  .p-price .mono { font-size: 21px; }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow li { display: flex; gap: 16px; align-items: center; padding: 10px 0; }
  .flow li::after { content: ""; position: absolute; left: 22px; top: 56px; bottom: -10px; width: 2px; background: var(--ink); }
  .flow li:last-child::after { display: none; }
  .flow p { margin-top: 0; }
  .flow li > .mono { flex: none; }
  .faq summary { font-size: 15px; }
  .company-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-note { margin-left: 0; }

  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(20, 35, 56, .96);
    border-top: 3px solid var(--signal);
    transform: translateY(110%);
    transition: transform .3s ease;
  }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta .btn { padding: 12px 10px; font-size: 15px; }
}

/* お急ぎの場合の案内（フォーム横） */
.contact-urgent { margin-top: 6px; font-size: 16px; line-height: 1.7; color: var(--paper) !important; }
.contact-urgent b { color: var(--signal); }
