/* サイト健診 共通スタイル(ツール型Webサービスとして再構築) */
:root {
  /* ---- デザイントークン ---- */
  --primary: #087f70;          /* 主要CTA・選択状態・リンク */
  --primary-dark: #066357;
  --text: #183b36;             /* 大見出し・重要な本文 */
  --muted: #52645f;            /* 注釈・補足 */
  --bg: #ffffff;
  --soft: #f5faf8;             /* セクションの区切り・情報パネル */
  --mint: #ddf1eb;             /* FVの背景・アイコン背景 */
  --dark: #183b36;             /* 濃色背景(最終CTA) */
  --line: #dce7e3;             /* フォーム・カードの境界線 */
  --focus: #1d9c8b;

  /* 状態(色+アイコン+テキストで伝える) */
  --ok: #12703a;      --ok-bg: #e3f4e9;
  --attn: #8a5300;    --attn-bg: #fdf0d8;   --attn-line: #d9a441;   /* 要確認 */
  --unk: #52645f;     --unk-bg: #edf2f1;    --unk-line: #9fb0ad;    /* 判定不可 */
  --error: #b42318;   --error-bg: #fde8e6;                           /* 入力エラー・診断失敗 */

  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(24, 59, 54, .06), 0 10px 28px rgba(24, 59, 54, .09);   /* FVの入力カード */
  --shadow-soft: 0 1px 2px rgba(24, 59, 54, .04), 0 4px 14px rgba(24, 59, 54, .05);

  /* 旧クラス名との互換(フォーム・規約ページが参照) */
  --surface: var(--bg);
  --brand: var(--primary);
  --brand-dark: var(--primary-dark);
  --tint: var(--mint);
  --watch: var(--attn);
  --watch-bg: var(--attn-bg);
  --unknown: var(--unk);
  --unknown-bg: var(--unk-bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
/* 日本語の改行: 文節の切れ目で折り返し(対応ブラウザ)、単語の途中・極端に短い最終行を避ける */
body { word-break: auto-phrase; line-break: strict; overflow-wrap: break-word; }
p, li, dd, td, th, summary, label, small { text-wrap: pretty; }
h1, h2, h3, h4, .lead, .section-lead, .section-note, .note, .result-lead, .flow-note, .final-lead, .cta-note, .sample-note { text-wrap: balance; }
h1, h2, h3, h4, h5 { line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--primary-dark); }
ul, ol { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { display: inline-block; }
.br-pc { display: none; }   /* PC幅だけで改行する */
@media (min-width: 720px) { .br-pc { display: inline; } }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---- ヘッダー ---- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 1.1rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 8px 24px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; padding: 8px 2px; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; }
.nav-toggle .bars { width: 18px; height: 12px; background: linear-gradient(var(--text) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--text) 0 0) 0 50% / 100% 2px no-repeat, linear-gradient(var(--text) 0 0) 0 100% / 100% 2px no-repeat; }
/* メニューの開閉はJSが使えるときだけ。使えないときは、そのまま並べて表示する */
@media (max-width: 759px) {
  .header-inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 12px; }
  .site-nav a:not(.btn) { padding: 12px 4px; border-top: 1px solid var(--line); font-size: 1rem; }
  .site-nav .btn { margin-top: 8px; width: 100%; }
  .js .site-nav[hidden] { display: none; }
}

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; text-wrap: balance; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { background: #6aa89f; cursor: wait; }
.btn-ghost { background: #fff; color: var(--primary-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--mint); }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: .92rem; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--mint); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---- ファーストビュー ---- */
.hero { position: relative; overflow: hidden; padding: 36px 0 40px; text-align: center; background: linear-gradient(180deg, #cfe8df 0%, var(--mint) 55%, #e7f5f0 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 240px; height: 240px; top: -130px; right: -100px; background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 70%); }
.hero::after { display: none; }
@media (min-width: 720px) {
  .hero { padding: 56px 0 52px; }
  .hero::before { width: 520px; height: 520px; top: -230px; right: -150px; }
  .hero::after { display: block; width: 420px; height: 420px; bottom: -190px; left: -130px; border: 34px solid rgba(8, 127, 112, .055); }
}
.hero > .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 3px 16px; border-radius: 999px; background: #fff; color: var(--primary-dark); font-size: .9rem; font-weight: 700; border: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.75rem); letter-spacing: .01em; text-wrap: balance; }
.lead { margin: 14px auto 24px; max-width: 640px; color: #2c4743; font-size: 1.02rem; text-wrap: balance; }

.diagnose-card { max-width: 800px; margin: 0 auto; padding: 20px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(8, 127, 112, .1); text-align: left; }
@media (min-width: 720px) { .diagnose-card { padding: 26px 30px 28px; } }
.field-label { display: block; margin-bottom: 8px; font-weight: 700; }
.diagnose-row { display: flex; flex-direction: column; gap: 12px; }
.diagnose-row input { width: 100%; min-height: 54px; padding: 12px 16px; border: 2px solid #b9cdc9; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
.diagnose-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(8, 127, 112, .18); }
.diagnose-row input[aria-invalid="true"] { border-color: var(--error); }
.diagnose-row .btn { width: 100%; min-height: 54px; padding-inline: 12px; font-size: 1rem; }
@media (min-width: 720px) {
  .diagnose-row { flex-direction: row; }
  .diagnose-row .btn { width: auto; flex-shrink: 0; padding-inline: 30px; font-size: 1.08rem; }
}
.url-error { margin: 10px 0 0; color: var(--error); font-weight: 700; font-size: .95rem; }
.note { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.hero .note { text-align: center; color: #2c4743; }
.hero .note + .note { margin-top: 6px; }
.hero .note a { color: var(--primary-dark); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; color: #2c4743; font-size: .92rem; font-weight: 700; }
.trust li::before { content: "✓"; margin-right: 6px; color: var(--primary); }

/* 診断中・エラー */
.status { margin: 16px auto 0; max-width: 800px; padding: 14px 18px; border-radius: 10px; background: #fff; color: var(--text); border: 1px solid var(--line); text-align: left; }
.status p { margin: 0; }
.status .status-title { font-weight: 700; }
.status .status-url { margin-top: 2px; color: var(--muted); font-size: .92rem; word-break: break-all; }
.status .status-slow { margin-top: 10px; color: var(--attn); font-size: .95rem; }
.status .btn { margin-top: 10px; }
.spinner { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; border: 3px solid var(--mint); border-top-color: var(--primary); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- セクション共通 ---- */
.section { padding: 56px 0; background: #fff; }
.section-soft { background: var(--soft); }
.section h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); text-align: center; }
.section-lead { max-width: 680px; margin: 12px auto 30px; text-align: center; color: var(--muted); }
@media (min-width: 720px) { .section { padding: 72px 0; } }

/* 汎用カード */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.card { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 12px; background: var(--mint); color: var(--primary); }
.card-icon svg { width: 30px; height: 30px; }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.section-note { margin: 22px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: .94rem; }

/* ---- 状態ラベル・アイコン(色だけに頼らない) ---- */
.chip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 2px 12px 2px 8px; border-radius: 999px; font-size: .875rem; font-weight: 700; white-space: nowrap; background: var(--unk-bg); color: var(--unk); }
.chip .ico { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: currentColor; font-size: .72rem; line-height: 1; }
.chip .ico > span { color: #fff; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-attn { background: var(--attn-bg); color: var(--attn); }
.chip-unk { background: var(--unk-bg); color: var(--unk); }

/* ---- 診断結果 ---- */
.result { padding: 40px 0 32px; background: #fff; }
.result-head h2 { font-size: 1.7rem; text-align: left; }
.result-head h2:focus { outline: none; }
.result-basis { margin: 8px 0 14px; color: var(--muted); font-size: .96rem; }
.result-meta { display: grid; gap: 6px 28px; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
@media (min-width: 720px) { .result-meta { grid-template-columns: 1fr auto; } }
.result-meta dt { font-size: .85rem; color: var(--muted); }
.result-meta dd { margin: 0; font-weight: 700; word-break: break-all; }
.result-top-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.result-lead { margin: 0 0 14px; font-size: 1.05rem; font-weight: 700; }

.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.summary li { padding: 14px 10px; border-radius: var(--radius); text-align: center; border: 1px solid var(--line); background: #fff; }
.summary strong { display: block; font-size: 1.8rem; line-height: 1.2; }
.summary span { font-size: .9rem; color: var(--muted); }
.summary .s-ok strong { color: var(--ok); }
.summary .s-attn strong { color: var(--attn); }
.summary .s-unk strong { color: var(--unk); }
@media (max-width: 520px) {
  .summary { grid-template-columns: 1fr; gap: 8px; }
  .summary li { display: flex; align-items: center; gap: 14px; padding: 10px 16px; text-align: left; }
  .summary strong { min-width: 1.4em; font-size: 1.5rem; text-align: center; }
  .summary span { font-size: .95rem; }
}

.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check { padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left-width: 6px; }
.check.is-ok { border-left-color: var(--ok); }
.check.is-attn { border-left-color: var(--attn-line); }
.check.is-unk { border-left-color: var(--unk-line); }
.check-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.check-head h3 { font-size: 1.05rem; }
.check p { margin: 8px 0 0; font-size: .96rem; }
.check .k { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--primary-dark); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; }
.more:hover { border-color: var(--primary); }
.more::after { content: "＋"; font-weight: 700; }
.more[aria-expanded="true"]::after { content: "－"; }
.more-panel { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: .93rem; }
.more-panel p { margin: 0 0 8px; }
.more-panel p:last-child { margin-bottom: 0; }

.next { margin-top: 32px; padding: 22px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.next h3 { font-size: 1.15rem; margin-bottom: 4px; }
.next-lead { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.selfcheck { margin: 0 0 18px; padding-left: 1.3em; }
.selfcheck li { margin-bottom: 8px; }
.selfcheck strong { display: block; }
.related { margin-top: 6px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.related .rel-k { margin: 0 0 4px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.related h4 { font-size: 1.1rem; }
.related .rel-price { margin: 2px 0 6px; font-weight: 700; color: var(--primary-dark); }
.related p { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.cta-row { margin: 22px 0 0; text-align: center; }
.cta-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: .92rem; }
.monitor-sub { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px dashed var(--unk-line); }
.monitor-sub h3 { font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.monitor-sub p { margin: 6px 0 10px; color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--mint); color: var(--primary-dark); font-size: .875rem; font-weight: 700; }
.tag-prep { background: var(--attn-bg); color: var(--attn); }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.result .note { text-align: center; }

/* ---- 診断結果サンプル ---- */
.sample-box { max-width: 880px; margin: 0 auto; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); position: relative; }
.sample-tag { display: inline-block; margin-bottom: 10px; padding: 2px 12px; border-radius: 6px; background: var(--attn-bg); color: var(--attn); font-size: .85rem; font-weight: 700; }
.sample-box .checks { margin-top: 14px; }
.sample-note { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }

/* ---- 使い方 ---- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.flow-no { grid-column: 2; grid-row: 1; font-size: 1.35rem; font-weight: 700; color: var(--primary); letter-spacing: .06em; line-height: 1.2; }
.flow-icon { grid-column: 1; grid-row: 1 / span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--primary); }
.flow-icon svg { width: 28px; height: 28px; }
.flow h3 { grid-column: 2; font-size: 1.1rem; }
.flow p { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: .96rem; }
.flow li:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); color: #8dbbb1; font-size: 1.15rem; line-height: 1; }
@media (min-width: 800px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .flow li { display: block; padding: 26px 20px 24px; text-align: center; }
  .flow-no { display: block; margin-bottom: 10px; }
  .flow-icon { margin: 0 auto 12px; }
  .flow li:not(:last-child)::after { content: "→"; left: auto; right: -30px; bottom: auto; top: 50%; transform: translateY(-50%); }
}
.flow-note { margin: 34px auto 0; max-width: 640px; text-align: center; font-weight: 700; color: var(--primary-dark); }

/* ---- 診断後のサポート(TOP) ---- */
.support-grid { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
@media (min-width: 720px) { .support-grid { grid-template-columns: 1fr 1fr; } }
.support-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.support-card h3 { font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.support-card p { margin: 8px 0 16px; color: var(--muted); font-size: .96rem; flex: 1; }
.support-card .btn { align-self: flex-start; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); font-size: .96rem; }
.faq details > div p { margin: 0 0 8px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---- 最終CTA(濃緑)---- */
.final-cta { padding: 60px 0; background: var(--dark); color: #fff; text-align: center; }
@media (min-width: 720px) { .final-cta { padding: 80px 0; } }
.final-cta h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); text-wrap: balance; }
.final-lead { margin: 12px 0 26px; color: rgba(255, 255, 255, .88); }
.final-cta .btn-light { min-height: 54px; padding-inline: 32px; font-size: 1.05rem; }
.final-sub { max-width: 560px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.final-sub p { margin: 0 0 14px; color: rgba(255, 255, 255, .86); font-size: .96rem; }
.final-cta :focus-visible { outline-color: #fff; }
@media (max-width: 520px) { .final-cta .btn-light, .final-cta .btn-outline-light { width: 100%; } }

/* ---- フッター ---- */
.site-footer { padding: 32px 0 44px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .92rem; background: #fff; }
.site-footer p { margin: 0 0 .5em; }
.site-footer a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }

/* ---- サービス・料金ページ ---- */
.page-hero { padding: 44px 0 36px; background: linear-gradient(180deg, #cfe8df 0%, var(--mint) 100%); text-align: center; }
.page-hero h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); text-wrap: balance; }
.page-hero p { max-width: 680px; margin: 12px auto 0; color: #2c4743; }
.price-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.price-card h3 { font-size: 1.15rem; }
.price { margin: 6px 0 10px; font-size: 1.6rem; font-weight: 700; color: var(--primary-dark); }
.price small { white-space: nowrap; font-size: .82rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.price-card h4 { margin: 12px 0 4px; font-size: .9rem; color: var(--muted); letter-spacing: .04em; }
.price-card p, .price-card li { font-size: .95rem; }
.price-card p { margin: 0 0 6px; }
.price-card ul { margin: 0; padding-left: 1.3em; color: var(--muted); }
.price-card .btn { margin-top: 16px; align-self: flex-start; }
.price-card .grow { flex: 1; }
.svc-more { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.svc-more summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; padding: 8px 14px; font-weight: 700; font-size: .93rem; color: var(--primary-dark); }
.svc-more > div { padding: 2px 14px 14px; }
.svc-more h4 { margin: 12px 0 4px; font-size: .88rem; color: var(--muted); letter-spacing: .04em; }
.svc-more ol, .svc-more ul { margin: 0; padding-left: 1.3em; font-size: .93rem; color: var(--muted); }
.svc-more p { margin: 0 0 6px; font-size: .93rem; color: var(--muted); }
.sub-h { margin: 40px 0 12px; text-align: center; font-size: 1.25rem; }
.related h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.related .rel-lead { margin: 0 0 6px; font-weight: 700; color: var(--text); }
.callout { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--mint); border: 1px solid #b9dccf; font-size: .93rem; }
.callout strong { color: var(--text); }
.notes-list { max-width: 820px; margin: 22px auto 0; padding: 18px 22px 18px 40px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.notes-list li { margin-bottom: 6px; font-size: .95rem; }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 32%; background: var(--soft); font-weight: 700; }
@media (max-width: 600px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; } .spec-table td { border-top: 0; } }
.monitor-box { max-width: 880px; margin: 0 auto; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.monitor-box h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 1.3rem; }
.prep-banner { margin: 14px 0; padding: 12px 14px; border-radius: 10px; background: var(--attn-bg); border: 1px solid var(--attn-line); color: #5f3a00; font-size: .95rem; }

/* ---- お問い合わせフォーム ---- */
.form-wrap { max-width: 760px; }
.form-wrap h1 { font-size: 1.8rem; margin-bottom: 8px; }
.form-card { margin-top: 24px; padding: 24px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.field { margin-bottom: 20px; }
.field > label, .field > .label, fieldset > legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: 1rem; padding: 0; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.req, .opt { margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-size: .875rem; font-weight: 700; vertical-align: 1px; }
.req { background: var(--error-bg); color: var(--error); }
.opt { background: var(--unk-bg); color: var(--unk); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #a9bebb; border-radius: 10px; font: inherit; background: #fff; color: var(--text);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8, 127, 112, .22); }
.field .hint { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-zip { grid-template-columns: 220px 1fr; } }
.checkbox-list { display: grid; gap: 8px; }
.checkbox-list label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.checkbox-list label:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.checkbox-list input { margin-top: 6px; accent-color: var(--primary); }
.checkbox-list small { display: block; color: var(--muted); font-size: .92rem; }
.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.consent input { margin-top: 6px; accent-color: var(--primary); }
.error-list { margin: 0 0 20px; padding: 14px 18px 14px 36px; border-radius: 10px; background: var(--error-bg); color: var(--error); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { margin: 6px 0 0; color: var(--error); font-size: .95rem; }
.submit-row { text-align: center; margin-top: 8px; }
.submit-row .btn { min-width: 240px; }
.form-notes { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: .93rem; }
.form-notes ul { margin: 0; padding-left: 1.3em; }
.form-notes li { margin-bottom: 4px; }
/* ハニーポット: 画面の外に出す(display:none だと一部のボットが見分ける) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 40px 20px; }
.thanks h1 { font-size: 1.6rem; margin-bottom: 12px; }

/* ---- 文章ページ ---- */
.prose { max-width: 760px; }
.prose h1 { font-size: 1.8rem; margin-bottom: 20px; }
.prose h2 { font-size: 1.2rem; margin: 28px 0 8px; text-align: left; }
.prose ol, .prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
.prose pre { margin: 0 0 1em; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.prose pre code { padding: 0; background: none; font-size: .95rem; line-height: 1.7; }
.draft-note { padding: 10px 14px; border-radius: 8px; background: var(--attn-bg); color: var(--attn); font-size: .95rem; }

/* ---- 印刷(PDF保存): 診断結果だけを出す ---- */
@media print {
  body { background: #fff; }
  .site-header, .site-footer, .hero, .section, .final-cta, .result-top-actions, .result-actions, .result .note,
  .related, .monitor-sub, .cta-row, .cta-note, .more { display: none !important; }
  .result { padding: 0; }
  .result[hidden] { display: none; }
  .more-panel[hidden] { display: block !important; }
  .check, .summary li, .next { break-inside: avoid; box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .spinner { animation: none; border-top-color: var(--mint); }
}
