/* ===== GUARD SAGAS フロント専用CSS（Blade + 素のJS。Vite / Tailwind 不使用） ===== */
:root {
  --g-navy: #0b1f3a; --g-navy-2: #12365f; --g-blue: #1d64c4; --g-cyan: #22b8cf;
  --g-bg: #f4f7fb; --g-text: #0f2540; --g-sub: #4b5563; --g-muted: #6b7280; --g-border: #e5e7eb;
  --g-lv1: #1d64c4; --g-lv2: #f5b400; --g-lv3: #f07b21; --g-lv4: #d62828; --g-lv5: #7f1d1d;
  --g-ok: #1d9c6b; --g-warn: #b45309; --g-danger: #c0392b;
  --g-radius: 14px; --g-radius-sm: 9px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Noto Sans JP', sans-serif; color: var(--g-text); background: var(--g-bg); line-height: 1.7; }
a { color: var(--g-blue); }
.lexend { font-family: 'Lexend', sans-serif; }

/* header / footer */
.g-header { background: var(--g-navy); padding: 12px 28px; }
/* ヘッダー内側も画面幅100%。本文（.container の max-width:1000px）とは別物として扱い、中央幅へ閉じ込めない */
.g-header-inner { width: 100%; max-width: none; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-brand { display: inline-flex; align-items: center; gap: 10px; color: #eaf2fb; text-decoration: none; }
.g-brand .mark { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--g-blue), var(--g-cyan)); }
.g-brand .name { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .06em; }
.g-brand img { height: 36px; width: auto; }
.g-header-nav a { color: #b8ccdf; font-size: 12px; text-decoration: none; margin-left: 14px; }
.g-header-nav a:hover { color: #fff; }
.g-footer { background: var(--g-navy); color: #9db3cc; text-align: center; padding: 22px; font-size: 12px; margin-top: 60px; }
.g-badge-internal { display: inline-block; background: #fde68a; color: #92400e; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 70% -10%, #17406e 0%, var(--g-navy) 60%); color: #eaf2fb; padding: 64px 20px 90px; text-align: center; }
.hero h1 { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 34px; line-height: 1.4; margin: 0 0 14px; }
.hero p.lead { font-size: 15px; color: #b8ccdf; max-width: 640px; margin: 0 auto 32px; line-height: 1.9; }
.url-box { max-width: 660px; margin: 0 auto; background: #fff; border-radius: var(--g-radius); padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.3); color: var(--g-text); }
.url-box label { display: block; text-align: left; color: #374151; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.url-row { display: flex; gap: 10px; flex-wrap: wrap; }
.url-row input { flex: 1; min-width: 200px; padding: 13px 14px; border: 1px solid #d1d5db; border-radius: var(--g-radius-sm); font-size: 14px; font-family: inherit; color: #111; }
.url-row input:focus { outline: none; border-color: var(--g-blue); box-shadow: 0 0 0 3px rgba(29,100,196,.15); }
.btn { display: inline-block; padding: 13px 22px; border: none; border-radius: var(--g-radius-sm); background: linear-gradient(135deg, var(--g-blue), var(--g-cyan)); color: #fff; font-weight: 700; font-family: 'Lexend', sans-serif; font-size: 14px; cursor: pointer; text-decoration: none; letter-spacing: .02em; }
.btn:hover { opacity: .92; }
.btn-outline { background: #fff; color: var(--g-blue); border: 1.5px solid var(--g-blue); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; }
.note { text-align: left; font-size: 12px; color: var(--g-warn); background: #fff8e1; border: 1px solid #fde68a; border-radius: 8px; padding: 9px 12px; margin-top: 14px; }
.error-box { text-align: left; font-size: 12px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 9px 12px; margin-top: 12px; }

/* plans */
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.plans { max-width: 900px; margin: -50px auto 40px; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 26px 24px; box-shadow: 0 8px 24px rgba(15,37,64,.06); }
.plan h3 { font-family: 'Lexend', sans-serif; font-size: 18px; margin: 0 0 4px; color: var(--g-navy-2); }
.plan .price { font-size: 13px; color: var(--g-muted); margin-bottom: 16px; }
.plan .price strong { font-size: 20px; color: var(--g-navy-2); font-family: 'Lexend', sans-serif; }
.disclaimer { max-width: 900px; margin: 0 auto 30px; padding: 0 20px; font-size: 12px; color: var(--g-muted); line-height: 1.9; text-align: center; }

/* cards & sections */
.card { background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 24px; box-shadow: 0 8px 24px rgba(15,37,64,.05); margin-bottom: 20px; }
.card h2 { font-family: 'Lexend', sans-serif; font-size: 18px; margin: 0 0 12px; color: var(--g-navy-2); }
.section-title { font-family: 'Lexend', sans-serif; font-size: 20px; color: var(--g-navy-2); margin: 36px 0 14px; display: flex; align-items: center; gap: 10px; }
.section-title .num { width: 34px; height: 34px; border-radius: 9px; background: var(--g-navy-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.target-url { font-size: 14px; word-break: break-all; background: #f8fafc; border: 1px solid var(--g-border); border-radius: 8px; padding: 10px 12px; }
.page-head { padding: 36px 0 10px; }
.page-head h1 { font-family: 'Lexend', sans-serif; font-size: 26px; margin: 0 0 6px; color: var(--g-navy-2); }
.page-head p { margin: 0; color: var(--g-muted); font-size: 13px; }

/* progress (shield + ripples) */
.progress-wrap { text-align: center; padding: 60px 20px; }
.shield { position: relative; width: 160px; height: 160px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
.shield .core { width: 92px; height: 92px; border-radius: 26px; background: linear-gradient(135deg, var(--g-blue), var(--g-cyan)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; box-shadow: 0 10px 30px rgba(29,100,196,.35); position: relative; z-index: 2; animation: pulse 2.4s ease-in-out infinite; }
.shield .ripple { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(34,184,207,.45); animation: ripple 3s ease-out infinite; }
.shield .ripple:nth-child(2) { animation-delay: 1s; }
.shield .ripple:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.meter { max-width: 520px; margin: 0 auto; height: 12px; background: #e5e9f0; border-radius: 999px; overflow: hidden; }
.meter .fill { height: 100%; width: 5%; background: linear-gradient(90deg, var(--g-blue), var(--g-cyan)); transition: width .8s ease; }
.progress-status { margin-top: 14px; font-size: 14px; color: var(--g-sub); min-height: 1.6em; }
.progress-steps { max-width: 520px; margin: 22px auto 0; text-align: left; font-size: 13px; color: var(--g-sub); }
.progress-steps li { list-style: none; padding: 6px 0; border-bottom: 1px dashed var(--g-border); display: flex; justify-content: space-between; }
.progress-steps li.done { color: var(--g-ok); }
.progress-steps li.active { color: var(--g-blue); font-weight: 600; }

/* result: level */
.level-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.level-box { border-radius: var(--g-radius); color: #fff; padding: 22px 18px; text-align: center; position: relative; overflow: hidden; }
.level-box .lv { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; }
.level-box .lbl { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-top: 8px; }
.level-box .dots { margin-top: 12px; font-size: 14px; letter-spacing: 4px; }
.level-box .hazard { position: absolute; right: -10px; bottom: -14px; font-size: 90px; opacity: .15; }
.level-1 { background: var(--g-lv1); } .level-2 { background: var(--g-lv2); color: #3b2f00; } .level-3 { background: var(--g-lv3); } .level-4 { background: var(--g-lv4); } .level-5 { background: var(--g-lv5); }
.score { font-family: 'Lexend', sans-serif; font-size: 40px; font-weight: 800; color: var(--g-navy-2); line-height: 1; }
.score small { font-size: 14px; color: var(--g-muted); font-weight: 400; }
.stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--g-sub); }
.stats b { color: var(--g-text); font-size: 18px; font-family: 'Lexend', sans-serif; display: block; }

/* result items */
.item { border: 1px solid var(--g-border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; background: #fff; display: grid; grid-template-columns: 8px 1fr; gap: 14px; }
.item .bar { border-radius: 4px; background: var(--g-ok); }
.item.detected .bar { background: var(--g-lv4); }
.item.detected.sev-critical .bar { background: var(--g-lv5); }
.item.detected.sev-high .bar { background: var(--g-lv4); }
.item.detected.sev-medium .bar { background: var(--g-lv3); }
.item.detected.sev-low .bar { background: var(--g-lv2); }
.item.detected.sev-info .bar { background: var(--g-blue); }
.item.unknown .bar { background: #9ca3af; }
.item-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.item-head .name { font-weight: 700; font-size: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef2f7; color: #374151; }
.tag-detected { background: #fee2e2; color: #991b1b; } .tag-ok { background: #dcfce7; color: #166534; } .tag-unknown { background: #e5e7eb; color: #4b5563; } .tag-update { background: #fff7d6; color: #8a6100; }
.tag-review { background: #fff7d6; color: #8a6100; } .tag-info { background: #e0f2fe; color: #075985; } .tag-na { background: #f3f4f6; color: #6b7280; }
.tag-sev-critical { background: #7f1d1d; color: #fff; } .tag-sev-high { background: #fecaca; color: #7f1d1d; } .tag-sev-medium { background: #ffedd5; color: #9a3412; } .tag-sev-low { background: #fef3c7; color: #92400e; } .tag-sev-info { background: #dbeafe; color: #1e40af; }
.tag-confirmed { background: #dbeafe; color: #1e40af; } .tag-estimated { background: #ede9fe; color: #5b21b6; } .tag-unknown-c { background: #e5e7eb; color: #4b5563; }
.item-desc { font-size: 13px; color: var(--g-sub); margin-top: 6px; line-height: 1.8; }
.item-evidence { font-size: 12px; color: var(--g-muted); margin-top: 6px; word-break: break-all; }
.item-evidence code { background: #f3f4f6; padding: 1px 5px; border-radius: 4px; }
.item-ai { margin-top: 8px; font-size: 13px; background: #f0f7ff; border-left: 3px solid var(--g-blue); padding: 8px 12px; border-radius: 0 8px 8px 0; white-space: pre-line; }
.locked { background: linear-gradient(135deg, #f8fafc, #eef2f7); border: 1px dashed #cbd5e1; border-radius: 12px; padding: 22px; text-align: center; color: var(--g-sub); font-size: 13px; }
.cta { background: linear-gradient(135deg, var(--g-navy-2), var(--g-navy)); color: #eaf2fb; border-radius: var(--g-radius); padding: 28px; text-align: center; margin: 30px 0; }
.cta h3 { font-family: 'Lexend', sans-serif; margin: 0 0 6px; font-size: 20px; }
.cta p { margin: 0 0 16px; font-size: 13px; color: #b8ccdf; }
.ai-box { background: #fff; border: 1px solid var(--g-border); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.ai-box h4 { margin: 0 0 8px; font-size: 14px; color: var(--g-navy-2); }
.ai-box p { margin: 0; font-size: 13px; white-space: pre-line; }
.ai-box ol { margin: 0; padding-left: 20px; font-size: 13px; }
.state-page { max-width: 640px; margin: 60px auto; text-align: center; padding: 0 20px; }
.state-page .icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--g-blue), var(--g-cyan)); }
.state-page .icon.warn { background: linear-gradient(135deg, #f07b21, #d62828); }
.state-page h1 { font-family: 'Lexend', sans-serif; font-size: 22px; color: var(--g-navy-2); margin: 0 0 10px; }
.state-page p { color: var(--g-sub); font-size: 14px; }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.meta { font-size: 12px; color: var(--g-muted); }
.prio-high { color: #b91c1c; font-weight: 700; } .prio-medium { color: #b45309; font-weight: 700; } .prio-low { color: #1d9c6b; font-weight: 700; }
.wr-box { border-radius: 12px; padding: 14px 16px; font-size: 13px; margin-bottom: 20px; } /* 次のブロック（案内カード等）との間隔を .card と揃える */
.wr-matched { background: #fee2e2; color: #7f1d1d; border: 1px solid #fecaca; }
.wr-not { background: #f0fdf4; color: #14532d; border: 1px solid #bbf7d0; }
.wr-unknown { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }

@media (max-width: 720px) {
  .hero { padding: 44px 16px 70px; } .hero h1 { font-size: 24px; }
  .level-card { grid-template-columns: 1fr; }
  .plans { margin-top: -40px; }
  .item { grid-template-columns: 6px 1fr; gap: 10px; padding: 12px; }
  .section-title { font-size: 17px; }
}

/* ===== 診断プラン比較カード（トップ / プラン選択） ===== */
.plans { max-width: 960px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; border: 2px solid transparent; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,37,64,.14); }
.plan.selected, .plan:has(input:checked) { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,37,64,.18); border-color: var(--g-cyan); }
.plan input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
/* 左右カードの上端・下端を揃える（選択中カードは枠線・影で示し、常時の浮き上がりはホバー時のみ） */
.plan.selected:not(:hover), .plan:has(input:checked):not(:hover) { transform: none; }
.cmp .cmp-note { display: block; font-size: 11.5px; font-weight: 400; line-height: 1.5; opacity: .8; }
.plan-free { background: #f5f7fa; border-color: #e3e8ef; color: var(--g-text); }
.plan-full { background: linear-gradient(160deg, #1d64c4 0%, #174f9e 100%); color: #eaf2fb; border-color: #1d64c4; }
.plan-full h3, .plan-full .price strong { color: #fff; }
.plan-full .price { color: #c9dcf5; }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.plan-check { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #e5e7eb; color: #4b5563; white-space: nowrap; }
.plan.selected .plan-check, .plan:has(input:checked) .plan-check { background: var(--g-cyan); color: #06303a; }
.plan-full .plan-check { background: rgba(255,255,255,.18); color: #eaf2fb; }
.plan-full.selected .plan-check, .plan-full:has(input:checked) .plan-check { background: var(--g-cyan); color: #06303a; }
.plan-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 6px; background: #22b8cf; color: #06303a; margin-bottom: 8px; font-family: 'Lexend', sans-serif; }
.plan-free .plan-badge { background: #d9dee6; color: #374151; }
.cmp { list-style: none; padding: 0; margin: 0; }
.cmp li { display: flex; align-items: flex-start; gap: 10px; min-height: 42px; padding: 8px 0; border-top: 1px solid rgba(15,37,64,.08); font-size: 13.5px; line-height: 1.6; }
.plan-full .cmp li { border-top-color: rgba(255,255,255,.14); }
.cmp li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--g-ok); margin-top: 4px; width: 16px; flex-shrink: 0; }
.plan-full .cmp li::before { color: #7fe3f2; }
.cmp li.plus { font-weight: 700; }
.cmp li.divider { min-height: 0; padding: 12px 0 4px; border-top: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #a9c4e8; text-transform: uppercase; font-family: 'Lexend', sans-serif; }
.cmp li.divider::before { content: none; }
.cmp li.spacer { border-top: none; visibility: hidden; }
.cmp details { width: 100%; }
.cmp details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; }
.cmp details summary::-webkit-details-marker { display: none; }
.cmp details summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; opacity: .8; transition: transform .18s; }
.cmp details[open] summary::after { transform: rotate(180deg); }
.cmp details .acc { margin: 10px 0 4px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 12.5px; font-weight: 400; }
.plan-free .cmp details .acc { background: #fff; }
.acc h5 { margin: 0 0 4px; font-size: 12.5px; font-family: 'Lexend', sans-serif; color: #fff; }
.acc p { margin: 0 0 10px; line-height: 1.7; color: #dbe8fb; }
.acc p:last-child { margin-bottom: 0; }
.plan-cta { margin-top: auto; padding-top: 16px; }
.plan-cta .btn { width: 100%; }
.plan-full .btn-outline { background: #fff; color: var(--g-blue); border-color: #fff; }
.plan-note { font-size: 12px; margin-top: 8px; }
.plan-full .plan-note { color: #c9dcf5; }
.plans-hint { text-align: center; font-size: 13px; color: var(--g-sub); margin: 0 auto 14px; max-width: 900px; padding: 0 20px; }
@media (max-width: 720px) {
  .plan:hover, .plan.selected, .plan:has(input:checked) { transform: none; }
  .cmp li { min-height: 0; }
  .cmp li.spacer { display: none; }
}
/* プラン確認ページ（カード選択なし・ヒーロー重なりなし） */
.plans.plans-flat { margin-top: 24px; }
.plans.plans-flat .plan { cursor: default; }
.plans.plans-flat .plan:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(15,37,64,.12); }
/* 左右カードの最下段ボタンを水平に揃える（選択中カードだけ浮かせない。説明文はボタンの上） */
.plans.plans-flat .plan.selected:not(:hover) { transform: none; }
.plans.plans-flat .plan-note { margin: 0 0 10px; line-height: 1.6; }
.plans.plans-flat .plan-cta .btn-outline { padding-top: 12px; padding-bottom: 12px; } /* 枠線ぶんを差し引き、左右のボタン高さを揃える */

/* ===== ヒーロー背景画像（画面幅100%・中央はテキスト用に空いている） ===== */
.hero.hero-image {
  background-color: var(--g-navy);
  background-image: linear-gradient(180deg, rgba(8,24,48,.35) 0%, rgba(8,24,48,.15) 45%, rgba(8,24,48,.55) 100%), url('../images/guard_top01.png');
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  padding: 88px 20px 110px;
}
.hero.hero-image h1 { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero.hero-image p.lead { color: #d3e2f5; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
@media (max-width: 720px) { .hero.hero-image { padding: 56px 16px 80px; background-position: center 30%; } }

/* ===== ヘッダー / フッター（背景帯は画面幅100%。内側の配置は維持） ===== */
.g-header, .g-footer { width: 100%; box-sizing: border-box; margin-left: 0; margin-right: 0; }
.g-footer { padding: 20px 20px; text-align: left; }
.g-footer-inner { width: 100%; max-width: none; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.g-footer-copy { white-space: nowrap; color: #9db3cc; }
.g-footer-links { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; flex: 1; }
.g-footer-links a { color: #b8ccdf; text-decoration: none; font-size: 12px; white-space: nowrap; }
.g-footer-links a:hover { color: #fff; }
.g-footer-company { white-space: nowrap; }
.g-footer-company a { color: #eaf2fb; text-decoration: none; font-family: 'Lexend', sans-serif; font-weight: 700; letter-spacing: .06em; }
.g-footer-company a:hover { color: var(--g-cyan); }
@media (max-width: 720px) {
  .g-footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .g-footer-links { justify-content: center; }
}

/* ===== プランカード: 選択中バッジ廃止・詳細診断の AI アイコン ===== */
.plan-check { display: none; }
.ai-mark { flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #22b8cf 0%, #1d64c4 100%); box-shadow: 0 6px 16px rgba(34,184,207,.35), inset 0 0 0 1.5px rgba(255,255,255,.35); }
.ai-mark span { font-family: 'Lexend', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .04em; color: #fff; line-height: 1; }
.plans-hint { line-height: 1.9; margin-top: 8px; }

/* ===== 固定ページ本文（HTML） ===== */
.page-body { font-size: 14.5px; line-height: 1.9; color: var(--g-text); }
.page-body h2 { font-family: 'Lexend', 'Noto Sans JP', sans-serif; font-size: 20px; color: var(--g-navy-2); margin: 28px 0 10px; padding-left: 12px; border-left: 4px solid var(--g-blue); }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { font-size: 16.5px; color: var(--g-navy-2); margin: 22px 0 8px; }
.page-body h4 { font-size: 14.5px; color: var(--g-navy-2); margin: 16px 0 6px; }
.page-body p { margin: 0 0 12px; }
.page-body ul, .page-body ol { margin: 0 0 14px; padding-left: 24px; }
.page-body li { margin-bottom: 4px; }
.page-body a { color: var(--g-blue); text-decoration: underline; }
.page-body hr { border: none; border-top: 1px solid var(--g-border); margin: 22px 0; }
.page-body blockquote { margin: 0 0 12px; padding: 10px 14px; background: #f8fafc; border-left: 3px solid #cbd5e1; color: var(--g-sub); }

/* ===== 共通レイアウト =====
   DOM: body > header.g-header / main.g-main / footer.g-footer（親の max-width の中に入れない）
   外側（header / footer / hero）は画面幅100%の通常ブロック、内側（.g-header-inner / .g-footer-inner / .container）だけ最大幅・中央。
   main が残り高さを埋め、短いページでもフッターが画面下へ。CSS の負マージン等による拡張は行わない。 */
html, body { width: 100%; margin: 0; padding: 0; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .g-header, body > .g-footer, .g-main > .hero { display: block; width: 100%; max-width: none; box-sizing: border-box; }
.g-main { flex: 1 0 auto; width: 100%; }
.g-footer { margin-top: auto; flex-shrink: 0; }
.g-main > .container:first-child { padding-top: 0; }
.page-container { padding-bottom: 20px; }
.g-main + .g-footer { margin-top: 40px; }

/* ===== 固定ページ本文（HTML）: 読みやすい階層・余白・部品 ===== */
.card.page-body { padding: 40px 44px 44px; margin-top: 36px; }
.page-body { font-size: 15px; line-height: 2.0; color: var(--g-text); text-align: left; }
.page-body > :first-child { margin-top: 0 !important; }
.page-body h2 { font-family: 'Lexend', 'Noto Sans JP', sans-serif; font-size: 22px; line-height: 1.5; color: var(--g-navy-2); margin: 44px 0 16px; padding: 0 0 10px 14px; border-left: 4px solid var(--g-blue); border-bottom: 1px solid var(--g-border); }
.page-body h3 { font-size: 17px; color: var(--g-navy-2); margin: 30px 0 10px; padding-left: 10px; border-left: 3px solid var(--g-cyan); line-height: 1.5; }
.page-body h4 { font-size: 15px; color: var(--g-navy-2); margin: 22px 0 8px; font-weight: 700; }
.page-body p { margin: 0 0 16px; }
.page-body p.lead { font-size: 16px; color: var(--g-sub); margin-bottom: 20px; }
.page-body p.center { text-align: center; }
.page-body .muted, .page-body small { color: var(--g-muted); font-size: 13px; }
.page-body ul, .page-body ol { margin: 0 0 18px; padding-left: 26px; }
.page-body li { margin-bottom: 7px; padding-left: 2px; }
.page-body li::marker { color: var(--g-blue); }
.page-body a { color: var(--g-blue); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--g-navy-2); }
.page-body hr { border: none; border-top: 1px solid var(--g-border); margin: 30px 0; }
.page-body blockquote, .page-body .note { margin: 0 0 18px; padding: 14px 18px; background: #f3f7fc; border: 1px solid #d8e5f5; border-left: 4px solid var(--g-blue); border-radius: 0 10px 10px 0; color: var(--g-sub); font-size: 14px; line-height: 1.9; }
.page-body .note-warn { background: #fff8e8; border-color: #f5dea8; border-left-color: #f0a500; }
.page-body .note p:last-child, .page-body blockquote p:last-child, .page-body .card p:last-child { margin-bottom: 0; }
.page-body .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 22px; }
.page-body .card { background: #fff; border: 1px solid var(--g-border); border-radius: 12px; padding: 20px 22px; box-shadow: 0 6px 18px rgba(15,37,64,.05); margin: 0; }
.page-body .card h3, .page-body .card h4 { margin-top: 0; border: none; padding-left: 0; }
.page-body .card h3 { font-size: 16px; }
.page-body .card ul { margin-bottom: 0; }
.page-body .badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 6px; background: #e0edff; color: var(--g-blue); margin-right: 8px; vertical-align: middle; font-family: 'Lexend', sans-serif; }
.page-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14px; }
.page-body th, .page-body td { padding: 11px 14px; border-bottom: 1px solid var(--g-border); text-align: left; vertical-align: top; line-height: 1.7; }
.page-body th { background: #f3f7fc; color: var(--g-navy-2); font-weight: 700; white-space: nowrap; }
.page-body td.lv1, .page-body th.lv1 { border-left: 6px solid var(--g-lv1); } .page-body td.lv2 { border-left: 6px solid var(--g-lv2); } .page-body td.lv3 { border-left: 6px solid var(--g-lv3); } .page-body td.lv4 { border-left: 6px solid var(--g-lv4); } .page-body td.lv5 { border-left: 6px solid var(--g-lv5); }
.page-body ol.steps { counter-reset: step; list-style: none; padding-left: 0; }
.page-body ol.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 12px; }
.page-body ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 9px; background: var(--g-navy-2); color: #fff; font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 720px) {
  .card.page-body { padding: 26px 20px 30px; margin-top: 20px; }
  .page-body { font-size: 14.5px; line-height: 1.9; }
  .page-body h2 { font-size: 19px; margin-top: 34px; }
  .page-body table { display: block; overflow-x: auto; }
}

/* ===== 診断結果: 推奨対応・LEVEL/スコアの見方 ===== */
.reco { display: grid; grid-template-columns: 10px 1fr; gap: 18px; background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 22px 26px; margin-bottom: 20px; box-shadow: 0 8px 24px rgba(15,37,64,.05); }
.reco .bar { border-radius: 6px; background: var(--g-lv1); }
.reco.lv-1 .bar { background: var(--g-lv1); } .reco.lv-2 .bar { background: var(--g-lv2); } .reco.lv-3 .bar { background: var(--g-lv3); } .reco.lv-4 .bar { background: var(--g-lv4); } .reco.lv-5 .bar { background: var(--g-lv5); }
.reco .label { font-family: 'Lexend', sans-serif; font-size: 12px; letter-spacing: .1em; color: var(--g-muted); margin-bottom: 6px; }
.reco .state { font-size: 15px; font-weight: 700; color: var(--g-navy-2); margin-bottom: 6px; }
.reco .text { font-size: 17px; font-weight: 700; line-height: 1.8; color: var(--g-text); }
.reco.lv-4 .text, .reco.lv-5 .text { color: #7f1d1d; }
.reco.lv-3 .text { color: #9a3412; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.guide .card { margin-bottom: 0; }
.guide table { width: 100%; border-collapse: collapse; font-size: 13px; }
.guide th, .guide td { padding: 8px 10px; border-bottom: 1px solid var(--g-border); text-align: left; vertical-align: top; line-height: 1.6; }
.guide th { color: var(--g-muted); font-weight: 600; font-size: 12px; background: #f8fafc; }
.guide tr.current td { background: #f0f7ff; font-weight: 700; }
.guide .lvtag { display: inline-block; min-width: 68px; text-align: center; color: #fff; font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.guide .lvtag.lv-2 { color: #3b2f00; }
.guide-link { text-align: center; margin: 16px 0 0; font-size: 13px; }
@media (max-width: 720px) { .guide { grid-template-columns: 1fr; } .reco { padding: 18px; gap: 14px; } .reco .text { font-size: 15.5px; } }

/* ===== フッター 2段構成 =====
   フッター自体も内側（.g-footer-inner）も画面幅100%。本文の中央1000px幅とは無関係。
   上段=固定ページメニュー（中央寄せ）/ 下段=コピーライトと運営会社を中央付近にまとめて配置 */
.g-footer { padding: 30px 28px 26px; }
.g-footer-inner { display: block; width: 100%; max-width: none; margin: 0; }
.g-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
/* フッターメニュー: 2行構成（各行は中央揃え。幅が足りない場合は行内で折り返す） */
.g-footer-links { flex-direction: column; align-items: center; gap: 10px; }
.g-footer-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.g-footer-links a { color: #c9d8ea; font-size: 13px; }
.g-footer-bottom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 30px; }
.g-footer-copy { color: #9db3cc; font-size: 12px; }
.g-footer-company a { font-size: 13px; }
@media (max-width: 720px) {
  .g-header { padding: 12px 16px; }
  .g-footer { padding: 26px 16px 22px; }
  .g-footer-links { gap: 8px; }
  .g-footer-row { gap: 8px 14px; }
  .g-footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}
/* reCAPTCHA v3: 右下のバッジはページトップボタン等と重なるため非表示にし、代わりにフッターへ案内文を表示する
   （Google の FAQ で認められた方法。認証処理には影響しない） */
.grecaptcha-badge { visibility: hidden; }
.g-footer-recaptcha { margin: 12px 0 0; text-align: center; color: #8aa2bd; font-size: 11px; line-height: 1.6; }

/* ===== 無料診断（簡易診断）の注意表示 / WordPress 警告 ===== */
.free-notice { display: grid; grid-template-columns: 34px 1fr; gap: 14px; background: #fff8e8; border: 1px solid #f3dca4; border-radius: var(--g-radius); padding: 18px 22px; margin-bottom: 20px; }
.free-notice .icon { width: 34px; height: 34px; border-radius: 9px; background: #f0a500; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.free-notice .title { font-weight: 700; color: #7a4a00; font-size: 14px; margin-bottom: 8px; }
.free-notice p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.85; color: #4a3a1c; }
.free-notice p:last-child { margin-bottom: 0; }
.free-notice strong { color: #7a4a00; }
.wp-warning { margin-top: 8px; background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid var(--g-lv4); border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: 13px; color: #7f1d1d; font-weight: 700; line-height: 1.8; }
.level-note { font-size: 12px; color: var(--g-muted); font-weight: 400; }
@media (max-width: 720px) { .free-notice { grid-template-columns: 1fr; padding: 16px; } .free-notice .icon { display: none; } }

/* ===== 重大な既知脆弱性の警告（確定: 赤 / 要確認: 黄） ===== */
.cv-alert { background: #fef2f2; border: 1px solid #fecaca; border-left: 5px solid var(--g-lv4); border-radius: 0 var(--g-radius) var(--g-radius) 0; padding: 18px 22px; margin-bottom: 20px; }
.cv-alert.is-review { background: #fffbeb; border-color: #f3dca4; border-left-color: #d97706; }
.cv-alert .cv-title { font-weight: 700; font-size: 15px; color: #7f1d1d; margin-bottom: 8px; }
.cv-alert.is-review .cv-title { color: #7a4a00; }
.cv-group { border-top: 1px dashed rgba(0,0,0,.12); padding-top: 10px; margin-top: 10px; font-size: 13.5px; line-height: 1.85; }
.cv-group:first-of-type { border-top: 0; padding-top: 0; }
.cv-group .cv-head { font-weight: 700; color: var(--g-text); }
.cv-group p { margin: 4px 0; }
.cv-group .cv-kev { color: #991b1b; font-weight: 700; }
.cv-group .cv-kev-note { margin-top: 0; font-size: 12px; color: var(--g-muted); }
.cv-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.75; }
.cv-list li { margin-bottom: 6px; overflow-wrap: anywhere; }
@media (max-width: 720px) { .cv-alert { padding: 14px 16px; } }

/* ===== 無料診断の待機中ボタン（カウントダウン表示） ===== */
.btn.is-waiting, .btn.is-waiting:hover {
  background: #e5e7eb;
  color: #6b7280;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
  border: 1px solid #d8dde4;
}

/* ===== トップへ戻る（PCのみ・スクロール後に表示） ===== */
.to-top {
  position: fixed; right: 28px; bottom: 28px; width: 46px; height: 46px;
  border: none; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--g-blue), var(--g-cyan));
  color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(15,37,64,.28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 40;
}
.to-top.is-visible { opacity: .92; visibility: visible; transform: translateY(0); }
.to-top:hover { opacity: 1; }
@media (max-width: 720px) { .to-top { display: none; } }

/* 診断項目: 一般向け説明と技術者向け情報 */
.ex-general p { margin: 0 0 6px; line-height: 1.8; overflow-wrap: anywhere; }
.ex-headline { font-weight: 600; color: var(--g-navy-2); }
.ex-state { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; vertical-align: 1px; background: #eef2f7; color: #475569; }
.ex-state-urgent { background: #fde8e8; color: #b42318; }
.ex-state-soon { background: #fff1e6; color: #b54708; }
.ex-state-recommend { background: #fff7d6; color: #8a6100; }
.ex-state-minor { background: #eef6ff; color: #1d4f91; }
.ex-state-estimated, .ex-state-unverified { background: #f1f2f6; color: #4b5563; }
.ex-state-update { background: #fff7d6; color: #8a6100; }
/* WordPress プラグイン・テーマ一覧（多数でも読みやすいよう、表は横スクロール・長い名前は折り返し） */
.wpc-table { width: 100%; font-size: 12px; border-collapse: collapse; }
.wpc-table th { text-align: left; border-bottom: 1px solid var(--g-border); padding: 4px 6px 4px 0; white-space: nowrap; }
.wpc-table td { border-bottom: 1px dashed var(--g-border); padding: 5px 6px 5px 0; vertical-align: top; overflow-wrap: anywhere; }
/* プラグイン一覧・テーマ一覧（初期状態は閉じる。表の中の既知脆弱性はさらに個別に開閉） */
.wpc-list { margin-top: 8px; border: 1px solid var(--g-border); border-radius: 8px; background: #fff; }
.wpc-list > summary { list-style: none; cursor: pointer; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; line-height: 1.6; }
.wpc-list > summary::-webkit-details-marker { display: none; }
.wpc-list > summary:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; border-radius: 8px; }
.wpc-list-toggle { font-size: 13px; font-weight: 700; color: var(--g-blue); }
.wpc-list-toggle::after { content: " ▼"; }
.wpc-list[open] > summary .wpc-list-toggle::after { content: " ▲"; }
.wpc-list > summary .vd-close-label, .wpc-list[open] > summary .vd-open-label { display: none; }
.wpc-list[open] > summary .vd-close-label { display: inline; }
.wpc-list-meta { font-size: 12px; color: var(--g-sub); }
.wpc-list > div { padding: 0 12px 8px; }
.ex-note { font-size: 13px; color: var(--g-sub); background: #f7f9fc; border-left: 3px solid var(--g-border); padding: 6px 10px; border-radius: 4px; }
.ex-action { font-size: 14px; }
.ex-label { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: var(--g-navy-2); color: #fff; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.ex-tech { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--g-border); }
.ex-tech-label { font-size: 11px; font-weight: 600; color: var(--g-sub); letter-spacing: .04em; margin-bottom: 4px; }
@media (max-width: 600px) {
  /* WordPress プラグイン・テーマ一覧: スマートフォンでは1製品ずつのカード表示 */
  .wpc-table thead { display: none; }
  .wpc-table tr { display: block; padding: 8px 0; border-bottom: 1px dashed var(--g-border); }
  .wpc-table td { display: block; border: 0; padding: 2px 0; }
  .wpc-table td::before { content: attr(data-label); display: inline-block; min-width: 5.5em; margin-right: 6px; font-weight: 600; color: #64748b; }
}
/* 無料診断: カテゴリ別の概要・FULL CHECK の案内 */
.free-cat { list-style: none; margin: 0; padding: 0; }
.free-cat li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px dashed var(--g-border); font-size: 13px; }
.free-cat li:last-child { border-bottom: 0; }
.free-cat .name { font-weight: 700; min-width: 11em; margin-right: 4px; }
.ex-free-more { margin: 8px 0 0; font-size: 12px; color: #475569; background: #f4f7fb; border-radius: 8px; padding: 6px 10px; }
.cta .full-contents { display: block; width: fit-content; max-width: 100%; box-sizing: border-box; text-align: left; margin: 0 auto 18px; padding-left: 20px; font-size: 13px; color: #d7e4f2; line-height: 1.8; } /* ボタンは箇条書きの下（横並びにしない） */
/* CMS の検出結果と本体の更新状況・診断対象ページ */
.cms-card { padding: 18px 20px; }
.cms-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.cms-name { font-weight: 700; font-size: 15px; color: var(--g-navy-2); }
.cms-text { margin: 0; font-size: 14px; }
table.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
table.kv th { text-align: left; white-space: nowrap; color: var(--g-sub); font-weight: 500; padding: 5px 12px 5px 0; vertical-align: top; width: 9em; }
table.kv td { padding: 5px 0; vertical-align: top; overflow-wrap: anywhere; }
.page-url { font-family: Consolas, Menlo, monospace; font-size: 12px; color: var(--g-sub); overflow-wrap: anywhere; margin: 2px 0 6px; }
.page-issue { border-top: 1px dashed var(--g-border); padding: 6px 0 2px; margin-top: 6px; font-size: 14px; }
@media (max-width: 720px) { table.kv th { width: auto; display: block; padding-bottom: 0; } table.kv td { display: block; padding-top: 0; } }

/* ===== 脆弱性情報（公開ページ: 一覧・詳細・トップページの新着） ===== */
.vi-wrap { padding-top: 8px; }
.vi-crumbs { font-size: 12px; color: var(--g-muted); padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.vi-crumbs a { color: var(--g-muted); text-decoration: none; }
.vi-crumbs a:hover { color: var(--g-blue); text-decoration: underline; }
.vi-crumbs .sep { color: #b6c0cc; }
.vi-head { padding-top: 14px; }
.vi-head p { line-height: 1.8; }
.vi-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.vi-search input, .vi-search select { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: var(--g-radius-sm); font-size: 14px; font-family: inherit; color: var(--g-text); background: #fff; }
.vi-search input { flex: 1 1 260px; min-width: 0; }
.vi-search select { flex: 0 1 190px; min-width: 0; }
.vi-search input:focus, .vi-search select:focus { outline: none; border-color: var(--g-blue); box-shadow: 0 0 0 3px rgba(29,100,196,.15); }
.vi-search .btn { padding: 10px 18px; }
.vi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vi-chip { font-size: 12.5px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--g-border); background: #fff; color: var(--g-sub); text-decoration: none; }
.vi-chip:hover { border-color: var(--g-blue); color: var(--g-blue); }
.vi-chip.is-active { background: var(--g-navy-2); border-color: var(--g-navy-2); color: #fff; }
.vi-count { margin: 6px 0 10px; }
.vi-empty { color: var(--g-sub); font-size: 14px; }
.vi-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; }
.vi-item { padding: 14px 18px 14px 20px; border-top: 1px solid var(--g-border); position: relative; }
.vi-item:first-child { border-top: 0; }
.vi-item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 3px 3px 0; background: #cbd5e1; }
.vi-item.sev-critical::before { background: var(--g-lv5); }
.vi-item.sev-high::before { background: var(--g-lv4); }
.vi-item.sev-medium::before { background: var(--g-lv3); }
.vi-item.sev-low::before { background: var(--g-lv2); }
.vi-title { display: block; font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--g-navy-2); text-decoration: none; overflow-wrap: anywhere; }
.vi-title:hover { color: var(--g-blue); text-decoration: underline; }
.vi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; font-size: 12px; color: var(--g-muted); }
.vi-date { white-space: nowrap; }
.vi-summary { margin: 6px 0 0; font-size: 13px; color: var(--g-sub); line-height: 1.75; overflow-wrap: anywhere; }
.vi-labels { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; }
.vi-cat { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; background: #e8f0fb; color: #1d4f91; text-decoration: none; white-space: nowrap; }
.vi-tag { display: inline-block; font-size: 12px; color: var(--g-blue); text-decoration: none; white-space: nowrap; }
a.vi-cat:hover, a.vi-tag:hover { text-decoration: underline; }
.vi-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 8px; }
.vi-page { min-width: 36px; box-sizing: border-box; padding: 6px 10px; text-align: center; font-size: 13px; border: 1px solid var(--g-border); border-radius: 8px; background: #fff; color: var(--g-navy-2); text-decoration: none; }
a.vi-page:hover { border-color: var(--g-blue); color: var(--g-blue); }
.vi-page.is-current { background: var(--g-navy-2); border-color: var(--g-navy-2); color: #fff; font-weight: 700; }
.vi-page.is-disabled { color: #b6c0cc; }
.vi-page-gap { padding: 6px 2px; color: var(--g-muted); }
.vi-tagcloud { margin: 28px 0 0; }
.vi-tagcloud h2, .vi-related h2 { font-size: 16px; color: var(--g-navy-2); margin: 0 0 10px; }
.vi-tagcloud div { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.vi-tagcloud .vi-tag { background: #fff; border: 1px solid var(--g-border); border-radius: 999px; padding: 3px 10px; }
.vi-tagcloud .vi-tag span { color: var(--g-muted); font-size: 11px; margin-left: 2px; }
.vi-tagcloud .vi-tag.is-active { border-color: var(--g-blue); }
.vi-cta { margin: 28px 0 14px; }
.vi-note { margin: 14px 0 0; line-height: 1.8; }
/* 詳細 */
.vi-article { margin-top: 14px; padding: 26px 28px; }
.vi-article-head h1 { font-size: 22px; line-height: 1.55; color: var(--g-navy-2); margin: 0 0 8px; overflow-wrap: anywhere; }
.vi-section { margin-top: 24px; }
.vi-section h2 { font-size: 17px; color: var(--g-navy-2); margin: 0 0 10px; padding-left: 10px; border-left: 4px solid var(--g-blue); }
.vi-section p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.85; }
.vi-table-wrap { overflow-x: auto; }
.vi-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vi-table th, .vi-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--g-border); overflow-wrap: anywhere; }
.vi-table thead th { background: #f4f7fb; font-size: 12px; color: var(--g-sub); white-space: nowrap; }
.vi-dl th { width: 9.5em; white-space: nowrap; color: var(--g-sub); font-weight: 500; background: #f8fafc; }
.vi-code { font-family: Consolas, Menlo, monospace; font-size: 12px; color: var(--g-sub); overflow-wrap: anywhere; }
.vi-reco { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.85; }
.vi-reco li { margin-bottom: 4px; }
.vi-original { border: 1px solid var(--g-border); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: #fbfcfe; }
.vi-original-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; font-size: 13.5px; color: var(--g-navy-2); }
.vi-section .vi-original-title { font-weight: 700; font-size: 14px; margin: 0 0 6px; overflow-wrap: anywhere; }
.vi-original-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.75; color: var(--g-text); max-height: 420px; overflow-y: auto; }
.vi-rights { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--g-border); font-size: 11.5px; color: var(--g-muted); line-height: 1.7; overflow-wrap: anywhere; }
.vi-notice { margin-top: 6px; }
.vi-sources { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.vi-sources li { padding: 7px 0; border-bottom: 1px dashed var(--g-border); overflow-wrap: anywhere; }
.vi-section .vi-nvd { margin-top: 10px; }
.vi-related { margin-top: 10px; }
.vi-list-compact .vi-item { padding-top: 10px; padding-bottom: 10px; }
.vi-list-compact .vi-title { font-size: 14px; }
.vi-back { margin: 18px 0 0; font-size: 13px; }
/* トップページ: 最新の脆弱性情報（横長リスト） */
.vi-latest { max-width: 900px; margin: 6px auto 26px; padding: 0 20px; box-sizing: border-box; }
.vi-latest-title { font-size: 16px; color: var(--g-navy-2); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.vi-latest-title i { color: var(--g-blue); }
.vi-latest-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--g-border); border-radius: 12px; overflow: hidden; }
.vi-latest-list li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--g-border); font-size: 13.5px; }
.vi-latest-list li:first-child { border-top: 0; }
.vi-latest-date { font-family: 'Lexend', sans-serif; font-size: 12.5px; color: var(--g-muted); white-space: nowrap; flex-shrink: 0; }
.vi-latest-cats { flex-shrink: 0; display: inline-flex; gap: 4px; }
.vi-latest-link { color: var(--g-navy-2); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vi-latest-link:hover { color: var(--g-blue); text-decoration: underline; }
.vi-latest-more { text-align: right; margin: 8px 0 0; font-size: 13px; }
.vi-latest-more a { text-decoration: none; font-weight: 700; }
.vi-latest-more a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .vi-article { padding: 20px 16px; }
  .vi-article-head h1 { font-size: 19px; }
  .vi-search select { flex: 1 1 45%; }
  .vi-search .btn { flex: 1 1 100%; }
  .vi-dl th { width: auto; white-space: normal; }
  .vi-latest-list li { flex-wrap: wrap; gap: 4px 8px; }
  .vi-latest-link { flex-basis: 100%; white-space: normal; }
}

/* ===== ドメイン・サーバー情報（診断結果の補足資料。強調しない） ===== */
.domain-info { overflow-wrap: anywhere; }
.domain-info .di-title { font-size: 14px; color: var(--g-navy-2); margin: 16px 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--g-border); }
.domain-info .di-lead { font-size: 13px; color: var(--g-sub); background: #f6f8fb; border-radius: 8px; padding: 8px 12px; margin: 0 0 8px; }
.domain-info .di-table th { width: 15em; white-space: normal; }
.domain-info .di-table td { min-width: 0; word-break: break-word; }
.domain-info .di-val { line-height: 1.6; }
.domain-info .di-mono { font-family: Consolas, Menlo, monospace; font-size: 12px; word-break: break-all; }
.domain-info .di-muted { color: var(--g-muted); }
.domain-info .di-help { font-size: 11.5px; color: var(--g-muted); margin: 1px 0 3px; line-height: 1.5; }
.domain-info .di-details summary { cursor: pointer; color: var(--g-sub); font-size: 12.5px; }
.domain-info .di-details[open] summary { margin-bottom: 4px; }
.domain-info .di-details .di-val { padding: 3px 0; border-bottom: 1px dashed var(--g-border); }
.domain-info .di-notice { font-size: 13px; background: #f4f7fb; border-left: 3px solid #94a3b8; border-radius: 6px; padding: 8px 12px; margin: 0 0 10px; }
.domain-info .di-notes { margin: 14px 0 0; padding-left: 18px; font-size: 11.5px; color: var(--g-muted); line-height: 1.6; }
.domain-info .di-attrib { margin: 6px 0 0; font-size: 11px; color: var(--g-muted); }
.domain-info .di-attrib a { color: var(--g-muted); }
.domain-info .di-upsell { margin: 12px 0 0; font-size: 12px; color: var(--g-muted); line-height: 1.7; }
@media (max-width: 720px) { .domain-info .di-table th { width: auto; } }

/* ===== お知らせ（一覧・記事詳細。脆弱性情報・固定ページの部品を流用） ===== */
.info-tabs { margin: 4px 0 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item::before { background: var(--g-blue); }
.info-body { flex: 1 1 auto; min-width: 0; }
.info-body .vi-meta { margin: 0 0 4px; }
.info-thumb { flex: 0 0 150px; display: block; border-radius: 8px; overflow: hidden; background: #eef2f7; aspect-ratio: 16 / 9; }
.info-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.page-body.info-article { margin-top: 14px; }
.info-article-head { margin-bottom: 18px; }
.info-article-head .vi-meta { margin: 0 0 8px; }
.info-article-head h1 { font-size: 24px; line-height: 1.5; color: var(--g-navy-2); margin: 0; overflow-wrap: anywhere; }
.info-eyecatch { margin: 0 0 22px; }
.info-eyecatch img { width: 100%; height: auto; border-radius: 10px; display: block; }
.info-content { overflow-wrap: anywhere; }
.info-content img { max-width: 100%; height: auto; border-radius: 6px; }
.info-content table { display: block; max-width: 100%; overflow-x: auto; }
.info-preview { margin: 14px 0 0; }
.info-back { margin: 18px 0 8px; font-size: 14px; }
.info-back a { color: var(--g-blue); text-decoration: none; }
.info-back a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .info-item { flex-direction: column; gap: 10px; }
  .info-thumb { flex: none; width: 100%; max-width: 360px; }
  .info-article-head h1 { font-size: 20px; }
}

/* ===== 既知脆弱性の詳細表（vuln-details）=====
   見出し行と横スクロールバーを表の範囲内で上部に追従させ、本文と横位置を連動させる（JavaScript が無い場合は通常の表と下部のスクロールバー）。
   列幅は見出し用と本文用の表で共通（colgroup・table-layout: fixed）。狭い画面では表の中だけで横スクロールする */
.vd { position: relative; margin-top: 6px; word-break: normal; }
.vd-table { table-layout: fixed; width: max(100%, 1180px); border-collapse: collapse; font-size: 12px; }
.vd-table th { text-align: left; white-space: nowrap; padding: 6px 8px; border-bottom: 1px solid var(--g-border); }
.vd-table td { padding: 6px 8px; vertical-align: top; border-bottom: 1px dashed var(--g-border); overflow-wrap: anywhere; }
.vd-table .vd-id { white-space: nowrap; font-weight: 700; }
.vd-table .vd-seg { display: block; white-space: nowrap; }
.vd-body { overflow-x: auto; }
.vd-head { display: none; }
.vd.vd-js .vd-head { display: block; position: sticky; top: 0; z-index: 3; background: #fff; }
.vd.vd-js .vd-head-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.vd.vd-js .vd-head-scroll::-webkit-scrollbar { display: none; }
.vd.vd-js .vd-bar { overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--g-border); }
.vd.vd-js .vd-bar-inner { height: 1px; }
.vd.vd-js.vd-noscroll .vd-bar { display: none; }
.vd.vd-js .vd-body { scrollbar-width: none; }
.vd.vd-js .vd-body::-webkit-scrollbar { display: none; }
/* 本文側の見出しは JavaScript 有効時は視覚的に隠す（読み上げでは列名を維持） */
.vd.vd-js .vd-sr-head th { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vd-body:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
/* 既知脆弱性の詳細: 同じ製品・バージョンの複数件は概要だけ表示し、操作で展開（details 要素） */
.vd-group { margin-top: 8px; border: 1px solid var(--g-border); border-radius: 8px; background: #fff; }
.vd-group > summary { list-style: none; cursor: pointer; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.6; }
.vd-group > summary::-webkit-details-marker { display: none; }
.vd-group > summary:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; border-radius: 8px; }
.vd-group-title { font-weight: 700; }
.vd-group-meta { font-size: 12px; color: var(--g-sub); }
.vd-group-kev { font-size: 12px; color: var(--g-muted); }
.vd-group-toggle { margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--g-blue); }
.vd-group-toggle::after { content: " ▼"; }
.vd-group[open] .vd-group-toggle::after, .wpc-vulns[open] .vd-group-toggle::after { content: " ▲"; }
.vd-group .vd-close-label, .vd-group[open] .vd-open-label { display: none; }
.vd-group[open] .vd-close-label { display: inline; }
.vd-group > .vd { margin: 0 8px 8px; }
.wpc-vulns > summary { cursor: pointer; font-size: 12px; list-style: none; }
.wpc-vulns > summary::-webkit-details-marker { display: none; }
.wpc-vulns > summary:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
/* 製品ごとの既知脆弱性: 「詳細を表示 ▼／詳細を隠す ▲」は概要の次の行に左揃えで置く */
.wpc-vulns > summary .wpc-vulns-summary, .wpc-vulns > summary .vd-group-toggle { display: block; }
.wpc-vulns > summary .vd-group-toggle { margin: 2px 0 4px; }
.wpc-vulns > summary .vd-close-label, .wpc-vulns[open] > summary .vd-open-label { display: none; }
.wpc-vulns[open] > summary .vd-close-label { display: inline; }
/* 詳細表は項目のカード内で横スクロールさせる（グリッドの列が表の幅に広がってページ全体が横にはみ出さないようにする） */
.item > div:last-child { min-width: 0; }
/* 詳細診断の結果サンプル（/sample/full-check）と、トップページ・無料診断結果からの導線 */
.sample-badge { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #1597ab; color: #fff; font-family: 'Lexend', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.sample-notice { background: #ecf9fb; border-color: #b6e6ee; }
.sample-notice .icon { background: #1597ab; }
.sample-notice .title { color: #0d5f6d; }
.sample-notice p { color: #24434a; }
.plan-full .btn-sample { background: #3194cd; color: #fff; text-align: center; box-sizing: border-box; }
.cta .cta-sample-link { margin: 12px 0 0; font-size: 12px; }
.cta .cta-sample-link a { color: #fff; }
