:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, .9);
  --surface-solid: #fff;
  --text: #14213d;
  --muted: #667085;
  --line: #e5eaf2;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eaf1ff;
  --issue: #d92d20;
  --review: #dc6803;
  --pass: #079455;
  --unable: #667085;
  --na: #475467;
  --shadow: 0 24px 70px rgba(31, 44, 80, .12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; line-height: 1.7; overflow-x: hidden; }
a { color: var(--primary); text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }
.page-orb { position: fixed; z-index: -1; border-radius: 999px; filter: blur(10px); pointer-events: none; }
.page-orb-one { width: 430px; height: 430px; right: -140px; top: 60px; background: radial-gradient(circle, rgba(37,99,235,.18), rgba(37,99,235,0)); }
.page-orb-two { width: 380px; height: 380px; left: -180px; top: 480px; background: radial-gradient(circle, rgba(14,165,233,.13), rgba(14,165,233,0)); }
.site-header { width: min(1180px, calc(100% - 40px)); margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: white; background: linear-gradient(145deg, #2563eb, #4f46e5); box-shadow: 0 10px 25px rgba(37,99,235,.25); }
.header-nav { display: flex; gap: 24px; }
.header-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .92rem; }
.hero { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; padding-block: 74px 90px; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { margin-right: 8px; font-size: .65rem; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: 1.04; letter-spacing: -.065em; }
.hero h1 span { background: linear-gradient(110deg, #2563eb, #4f46e5 55%, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 660px; margin: 28px 0 26px; color: var(--muted); font-size: 1.08rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust-list li { padding: 8px 12px; border: 1px solid #dbe5f5; border-radius: 999px; color: #41526d; background: rgba(255,255,255,.65); font-size: .86rem; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--pass); }
.scan-card { position: relative; padding: 30px; border: 1px solid rgba(224,230,240,.9); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.scan-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(145deg, rgba(37,99,235,.24), rgba(255,255,255,.3)); pointer-events: none; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; }
.scan-card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 25px; }
.scan-card-heading p { margin: 0; color: var(--primary); font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.scan-card-heading h2 { margin: 2px 0 0; font-size: 1.35rem; }
.scan-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: white; background: linear-gradient(145deg, #2563eb, #4f46e5); font-size: 1.35rem; }
.scan-card label { display: block; margin-bottom: 8px; font-weight: 800; }
.url-field { display: flex; align-items: center; overflow: hidden; border: 1px solid #cfd8e6; border-radius: 15px; background: white; transition: .2s ease; }
.url-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.11); }
.url-field span { padding-left: 16px; color: #98a2b3; font-weight: 700; }
.url-field input { width: 100%; padding: 15px 16px 15px 4px; border: 0; outline: 0; color: var(--text); background: transparent; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 18px 0; }
.consent-row input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--primary); }
.consent-row label { margin: 0; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.7; }
#scan-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 15px 18px; border: 0; border-radius: 15px; color: white; background: linear-gradient(105deg, #2563eb, #4f46e5); font-weight: 900; box-shadow: 0 14px 30px rgba(37,99,235,.24); transition: transform .2s ease, box-shadow .2s ease; }
#scan-button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(37,99,235,.3); }
#scan-button:disabled { cursor: wait; opacity: .72; transform: none; }
.scan-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .8rem; }
.section { padding-block: 88px; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); }
.centered { margin-inline: auto; text-align: center; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-solid); box-shadow: 0 12px 30px rgba(31,44,80,.05); transition: transform .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #b8caf0; }
.feature-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--primary); background: var(--primary-soft); font-size: .78rem; font-weight: 900; }
.feature-card h3 { margin: 18px 0 4px; font-size: 1.08rem; }
.feature-card p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.feature-card small { color: #475467; font-weight: 800; }
.soft-section { background: linear-gradient(180deg, #edf3ff 0%, #f5f7fb 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 15px; padding: 24px; border-radius: var(--radius-md); background: white; box-shadow: 0 12px 30px rgba(31,44,80,.05); }
.steps li > span { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: white; background: var(--primary); font-weight: 900; }
.steps h3 { margin: 1px 0 5px; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.loading-panel { display: flex; align-items: center; gap: 20px; margin-block: 60px; padding: 28px; border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
.loading-panel h2, .loading-panel p { margin: 0; }
.loading-panel p { color: var(--muted); }
.spinner { width: 42px; height: 42px; border: 4px solid #dbe6fa; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.result-header h2 { margin: 0; font-size: 2.5rem; }
.result-verdict { margin: 8px 0 0; color: var(--muted); font-size: 1.05rem; }
.secondary-button { padding: 10px 15px; border: 1px solid #cfd8e6; border-radius: 12px; color: var(--text); background: white; font-weight: 800; }
.summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.summary-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.summary-card span { display: block; color: var(--muted); font-size: .84rem; font-weight: 800; }
.summary-card strong { display: block; margin-top: 5px; font-size: 2rem; }
.summary-card.issue { border-top: 4px solid var(--issue); }
.summary-card.review { border-top: 4px solid var(--review); }
.summary-card.pass { border-top: 4px solid var(--pass); }
.summary-card.unable { border-top: 4px solid var(--unable); }
.summary-card.na { border-top: 4px solid var(--na); }
.meta-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 20px 0; padding: 1px; border-radius: 18px; background: var(--line); }
.meta-card div { min-width: 0; padding: 18px; background: white; }
.meta-card dt { color: var(--muted); font-size: .78rem; font-weight: 800; }
.meta-card dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 700; }
.results { display: grid; gap: 14px; }
.result-card { padding: 22px; border: 1px solid var(--line); border-left: 5px solid var(--na); border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(31,44,80,.05); }
.result-card[data-state="issue"] { border-left-color: var(--issue); }
.result-card[data-state="review"] { border-left-color: var(--review); }
.result-card[data-state="pass"] { border-left-color: var(--pass); }
.result-card[data-state="unable"] { border-left-color: var(--unable); }
.result-card[data-state="not_applicable"] { border-left-color: var(--na); }
.result-card-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.result-card h3 { margin: 0; font-size: 1.08rem; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.badge { padding: 5px 9px; border-radius: 999px; background: #eef2f7; color: #475467; font-size: .78rem; font-weight: 900; }
.result-card dl { display: grid; gap: 12px; margin: 18px 0 0; }
.result-card dt { color: var(--muted); font-size: .78rem; font-weight: 900; }
.result-card dd { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice { margin-top: 16px; padding: 13px 15px; border-radius: 12px; }
.notice.error { border: 1px solid #fecdca; color: #912018; background: #fef3f2; }
.safety-callout { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; padding: 34px; margin-block: 50px 90px; border: 1px solid #cfe0ff; border-radius: var(--radius-lg); background: linear-gradient(135deg, #f7faff, #edf4ff); }
.safety-callout h2, .safety-callout p { margin-top: 0; }
.safety-callout > div:last-child > p:last-child { margin-bottom: 0; color: var(--muted); }
.safety-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: white; background: var(--primary); font-size: 1.4rem; font-weight: 900; }
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-inner p { margin: 6px 0 0; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-inner nav a { color: #475467; font-weight: 700; }
.disclaimer { width: min(1120px, calc(100% - 40px)); margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.legal-page { padding-block: 50px 80px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero-description, .trust-list { justify-content: center; margin-inline: auto; }
  .check-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .summary-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .container, .site-header { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 68px; }
  .header-nav { display: none; }
  .hero { min-height: unset; padding-block: 42px 60px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4.1rem); }
  .hero-description { font-size: 1rem; }
  .scan-card { padding: 22px; }
  .section { padding-block: 64px; }
  .check-grid, .steps, .meta-card { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .result-header, .footer-inner { align-items: stretch; flex-direction: column; }
  .result-card-header { flex-direction: column; }
  .badges { justify-content: flex-start; }
  .safety-callout { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
