/* ══════════════════════════════════════════════════════════
   無料ホームページ診断（/check/）専用
   ベースは renewal/renewal.css（同じシリーズのデザイン）
   ══════════════════════════════════════════════════════════ */
.ck-page [hidden] { display: none !important; }
.ck-page { --ck-ok: #1a7f37; --ck-ok-bg: #eaf6ee; --ck-warn: #b45309; --ck-warn-bg: #fff4e0; --ck-ng: #c0262d; --ck-ng-bg: #fdecec; --ck-na: #5b6b7e; --ck-na-bg: #eef1f5; }

/* ── メインビジュアル（1カラム・中央） ── */
.ck-hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.ck-hero .rn-hero-title { text-align: center; }
.ck-hero .rn-hero-lead { font-size: 17px; }
.ck-en { font-family: Arial, sans-serif; letter-spacing: .14em; }

.ck-form-card { margin: 30px auto 0; padding: 30px 30px 24px; max-width: 860px; border-radius: 20px; background: #fff; color: var(--rn-text); text-align: left; box-shadow: 0 24px 50px rgba(0, 10, 40, .35); }
.ck-label { display: block; margin-bottom: 10px; color: var(--rn-navy); font-size: 16px; font-weight: 900; }
.ck-input-row { display: flex; gap: 12px; }
.ck-input-row input { flex: 1; min-width: 0; min-height: 60px; padding: 0 18px; border: 2px solid #bcd2ee; border-radius: 12px; font-size: 18px; color: var(--rn-navy); background: #fff; }
.ck-input-row input:focus { outline: none; border-color: var(--rn-blue); box-shadow: 0 0 0 4px rgba(11, 99, 206, .15); }
.ck-input-row input[readonly] { background: #f4f7fb; }
.ck-submit { flex-shrink: 0; min-height: 60px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--rn-lemon); color: var(--rn-navy); font-size: 17px; font-weight: 900; cursor: pointer; box-shadow: 0 8px 20px rgba(255, 226, 0, .35); transition: transform .15s; }
.ck-submit:hover { transform: translateY(-2px); }
.ck-submit:disabled { cursor: wait; opacity: .75; transform: none; }
.ck-form-msg { margin: 10px 0 0; color: var(--ck-ng); font-size: 14px; font-weight: 700; }
.ck-assure { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ck-assure li { position: relative; padding: 5px 12px 5px 28px; border-radius: 999px; background: var(--rn-sky); color: var(--rn-navy); font-size: 13.5px; font-weight: 800; }
.ck-assure li::before { content: "✓"; position: absolute; left: 11px; color: var(--rn-blue); font-weight: 900; }
.ck-form-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.8; color: #5b6b7e; }
.ck-noscript { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: #fff4e0; font-size: 14px; }
.ck-paused { padding: 18px; border-radius: 12px; background: #fff7e6; border: 1px solid #f5d48c; }
.ck-paused-title { margin: 0 0 6px; color: #8a5a00; font-weight: 900; }
.ck-paused p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.8; }

/* ── 診断結果 ── */
.ck-result-sec { padding: 48px 24px 64px; background: var(--rn-sky); scroll-margin-top: 80px; }
.ck-loading { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 40px 20px; border-radius: 18px; background: #fff; text-align: left; color: var(--rn-navy); font-weight: 800; }
.ck-loading p { margin: 0; line-height: 1.8; }
.ck-loading small { font-weight: 600; color: #5b6b7e; }
.ck-spinner { width: 44px; height: 44px; border-radius: 50%; border: 5px solid #cfe1f8; border-top-color: var(--rn-blue); animation: ck-spin 1s linear infinite; flex-shrink: 0; }
@keyframes ck-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ck-spinner { animation-duration: 3s; } }
.ck-error { padding: 24px; border-radius: 16px; background: #fff; border: 2px solid #f6cfc9; }
.ck-error p { margin: 0 0 10px; line-height: 1.8; }
.ck-error-title { color: var(--ck-ng); font-weight: 900; font-size: 18px; }

.ck-result { padding: 30px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 40, 100, .08); }
.ck-result-title { margin: 0 0 18px; color: var(--rn-navy); font-size: 26px; font-weight: 900; outline: none; }
.ck-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.ck-meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #d6e2f1; }
.ck-meta dt { color: var(--rn-blue); font-weight: 800; font-size: 13.5px; }
.ck-meta dd { margin: 0; font-size: 14px; word-break: break-all; }
.ck-counts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ck-count { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon label" "icon num"; align-items: center; gap: 2px 10px; padding: 14px 16px; border-radius: 14px; }
.ck-count-icon { grid-area: icon; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 18px; }
.ck-count-label { grid-area: label; font-size: 13px; font-weight: 800; }
.ck-count b { grid-area: num; font: 900 28px/1 Arial, sans-serif; }
.ck-count-unit { display: none; }
.ck-legend { margin: 12px 0 0; font-size: 12.5px; color: #5b6b7e; line-height: 1.8; }

/* ステータス色（色だけでなく、アイコンと文字でも区別） */
.ck-st--confirmed { --c: var(--ck-ok); --bg: var(--ck-ok-bg); }
.ck-st--review    { --c: var(--ck-warn); --bg: var(--ck-warn-bg); }
.ck-st--error     { --c: var(--ck-ng); --bg: var(--ck-ng-bg); }
.ck-st--unknown   { --c: var(--ck-na); --bg: var(--ck-na-bg); }
.ck-count { background: var(--bg); color: var(--c); }
.ck-count-icon { background: var(--c); }

.ck-recommend { margin-top: 24px; padding: 22px 24px; border-radius: 16px; background: var(--rn-lemon-soft); border-left: 6px solid var(--rn-lemon); }
.ck-recommend-title { margin: 0 0 10px; color: var(--rn-navy); font-size: 18px; font-weight: 900; }
.ck-recommend p { margin: 0; font-size: 15px; line-height: 1.8; }
.ck-recommend-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.ck-recommend-list li { padding: 12px 14px; border-radius: 10px; background: #fff; }

.ck-items { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ck-item { padding: 20px 22px; border-radius: 14px; border: 1px solid #dbe6f4; border-left: 6px solid var(--c); background: #fff; }
.ck-item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ck-item-no { color: #9db4d3; font: 900 12px/1 Arial, sans-serif; letter-spacing: .06em; }
.ck-item-title { margin: 0; flex: 1; color: var(--rn-navy); font-size: 17px; font-weight: 900; }
.ck-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--bg); color: var(--c); font-size: 13px; font-weight: 900; }
.ck-badge-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; }
.ck-item-value { margin: 10px 0 0; color: var(--c); font-size: 16px; font-weight: 900; }
.ck-item-details { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #f6f9fd; display: grid; gap: 4px; }
.ck-item-details > div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; font-size: 13.5px; line-height: 1.7; }
.ck-item-details dt { color: #4a5f78; font-weight: 800; word-break: break-all; }
.ck-item-details dd { margin: 0; word-break: break-all; }
.ck-item-desc { margin: 12px 0 0; font-size: 14.5px; line-height: 1.85; }
.ck-item-rec { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--rn-sky); font-size: 14px; line-height: 1.8; }
.ck-item-rec b { display: block; color: var(--rn-blue); font-size: 13px; }
.ck-item-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0 !important; }
.ck-item-links a { color: var(--rn-blue); font-weight: 800; font-size: 14px; }
.ck-disclaimer { margin: 20px 0 0; font-size: 12.5px; line-height: 1.8; color: #5b6b7e; }

.ck-after { margin-top: 28px; padding: 28px; border-radius: 18px; background: linear-gradient(135deg, #001a44 0%, #003477 60%, #0757b8 100%); color: #fff; text-align: center; }
.ck-after-title { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.5; color: #fff; }
.ck-after p { margin: 12px 0 0; font-size: 15px; line-height: 1.9; color: #dbe9ff; }
.ck-after-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.ck-after-btns button { border: 0; cursor: pointer; font-family: inherit; }
.ck-btn-sub { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7) !important; background: transparent; }
.ck-copy-msg { color: var(--rn-lemon) !important; font-weight: 800; }

/* ── 比較表 ── */
.ck-table td { text-align: center; font-weight: 700; }
.ck-table td.ck-na { color: #9aa8b8; font-weight: 600; }
.ck-table td.rn-table-after::before { display: none; }

/* ── 申し込みフォーム ── */
.ck-apply-form { margin-top: 24px; padding: 30px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 40, 100, .08); }
.ck-field { margin: 0 0 18px; }
.ck-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ck-field > label, .ck-field legend { display: block; margin-bottom: 6px; color: var(--rn-navy); font-size: 15px; font-weight: 800; }
.ck-field input[type="text"], .ck-field input[type="url"], .ck-field input[type="email"], .ck-field input[type="tel"], .ck-field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid #c9d9ee; border-radius: 10px; font: inherit; font-size: 16px; color: var(--rn-navy); background: #fff; box-sizing: border-box;
}
.ck-field input:focus, .ck-field textarea:focus { outline: none; border-color: var(--rn-blue); box-shadow: 0 0 0 3px rgba(11, 99, 206, .15); }
.ck-req, .ck-opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 800; vertical-align: 2px; }
.ck-req { background: var(--ck-ng); color: #fff; }
.ck-opt { background: var(--ck-na-bg); color: var(--ck-na); }
.ck-concerns { padding: 0; border: 0; }
.ck-concerns ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ck-concerns label, .ck-privacy label { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid #dbe6f4; font-size: 14px; font-weight: 700; color: var(--rn-navy); line-height: 1.5; cursor: pointer; }
.ck-concerns input, .ck-privacy input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--rn-blue); }
.ck-privacy label { border: 0; padding: 0; font-size: 15px; }
.ck-privacy a { color: var(--rn-blue); }
.ck-field-note { margin: 6px 0 0; font-size: 12.5px; color: #5b6b7e; line-height: 1.7; }
.ck-center { text-align: center; }
.ck-submit-wrap { margin: 24px 0 0; text-align: center; }
.ck-submit-wrap button { border: 0; cursor: pointer; font-family: inherit; }
.ck-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ck-flash { margin-top: 20px; padding: 18px 22px; border-radius: 14px; }
.ck-flash p { margin: 0 0 6px; line-height: 1.8; }
.ck-flash--ok { background: var(--ck-ok-bg); border: 2px solid #9fd5b0; color: #0f5a26; }
.ck-flash--ng { background: var(--ck-ng-bg); border: 2px solid #f2b8b0; color: #8a1c21; font-weight: 700; }
.ck-tel-note a { color: var(--rn-blue); }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .ck-form-card { padding: 20px 16px 18px; border-radius: 16px; }
  .ck-input-row { flex-direction: column; }
  .ck-submit { width: 100%; }
  .ck-hero .rn-hero-title { text-align: center; }
  .ck-result-sec { padding: 32px 12px 48px; }
  .ck-result { padding: 20px 14px; }
  .ck-result-title { font-size: 21px; }
  .ck-meta { grid-template-columns: 1fr; }
  .ck-counts { grid-template-columns: 1fr 1fr; }
  .ck-item { padding: 16px 14px; }
  .ck-item-title { order: 3; flex-basis: 100%; font-size: 16px; }
  .ck-badge { margin-left: auto; }
  .ck-item-details > div { grid-template-columns: 1fr; gap: 0; }
  .ck-after { padding: 22px 16px; }
  .ck-after-title { font-size: 19px; }
  .ck-after-btns .rn-btn { width: 100%; }
  .ck-apply-form { padding: 20px 16px; }
  .ck-field-row { grid-template-columns: 1fr; }
  .ck-concerns ul { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .ck-meta > div { grid-template-columns: 1fr; gap: 2px; }
  .ck-count b { font-size: 24px; }
}

/* ── 印刷：診断結果だけを印刷 ── */
@media print {
  .site-header, .site-footer, .wsd-bc, .ck-hero, .ck-after, .ck-page > section:not(.ck-result-sec), .ck-item-links, .ck-recommend .ck-item-links { display: none !important; }
  body, .ck-result-sec { background: #fff !important; }
  .ck-result-sec { padding: 0 !important; }
  .ck-result { box-shadow: none !important; padding: 0 !important; }
  .ck-item { break-inside: avoid; border-color: #999 !important; }
  .ck-count, .ck-badge, .ck-item, .ck-recommend { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: #000 !important; text-decoration: none !important; }
}

/* こんな方におすすめ（4件）を2×2に */
@media (min-width: 901px) {
  .ck-page .rn-cases { grid-template-columns: repeat(2, 1fr); }
}

/* 青地＋白文字は「押せるボタン」だけにする。番号・アイコン・ラベル類は黄色地＋紺文字に */
.ck-page .wsd-sec-num,
.ck-page .faqp-q::before,
.ck-page .rn-flow-step,
.ck-page .rn-industry-icon,
.ck-page .rn-sol-icon { background: var(--rn-lemon); color: var(--rn-navy); }
.ck-page .rn-table thead th { background: #e6eef9; color: var(--rn-navy); }
.ck-page .rn-table thead th.rn-table-after { background: var(--rn-lemon); color: var(--rn-navy); }
.ck-recommend { border: 2px solid var(--rn-lemon); }

/* 人による詳しい無料診断：アイコンと項目名を中央寄せ */
.ck-page .rn-industry-card { text-align: center; }
.ck-page .rn-industry-icon { margin: 0 auto; }

/* 流れセクション：自動診断へ戻るボタン */
.ck-flow-btn { margin: 32px 0 24px; text-align: center; }
