/* PHP緊急対応プラン — 静的LP（JavaScript不使用） */
:root {
  --navy: #0B1220;
  --navy-2: #17213C;
  --ink: #18202F;
  --muted: #586174;
  --bg: #FFFFFF;
  --tint: #F4F6FB;
  --line: #E1E5EE;
  --red: #E5383B;
  --red-dark: #B9262A;
  --red-soft: #FDECEC;
  --amber: #FFC53D;
  --amber-soft: #FFF6DC;
  --amber-ink: #6B4A00;
  --php: #777BB4;
  --php-light: #A9AEE0;
  --green: #17855A;
  --green-soft: #E6F5EE;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 800; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sup { font-size: .65em; margin-left: 2px; }
sup a { color: var(--muted); text-decoration: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 32px); }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

/* 警告ストライプ */
.stripe {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 18px, #111 18px 36px);
}

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 18, 32, .94);
  backdrop-filter: blur(8px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; font-size: 17px; }
.logo-mark {
  display: grid; place-items: center; width: 28px; height: 28px;
  background: var(--amber); color: #111; border-radius: 6px; font-weight: 900;
}

/* ボタン */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-decoration: none; font-weight: 800; border-radius: 999px;
  padding: 12px 24px; line-height: 1.3; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn small { font-size: 12px; font-weight: 600; opacity: .9; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-xl { padding: 20px 44px; font-size: 21px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(229, 56, 59, .35); }
.btn-red:hover { background: var(--red-dark); }
.btn-amber { background: var(--amber); color: #111; box-shadow: 0 8px 24px rgba(255, 197, 61, .35); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* ヒーロー */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(229, 56, 59, .25), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 56px 0 72px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { display: inline-block; font-weight: 800; font-size: 14px; padding: 4px 14px; border-radius: 6px; }
.tag-red { background: var(--red); }
.tag-outline { border: 1.5px solid rgba(255, 255, 255, .4); }
.cve-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.cve {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700;
  color: var(--amber); background: rgba(255, 197, 61, .1);
  border: 1.5px solid var(--amber); border-radius: 8px; padding: 4px 12px; font-size: 17px;
}
.cve-alias { color: #B8C0D6; font-weight: 700; }
.hero h1 { font-size: clamp(28px, 4.4vw, 50px); margin-bottom: 20px; }
.nb { display: inline-block; }
.hero h1 .php { color: var(--php-light); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { color: #D3D8E6; font-size: clamp(15px, 1.8vw, 18px); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; font-size: 14px; color: #B8C0D6; }

.alert-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 24px;
}
.alert-head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.alert-icon { width: 64px; flex: none; }
.alert-icon .tri { fill: var(--amber); }
.alert-icon .bang { fill: #111; }
.alert-head p { font-weight: 700; color: #D3D8E6; }
.alert-head strong { display: inline-block; font-size: 44px; color: #fff; margin: 0 4px; line-height: 1; }
.alert-head span { display: block; font-size: 13px; }
.alert-list { margin: 0; }
.alert-list div { padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.alert-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.alert-list dt { font-size: 13px; color: var(--amber); font-weight: 800; }
.alert-list dd { margin: 2px 0 0; color: #EEF1F8; font-size: 15px; }

/* 数字 */
.stats { background: var(--amber); }
.stats-grid { display: grid; gap: 0; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 26px 20px; text-align: center; border-bottom: 1px solid rgba(0, 0, 0, .12); }
@media (min-width: 760px) { .stat { border-bottom: 0; border-right: 1px solid rgba(0, 0, 0, .12); } .stat:last-child { border-right: 0; } }
.stat-num { font-weight: 900; font-size: 22px; color: #111; }
.stat-num b { font-size: 52px; line-height: 1; margin: 0 2px; }
.stat-label { font-size: 14px; color: #3A2C00; margin-top: 6px; }
.stat-label sup a { color: #3A2C00; }

/* セクション共通 */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.eyebrow { color: var(--red); font-weight: 800; font-size: 14px; letter-spacing: .08em; margin-bottom: 8px; }
.section h2 { font-size: clamp(25px, 3.6vw, 36px); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 760px; margin-bottom: 36px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.fine a { color: var(--php); }
.center { text-align: center; }

/* PHPとは */
.explain-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .explain-grid { grid-template-columns: repeat(3, 1fr); } }
.explain {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); position: relative;
}
.explain svg { width: 120px; height: 90px; margin: 0 auto 16px; }
.explain h3 { font-size: 19px; margin-bottom: 8px; text-align: center; }
.explain p { color: var(--muted); font-size: 15px; }
.explain-danger { border: 2px solid var(--red); background: var(--red-soft); }
.explain-danger p { color: #5A2224; }
.s-line { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.s-amber { fill: var(--amber); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.s-fill { fill: var(--php); }
.s-fill2 { fill: #CFE3FF; stroke: var(--ink); stroke-width: 3; }
.s-php { fill: var(--php); }
.s-white { fill: #fff; }
.s-red { fill: var(--red); }
.s-red-line { fill: none; stroke: var(--red); stroke-width: 8; stroke-linecap: round; }

.risk-box {
  margin-top: 36px; border-radius: var(--radius); padding: 28px;
  background: var(--navy); color: #fff;
}
.risk-box h3 { font-size: 20px; margin-bottom: 18px; }
.risk-list { display: grid; gap: 12px; }
@media (min-width: 760px) { .risk-list { grid-template-columns: repeat(4, 1fr); } }
.risk-list li {
  background: rgba(255, 255, 255, .06); border-left: 4px solid var(--red);
  border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #D3D8E6;
}
.risk-list b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

/* タイムライン */
.timeline { position: relative; margin-top: 28px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--php);
}
.timeline time { display: block; font-weight: 800; color: var(--php); font-size: 14px; }
.timeline p { font-size: 17px; }
.timeline .now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(229, 56, 59, .2); }
.timeline .now time { color: var(--red); }
.timeline .now b { color: var(--red-dark); }

/* 対象チェック */
.flow { display: grid; gap: 14px; margin: 28px 0 40px; }
.flow-q {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; gap: 14px; align-items: center;
}
.flow-num { flex: none; background: var(--amber); color: #111; font-weight: 900; border-radius: 8px; padding: 2px 10px; }
.flow-branch { display: grid; gap: 14px; }
@media (min-width: 760px) { .flow-branch { grid-template-columns: 1fr 1fr; } }
.flow-a { border-radius: var(--radius); padding: 16px 20px; font-size: 15px; border: 2px solid; }
.flow-a b { display: block; font-size: 17px; margin-bottom: 4px; }
.flow-ok { border-color: var(--line); background: var(--tint); color: var(--muted); }
.flow-ok b { color: var(--ink); }
.flow-next { border-color: var(--php); background: #F0F1FA; color: var(--php); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.flow-next b { margin: 0; }
.flow-alert { border-color: var(--red); background: var(--red-soft); color: #5A2224; }
.flow-alert b { color: var(--red-dark); }
.flow-alert em { font-style: normal; font-weight: 800; color: var(--red-dark); }

.version-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .version-grid { grid-template-columns: 1fr 1fr; } }
.version-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.version-card h3 { font-size: 19px; margin-bottom: 14px; }
.howto { margin: 0; }
.howto dt { font-weight: 800; color: var(--php); margin-top: 12px; }
.howto dt:first-child { margin-top: 0; }
.howto dd { margin: 2px 0 0; font-size: 15px; }
.vtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.vtable th, .vtable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.vtable th { font-size: 13px; color: var(--muted); }
.vtable td:first-child { font-weight: 800; width: 30%; }
.vtable td:last-child { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; color: var(--green); }
.vtable .bad td { background: var(--red-soft); }
.vtable .bad td:last-child { font-family: inherit; color: var(--red-dark); font-size: 14px; }

/* こんな状況 */
.worry-list { display: grid; gap: 12px; margin: 24px 0 28px; }
.worry-list li {
  position: relative; padding: 14px 18px 14px 52px; font-size: 17px; font-weight: 700;
  background: rgba(255, 255, 255, .06); border-radius: 10px;
}
.worry-list li::before {
  content: "!"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: #111;
  display: grid; place-items: center; font-weight: 900; font-size: 14px;
}
.dark-lead { color: #D3D8E6; font-size: 17px; max-width: 860px; }
.dark-lead strong { color: var(--amber); }

/* 対応内容 */
.steps { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-top: 5px solid var(--php); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
@media (min-width: 860px) { .steps li { flex-direction: column; } }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--php); color: #fff; font-weight: 900; font-size: 18px; display: grid; place-items: center;
}
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--muted); }
.env { margin-top: 32px; }
.env-title { font-weight: 800; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--line); background: var(--tint); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 15px; }

/* オプション */
.price-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 24px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.price-featured { border: 2px solid var(--php); }
.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--php); color: #fff; font-weight: 800; font-size: 13px;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price-type { display: inline-block; align-self: flex-start; background: var(--amber-soft); color: var(--amber-ink); font-weight: 800; font-size: 13px; border-radius: 6px; padding: 2px 10px; margin-bottom: 12px; }
.price-card h3 { font-size: 19px; margin-bottom: 8px; }
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.price { font-weight: 800; font-size: 18px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price b { font-size: 40px; letter-spacing: .01em; margin-right: 2px; }
.price-points { margin-top: 12px; display: grid; gap: 6px; }
.price-points li { position: relative; padding-left: 24px; font-size: 14px; }
.price-points li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 6px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* 事前面談 */
.interview {
  display: grid; gap: 28px; border-radius: 20px; overflow: hidden;
  border: 2px solid var(--navy); box-shadow: var(--shadow);
}
@media (min-width: 900px) { .interview { grid-template-columns: 1fr 1.5fr; gap: 0; } }
.interview-head { background: var(--navy); color: #fff; padding: 32px 28px; }
.interview-head .eyebrow { color: var(--amber); }
.interview-time { font-size: 30px; font-weight: 900; color: var(--amber); }
.interview-time span { display: block; font-size: 14px; color: #D3D8E6; font-weight: 600; }
.interview-body { padding: 4px 28px 32px; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .interview-body { padding: 32px 28px; } }
.interview-free { background: var(--green-soft); color: var(--green); border-radius: 10px; padding: 12px 16px; font-weight: 800; }
.interview-body .btn { justify-self: start; margin-top: 6px; }

/* 対応者 */
.profile-grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 900px) { .profile-grid { grid-template-columns: 1.5fr 1fr; } }
.profile-list { display: grid; gap: 12px; }
.profile-list li { position: relative; padding-left: 26px; }
.profile-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 3px; background: var(--php); }
.profile-facts { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .profile-facts { grid-template-columns: 1fr 1fr; } }
.profile-facts > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fact-label { font-size: 13px; font-weight: 800; color: var(--red); }
.fact-value { font-weight: 700; }
.skill-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); align-self: start; }
.skill-title { font-weight: 800; margin-bottom: 12px; }
.skills { display: grid; gap: 10px; }
.skills li { display: grid; grid-template-columns: 8.5em 1fr 3em; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.skills b { text-align: right; color: var(--muted); }
.bar { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--php) var(--w), var(--line) var(--w)); }
.bar-10 { --w: 100%; }
.bar-5 { --w: 50%; }

/* 保険 */
.insurance {
  border-radius: 20px; padding: 36px 28px; background: var(--green-soft);
  border: 2px solid rgba(23, 133, 90, .35);
}
.insurance-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.insurance-head h2 { margin-bottom: 0; }
.insurance-head .eyebrow { color: var(--green); }
.shield { width: 60px; flex: none; }
.shield .sh { fill: var(--green); }
.shield .ck { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.insurance > p strong { color: var(--green); }
.cover-grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 860px) { .cover-grid { grid-template-columns: 1fr 1.5fr; } }
.cover { background: #fff; border-radius: 12px; padding: 20px; }
.cover h3 { font-size: 17px; margin-bottom: 8px; }
.cover-yes { border-top: 5px solid var(--green); }
.cover-yes p { font-weight: 800; font-size: 18px; }
.cover-no { border-top: 5px solid var(--muted); }
.cover-no ul { display: grid; gap: 6px; }
.cover-no li { position: relative; padding-left: 20px; font-size: 15px; color: var(--muted); }
.cover-no li::before { content: "×"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.insurance .fine a { color: var(--green); font-weight: 700; }

/* 流れ */
.flow-steps { display: grid; gap: 14px; margin-top: 28px; counter-reset: none; }
@media (min-width: 900px) { .flow-steps { grid-template-columns: repeat(5, 1fr); } }
.flow-steps li { background: #fff; border-radius: var(--radius); padding: 22px 18px; border: 1px solid var(--line); position: relative; }
.flow-steps span { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 800; color: var(--red); font-size: 22px; }
.flow-steps h3 { font-size: 17px; margin: 4px 0 6px; }
.flow-steps p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq details[open] { border-color: var(--php); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 52px; position: relative;
  font-weight: 800; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 6px;
  background: var(--php); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 900;
}
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 24px; width: 10px; height: 10px;
  border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq-a { padding: 0 22px 20px 52px; display: grid; gap: 10px; color: #333B4C; font-size: 15px; }
.faq-a a { color: var(--php); font-weight: 700; }

/* 最後のCTA */
.final {
  background:
    repeating-linear-gradient(-45deg, rgba(255, 197, 61, .06) 0 22px, transparent 22px 44px),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; text-align: center; padding: 88px 0 96px;
}
.final-inner { display: grid; gap: 14px; justify-items: center; }
.final-kicker { color: var(--amber); font-weight: 800; font-size: 17px; }
.final h2 { font-size: clamp(28px, 4.4vw, 44px); }
.final p { color: #D3D8E6; }
.final .btn { margin-top: 16px; }

/* フッター */
.site-footer { background: #070B15; color: #9AA3B8; padding: 40px 0 120px; font-size: 13px; }
@media (min-width: 760px) { .site-footer { padding-bottom: 40px; } }
.src-title { font-size: 14px; color: #fff; margin-bottom: 10px; }
.sources { display: grid; gap: 6px; margin-bottom: 20px; }
.sources a { color: #C6CCE0; }
.disclaimer { margin-bottom: 10px; }

/* スマホ用固定CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 18, 32, .95); border-top: 1px solid rgba(255, 255, 255, .1);
}
.mobile-cta .btn { width: 100%; padding: 14px; font-size: 17px; }
@media (min-width: 760px) { .mobile-cta { display: none; } }
@media (max-width: 759px) {
  .site-header .btn-sm { display: none; }
  .hero { padding-top: 40px; }
  .section { padding: 60px 0; }
  .btn-lg, .btn-xl { width: 100%; }
}

/* ---- PHP Version Checker ---- */
[hidden] { display: none !important; }
code { font-family: "SFMono-Regular", Menlo, Consolas, monospace; background: var(--tint); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; font-size: .92em; }
.hero-checker { padding: 56px 0 64px; }
.hero-checker h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.checker-form { margin-top: 28px; }
.checker-label { display: block; font-weight: 800; margin-bottom: 8px; }
.checker-row { display: flex; gap: 10px; flex-wrap: wrap; }
.checker-input {
  flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px;
  border-radius: 12px; border: 2px solid rgba(255, 255, 255, .25); background: #fff; color: var(--ink);
}
.checker-input:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
.checker-btn { border: 0; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; padding: 14px 28px; }
.checker-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.checker-hint { font-size: 13px; color: #B8C0D6; margin-top: 10px; }
.checker-form-light .checker-input { border-color: var(--line); }
.checker-form-light { margin: 0 0 24px; }
.howto-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.section-result { padding: 48px 0; }
.result-card { border-radius: 18px; padding: 28px; border: 3px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; gap: 10px; }
.result-badge { justify-self: start; font-weight: 900; font-size: 15px; padding: 4px 14px; border-radius: 999px; background: var(--line); color: var(--ink); }
.result-title { font-size: clamp(21px, 3vw, 28px); }
.result-version { font-family: "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; color: var(--muted); }
.result-version:empty { display: none; }
.result-detail { font-size: 16px; }
.result-notes { display: grid; gap: 6px; }
.result-notes li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); }
.result-notes li::before { content: "※"; position: absolute; left: 0; }
.result-raw { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 6px 0 0; font-size: 13px; background: var(--tint); border-radius: 10px; padding: 12px 14px; }
.result-raw dt { font-weight: 800; color: var(--muted); }
.result-raw dd { margin: 0; font-family: "SFMono-Regular", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.result-cta { margin-top: 8px; }
.is-danger { border-color: var(--red); background: var(--red-soft); }
.is-danger .result-badge { background: var(--red); color: #fff; }
.is-danger .result-title { color: var(--red-dark); }
.is-warn { border-color: var(--amber); background: var(--amber-soft); }
.is-warn .result-badge { background: var(--amber); color: #111; }
.is-safe { border-color: var(--green); background: var(--green-soft); }
.is-safe .result-badge { background: var(--green); color: #fff; }
.is-safe .result-title { color: var(--green); }
.caveats { display: grid; gap: 8px; margin-top: 24px; }
.caveats li { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); }
.caveats li::before { content: "!"; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); color: #111; font-size: 11px; font-weight: 900; display: grid; place-items: center; }

/* LP内のチェッカー案内 */
.checker-banner {
  display: grid; gap: 16px; align-items: center; margin: 28px 0 8px; padding: 24px 28px; border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
}
@media (min-width: 760px) { .checker-banner { grid-template-columns: 1fr auto; } }
.checker-banner h3 { font-size: 21px; margin-bottom: 4px; }
.checker-banner p { color: #D3D8E6; font-size: 15px; }
.section-result { scroll-margin-top: 72px; }

/* 予約ボタンの表示条件・reCAPTCHA */
.btn-navy { background: var(--navy); color: #fff; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.btn-navy:hover { background: var(--navy-2); }
.result-cta { display: grid; gap: 12px; justify-items: start; }
.consult { display: grid; gap: 12px; }
.recaptcha-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; }
.recaptcha-lead { font-weight: 700; font-size: 15px; }
.recaptcha-note { font-size: 12px; color: var(--muted); }
.recaptcha-note a { color: var(--php); }
#recaptcha { min-height: 78px; }
.consult-msg { font-weight: 700; font-size: 14px; color: var(--ink); }
.consult-msg:empty { display: none; }
.unknown-box { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); border: 2px dashed var(--php); background: #fff; display: grid; gap: 12px; justify-items: start; }
.unknown-box b { display: block; font-size: 17px; margin-bottom: 2px; }
.booking-rule { background: var(--tint); border-radius: 10px; padding: 14px 16px; font-size: 14px; }
.booking-rule-title { font-weight: 800; margin-bottom: 4px; }
.booking-rule li { position: relative; padding-left: 18px; }
.booking-rule li::before { content: "・"; position: absolute; left: 0; }
