/* PC と AI の守り 3 分チェック（check.html・2026-10-13 ブルー）
   色・角丸・字の太さは style.css / pages.css / services.css に合わせる（黒・紙色・ライム）。
   結果の 4 つは色だけで区別しない（丸の印＋言葉）。赤で脅かさない（見直したい＝橙）。 */
.chk-hero { min-height: 640px; }
.chk-hero h1 span { color: var(--accent); }
.chk-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.chk-badges li { padding: 7px 14px; border: 1px solid #3a3a40; border-radius: 99px; color: #e8e8ec; font-size: 14px; font-weight: 700; }
.chk-badges li::before { content: "✓"; margin-right: 6px; color: var(--accent); }

.chk-section { padding-top: 90px; padding-bottom: 90px; }
.chk-wrap { max-width: 820px; margin: 0 auto; }

.chk-progress {
  position: sticky; top: calc(var(--mm-header-height, 76px) + 10px); z-index: 5;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(10, 10, 12, 0.06);
  font-size: 14px; font-weight: 700;
}
.sm-head-hidden .chk-progress { top: 10px; }
.chk-progress b { font-size: 18px; }
.chk-progress-bar { position: relative; flex: 1; height: 6px; overflow: hidden; border-radius: 99px; background: #ececee; }
.chk-progress-bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }

.chk-privacy { margin: 0 0 26px; color: var(--muted); font-size: 15px; }

.chk-form { display: grid; gap: 14px; }
.chk-q {
  margin: 0; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 22px; background: #fff;
  transition: border-color 0.2s ease;
}
.chk-q.is-done { border-color: #cfd8bd; }
.chk-q legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 18px; font-weight: 800; line-height: 1.55; }
.chk-q legend + * { clear: both; }
.chk-no { display: inline-block; min-width: 34px; margin-right: 8px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; }
.chk-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chk-opts label { position: relative; display: block; cursor: pointer; }
.chk-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk-opts span {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 8px 10px;
  border: 1px solid #d7d7da; border-radius: 14px;
  background: #fafaf9; color: var(--ink);
  font-size: 16px; font-weight: 700; text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chk-opts label:hover span { border-color: #9a9aa2; }
.chk-opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.chk-opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.chk-msg { margin: 6px 0 0; padding: 14px 18px; border-radius: 14px; background: #fff6e5; color: #6b4a00; font-size: 15px; font-weight: 700; }
.chk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.chk-btn-outline { border: 1px solid #cfcfd3; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; }
.chk-btn-dark { background: var(--ink); color: #fff; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; }
.chk-run { border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; }

/* ---------- 結果 ---------- */
.chk-result-section { padding-top: 110px; }
#chk-result:focus { outline: none; }
.chk-result-title { margin: 8px 0 14px; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.045em; }
.chk-lead { margin: 0 0 20px; font-size: 19px; font-weight: 700; }
.chk-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chk-summary li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 15px; font-weight: 700; }
.chk-summary b { font-size: 17px; }

.chk-summary i, .chk-item-label i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.is-good i { background: #7bc400; }
.is-check i { background: #f0b400; }
.is-review i { background: #ff7a3d; }
.is-unknown i { background: #a1a1aa; }

.chk-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chk-item { padding: 20px 22px; border: 1px solid var(--line); border-left-width: 5px; border-radius: 18px; background: #fff; }
.chk-item.is-good { border-left-color: #7bc400; }
.chk-item.is-check { border-left-color: #f0b400; }
.chk-item.is-review { border-left-color: #ff7a3d; }
.chk-item.is-unknown { border-left-color: #a1a1aa; }
.chk-item-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 800; }
.chk-item-no { margin-left: auto; color: var(--muted); font-size: 13px; }
.chk-item h3 { margin: 6px 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.chk-item-text { margin: 0; color: #555; font-size: 16px; }
.chk-item dl { margin: 0; }
.chk-item dt { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.chk-item dd { margin: 2px 0 0; font-size: 16px; line-height: 1.65; }

.chk-free { margin-top: 34px; padding: 28px 30px; border-radius: 24px; background: var(--ink); color: #fff; }
.chk-free .kicker { color: var(--accent); }
.chk-free-title { margin: 6px 0 14px; font-size: 26px; letter-spacing: -0.03em; }
.chk-free ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: f; }
.chk-free li { counter-increment: f; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid #2a2a30; }
.chk-free li::before { content: counter(f); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 900; }
.chk-free li b { font-size: 17px; }
.chk-free li span { color: #c8c8cf; font-size: 16px; }

.chk-cta { margin-top: 34px; }
.chk-cta-lead { margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.chk-cta-lead a { margin-left: 6px; text-decoration: underline; text-underline-offset: 4px; }
.chk-cta-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.chk-cta-grid.is-two { grid-template-columns: repeat(2, 1fr); }
.chk-cta-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.chk-cta-card h3 { margin: 4px 0; font-size: 22px; letter-spacing: -0.02em; }
.chk-cta-card p:not(.kicker) { margin: 0 0 12px; color: #555; font-size: 16px; }
.chk-cta-card .btn { align-self: flex-start; margin-top: auto; }
.chk-result-actions { margin-top: 30px; }

.chk-note-section { padding-top: 60px; padding-bottom: 80px; }
.chk-note-title { margin: 0 0 12px; font-size: 22px; }
.chk-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.chk-disclaimer a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .chk-hero { min-height: 560px; }
  .chk-section { padding: 64px 16px; }
  .chk-q { padding: 18px 16px; }
  .chk-q legend { font-size: 17px; }
  .chk-no { min-width: 0; }
  .chk-items, .chk-cta-grid.is-two { grid-template-columns: 1fr; }
  .chk-free { padding: 22px 18px; }
  .chk-progress { padding: 10px 14px; }
}

/* ---------- 印刷・PDF（ブラウザの印刷）: 結果だけを白地で ---------- */
@media print {
  .mm-header, .site-footer, footer, .chk-hero, #questions, .chk-note-section, .chk-result-actions, .chk-progress { display: none !important; }
  body { background: #fff !important; color: #000; }
  .chk-result-section { display: block !important; padding: 0 !important; background: #fff !important; }
  .chk-result-section[hidden] { display: none !important; }
  .chk-wrap { max-width: none; }
  .chk-items { grid-template-columns: 1fr 1fr; }
  .chk-item, .chk-cta-card, .chk-free { break-inside: avoid; box-shadow: none; }
  .chk-free { background: #fff !important; color: #000 !important; border: 1px solid #999; }
  .chk-free li span { color: #222 !important; }
  .chk-free li::before { border: 1px solid #000; }
  .chk-cta-card .btn { border: 1px solid #000; }
  .chk-cta-card .btn::after { content: " （yourpcai.com/" attr(href) "）"; font-weight: 400; }
  .chk-result-section::after { content: "yourpcai.com ／ PC と AI の守り 3 分チェック"; display: block; margin-top: 18px; color: #555; font-size: 12px; }
}
