/* ============================================================
   /security-check 無料セキュリティ診断 — 2026-11-16 新設
   型は無料MEO診断（meo-check.css）。ほかのサービスページと同じ部品で組み、FV の右の列（絵の位置）に診断の欄（.sc-check）を置く。
   並び: FV（診断の欄）→ 結果（#result。診断のあとだけ）→ 01 点検する5つの分野 → 02 結果のサンプル → 03 分かる範囲
        → 04 頼めること → 05 AI研修 → 06 流れ → 07 ご相談 → 08 よくあるご質問 → 関連 → 相談のカード
   新しい部品の名前は sc- で始める。結果の見本（#sample）と本物の結果（#result）は同じ部品で描く（見本と実物がずれないように）
   決まり: カードの端に色帯を出さない。輪やゲージは使わない。札は色だけでなく文字で分ける。書体はゴシック体だけ
   ============================================================ */

/* ---- サービスページの共通部分（meo-check.css と同じ。ページごとの CSS に持つ決まり） ---- */
.sv-sec { padding: clamp(60px, 7vw, 96px) 0; }
.sv-sec .sl-sec-head { margin-bottom: clamp(36px, 4vw, 56px); }
.sv-sec .sl-h2 { margin-top: 16px; }
.sv-note { font-size: 13px; color: var(--e-fg-3); line-height: 1.8; }
.ph.sv-hero { position: relative; padding: clamp(118px, 12vw, 156px) 0 24px; }
.sv-hero .ph-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); max-width: none; }
.sv-copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.sv-copy nav.ph-crumbs { margin-bottom: 4px; }
.sv-hero div.ph-title { margin: 0; font-size: clamp(30px, calc(1.9vw + 18px), 48px); line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.sv-hero .sl-h-kw { margin-bottom: 16px; }
.sv-lead { margin: 0; font-size: clamp(15px, calc(.3vw + 13px), 17px); line-height: 1.9; color: var(--e-fg-2); max-width: 32em; }
.sv-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-nav-wrap { margin-top: clamp(44px, 5vw, 72px); position: relative; z-index: 2; }
.sv-nav-wrap .e-pagenav { margin-bottom: 0; }
.sv-faq { display: grid; gap: 0; max-width: 960px; }
.sv-faq summary { list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: '+'; flex: none; font-family: var(--font-en); font-size: 24px; font-weight: 500; line-height: 1; color: #2A6FF5; transition: transform .3s ease; }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-cta { padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 8vw, 96px); }
.sv-ink { --sl-fg: #fff; --sl-fg-2: rgba(255,255,255,.95); --sl-fg-3: rgba(255,255,255,.88); --e-ink: #fff; color: #fff; }
.sv-cta-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: var(--e-deep); box-shadow: 0 30px 60px -30px rgba(42,85,230,.6); position: relative; overflow: clip; }
.sv-cta-card::after { content: ''; position: absolute; right: -12%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,200,255,.35), transparent 65%); pointer-events: none; }
.sv-cta-card > * { position: relative; z-index: 1; min-width: 0; }
.sv-cta-card h2 { font-size: clamp(24px, calc(1.6vw + 14px), 38px); line-height: 1.35; color: #fff; }
.sv-cta-card p { margin-top: 12px; color: rgba(255,255,255,.95); line-height: 1.9; font-size: 15px; max-width: 36em; }
@media (min-width: 900px) { .sv-cta-card { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.sv-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.sv-facts > div { min-width: 0; }
.sv-facts dt { font-size: 12px; font-weight: 700; color: var(--e-fg-3); letter-spacing: .08em; }
.sv-facts dd { margin: 2px 0 0; font-family: var(--font-en); font-weight: 800; font-size: 18px; color: var(--e-fg); }
.mc-note { margin-top: 20px; }
/* 注記の中のリンク: 下線を文字のすぐ下に、行の間隔をそろえる（押せる高さは44px） */
.mc-note .sl-link { display: inline; margin-left: 6px; padding-block: 13px; padding-inline: 1px; white-space: nowrap; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.mc-note .sl-link::after { content: none; }

/* ---- FV: 左に文と札、右に診断の欄（狭い幅と縦向きは 文 → 診断の欄 → 札 の順に1列。URLの欄を最初の画面に入れる） ---- */
/* 診断のあとに欄が伸びると、背景のぼかし円（e.js の .e-ph-blobs。上下の位置はヒーローの高さの％）も動く。
   ブラウザがこれをスクロールの基準に選ぶと、画面が勝手に40px ほど動いた（344・360px で実測）ので、基準の候補から外す */
.sc-hero .e-ph-blobs { overflow-anchor: none; }
.sc-hero .ph-inner { grid-template-areas: "copy" "check" "sub"; }
.sc-hero .sv-copy { grid-area: copy; }
.sc-hero .sc-check { grid-area: check; }
.sc-hero-sub { grid-area: sub; display: grid; gap: 22px; align-content: start; min-width: 0; }
@media (min-width: 1081px) {
  .sc-hero .ph-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto 1fr; grid-template-areas: "copy check" "sub check"; row-gap: 26px; align-items: start; }
}
/* 673〜1080px の横向き（841x701 など）: meo-check と同じ2列。高さ 701px の最初の画面に診断の欄が収まるよう詰める */
@media (min-width: 673px) and (max-width: 1080px) and (orientation: landscape) {
  .ph.sv-hero { padding-top: 104px; }
  .sc-hero .ph-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto 1fr; grid-template-areas: "copy check" "sub check"; gap: 18px 28px; align-items: start; }
  .sv-hero div.ph-title { font-size: 28px; }
  .sv-copy { gap: 16px; }
  .sv-lead { font-size: 14px; line-height: 1.8; }
  .sv-facts { gap: 8px 22px; }
  .sv-facts dd { font-size: 16px; }
}
@media (min-width: 673px) and (max-width: 1080px) and (orientation: landscape), (max-width: 672px) {
  .sc-hero .sv-btns { display: grid; grid-template-columns: minmax(0, max-content); }
}

/* ---- 診断の欄（白いカード。中の並びは欄の幅で決める＝container query） ---- */
.sc-check { container: sccheck / inline-size; display: grid; gap: 16px; align-content: start; min-width: 0; padding: clamp(20px, 2.4vw, 30px); border-radius: 28px; background: #fff; border: var(--e-card-line); box-shadow: 0 24px 48px -28px rgba(30,60,140,.45); }
.sc-check-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-check-h h3 { margin: 0; font-size: 20px; font-weight: 900; line-height: 1.4; }
.sc-check-h small { flex: none; padding: 4px 12px; border-radius: 999px; background: #EEF5FF; color: #1F57D6; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.sc-form { display: grid; gap: 14px; }
.sc-url label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--e-fg); }
.sc-url-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sc-url input { display: block; width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid #B9C7EA; border-radius: 14px; background: #fff; color: var(--e-fg); font-family: var(--font-jp); font-size: 16px; line-height: 1.4; }
.sc-url input::placeholder { color: #7A84A3; }
.sc-url input:focus-visible { outline: 3px solid #2A6FF5; outline-offset: 2px; border-color: #2A6FF5; }
.sc-url input[aria-invalid="true"] { border-color: #B42318; }
.sc-url input[readonly] { background: #F7F9FF; }
.sc-go { width: 100%; min-height: 54px; justify-content: center; white-space: nowrap; }
/* JS が読み込まれる前（disabled）だけ薄くする。診断中（aria-disabled）は字と地の比を落とさず、「診断中…」の字で示す */
.sc-go:disabled { opacity: .65; cursor: default; }
.sc-go[aria-disabled="true"] { cursor: progress; }
.sc-url-note { margin-top: 8px; font-size: 12.5px; line-height: 1.75; color: var(--e-fg-3); }
/* 文中の短いリンク: 行の中に収め、押せる高さは上下の余白で 44px 以上取る */
.sc-inline-link { display: inline; margin-left: 4px; padding-block: 14px; padding-inline: 1px; font-size: 13px; font-weight: 700; color: var(--e-ink); white-space: nowrap; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; }
@container sccheck (min-width: 420px) {
  .sc-url-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-go { width: auto; padding-inline: 28px; }
}
/* 許可の確認（contact.html の .form-checks と同じ型の、印の付く四角） */
.sc-consent { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 10px 14px; border: 1px solid #C8D3EE; border-radius: 12px; cursor: pointer; font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--e-fg); transition: border-color .2s, background-color .2s; }
.sc-consent input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sc-consent span { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sc-consent span::before { content: ''; flex: none; width: 22px; height: 22px; border: 1.5px solid #6E8EDC; border-radius: 6px; background: #fff; transition: border-color .2s, background-color .2s; }
.sc-consent:has(input:checked) { border-color: #2A6FF5; background: rgba(42,111,245,.06); }
.sc-consent input:checked + span::before { border-color: #1F57D6; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.3 4.6 8.3 10.5 1.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat, var(--e-grad-ink); background-clip: padding-box; }
.sc-consent:has(input:focus-visible) { outline: 3px solid #2A6FF5; outline-offset: 2px; }
.sc-consent:has(input[aria-invalid="true"]) { border-color: #B42318; }
@media (hover: hover) and (pointer: fine) { .sc-consent:hover { border-color: #2A6FF5; } }
@media (forced-colors: active) {
  .sc-consent input { position: static; width: 20px; height: 20px; opacity: 1; pointer-events: auto; }
  .sc-consent span::before { display: none; }
}
/* 誤りの知らせ（見た目は e.css の .e-form-err）。「診断する」のすぐ下に出す。読み上げの知らせのため要素は残し、空のときは場所を取らない */
.sc-err { margin-top: 10px; }
.sc-err:empty { display: none; }
/* 診断中の進み具合（「診断する」のすぐ下。狭い画面でも押した所の近くで、動いていることと残りが分かるように） */
.sc-progress { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.6; color: #1F57D6; }
.sc-progress[hidden] { display: none; }
/* 5つの分野の札（診断の前「—」→ 診断中「確認中」→ A〜E と件数 / 確認できず） */
.sc-fields { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--e-line); }
.sc-fields > li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 54px; padding: 8px 0; border-bottom: 1px solid var(--e-line); }
.sc-f-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--e-sky); color: #2A6FF5; }
.sc-f-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-f-n { min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--e-fg); }
.sc-f-n small { display: block; margin-top: 1px; font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--e-fg-3); }
.sc-f-st { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--e-fg-3); white-space: nowrap; }
.sc-f-st[data-state="busy"] { color: #1F57D6; }
.sc-f-st[data-state="none"] { color: #56607F; }
.sc-f-c { font-variant-numeric: tabular-nums; color: var(--e-fg-2); }
@container sccheck (max-width: 379px) {
  .sc-f-n small { display: none; }
}
@container sccheck (max-width: 300px) {
  .sc-fields > li { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-f-ic { display: none; }
}
/* 診断のあと: 総合と「結果を見る」（「診断する」のすぐ下に、1行で。注記は下の行に） */
.sc-done { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; padding: 10px 12px 10px 16px; border-radius: 14px; background: var(--e-sky); }
.sc-done[hidden] { display: none; }
.sc-done-t { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 900; line-height: 1.6; color: var(--e-fg); }
.sc-done-go { flex: none; min-height: 44px; padding-block: 8px; padding-inline: 18px 16px; }
.sc-done-n { flex: 1 1 100%; font-size: 13px; line-height: 1.75; color: var(--e-fg-2); }
.sc-noscript { font-size: 13px; line-height: 1.8; color: #B42318; }
.sc-noscript a { color: inherit; text-decoration: underline; padding-block: 14px; }
/* 開いた折りたたみの横向き: 右の列が 300px 前後になるので、欄の中を詰めて 701px の画面に収める */
@media (min-width: 673px) and (max-width: 1080px) and (orientation: landscape) {
  .sc-check { gap: 12px; padding: 16px 18px; border-radius: 24px; }
  .sc-check-h h3 { font-size: 18px; }
  .sc-form { gap: 10px; }
  .sc-url label { margin-bottom: 6px; }
  .sc-url-row { gap: 8px; }
  .sc-url input, .sc-go { min-height: 50px; }
  .sc-url-note { margin-top: 6px; font-size: 12px; line-height: 1.7; }
  .sc-consent { min-height: 48px; padding: 8px 12px; font-size: 13px; line-height: 1.55; }
  .sc-fields > li { min-height: 40px; padding: 5px 0; }
  .sc-f-n { font-size: 13px; line-height: 1.45; }
}

/* hidden を付けた部品は、.sl-btn などの display より強く隠す（印刷のボタン・「中身を開く」・誤りの知らせなど） */
.sc-check [hidden], .sc-result [hidden] { display: none !important; }

/* 読み上げだけの文字（画面には出さない） */
.sc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sc-sr > * { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- 札: A〜E の評価と重さ（文字入り。色だけで分けない） ---- */
.sc-grade { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 9px; font-family: var(--font-en); font-weight: 800; font-size: 15px; line-height: 1; border: 1px solid transparent; }
.sc-grade--A { background: #E7F6EF; color: #0B7A54; border-color: rgba(11,122,84,.22); }
.sc-grade--B { background: #EEF5FF; color: #1F57D6; border-color: rgba(31,87,214,.22); }
.sc-grade--C { background: #FFF1E0; color: #8A4B00; border-color: rgba(138,75,0,.22); }
.sc-grade--D { background: #FFF1F0; color: #B42318; border-color: rgba(180,35,24,.22); }
.sc-grade--E { background: #B42318; color: #fff; border-color: #B42318; }
.sc-grade--lg { min-width: 48px; height: 48px; border-radius: 14px; font-size: 26px; }
.sc-sev { display: inline-flex; align-items: center; justify-content: center; min-width: 3.4em; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.sc-sev--critical { background: #B42318; color: #fff; border-color: #B42318; }
.sc-sev--high { background: #FFF1F0; color: #B42318; border-color: rgba(180,35,24,.24); }
.sc-sev--medium { background: #FFF1E0; color: #8A4B00; border-color: rgba(138,75,0,.24); }
.sc-sev--low { background: #EEF5FF; color: #1F57D6; border-color: rgba(31,87,214,.22); }
.sc-sev--info { background: #F7F9FF; color: #56607F; border-color: rgba(86,96,127,.24); }

/* ---- 紙（結果と見本の共通。角は小さく、影で地から浮かせる。カードの角丸とは分ける） ---- */
.sc-paper { min-width: 0; padding: 20px 20px 18px; border-radius: 8px; background: #fff; border: 1px solid rgba(20,27,56,.08); box-shadow: 0 1px 0 rgba(20,27,56,.04), 0 26px 46px -30px rgba(20,40,110,.5); }
.sc-paper-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(20,27,56,.12); font-size: 14px; font-weight: 900; line-height: 1.5; color: var(--e-fg); }
.sc-paper-h b { font-weight: 900; }
.sc-paper-h span { font-size: 12px; font-weight: 500; color: var(--e-fg-3); white-space: nowrap; }
.sc-paper-sub { margin: 16px 0 8px; font-size: 12.5px; font-weight: 900; color: var(--e-fg); }
/* 総合点と5つの分野 */
.sc-sum-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.sc-total { display: grid; gap: 10px; align-content: start; min-width: 0; }
.sc-total-k { font-size: 13px; font-weight: 700; color: var(--e-fg-2); }
.sc-total-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.sc-total-n { font-family: var(--font-en); font-weight: 800; font-size: 48px; line-height: 1; color: #1F57D6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-total-n small { margin-left: 6px; font-size: 14px; font-weight: 700; color: var(--e-fg-3); }
.sc-total-g { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 900; color: var(--e-fg); }
.sc-total-w { font-size: 13px; line-height: 1.75; color: var(--e-fg-2); }
.sc-counts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.sc-counts li { display: inline-flex; align-items: center; gap: 6px; }
.sc-counts b { min-width: 1ch; font-family: var(--font-en); font-weight: 800; font-size: 16px; color: var(--e-fg); font-variant-numeric: tabular-nums; }
.sc-fieldrows { list-style: none; margin: 0; padding: 0; display: grid; }
.sc-fieldrows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(20,27,56,.08); }
.sc-fieldrows li:first-child { border-top: 0; padding-top: 0; }
.sc-fr-n { min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.55; color: var(--e-fg); }
.sc-fr-n small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--e-fg-3); }
.sc-fr-v { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--e-fg-2); white-space: nowrap; }
@media (min-width: 900px) { .sc-result .sc-sum-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; } }
/* 見本の一覧（重さの札＋題） */
.sc-glist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px; }
.sc-glist li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: #F7F9FF; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--e-fg); }
.sc-glist .sc-sev { justify-self: start; }
.sc-glist small { display: block; font-size: 11.5px; font-weight: 500; color: var(--e-fg-3); overflow-wrap: anywhere; }
@media (max-width: 480px) { .sc-glist { grid-template-columns: minmax(0, 1fr); } .sc-glist li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
/* 確認できなかった項目・URLだけでは分からないこと */
.sc-ulist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-ulist li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #F7F9FF; font-size: 13px; line-height: 1.7; color: var(--e-fg-2); overflow-wrap: anywhere; }
.sc-ulist b { font-weight: 900; color: var(--e-fg); }
.sc-ulist small { font-size: 12px; font-weight: 700; color: var(--e-fg-3); }
.sc-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc-dots li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.75; color: var(--e-fg-2); overflow-wrap: anywhere; }
.sc-dots li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: #2A6FF5; }

/* ---- 見つかったこと（1件＝details。開くまでは、先頭3件の札・題・対象と伏せ字の見た目の箱、4件目からはまとめの1行だけ） ---- */
.sc-find-s { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; min-height: 56px; padding: 14px 18px; list-style: none; }
.sc-find-s::-webkit-details-marker { display: none; }
.sc-find-s > .sc-sev { grid-column: 1; grid-row: 1; }
/* 題は語のまとまりで折る（auto-phrase は Chrome。ほかのブラウザはふつうの折り方）。助詞の前の空白は JS が改行しない空白にする */
.sc-find-t { grid-column: 2; grid-row: 1; min-width: 0; font-size: 15px; font-weight: 900; line-height: 1.6; color: var(--e-fg); overflow-wrap: anywhere; word-break: auto-phrase; }
.sc-find-tg { grid-column: 2; grid-row: 2; min-width: 0; font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--e-fg-3); overflow-wrap: anywhere; }
.sc-find-x { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--e-sky); color: #2A6FF5; font-family: var(--font-en); font-size: 20px; font-weight: 500; line-height: 1; transition: transform .3s ease; }
.sc-find-lock { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #F1F4FB; color: #56607F; }
.sc-find-lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-find-s.is-static { min-height: 0; padding: 0 0 12px; grid-template-columns: auto minmax(0, 1fr); }
.sc-finds { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sc-find { min-width: 0; border-radius: 18px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); scroll-margin-top: 96px; }
.sc-find > details > summary { cursor: pointer; border-radius: 18px; }
.sc-find > details[open] .sc-find-x { transform: rotate(45deg); }
.sc-find-b { padding: 0 18px 16px; }
.sc-find-dl { margin: 0; display: grid; }
.sc-find-dl > div { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid rgba(42,111,245,.14); min-width: 0; }
.sc-find-dl dt { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--e-fg-3); }
.sc-find-dl dd { margin: 0; min-width: 0; font-size: 14px; line-height: 1.85; color: var(--e-fg-2); overflow-wrap: anywhere; }
/* 確かめた値は改行を残す。pre-wrap だと折り返した行末の空白が箱の外へぶら下がる（673px で 7px はみ出した）ので pre-line */
.sc-find-dl dd.is-ev { white-space: pre-line; font-family: ui-monospace, Menlo, Consolas, 'Zen Kaku Gothic New', sans-serif; font-size: 12.5px; line-height: 1.75; color: var(--e-fg); background: #F7F9FF; border-radius: 8px; padding: 8px 10px; }
.sc-find-dl dd.is-note { color: #8A4B00; font-weight: 700; }
.sc-find-dl dd a { display: inline-block; padding-block: 11px; margin-block: -8px; color: var(--e-ink); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; word-break: break-all; }
.sc-find-dl dd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sc-paper .sc-find-dl > div:first-child { border-top: 0; }
@media (min-width: 673px) { .sc-find-dl > div { grid-template-columns: 8.5em minmax(0, 1fr); gap: 16px; align-items: baseline; } }
/* スマホ: 札を題の上に置き、題を欄の幅いっぱいに（札と開閉の丸に挟まれて1行が6〜7字になっていた） */
@media (max-width: 480px) {
  .sc-find-s { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .sc-find-s > .sc-sev { grid-column: 1; grid-row: 1; justify-self: start; }
  .sc-find-t { grid-column: 1; grid-row: 2; }
  .sc-find-tg { grid-column: 1; grid-row: 3; }
  .sc-find-x, .sc-find-lock { grid-column: 2; grid-row: 1 / span 3; }
  .sc-find-s.is-static { grid-template-columns: minmax(0, 1fr); }
}
.sc-mask { display: grid; gap: 9px; padding: 0 18px 18px; }
.sc-mask i { display: block; height: 12px; border-radius: 6px; background: repeating-linear-gradient(90deg, #E3EAF8 0 34px, #EDF1FA 34px 40px); }
.sc-mask i:nth-child(1) { width: 92%; }
.sc-mask i:nth-child(2) { width: 78%; }
.sc-mask i:nth-child(3) { width: 56%; }
/* 開く前の4件目から: 「ほかN件」と、残りの重さごとの件数（札＋件数）と鍵の絵の1行。題と対象は出さない */
.sc-find-rest .sc-find-s { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; }
.sc-find-rest .sc-find-t { grid-column: 1; grid-row: 1; white-space: nowrap; }
.sc-rest-c { grid-column: 2; grid-row: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.sc-rest-c li { display: inline-flex; align-items: center; gap: 6px; }
.sc-rest-n { font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--e-fg-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sc-find-rest .sc-find-lock { grid-column: 3; grid-row: 1; }
@media (max-width: 480px) {
  .sc-find-rest .sc-find-s { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-find-rest .sc-find-t { grid-column: 1; grid-row: 1; }
  .sc-rest-c { grid-column: 1; grid-row: 2; }
  .sc-find-rest .sc-find-lock { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---- 使っているソフトと既知の脆弱性（2026-11-20。部品ごとに1枚。開くまでは一覧と直し方の代わりに鍵の絵の1行） ---- */
.sc-sw { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sc-sw-item { display: grid; gap: 10px; min-width: 0; padding: 16px 18px; border-radius: 18px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.sc-sw-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.sc-sw-kind { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--e-sky); color: #1F57D6; font-size: 12px; font-weight: 800; line-height: 1.6; white-space: nowrap; }
.sc-sw-name { flex: 1 1 12em; min-width: 0; font-size: 15px; font-weight: 900; line-height: 1.55; color: var(--e-fg); overflow-wrap: anywhere; }
.sc-sw-name b { font-weight: 800; font-variant-numeric: tabular-nums; }
.sc-sw-name small { display: block; font-size: 12px; font-weight: 500; line-height: 1.6; color: var(--e-fg-3); }
/* 状態の札（文字入り。色だけで分けない） */
.sc-sw-st { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.sc-sw-st--latest { background: #E7F6EF; color: #0B7A54; border-color: rgba(11,122,84,.22); }
.sc-sw-st--outdated { background: #FFF1E0; color: #8A4B00; border-color: rgba(138,75,0,.24); }
.sc-sw-st--insecure, .sc-sw-st--eol { background: #FFF1F0; color: #B42318; border-color: rgba(180,35,24,.24); }
.sc-sw-st--closed { background: #B42318; color: #fff; border-color: #B42318; }
.sc-sw-st--noversion, .sc-sw-st--unchecked { background: #F7F9FF; color: #56607F; border-color: rgba(86,96,127,.24); }
.sc-sw-from { font-size: 12.5px; line-height: 1.7; color: var(--e-fg-3); overflow-wrap: anywhere; }
.sc-sw-name:empty { display: none; }
/* 件数・攻撃に使われている数・危険度・サポートを1行に並べる（狭い幅では折り返す） */
.sc-sw-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 10px 0; border-top: 1px solid rgba(42,111,245,.12); border-bottom: 1px solid rgba(42,111,245,.12); }
.sc-sw-facts > div { display: grid; align-content: start; gap: 2px; min-width: 0; max-width: 100%; }
.sc-sw-facts dt { font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--e-fg-3); }
.sc-sw-facts dd { margin: 0; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--e-fg); overflow-wrap: anywhere; }
.sc-sw-n { margin-right: 8px; font-variant-numeric: tabular-nums; }
.sc-sw-c { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; gap: 4px 12px; vertical-align: middle; }
.sc-sw-c li { display: inline-flex; align-items: center; gap: 5px; }
.sc-sw-cn { font-size: 13px; font-weight: 700; color: var(--e-fg-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-sw-note { font-size: 13px; line-height: 1.8; color: var(--e-fg-2); overflow-wrap: anywhere; }
.sc-sw-fix { font-size: 14px; line-height: 1.8; color: var(--e-fg); overflow-wrap: anywhere; }
.sc-sw-fix b { margin-right: 10px; font-size: 12.5px; font-weight: 700; color: var(--e-fg-3); }
/* 開く前: 何が伏せてあるかの1行と鍵の絵（押せる所ではない） */
.sc-sw-lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 14px; border-radius: 12px; background: #F7F9FF; }
.sc-sw-lock p { min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.7; color: var(--e-fg-2); }
.sc-sw-lock .sc-find-lock { flex: none; }
/* 開いたあと: 脆弱性の一覧と直し方（閉じた details。印刷では開いて刷る） */
.sc-sw-more { border-top: 1px solid rgba(42,111,245,.14); }
.sc-sw-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--e-ink); }
.sc-sw-more > summary::-webkit-details-marker { display: none; }
.sc-sw-more > summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--e-sky); color: #2A6FF5; font-family: var(--font-en); font-size: 20px; font-weight: 500; line-height: 1; transition: transform .3s ease; }
.sc-sw-more[open] > summary::after { transform: rotate(45deg); }
.sc-sw-more-b { display: grid; gap: 10px; padding-bottom: 4px; }
.sc-sw-vl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc-sw-vl li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; padding: 6px 12px; border-radius: 10px; background: #F7F9FF; font-size: 13px; line-height: 1.6; color: var(--e-fg-2); }
.sc-sw-id { font-weight: 700; color: var(--e-fg); overflow-wrap: anywhere; }
a.sc-sw-id { display: inline-block; min-width: 44px; padding-block: 12px; margin-block: -9px; color: var(--e-ink); text-decoration: underline; text-underline-offset: .2em; }
.sc-sw-fx { white-space: nowrap; }
.sc-sw-kev { padding: 1px 8px; border-radius: 999px; background: #B42318; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.6; white-space: nowrap; }
.sc-sw-vt { flex: 1 1 100%; min-width: 0; font-size: 12px; line-height: 1.6; color: var(--e-fg-3); overflow-wrap: anywhere; }
.sc-sw-vmore { font-size: 13px; line-height: 1.7; color: var(--e-fg-3); }
/* 出どころ・データの時点・注意（登録の前から出す） */
.sc-sw-src { display: grid; gap: 8px; min-width: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.72); border: 1px solid rgba(42,111,245,.14); font-size: 13px; line-height: 1.8; color: var(--e-fg-2); }
.sc-sw-src > p { overflow-wrap: anywhere; }
.sc-sw-src > p > b { margin-right: 10px; font-size: 12.5px; font-weight: 700; color: var(--e-fg-3); }
/* 出どころ: 1つの行の高さを押す範囲（44px）そのものにする。折り返しても、上下のリンクの押す範囲が重ならない（2026-11-21） */
.sc-sw-srcs { display: flex; flex-wrap: wrap; align-items: center; column-gap: .35em; row-gap: 0; }
.sc-sw-srcs > b { margin-right: 6px !important; }
/* リンクと区切りの「・」を1つにまとめる（折り返しはいつも「・」のあと。行の頭に「・」を置かない。2026-11-21） */
.sc-sw-srci { display: inline-flex; align-items: center; column-gap: .35em; min-width: 0; }
.sc-sw-sep { flex: none; color: var(--e-fg-3); }
.sc-sw-src a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-block: 0; color: var(--e-ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
/* 幅 480px 以下は、出どころを1行に1つの縦並びにし、区切りの「・」を出さない（リンクの文字がリンクの中で2行に折れると、「・」が文字から離れて
   右端に浮いていた。折りたたみの 344・360 を含む 320〜380px。各リンクの押す範囲は 44px のまま。481px 以上は横に並べたまま。2026-11-21） */
@media (max-width: 480px) {
  .sc-sw-srcs { flex-direction: column; align-items: flex-start; }
  .sc-sw-sep { display: none; }
}
/* 危うさの無い部品と、載せきれなかった部品の名前（閉じた details。「ほかの N 個を見る」） */
.sc-sw-rest { background: rgba(255,255,255,.72); }
.sc-sw-rest-b > .sc-sw { padding-top: 2px; }
.sc-sw-others { display: grid; gap: 6px; min-width: 0; }
.sc-sw-others > p { font-size: 13px; font-weight: 700; line-height: 1.7; color: var(--e-fg-2); }
.sc-sw-others .sc-dots li { font-size: 13px; overflow-wrap: anywhere; }
.sc-sw-src .sc-dots li { font-size: 12.5px; }
/* 載せきれなかった部品の札（状態・危険度）。名前のあとに並べ、折り返してもよい（2026-11-21） */
.sc-sw-others .sc-dots li .sc-sw-st, .sc-sw-others .sc-dots li .sc-sev { margin-left: 8px; vertical-align: 1px; font-size: 11.5px; padding: 1px 8px; }
/* 著作権表記と許諾文（Wordfence Intelligence の Defiant・CVE の MITRE。英語のまま、小さく、閉じた details。2026-11-21） */
.sc-sw-lic { min-width: 0; border-top: 1px solid rgba(42,111,245,.14); }
.sc-sw-lic > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 0; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 700; color: var(--e-fg-3); }
.sc-sw-lic > summary::-webkit-details-marker { display: none; }
.sc-sw-lic > summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--e-sky); color: #2A6FF5; font-family: var(--font-en); font-size: 17px; font-weight: 500; line-height: 1; transition: transform .3s ease; }
.sc-sw-lic[open] > summary::after { transform: rotate(45deg); }
.sc-sw-lic-b { display: grid; gap: 4px; min-width: 0; padding-bottom: 4px; }
.sc-sw-lic-n { font-size: 12px; font-weight: 700; color: var(--e-fg-2); }
.sc-sw-lic-t { font-size: 11.5px; line-height: 1.7; color: var(--e-fg-3); overflow-wrap: anywhere; }
.sc-sw-lic-u { font-size: 12px; }
@media (max-width: 480px) {
  .sc-sw-item { padding: 14px; }
  .sc-sw-facts { gap: 8px 20px; }
}

/* ---- 結果の区画 ---- */
.sc-result .sl-wrap { display: grid; gap: clamp(28px, 3.4vw, 44px); }
.sc-res-head { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.sc-res-head .sl-h2 { margin: 0; }
.sc-res-head .sl-h2:focus { outline: none; }
.sc-res-head .sl-h2:focus-visible { outline: 3px solid #2A6FF5; outline-offset: 4px; }
.sc-res-target { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); overflow-wrap: anywhere; }
.sc-res-target b { font-weight: 900; color: var(--e-fg); }
.sc-res-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-print-body { display: grid; gap: clamp(28px, 3.4vw, 44px); min-width: 0; }
.sc-sum { display: grid; gap: 0; }
.sc-block { display: grid; gap: 14px; min-width: 0; }
.sc-block[hidden] { display: none; }
.sc-block-h { margin: 0; font-size: clamp(19px, 1.2vw + 12px, 23px); font-weight: 900; line-height: 1.45; color: var(--e-fg); }
.sc-block-p, .sc-block-note, .sc-block-empty { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }
.sc-block-note { font-size: 13px; color: var(--e-fg-3); }
.sc-block-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-res-note { margin: 0; }
/* 問題がなかった項目（閉じた details の中に分野ごと） */
.sc-more { border-radius: 18px; background: #fff; border: var(--e-card-line); }
.sc-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 700; color: var(--e-fg); border-radius: 18px; }
.sc-more > summary::-webkit-details-marker { display: none; }
.sc-more > summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--e-sky); color: #2A6FF5; font-family: var(--font-en); font-size: 20px; font-weight: 500; line-height: 1; transition: transform .3s ease; }
.sc-more[open] > summary::after { transform: rotate(45deg); }
.sc-more-b { display: grid; gap: 14px; padding: 0 18px 18px; }
.sc-more-g { display: grid; gap: 6px; min-width: 0; }
.sc-more-g p { font-size: 13px; font-weight: 900; color: var(--e-fg); }
/* 開く前は一覧を DOM に入れず、閉じた一覧と同じ箱に短い1行と鍵の絵だけ（押せる所ではない） */
.sc-more.is-locked { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; }
.sc-more.is-locked p { min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--e-fg-2); }
.sc-more.is-locked .sc-find-lock { flex: none; }
/* 登録で中身を開くパネル（見た目は e-form.css の .lp-diag-panel と .lp-form。濃い面） */
.sc-unlock { margin-top: 8px; }
/* 見つかったことが0件のときは、JS が「問題がなかった項目」の下（区画の並びの中）へ移す。間は区画どうしの gap だけにする */
.sc-print-body > .sc-unlock { margin-top: 0; }
.sc-unlock[hidden] { display: none; }
.sc-unlock .lp-diag-panel-h { gap: 12px; margin-bottom: 20px; padding-bottom: 18px; }
.sc-unlock .lp-diag-panel-h h4 { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.4; letter-spacing: -.01em; color: #fff; }
.sc-unlock .lp-diag-panel-h small, .mc-form .lp-diag-panel-h small { padding: 4px 12px; border-radius: 999px; background: #fff; color: #1F57D6; font-family: var(--font-jp); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: none; }
.sc-unlock-lead { margin: 0 0 24px; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.95); }
.sc-unlock-done { padding-top: 4px; }
.sc-unlock-done:focus { outline: none; }
.sc-unlock-done-h { margin-bottom: 10px; font-size: 20px; font-weight: 900; line-height: 1.5; color: #fff; }
.sc-unlock-done p:last-child { color: rgba(255,255,255,.95); }
.sc-unlock-done a { display: inline-block; padding-block: 11px; margin-block: -11px; color: #fff; text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 440px) { .sc-unlock .lp-diag-panel-h h4 { font-size: 19px; } }

/* ---- 01 点検する5つの分野（5枚。PC は3枚＋2枚を中央、開いた折りたたみは2列で最後の1枚を全幅。meo-check と同じ） ---- */
.mc-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 673px) and (max-width: 1080px) {
  .mc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-item:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1081px) {
  .mc-items { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .mc-item { grid-column: span 2; }
  .mc-item:nth-child(4) { grid-column: 2 / span 2; }
}
.mc-item { display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(22px, 2.4vw, 30px); border-radius: 26px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
@media (min-width: 673px) { .mc-item { grid-row: span 4; grid-template-rows: subgrid; } }
.mc-item-n { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: #1F57D6; }
.mc-item h3 { font-size: clamp(17px, 1.3vw, 19px); font-weight: 900; line-height: 1.5; }
.mc-item-d { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }
.mc-item-l { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--e-line); display: grid; gap: 7px; align-content: start; }
.mc-item-l li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 13.5px; line-height: 1.6; font-weight: 700; color: var(--e-fg); }
.mc-item-l svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #2A6FF5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1081px) { #fields .mc-note { text-align: center; } }

/* ---- 02 結果のサンプル（紙4枚。900px 以上は2列、狭い幅は紙を縮めずに縦に積む） ---- */
.mc-rep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .mc-rep { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
.mc-sheet { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-width: 0; }
.mc-sheet figcaption { display: grid; gap: 4px; font-size: 14px; line-height: 1.8; color: var(--e-fg-2); }
.mc-sheet figcaption b { font-size: 16px; font-weight: 900; color: var(--e-fg); }
.mc-cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 36px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #fff; border: 1px solid rgba(42,111,245,.16); }
@media (min-width: 961px) { .mc-cta-row { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; } }
.mc-cta-row-t { display: grid; gap: 6px; }
.mc-cta-row-t strong { font-size: clamp(18px, .8vw + 12px, 22px); font-weight: 900; line-height: 1.5; }
.mc-cta-row-t span { font-size: 14px; line-height: 1.8; color: var(--e-fg-2); }
.mc-cta-row-b { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .mc-cta-row-b .sl-btn { width: 100%; justify-content: center; } }

/* ---- 03 分かる範囲（e.css の .e-cmp3 を2列で。1081px 以上は行の高さを subgrid でそろえる。どちらの列も濃くしない） ---- */
.e-cmp3--2 { --rows: 9; }
@media (min-width: 1081px) { .e-cmp3--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-cmp3--2 .e-cmp3-foot .sl-btn { white-space: normal; text-align: center; }
.sc-rules { margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 2.6vw, 32px); border-radius: 26px; background: #fff; border: var(--e-card-line); }
.sc-rules h3 { margin: 0 0 14px; font-size: clamp(18px, 1.2vw + 11px, 21px); font-weight: 900; line-height: 1.5; }
.sc-rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-rules li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }
.sc-rules li::before { content: ''; position: absolute; left: 5px; top: .82em; width: 6px; height: 6px; border-radius: 50%; background: #2A6FF5; }

/* ---- 04 頼めること（3枚。673〜1080px は2列で最後の1枚を全幅、1081px 以上は3列） ---- */
.sc-support { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 673px) and (max-width: 1080px) { .sc-support { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .sc-support > li:last-child { grid-column: 1 / -1; } }
@media (min-width: 1081px) { .sc-support { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.sc-support > li { display: grid; align-content: start; gap: 12px; min-width: 0; padding: clamp(22px, 2.4vw, 30px); border-radius: 26px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.sc-support h3 { font-size: clamp(17px, 1.3vw, 19px); font-weight: 900; line-height: 1.5; }
.sc-support > li > p { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }
.mc-why-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--e-sky); color: #2A6FF5; }
.mc-why-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- 05 AI研修（2枚を横に。どちらかを濃い色で目立たせない） ---- */
.mc-plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .mc-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.mc-plan { display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(24px, 2.6vw, 34px); border-radius: 28px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.mc-plan-k { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: #1F57D6; }
.mc-plan h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 900; line-height: 1.45; }
.mc-plan p:not(.mc-plan-k):not(.sc-take) { font-size: 14.5px; line-height: 1.9; color: var(--e-fg-2); }
.sc-take { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--e-line); font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--e-fg); }
.sc-take span { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #1F57D6; }

/* ---- 06 流れ（4段。673px から2列×2段） ---- */
.mc-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 673px) { .mc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.mc-flow > li { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 22px 22px 24px; border-radius: 24px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.mc-flow-k { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: #1F57D6; }
.mc-flow h3 { font-size: 17px; font-weight: 900; line-height: 1.5; }
.mc-flow > li > p:not(.mc-flow-k) { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); overflow-wrap: anywhere; }
/* 文中のメールアドレス: 行の中に収め、押せる高さは上下の余白で 44px 以上取る */
.mc-flow > li > p a { display: inline; padding-block: 14px; color: var(--e-ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---- 07 ご相談（パネルの見た目は e.css・e-form.css の .lp-diag-panel） ---- */
.mc-form { max-width: 1000px; margin-inline: auto; }

/* ---- 08 よくあるご質問（左に題、右に開閉。meo-check と同じ置き方） ---- */
.mc-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mc-faq-head { display: grid; gap: 14px; justify-items: start; align-content: start; }
.mc-faq-head .sl-h2 { margin: 0; }
.mc-faq-note { margin: 4px 0 6px; font-size: 14px; line-height: 1.9; color: var(--e-fg-2); }
.mc-faq-grid .sv-faq { max-width: none; }
@media (min-width: 1081px) {
  .mc-faq-grid { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .mc-faq-head { position: sticky; top: 120px; }
}

/* ページ内メニュー（スマホ）: 札を低くして、7枚が画面の半分を取らないように（meo-check と同じ） */
@media (max-width: 672px) {
  .sv-nav-wrap .e-pagenav > a { min-height: 0; padding: 10px 12px 12px; gap: 8px; }
  .sv-nav-wrap .e-pagenav-k { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
}
@media (max-width: 400px) { .sv-nav-wrap .e-pagenav-t { font-size: 13px; } }

/* ---- 印刷（A4 縦。結果の区画だけを、白地に墨の字で。札は枠線と文字で区別が付くように） ---- */
.sc-print-only { display: none; }
@media print {
  @page { size: A4 portrait; margin: 12mm 12mm 14mm; }
  html.sc-has-result, html.sc-has-result body { background: #fff !important; }
  html.sc-has-result body > *:not(main) { display: none !important; }
  html.sc-has-result main > *:not(#result) { display: none !important; }
  html.sc-has-result #result { display: block !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; background: #fff !important; color: #000; box-shadow: none !important; line-break: strict; font-feature-settings: 'palt' 1; }
  html.sc-has-result #result .sl-wrap { width: auto !important; max-width: none; margin: 0; gap: 14px; }
  html.sc-has-result #result .e-tail, html.sc-has-result #result .sc-res-acts, html.sc-has-result #result .sc-unlock, html.sc-has-result #result .sc-block-btns, html.sc-has-result #result .sl-eyebrow { display: none !important; }
  html.sc-has-result #result .sc-print-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid #000; font-size: 10pt; line-height: 1.6; }
  html.sc-has-result #result .sl-h2 { font-size: 18pt; }
  html.sc-has-result #result .sc-paper, html.sc-has-result #result .sc-find, html.sc-has-result #result .sc-more { box-shadow: none !important; border: 1px solid #888 !important; }
  html.sc-has-result #result .sc-find, html.sc-has-result #result .sc-sum, html.sc-has-result #result .sc-ulist li, html.sc-has-result #result .sc-more-g { break-inside: avoid; }
  html.sc-has-result #result .sc-block-h { break-after: avoid; font-size: 13pt; }
  html.sc-has-result #result .sc-find-x, html.sc-has-result #result .sc-more > summary::after, html.sc-has-result #result .sc-sw-lic > summary::after { display: none !important; }
  html.sc-has-result #result .sc-grade, html.sc-has-result #result .sc-sev { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; }
  html.sc-has-result #result .sc-total-n { color: #000; }
  html.sc-has-result #result .sc-find-dl dd, html.sc-has-result #result .sc-block-p, html.sc-has-result #result .sc-dots li, html.sc-has-result #result .sc-ulist li, html.sc-has-result #result .sc-res-target { color: #111; }
  html.sc-has-result #result .sc-find-dl dd.is-ev, html.sc-has-result #result .sc-ulist li { background: #fff !important; }
  html.sc-has-result #result .sc-find-dl dd a { padding: 0; margin: 0; color: #000; }
  html.sc-has-result #result .sc-sum-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; }
  html.sc-has-result #result .sc-find-dl > div { grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; }
  /* 中身を開く前は、結果の代わりに知らせだけを刷る */
  html.sc-has-result:not(.sc-unlocked) #result .sc-print-body { display: none !important; }
  html.sc-has-result:not(.sc-unlocked) #result .sc-print-lock { display: block; font-size: 11pt; }
  /* 紙では grid をやめて上から積む。grid の中で break-inside: avoid で次のページへ送った分の高さが、後ろの区画の位置に入らず、
     字が重なって読めないページが出た（見本 12件で 20組）。gap の代わりに margin で間を取る。
     :not([hidden]) が無いと、隠している「確認できなかった項目」の見出しが空のまま刷られる */
  html.sc-has-result #result .sl-wrap, html.sc-has-result #result .sc-print-body, html.sc-has-result #result .sc-block:not([hidden]),
  html.sc-has-result #result .sc-finds, html.sc-has-result #result .sc-more-b { display: block !important; }
  html.sc-has-result #result .sc-print-body > * + *, html.sc-has-result #result .sc-block > * + *, html.sc-has-result #result .sc-more-b > * + * { margin-top: 14px; }
  html.sc-has-result #result .sc-finds > li + li { margin-top: 10px; }
  /* 「一覧を見る」は紙では押せない言葉なので刷らない（件数は見出しに入れている） */
  html.sc-has-result #result .sc-more > summary { display: none !important; }
  /* 使っているソフト: 枠線だけの紙に。札は白地に墨の枠と字。「…を見る」は刷らない（印刷の前に details を開いている）。
     部品の枠ごとページを送ると、一覧を開いた部品が次のページへ回ってページの下半分が空くので、枠は途中で切ってよい。
     切らないのは頭のまとまり（種類・名前・状態・読み取り元・件数）と、一覧の1行（2026-11-21） */
  html.sc-has-result #result .sc-sw-item { box-shadow: none !important; border: 1px solid #888 !important; break-inside: auto; }
  html.sc-has-result #result .sc-sw-head, html.sc-has-result #result .sc-sw-from, html.sc-has-result #result .sc-sw-facts, html.sc-has-result #result .sc-sw-vl > li,
  html.sc-has-result #result .sc-sw-note, html.sc-has-result #result .sc-sw-fix, html.sc-has-result #result .sc-sw-others li { break-inside: avoid; }
  html.sc-has-result #result .sc-sw-head, html.sc-has-result #result .sc-sw-from { break-after: avoid; }
  html.sc-has-result #result .sc-sw-rest { border: 0 !important; background: #fff !important; }
  html.sc-has-result #result .sc-sw-rest > .sc-more-b { padding: 0; }
  html.sc-has-result #result .sc-sw, html.sc-has-result #result .sc-sw-more-b, html.sc-has-result #result .sc-sw-vl { display: block !important; }
  html.sc-has-result #result .sc-sw > li + li, html.sc-has-result #result .sc-sw-vl > li + li { margin-top: 8px; }
  html.sc-has-result #result .sc-sw-item { display: block !important; }
  html.sc-has-result #result .sc-sw-item > * + * { margin-top: 8px; }
  html.sc-has-result #result .sc-sw-st, html.sc-has-result #result .sc-sw-kind, html.sc-has-result #result .sc-sw-kev { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; }
  html.sc-has-result #result .sc-sw-more > summary { display: none !important; }
  html.sc-has-result #result .sc-sw-vl li, html.sc-has-result #result .sc-sw-src { background: #fff !important; }
  html.sc-has-result #result a.sc-sw-id, html.sc-has-result #result .sc-sw-src a { padding: 0; margin: 0; min-height: 0; color: #000; }
  html.sc-has-result #result .sc-sw-srcs { row-gap: 2px; }
  html.sc-has-result #result .sc-sw-facts dd, html.sc-has-result #result .sc-sw-note, html.sc-has-result #result .sc-sw-fix { color: #111; }
}

/* スマホ（〜672px）の本文は PC より1px 小さく（common.css の最後と同じ決まり。2026-11-02）。入力欄の文字は 16px のまま */
@media (max-width: 672px) {
  .sv-lead, .sv-cta-card p { font-size: 14px; line-height: 1.85; }
  .mc-item-d, .sc-support > li > p, .mc-plan p:not(.mc-plan-k):not(.sc-take), .mc-flow > li > p:not(.mc-flow-k), .mc-sheet figcaption, .mc-faq-note, .mc-cta-row-t span, .sc-rules li, .sc-find-dl dd, .sc-block-p, .sc-res-target { font-size: 13px; }
  .sc-take { font-size: 13px; }
  .sc-paper { padding: 16px 14px 14px; }
  .sc-url-note { font-size: 12px; }
  .sc-find-s { padding: 12px 14px; gap: 4px 10px; }
  .sc-find-t { font-size: 14px; }
  .sc-find-b { padding: 0 14px 14px; }
  .sc-mask { padding: 0 14px 16px; }
  .sc-more > summary, .sc-more.is-locked { padding: 10px 14px; }
  .sc-more.is-locked p { font-size: 13px; }
  .sc-more-b { padding: 0 14px 14px; }
  .sc-total-n { font-size: 42px; }
  .sc-sw-facts dd, .sc-sw-fix { font-size: 13px; }
  .sc-sw-name { font-size: 14px; }
}
