﻿/* =====================================================================
   REACTOR — demo_fable51 design system
   First view: dark / technology.  Sections 2+: light / human-friendly.
   ===================================================================== */
:root {
  --navy: #050914;
  --navy-2: #0b1428;
  --navy-3: #111d36;
  --ink: #0f1a2b;
  --ink-2: #33415a;
  --muted: #64748b;
  --line: #e4eaf3;
  --line-2: #d3dded;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-tint: #eaf2ff;
  --primary: #0035c3;
  --primary-2: #1d5cff;
  --primary-3: #4d7fff;
  --cyan: #61cfff;
  --cyan-2: #00b4e6;
  --success: #12b76a;
  --warm: #ff9f43;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --shadow-s: 0 1px 2px rgba(15, 26, 43, .04), 0 4px 14px rgba(15, 26, 43, .05);
  --shadow: 0 2px 6px rgba(15, 26, 43, .05), 0 18px 40px -16px rgba(0, 53, 195, .18);
  --shadow-l: 0 12px 40px -8px rgba(0, 53, 195, .22), 0 40px 90px -40px rgba(15, 26, 43, .35);
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not(.mobile-menu) { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.ico { flex: none; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.split > .reveal:last-child { justify-self: end; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.center { text-align: center; margin-top: 44px; display: flex; justify-content: center; }
.small { font-size: 13px; color: var(--muted); }
.lead { font-size: 17px; color: var(--ink-2); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Inter", var(--font); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary-2);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: linear-gradient(90deg, var(--primary-2), var(--cyan)); border-radius: 2px; }
.eyebrow.light { color: var(--cyan); }
.section-heading { max-width: 760px; }
.section-heading.sh-center { margin-inline: auto; text-align: center; }
.section-heading.sh-center .eyebrow::before { display: none; }
.section-heading h2, .remix-block h2, .trust-row h2, .final-cta h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; margin-top: 14px; letter-spacing: -.02em; }
.section-heading p { margin-top: 16px; color: var(--ink-2); font-size: 17px; }

/* ---------- Buttons / links / chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap; line-height: 1.2;
}
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 53, 195, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 53, 195, .65); }
.btn-soft { background: #fff; color: var(--primary); border: 1.5px solid var(--line-2); }
.btn-soft:hover { border-color: var(--primary-3); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn[disabled], .btn:disabled { opacity: .5; pointer-events: none; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-2); font-weight: 700; font-size: 15px; }
.text-link:hover { text-decoration: underline; }
.text-button { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-2); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.text-button:hover { background: var(--bg-tint); }
.text-button:disabled { opacity: .45; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.chip-cat { background: var(--bg-tint); color: var(--primary); }
.chip-free { background: #e9fbf1; color: #0a7a45; }
.chip-warm { background: #fff3e6; color: #b45f06; }
.chip-creator { background: #f1eaff; color: #5b21b6; }
.chip-certified { background: #e8f0ff; color: #164fc5; border: 1px solid #c6d8ff; }
.chip-live { background: #e6f0ff; color: #1d4ed8; }
.chip-soft { background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card h3 { font-size: 18px; margin: 12px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d6f5; }
.notice { background: #fff8ea; border: 1px solid #ffe2b0; color: #7a4a00; border-radius: var(--radius); padding: 14px 18px; font-size: 14px; margin: 20px 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .marquee-track, .photo-chip, .pulse { animation: none !important; } }

/* =====================================================================
   Header (dark glass, fixed)
   ===================================================================== */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(5, 9, 20, .78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; transition: background .3s; }
.site-header.scrolled { background: rgba(5, 9, 20, .92); }
.nav-wrap { height: var(--header-h); width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }
.desktop-nav { display: flex; gap: 4px; margin-left: 8px; }
.desktop-nav a { padding: 8px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .78); transition: color .2s, background .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-help { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.nav-help:hover { color: #fff; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255, 255, 255, .15); }
.mobile-menu { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(5, 9, 20, .97); border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 16px 20px 24px; }
.mobile-menu:not([hidden]) { display: block; }
.mobile-menu nav { display: grid; gap: 2px; margin-bottom: 16px; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 600; color: #fff; }
.mobile-menu .btn { width: 100%; justify-content: center; }
main { display: block; }

/* =====================================================================
   HERO — v-reactor.app のファーストビューをそのまま埋め込み
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--navy); color: #fff; overflow: hidden; }
.hero-frame { position: absolute; inset: 0; }
.hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; }
html[data-preview-theme="dark"] .hero-fallback-dark, .hero-fallback-dark { opacity: .9; }
html[data-preview-theme="light"] .hero-fallback-dark { opacity: 0; }
html[data-preview-theme="light"] .hero-fallback-light { opacity: .9; }
.hero-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
.hero.embed-ready .hero-embed { opacity: 1; }
.hero.login-frozen .hero-embed { display: none; }
/* 埋め込み画面の上に透明なリンク層：クリックで本体ログインを別タブで開く */
.hero-shield { position: absolute; inset: 0; z-index: 2; color: #fff; text-decoration: none; cursor: pointer; }
.hero-shield:hover { background: radial-gradient(60% 50% at 50% 55%, rgba(0, 53, 195, .08), transparent 70%); }
.hero-open-hint { position: absolute; right: 0; bottom: calc(100% + 10px); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(5, 9, 20, .72); border: 1px solid rgba(97, 207, 255, .35); font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; pointer-events: none; }
.hero:has(.hero-shield:hover) .hero-open-hint,
.hero:has(.hero-login:hover) .hero-open-hint,
.hero:has(.hero-shield:focus-visible) .hero-open-hint { opacity: 1; visibility: visible; transform: none; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hero-login { background: rgba(0, 53, 195, .9); border-color: rgba(97, 207, 255, .5); }
.hero-login small { font-size: 11px; font-weight: 600; opacity: .75; margin-left: 2px; }
.hero-login:hover { background: var(--primary-2); }
.hero-overlay { position: absolute; inset: auto 0 0 0; z-index: 3; padding: 0 clamp(20px, 3vw, 44px) clamp(20px, 3vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; pointer-events: none; }
.hero-overlay > * { pointer-events: auto; }
.hero-collab { background: rgba(5, 9, 20, .72); border: 1px solid rgba(97, 207, 255, .28); border-radius: 18px; padding: 14px 18px 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); }
.collab-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: "Inter", var(--font); font-size: 10.5px; letter-spacing: .22em; font-weight: 700; color: var(--cyan); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(97, 207, 255, .6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(97, 207, 255, .6); } 70% { box-shadow: 0 0 0 9px rgba(97, 207, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(97, 207, 255, 0); } }
.collab-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.collab-aiipo { height: 28px; width: auto; }
.collab-x { color: rgba(255, 255, 255, .55); font-size: 18px; font-weight: 300; }
.collab-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(0, 215, 255, .5)); }
.collab-row b { font-family: "Inter", var(--font); font-size: 20px; letter-spacing: .04em; font-weight: 700; background: linear-gradient(180deg, #fff, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-collab small { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .62); letter-spacing: .02em; }
.hero-side { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-tagline { font-family: "Inter", var(--font); font-size: 11px; letter-spacing: .28em; color: rgba(255, 255, 255, .8); font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(5, 9, 20, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); }
.hero-tagline b { color: var(--cyan); font-weight: 400; margin: 0 4px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: rgba(5, 9, 20, .72); border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 700; color: #fff; backdrop-filter: blur(12px); transition: background .2s, transform .2s; }
.hero-scroll:hover { background: rgba(0, 53, 195, .85); transform: translateY(-2px); }
.hero-scroll .ico { animation: bob 1.8s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* Bridge strip: tech copy → transitions into the friendly body */
.hero-bridge { position: relative; background: radial-gradient(1200px 400px at 20% 0%, rgba(0, 53, 195, .45), transparent 60%), radial-gradient(800px 300px at 90% 100%, rgba(97, 207, 255, .16), transparent 60%), var(--navy); color: #fff; padding: clamp(44px, 6vw, 72px) 0 clamp(52px, 7vw, 88px); overflow: hidden; }
.hero-bridge::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(97, 207, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(97, 207, 255, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%); pointer-events: none; }
.hero-bridge::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: linear-gradient(to bottom, transparent, var(--bg)); }
.bridge-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.singularity-label { display: inline-flex; align-items: center; gap: 10px; font-family: "Inter", var(--font); font-size: 11px; letter-spacing: .26em; font-weight: 700; color: var(--cyan); }
.bridge-copy h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.02em; margin-top: 14px; line-height: 1.18; }
.bridge-copy h1 em { font-style: normal; background: linear-gradient(90deg, #7fdcff, #61cfff 40%, #4d7fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bridge-copy p { margin-top: 18px; color: rgba(255, 255, 255, .72); font-size: 16px; }
.bridge-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-step { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(97, 207, 255, .3); background: rgba(97, 207, 255, .06); font-weight: 700; font-size: 14px; }
.flow-ico { display: inline-flex; color: var(--cyan); }
.flow-arrow { color: rgba(97, 207, 255, .7); display: inline-flex; }
.bridge-hud { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; }
.bridge-hud li { display: grid; gap: 4px; }
.bridge-hud span { font-family: "Inter", var(--font); font-size: 10.5px; letter-spacing: .22em; color: rgba(255, 255, 255, .5); font-weight: 700; }
.bridge-hud b { font-family: "Inter", var(--font); font-size: 14px; letter-spacing: .06em; color: #dff6ff; }

/* =====================================================================
   Section 2: friendly showcase
   ===================================================================== */
.friendly { padding-top: clamp(64px, 7vw, 96px); }
.showcase { margin-top: 24px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); overflow: hidden; }
.showcase-photo { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; }
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.showcase:hover .showcase-photo img { transform: scale(1.05); }
.photo-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(15, 26, 43, .4); backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite; }
.photo-chip .ico { color: var(--primary-2); }
.chip-a { left: 4%; top: 12%; }
.chip-b { right: 4%; bottom: 12%; animation-delay: -2s; }
.chip-b .ico { color: var(--success); }
.chip-c { left: 4%; bottom: 14%; animation-delay: -4s; background: rgba(5, 9, 20, .82); color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.typing { display: inline-flex; gap: 3px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.showcase-caption { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; }
.showcase-caption strong { font-size: 19px; display: block; margin-bottom: 6px; }
.showcase-caption p { color: var(--ink-2); font-size: 15px; max-width: 640px; }
.feature-row { margin-top: 32px; }
.feature-box, .feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature-box:hover, .feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-tint), #dff1ff); color: var(--primary); }
.feature-box h3, .feature-card h3 { font-size: 18px; margin: 18px 0 10px; }
.feature-box p, .feature-card p { color: var(--ink-2); font-size: 15px; }

/* =====================================================================
   Section 3: possibilities / previews
   ===================================================================== */
.empower { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 20px; margin-bottom: 40px; box-shadow: var(--shadow-s); }
.empower-img { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; }
.empower-img img { width: 100%; height: 100%; object-fit: cover; }
.empower-body { padding: 8px 20px 8px 0; }
.empower-body h3 { font-size: clamp(20px, 2vw, 26px); margin: 16px 0 12px; }
.empower-body p { color: var(--ink-2); }
.check-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.check-list .ico { color: var(--success); }
.preview-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.preview-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.preview-card-bar { padding: 12px 16px 0; }
.preview-card .app-preview { margin: 12px 16px 0; height: 330px; overflow: hidden; }
.preview-card .app-preview .workspace { height: calc(100% - 34px); }
.app-card-visual .app-preview { height: 300px; overflow: hidden; }
.app-card-visual .app-preview .workspace { height: calc(100% - 34px); min-height: 0; }
.preview-card-body { padding: 20px 22px 24px; }
.preview-card-body h3 { display: flex; justify-content: space-between; align-items: center; font-size: 19px; }
.preview-card-body h3 .ico { color: var(--primary-2); transition: transform .3s; }
.preview-card:hover .preview-card-body h3 .ico { transform: translateX(4px); }
.preview-card-body p { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 12px; }

/* =====================================================================
   App preview (mock workspace UI)
   ===================================================================== */
.app-preview { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; font-size: 12px; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.preview-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f6f8fc; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9e0ec; }
.dots i:nth-child(1) { background: #ff8a80; } .dots i:nth-child(2) { background: #ffd54f; } .dots i:nth-child(3) { background: #81d69b; }
.preview-url { flex: 1; text-align: center; color: var(--muted); font-size: 11px; font-family: "Inter", var(--font); }
.sample-label { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--bg-tint); color: var(--primary); font-weight: 700; }
.workspace { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 300px; }
.workspace-side { background: linear-gradient(180deg, #0b1428, #0f1b35); color: #fff; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.workspace-side b { display: flex; align-items: center; gap: 6px; font-family: "Inter", var(--font); font-size: 15px; color: var(--cyan); margin-bottom: 10px; padding-left: 6px; }
.workspace-side b span { font-size: 9px; letter-spacing: .16em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.workspace-side div { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: rgba(255, 255, 255, .7); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-side div.selected { background: rgba(97, 207, 255, .16); color: #fff; }
.nav-ico { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .8; display: inline-block; }
.workspace-note { margin-top: auto; font-size: 10.5px; color: rgba(255, 255, 255, .45) !important; padding: 8px !important; line-height: 1.5; display: block !important; }
.workspace-body { padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; background: linear-gradient(180deg, #fbfcfe, #fff); min-width: 0; grid-template-columns: minmax(0, 1fr); }
.workspace-body > * { min-width: 0; }
.metric-grid > div { min-width: 0; overflow: hidden; }
.workspace-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.workspace-title > div { min-width: 0; flex: 1; }
.workspace-title .small { font-size: 9.5px; letter-spacing: .14em; color: var(--muted); font-family: "Inter", var(--font); font-weight: 700; }
.workspace-title h3 { font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-title .avatar { flex: 0 0 auto; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.metric-grid > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: grid; gap: 1px; background: #fff; }
.metric-grid span { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-grid strong { font-size: 15px; font-family: "Inter", var(--font); letter-spacing: -.01em; white-space: nowrap; }
.metric-grid small { font-size: 9.5px; color: var(--success); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.board-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.board-heading b { font-size: 12px; }
.board-heading span { font-size: 10px; color: var(--muted); }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kanban-label { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.kanban-label small { margin-left: auto; color: var(--muted); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-0 { background: var(--primary-3); } .dot-1 { background: var(--warm); } .dot-2 { background: var(--success); }
.task { border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; margin-bottom: 6px; background: #fff; display: grid; gap: 3px; }
.task .tag { font-size: 9px; padding: 1px 6px; border-radius: 999px; background: var(--bg-tint); color: var(--primary); width: max-content; font-weight: 700; }
.task b { font-size: 11px; }
.task p { font-size: 10px; color: var(--muted); }
.task > div { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--ink-2); font-family: "Inter", var(--font); }
.tiny-avatar { width: 16px; height: 16px; border-radius: 50%; background: var(--bg-tint); color: var(--primary); font-size: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.schedule-preview { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.schedule-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.schedule-grid strong { display: flex; align-items: baseline; gap: 4px; font-size: 11px; margin-bottom: 6px; }
.schedule-grid strong small { color: var(--muted); font-weight: 500; }
.schedule-event { border-radius: 6px; padding: 5px 6px; margin-bottom: 5px; font-size: 9.5px; display: grid; gap: 1px; border-left: 3px solid; }
.schedule-event span { color: var(--muted); font-family: "Inter", var(--font); }
.schedule-event b { font-size: 10px; }
.schedule-event small { color: var(--muted); }
.event-0 { background: #eef3ff; border-color: var(--primary-3); } .event-1 { background: #fff4e8; border-color: var(--warm); } .event-2 { background: #e9fbf1; border-color: var(--success); }
.preview-table table { width: 100%; border-collapse: collapse; font-size: 11px; }
.preview-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 10px; }
.preview-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.preview-table tr:last-child td { border-bottom: 0; }
.pill { padding: 2px 8px; border-radius: 999px; background: var(--bg-tint); color: var(--primary); font-size: 10px; font-weight: 700; }
.preview-complete { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #0a7a45; background: #e9fbf1; border-radius: 8px; padding: 7px 10px; }
.preview-complete .ok { width: 14px; height: 14px; border-radius: 50%; background: var(--success); position: relative; }
.preview-complete .ok::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.preview-complete span { margin-left: auto; color: var(--muted); font-weight: 500; }
/* stages */
.app-preview[data-stage="1"] .stage-2, .app-preview[data-stage="1"] .stage-3, .app-preview[data-stage="1"] .stage-5,
.app-preview[data-stage="2"] .stage-3, .app-preview[data-stage="2"] .stage-5,
.app-preview[data-stage="3"] .stage-5, .app-preview[data-stage="4"] .stage-5 { display: none; }
.app-preview .stage-2, .app-preview .stage-3, .app-preview .stage-5 { animation: stageIn .5s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* compact */
.app-preview.compact { font-size: 11px; }
.app-preview.compact .workspace { grid-template-columns: 108px minmax(0, 1fr); min-height: 220px; }
.app-preview.compact .workspace-side { padding: 10px 6px; }
.app-preview.compact .workspace-side b { font-size: 13px; }
.app-preview.compact .workspace-side b span { font-size: 8px; }
.app-preview.compact .workspace-side div { font-size: 10px; padding: 5px 6px; gap: 6px; }
.app-preview.compact .nav-ico { width: 10px; height: 10px; }
.app-preview.compact .metric-grid > div { padding: 6px 8px; }
.app-preview.compact .metric-grid span { font-size: 9.5px; }
.app-preview.compact .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-preview.compact .kanban > div:nth-child(3) { display: none; }
.app-preview.compact .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-preview.compact .schedule-grid > div:nth-child(n+4) { display: none; }
.kanban-label .kl, .task b, .task p, .schedule-event b, .board-heading b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kanban-label { min-width: 0; }
.kanban-label .kl { flex: 1; min-width: 0; }
.workspace-main .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-preview.compact .workspace-note { display: none !important; }
.app-preview.compact .workspace-body { padding: 10px 12px 12px; gap: 8px; }
.app-preview.compact .metric-grid strong { font-size: 13px; }
.app-preview.compact .preview-complete { display: none; }
.app-preview.compact .schedule-grid > div:nth-child(n+4) { display: none; }
.app-preview.compact .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-preview.compact .task:nth-child(3) { display: none; }

/* =====================================================================
   Steps / marquee
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 28px 28px; box-shadow: var(--shadow-s); }
.step-num { font-family: "Inter", var(--font); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #c9dcff, #eaf2ff); -webkit-background-clip: text; background-clip: text; color: transparent; position: absolute; right: 24px; top: 20px; }
.step-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 10px 20px -10px rgba(0, 53, 195, .6); }
.step h3 { font-size: 19px; margin: 20px 0 10px; }
.step p { color: var(--ink-2); font-size: 15px; }
.marquee { margin-top: 56px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   Demo builder
   ===================================================================== */
.demo-section { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.demo-builder { max-width: 960px; margin: 40px auto 0; }
.prompt-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 24px; box-shadow: var(--shadow); }
.prompt-box label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.prompt-box label .ico { color: var(--primary-2); }
.prompt-input { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 6px 6px 6px 16px; transition: border-color .2s, box-shadow .2s; }
.prompt-input:focus-within { border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(29, 92, 255, .12); }
.prompt-input input { flex: 1; border: 0; outline: 0; font-size: 16px; padding: 8px 0; background: transparent; min-width: 0; }
.prompt-input button { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.prompt-input button:hover { transform: translateY(-1px); }
.prompt-input button:disabled { opacity: .5; }
.form-error { color: #b42318; font-size: 13px; margin-top: 8px; }
.prompt-bottom { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.prompt-suggestions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 4px 0; }
.prompt-suggestions button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 600; display: inline-flex; gap: 6px; transition: border-color .2s, background .2s; }
.prompt-suggestions button:hover { border-color: var(--primary-3); background: var(--bg-tint); }
.prompt-suggestions span { color: var(--primary-2); }
.demo-result { margin-top: 24px; display: grid; gap: 16px; }
.generation-status { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.gen-head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.gen-head .ico { color: var(--primary-2); }
.gen-head span { margin-left: auto; color: var(--muted); font-size: 13px; font-family: "Inter", var(--font); }
.progress { height: 6px; background: var(--bg-tint); border-radius: 999px; margin: 12px 0; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--cyan)); border-radius: 999px; transition: width .6s var(--ease); }
.stage-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stage-list li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); }
.stage-list li i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-block; }
.stage-list li.active { color: var(--primary); background: var(--bg-tint); }
.stage-list li.active i { border-color: var(--primary-2); border-top-color: transparent; animation: spin 1s linear infinite; }
.stage-list li.done { color: #0a7a45; background: #e9fbf1; }
.stage-list li.done i { border: 0; background: var(--success); position: relative; }
.stage-list li.done i::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-result .app-preview { box-shadow: var(--shadow); }
.demo-success { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #e9fbf1; border: 1px solid #b8ecd0; border-radius: var(--radius); padding: 16px 20px; }
.demo-success p { flex: 1; font-size: 14.5px; color: #0a5c36; min-width: 220px; }

/* =====================================================================
   Store cards / creators
   ===================================================================== */
.store-grid { margin-top: 8px; }
.app-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.app-card-visual { position: relative; display: block; padding: 14px 14px 0; background: linear-gradient(180deg, var(--bg-soft), #fff); }
.app-card-visual .app-preview { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.app-card-overlay { position: absolute; inset: 14px 14px 0; display: flex; align-items: center; justify-content: center; background: rgba(5, 9, 20, .45); opacity: 0; transition: opacity .3s; border-radius: 14px 14px 0 0; }
.app-card-overlay span { background: #fff; color: var(--primary); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); }
.app-card:hover .app-card-overlay { opacity: 1; }
.store-screen { display: block; width: 100%; height: 300px; object-fit: contain; object-position: top center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.store-screen-empty { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.app-card-visual { width: 100%; text-align: left; border: 0; font: inherit; cursor: pointer; }
.app-card-visual:focus-visible .app-card-overlay { opacity: 1; }
.app-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.app-card-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.app-card-body h3 { font-size: 18px; line-height: 1.4; }
.app-card-body h3 a:hover { color: var(--primary-2); }
.app-card-body > p { color: var(--ink-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.app-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.creator-mini { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.avatar-dot { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; overflow: hidden; }
img.avatar-dot { object-fit: cover; padding: 0; }
.usage-note { white-space: nowrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 12px; color: var(--primary-2); background: var(--bg-tint); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.app-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.app-card-actions .btn { justify-content: center; padding: 11px 12px; font-size: 13px; }
.catalog-empty { grid-column: 1 / -1; text-align: center; padding: 60px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-l); background: #fff; }
.catalog-empty h2 { font-size: 24px; margin: 12px 0; }
.catalog-empty p { color: var(--ink-2); max-width: 560px; margin: 0 auto 20px; }
.creators-grid { margin-top: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .creators-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .creators-grid { grid-template-columns: 1fr; } }
.creators-grid .creator-card { padding: 20px; }
.creators-grid .creator-head { flex-direction: column; align-items: flex-start; gap: 10px; }
.creators-grid .creator-card p { font-size: 13.5px; }
.creator-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.creator-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.creator-card.inline { margin: 8px 0 16px; }
.creator-head { display: flex; gap: 14px; align-items: center; }
.creator-head > div { min-width: 0; }
.creator-head h2, .creator-head h3 { overflow-wrap: anywhere; }
.creator-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.creator-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.creator-stats > span { white-space: nowrap; }
.preview-banner > .creator-stats { margin-top: 16px; }
.creator-head h3 { font-size: 18px; margin-top: 6px; }
.creator-avatar { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex: none; box-shadow: 0 10px 20px -10px rgba(0, 53, 195, .6); overflow: hidden; }
img.creator-avatar { object-fit: cover; padding: 0; }
.creator-card p { color: var(--ink-2); font-size: 14.5px; }
.creator-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--muted); margin-top: auto; }
.creator-feature { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 6.5; margin-top: 16px; box-shadow: var(--shadow-l); }
.creator-feature img { width: 100%; height: 100%; object-fit: cover; }
.creator-feature-quote { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 32px 28px; background: linear-gradient(to top, rgba(5, 9, 20, .82), transparent); color: #fff; }
.creator-feature-quote p { margin-top: 10px; font-size: clamp(18px, 2vw, 26px); font-weight: 800; letter-spacing: -.01em; }
.creator-intro { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; margin-bottom: 8px; box-shadow: var(--shadow-s); }
.creator-definition { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; }
.creator-definition strong { color: var(--primary); }
.creator-subnote { margin-top: 12px; color: var(--ink-2); }

/* =====================================================================
   Remix / teams / trust / faq / final cta
   ===================================================================== */
.remix-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.remix-block h2 { margin: 14px 0 16px; }
.remix-block p { color: var(--ink-2); margin-bottom: 14px; }
.remix-diagram { display: grid; gap: 14px; }
.remix-diagram .card { padding: 22px 24px; }
.remix-diagram .card h3 { margin: 6px 0 4px; }
.remix-prompt { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); position: relative; }
.remix-prompt .ico { color: var(--cyan); }
.remix-prompt::before, .remix-prompt::after { content: ""; position: absolute; left: 50%; width: 2px; height: 14px; background: var(--line-2); transform: translateX(-50%); }
.remix-prompt::before { top: -14px; } .remix-prompt::after { bottom: -14px; }
.remix-output { border-color: #b8d0ff; background: linear-gradient(180deg, #fff, var(--bg-tint)); }
.team-grid { margin-top: 44px; }
.team-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-img { aspect-ratio: 4 / 3; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-body { padding: 20px 22px 22px; display: grid; gap: 6px; }
.team-body h3 { font-size: 18px; }
.team-body p { color: var(--ink-2); font-size: 14.5px; }
.team-body .text-link { margin-top: 6px; font-size: 14px; }
.trust-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 36px 40px; box-shadow: var(--shadow-s); }
.trust-ico { display: inline-flex; width: 72px; height: 72px; border-radius: 22px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-2), var(--primary)); color: var(--cyan); }
.trust-row h2 { font-size: clamp(22px, 2.4vw, 30px); }
.trust-row p { color: var(--ink-2); margin-top: 8px; }
.faq-list { display: grid; gap: 10px; margin-top: 36px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-s); border-color: #c7d6f5; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { color: var(--primary-2); transition: transform .3s; flex: none; }
.faq-list details[open] summary .ico { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.final-cta { position: relative; padding: clamp(96px, 12vw, 160px) 0; color: #fff; overflow: hidden; background: var(--navy); }
.final-bg { position: absolute; inset: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 20, .92) 0%, rgba(5, 9, 20, .7) 55%, rgba(0, 53, 195, .35) 100%); }
.final-inner { position: relative; }
.final-cta h2 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 56px); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 18px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.footer-brand .brand img { height: 46px; width: auto; }
.footer-series { display: block; margin-top: 10px; font-family: "Inter", var(--font); font-size: 11px; letter-spacing: .22em; color: var(--cyan); font-weight: 700; }
.footer-collab { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); width: max-content; }
.footer-collab img:first-child { height: 20px; width: auto; }
.footer-collab img:last-of-type { height: 22px; width: 22px; }
.footer-collab span { color: rgba(255, 255, 255, .4); }
.footer-collab small { font-family: "Inter", var(--font); font-size: 9.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .5); margin-left: 6px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col strong { color: #fff; font-size: 14px; margin-bottom: 4px; letter-spacing: .04em; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer-bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* =====================================================================
   Subpages
   ===================================================================== */
.subpage main { padding-top: var(--header-h); }
.page-intro { position: relative; padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 300px at 10% 0%, rgba(29, 92, 255, .12), transparent 60%), radial-gradient(700px 300px at 90% 100%, rgba(97, 207, 255, .16), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-intro::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 53, 195, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 53, 195, .05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%); pointer-events: none; }
.page-intro .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--primary-2); }
.page-intro h1 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; letter-spacing: -.02em; margin-top: 12px; max-width: 900px; }
.page-intro p { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 760px; }
.page-body { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 8vw, 110px); }
.content-section { margin-top: 56px; }
.content-section .section-heading { margin-bottom: 28px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h2:first-child, .prose .notice + h2 { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { padding-left: 22px; color: var(--ink-2); display: grid; gap: 6px; margin-bottom: 12px; }
.prose .content-section { margin-top: 0; }
.prose .content-section + .content-section { margin-top: 32px; }
.wide-figure { margin: 36px 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 16 / 7; }
.wide-figure img { width: 100%; height: 100%; object-fit: cover; }
.aiipo-series { text-align: center; padding: 40px 24px 12px; }
.series-badge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px; border-radius: 999px; background: var(--navy); margin-bottom: 20px; }
.series-badge img:first-child { height: 26px; width: auto; }
.series-badge span { color: rgba(255, 255, 255, .5); }
.series-badge b { color: #fff; font-family: "Inter", var(--font); font-size: 18px; letter-spacing: .04em; }
.aiipo-series h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; font-weight: 900; }
.aiipo-series p { color: var(--ink-2); max-width: 640px; margin: 14px auto 0; font-size: 17px; }
.feature-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; margin-top: 40px; border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-l); }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.feature-visual-text { padding: 40px; display: grid; gap: 12px; align-content: center; }
.feature-visual-text h3 { font-size: 24px; }
.feature-visual-text p { color: var(--ink-2); }
.store-intro { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px 32px; margin-bottom: 28px; box-shadow: var(--shadow-s); }
.store-intro h2 { font-size: 24px; margin: 12px 0 8px; }
.store-intro p { color: var(--ink-2); }
.idea-grid { margin-top: 8px; }
.idea-card { padding: 22px; display: grid; gap: 6px; align-content: start; }
.idea-card h3 { margin: 6px 0 6px; }
.idea-card .text-link { font-size: 13.5px; }
.usecase-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.usecase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usecase-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.usecase-img img { width: 100%; height: 100%; object-fit: cover; }
.usecase-img .chip { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .92); }
.usecase-body { padding: 20px 22px 22px; display: grid; gap: 6px; }
.usecase-body h3 { font-size: 19px; }
.usecase-body p { color: var(--ink-2); font-size: 15px; }
.usecase-body .text-link { margin-top: 6px; }
/* store tools */
.search-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 6px 16px; margin-bottom: 18px; transition: border-color .2s, box-shadow .2s; }
.search-row:focus-within { border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(29, 92, 255, .12); }
.search-row .ico { color: var(--muted); }
.search-box { flex: 1; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 16px; min-width: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; transition: all .2s; }
.tabs button:hover { border-color: var(--primary-3); }
.tabs button[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-row .small { flex: 1; }
select { appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 9px 36px 9px 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: 14px; font-weight: 600; }
.empty { text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius-l); }
.empty h3 { font-size: 20px; }
.empty p { color: var(--ink-2); margin: 8px 0 12px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination:empty { display: none; }
.pagination button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-family: "Inter", var(--font); }
.pagination button[aria-current="page"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.tabs button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.catalog-pagination { align-items: center; }
.catalog-pagination button { width: auto; min-width: 56px; padding: 0 12px; }
.catalog-pagination button:disabled { opacity: .45; cursor: default; }
.catalog-page-status { color: var(--muted); font-size: 14px; padding: 0 12px; }
.catalog-active { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.catalog-active:empty, .catalog-filter-status:empty { display: none; }
.catalog-filter-status { margin-bottom: 16px; color: var(--muted); }
.catalog-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.catalog-apps-title { margin: 32px 0 20px; font-size: 24px; }
.store-gallery { display: grid; gap: 24px; padding: 24px; }
.store-gallery figure { margin: 0; }
.store-gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.store-gallery figcaption { padding: 12px 4px 0; color: var(--ink-2); font-size: 14px; }
[data-catalog-directory] .creator-card p { white-space: pre-wrap; overflow-wrap: anywhere; }
[data-catalog-directory] [hidden] { display: none !important; }
@media (max-width: 560px) { .store-gallery { padding: 12px; gap: 18px; } .store-screen { height: 240px; } }
.store-gallery a { display: block; cursor: zoom-in; }
.store-lightbox { position: fixed; inset: 0; margin: 0; padding: 24px; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: #fff; }
.store-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.store-lightbox::backdrop { background: rgba(5, 9, 20, .92); backdrop-filter: blur(6px); }
.store-lightbox-panel { width: min(1280px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 16px; }
.store-lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.store-lightbox-head h2 { font-size: 18px; color: #fff; }
.store-lightbox button { flex: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; }
.store-lightbox button:hover { background: rgba(255, 255, 255, .2); }
.store-lightbox button:disabled { opacity: .3; cursor: default; }
.store-lightbox-image { position: relative; min-height: 80px; display: flex; justify-content: center; align-items: center; }
.store-lightbox-image p { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; }
.store-lightbox-image img { display: block; max-width: 100%; max-height: calc(100dvh - 220px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.store-lightbox-image [hidden] { display: none; }
.store-lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.store-lightbox-foot > div { text-align: center; min-width: 0; }
.store-lightbox-caption { font-size: 14px; color: rgba(255, 255, 255, .9); }
.store-lightbox-count { font-family: Inter, var(--font); font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (max-width: 560px) { .store-lightbox { padding: 14px; } .store-lightbox-head h2 { font-size: 16px; } .store-lightbox-caption { font-size: 12px; } }
/* app detail */
.preview-banner { background: linear-gradient(135deg, #fff, var(--bg-tint)); border: 1px solid #c7d6f5; border-radius: var(--radius-l); padding: 28px 32px; margin-bottom: 28px; }
.preview-banner-top { display: flex; gap: 8px; flex-wrap: wrap; }
.preview-banner h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 14px 0 10px; }
.preview-banner p { color: var(--ink-2); max-width: 820px; }
.preview-banner .button-row { margin-top: 20px; }
.detail-preview { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-l); background: #fff; }
.window-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--navy-2); color: rgba(255, 255, 255, .8); font-size: 12.5px; font-family: "Inter", var(--font); }
.window-title { flex: 1; letter-spacing: .08em; font-weight: 700; }
.window-status { display: inline-flex; align-items: center; gap: 6px; color: #9ef0c2; font-weight: 600; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(18, 183, 106, .6); animation: pulse 2s infinite; display: inline-block; }
.detail-preview .app-preview { border: 0; border-radius: 0; font-size: 13px; }
.detail-preview .workspace { min-height: 420px; grid-template-columns: 180px minmax(0, 1fr); }
.detail-preview .workspace-body { padding: 22px 26px 26px; gap: 16px; }
.detail-preview .metric-grid strong { font-size: 20px; }
.detail-preview .workspace-title h3 { font-size: 18px; }
.detail-prose { margin-top: 48px; }
/* forms */
.form-grid { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; box-shadow: var(--shadow-s); max-width: 820px; }
.form-grid label { display: grid; gap: 8px; font-weight: 700; font-size: 14px; }
.form-grid input, .form-grid textarea, .form-grid select { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 400; background: #fff; width: 100%; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: 0; border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(29, 92, 255, .12); }
.form-grid .btn { justify-self: start; }
.form-grid .button-row { margin-top: 0; }
.form-grid button[disabled] { opacity: .55; pointer-events: none; }
.form-grid .small { color: var(--ink-2); font-weight: 400; }
/* ボット判定用の項目。利用者には見せず、支援技術からも外す */
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.login-callout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--shadow-l); }
.login-shot { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; background: var(--navy); }
.login-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.login-shot:hover img { transform: scale(1.03); }
.login-shot .window-status { position: absolute; left: 14px; bottom: 12px; background: rgba(5, 9, 20, .7); padding: 6px 12px; border-radius: 999px; font-size: 12px; backdrop-filter: blur(8px); }
.login-callout h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 12px 0 14px; }
.login-callout p { color: var(--ink-2); margin-bottom: 22px; }
.numbered-list { counter-reset: n; list-style: none; display: grid; gap: 10px; }
.numbered-list li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.numbered-list li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-family: "Inter", var(--font); flex: none; font-size: 13px; }
.idea-input { margin-top: 32px; }
.idea-input textarea { min-height: 160px; }
/* pricing */
.plan-grid { margin-top: 28px; margin-bottom: 56px; }
.prose > .grid-4, .prose > .grid-3, .prose > .grid-2 { margin: 24px 0 32px; }
.prose .mini-cards .card { padding: 20px; }
.prose .mini-cards .card h3 { margin: 0 0 6px; }
.prose .btn { margin-top: 8px; }
.prose + .section-heading, .prose + .grid-4, .prose + .grid-3, .prose + .grid-2, .plan-grid + .prose, .prose + .prose, .prose + .button-row { margin-top: 48px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 10px; }
.plan-card.featured { border-color: var(--primary-3); box-shadow: var(--shadow); background: linear-gradient(180deg, #fff, var(--bg-tint)); }
.plan-card h3 { font-size: 20px; margin-top: 8px; }
.plan-price { font-family: "Inter", var(--font); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.plan-price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan-card p { color: var(--ink-2); font-size: 14px; }
.plan-share { background: var(--bg-soft); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13.5px; color: var(--primary); }
.plan-list { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.plan-list li { display: flex; align-items: center; gap: 8px; }
.plan-list .ico { color: var(--success); flex: none; }
/* pricing v3: plan tabs / trial / enterprise / credits */
.plan-tabs { gap: 10px; margin: 24px 0 8px; }
.plan-tabs button { display: grid; gap: 2px; padding: 12px 22px; border-radius: var(--radius-s); text-align: left; }
.plan-tabs button b { font-size: 15px; }
.plan-tabs button small { font-size: 12px; color: var(--muted); }
.plan-tabs button[aria-selected="true"] small { color: rgba(255, 255, 255, .78); }
.plan-tabs button[data-plan-tab="enterprise"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); }
.plan-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-grid-3 .plan-card { padding: 24px 22px; gap: 8px; }
.plan-card .chip { align-self: flex-start; }
.plan-grid-3 .plan-card h3 { font-size: 19px; margin-top: 4px; }
.plan-grid-3 .plan-price { font-size: 27px; }
.plan-tagline { min-height: 2.9em; }
.plan-price-note { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--warm); color: #fff; font-size: 12px; font-weight: 700; }
.plan-role { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); }
.plan-cta { display: grid; gap: 6px; justify-items: start; margin-top: 12px; }
.plan-cta small { font-size: 12px; color: var(--muted); }
.plan-card.trial { border-color: #ffd0a1; background: linear-gradient(180deg, #fff, #fff7ee); }
.plan-card.trial .chip-soft { background: #fff1e0; color: #b45f06; }
.plan-card.trial .plan-share { background: #fff1e0; color: #b45f06; }
/* Enterpriseタブは配色を変えて「別枠のプラン」であることを示す */
.plan-card.enterprise { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: var(--navy-3); color: #fff; box-shadow: var(--shadow-l); }
.plan-card.enterprise.featured { border-color: var(--cyan-2); background: linear-gradient(170deg, var(--navy-3), var(--navy)); }
.plan-card.enterprise h3, .plan-card.enterprise .plan-price { color: #fff; }
.plan-card.enterprise .plan-price small, .plan-card.enterprise p, .plan-card.enterprise .plan-list { color: rgba(255, 255, 255, .78); }
.plan-card.enterprise .plan-role { color: rgba(255, 255, 255, .62); border-top-color: rgba(255, 255, 255, .18); }
.plan-card.enterprise .plan-share { background: rgba(97, 207, 255, .14); color: var(--cyan); }
.plan-card.enterprise .plan-list .ico { color: var(--cyan); }
.plan-card.enterprise .chip-soft { background: rgba(255, 255, 255, .12); color: #fff; }
.plan-card.enterprise .chip-cat { background: var(--cyan); color: var(--navy); }
.plan-card.enterprise .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.plan-footnote { margin-top: 14px; color: var(--muted); }
.h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; letter-spacing: -.02em; margin: 12px 0 10px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody th { text-align: left; background: var(--bg-soft); font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.compare-table td.featured { background: var(--bg-tint); font-weight: 700; color: var(--primary); }
.compare-table thead th.featured { background: var(--primary); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.credit-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 20px; padding: 18px 22px; border-radius: var(--radius-l); background: var(--navy); color: #fff; font-family: "Inter", var(--font); font-weight: 700; }
.cf-result { color: var(--cyan); font-size: 16px; }
.cf-eq, .cf-plus { color: rgba(255, 255, 255, .5); font-size: 18px; }
.cf-term { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(97, 207, 255, .3); font-size: 13.5px; }
.mvp-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.mvp-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 10px; }
.mvp-step .small { color: var(--muted); }
.ai-msg { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--primary-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); display: grid; gap: 8px; }
.ai-msg b { color: var(--ink); }
.ai-msg strong { color: var(--primary); }
.ai-msg.wide { margin: 20px 0; padding: 18px 22px; font-size: 15px; }
.ai-msg .btn { justify-self: start; margin-top: 4px; }
.pct-row { display: grid; gap: 6px; }
.pct-bar { display: block; height: 8px; border-radius: 999px; background: #e1e8f5; overflow: hidden; }
.pct-bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--cyan)); border-radius: 999px; }
.pack-inline { display: flex; gap: 6px; flex-wrap: wrap; }
.mvp-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.mvp-list li { display: flex; align-items: center; gap: 6px; }
.mvp-list .ico { color: var(--success); }
.pro-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pro-split > div > p { color: var(--ink-2); margin-bottom: 14px; }
.plan-list.big { font-size: 15px; gap: 9px; }
.role-cards { display: grid; gap: 12px; }
.role-card { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line); background: #fff; display: grid; gap: 4px; }
.role-card b { font-size: 17px; }
.role-card p { color: var(--ink-2); font-size: 14px; }
.role-card.trial { border-color: #ffd0a1; background: #fff7ee; }
.role-card.pro { border-color: var(--primary-3); background: var(--bg-tint); }
.role-card.ent { background: var(--navy); color: #fff; border-color: var(--navy); }
.role-card.ent p { color: rgba(255, 255, 255, .72); }
.ent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 24px 0 20px; }
.ent-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.ent-item .ico { color: var(--primary-2); flex: none; }
.mini-cards h3 small { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 12px; }
.pack-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 18px; text-align: center; display: grid; gap: 2px; box-shadow: var(--shadow-s); }
.pack-card.featured { border-color: var(--primary-3); box-shadow: var(--shadow); background: linear-gradient(180deg, #fff, var(--bg-tint)); }
.pack-num { font-family: "Inter", var(--font); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.pack-unit { font-size: 13px; color: var(--muted); }
.pack-price { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-family: "Inter", var(--font); font-size: 22px; font-weight: 800; color: var(--primary); }
.pack-price small { font-size: 11px; color: var(--muted); font-weight: 600; }
.pack-rate { font-size: 12px; color: var(--muted); }
.pack-off { position: absolute; top: -10px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--warm); color: #fff; font-size: 12px; font-weight: 800; }
.pack-hint { margin-top: 8px; font-size: 12px; color: var(--primary); font-weight: 700; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; }
.cta-strip p { color: rgba(255, 255, 255, .75); }
.cta-strip .h2 { margin: 8px 0 6px; }
@media (max-width: 1100px) { .ent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .plan-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mvp-flow { grid-template-columns: 1fr; } .pro-split { grid-template-columns: 1fr; } .ent-grid, .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-grid-3, .ent-grid, .pack-grid { grid-template-columns: 1fr; } .plan-tabs button { padding: 10px 16px; } }
.mini-cards { margin: 20px 0 28px; }
.mini-cards .card { padding: 18px 20px; }
.mini-cards .card h3 { margin: 0 0 6px; font-size: 16px; }
/* timeline */
.timeline { display: grid; gap: 14px; max-width: 860px; }
.timeline-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 28px; box-shadow: var(--shadow-s); }
.timeline-num { font-family: "Inter", var(--font); font-weight: 800; letter-spacing: .12em; font-size: 12px; color: var(--primary-2); padding-top: 4px; }
.timeline-item h3 { font-size: 19px; margin-bottom: 6px; }
.timeline-item p { color: var(--ink-2); }
/* help */
.help-search { max-width: 820px; }
.help-search .small { display: block; margin-top: 10px; }
.help-answer { max-width: 820px; }
.help-answer h3 { font-size: 17px; margin-bottom: 6px; }
.help-answer .button-row { margin-top: 12px; }
.article-list { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.help-layout .article-list { grid-template-columns: 1fr; }
@media (max-width: 860px) { .article-list { grid-template-columns: 1fr; } }
.article-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.article-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); border-color: #c7d6f5; }
.article-list h3 { font-size: 17px; margin: 8px 0 4px; }
.article-list p { color: var(--ink-2); font-size: 14px; }
.article-list .ico { color: var(--primary-2); flex: none; }
.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.category-links { display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 24px); }
.category-links a { padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.category-links a:hover { background: var(--bg-soft); }
.category-links a[aria-current="page"] { background: var(--bg-tint); color: var(--primary); }
.ref-card { display: grid; gap: 6px; align-content: start; }
.ref-card .ico { color: var(--primary-2); margin-top: 4px; }
.verified { display: grid; gap: 6px; align-content: start; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.topic-cloud span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px dashed var(--line-2); background: #fff; font-weight: 600; font-size: 14px; }
.topic-cloud small { font-size: 11px; color: #b45f06; background: #fff3e6; padding: 2px 8px; border-radius: 999px; }
.legal-table { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 20px 0; background: #fff; }
.legal-table > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.legal-table > div:last-child { border-bottom: 0; }
.legal-table dt { padding: 14px 18px; background: var(--bg-soft); font-weight: 700; font-size: 14px; }
.legal-table dd { margin: 0; padding: 14px 18px; color: var(--muted); font-size: 14px; }
/* cms */
.cms-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.cms-list { display: grid; gap: 8px; max-height: 680px; overflow: auto; padding-right: 4px; }
.cms-list button { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; transition: border-color .2s; }
.cms-list button:hover { border-color: var(--primary-3); }
.cms-list button[aria-current="true"] { border-color: var(--primary); background: var(--bg-tint); }
.cms-list button h3 { font-size: 14px; }
.cms-editor { max-width: none; }
.file-label { position: relative; overflow: hidden; }
.file-label input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pre { white-space: pre-wrap; word-break: break-word; font-size: 13px; color: var(--ink-2); }
.notfound { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.notfound h1 { font-size: clamp(30px, 4vw, 48px); margin: 14px 0 12px; }
.notfound .button-row { justify-content: center; }
/* toast */
.toast-host { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 200; pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-l); animation: toastIn .3s var(--ease); }
.toast.error { background: #b42318; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-help { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bridge-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .help-layout { grid-template-columns: 1fr; }
  .category-links { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .cms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-logo, .footer-brand .brand img { height: 40px; }
  /* mobile: show the real first view in full, then stack the collab/CTA strip below it */
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero-frame { position: relative; height: 100svh; min-height: 560px; }
  .hero-overlay { position: static; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 20px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); border-top: 1px solid rgba(97, 207, 255, .18); }
  .hero-collab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .hero-collab small { margin-top: 0; width: 100%; }
  .hero-side { flex-direction: row; justify-content: space-between; align-items: center; }
  .hero-tagline { display: none; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-scroll { width: 100%; justify-content: center; }
  .hero-open-hint { position: static; opacity: 1; visibility: visible; transform: none; white-space: normal; width: 100%; justify-content: center; }
  .bridge-grid, .split, .empower, .remix-block, .login-callout, .feature-visual { grid-template-columns: 1fr; }
  .split > .reveal:last-child { justify-self: start; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .showcase-caption { flex-direction: column; align-items: flex-start; }
  .photo-chip { font-size: 12px; padding: 8px 11px; }
  .chip-c { display: none; }
  .trust-row { grid-template-columns: 1fr; text-align: left; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .legal-table > div { grid-template-columns: 1fr; }
  .app-card-actions { grid-template-columns: 1fr; }
  .detail-preview .workspace { grid-template-columns: 1fr; }
  .detail-preview .workspace-side { flex-direction: row; flex-wrap: wrap; }
  .detail-preview .workspace-note { display: none !important; }
  .final-bg::after { background: linear-gradient(180deg, rgba(5, 9, 20, .9), rgba(5, 9, 20, .75)); }
}
@media (max-width: 560px) {
  .container { width: min(1200px, 100% - 32px); }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .bridge-hud { grid-template-columns: 1fr 1fr; }
  .collab-row b { font-size: 17px; }
  .hero-collab { padding: 12px 14px; }
  .kanban, .app-preview.compact .kanban { grid-template-columns: 1fr; }
  .kanban > div:nth-child(n+2) { display: none; }
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schedule-grid > div:nth-child(n+4) { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .workspace-side { flex-direction: row; flex-wrap: wrap; }
  .workspace-note { display: none !important; }
  .app-preview.compact .workspace { grid-template-columns: 1fr; }
  .app-preview.compact .workspace-side { display: none; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   FIRST VIEW（TOP） — ダーク・パーティクル + AiiPo × Reactor フュージョン
   同じ表現の単体モジュール: modules/reactor-hero/
   ===================================================================== */
.about-page main, .home main { padding-top: 0; }
/* Reactorとは：パーティクル無しのコンパクトなダーク導入（TOPと競合させない） */
.about-intro { position: relative; background: radial-gradient(900px 400px at 80% 0%, rgba(0, 53, 195, .45), transparent 60%), var(--navy); color: #fff; padding: calc(var(--header-h) + 64px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.about-intro::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(97, 207, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(97, 207, 255, .06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 20%, black 20%, transparent 75%); pointer-events: none; }
.about-intro .container { position: relative; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.about-intro h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; margin-top: 16px; }
.about-intro h1 em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-intro p { margin-top: 18px; color: rgba(255, 255, 255, .76); font-size: 16px; max-width: 640px; line-height: 1.9; }
.about-intro .breadcrumb { color: rgba(255, 255, 255, .6); }
.about-intro .breadcrumb a { color: rgba(255, 255, 255, .8); }
.about-intro-side { display: grid; gap: 10px; }
.about-intro-side a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 700; font-size: 14px; transition: border-color .2s, transform .2s; }
.about-intro-side a:hover { border-color: rgba(97, 207, 255, .5); transform: translateY(-2px); }
.about-intro-side a small { display: block; color: rgba(255, 255, 255, .55); font-weight: 500; font-size: 12px; margin-top: 2px; }
.about-intro-side a .ico { color: var(--cyan); }
/* TOP：SaaS → Reactor の転換（3列） */
.shift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.shift-card { display: grid; gap: 10px; padding: 26px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.shift-card .shift-from { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(100, 116, 139, .6); }
.shift-card .shift-arrow { color: var(--primary-2); display: inline-flex; }
.shift-card h3 { font-size: 18px; }
.shift-card p { color: var(--ink-2); font-size: 14.5px; }
/* TOP：AIクリエイター（頼む / なる） */
.creator-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 32px 0 36px; }
.creator-path { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding: 26px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.creator-path .feature-ico { width: 52px; height: 52px; }
.creator-path h3 { font-size: 19px; margin-bottom: 8px; }
.creator-path p { color: var(--ink-2); font-size: 14.5px; }
.creator-path .text-link { margin-top: 10px; font-size: 14px; }
.creator-path.become { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #fff; border-color: var(--navy); }
.creator-path.become p { color: rgba(255, 255, 255, .78); }
.creator-path.become .feature-ico { background: linear-gradient(135deg, rgba(0, 53, 195, .8), rgba(97, 207, 255, .5)); color: #fff; }
.creator-path.become .text-link { color: #a5f7ff; }
.fv-hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(900px 500px at 70% 45%, rgba(0, 53, 195, .35), transparent 60%), var(--navy); color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px; }
.fv-hero .atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fv-hero .atmosphere canvas { width: 100%; height: 100%; display: block; }
.fv-hero.no-webgl .atmosphere { background: radial-gradient(420px 420px at 72% 50%, rgba(97, 207, 255, .28), transparent 70%); }
.fv-hero-lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(97, 207, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(97, 207, 255, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 75%); }
.fv-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.fv-hero-copy h1 { font-size: clamp(34px, 4.6vw, 62px); font-weight: 900; letter-spacing: -.02em; line-height: 1.18; margin-top: 18px; }
.fv-hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fv-hero-copy > p { margin-top: 22px; color: rgba(255, 255, 255, .78); font-size: 16.5px; max-width: 560px; line-height: 1.9; }
.fv-hero-copy > p a { color: #a5f7ff; text-decoration: underline; text-decoration-color: rgba(165, 247, 255, .4); text-underline-offset: 3px; }
.fv-actions { justify-content: flex-start; margin-top: 30px; }
.fv-hud { margin-top: 34px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fv-hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(20px, 3vw, 44px) 22px; font-family: "Inter", var(--font); font-size: 11px; letter-spacing: .26em; color: rgba(255, 255, 255, .5); font-weight: 700; }
.fv-hero-bottom a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); letter-spacing: .04em; font-family: var(--font); font-size: 13px; }
.fv-hero-bottom a .ico { animation: bob 1.8s infinite; }

/* フュージョン */
.fv-hero-visual { display: grid; justify-items: center; gap: 18px; text-align: center; }
.fusion { position: relative; width: min(100%, 460px); aspect-ratio: 1; display: grid; place-items: center; }
/* 溶け合うフュージョン：左右から中心へ → 重なって溶ける → 光になって消える（背景プレートなし） */
.fusion-stage { position: absolute; inset: 0; display: grid; place-items: center; animation: fusionOut 1.2s var(--ease) 4.8s forwards; }
@keyframes fusionOut { to { opacity: 0; visibility: hidden; } }
.fusion-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(97, 207, 255, .22); inset: 8%; animation: fusionRing 6s ease-in-out infinite; }
.fusion-ring.r2 { inset: 20%; border-color: rgba(79, 157, 255, .3); animation-delay: -3s; animation-direction: reverse; }
.fusion-core { position: absolute; width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle, rgba(165, 247, 255, .95), rgba(28, 109, 255, .55) 40%, transparent 70%); filter: blur(8px); opacity: 0; animation: fusionCore 1.8s var(--ease) 3.1s forwards; }
@keyframes fusionCore { 0% { opacity: 0; transform: scale(.3); } 45% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.9); } }
.fusion-plate { display: none; }
.fusion-aiipo, .fusion-reactor { position: absolute; left: 50%; top: 50%; will-change: transform, opacity, filter; }
.fusion-aiipo { z-index: 2; width: 66%; height: auto; opacity: 0; transform: translate(-135%, -50%) scale(.85); animation: meltLeft 4.6s cubic-bezier(.45, 0, .2, 1) .3s forwards; }
.fusion-reactor { z-index: 3; width: 32%; height: auto; opacity: 0; transform: translate(95%, -50%) scale(.85) rotate(50deg); animation: meltRight 4.6s cubic-bezier(.45, 0, .2, 1) .3s forwards; }
@keyframes meltLeft {
  0%   { opacity: 0; transform: translate(-135%, -50%) scale(.85); filter: drop-shadow(0 0 12px rgba(5, 9, 20, 1)) drop-shadow(0 0 16px rgba(79, 157, 255, .5)) blur(3px); }
  14%  { opacity: 1; transform: translate(-125%, -50%) scale(.9); filter: drop-shadow(0 0 12px rgba(5, 9, 20, 1)) drop-shadow(0 0 16px rgba(79, 157, 255, .5)) blur(0); }
  52%  { opacity: 1; transform: translate(-58%, -50%) scale(1); filter: drop-shadow(0 0 12px rgba(5, 9, 20, 1)) drop-shadow(0 0 16px rgba(79, 157, 255, .5)) blur(0); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1.04); filter: drop-shadow(0 0 30px rgba(165, 247, 255, .9)) blur(4px) brightness(1.6); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); filter: drop-shadow(0 0 40px rgba(165, 247, 255, 1)) blur(24px) brightness(2.6); }
}
@keyframes meltRight {
  0%   { opacity: 0; transform: translate(95%, -50%) scale(.85) rotate(50deg); filter: drop-shadow(0 0 10px rgba(5, 9, 20, 1)) drop-shadow(0 0 20px rgba(0, 215, 255, .7)) blur(3px); }
  14%  { opacity: 1; transform: translate(85%, -50%) scale(.9) rotate(40deg); filter: drop-shadow(0 0 10px rgba(5, 9, 20, 1)) drop-shadow(0 0 20px rgba(0, 215, 255, .7)) blur(0); }
  52%  { opacity: 1; transform: translate(-40%, -50%) scale(1) rotate(0deg); filter: drop-shadow(0 0 10px rgba(5, 9, 20, 1)) drop-shadow(0 0 20px rgba(0, 215, 255, .7)) blur(0); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1.06) rotate(-8deg); filter: drop-shadow(0 0 30px rgba(165, 247, 255, .9)) blur(4px) brightness(1.6); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.28) rotate(-20deg); filter: drop-shadow(0 0 40px rgba(165, 247, 255, 1)) blur(24px) brightness(2.6); }
}
.fusion-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #a5f7ff; box-shadow: 0 0 12px #61cfff; opacity: 0; animation: spark 1.4s ease-out 3s 2; }
.fusion-spark.s1 { left: 34%; top: 36%; --sx: -22px; } .fusion-spark.s2 { left: 64%; top: 34%; animation-delay: 3.2s; --sx: 22px; } .fusion-spark.s3 { left: 38%; top: 62%; animation-delay: 3.4s; --sx: -18px; } .fusion-spark.s4 { left: 66%; top: 64%; animation-delay: 3.6s; --sx: 18px; }
.fusion-label { display: inline-flex; align-items: center; gap: 18px; padding: 18px 34px; border-radius: 999px; background: rgba(5, 9, 20, .78); border: 1px solid rgba(97, 207, 255, .38); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset; opacity: 0; animation: labelIn 1.4s var(--ease) 4.5s forwards; }
.fusion-label img:first-child { height: 50px; width: auto; filter: drop-shadow(0 0 10px rgba(79, 157, 255, .65)); }
.fusion-label span { color: rgba(255, 255, 255, .5); font-size: 26px; font-weight: 300; }
.fusion-label .fusion-label-logo { flex: none; max-width: none; height: 44px; width: auto; aspect-ratio: 994 / 212.5; filter: drop-shadow(0 0 10px rgba(0, 215, 255, .45)); }
.fusion-caption { color: rgba(255, 255, 255, .62); font-size: 13.5px; line-height: 1.8; opacity: 0; animation: fadeUp .9s var(--ease) 5.1s forwards; }
@keyframes labelIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fusionRing { 0%, 100% { transform: scale(1) rotate(0deg); opacity: .5; } 50% { transform: scale(1.06) rotate(180deg); opacity: 1; } }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--sx, 18px), -36px) scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fusion-stage { animation: none !important; opacity: 0; visibility: hidden; } .fusion-label, .fusion-caption { animation: none !important; opacity: 1; transform: none; } }

/* 提供元 */
.about-provider { position: relative; background: var(--navy); padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
/* 直前が白いセクションのときは、上辺をなじませる */
.about-provider::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 72px; background: linear-gradient(to bottom, var(--bg), transparent); pointer-events: none; }
.about-provider::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.about-provider .container { position: relative; z-index: 1; }
.provider-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.provider-node { display: grid; gap: 10px; align-content: start; padding: 24px 26px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(10px); box-shadow: var(--shadow-l); transition: transform .3s var(--ease), border-color .3s; }
a.provider-node:hover { transform: translateY(-3px); border-color: rgba(97, 207, 255, .5); }
.provider-node b { display: inline-flex; align-items: center; gap: 10px; font-family: "Inter", var(--font); font-size: 22px; letter-spacing: .02em; }
.provider-node b img { height: 32px; width: auto; }
.provider-node.reactor b img { width: 32px; height: 32px; object-fit: contain; }
.provider-node.reactor { background: linear-gradient(135deg, rgba(0, 53, 195, .55), rgba(5, 9, 20, .6)); border-color: rgba(97, 207, 255, .45); }
.provider-node p { color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.8; }
.provider-node .text-link { color: #a5f7ff; font-size: 13px; }
.provider-arrow { display: grid; place-items: center; color: rgba(97, 207, 255, .8); }

/* 本文セクション共通 */
.about-figure { margin: 8px 0 40px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); background: #fff; border: 1px solid var(--line); }
.about-figure img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 8; object-fit: cover; }
.about-figure figcaption { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 22px; color: var(--ink-2); font-size: 14.5px; }
.vs-table th:first-child { width: 160px; }
.vs-table thead th.is-reactor { background: var(--primary); }
.vs-table thead th.is-reactor img { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.vs-table td { text-align: left; color: var(--ink-2); }
.vs-table td.is-reactor { background: var(--bg-tint); color: var(--ink); font-weight: 700; }
.vs-table td.is-reactor .ico { display: inline-block; color: var(--success); vertical-align: -2px; margin-right: 4px; }
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.about-split.reverse .about-split-media { order: 2; }
.about-split-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); border: 1px solid var(--line); background: #fff; }
.about-split-media img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.about-split-copy .section-heading { max-width: none; }
.about-split-copy .section-heading h2 { font-size: clamp(26px, 2.7vw, 34px); }
.about-split-copy .lead { margin-top: 18px; font-size: 16px; }
.about-mini-list { display: grid; gap: 16px; margin-top: 26px; }
.about-mini-list > div { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
.about-mini-list b { font-size: 17px; display: block; margin-bottom: 4px; }
.about-mini-list p { color: var(--ink-2); font-size: 14.5px; }

/* セキュリティ（ダーク） */
.about-dark { position: relative; background: radial-gradient(1000px 500px at 15% 0%, rgba(0, 53, 195, .5), transparent 60%), radial-gradient(700px 400px at 95% 100%, rgba(97, 207, 255, .14), transparent 60%), var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.about-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(97, 207, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(97, 207, 255, .06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 80%); pointer-events: none; }
.about-dark .container { position: relative; }
.about-dark .section-heading h2 { color: #fff; }
.about-dark .eyebrow { color: var(--cyan); }
.about-dark .lead { color: rgba(255, 255, 255, .75); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar { padding: 26px 24px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); transition: transform .3s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(97, 207, 255, .5); }
.pillar-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0, 53, 195, .8), rgba(97, 207, 255, .5)); color: #fff; box-shadow: 0 10px 30px -12px rgba(97, 207, 255, .8); }
.pillar h3 { font-size: 17.5px; margin: 16px 0 8px; line-height: 1.5; }
.pillar p { color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.8; }
.iso-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.iso-figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-l); }
.iso-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iso-diagram { display: grid; gap: 14px; align-content: center; }
.iso-boundary { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 46px 18px 54px; border-radius: var(--radius-xl); border: 1.5px dashed rgba(97, 207, 255, .55); background: rgba(0, 53, 195, .12); }
.iso-boundary-label, .iso-deploy { position: absolute; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.iso-boundary-label { top: -14px; background: var(--navy); border: 1px solid rgba(97, 207, 255, .55); color: #a5f7ff; }
.iso-deploy { bottom: 14px; background: rgba(32, 185, 130, .18); color: #9ff7d0; border: 1px solid rgba(32, 185, 130, .45); }
.iso-app { display: grid; gap: 8px; padding: 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; }
.iso-app-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
.iso-db { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(79, 157, 255, .22); color: #dff6ff; font-weight: 700; width: max-content; }
.iso-wall { font-size: 11px; color: rgba(255, 255, 255, .5); letter-spacing: .06em; }
.iso-outside { display: flex; flex-wrap: wrap; gap: 10px; }
.iso-outside span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 90, 90, .12); border: 1px solid rgba(255, 120, 120, .35); color: #ffc9c9; font-size: 12.5px; font-weight: 700; }

/* 検証・統計 */
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.stat-strip > div { padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); display: grid; gap: 4px; }
.stat-strip b { font-size: 20px; color: var(--primary); letter-spacing: -.01em; }
.stat-strip span { font-size: 13px; color: var(--ink-2); }

/* コスト */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.cost-card { border-radius: var(--radius-xl); padding: 30px 30px 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-s); display: grid; gap: 14px; align-content: start; }
.cost-card h3 { font-size: 22px; }
.cost-card ul { list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.cost-card li { display: flex; gap: 10px; align-items: flex-start; }
.cost-card li .ico { flex: none; margin-top: 3px; }
.cost-card.before { background: var(--bg-soft); color: var(--ink-2); }
.cost-card.before li .ico { color: #b45f06; }
.cost-card.after { background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #fff; border-color: var(--navy); }
.cost-card.after ul { color: rgba(255, 255, 255, .82); }
.cost-card.after li .ico { color: var(--success); }
.cost-card.after .button-row { margin-top: 8px; }
.cost-photo { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.cost-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 300px; }

/* =====================================================================
   FEATURES — 操作5ステップ / 簡単導入
   ===================================================================== */
.how-steps { list-style: none; display: grid; gap: 18px; margin-top: 36px; counter-reset: step; }
.how-step { display: grid; grid-template-columns: 84px minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; padding: 24px 28px 24px 22px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.how-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.how-step + .how-step::before { content: ""; position: absolute; left: 62px; top: -18px; width: 2px; height: 18px; background: linear-gradient(180deg, var(--primary-3), var(--cyan)); }
.how-num { display: grid; gap: 8px; justify-items: center; }
.how-num span { font-family: "Inter", var(--font); font-size: 30px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(180deg, var(--primary), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-num i { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--primary); }
.how-body h3 { font-size: 20px; margin: 10px 0 8px; }
.how-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.how-media { border-radius: var(--radius); overflow: hidden; }
.how-media img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); }
.how-media .ai-msg { font-size: 14.5px; line-height: 1.8; }
.ai-msg-who { display: inline-flex; align-items: center; gap: 6px; font-family: "Inter", var(--font); font-size: 11px; letter-spacing: .16em; font-weight: 700; color: var(--primary); }
.adopt-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; margin-top: 36px; align-items: stretch; }
.adopt-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.adopt-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 380px; }
.adopt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adopt-cards .card { padding: 22px; }
.adopt-cards .card h3 { font-size: 16.5px; }
.adopt-cards .card p { font-size: 14px; }
.adopt-timeline { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 24px; padding: 18px 22px; border-radius: var(--radius-l); background: var(--navy); color: #fff; }
.adopt-timeline > div { display: grid; gap: 4px; }
.adopt-timeline b { font-family: "Inter", var(--font); font-size: 12px; letter-spacing: .2em; color: var(--cyan); }
.adopt-timeline span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.adopt-timeline i { color: rgba(97, 207, 255, .8); display: inline-flex; }
.security-callout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 40px; padding: 26px 30px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; }
.security-callout b { font-size: 18px; display: block; margin-bottom: 6px; }
.security-callout p { color: rgba(255, 255, 255, .75); font-size: 14.5px; }
#adoption, #capabilities { margin-top: clamp(56px, 7vw, 88px); }

/* 運営会社 */
.footer-company { margin-top: 18px !important; font-size: 13.5px !important; color: rgba(255, 255, 255, .78) !important; }
.footer-company a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.footer-company small { color: rgba(255, 255, 255, .5); font-size: 12px; }
.company-block { margin-top: 36px; }
.legal-table dd a, .notice a, .prose p a { color: var(--primary-2); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; vertical-align: baseline; }
.legal-table dd .ico, .notice .ico, .prose p .ico { display: inline-block; vertical-align: -2px; }
.contact-company { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius-xl); background: var(--bg-soft); border: 1px solid var(--line); margin: 56px 0 28px; }
.contact-company b { display: block; font-size: 20px; margin-top: 8px; }
.contact-company small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.contact-company .button-row { margin-top: 0; }
.contact-trial { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 26px; border-radius: var(--radius-xl); background: linear-gradient(180deg, #fff, #fff7ee); border: 1px solid #ffd0a1; margin-bottom: 28px; }
.contact-trial b { display: block; font-size: 20px; margin: 8px 0 6px; }
.contact-trial p { color: var(--ink-2); font-size: 14px; }
.contact-trial .button-row { margin-top: 0; }
@media (max-width: 860px) { .contact-trial { grid-template-columns: 1fr; } }
.notice a { color: inherit !important; text-decoration: underline; }

@media (max-width: 1100px) {
  .fv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-photo { grid-column: 1 / -1; }
  .cost-photo img { min-height: 260px; max-height: 360px; }
}
@media (max-width: 860px) {
  .fv-hero { padding-bottom: 96px; }
  .fv-hero-grid { grid-template-columns: 1fr; }
  .fv-hero-visual { order: -1; }
  .fusion { width: min(72vw, 320px); }
  .fusion-label { gap: 12px; padding: 14px 22px; }
  .fusion-label img:first-child { height: 36px; }
  .fusion-label .fusion-label-logo { height: 32px; }
  .fusion-label span { font-size: 20px; }
  .fv-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-intro-grid { grid-template-columns: 1fr; }
  .creator-paths { grid-template-columns: 1fr; }
  .shift-grid { grid-template-columns: 1fr; }
  .provider-flow { grid-template-columns: 1fr; }
  .provider-arrow { transform: rotate(90deg); }
  .about-split, .about-split.reverse { grid-template-columns: 1fr; }
  .about-split.reverse .about-split-media { order: 0; }
  .iso-wrap { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .how-step { grid-template-columns: 64px minmax(0, 1fr); }
  .how-step + .how-step::before { left: 48px; }
  .how-media { grid-column: 2; }
  .adopt-grid { grid-template-columns: 1fr; }
  .adopt-media img { min-height: 260px; }
  .adopt-timeline { grid-template-columns: 1fr; }
  .adopt-timeline i { transform: rotate(90deg); justify-self: start; }
  .security-callout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fv-hero-copy h1 { font-size: 32px; }
  .fv-hero-bottom span { display: none; }
  .pillar-grid, .cost-grid, .adopt-cards { grid-template-columns: 1fr; }
  .iso-boundary { grid-template-columns: 1fr; }
  .how-step { grid-template-columns: 1fr; padding: 20px; }
  .how-num { grid-template-columns: auto auto; justify-content: start; align-items: center; }
  .how-media { grid-column: 1; }
  .how-step + .how-step::before { display: none; }
  .vs-table th:first-child { width: 110px; }
}

/* =====================================================================
   DEPLOY OPTIONS — 提供形態（クラウド利用 / 専用環境の構築）
   ===================================================================== */
.deploy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.deploy-card .chip-cat { margin-top: 14px; }
.deploy-card h3 { margin: 10px 0 8px; }
.deploy-points { list-style: none; display: grid; gap: 8px; margin: 14px 0; padding: 0; }
.deploy-points li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.deploy-points li .ico { flex: none; margin-top: 4px; color: var(--success); }
.deploy-card .small { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.about-dark .deploy-card .small { border-top-color: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .64); }
.about-dark .deploy-points li { color: rgba(255, 255, 255, .78); }
.about-dark .deploy-card .chip-cat { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.deploy-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; color: rgba(255, 255, 255, .62); }
.deploy-note .ico { flex: none; margin-top: 3px; }
@media (max-width: 860px) {
  .deploy-grid, .grid-2 { grid-template-columns: 1fr; }
}

/* =====================================================================
   DIAGRAMS — セキュリティ説明の図（図1: データの通り道 / 図2: 保管のしくみ）
   SVGは線画のみ。文字はHTML側に置き、狭い画面でも読める状態を保つ。
   ===================================================================== */
.dg-figure { margin: 48px 0 0; max-width: 100%; }
.dg-figure *, .dg-ws * { min-width: 0; }
.dg-cap-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .82); }
.dg-cap-num { flex: none; padding: 4px 11px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; background: rgba(97, 207, 255, .16); color: var(--cyan); }

/* --- 図1: 横に流れる4ステップ --- */
.dg-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 0 12px; }
.dg-step { position: relative; padding: 24px 20px 22px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.dg-num { position: absolute; top: 16px; right: 18px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: rgba(255, 255, 255, .38); }
.dg-illust { display: flex; justify-content: center; padding: 4px 0 14px; color: rgba(255, 255, 255, .72); }
.dg-art { width: 100%; max-width: 132px; height: auto; }
.dg-art .dg-acc { stroke: var(--cyan); }
.dg-art polygon.dg-acc { fill: var(--cyan); stroke: none; }
.dg-step h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 8px; }
.dg-step p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .7); }
.dg-step p b { color: var(--cyan); font-weight: 700; }
.dg-arrow { display: flex; width: 84px; flex-direction: column; align-items: center; gap: 7px; padding-top: 78px; }
.dg-arrow i { display: block; width: 100%; min-width: 26px; height: 1px; background: linear-gradient(90deg, rgba(97, 207, 255, .15), rgba(97, 207, 255, .75)); position: relative; }
.dg-arrow i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left-color: rgba(97, 207, 255, .75); }
.dg-arrow small { font-size: 11.5px; white-space: nowrap; color: rgba(255, 255, 255, .5); }

/* --- 図1の補足: 外部AIへの送信 --- */
.dg-aside { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 20px; padding: 26px 30px; border-radius: var(--radius-l); border: 1px solid rgba(97, 207, 255, .34); background: rgba(0, 53, 195, .14); }
.dg-aside-art { color: var(--cyan); }
.dg-aside-art .dg-art { max-width: 170px; }
.dg-aside .chip-cat { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.dg-aside-body > p { margin-top: 12px; font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .8); }
.dg-aside-body > p.small { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.dg-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 0; padding: 0; }
.dg-list li { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; align-items: baseline; font-size: 14.5px; line-height: 1.75; }
.dg-list b { color: var(--cyan); font-size: 13px; font-weight: 700; }
.dg-list span { color: rgba(255, 255, 255, .78); }

/* --- 図2: ワークスペースと保管場所 --- */
.dg-ws { padding: 26px; border-radius: var(--radius-xl); border: 1.5px dashed rgba(97, 207, 255, .5); background: rgba(0, 53, 195, .1); }
.dg-ws-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding-bottom: 20px; }
.dg-ws-head > * { min-width: 0; }
.dg-ws-lock { display: inline-flex; width: 32px; height: 32px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(97, 207, 255, .18); color: var(--cyan); }
.dg-ws-head b { font-size: 16px; }
.dg-ws-head span:last-child { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.dg-ws-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dg-app { display: grid; gap: 0; padding: 18px 16px; border-radius: var(--radius); background: rgba(5, 9, 20, .5); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.dg-app-screen, .dg-db { display: grid; justify-items: center; gap: 6px; color: rgba(255, 255, 255, .85); }
.dg-app-screen .ico, .dg-db .ico { color: var(--cyan); }
.dg-app-screen b { font-size: 14.5px; }
.dg-app-screen small { font-size: 12px; color: rgba(255, 255, 255, .5); }
.dg-db b { font-size: 12.5px; font-weight: 600; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.dg-pipe { display: block; width: 1px; height: 26px; margin: 12px auto; background: linear-gradient(180deg, rgba(97, 207, 255, .2), rgba(97, 207, 255, .8)); position: relative; }
.dg-pipe::after { content: ""; position: absolute; left: -3.5px; bottom: -1px; border: 3.5px solid transparent; border-top-color: rgba(97, 207, 255, .8); }
.dg-ws-foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; }
.dg-ws-foot span { display: inline-flex; align-items: flex-start; min-width: 0; gap: 7px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.dg-ws-foot .ico { flex: none; margin-top: 2px; }
.dg-ws-foot .ico { color: var(--cyan); }

@media (max-width: 1040px) {
  .dg-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .dg-arrow { display: none; }
  .dg-step { grid-column: auto; }
  .dg-aside { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }
}
@media (max-width: 720px) {
  .dg-flow, .dg-ws-apps { grid-template-columns: 1fr; }
  .dg-list li { grid-template-columns: 1fr; gap: 2px; }
  .dg-ws { padding: 18px 14px; }
}

/* =====================================================================
   BUILT AROUND YOUR WORK — つくり方 / 作れるシステムの例 / AIストアへの橋渡し
   ===================================================================== */
.build-sub { margin-top: clamp(56px, 6vw, 88px); }
.build-sub .section-heading h2 { font-size: clamp(26px, 2.9vw, 36px); }

/* 「こう話すと → こうなる」 */
.say-list { list-style: none; display: grid; gap: 16px; margin-top: 36px; padding: 0; }
.say-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.05fr); gap: 16px; align-items: center; padding: clamp(18px, 2.2vw, 26px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.say-bubble { background: var(--bg-tint); border-radius: 18px; padding: 16px 18px; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.85; }
.say-bubble span { display: flex; width: fit-content; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .04em; color: var(--primary); margin-bottom: 8px; }
.say-arrow { display: inline-flex; justify-content: center; color: var(--primary-2); }
.say-result .chip-cat { margin-bottom: 10px; }
.say-result b { display: block; font-size: 18px; margin-bottom: 10px; }
.say-result ul { list-style: none; display: grid; gap: 7px; }
.say-result li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.say-result li .ico { flex: none; margin-top: 4px; color: var(--success); }
.say-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 20px; line-height: 1.8; }
.say-note .ico { flex: none; margin-top: 3px; color: var(--primary-2); }

/* 作れるシステムの例 */
.made-grid { margin-top: 36px; }
.made-card { display: grid; gap: 10px; align-content: start; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.made-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.made-card h3 { font-size: 19px; margin-top: 6px; }
.made-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.made-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.made-tags span { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.made-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); line-height: 1.75; }
.made-note .ico { flex: none; margin-top: 3px; }

/* 自分で作らなくても：AIストアへ */
.store-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.2vw, 40px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--bg-tint), #f7fbff); border: 1px solid var(--line-2); }
.store-bridge h3 { font-size: clamp(21px, 2.3vw, 27px); margin: 14px 0 12px; }
.store-bridge p { color: var(--ink-2); font-size: 15px; line-height: 1.9; max-width: 720px; }
.store-bridge .button-row { margin-top: 0; }

@media (max-width: 860px) {
  .say-row { grid-template-columns: 1fr; gap: 12px; }
  .say-arrow { transform: rotate(90deg); justify-self: start; }
  .store-bridge { grid-template-columns: 1fr; }
  .store-bridge .btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   SECURITY-FIRST — 安全の3つの理由 / 作り直し / 月次AI診断 / スマホ / 料金の3つの選び方
   仕様: docs/reactor_sales_strategy_spec.md
   ===================================================================== */
.fv-sub { display: block; margin-bottom: 8px; color: #fff; font-size: 1.06em; letter-spacing: .01em; }
.tax { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 4px; }

/* --- 2. WHY：セキュリティが不安だから --- */
.sec-why { padding: clamp(80px, 10vw, 140px) 0; }
.why-head { max-width: 880px; }
.why-title { margin-top: 18px; font-size: clamp(32px, 4.6vw, 60px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.why-title em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-head .lead { margin-top: 22px; font-size: clamp(15px, 1.4vw, 17.5px); line-height: 2; max-width: 760px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.reason { position: relative; overflow: hidden; padding: 32px 28px 28px; border-radius: var(--radius-l); background: linear-gradient(170deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .14); transition: transform .3s var(--ease), border-color .3s; }
.reason:hover { transform: translateY(-4px); border-color: rgba(97, 207, 255, .55); }
.reason-num { position: absolute; right: 18px; top: 6px; font-family: "Inter", var(--font); font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(97, 207, 255, .35); pointer-events: none; }
.reason h3 { margin: 18px 0 4px; font-size: 22px; color: #fff; }
.reason-lead { color: var(--cyan) !important; font-weight: 700; font-size: 14.5px !important; margin-bottom: 12px; }
.reason p { color: rgba(255, 255, 255, .74); font-size: 14.5px; line-height: 1.85; }
.reason ul { list-style: none; display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.reason li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .86); line-height: 1.65; }
.reason li .ico { flex: none; margin-top: 3px; color: var(--cyan); }
.reason-grid.light .reason { background: #fff; border-color: var(--line); box-shadow: var(--shadow-s); }
.reason-grid.light .reason h3 { color: var(--ink); }
.reason-grid.light .reason p { color: var(--ink-2); }
.reason-grid.light .reason-lead { color: var(--primary-2) !important; }
.reason-grid.light .reason-num { -webkit-text-stroke-color: rgba(29, 92, 255, .2); }
.env-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 22px; padding: 22px 26px; border-radius: var(--radius-l); border: 1.5px dashed rgba(97, 207, 255, .45); background: rgba(0, 53, 195, .14); }
.env-strip-head { display: flex; align-items: center; gap: 14px; }
.env-strip-head b { font-size: 17px; line-height: 1.45; color: #fff; }
.env-item { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .8); }
.env-item > .ico { flex: none; margin-top: 3px; color: var(--cyan); }
.env-item b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.env-item span { font-size: 13.5px; line-height: 1.7; }
.env-strip .text-link { color: #a5f7ff; font-size: 14px; white-space: nowrap; }
.sec-why .button-row { margin-top: 36px; }

/* --- 3. REBUILD：Before → AI → After --- */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 0; align-items: stretch; margin-top: 44px; }
.ba-side { padding: 30px 30px 28px; border-radius: var(--radius-l); border: 1px solid var(--line); }
.ba-side.before { background: var(--bg-soft); color: var(--ink-2); border-right: 0; border-radius: var(--radius-l) 0 0 var(--radius-l); }
.ba-side.after { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-color: var(--navy-3); border-left: 0; border-radius: 0 var(--radius-l) var(--radius-l) 0; box-shadow: var(--shadow-l); }
.ba-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ba-side.before .ba-label { color: #b45f06; }
.ba-side.after .ba-label { color: var(--cyan); }
.ba-side ul { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.ba-side li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.ba-side.before li { color: var(--muted); }
.ba-side.before li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: #ffb066; }
.ba-side.after li .ico { flex: none; margin-top: 5px; color: var(--cyan); }
.ba-core { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; background: linear-gradient(90deg, var(--bg-soft), var(--navy-2)); padding: 20px 10px; overflow: hidden; }
.ba-ring { position: absolute; width: 132px; height: 132px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(97, 207, 255, .55); box-shadow: 0 0 40px rgba(29, 92, 255, .35); animation: ba-pulse 3.6s ease-in-out infinite; }
.ba-core-ico { position: relative; display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--cyan-2)); color: #fff; box-shadow: 0 10px 30px -6px rgba(0, 53, 195, .6); }
.ba-core b { position: relative; margin-top: 10px; font-size: 14px; color: #fff; text-shadow: 0 1px 8px rgba(5, 9, 20, .6); }
.ba-core small { position: relative; font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 8px rgba(5, 9, 20, .6); }
@keyframes ba-pulse { 0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ba-ring { animation: none; } }
.audit-flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 36px; padding: 0; }
.audit-step { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.audit-step + .audit-step::before { content: ""; position: absolute; left: -12px; top: 38px; width: 12px; height: 2px; background: var(--line-2); }
.audit-num { font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--primary-2); }
.audit-ico { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--primary); }
.audit-step h3 { font-size: 16px; }
.audit-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.rebuild-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.rebuild-foot .button-row { margin-top: 0; }
.price-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.price-chips span { display: grid; gap: 2px; padding: 10px 16px; border-radius: 14px; background: var(--bg-tint); }
.price-chips small { font-size: 12px; color: var(--primary); font-weight: 700; }
.price-chips b { font-size: 15px; color: var(--ink); }

/* --- 4. MONTHLY：毎月の診断 --- */
.monthly { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.monthly-track { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 34px 26px 28px; margin: 0; border-radius: var(--radius-l); background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; overflow: hidden; }
.monthly-track::before { content: ""; position: absolute; left: 40px; right: 40px; top: 47px; height: 2px; background: linear-gradient(90deg, var(--cyan), rgba(97, 207, 255, .15)); }
.monthly-track li { position: relative; display: grid; gap: 4px; align-content: start; }
.monthly-dot { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle, var(--cyan) 0 30%, rgba(97, 207, 255, .2) 32% 100%); border: 1.5px solid var(--cyan); margin-bottom: 10px; box-shadow: 0 0 18px rgba(97, 207, 255, .45); }
.monthly-track b { font-size: 15px; }
.monthly-track span:not(.monthly-dot) { font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.monthly-next .monthly-dot { background: var(--navy); border-style: dashed; box-shadow: none; }
.monthly-record { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.monthly-record .chip { justify-self: start; }
.monthly-record ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.monthly-record li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.monthly-record li .ico { color: var(--success); }
.monthly-record .small { line-height: 1.8; }

/* --- 7. MOBILE：スマホの見本 --- */
.phone-stage { position: relative; display: grid; place-items: center; padding: 40px 0; min-height: 460px; border-radius: var(--radius-xl); background: radial-gradient(400px 300px at 50% 40%, rgba(29, 92, 255, .18), transparent 70%), var(--bg-tint); }
.phone { position: relative; width: 236px; height: 470px; border-radius: 38px; padding: 12px; background: var(--navy); box-shadow: var(--shadow-l); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; border-radius: 0 0 12px 12px; background: var(--navy); z-index: 1; }
.phone-screen { height: 100%; border-radius: 28px; background: #fff; padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-app { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--primary); }
.phone-title { font-size: 17px; }
.phone-row { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.phone-row i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex: none; }
.phone-row.on { border-color: var(--primary-3); background: var(--bg-tint); }
.phone-row.on i { background: var(--success); box-shadow: 0 0 0 4px rgba(18, 183, 106, .18); }
.phone-row span { display: grid; }
.phone-row b { font-size: 13px; }
.phone-row small { font-size: 11px; color: var(--muted); }
.phone-btn { margin-top: auto; display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 12px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; }
.phone-stage .photo-chip { right: 5%; top: 14%; bottom: auto; }
.mobile-table { margin-top: 22px; }
.mobile-table .compare-table { min-width: 0; }
.compare-table td small, .compare-table th small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mobile-note { margin-top: 12px; line-height: 1.8; }

/* --- 9. PRICING：3つの選び方 --- */
.tri-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.tri-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.tri-tag { align-self: flex-start; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg-tint); color: var(--primary); }
.tri-card h3 { font-size: 21px; margin-top: 4px; }
.tri-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.tri-price b { font-family: "Inter", var(--font); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.tri-price span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.tri-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tri-lead { font-weight: 700; font-size: 15px; margin-top: 6px; }
.tri-list { list-style: none; display: grid; gap: 8px; padding: 0; }
.tri-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.tri-list li .ico { flex: none; margin-top: 4px; color: var(--success); }
.tri-note { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.tri-cta { margin-top: 6px; }
.tri-card.general { border-color: var(--primary-3); background: linear-gradient(180deg, #fff, var(--bg-tint)); box-shadow: var(--shadow); }
.tri-card.enterprise, .tri-card.dedicated { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: var(--navy-3); color: #fff; box-shadow: var(--shadow-l); }
.tri-card.dedicated { background: linear-gradient(170deg, #0b1d4a, var(--navy)); border-color: rgba(97, 207, 255, .45); }
.tri-card.enterprise .tri-tag, .tri-card.dedicated .tri-tag { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.tri-card.enterprise .tri-price span, .tri-card.dedicated .tri-price span, .tri-card.enterprise .tax, .tri-card.dedicated .tax, .tri-card.enterprise .tri-sub, .tri-card.dedicated .tri-sub { color: rgba(255, 255, 255, .7); }
.tri-card.enterprise .tri-list li, .tri-card.dedicated .tri-list li { color: rgba(255, 255, 255, .82); }
.tri-card.enterprise .tri-list .ico, .tri-card.dedicated .tri-list .ico { color: var(--cyan); }
.tri-card.enterprise .tri-note, .tri-card.dedicated .tri-note { color: rgba(255, 255, 255, .6); border-top-color: rgba(255, 255, 255, .18); }
.tri-card.enterprise .btn-soft, .tri-card.dedicated .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }

/* --- 料金ページ --- */
.plan-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; }
.plan-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan-grid-4 .plan-price, .plan-grid-3 .plan-price { font-size: 22px; line-height: 1.3; }
.plan-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.plan-card.enterprise .plan-sub, .plan-card.enterprise .tax { color: rgba(255, 255, 255, .62); }
.plan-card .plan-cta { margin-top: auto; padding-top: 12px; }
.credit-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.credit-card { display: grid; gap: 8px; padding: 26px; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-s); }
.credit-card .chip { justify-self: start; }
.credit-card b { font-size: 24px; letter-spacing: -.01em; }
.credit-card.granted b { color: #b45f06; }
.credit-card.purchased b { color: var(--primary); }
.credit-card p { color: var(--ink-2); font-size: 14.5px; }
.option-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
.option-card { display: grid; gap: 10px; }
.option-card h3 { margin: 4px 0 0; }
.option-card .btn { justify-self: start; }
.option-price { display: flex; align-items: baseline; gap: 6px; padding: 12px 16px; border-radius: 12px; background: var(--bg-tint); }
.option-price b { font-size: 22px; color: var(--primary); }
.option-price span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.price-table { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-group { padding: 22px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.price-group h3 { font-size: 15px; color: var(--primary); letter-spacing: .04em; }
.price-group dl { display: grid; margin: 10px 0 0; }
.price-group dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.price-group dt { font-weight: 700; font-size: 14.5px; display: grid; gap: 2px; }
.price-group dt small { font-weight: 400; font-size: 12px; color: var(--muted); line-height: 1.6; }
.price-group dd { margin: 0; text-align: right; font-weight: 800; font-size: 15px; white-space: nowrap; }
.price-group dd small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.price-table-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; line-height: 1.8; }
.price-table-note .ico { flex: none; margin-top: 3px; }

/* --- セキュリティ・診断・企業ページ --- */
.can-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; }
.can-list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); font-weight: 700; font-size: 15px; line-height: 1.6; }
.can-list .feature-ico { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.dark-panel { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-xl); display: grid; gap: 24px; }
.road { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0; }
.road li { position: relative; display: grid; gap: 6px; padding: 20px 18px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: #fff; }
.road li.now { border: 1px solid var(--primary-3); background: var(--bg-tint); }
.road-num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--line); color: var(--ink-2); }
.road li.now .road-num { background: var(--primary); color: #fff; }
.road b { font-size: 15px; }
.road small { font-size: 12.5px; color: var(--muted); }
.road li.now small { color: var(--primary); font-weight: 700; }
.cert-slot:empty { display: none; }
.method-card { position: relative; display: grid; gap: 8px; align-content: start; }
.method-card h3 { margin: 4px 0 0; }
.method-key { position: absolute; right: 20px; top: 14px; font-family: "Inter", var(--font); font-size: 44px; font-weight: 800; color: var(--bg-tint); }
.method-note { display: flex; gap: 6px; align-items: flex-start; padding-top: 10px; border-top: 1px solid var(--line); line-height: 1.7; }
.method-note .ico { flex: none; margin-top: 3px; }
.cond-list { list-style: none; display: grid; gap: 10px; padding: 22px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.cond-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.75; }
.cond-list .ico { flex: none; margin-top: 4px; color: var(--success); }
.rebuild-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; padding: clamp(26px, 3.6vw, 44px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--bg-tint), #f7fbff); border: 1px solid var(--line-2); }
.rebuild-offer p { color: var(--ink-2); line-height: 1.9; margin-bottom: 16px; max-width: 720px; }
.rebuild-offer .button-row { margin-top: 0; }
.dedicated-block { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-xl); background: radial-gradient(700px 360px at 0% 0%, rgba(0, 53, 195, .55), transparent 60%), var(--navy); color: #fff; }
.dedicated-copy p { color: rgba(255, 255, 255, .76); line-height: 1.9; margin-bottom: 16px; }
.dedicated-copy .tri-list li { color: rgba(255, 255, 255, .86); }
.dedicated-copy .tri-list .ico { color: var(--cyan); }
.dedicated-price { margin: 0; display: grid; gap: 0; align-content: start; padding: 24px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.dedicated-price > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dedicated-price dt { font-size: 14px; color: rgba(255, 255, 255, .7); }
.dedicated-price dd { margin: 0; font-size: 20px; font-weight: 800; text-align: right; }
.dedicated-price dd small { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.dedicated-price .total dd { font-size: 26px; color: var(--cyan); }
.dedicated-price p { font-size: 12.5px; color: rgba(255, 255, 255, .6); margin: 12px 0 16px; }
.dedicated-price .btn { justify-self: start; }

/* --- お問い合わせ：入口と種類ごとの項目 --- */
.contact-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 24px; }
.contact-entry { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: border-color .2s, transform .2s; }
.contact-entry:hover { border-color: var(--primary-3); transform: translateY(-2px); }
.contact-entry .chip { justify-self: start; }
.contact-entry b { font-size: 16px; }
.contact-entry p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.topic-fields { display: grid; gap: 14px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); min-width: 0; }
.topic-fields legend { padding: 0 6px; font-weight: 800; font-size: 14px; }
.field { display: grid; gap: 8px; }
.field-label { font-weight: 700; font-size: 14px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.form-grid label.radio, .form-grid label.check { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.form-grid label.radio { padding: 9px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; }
.form-grid label.radio:has(input:checked) { border-color: var(--primary-2); background: var(--bg-tint); color: var(--primary); }
.form-grid label.radio input, .form-grid label.check input { width: auto; margin: 3px 0 0; accent-color: var(--primary-2); }
.form-warn { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fff8ea; border: 1px solid #ffe2b0; color: #7a4a00 !important; line-height: 1.75; }
.form-warn .ico { flex: none; margin-top: 4px; }
.final-lead { margin-top: 16px; max-width: 640px; color: rgba(255, 255, 255, .78); line-height: 1.9; }

@media (max-width: 1100px) {
  .audit-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audit-step + .audit-step::before { display: none; }
  .plan-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .env-strip { grid-template-columns: 1fr 1fr; }
  .env-strip-head { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .reason-grid, .tri-grid, .price-table, .contact-entries, .can-list { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; }
  .ba-side.before { border-right: 1px solid var(--line); border-radius: var(--radius-l) var(--radius-l) 0 0; }
  .ba-side.after { border-left: 1px solid var(--navy-3); border-radius: 0 0 var(--radius-l) var(--radius-l); }
  .ba-core { background: linear-gradient(180deg, var(--bg-soft), var(--navy-2)); padding: 34px 10px; }
  .monthly, .option-grid, .credit-pair, .rebuild-offer, .dedicated-block, .plan-grid-2 { grid-template-columns: 1fr; }
  .monthly-track { grid-template-columns: 1fr; gap: 16px; }
  .monthly-track::before { left: 39px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; background: linear-gradient(180deg, var(--cyan), rgba(97, 207, 255, .15)); }
  .monthly-track li { grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; }
  .monthly-dot { grid-row: span 2; margin: 0; }
  .env-strip { grid-template-columns: 1fr; }
  .rebuild-foot { flex-direction: column; align-items: flex-start; }
  .phone-stage { min-height: 400px; }
}
@media (max-width: 560px) {
  .audit-flow, .plan-grid-4, .plan-grid-3, .road { grid-template-columns: 1fr; }
  .reason-num { font-size: 64px; }
  .price-group dl > div { flex-direction: column; gap: 4px; }
  .price-group dd { text-align: left; white-space: normal; }
  .dedicated-price > div { flex-direction: column; gap: 2px; }
  .dedicated-price dd { text-align: left; }
}

/* =====================================================================
   導入支援・研修：国の助成金（VALLEYIN AI研修・リスキリングより抜粋）
   ===================================================================== */
.gov-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 28px; border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gov-visual { position: relative; margin: 0; min-height: 360px; }
.gov-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gov-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5, 9, 20, .55)); }
.gov-visual figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 1; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.gov-body { display: grid; gap: 14px; align-content: center; padding: clamp(26px, 3.4vw, 48px); }
.gov-body h3 { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.45; }
.gov-body p { color: var(--ink-2); font-size: 15px; line-height: 1.95; }
.gov-body .small { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.gov-logo { display: grid; gap: 10px; justify-items: start; max-width: 300px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.gov-logo img { height: 40px; width: auto; }
.gov-logo span { font-size: 13px; color: var(--ink-2); }
.gov-facts { margin-top: 20px; }
.gov-facts dd { color: var(--ink-2); }
.gov-flow-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 28px; }
.gov-flow-head b { font-size: 17px; }
.gov-flow-head span { font-size: 13.5px; color: var(--muted); }
.gov-flow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding: 0; }
.gov-flow li { display: grid; gap: 6px; align-content: start; padding: 18px 16px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.gov-flow span { font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--primary-2); }
.gov-flow b { font-size: 15px; }
.gov-flow small { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 1100px) { .gov-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .gov-panel { grid-template-columns: 1fr; }
  .gov-visual { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .gov-flow { grid-template-columns: 1fr; } }
.gov-flow + .button-row + .small { margin-top: 20px; }
.gov-price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gov-price > div { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.gov-price > div.back { background: var(--bg-tint); border-color: var(--primary-3); }
.gov-price small { font-size: 12px; font-weight: 700; color: var(--muted); }
.gov-price .back small { color: var(--primary); }
.gov-price b { font-family: "Inter", var(--font); font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.gov-price .back b { color: var(--primary); }
.gov-price span { font-size: 12px; color: var(--ink-2); }
.gov-price i { font-style: normal; color: var(--primary-2); font-weight: 800; }

/* =====================================================================
   /audit — 情報流出の訴求から入るファーストビュー
   ===================================================================== */
.audit-page main { padding-top: 0; }
.audit-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 56px) 0 0; background: radial-gradient(900px 520px at 85% 10%, rgba(230, 40, 40, .28), transparent 60%), radial-gradient(900px 500px at 10% 100%, rgba(0, 53, 195, .45), transparent 60%), var(--navy); }
.audit-hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(97, 207, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(97, 207, 255, .06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 30%, black 20%, transparent 75%); pointer-events: none; }
.audit-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-bottom: clamp(48px, 6vw, 80px); }
.audit-hero .breadcrumb { color: rgba(255, 255, 255, .6); }
.audit-hero .breadcrumb a { color: rgba(255, 255, 255, .8); }
.audit-kicker { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: #ff8a8a; }
.audit-kicker .pulse { background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .6); }
.audit-hero h1 { margin-top: 16px; font-size: clamp(30px, 4.2vw, 54px); font-weight: 900; line-height: 1.22; letter-spacing: -.02em; }
.audit-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.audit-hero-copy > p { margin-top: 20px; max-width: 620px; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.95; }
.audit-hero .button-row { margin-top: 28px; }
.audit-hud { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.audit-hud li { display: grid; gap: 2px; }
.audit-hud span { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: rgba(255, 255, 255, .5); }
.audit-hud b { font-size: 15px; color: var(--cyan); }
.audit-hud small { font-size: 11.5px; color: rgba(255, 255, 255, .55); }

/* ニュースの切り抜き風バナー（画像は使わずHTMLで組む） */
.news-wall { position: relative; display: grid; gap: 14px; }
.news-clip { position: relative; display: grid; gap: 8px; padding: 20px 22px; border-radius: 6px; background: #fbfaf6; color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); }
.news-clip::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .018) 3px 4px); pointer-events: none; }
.news-clip.main { transform: rotate(-1.6deg); border-left: 6px solid #e02424; transition: transform .3s var(--ease); }
.news-clip.main:hover { transform: rotate(-.6deg) translateY(-2px); }
.news-clip.main b { font-size: clamp(20px, 2.1vw, 27px); font-weight: 900; line-height: 1.35; letter-spacing: -.01em; }
.news-clip.main b, .news-clip.big b { color: #111; }
.news-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 10px; border-radius: 3px; background: #e02424; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.news-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: news-blink 1.2s ease-in-out infinite; }
.news-tag.warn { background: #f59e0b; color: #1b1300; }
.news-tag.warn i { background: #1b1300; }
@keyframes news-blink { 50% { opacity: .2; } }
.news-sub { font-size: 13.5px; font-weight: 700; color: #3b3b3b; line-height: 1.6; }
.news-clip small { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #6b6b6b; }
.news-clip.big { margin-left: 8%; transform: rotate(1.2deg); padding: 18px 24px 14px; background: #fffef8; border-top: 4px solid #111; }
.news-clip.big span { font-size: clamp(18px, 1.8vw, 24px); font-weight: 900; color: #222; }
.news-clip.big b { font-size: clamp(38px, 4.4vw, 60px); font-weight: 900; line-height: 1.05; color: #e02424; letter-spacing: -.02em; }
.news-clip.alert { margin-right: 6%; transform: rotate(-.6deg); background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); box-shadow: none; }
.news-clip.alert::before { display: none; }
.news-clip.alert b { font-size: 17px; }
.news-clip.alert .news-sub { color: rgba(255, 255, 255, .72); font-weight: 600; }
.news-ticker { position: relative; overflow: hidden; background: #e02424; color: #fff; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.news-ticker-track { display: flex; gap: 34px; width: max-content; padding: 12px 0; animation: marquee 36s linear infinite; }
.news-ticker-track span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: .04em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .news-ticker-track, .news-tag i { animation: none; } }

/* 社会問題 / できること */
.risk-card { display: grid; gap: 8px; align-content: start; border-top: 3px solid #e02424; }
.risk-card h3 { margin: 8px 0 0; }
.risk-ico { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: #fdecec; color: #c81e1e; }
.audit-values { padding: clamp(80px, 9vw, 120px) 0; }
.audit-values .reason-grid { margin-top: 8px; }
.evolve { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding: 18px 22px; border-radius: var(--radius-l); border: 1.5px dashed rgba(97, 207, 255, .45); background: rgba(0, 53, 195, .14); }
.evolve-step { display: grid; gap: 2px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.evolve-step b { font-size: 15px; color: #fff; }
.evolve-step small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255, 255, 255, .65); }
.evolve-step.loop { background: linear-gradient(135deg, rgba(0, 53, 195, .7), rgba(97, 207, 255, .35)); }
.evolve > i { color: var(--cyan); display: inline-flex; }

@media (max-width: 1000px) {
  .audit-hero-grid { grid-template-columns: 1fr; }
  .news-wall { max-width: 560px; }
}
@media (max-width: 560px) {
  .audit-hud { grid-template-columns: 1fr; }
  .news-clip.big, .news-clip.alert { margin: 0; }
  .evolve > i { display: none; }
}

/* --- /audit：ニュース画像・写真・作り直しのイラスト --- */
.news-wall { grid-template-columns: minmax(0, 1fr); }
.news-photo { position: relative; margin: 0; border-radius: 8px; overflow: hidden; transform: rotate(1.4deg); border: 6px solid #fbfaf6; box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .7); }
.news-photo img { display: block; width: 100%; height: auto; }
.news-photo-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 3px; background: #e02424; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.news-photo-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: news-blink 1.2s ease-in-out infinite; }
.news-photo figcaption { position: absolute; left: 12px; top: 40px; padding: 3px 8px; border-radius: 3px; background: rgba(0, 0, 0, .62); color: rgba(255, 255, 255, .88); font-size: 10.5px; }
.news-wall .news-clip.main { margin: -46px 0 0 -18px; width: 86%; z-index: 1; }
.news-wall .news-clip.alert { margin: 0 0 0 auto; width: 82%; }

.reason.has-photo { padding-top: 0; }
.reason-photo { margin: 0 -28px 18px; aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.reason-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.reason.has-photo:hover .reason-photo img { transform: scale(1.05); }
.reason.has-photo .reason-num { top: auto; bottom: 14px; opacity: .7; }
.reason.has-photo .pillar-ico { margin-top: -42px; position: relative; box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .6); }

.rb-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; counter-reset: none; }
.rb-step { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 20px 24px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.rb-step + .rb-step::before { content: ""; position: absolute; left: -16px; top: 84px; width: 16px; height: 2px; background: var(--line-2); }
.rb-art { display: grid; place-items: center; height: 150px; border-radius: var(--radius); background: var(--bg-soft); color: var(--ink-2); }
.rb-step.red .rb-art { background: #fff4f2; color: #5b4743; }
.rb-step.acc .rb-art { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: rgba(255, 255, 255, .78); }
.ra-art { width: 88%; max-width: 230px; height: auto; }
.ra-art .ra-red { stroke: #e02424; }
.ra-art .ra-acc { stroke: var(--cyan); color: var(--cyan); }
.rb-step:not(.acc) .ra-art .ra-acc { stroke: var(--primary-2); color: var(--primary-2); }
.rb-num { margin-top: 6px; font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--primary-2); }
.rb-step.red .rb-num { color: #c81e1e; }
.rb-step h3 { font-size: 17px; line-height: 1.5; }
.rb-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

.ba-visual { display: grid; grid-template-columns: minmax(0, .85fr) auto minmax(0, 1.25fr); gap: 18px; align-items: center; margin-top: 36px; }
.ba-card { position: relative; margin: 0; display: grid; gap: 14px; padding: 22px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.ba-card.before { background: #fffaf9; border-color: #f5d0cc; }
.ba-card.after { border-color: var(--primary-3); box-shadow: var(--shadow); }
.ba-tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .1em; background: #fdecec; color: #c81e1e; }
.ba-tag.ok { background: var(--bg-tint); color: var(--primary); }
.ba-card-art { display: grid; place-items: center; padding: 10px 0; color: #5b4743; }
.ba-card-art .ra-art { max-width: 300px; width: 100%; }
.ba-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.ba-shot img { display: block; width: 100%; height: auto; }
.ba-card figcaption { display: grid; gap: 6px; }
.ba-card figcaption b { font-size: 16px; }
.ba-card figcaption span { font-size: 13.5px; color: var(--ink-2); }
.ba-card figcaption ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.ba-card figcaption li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.ba-card figcaption li .ico { color: var(--success); }
.ba-arrow { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ba-arrow span { display: inline-flex; width: 58px; height: 58px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--cyan-2)); color: #fff; box-shadow: 0 10px 28px -6px rgba(0, 53, 195, .55); }
.ba-arrow small { font-size: 12px; font-weight: 700; color: var(--primary); line-height: 1.5; }

@media (max-width: 1100px) {
  .rb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-step + .rb-step::before { display: none; }
}
@media (max-width: 1000px) {
  .news-wall .news-clip.main { margin: -30px 0 0 0; width: 92%; }
}
@media (max-width: 860px) {
  .ba-visual { grid-template-columns: 1fr; }
  .ba-arrow small br { display: none; }
}
@media (max-width: 560px) {
  .rb-steps { grid-template-columns: 1fr; }
  .news-wall .news-clip.main, .news-wall .news-clip.alert { width: 100%; margin-left: 0; }
}

/* =====================================================================
   /security（社会問題とReactorの守り） ／ /audit（診断と作り直しのサービス）
   ===================================================================== */
/* --- /security ファーストビュー：脅威 → AIの守り の合成写真を全面に --- */
.sec-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 72% 44%, #0c2742 0%, #071426 45%, #04080f 100%); min-height: min(880px, 100vh); display: grid; align-items: center; padding: calc(var(--header-h) + 48px) 0 96px; }

/* 攻撃マップ（世界中から日本へ） */
.sec-hero-map { position: absolute; inset: -5% 0 -7%; }
.sec-hero-map .am { width: 100%; height: 100%; display: block; }
.am-land path, .am-land use { stroke: rgba(126, 182, 232, .34); stroke-width: 1.15; }
.am-arcs .am-base { stroke: rgba(120, 206, 255, .2); stroke-width: .5; }
.am-arcs .am-run { stroke: #7fe4ff; stroke-width: .9; stroke-dasharray: 9 100; stroke-dashoffset: 109; filter: drop-shadow(0 0 2px rgba(110, 226, 255, .9)); animation: amRun var(--dur, 3s) linear infinite; animation-delay: var(--d, 0s); }
@keyframes amRun { from { stroke-dashoffset: 109; } to { stroke-dashoffset: 0; } }
.am-src-dot { fill: #ff4d63; }
.am-src-ring { fill: none; stroke: rgba(255, 90, 110, .85); stroke-width: .5; transform-origin: center; animation: amSrc 2.8s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes amSrc { 0% { transform: scale(.3); opacity: .9; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
.am-blip { fill: #ff4d63; animation: amBlip 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes amBlip { 0%, 60%, 100% { opacity: .15; } 30% { opacity: .95; } }
.am-target .am-core { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 90, 110, .95)); }
.am-target .am-cross { stroke: rgba(255, 120, 136, .9); stroke-width: 1; stroke-linecap: round; }
.am-ping { fill: none; stroke: #ff5a6e; stroke-width: .8; transform-origin: center; animation: amPing 3.3s cubic-bezier(.2, .7, .3, 1) infinite; animation-delay: var(--d, 0s); }
@keyframes amPing { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(5.2); opacity: 0; } }
.am-tag rect { fill: rgba(16, 6, 12, .72); stroke: rgba(255, 92, 112, .9); stroke-width: .45; }
.am-lead { fill: none; stroke: rgba(255, 120, 136, .85); stroke-width: .45; }
.am-orbit { fill: none; stroke: rgba(255, 120, 136, .55); stroke-width: .45; stroke-dasharray: 2.2 2.6; transform-origin: center; animation: amOrbit 14s linear infinite; }
@keyframes amOrbit { to { transform: rotate(360deg); } }
.am-tag text { fill: #ffd5db; font: 700 4.4px/1 "Inter", var(--font); letter-spacing: .26em; text-anchor: middle; }
.sec-hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 8, 16, .93) 0%, rgba(4, 8, 16, .8) 36%, rgba(4, 8, 16, .3) 64%, rgba(4, 8, 16, .1) 100%), linear-gradient(0deg, rgba(4, 8, 16, .92), transparent 34%), radial-gradient(130% 80% at 50% 50%, transparent 55%, rgba(2, 5, 11, .75) 100%); }
.sec-hero-over { position: relative; margin-top: 14px; font-size: clamp(13px, 1.5vw, 15px); font-weight: 800; letter-spacing: .3em; color: #ff8795; text-transform: none; }
.sec-hero-note { position: absolute; left: max(20px, calc((100% - 1200px) / 2)); bottom: 22px; margin: 0; display: inline-flex; align-items: center; gap: 7px; max-width: min(560px, 86vw); color: rgba(255, 255, 255, .5); font-size: 11.5px; line-height: 1.5; }
.sec-hero-note .ico { color: var(--cyan); flex: none; }
@media (prefers-reduced-motion: reduce) {
  .am-run { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; stroke-width: .55; opacity: .5; }
  .am-src-ring, .am-ping, .am-blip, .am-orbit { animation: none; }
  .am-src-ring { display: none; }
  .am-ping { opacity: .25; }
  .am-blip { opacity: .55; }
}

.sec-hero-inner { position: relative; max-width: 1200px; }
.sec-hero .breadcrumb { color: rgba(255, 255, 255, .6); }
.sec-hero .breadcrumb a { color: rgba(255, 255, 255, .8); }
.sec-hero h1 { margin-top: 16px; max-width: 760px; font-size: clamp(32px, 4.6vw, 62px); font-weight: 900; line-height: 1.18; letter-spacing: -.02em; }
.sec-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-hero-inner > p { margin-top: 20px; max-width: 600px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.95; }
.sec-hero .button-row { margin-top: 28px; }
.sec-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; }
.sec-hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(97, 207, 255, .35); font-size: 13.5px; font-weight: 700; backdrop-filter: blur(8px); }
.sec-hero-chips .ico { color: var(--cyan); }

.sec-news { position: relative; margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); border: 6px solid #fff; }
.sec-news img { display: block; width: 100%; height: auto; }
.sec-news figcaption { position: absolute; left: 12px; bottom: 12px; }
.sec-news figcaption a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 4px; background: rgba(0, 0, 0, .65); color: rgba(255, 255, 255, .9); font-size: 11px; }
.feature-ico.risk { background: #fdecec; color: #c81e1e; }
.sec-statement { position: relative; margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-xl); overflow: hidden; min-height: 260px; display: grid; align-items: center; }
.sec-statement img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.sec-statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 20, .9), rgba(5, 9, 20, .55) 60%, rgba(5, 9, 20, .3)); }
.sec-statement p { position: relative; z-index: 1; display: grid; gap: 6px; padding: clamp(28px, 4vw, 56px); color: #fff; }
.sec-statement span { font-size: clamp(18px, 2vw, 24px); font-weight: 700; color: rgba(255, 255, 255, .82); }
.sec-statement b { font-size: clamp(24px, 3.2vw, 42px); font-weight: 900; line-height: 1.3; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-answer { padding: clamp(80px, 9vw, 120px) 0; }

.sec-evolve-head { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sec-evolve-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--navy-3), var(--navy)); color: rgba(255, 255, 255, .75); box-shadow: 0 0 0 10px rgba(29, 92, 255, .08), var(--shadow-l); }
.sec-evolve-art .ra-art { width: 80%; }
.sec-evolve-art .ra-acc { stroke: var(--cyan); color: var(--cyan); }
.evolve-loop { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; margin: 36px 0 28px; padding: 0; align-items: stretch; }
.evolve-loop li { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.evolve-n { font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; color: var(--primary-2); letter-spacing: .1em; }
.evolve-ico { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--primary); }
.evolve-loop b { font-size: 15px; line-height: 1.5; }
.evolve-loop small { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.evolve-loop .evolve-back { justify-items: center; align-content: center; text-align: center; background: linear-gradient(160deg, var(--primary), var(--cyan-2)); color: #fff; border: 0; }
.evolve-loop .evolve-back small { color: rgba(255, 255, 255, .9); font-weight: 700; }

.env-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.env-card { border-radius: var(--radius-l); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.env-card figure { position: relative; margin: 0; aspect-ratio: 16 / 8; overflow: hidden; }
.env-card figure img { width: 100%; height: 100%; object-fit: cover; }
.env-card figure .chip { position: absolute; left: 14px; top: 14px; }
.env-card-body { padding: 22px 24px 24px; }
.env-card-body h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 8px; }
.env-card-body h3 .ico { color: var(--primary); }
.env-card-body > p { color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.env-card-body .small { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* --- /audit ファーストビュー：いま → AI → 同じ機能・最新 --- */
.audit-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.2fr); align-items: center; gap: 0; }
.av-card { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: var(--radius); }
.av-card.before { background: #fff7f6; color: #5b4743; transform: rotate(-2deg); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); }
.av-card.after { background: #fff; transform: rotate(1.5deg); box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .7), 0 0 0 2px rgba(97, 207, 255, .5); }
.av-art .ra-art { width: 100%; max-width: none; }
.av-shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.av-shot img { display: block; width: 100%; height: auto; }
.av-core { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; z-index: 1; }
.av-ring { position: absolute; top: -8px; width: 88px; height: 88px; border-radius: 50%; border: 1.5px solid rgba(97, 207, 255, .55); box-shadow: 0 0 40px rgba(29, 92, 255, .5); animation: ba-pulse 3.6s ease-in-out infinite; left: 50%; transform: translateX(-50%); }
.av-core-ico { position: relative; display: inline-flex; width: 72px; height: 72px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--cyan-2)); color: #fff; box-shadow: 0 10px 30px -6px rgba(0, 53, 195, .7); }
.av-core b { margin-top: 8px; font-size: 13px; color: #fff; }
.av-core small { font-size: 11px; color: rgba(255, 255, 255, .7); }
.av-news { grid-column: 1 / -1; justify-self: start; margin-top: 26px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; border-radius: 10px; background: rgba(224, 36, 36, .14); border: 1px solid rgba(255, 120, 120, .35); color: #ffd2d2; font-size: 13px; font-weight: 700; }
.av-news span { display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.news-ticker.blue { background: linear-gradient(90deg, var(--primary), #0b4fd9); }

.report-card { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.report-card b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.report-card b .ico { color: var(--primary); }
.report-card ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 12px; padding: 0; }
.report-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.report-card li .ico { flex: none; margin-top: 3px; color: var(--success); }
#diagnose .price-chips { margin-top: 16px; }

.decide-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; margin-top: 36px; }
.decide-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.decide-card.featured { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-color: var(--navy-3); box-shadow: var(--shadow-l); }
.decide-card h3 { font-size: 21px; line-height: 1.45; }
.decide-card p { color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.decide-card.featured p { color: rgba(255, 255, 255, .78); }
.decide-card .btn { justify-self: start; margin-top: 6px; }
.decide-tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 12.5px; font-weight: 800; }
.decide-card.featured .decide-tag { background: rgba(97, 207, 255, .16); color: var(--cyan); }

@media (max-width: 1100px) {
  .evolve-loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .audit-visual { max-width: 620px; }
}
@media (max-width: 860px) {
  .sec-evolve-head, .env-cards, .decide-grid { grid-template-columns: 1fr; }
  .sec-evolve-art { width: 200px; }
  .report-card ul { grid-template-columns: 1fr; }
  .sec-hero-veil { background: linear-gradient(0deg, rgba(4, 8, 16, .96) 36%, rgba(4, 8, 16, .5)), radial-gradient(120% 70% at 62% 44%, transparent 40%, rgba(2, 5, 11, .8) 100%); }
  .sec-hero-map { inset: -2% -10% 6% -10%; }
  .sec-hero-note { position: static; margin: 26px auto 0; left: auto; right: auto; }
}
@media (max-width: 560px) {
  .evolve-loop { grid-template-columns: 1fr; }
  .audit-visual { grid-template-columns: 1fr; gap: 14px; }
  .av-core { order: 0; }
}

/* /audit：ファーストビューの図を大きく、光の輪をアイコンの中心に */
#audit-hero .audit-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
#audit-hero h1 { font-size: clamp(30px, 3.7vw, 50px); }
.audit-visual { grid-template-columns: minmax(0, .8fr) 96px minmax(0, 1.35fr); }
.av-ring { top: 36px; transform: translate(-50%, -50%); }
@media (max-width: 1000px) { #audit-hero .audit-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .audit-visual { grid-template-columns: 1fr; } }

/* 新ロゴ（06 blue）：フッターは縦組みロゴ＋タグライン */
.footer-brand .brand img.footer-lockup { height: 100px; width: auto; }
@media (max-width: 1100px) { .footer-brand .brand img.footer-lockup { height: 88px; } }
.desktop-nav a { white-space: nowrap; }
@media (max-width: 560px) { .brand-logo { height: 26px; } }

/* =====================================================================
   HEADER — メガメニュー（プロダクト／セキュリティ／導入・料金）
   ===================================================================== */
.brand-logo { height: 36px; width: auto; }
.nav-wrap { gap: 40px; }
.mega-nav { margin-left: 0; }
.mega-root { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.mega-item { position: static; }
.mega-trigger { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .78); transition: color .2s, background .2s; }
.mega-trigger .ico { opacity: .6; transition: transform .25s var(--ease), opacity .2s; }
.mega-trigger:hover, .mega-item.open .mega-trigger { color: #fff; background: rgba(255, 255, 255, .07); }
.mega-item.open .mega-trigger .ico { transform: rotate(180deg); opacity: 1; }
.mega-trigger.is-active { color: #fff; }
.mega-trigger.is-active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); margin-left: 2px; }
.mega-trigger:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.mega-panel { position: absolute; left: 0; right: 0; top: var(--header-h); background: #070c1a; backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(97, 207, 255, .14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.mega-panel:not([hidden]) { animation: mega-in .22s var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { width: min(1280px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 36px; padding: 30px 0 34px; align-items: start; }
.mega-lead p { margin-top: 12px; font-size: 15px; line-height: 1.8; font-weight: 700; color: rgba(255, 255, 255, .88); }
.mega-links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 0; padding: 0; }
.mega-links a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; transition: background .2s; }
.mega-links a:hover, .mega-links a:focus-visible { background: rgba(255, 255, 255, .06); }
.mega-links a[aria-current="page"] { background: rgba(29, 92, 255, .16); }
.mega-ico { flex: none; display: inline-flex; width: 38px; height: 38px; border-radius: 11px; align-items: center; justify-content: center; background: rgba(97, 207, 255, .1); border: 1px solid rgba(97, 207, 255, .2); color: var(--cyan); }
.mega-text { display: grid; gap: 3px; }
.mega-text b { font-size: 15px; color: #fff; }
.mega-text small { font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .58); }
.mega-feature { display: grid; gap: 6px; padding: 10px 10px 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, transform .2s; }
.mega-feature:hover { border-color: rgba(97, 207, 255, .45); transform: translateY(-2px); }
.mega-feature-img { display: block; aspect-ratio: 16 / 8; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.mega-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.mega-feature-tag { padding: 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--cyan); }
.mega-feature b { padding: 0 6px; font-size: 15px; color: #fff; line-height: 1.5; }
.mega-feature small { padding: 0 6px; font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.6; }
.mega-feature-go { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 0; font-size: 13px; font-weight: 700; color: #a5f7ff; }
.mega-scrim { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(5, 9, 20, .45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: -1; }
.site-header.mega-open .mega-scrim { opacity: 1; }
.site-header.mega-open { background: rgba(7, 12, 26, .97); }

/* モバイル：グループ見出しつきのメニュー */
.mobile-group { display: grid; gap: 0; margin-bottom: 14px; }
.mobile-group-label { padding: 8px 10px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--cyan); }
.mobile-menu .mobile-group a { display: flex; justify-content: space-between; align-items: center; padding: 13px 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 600; color: #fff; }
.mobile-menu .mobile-group a span { display: inline-flex; align-items: center; gap: 10px; }
.mobile-menu .mobile-group a span .ico { color: var(--cyan); }
.mobile-menu { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }

@media (max-width: 1240px) {
  .mega-inner { grid-template-columns: minmax(0, 1fr) 260px; }
  .mega-lead { display: none; }
}
@media (max-width: 560px) { .brand-logo { height: 28px; } }
@media (prefers-reduced-motion: reduce) { .mega-panel:not([hidden]) { animation: none; } }
.mobile-menu { background: #070c1a; }

/* =====================================================================
   Reactor-mini / Reactor 1.0 の二製品構成（docs/reactor_tier_spec.md）
   ===================================================================== */
.mega-link { text-decoration: none; }
.fv-hero-copy h1.fv-h1-tier { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.22; }

.tier-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.tier-card { display: flex; flex-direction: column; gap: 12px; padding: 34px 30px 30px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-tint)); box-shadow: var(--shadow); }
.tier-tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg-tint); color: var(--primary); }
.tier-card h3 { font-family: "Inter", var(--font); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.tier-lead { font-weight: 700; font-size: 16px; }
.tier-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier-price b { font-family: "Inter", var(--font); font-size: 26px; font-weight: 800; }
.tier-price small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tier-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.75; margin-top: auto; }
.tier-note .ico { flex: none; margin-top: 4px; }
.tier-card .button-row { margin-top: 6px; }
.tier-card.r1 { background: radial-gradient(520px 300px at 100% 0%, rgba(97, 207, 255, .18), transparent 60%), linear-gradient(170deg, var(--navy-3), var(--navy)); border-color: rgba(97, 207, 255, .4); color: #fff; box-shadow: var(--shadow-l); }
.tier-card.r1 .tier-tag { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.tier-card.r1 .tier-price { border-color: rgba(255, 255, 255, .16); }
.tier-card.r1 .tier-price small, .tier-card.r1 .tax, .tier-card.r1 .tier-note { color: rgba(255, 255, 255, .66); }
.tier-card.r1 .tri-list li { color: rgba(255, 255, 255, .84); }
.tier-card.r1 .tri-list .ico { color: var(--cyan); }
.tier-card.r1 .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }

/* 審査制の理由（Reactor 1.0 の能力） */
.r1-power { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; color: #fff; }
.page-body .r1-power, .content-section > .r1-power { padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl); background: radial-gradient(800px 400px at 0% 0%, rgba(0, 53, 195, .55), transparent 60%), var(--navy); }
.r1-power-core { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.r1-power-core b { position: relative; font-family: "Inter", var(--font); font-size: clamp(56px, 8vw, 96px); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(120deg, #a5f7ff, #4f9dff 60%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r1-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(97, 207, 255, .35); animation: r1-spin 18s linear infinite; }
.r1-ring.a { border-top-color: var(--cyan); box-shadow: 0 0 40px rgba(97, 207, 255, .25) inset; }
.r1-ring.b { inset: 12%; border-right-color: #ff7a45; animation-duration: 11s; animation-direction: reverse; }
.r1-ring.c { inset: 26%; border-color: rgba(255, 255, 255, .14); border-bottom-color: var(--cyan); animation-duration: 7s; }
@keyframes r1-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .r1-ring { animation: none; } }
.r1-power-copy h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.25; margin: 12px 0 18px; color: #fff; }
.r1-power-lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: #fff; line-height: 1.7; margin-bottom: 12px; }
.r1-power-copy > p { color: rgba(255, 255, 255, .78); line-height: 1.9; }
.r1-power-points { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.r1-power-points li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.r1-power-points b { display: block; font-size: 14.5px; }
.r1-power-points small { display: block; color: rgba(255, 255, 255, .66); font-size: 12.5px; line-height: 1.65; margin-top: 2px; }
.r1-power-points .pillar-ico { flex: none; }

/* Reactor-mini のアプリも、診断は Reactor 1.0 */
.r1-shield { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.r1-shield-diagram { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.r1s-node { padding: 22px 18px; border-radius: var(--radius-l); text-align: center; display: grid; gap: 4px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-s); }
.r1s-node small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.r1s-node b { font-family: "Inter", var(--font); font-size: 20px; font-weight: 800; }
.r1s-node span { font-size: 12.5px; color: var(--ink-2); }
.r1s-node.r1 { background: linear-gradient(170deg, var(--navy-3), var(--navy)); border-color: rgba(97, 207, 255, .45); color: #fff; box-shadow: var(--shadow-l); }
.r1s-node.r1 small, .r1s-node.r1 span { color: rgba(255, 255, 255, .72); }
.r1s-arrow { display: grid; justify-items: center; gap: 4px; color: var(--primary-2); }
.r1s-arrow small { font-size: 11px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.r1-shield-copy .h2 { margin: 10px 0 14px; }
.r1-shield-copy p { line-height: 1.9; color: var(--ink-2); }
.r1-shield-copy p.small { color: var(--muted); margin-top: 10px; }

/* 漏えいが心配なシステムを Reactor 1.0 で作り直す */
.r1-rescue { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); color: #fff; background: radial-gradient(600px 300px at 100% 100%, rgba(255, 122, 69, .22), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-3)); }
.r1-rescue > div:first-child { max-width: 720px; }
.r1-rescue .h2 { margin: 10px 0 12px; color: #fff; }
.r1-rescue p { color: rgba(255, 255, 255, .8); line-height: 1.9; }
.r1-rescue p.small { color: rgba(255, 255, 255, .6); margin-top: 8px; }

/* 提供までの5段階 */
.r1-flow { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.r1-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.r1-flow li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--primary-3); border-right: 2px solid var(--primary-3); transform: translateY(-50%) rotate(45deg); }
.r1-flow-n { font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; color: var(--primary-2); letter-spacing: .08em; }
.r1-flow-ico { color: var(--primary); }
.r1-flow b { font-size: 15px; }
.r1-flow small { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.r1-trust { display: flex; gap: 10px; align-items: center; padding: 16px 20px; border-radius: var(--radius); background: var(--bg-tint); color: var(--primary); font-weight: 700; }
.r1-trust .ico { flex: none; }
.r1-oblig > div { grid-template-columns: 240px minmax(0, 1fr); }

/* Reactor-mini：3ステップ・規約の要点・登録 */
.mini-steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-steps li { position: relative; display: grid; gap: 8px; align-content: start; padding: 26px 22px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.mini-step-n { position: absolute; top: 14px; right: 20px; font-family: "Inter", var(--font); font-size: 40px; font-weight: 800; color: var(--bg-tint); }
.mini-steps b { font-size: 17px; }
.mini-steps p { font-size: 14px; color: var(--muted); }
.rule-box { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border-radius: var(--radius-l); background: #fff8ea; border: 1px solid #ffe2b0; color: #5c3900; }
.rule-box b { font-size: 17px; }
.rule-box p { margin: 6px 0; line-height: 1.85; }
.rule-box .pillar-ico { flex: none; }
.consent-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.consent-list li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; font-size: 14.5px; line-height: 1.7; }
.consent-list .ico { flex: none; margin-top: 3px; color: var(--success); }
.plan-grid-1 { display: grid; grid-template-columns: minmax(0, 460px); gap: 16px; }
.plan-product { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--primary-2); }
.plan-card.enterprise .plan-product { color: var(--cyan); }
.token-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; }
.token-note .ico { flex: none; margin-top: 4px; }
.signup-box { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 24px 0; }
.signup-box > div { display: grid; gap: 12px; align-content: start; }
.signup-box label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 14.5px; }
.signup-box label.check input { margin-top: 4px; accent-color: var(--primary-2); width: 18px; height: 18px; flex: none; }
.signup-box .btn { justify-self: start; }
.btn.is-disabled { opacity: .45; filter: grayscale(.4); cursor: not-allowed; }
.signup-price { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start; }
.signup-price > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.signup-price > div:last-child { border-bottom: 0; }
.signup-price dt { font-weight: 700; font-size: 14px; color: var(--muted); }
.signup-price dd { margin: 0; font-weight: 800; text-align: right; }
.form-grid .req { margin-left: 8px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #ffe9e2; color: #b4381a; vertical-align: 1px; }
.form-grid fieldset.topic-fields { display: grid; gap: 14px; }

@media (max-width: 1100px) {
  .r1-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r1-flow li:nth-child(3)::after { display: none; }
}
@media (max-width: 860px) {
  .tier-grid, .r1-power, .r1-shield, .signup-box, .mini-steps { grid-template-columns: 1fr; }
  .r1-power-core { max-width: 240px; }
  .r1-power-points { grid-template-columns: 1fr; }
  .r1-oblig > div { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .r1-flow { grid-template-columns: 1fr; }
  .r1-flow li::after { display: none; }
  .r1-shield-diagram { grid-template-columns: 1fr; }
  .r1s-arrow { transform: rotate(90deg); }
  .r1s-arrow small { transform: rotate(-90deg); }
  .tier-card { padding: 26px 20px 22px; }
}

/* 料金表（タブ：Reactor-mini / Reactor 1.0、各3枚） */
.pb { margin-top: 28px; }
.pb-tabs { justify-content: center; margin: 0 auto 28px; }
.pb-tabs button { min-width: 250px; padding: 14px 24px; }
.pb-tabs button b { font-size: 16px; }
.pb-tabs button small { font-size: 12.5px; font-weight: 700; }
.pb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; align-items: stretch; }
.pb-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.pb-card.featured { border-color: var(--primary-3); box-shadow: var(--shadow); background: linear-gradient(180deg, #fff, var(--bg-tint)); }
.pb-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pb-product { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; color: var(--primary-2); }
.pb-tag { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--bg-tint); color: var(--primary); }
.pb-card h3 { font-family: "Inter", var(--font); font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.pb-switch { display: inline-flex; align-self: flex-start; padding: 3px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.pb-switch button { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pb-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.pb-body { min-height: 118px; }
.pb-sw:empty { display: none; }
.pb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.pb-price b { font-family: "Inter", var(--font); font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pb-price span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pb-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.pb-total { margin: 12px 0 0; display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pb-total > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 9px 12px; font-size: 13px; border-bottom: 1px solid var(--line); }
.pb-total > div:last-child { border-bottom: 0; }
.pb-total dt { color: var(--muted); font-weight: 700; white-space: nowrap; }
.pb-total dd { margin: 0 0 0 auto; font-weight: 800; text-align: right; }
.pb-total dd small { font-weight: 600; color: var(--muted); }
.pb-lead { font-weight: 700; font-size: 14.5px; }
.pb-cta .btn { width: 100%; justify-content: center; }
.pb-list { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.pb-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.pb-list .ico { flex: none; margin-top: 4px; color: var(--success); }
.pb-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; line-height: 1.8; }
.pb-note .ico { flex: none; margin-top: 4px; }
.pb-card.dark { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: var(--navy-3); color: #fff; box-shadow: var(--shadow-l); }
.pb-card.dark.dedicated { background: linear-gradient(170deg, #0b1d4a, var(--navy)); border-color: rgba(97, 207, 255, .45); }
.pb-card.dark .pb-product { color: var(--cyan); }
.pb-card.dark .pb-tag { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.pb-card.dark .pb-switch { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.pb-card.dark .pb-switch button { color: rgba(255, 255, 255, .7); }
.pb-card.dark .pb-switch button[aria-pressed="true"] { background: var(--cyan); color: var(--navy); }
.pb-card.dark .pb-price span, .pb-card.dark .tax, .pb-card.dark .pb-sub, .pb-card.dark .pb-total dt, .pb-card.dark .pb-total dd small { color: rgba(255, 255, 255, .66); }
.pb-card.dark .pb-total, .pb-card.dark .pb-total > div, .pb-card.dark .pb-list { border-color: rgba(255, 255, 255, .16); }
.pb-card.dark .pb-list li { color: rgba(255, 255, 255, .82); }
.pb-card.dark .pb-list .ico { color: var(--cyan); }
.pb-card.dark .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
@media (max-width: 1000px) { .pb-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } .pb-body { min-height: 0; } }

/* Pro：リリース期間キャンペーン特価（赤字） */
.pb-campaign { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-bottom: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; color: #fff; background: #e5252a; box-shadow: 0 6px 16px -8px rgba(229, 37, 42, .7); }
.pb-card .pb-price b { color: inherit; }
.pb-card.featured:not(.dark) .pb-price b { color: #d81b20; }
.pb-after { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pb-after b { color: var(--ink-2); }
.pb-lock { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #d81b20; line-height: 1.6; }
.pb-lock .ico { flex: none; margin-top: 3px; }
.tier-card .pb-campaign { margin-bottom: -4px; }
.signup-price dd .pb-campaign { display: block; width: fit-content; margin: 0 0 4px auto; font-size: 11px; }

/* プランごとの機能・上限の比較（/functions） */
.fx-wrap { margin-top: 28px; overflow: auto; max-height: 82vh; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); }
.fx-wrap:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.fx-table { width: 100%; min-width: 1120px; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.fx-table th, .fx-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.55; }
.fx-table thead th { position: sticky; top: 0; z-index: 2; background: var(--navy); color: #fff; border-bottom: 0; }
.fx-table thead th small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.fx-table thead th b { display: block; font-size: 14px; }
.fx-table thead th.is-r1 { background: var(--primary); }
.fx-table thead th.is-r1 small { color: var(--cyan); }
.fx-table thead th.is-pick { background: #0b1d4a; box-shadow: inset 0 -3px 0 #e5252a; }
.fx-table th[scope="row"], .fx-table .fx-corner { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 700; background: var(--bg-soft); min-width: 230px; max-width: 260px; color: var(--ink); }
.fx-table thead .fx-corner { z-index: 3; background: var(--navy); color: #fff; }
.fx-table .fx-group th { position: sticky; left: 0; text-align: left; padding: 10px 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: var(--primary); background: var(--bg-tint); }
.fx-table td.is-r1 { background: #f6f9ff; }
.fx-table td.is-pick { background: #fffafa; }
.fx-table td b { font-family: "Inter", var(--font); font-size: 14.5px; }
.fx-table td small { display: block; font-size: 11.5px; color: var(--muted); }
.fx-table td .pb-campaign { margin: 0 auto 4px; font-size: 10.5px; padding: 2px 7px; }
.fx-table tbody tr:hover td { background: #fffbe8; }
.fx-ok { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(18, 183, 106, .12); color: var(--success); }
.fx-no { color: #b6c0cf; font-weight: 700; }
.fx-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; line-height: 1.8; }
.fx-note .ico { flex: none; margin-top: 4px; }

.usage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.usage-card { display: flex; flex-direction: column; gap: 8px; }
.usage-card p { color: var(--muted); font-size: 14px; }
.usage-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.usage-rate b { font-family: "Inter", var(--font); font-size: 22px; color: var(--primary); }
.usage-rate span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.usage-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; margin-top: 24px; padding: 28px; border-radius: var(--radius-l); background: var(--bg-soft); border: 1px solid var(--line); }
.usage-example h3 { margin: 8px 0 6px; font-size: 20px; }
.usage-example p { color: var(--muted); font-size: 14px; }
.usage-example dl { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.usage-example dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.usage-example dl > div:last-child { border-bottom: 0; }
.usage-example dt { color: var(--ink-2); font-weight: 600; }
.usage-example dd { margin: 0; font-weight: 800; text-align: right; }
.usage-example .total { background: var(--bg-tint); }
.usage-example .total dd small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
@media (max-width: 860px) {
  .usage-grid, .usage-example { grid-template-columns: 1fr; }
  .fx-table th[scope="row"], .fx-table .fx-corner { min-width: 160px; }
}

/* キャンペーン終了後の価格（打ち消し線・法務確認済み） */
.pb-was { margin: 2px 0 -2px; font-size: 15px; font-weight: 700; color: var(--muted); }
.pb-was s, .fx-was s, .signup-price s { text-decoration-color: #e5252a; text-decoration-thickness: 2px; }
.pb-card.dark .pb-was { color: rgba(255, 255, 255, .6); }
.fx-table td small.fx-was { font-size: 12px; font-weight: 700; }
/* 規模の数値ブロック（クレジット・作成／公開・1アプリの人数）。全カード同じ並びで比べられるように */
.pb-stats-wrap { margin-top: 16px; }
.pb-stats-cap { margin: 6px 0 0; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.pb-card.dark .pb-stats-cap { color: rgba(255, 255, 255, .55); }
.pb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); overflow: hidden; }
.pb-stats > div { min-width: 0; padding: 10px 11px 9px; border-left: 1px solid var(--line); }
.pb-stats > div:first-child { border-left: 0; }
.pb-stats dt { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.pb-stats dd { margin: 3px 0 0; font-family: "Inter", var(--font); font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.pb-stats dd small { margin-left: 1px; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.pb-stats dd i { margin: 0 2px; font-style: normal; font-weight: 500; color: var(--muted); }
.pb-card.featured .pb-stats { background: #fff; border-color: var(--primary-3); }
.pb-card.featured .pb-stats > div { border-color: var(--primary-3); }
.pb-card.dark .pb-stats { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); }
.pb-card.dark .pb-stats > div { border-color: rgba(255, 255, 255, .16); }
.pb-card.dark .pb-stats dt, .pb-card.dark .pb-stats dd small, .pb-card.dark .pb-stats dd i { color: rgba(255, 255, 255, .6); }
.pb-card.dark .pb-stats dd { color: #fff; }

/* トライアル：始めるまでの流れ */
.pb-steps { list-style: none; counter-reset: pbs; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.pb-steps li { counter-increment: pbs; position: relative; display: flex; gap: 10px; align-items: center; padding: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pb-steps li::before { content: counter(pbs); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-tint); color: var(--primary); font-family: "Inter", var(--font); font-size: 11.5px; font-weight: 800; position: relative; z-index: 1; }
.pb-steps li:not(:last-child)::after { content: ""; position: absolute; left: 10.5px; top: 22px; bottom: 0; width: 1px; background: var(--primary-3); }
.pb-steps li:last-child { padding-bottom: 0; }

/* 価格・数値・本文・ボタン・特徴の段を、カード間でそろえる（対応ブラウザのみ） */
@media (min-width: 1001px) {
  @supports (grid-template-rows: subgrid) {
    .pb-grid { row-gap: 0; }
    .pb-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
    /* 行間を 0 にしているため、4枚目以降（2段目）のカードだけ上に余白を取る */
    .pb-grid > .pb-card:nth-child(n+4) { margin-top: 18px; }
    .pb-sw:empty { display: none; }
    .pb-sw:empty + .pb-body { grid-row: span 2; }
    .pb-body { min-height: 0; display: flex; flex-direction: column; }
    .pb-body > .pb-view:not([hidden]) { display: flex; flex-direction: column; flex: 1; }
    .pb-body .pb-stats-wrap { margin-top: auto; }
    .pb-body :has(+ .pb-stats-wrap) { margin-bottom: 16px; }
    .pb-list { align-content: start; }
  }
}

/* カードが4枚のとき（Reactor 1.0）：1枚だけ取り残さない */
@media (min-width: 1001px) {
  .pb-grid:has(> .pb-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-grid:has(> .pb-card:nth-child(4):last-child) > .pb-card:nth-child(n+3) { margin-top: 18px; }
}
@media (min-width: 1240px) {
  .pb-grid:has(> .pb-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 14px; }
  .pb-grid:has(> .pb-card:nth-child(4):last-child) > .pb-card:nth-child(n+3) { margin-top: 0; }
  .pb-grid:has(> .pb-card:nth-child(4):last-child) .pb-card { padding: 24px 20px; }
  .pb-grid:has(> .pb-card:nth-child(4):last-child) .pb-price b { font-size: 30px; }
  .pb-grid:has(> .pb-card:nth-child(4):last-child) .pb-stats > div { padding: 9px 8px 8px; }
  .pb-grid:has(> .pb-card:nth-child(4):last-child) .pb-stats dd { font-size: 14.5px; }
}

/* ご契約の前に（注記を箇条書きで） */
.pb-notes { margin-top: 22px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.pb-notes-h { display: flex; gap: 6px; align-items: center; margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--ink); }
.pb-notes-h .ico { color: var(--primary-2); }
.pb-notes ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
.pb-notes li { position: relative; margin-bottom: 6px; padding-left: 14px; break-inside: avoid; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.pb-notes li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-3); }
@media (max-width: 760px) { .pb-notes { padding: 16px; } .pb-notes ul { columns: 1; } }

/* サポートの比較：列見出しを「区分」と「対象プラン」の2段に */
.vs-table thead th small { display: block; margin-top: 3px; font-size: 11px; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .72); }

/* 毎月の使用量（単価表・1回の目安） */
.usage-h { margin: 32px 0 12px; font-size: 18px; }
.usage-table th small, .usage-table td small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.usage-table thead th small { color: inherit; opacity: .7; }
.usage-name { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.usage-name .ico { color: var(--primary-2); }
.usage-cr { font-family: "Inter", var(--font); font-weight: 800; color: var(--primary); white-space: nowrap; }
.usage-cr small { display: inline !important; margin-left: 2px; }
.usage-aws { font-size: 12.5px; color: var(--muted); }
.usage-ops th[scope="row"] { font-weight: 700; }

/* 利用規約・プライバシーポリシー・各特約（/terms ほか） */
.legal-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); font-size: 13px; }
.legal-toc b { display: block; margin-bottom: 8px; font-size: 13px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.legal-toc a { color: var(--ink-2); line-height: 1.5; }
.legal-toc a:hover { color: var(--primary-2); }
.legal-date { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.legal-body h2 { scroll-margin-top: calc(var(--header-h) + 16px); margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); font-size: 19px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 10px; line-height: 1.95; color: var(--ink-2); font-size: 15px; }
.legal-body a { color: var(--primary-2); word-break: break-all; }
.legal-items { margin: 4px 0 14px; padding-left: 0; list-style: none; counter-reset: li; display: grid; gap: 6px; }
.legal-items li { counter-increment: li; position: relative; padding-left: 36px; line-height: 1.85; color: var(--ink-2); font-size: 15px; }
.legal-items li::before { content: "(" counter(li) ")"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.legal-bullets { margin: 4px 0 14px; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.8; }
.pb-was { font-size: 12.5px; }
.pb-was s { font-size: 15px; }
.signup-price dt small { display: block; font-size: 11px; font-weight: 600; }
@media (max-width: 860px) {
  .legal-doc { grid-template-columns: 1fr; gap: 20px; }
  .legal-toc { position: static; max-height: 280px; }
}

/* サイトマップ（/sitemap・ビルド時に自動生成） */
.sitemap-count { margin: 0 0 24px; }
.sitemap-groups { display: grid; gap: 28px; }
.sitemap-group { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-soft); }
.sitemap-group h2 { margin: 6px 0 16px; font-size: 20px; }
.sitemap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sitemap-list a { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.sitemap-list a:hover { border-color: var(--primary-2); transform: translateY(-1px); }
.sitemap-text { flex: 1; min-width: 0; }
.sitemap-list b { font-size: 14.5px; line-height: 1.6; }
.sitemap-list small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.7; }
.sitemap-list .ico { flex: none; margin-top: 3px; color: var(--primary-2); }
@media (max-width: 760px) {
  .sitemap-group { padding: 20px 16px; }
  .sitemap-list { grid-template-columns: 1fr; }
}

/* =====================================================================
   AIヘルプ（右下のチャット）— 全ページ共通
   マークアップ: src/lib.mjs assistant() / 挙動: assets/js/chat.js
   ===================================================================== */
.ai-help {
  --ai-w: 388px;
  --ai-h: 640px;
  position: fixed; right: 20px; bottom: 20px; z-index: 190;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  font-size: 15px;
}

/* ランチャー */
.ai-launcher {
  display: inline-flex; align-items: center; gap: 9px;
  height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 10px 30px -8px rgba(0, 53, 195, .5), 0 2px 6px rgba(15, 26, 43, .18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
}
.ai-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(0, 53, 195, .55); }
.ai-launcher:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ai-launcher-ico {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .18);
}
.ai-help.is-open .ai-launcher { display: none; }

/* パネル */
.ai-panel {
  position: relative;
  width: min(var(--ai-w), calc(100vw - 32px));
  height: min(var(--ai-h), calc(100vh - 96px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  animation: aiIn .26s var(--ease);
}
@keyframes aiIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ai-panel { animation: none; } }

.ai-head {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff;
}
.ai-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-2), var(--cyan-2)); color: #fff;
}
.ai-head-text { flex: 1; min-width: 0; display: grid; }
.ai-head-text strong { font-size: 15px; line-height: 1.4; }
.ai-head-text small { font-size: 11.5px; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.ai-icon-btn {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .8); transition: background .18s, color .18s;
}
.ai-icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.ai-icon-btn[aria-pressed="true"] { background: var(--primary-2); color: #fff; }
.ai-icon-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }

/* 会話 */
.ai-log {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 14px 10px; display: flex; flex-direction: column; gap: 12px;
  background: #e9eff8;
}
.ai-log:focus-visible { outline: 2px solid var(--primary-2); outline-offset: -2px; }
/* 1発言＝1行。AIは左にアイコン＋吹き出し、自分は右に吹き出しだけ（LINE と同じ並び） */
.ai-turn { display: grid; row-gap: 5px; max-width: 100%; }
.ai-turn.ai-assistant { grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; justify-items: start; }
.ai-turn.ai-assistant > * { grid-column: 2; }
.ai-turn.ai-assistant > .ai-face { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
.ai-turn.ai-user { justify-items: end; }
.ai-face {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-2), var(--cyan-2)); color: #fff;
  box-shadow: 0 2px 6px rgba(0, 53, 195, .25);
}
.ai-bubble {
  position: relative; max-width: 82%; padding: 10px 14px; border-radius: 18px;
  font-size: 14.5px; line-height: 1.75; word-break: break-word; overflow-wrap: anywhere;
}
/* 吹き出しのしっぽ（話し手の側の上の角） */
.ai-bubble::before {
  content: ""; position: absolute; top: 9px; width: 10px; height: 10px;
  background: inherit; transform: rotate(45deg); border-radius: 2px;
}
.ai-assistant .ai-bubble { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 43, .08); }
.ai-assistant .ai-bubble::before { left: -4px; }
.ai-user .ai-bubble { background: var(--primary-2); color: #fff; white-space: pre-wrap; }
.ai-user .ai-bubble::before { right: -4px; }
.ai-turn.is-error .ai-bubble { background: #fff5f4; color: #8a2b20; box-shadow: inset 0 0 0 1px #f3c6c1; }
.ai-bubble p + p, .ai-bubble ul { margin-top: 8px; }
.ai-bubble ul { list-style: none; display: grid; gap: 4px; }
.ai-bubble li { padding-left: 15px; position: relative; }
.ai-bubble li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-3); }
.ai-bubble a { color: var(--primary-2); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ai-bubble strong { font-weight: 700; }

.ai-links { display: flex; flex-wrap: wrap; gap: 6px; max-width: 92%; }
.ai-links a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--bg-tint); border: 1px solid #cfe0ff; border-radius: 999px; padding: 4px 11px;
  transition: background .18s, transform .18s;
}
.ai-links a:hover { background: #dbe8ff; transform: translateY(-1px); }
.ai-replay {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  border-radius: 999px; padding: 3px 9px; border: 1px solid transparent;
}
.ai-replay:hover { color: var(--primary-2); border-color: var(--line-2); background: #fff; }
.ai-replay.is-loading { opacity: .5; pointer-events: none; }

.ai-typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-3); animation: aiDot 1.1s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .15s; }
.ai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* 質問の候補 */
.ai-suggest { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 12px; background: var(--bg-soft); }
.ai-suggest button {
  font-size: 12.5px; font-weight: 600; text-align: left;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px;
  color: var(--ink-2); transition: border-color .18s, color .18s, transform .18s;
}
.ai-suggest button:hover { border-color: var(--primary-2); color: var(--primary); transform: translateY(-1px); }

/* 入力 */

/* リアルタイム会話中の帯 */
.ai-call {
  --ai-level: 0;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px; padding: 12px 12px 12px 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff;
  border-radius: 16px; box-shadow: var(--shadow-s);
}
.ai-call-orb {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9fe2ff, var(--primary-2) 55%, var(--primary) 100%);
  /* 自分の声の大きさで脈打つ */
  transform: scale(calc(1 + var(--ai-level) * .22));
  transition: transform .08s linear;
}
.ai-call-orb i {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(97, 207, 255, .55); opacity: 0;
}
/* AIが話している間・調べている間は、外側の輪が広がる */
.ai-help[data-call="speaking"] .ai-call-orb i,
.ai-help[data-call="searching"] .ai-call-orb i,
.ai-help[data-call="thinking"] .ai-call-orb i { animation: aiRing 1.4s infinite ease-out; }
.ai-help[data-call="connecting"] .ai-call-orb { animation: aiBreath 1.2s infinite ease-in-out; }
@keyframes aiRing { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.5); } }
@keyframes aiBreath { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ai-call-orb, .ai-call-orb i { animation: none !important; transition: none; } }
.ai-call-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ai-call-text b { font-size: 14px; line-height: 1.4; }
.ai-call-text small { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.ai-call-btn {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: #fff;
  padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08);
}
.ai-call-btn:hover { background: rgba(255, 255, 255, .16); }
.ai-call-btn[aria-pressed="true"] { background: #fff; color: var(--navy); }
.ai-call-btn.is-end { background: #d3362b; border-color: #d3362b; }
.ai-call-btn.is-end:hover { background: #bb2d23; }
.ai-call-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* 会話中のマイクボタンは「終える」ボタンとして目立たせる */
.ai-help.is-calling .ai-mic { background: #d3362b; color: #fff; animation: none; }
/* 文字起こしを待っている自分の発言 */
.ai-turn.is-pending .ai-bubble { opacity: .55; }
/* 候補の先頭「声で会話する」 */
.ai-suggest .ai-suggest-call {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-color: transparent;
}
.ai-suggest .ai-suggest-call:hover { color: #fff; border-color: transparent; }
@media (max-width: 640px) {
  .ai-call { flex-wrap: wrap; }
  .ai-call-text { flex-basis: calc(100% - 56px); }
  .ai-call-btn { flex: 1; justify-content: center; }
}

/* 録音中の帯：声が拾えているか（バー）と、いまの状態 */
.ai-voice {
  --ai-level: 0;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px; padding: 8px 10px 8px 12px;
  background: #fdeceb; border: 1px solid #f6cfcb; border-radius: 14px;
}
.ai-voice-bars { display: inline-flex; align-items: center; gap: 3px; height: 20px; flex: none; }
.ai-voice-bars i {
  width: 3px; border-radius: 2px; background: #d3362b;
  /* 声の大きさ（--ai-level）に応じて伸びる。バーごとに反応の強さを変える。 */
  height: calc(4px + (var(--ai-level) * var(--k, 1)) * 16px);
  transition: height .08s linear;
}
.ai-voice-bars i:nth-child(1), .ai-voice-bars i:nth-child(5) { --k: .5; }
.ai-voice-bars i:nth-child(2), .ai-voice-bars i:nth-child(4) { --k: .8; }
.ai-voice-text { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: #a3291f; }
.ai-voice-btn {
  flex: none; font-size: 12px; font-weight: 700; color: #a3291f;
  padding: 4px 10px; border-radius: 999px; border: 1px solid #f0bdb8; background: #fff;
}
.ai-voice-btn:hover { background: #fff5f4; }
.ai-voice-btn.is-send { background: #d3362b; border-color: #d3362b; color: #fff; }
.ai-voice-btn.is-send:hover { background: #bb2d23; }
/* 聞き取り中は落ち着いた色に変える */
.ai-help.is-transcribing .ai-voice { background: var(--bg-tint); border-color: #cfe0ff; }
.ai-help.is-transcribing .ai-voice-text { color: var(--primary); }
.ai-help.is-transcribing .ai-voice-bars i { background: var(--primary-3); animation: aiDot 1.1s infinite ease-in-out; }
.ai-help.is-transcribing .ai-voice-btn { display: none; }

.ai-form { flex: none; padding: 12px 14px 14px; background: #fff; border-top: 1px solid var(--line); }
.ai-input {
  display: flex; align-items: flex-end; gap: 6px;
  border: 1.5px solid var(--line-2); border-radius: 18px; padding: 6px 6px 6px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.ai-input:focus-within { border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(29, 92, 255, .12); }
.ai-input textarea {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; resize: none;
  font-size: 15px; line-height: 1.6; padding: 8px 0; max-height: 120px;
}
.ai-mic, .ai-send {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s, transform .18s;
}
.ai-mic { color: var(--muted); }
.ai-mic:hover { background: var(--bg-tint); color: var(--primary); }
.ai-mic[aria-pressed="true"] { background: #fdeceb; color: #d3362b; animation: aiPulse 1.4s infinite; }
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(211, 54, 43, .35); } 50% { box-shadow: 0 0 0 7px rgba(211, 54, 43, 0); } }
.ai-send { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.ai-send:hover { transform: translateY(-1px); }
.ai-mic:disabled, .ai-send:disabled { opacity: .45; pointer-events: none; }
.ai-note { margin-top: 8px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.ai-note a { color: var(--primary-2); font-weight: 700; text-decoration: underline; }
.ai-help.is-speaking .ai-icon-btn[aria-pressed="true"] { animation: aiPulse 1.6s infinite; }
/* 大きさを変えるつまみ（左上）と、全画面 */
/* 見た目は出さず、左上の角だけをつかめるようにする。マウスを乗せるとカーソルで分かる */
.ai-resize {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 18px; height: 18px; padding: 0;
  background: transparent; border: 0; cursor: nwse-resize; touch-action: none;
  border-top-left-radius: var(--radius-l);
}
/* キーボードで選んだときだけ、位置が分かるよう枠を出す */
.ai-resize:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.ai-help.is-resizing { cursor: nwse-resize; }
/* つかんでいる間は、本文の選択やホバーが邪魔をしないようにする */
.ai-help.is-resizing .ai-panel { user-select: none; }
.ai-help.is-resizing .ai-log, .ai-help.is-resizing .ai-form { pointer-events: none; }

.ai-help.is-full { left: 0; right: 0; top: 0; bottom: 0; padding: 16px; align-items: stretch; }
.ai-help.is-full .ai-panel { width: 100%; height: 100%; max-width: min(1100px, 100%); margin-inline: auto; }
.ai-help.is-full .ai-resize { display: none; }
.ai-help.is-full .ai-bubble { max-width: min(68ch, 78%); }
.ai-help.is-full .ai-log { padding-inline: clamp(16px, 4vw, 48px); }
.ai-help.is-full .ai-suggest, .ai-help.is-full .ai-form { padding-inline: clamp(14px, 4vw, 48px); }


/* ヘルプページのAIカード */
.ai-cta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 24px 0 8px; padding: 22px 24px;
  background: linear-gradient(135deg, #f2f7ff, #eaf2ff);
  border: 1px solid #cfe0ff; border-radius: var(--radius-l);
}
.ai-cta-ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(0, 53, 195, .5);
}
.ai-cta-text { flex: 1; min-width: 240px; }
.ai-cta-text h2 { font-size: 19px; margin-bottom: 4px; }
.ai-cta-text p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.ai-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* スマートフォン：下から立ち上がるシート */
@media (max-width: 640px) {
  .ai-help { right: 12px; bottom: 12px; left: 12px; align-items: stretch; }
  .ai-launcher { align-self: flex-end; height: 50px; padding: 0 18px 0 14px; }
  .ai-panel { width: 100%; height: min(78vh, calc(100vh - 80px)); border-radius: var(--radius); }
  .ai-log { padding: 14px 12px 6px; }
  .ai-bubble { max-width: 86%; }
  .ai-suggest { padding: 4px 12px 10px; }
  .ai-cta { padding: 18px; }
  .ai-resize { display: none; }
  .ai-help.is-full { padding: 0; }
  .ai-help.is-full .ai-panel { border-radius: 0; }
}

/* ===== Web診断のURL入力フォーム（/diagnosis・/security-ui・/llmo-aio-ui・TOP） ===== */
.dx { position: relative; padding: 40px; border-radius: var(--radius-xl); background: var(--navy); border: 1px solid rgba(97, 207, 255, .18); color: #fff; box-shadow: var(--shadow-l); overflow: hidden; }
.dx::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(127, 214, 255, .75), transparent); pointer-events: none; }
.dx > * { position: relative; z-index: 1; }
.dx .eyebrow.light { color: var(--cyan); }
.dx-title { margin: 10px 0 12px; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.35; letter-spacing: -.01em; }
.dx-lead { margin: 0 0 22px; max-width: 62ch; color: rgba(255, 255, 255, .82); line-height: 1.9; }
.dx-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.dx-tabs button { display: inline-flex; gap: 6px; align-items: baseline; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .75); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.dx-tabs button small { font-size: 10.5px; font-weight: 700; opacity: .8; }
.dx-tabs button:hover { color: #fff; }
.dx-tabs button[aria-pressed="true"] { background: #fff; color: var(--primary); }
.dx-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .8); }
.dx-input { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.dx-input input { flex: 1 1 320px; min-width: 0; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); background: rgba(255, 255, 255, .97); color: var(--ink); font: inherit; font-size: 16px; }
.dx-input input::placeholder { color: var(--muted); }
.dx-input input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.dx-input input[aria-invalid="true"] { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .25); }
.dx-input .btn { flex: 0 0 auto; }
.dx-error { display: flex; gap: 8px; margin: 10px 0 0; padding: 12px 14px; border-radius: var(--radius-s); background: rgba(255, 107, 107, .16); color: #ffd9d9; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.dx-note { display: flex; gap: 8px; margin: 14px 0 0; color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.8; }
.dx-note .ico { flex: none; margin-top: 3px; color: var(--cyan); }
.dx-meta { margin: 12px 0 0; color: rgba(255, 255, 255, .6); font-size: 12.5px; line-height: 1.8; }
.dx-meta a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.dx-next { margin-top: 24px; padding: 22px; border: 1px solid rgba(97, 207, 255, .35); border-radius: var(--radius); background: rgba(255, 255, 255, .07); }
.dx-next h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-size: 16px; }
.dx-next-url { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.dx-next-url code { padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .3); word-break: break-all; }
.dx-next .small { color: rgba(255, 255, 255, .6); }
.dx-next .small a { color: var(--cyan); }
.dx-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.8; }
.dx-steps b { display: block; }
.dx-steps span { color: rgba(255, 255, 255, .72); }
/* 診断セクション（トップ）：Reactorのマークを添え、診断の種類を機能として並べ、URL欄を単独で見せる */
.dx-head { display: flex; gap: 18px; align-items: flex-start; }
.dx-mark { position: relative; flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: radial-gradient(circle at 50% 45%, rgba(97, 207, 255, .28), rgba(97, 207, 255, .04) 70%); border: 1px solid rgba(97, 207, 255, .38); box-shadow: 0 0 0 6px rgba(97, 207, 255, .05), 0 12px 30px -14px rgba(0, 170, 255, .7); }
.dx-mark img { width: 48px; height: 48px; filter: drop-shadow(0 0 10px rgba(0, 215, 255, .55)); }
.dx-head .dx-title { margin-top: 8px; }
.dx-rich .dx-lead { margin-bottom: 24px; }
.dx-step { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .02em; color: rgba(255, 255, 255, .86); }
.dx-step span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(97, 207, 255, .16); border: 1px solid rgba(97, 207, 255, .5); color: var(--cyan); font-family: "Inter", var(--font); font-size: 11.5px; }
.dx-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.dx-kind-top { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dx-kind-state { padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.dx-kind-state.is-ok { background: rgba(52, 211, 153, .14); color: #7ee8b8; border: 1px solid rgba(52, 211, 153, .35); }
.dx-kind-state.is-soon { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .18); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dx-kind { display: grid; justify-items: start; gap: 6px; padding: 18px 18px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.dx-kind:hover { border-color: rgba(127, 214, 255, .6); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.dx-kind-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 4px; border-radius: 11px; background: rgba(97, 207, 255, .12); color: var(--cyan); }
.dx-kind b { display: flex; gap: 8px; align-items: center; font-size: 15.5px; }
.dx-kind small { color: rgba(255, 255, 255, .66); font-size: 12.5px; line-height: 1.7; }
.dx-kind[aria-pressed="true"] { border-color: var(--cyan); background: rgba(97, 207, 255, .14); box-shadow: 0 0 0 1px rgba(97, 207, 255, .45) inset; }
.dx-kind[aria-pressed="true"] .dx-kind-ico { background: var(--cyan); color: var(--navy); }
.dx-field { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.dx-rich .dx-field { background: rgba(4, 10, 22, .55); border-color: rgba(127, 214, 255, .35); box-shadow: 0 18px 44px -28px rgba(0, 0, 0, .9); }
.dx-rich .dx-label { font-size: 13.5px; letter-spacing: .02em; }
.dx-rich .dx-input { position: relative; }
.dx-input-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; color: var(--muted); pointer-events: none; }
.dx-rich .dx-input input { flex: 1 1 340px; padding: 18px 18px 18px 46px; border-radius: 12px; font-size: 16.5px; }
.dx-rich .dx-input .btn { padding-inline: 24px; font-size: 15px; }
.dx-compact { padding: 32px; }
.dx-rich { padding: 36px; }
.dx-compact .dx-lead { margin-bottom: 18px; }
.dx-section { padding-top: 56px; }

/* 診断の説明（確認できること／できないこと・手順・警告の区分） */
.dx-ico { flex: none; color: var(--primary-2); }
.dx-table .dx-cannot { color: var(--muted); }
.dx-limits { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.dx-limits li { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); font-size: 14.5px; line-height: 1.8; }
.dx-limits .ico { flex: none; margin-top: 4px; color: var(--muted); }
.dx-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dx-flow li { position: relative; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); }
.dx-flow-n { display: block; margin-bottom: 10px; font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--primary-2); }
.dx-flow b { display: block; margin: 10px 0 6px; font-size: 15.5px; }
.dx-flow p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.85; }

.dx-sev { margin: 0; display: grid; gap: 8px; }
.dx-sev-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dx-sev-row dt { display: flex; gap: 9px; align-items: center; font-weight: 700; }
.dx-sev-row dd { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.dx-sev-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--muted); }
.sev-crit .dx-sev-dot { background: #e5252a; }
.sev-high .dx-sev-dot { background: #ff6b35; }
.sev-mid .dx-sev-dot { background: var(--warm); }
.sev-low .dx-sev-dot { background: var(--cyan-2); }
.sev-info .dx-sev-dot { background: var(--primary-2); }
.sev-unknown .dx-sev-dot { background: var(--line-2); border: 1px solid var(--line-2); }
@media (max-width: 980px) {
  .dx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) { .dx-kinds { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .dx, .dx-compact, .dx-rich { padding: 24px 18px; }
  .dx-title { font-size: 22px; }
  .dx-input .btn { width: 100%; justify-content: center; }
  .dx-head { gap: 14px; }
  .dx-mark { width: 48px; height: 48px; border-radius: 14px; }
  .dx-mark img { width: 32px; height: 32px; }
  .dx-field { padding: 16px; }
  .dx-kind { padding: 15px 15px 13px; }
  .dx-flow { grid-template-columns: 1fr; }
  .dx-sev-row { grid-template-columns: 1fr; gap: 6px; }
}

/* プラン比較表の注記（※）— 表の中は数字だけにして、説明はここへ */
.fx-ref { margin-left: 2px; color: var(--primary-2); font-size: 10.5px; font-weight: 800; vertical-align: super; line-height: 1; white-space: nowrap; }
.fx-notes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.fx-notes li { display: flex; gap: 8px; align-items: flex-start; color: var(--primary-2); font-size: 12.5px; line-height: 1.85; }
.fx-notes .fx-ref { flex: none; margin: 0; vertical-align: baseline; font-size: 12px; }
@media (max-width: 760px) { .fx-notes li { font-size: 12px; } }

/* =====================================================================
   2026-10-18 修正
   1. メガメニュー：画像とテキストのはみ出し（grid/flex の min-width: auto が原因）
   2. 診断の一覧表：文字量で崩れる（th の display:flex を外し、左寄せ・上揃えに）
   3. /diagnosis のファーストビュー：URL入力を主役にする
   ===================================================================== */

/* 1. メガメニューのはみ出し ------------------------------------------- */
/* grid/flex の子は min-width:auto のため、画像の実寸や長い説明文が列幅を押し広げる */
/* 主な原因：.desktop-nav a { white-space: nowrap } がパネル内のリンクにも効き、説明文が1行のまま隣の列や画面外へはみ出していた */
.mega-panel, .mega-panel a { white-space: normal; }
.mega-links > li { min-width: 0; }
.mega-links a { min-width: 0; }
.mega-text { min-width: 0; flex: 1 1 0; }
.mega-text b, .mega-text small { min-width: 0; overflow-wrap: anywhere; }
.mega-feature { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.mega-feature-img { min-width: 0; }
.mega-feature-img img { max-width: 100%; }
.mega-feature b, .mega-feature small, .mega-feature-tag { min-width: 0; overflow-wrap: anywhere; }
.mega-panel { max-width: 100vw; overflow: hidden; }

@media (max-width: 1360px) {
  .mega-inner { grid-template-columns: 200px minmax(0, 1fr) 260px; gap: 24px; }
}
@media (max-width: 1240px) {
  .mega-inner { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
}
@media (max-width: 1160px) {
  .mega-inner { grid-template-columns: minmax(0, 1fr); }
  .mega-feature { display: none; }
  .mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 2. 診断の一覧表 ------------------------------------------------------ */
/* th を table-cell のまま保ち（背景が行の高さまで伸びる）、中身だけ flex にする */
/* 行見出しは通常の文章の流れに戻す（flex にすると日本語が1文字ずつ折り返す） */
.dx-table th[scope="row"] { white-space: normal; vertical-align: top; width: 24%; }
.dx-th { display: block; line-height: 1.65; }
.dx-table td { text-align: left; vertical-align: top; line-height: 1.85; }
.dx-table thead th { text-align: left; }
.dx-table th, .dx-table td { padding: 15px 18px; }
.dx-ico { display: inline-block; vertical-align: -3px; margin-right: 7px; color: var(--primary-2); }

/* 3. /diagnosis のファーストビュー ------------------------------------ */
.dx-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 72px); background: radial-gradient(900px 420px at 50% -10%, rgba(29, 92, 255, .5), transparent 65%), linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 60%, #122a5c 100%); color: #fff; }
.dx-hero-glow { position: absolute; inset: auto 50% -46% auto; width: min(780px, 92vw); height: 360px; transform: translateX(50%); background: radial-gradient(closest-side, rgba(97, 207, 255, .3), transparent 70%); pointer-events: none; }
.dx-hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.dx-hero-inner .breadcrumb { justify-self: start; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.dx-hero-inner .breadcrumb a { color: rgba(255, 255, 255, .78); }
.dx-hero-title { margin: 12px 0 14px; font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; line-height: 1.25; letter-spacing: -.02em; }
.dx-hero-title em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dx-hero-lead { margin: 0 0 26px; max-width: 60ch; color: rgba(255, 255, 255, .84); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.9; }
.dx-hero-form { width: min(900px, 100%); text-align: left; }
/* ヒーロー内のフォームは dx の装飾（背景・影・余白）を外し、入力欄だけを見せる */
.dx-hero .dx-bare { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.dx-hero .dx-bare::after { display: none; }
.dx-hero .dx-kinds { margin-bottom: 18px; }
.audit-page .dx-hero + .page-body { padding-top: clamp(36px, 5vw, 64px); }

@media (max-width: 760px) {
  .dx-hero .dx-kinds { grid-template-columns: 1fr; }
}
/* 中央寄せの grid は子を内容幅で配置し、狭い画面ではみ出すため、幅いっぱいに置いて文字を中央揃えにする */
.dx-hero-inner { justify-items: stretch; }
.dx-hero-inner > * { min-width: 0; max-width: 100%; }
.dx-hero-inner .eyebrow { justify-self: center; }
.dx-hero-lead { justify-self: center; max-width: min(60ch, 100%); }
.dx-hero-form { justify-self: center; }
@media (max-width: 560px) {
  .dx-hero .dx-input { flex-direction: column; }
  /* 縦並びでは flex-basis が高さになるため、入力欄は内容の高さに戻す */
  .dx-hero .dx-input input { flex: 0 0 auto; }
  /* 縦並びでは地球アイコンを入力欄の中央に合わせる（ボタンを含む全体の中央にずれるため） */
  .dx-hero .dx-input-ico { top: 31px; }
  .dx-hero .dx-input .btn { justify-content: center; }
  .dx-table th[scope="row"] { width: auto; }
}

/* =====================================================================
   Reactor 1.0 の炎の渦（ヒーローと同じWebGLエンジン・赤／朱／黄）
   ===================================================================== */
.r1-power-core { max-width: 380px; isolation: isolate; }
.r1-vortex { position: absolute; inset: -26%; width: 152%; height: 152%; display: block; z-index: 0; pointer-events: none; }
/* 渦の中心に重ねる熱の芯。WebGLが無い環境でも、これだけで炎らしさが残る */
.r1-power-core::before {
  content: ""; position: absolute; inset: 24%; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 238, 190, .95) 0%, rgba(255, 176, 60, .75) 28%, rgba(255, 94, 30, .45) 52%, rgba(190, 30, 20, .18) 72%, transparent 80%);
  filter: blur(6px);
  animation: r1-breathe 4.6s ease-in-out infinite;
}
@keyframes r1-breathe { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
/* リングは炎に合わせて赤〜黄へ */
.r1-ring { border-color: rgba(255, 150, 60, .22); z-index: 1; }
.r1-ring.a { border-top-color: #ffb43c; box-shadow: 0 0 46px rgba(255, 120, 40, .3) inset; }
.r1-ring.b { border-right-color: #ff5e1e; }
.r1-ring.c { border-color: rgba(255, 220, 160, .14); border-bottom-color: #ffd36b; }
.r1-power-core b {
  z-index: 2; text-shadow: 0 0 26px rgba(255, 120, 40, .55);
  background: linear-gradient(120deg, #fff3cf, #ffb13c 55%, #ff6a1e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.r1-power-core.no-webgl .r1-vortex { display: none; }
@media (prefers-reduced-motion: reduce) { .r1-power-core::before { animation: none; } }
@media (max-width: 860px) { .r1-power-core { max-width: 240px; } }

/* プラン比較：全プラン共通の機能（表から外したもの） */
.fx-common { margin-top: 32px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg-soft); }
.fx-common h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 16px; font-size: 17px; }
.fx-common h3 .ico { color: var(--primary-2); }
.fx-common-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.fx-common-list li { display: flex; gap: 9px; align-items: flex-start; padding: 9px 12px; border-radius: var(--radius-s); background: #fff; font-size: 14px; line-height: 1.75; }
.fx-common-list .ico { flex: none; margin-top: 4px; color: var(--success); }
.fx-common-list span { flex: 1; }
.fx-common-list b { flex: none; color: var(--primary-2); font-size: 13px; }
@media (max-width: 760px) { .fx-common { padding: 20px 16px; } .fx-common-list { grid-template-columns: 1fr; } }

/* お問い合わせ：ご相談の種類に合わせた説明（既存システムの調査依頼ほか） */
.topic-intro { margin: 0 0 28px; padding: 28px; border: 1px solid var(--line); border-left: 4px solid var(--primary-2); border-radius: var(--radius-l); background: var(--bg-soft); }
.topic-intro h2 { margin: 8px 0 12px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; }
.topic-intro > p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.95; }
.topic-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: ts; }
.topic-steps li { counter-increment: ts; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.topic-steps li::before { content: "0" counter(ts); display: block; margin-bottom: 6px; font-family: "Inter", var(--font); font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--primary-2); }
.topic-steps b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.topic-steps span { display: block; color: var(--ink-2); font-size: 12.5px; line-height: 1.8; }
.topic-finds { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.topic-finds li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.8; }
.topic-finds .ico { flex: none; margin-top: 4px; color: var(--primary-2); }
@media (max-width: 860px) {
  .topic-intro { padding: 20px 16px; }
  .topic-steps, .topic-finds { grid-template-columns: 1fr; }
}

/* ===== 2026-10-18 デザインの磨き込み ===== */

/* お問い合わせ：フォームと「送信のあと」を2カラムに */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.contact-layout .form-grid { max-width: none; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.contact-aside > section { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); }
.contact-aside h2 { margin: 6px 0 16px; font-size: 19px; }
.contact-after { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: ca; }
.contact-after li { position: relative; padding-left: 38px; counter-increment: ca; }
.contact-after li::before { content: counter(ca); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); color: var(--primary); font-family: "Inter", var(--font); font-size: 12.5px; font-weight: 800; }
.contact-after li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 30px; bottom: -14px; width: 1px; background: var(--line-2); }
.contact-after b { display: block; font-size: 14.5px; line-height: 1.6; }
.contact-after span { display: block; margin-top: 3px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.contact-never { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff; }
.contact-never h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 15px; }
.contact-never h3 .ico { color: var(--cyan); }
.contact-never ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.contact-never li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 700; }
.contact-never li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 2px; border-radius: 2px; background: #ff7a7a; }
.contact-never p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 12.5px; line-height: 1.8; }

/* 入口カード：いま選んでいる種類を強調 */
.contact-entry { position: relative; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.contact-entry.is-active { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(29, 92, 255, .14), var(--shadow-s); }
.contact-entry.is-active::after { content: "選択中"; position: absolute; top: 16px; right: 16px; padding: 3px 9px; border-radius: 999px; background: var(--primary-2); color: #fff; font-size: 11px; font-weight: 800; }

/* 調査依頼の説明パネル：手順を線でつなぐ */
.topic-intro { background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg-soft) 60%); }
.topic-steps { position: relative; }
.topic-steps li { position: relative; box-shadow: var(--shadow-s); }
.topic-steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; right: -12px; width: 12px; height: 1px; background: var(--primary-3); }

/* フォーム内の書き方ヒント */
.form-hint { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.form-hint > .ico { flex: none; margin-top: 4px; color: var(--primary-2); }
.form-hint b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13.5px; }
.form-hint ul { margin: 0 0 4px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.form-hint li { padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; }
.form-hint small { color: var(--muted); font-size: 12px; }
.form-warn > span { flex: 1; }
.form-warn strong { display: inline; }

/* 機能比較：注記をカードにまとめ、広い画面では2段で読みやすく */
.fx-notes { margin-top: 18px; padding: 20px 22px; border: 1px solid #d6e2ff; border-radius: var(--radius-l); background: #f6f9ff; gap: 10px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fx-notes li { color: #1d4ed8; }
.fx-notes .fx-ref { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; margin-top: 2px; border-radius: 999px; background: #e3ebff; color: var(--primary); font-size: 11px; vertical-align: baseline; }
.fx-table .fx-ref { padding: 0 2px; }

/* WEB診断：状態ラベルを右上、ボタンを下端にそろえる */
.dx-card { position: relative; display: flex; flex-direction: column; }
.dx-card p { flex: 1; }
.dx-card .btn { align-self: flex-start; margin-top: 8px; }
.dx-state { position: absolute; top: 22px; right: 22px; }
.dx-state.is-live { background: #e7f8ef; border-color: #b7ebcf; color: #0b7a47; }

@media (max-width: 1100px) {
  .fx-notes { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .topic-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
  .contact-entry.is-active::after { top: 12px; right: 12px; }
  .fx-notes { padding: 16px; }
  .dx-state { top: 18px; right: 18px; }
}

/* 調査依頼の手順：中くらいの幅では2列、狭いスマホだけ1列 */
@media (max-width: 860px) and (min-width: 480px) {
  .topic-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =====================================================================
   セキュリティ診断UI（.dx／.dx-hero）— 危険を知らせる炎の配色（2026-10-18）
   Reactor の青と同じ「暗い地に光が灯る」表現のまま、赤・朱・黄に置き換える。
   ===================================================================== */
.dx, .dx-hero {
  --fire-red: #ff3b2f;
  --fire-ver: #ff6a1a;
  --fire-amb: #ffb321;
  --fire-soft: #ffb27a;
  --fire-line: rgba(255, 120, 60, .3);
}
.dx { background: linear-gradient(160deg, #120506 0%, #1e0808 55%, #3a0f08 100%); }
.dx::after { background: radial-gradient(closest-side, rgba(255, 90, 30, .42), transparent 70%); }
.dx-hero { background: radial-gradient(900px 420px at 50% -10%, rgba(255, 70, 30, .42), transparent 65%), linear-gradient(170deg, #0c0405 0%, #1a0708 60%, #3a0e07 100%); }
.dx-hero-glow { background: radial-gradient(closest-side, rgba(255, 150, 40, .26), transparent 70%); }
.dx-hero-title em { background: linear-gradient(90deg, #ffe08a, #ff8a2f 55%, #ff3b2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dx .eyebrow.light, .dx-hero .eyebrow.light { color: #ff9a4d; }
.dx .eyebrow::before, .dx-hero .eyebrow::before { background: linear-gradient(90deg, var(--fire-red), var(--fire-amb)); }
.dx-mark { background: rgba(255, 106, 26, .1); border-color: rgba(255, 140, 60, .4); box-shadow: 0 0 30px -6px rgba(255, 90, 30, .55); }
.dx-mark img, .dx-core img { filter: hue-rotate(160deg) saturate(1.7) brightness(1.05); }
.dx-note .ico { color: #ff9a4d; }
.dx-meta a, .dx-next .small a { color: var(--fire-soft); }
.dx-next { border-color: rgba(255, 140, 60, .35); }

/* ---------- 検索窓と一体のコンソール ---------- */
.dx-console { position: relative; border-radius: 20px; background: rgba(10, 3, 4, .62); border: 1px solid var(--fire-line); box-shadow: 0 0 0 1px rgba(255, 80, 40, .06) inset, 0 34px 70px -34px rgba(255, 60, 20, .55); overflow: hidden; }

/* 診断の種類：入力欄の上に付くタブ */
.dx-ctabs { display: flex; background: rgba(255, 255, 255, .025); border-bottom: 1px solid rgba(255, 120, 60, .22); }
.dx-ctab { position: relative; flex: 1 1 0; min-width: 0; display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 0; border-right: 1px solid rgba(255, 120, 60, .14); background: transparent; color: rgba(255, 230, 220, .7); font: inherit; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.dx-ctab:last-child { border-right: 0; }
.dx-ctab:hover { background: rgba(255, 106, 26, .07); color: #fff; }
.dx-ctab:focus-visible { outline: 2px solid var(--fire-amb); outline-offset: -2px; }
.dx-ctab-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 106, 26, .12); color: #ff9a4d; transition: background .2s, color .2s; }
.dx-ctab-text { min-width: 0; display: grid; gap: 2px; }
.dx-ctab-text b { font-size: 14.5px; color: inherit; }
.dx-ctab-text small { font-size: 11.5px; line-height: 1.5; color: rgba(255, 215, 200, .55); }
.dx-ctab .dx-kind-state { flex: none; margin-left: auto; }
.dx-ctab[aria-pressed="true"] { background: linear-gradient(180deg, rgba(255, 90, 30, .2), rgba(255, 90, 30, .04)); color: #fff; }
.dx-ctab[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--fire-red), var(--fire-ver), var(--fire-amb)); box-shadow: 0 0 14px rgba(255, 120, 40, .85); }
.dx-ctab[aria-pressed="true"] .dx-ctab-ico { background: linear-gradient(135deg, var(--fire-red), var(--fire-ver)); color: #fff; box-shadow: 0 0 16px -2px rgba(255, 90, 30, .8); }

/* 入力の帯：Reactor の中核 ＋ URL ＋ 実行ボタン */
.dx-cbar { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; }
.dx-core { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: radial-gradient(circle, rgba(255, 120, 40, .32), rgba(255, 60, 20, .04) 72%); border: 1px solid rgba(255, 140, 60, .42); }
.dx-core img { width: 36px; height: 36px; }
.dx-core-ring { position: absolute; inset: -5px; border-radius: 18px; border: 1px solid rgba(255, 150, 60, .55); animation: dx-pulse 2.4s ease-out infinite; }
@keyframes dx-pulse { 0% { transform: scale(.94); opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }
.dx-cfield { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; padding: 9px 16px 10px; border-radius: 12px; background: #fff8f4; transition: box-shadow .2s; }
.dx-cfield-label { font-family: "Inter", var(--font); font-size: 10.5px; font-weight: 800; letter-spacing: .16em; color: #d9461f; }
.dx-cfield input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; outline: 0; }
.dx-cfield input::placeholder { color: #a08a84; }
.dx-cfield:focus-within { box-shadow: 0 0 0 3px rgba(255, 150, 60, .6); }
.dx-cfield:has(input[aria-invalid="true"]) { box-shadow: 0 0 0 3px rgba(255, 70, 70, .7); }
.dx-go { flex: none; padding: 17px 24px; background: linear-gradient(135deg, #e0261c, var(--fire-ver) 60%, #ffa21a); box-shadow: 0 14px 30px -12px rgba(255, 80, 30, .85); }
.dx-go:hover { box-shadow: 0 18px 36px -12px rgba(255, 90, 30, .95); }
.dx-scan { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--fire-amb), var(--fire-red), transparent) no-repeat; background-size: 40% 100%; animation: dx-scan 3.4s linear infinite; opacity: .85; pointer-events: none; }
@keyframes dx-scan { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* 状態表示：ENGINE / MODE / SCOPE */
.dx-cstatus { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 11px 18px 13px; border-top: 1px solid rgba(255, 120, 60, .16); font-family: "Inter", var(--font); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: rgba(255, 200, 180, .5); }
.dx-cstatus > span { display: inline-flex; align-items: center; }
.dx-cstatus b { margin-left: 8px; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #ffd7b8; }
.dx-led { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--fire-amb); box-shadow: 0 0 8px var(--fire-amb); animation: dx-blink 1.6s ease-in-out infinite; }
@keyframes dx-blink { 50% { opacity: .35; } }
.dx-form .dx-error { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) { .dx-core-ring, .dx-scan, .dx-led { animation: none; } }
@media (max-width: 860px) {
  .dx-ctab-text small { display: none; }
  .dx-ctab .dx-kind-state { display: none; }
}
@media (max-width: 560px) {
  .dx-ctab { flex-direction: column; gap: 6px; padding: 12px 6px; text-align: center; }
  .dx-ctab-text b { font-size: 12.5px; }
  .dx-cbar { flex-wrap: wrap; padding: 14px; }
  .dx-core { width: 46px; height: 46px; }
  .dx-cfield { flex: 1 1 0; }
  .dx-go { flex: 1 1 100%; justify-content: center; }
  .dx-cstatus > span:last-child { display: none; }
}

/* =====================================================================
   /audit ファーストビュー：いまの自社システム → Reactor 1.0 が解析 → 生まれ変わったシステム
   古い側は警告の赤、新しい側は Reactor の青。危険から安全への変化を1枚で見せる。
   ===================================================================== */
.audit-visual.rbh-wrap { display: block; }
.rbh-wrap .av-news { margin-top: 18px; }
.rbh { margin: 0; }
.rbh-stage { display: grid; gap: 12px; }
/* 図が縦に長いため、左の文章と上端をそろえる */
.audit-hero-grid:has(.rbh-wrap) { align-items: start; }
.audit-hero-grid:has(.rbh-wrap) .audit-hero-copy { padding-top: 12px; }

.rbh-win { position: relative; display: grid; gap: 8px; }
.rbh-old { justify-self: start; width: 56%; transform: rotate(-2deg); }
.rbh-new { justify-self: end; width: 68%; transform: rotate(1.2deg); }
.rbh-screen { position: relative; border-radius: 10px; overflow: hidden; }
.rbh-screen svg { display: block; width: 100%; height: auto; }
.rbh-old .rbh-screen { box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 90, 40, .45), 0 0 30px -8px rgba(255, 59, 47, .5); }
.rbh-new .rbh-screen { box-shadow: 0 26px 60px -18px rgba(0, 0, 0, .8), 0 0 0 2px rgba(97, 207, 255, .6), 0 0 44px -6px rgba(29, 92, 255, .65); }
.rbh-tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.rbh-tag.warn { background: rgba(255, 59, 47, .16); border: 1px solid rgba(255, 90, 60, .5); color: #ffb4a6; }
.rbh-tag.ok { background: rgba(97, 207, 255, .14); border: 1px solid rgba(97, 207, 255, .5); color: #a5f7ff; }
.rbh-note { font-size: 11.5px; color: rgba(255, 200, 190, .72); }

/* 古い画面を走査する光 */
.rbh-scanline { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(97, 207, 255, .28) 60%, rgba(165, 247, 255, .75) 96%, transparent); animation: rbh-scan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes rbh-scan { 0% { top: -30%; } 70%, 100% { top: 100%; } }
.rbh-warn { animation: rbh-blink 1.4s ease-in-out infinite; animation-delay: var(--wd, 0s); }
@keyframes rbh-blink { 50% { opacity: .35; } }
.rbh-line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: rbh-draw 1.6s var(--ease) .9s forwards; }
@keyframes rbh-draw { to { stroke-dashoffset: 0; } }

/* 中央：Reactor 1.0 の中核 */
/* 中段：Reactor 1.0 → 取り出した設計図 */
.rbh-mid { display: flex; align-items: center; gap: 14px; padding-left: 6%; }
.rbh-core { position: relative; flex: none; display: grid; justify-items: center; gap: 2px; text-align: center; }
.rbh-beam { position: relative; flex: none; width: 54px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 179, 33, .8) 0 6px, transparent 6px 11px); }
.rbh-beam i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #ffd36b; box-shadow: 0 0 10px #ffb321; animation: rbh-dot 1.8s linear infinite; }
.rbh-beam i:nth-child(2) { animation-delay: .6s; background: #a5f7ff; box-shadow: 0 0 10px #61cfff; }
.rbh-beam i:nth-child(3) { animation-delay: 1.2s; }
@keyframes rbh-dot { from { left: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 50px; opacity: 0; } }
.rbh-core-mark { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 92, 255, .6), rgba(5, 9, 20, .96) 70%); border: 1px solid rgba(97, 207, 255, .65); box-shadow: 0 0 40px rgba(29, 92, 255, .75), 0 0 90px rgba(97, 207, 255, .3); }
.rbh-core-mark img { width: 48px; height: 48px; }
.rbh-core-ring { position: absolute; top: 0; left: 50%; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; border: 1.5px solid rgba(97, 207, 255, .65); animation: rbh-ring 2.6s ease-out infinite; }
.rbh-core-ring.r2 { animation-delay: 1.3s; }
@keyframes rbh-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.rbh-core b { margin-top: 8px; font-size: 13.5px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.rbh-core small { font-size: 11.5px; font-weight: 700; color: #ffd36b; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }

/* 解析で取り出した設計図 */
.rbh-specs { flex: 1 1 auto; min-width: 0; padding: 12px; border-radius: 12px; background: rgba(8, 14, 32, .82); border: 1px solid rgba(97, 207, 255, .32); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rbh-specs-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: #a5f7ff; }
.rbh-specs ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; }
.rbh-specs li { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-size: 12px; color: rgba(255, 255, 255, .86); opacity: 0; transform: translateX(-8px); animation: rbh-in .5s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .35s); }
.rbh-specs li .ico { color: #61cfff; }
.rbh-specs li b { margin-left: auto; font-family: "Inter", var(--font); font-size: 13px; color: #fff; }
@keyframes rbh-in { to { opacity: 1; transform: none; } }

/* 作り直したあとの守り */
.rbh-guards { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.rbh-guards li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(18, 183, 106, .14); border: 1px solid rgba(18, 183, 106, .45); color: #9ff0c8; font-size: 11.5px; font-weight: 700; }

/* 3つの段階 */
.rbh-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; }
.rbh-steps li { position: relative; display: grid; gap: 4px; padding: 12px 12px 13px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.rbh-step-n { font-family: "Inter", var(--font); font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #61cfff; }
.rbh-step-ico { position: absolute; right: 12px; top: 11px; color: #61cfff; }
.rbh-steps li:first-child .rbh-step-ico { color: #ff8a5c; }
.rbh-steps li:nth-child(2) .rbh-step-ico { color: #ffd36b; }
.rbh-steps b { font-size: 14px; color: #fff; }
.rbh-steps small { font-size: 11.5px; line-height: 1.65; color: rgba(255, 255, 255, .66); }

@media (prefers-reduced-motion: reduce) {
  .rbh-scanline, .rbh-warn, .rbh-core-ring, .rbh-beam i { animation: none; }
  .rbh-scanline { display: none; }
  .rbh-line { animation: none; stroke-dashoffset: 0; }
  .rbh-specs li { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .rbh-note { display: none; }
  .rbh-old { width: 84% !important; }
  .rbh-new { width: 92% !important; }
  .rbh-mid { flex-wrap: wrap; padding-left: 0; }
  .rbh-beam { display: none; }
  .rbh-specs { flex-basis: 100%; }
  .rbh-tag { font-size: 11px; padding: 4px 9px; }
  .rbh-core-mark, .rbh-core-ring { width: 60px; height: 60px; }
  .rbh-core-ring { margin-left: -30px; }
  .rbh-core-mark img { width: 38px; height: 38px; }
  .rbh-guards li { font-size: 10.5px; padding: 3px 7px; }
  .rbh-steps { grid-template-columns: 1fr; }
}

/* ===== はじめてのReactor（/getting-started）：トライアル → ご契約 → 毎日の使い方 → 広げる ===== */
.gs-map ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gs-map li { position: relative; }
.gs-map li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--primary-3); border-right: 2px solid var(--primary-3); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.gs-map a { display: grid; gap: 4px; height: 100%; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-s); transition: border-color .2s, transform .2s; }
.gs-map a:hover { border-color: var(--primary-3); transform: translateY(-2px); }
.gs-map-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 11px; background: var(--bg-tint); color: var(--primary); }
.gs-map-n { font-family: "Inter", var(--font); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--primary-2); }
.gs-map b { font-size: 16px; }
.gs-map small { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.gs-sec { scroll-margin-top: calc(var(--header-h) + 20px); }
.gs-step-head { max-width: 760px; margin-bottom: 26px; }
.gs-step-n { display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px; background: var(--primary); color: #fff; font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.gs-step-head .eyebrow { display: block; }
.gs-step-head h2 { margin-top: 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; letter-spacing: -.01em; }
.gs-step-head p { margin-top: 12px; color: var(--ink-2); line-height: 1.9; }
.gs-flow { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gs-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.gs-flow li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--primary-3); border-right: 2px solid var(--primary-3); transform: translateY(-50%) rotate(45deg); }
.gs-flow-ico { color: var(--primary); }
.gs-flow-n { position: absolute; top: 16px; right: 16px; font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; color: var(--primary-3); }
.gs-flow b { font-size: 15px; }
.gs-flow small { font-size: 13px; line-height: 1.7; color: var(--muted); }
.gs-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border-radius: var(--radius-l); background: var(--bg-soft); border: 1px solid var(--line); }
.gs-split-side p { color: var(--ink-2); line-height: 1.9; }
.gs-split-side .button-row { margin-top: 14px; }
.gs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.gs-facts > div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.gs-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.gs-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.gs-facts dt { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.gs-facts dd { margin: 3px 0 0; font-weight: 800; font-size: 14.5px; }
.gs-facts-sm { grid-template-columns: 1fr; margin: 14px 0; }
.gs-facts-sm > div:nth-child(odd) { border-right: 0; }
.gs-facts-sm > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.gs-facts-sm > div:last-child { border-bottom: 0; }
.gs-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gs-path { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-s); }
.gs-path > p { color: var(--ink-2); line-height: 1.85; }
.gs-path-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--primary); font-size: 12px; font-weight: 800; }
.gs-path h3 { font-size: 22px; }
.gs-path .gs-path-price { font-family: "Inter", var(--font); font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.gs-path-price small { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--muted); }
.gs-mini-flow { list-style: none; counter-reset: gsm; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gs-mini-flow li { counter-increment: gsm; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.gs-mini-flow li::before { content: counter(gsm); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); color: #fff; font-family: "Inter", var(--font); font-size: 10.5px; font-weight: 800; }
.gs-list { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.gs-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.gs-list .ico { flex: none; margin-top: 4px; color: var(--success); }
.gs-path .button-row { margin-top: auto; padding-top: 12px; }
.gs-path-r1 { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: var(--navy-3); color: #fff; box-shadow: var(--shadow-l); }
.gs-path-r1 > p, .gs-path-r1 .gs-list li { color: rgba(255, 255, 255, .8); }
.gs-path-r1 .gs-path-tag { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.gs-path-r1 .gs-path-price { color: #fff; }
.gs-path-r1 .gs-path-price small { color: rgba(255, 255, 255, .6); }
.gs-path-r1 .gs-list { border-color: rgba(255, 255, 255, .16); }
.gs-path-r1 .gs-list .ico { color: var(--cyan); }
.gs-path-r1 .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
/* 審査の5段階：カードの中では縦に並べる */
.gs-path .r1-flow { margin: 6px 0; grid-template-columns: 1fr; gap: 6px; }
.gs-path .r1-flow li { grid-template-columns: 34px 22px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 12px; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.gs-path .r1-flow li::after { display: none; }
.gs-path .r1-flow-n { color: var(--cyan); }
.gs-path .r1-flow-ico { color: var(--cyan); }
.gs-path .r1-flow b { font-size: 14px; white-space: nowrap; }
.gs-path .r1-flow small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.gs-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.gs-note .ico { flex: none; margin-top: 4px; }
.gs-note a { color: var(--primary-2); text-decoration: underline; text-underline-offset: 2px; }
.gs-daily { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.gs-daily li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.gs-daily-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-family: "Inter", var(--font); font-weight: 800; }
.gs-daily h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.gs-daily h3 .ico { color: var(--primary-2); }
.gs-daily p { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.gs-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.gs-tips > div { display: flex; gap: 10px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.gs-tips .ico { flex: none; margin-top: 2px; color: var(--primary-2); }
.gs-tips p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.gs-tips b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
.gs-grow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gs-grow-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); }
.gs-grow-card h3 { font-size: 20px; }
.gs-grow-card > p { color: var(--ink-2); line-height: 1.85; }
.gs-grow-card .button-row { margin-top: auto; }
.gs-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding: 26px 28px; border-radius: var(--radius-l); background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; }
.gs-final h3 { font-size: 20px; }
.gs-final p { margin-top: 4px; color: rgba(255, 255, 255, .75); }
.gs-final .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
@media (max-width: 1000px) {
  .gs-map ol, .gs-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-map li:nth-child(2n)::after, .gs-flow li:nth-child(2n)::after { display: none; }
  .gs-paths, .gs-grow, .gs-split { grid-template-columns: 1fr; }
  .gs-tips { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gs-map ol, .gs-flow { grid-template-columns: 1fr; }
  .gs-map li::after, .gs-flow li::after { display: none; }
  .gs-facts { grid-template-columns: 1fr; }
  .gs-facts > div:nth-child(odd) { border-right: 0; }
  .gs-facts > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gs-facts > div:last-child { border-bottom: 0; }
  .gs-path .r1-flow li { grid-template-columns: 30px 20px minmax(0, 1fr); }
  .gs-path .r1-flow small { grid-column: 3; }
}

/* ===== トップページ：ブランドとスクロール演出（ファーストビューは対象外） ===== */

/* 見出しのラベルに、Reactor のマーク */
.home .section-heading .eyebrow::before, .home .story .eyebrow::before, .home .why-head .eyebrow::before, .home .final-inner .eyebrow::before { width: 14px; height: 14px; border-radius: 0; background: url("../img/reactor-mark.svg") center / contain no-repeat; }
.home .section-heading.sh-center .eyebrow::before { display: inline-block; }
.home .dx .eyebrow::before { width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--fire-red), var(--fire-amb)); }

/* 画面上端のスクロール進捗（先端に Reactor のマーク） */
.scroll-meter { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 60; height: 2px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.scroll-meter.on { opacity: 1; }
.scroll-meter i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--primary), var(--cyan)); box-shadow: 0 0 10px rgba(97, 207, 255, .8); }
.scroll-meter img { position: absolute; top: -10px; left: calc(var(--p, 0) * 100% - 11px); width: 22px; height: 22px; transform: rotate(calc(var(--p, 0) * 720deg)); filter: drop-shadow(0 0 6px rgba(0, 215, 255, .8)); }

/* 濃い背景のセクションに、大きな透かしのマーク */
.brand-watermark { position: absolute; top: 50%; right: -8%; z-index: 0; width: min(720px, 70vw); aspect-ratio: 1; transform: translateY(-50%); background: url("../img/reactor-mark.svg") center / contain no-repeat; opacity: .05; pointer-events: none; }
.brand-watermark.is-left { right: auto; left: -14%; top: 30%; }
.home .about-dark > .container { position: relative; z-index: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .brand-watermark { animation: wmSpin linear both; animation-timeline: view(); }
    @keyframes wmSpin { from { transform: translateY(-50%) rotate(-40deg) scale(.9); } to { transform: translateY(-50%) rotate(50deg) scale(1.05); } }
  }
}

/* 見出しが、スクロールに合わせて浮かび上がる */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .home .section-heading h2, .home .why-title { animation: hRise linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
    @keyframes hRise { from { opacity: .1; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  }
}

/* ---------- 使い方の3段階（スクロールで切り替え。段階ごとに画面の絵と説明） ---------- */
.story { position: relative; height: 330vh; background: radial-gradient(900px 600px at 25% 60%, rgba(0, 72, 255, .26), transparent 65%), var(--navy); color: #fff; }
.story-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; overflow: hidden; }
.story-sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(97, 207, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(97, 207, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 30% 55%, #000, transparent 70%); pointer-events: none; }
.story-sticky > .container { position: relative; padding-top: calc(var(--header-h) + 8px); }
.story-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 28px; margin-bottom: 22px; }
.story-head .eyebrow { flex-basis: 100%; }
.story-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; }
.story-head h2 em { font-style: normal; background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-tabs { list-style: none; margin: 0; padding: 4px; display: flex; gap: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.story-tabs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 800; color: rgba(255, 255, 255, .55); transition: background .4s, color .4s; }
.story-tabs li span { font-family: "Inter", var(--font); font-size: 11.5px; letter-spacing: .08em; color: var(--cyan); }
.story[data-stage="0"] .story-tabs li[data-i="0"], .story[data-stage="1"] .story-tabs li[data-i="1"], .story[data-stage="2"] .story-tabs li[data-i="2"] { background: var(--cyan); color: var(--navy); }
.story[data-stage="0"] .story-tabs li[data-i="0"] span, .story[data-stage="1"] .story-tabs li[data-i="1"] span, .story[data-stage="2"] .story-tabs li[data-i="2"] span { color: var(--navy); }
.story-panels { position: relative; min-height: min(520px, calc(100vh - var(--header-h) - 190px)); }
.story-panel { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .55s, transform .55s, visibility 0s .55s; }
.story[data-stage="0"] .story-panel[data-i="0"], .story[data-stage="1"] .story-panel[data-i="1"], .story[data-stage="2"] .story-panel[data-i="2"] { opacity: 1; visibility: visible; transform: none; transition: opacity .55s, transform .55s, visibility 0s; }
.story-copy .story-n { font-family: "Inter", var(--font); font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--cyan); }
.story-copy h3 { margin-top: 6px; font-size: clamp(40px, 5.2vw, 68px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.story-panel[data-i="2"] .story-copy h3 { background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-sub { margin-top: 12px; font-size: 19px; font-weight: 800; color: #fff; }
.story-desc { margin-top: 10px; max-width: 520px; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.95; }
.story-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; max-width: 520px; }
.story-roles > div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(97, 207, 255, .22); }
.story-roles dt { font-size: 11.5px; font-weight: 800; color: var(--cyan); }
.story-roles dd { margin: 4px 0 0; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.story-bar { position: relative; height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.story-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--sp, 0) * 100%); background: linear-gradient(90deg, var(--primary-2), var(--cyan)); }

/* 画面の絵（ウィンドウ） */
.sv-win { border-radius: 16px; background: linear-gradient(180deg, #0f1b36, #0a1428); border: 1px solid rgba(97, 207, 255, .3); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 50px -10px rgba(0, 120, 255, .35); overflow: hidden; }
.sv-win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); font-size: 12px; }
.sv-win-bar > span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.sv-win-bar .sv-mark { width: 16px; height: 16px; margin-left: 8px; }
.sv-win-bar b { color: rgba(255, 255, 255, .8); font-weight: 700; }
.sv-win-body { display: grid; gap: 12px; padding: 18px; font-size: 13px; line-height: 1.7; }
.sv-who { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; color: rgba(255, 255, 255, .55); }
.sv-msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; }
.sv-msg p { margin: 0; }
.sv-msg.me { justify-self: end; background: #1d5cff; border-bottom-right-radius: 4px; }
.sv-msg.me .sv-who { color: rgba(255, 255, 255, .75); }
.sv-msg.ai { background: rgba(255, 255, 255, .07); border: 1px solid rgba(97, 207, 255, .25); border-bottom-left-radius: 4px; }
.sv-msg.ai .sv-who { color: var(--cyan); }
.sv-msg ul { margin: 6px 0 0; padding-left: 18px; }
.sv-file { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sv-chips span { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(97, 207, 255, .5); color: var(--cyan); font-size: 12px; font-weight: 700; }
.sv-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .5); }
.sv-input .ico { color: var(--cyan); }
.sv-build { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: start; }
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sv-steps li { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.sv-steps li .ico { flex: none; color: #34d399; }
.sv-steps li.now { border-color: rgba(97, 207, 255, .55); background: rgba(97, 207, 255, .1); color: #fff; }
.sv-steps li.now i, .sv-months span.now i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sv-app { padding: 12px; border-radius: 12px; background: #fff; color: var(--ink); }
.sv-app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; }
.sv-app-head span { padding: 3px 8px; border-radius: 7px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; }
.sv-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.sv-row em { padding: 2px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; white-space: nowrap; }
.sv-row em.wait { background: #fff4d6; color: #a15c00; }
.sv-row em.ok { background: #dcfce7; color: #157a3d; }
.sv-row em.back { background: #ffe1e1; color: #b42318; }
.sv-route { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 9px; border-radius: 8px; background: var(--bg-tint); color: var(--primary); font-size: 11.5px; font-weight: 800; }
.sv-months { display: flex; gap: 6px; }
.sv-months span { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 0; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 800; }
.sv-months span .ico { color: #34d399; }
.sv-months span.now { border-color: rgba(97, 207, 255, .55); background: rgba(97, 207, 255, .12); }
.sv-report { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.sv-report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sv-report-head span { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.sv-find { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.sv-find em { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-style: normal; font-size: 12px; font-weight: 900; }
.sv-find em.mid { background: #fff4d6; color: #a15c00; }
.sv-find em.low { background: #e0ecff; color: #1d4ed8; }
.sv-find b { display: block; font-size: 13px; }
.sv-find small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .62); font-size: 12px; }
.sv-fix { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-radius: 10px; background: #1d5cff; font-size: 12.5px; font-weight: 700; }

/* 段階が切り替わった瞬間、絵の中身が順に現れる */
@media (prefers-reduced-motion: no-preference) {
  .story-panel .sv-win-body > *, .story-panel .sv-steps li, .story-panel .sv-row, .story-panel .sv-find { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
  .story[data-stage="0"] .story-panel[data-i="0"] .sv-win-body > *, .story[data-stage="1"] .story-panel[data-i="1"] .sv-win-body > *, .story[data-stage="2"] .story-panel[data-i="2"] .sv-win-body > *,
  .story[data-stage="1"] .story-panel[data-i="1"] .sv-steps li, .story[data-stage="1"] .story-panel[data-i="1"] .sv-row, .story[data-stage="2"] .story-panel[data-i="2"] .sv-find,
  .story[data-stage="all"] .sv-win-body > *, .story[data-stage="all"] .sv-steps li, .story[data-stage="all"] .sv-row, .story[data-stage="all"] .sv-find { opacity: 1; transform: none; }
  .story-panel .sv-win-body > :nth-child(2), .story-panel .sv-steps li:nth-child(2), .story-panel .sv-row:nth-of-type(2), .story-panel .sv-find:nth-of-type(2) { transition-delay: .25s; }
  .story-panel .sv-win-body > :nth-child(3), .story-panel .sv-steps li:nth-child(3), .story-panel .sv-row:nth-of-type(3) { transition-delay: .5s; }
  .story-panel .sv-steps li:nth-child(4) { transition-delay: .75s; }
}

/* 3つを縦に並べて全部見せる（狭い画面・動きを減らす設定） */
.story[data-stage="all"] { height: auto; }
.story[data-stage="all"] .story-sticky { position: relative; height: auto; padding: 96px 0; }
.story[data-stage="all"] .story-sticky > .container { padding-top: 0; }
.story[data-stage="all"] .story-tabs, .story[data-stage="all"] .story-bar { display: none; }
.story[data-stage="all"] .story-panels { min-height: 0; display: grid; gap: 56px; }
.story[data-stage="all"] .story-panel { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; }
@media (max-width: 900px) {
  .story-panel { grid-template-columns: 1fr; gap: 22px; }
  .story-panel .story-visual { order: 2; }
  .story-copy h3 { font-size: 40px; }
  .story-roles { grid-template-columns: 1fr; }
  .sv-build { grid-template-columns: 1fr; }
}

/* ---------- 理由カードの線画 ---------- */
.reason:has(.reason-art) .reason-num { top: auto; bottom: 16px; font-size: 64px; opacity: .8; }
.reason-art { display: grid; place-items: center; height: 132px; margin: -6px -6px 14px; border-radius: 14px; background: radial-gradient(circle at 50% 60%, rgba(0, 92, 255, .22), transparent 70%), rgba(255, 255, 255, .03); border: 1px solid rgba(97, 207, 255, .12); color: rgba(255, 255, 255, .55); }
.reason-art .ra-art { width: auto; height: 112px; max-width: 86%; }
.reason-art .ra-acc { stroke: var(--cyan); color: var(--cyan); }

/* ---------- 作れるシステムの見本（画面の線画） ---------- */
.made-mock { margin: -4px -4px 14px; padding: 10px; border-radius: 12px; background: linear-gradient(160deg, var(--bg-tint), #fff); border: 1px solid var(--line); }
.made-mock svg { display: block; width: 100%; height: auto; }
.made-mock .mm-win { fill: #fff; stroke: #cfdcf7; stroke-width: 1.2; }
.made-mock .mm-bar { stroke: #e3ebfb; stroke-width: 1.2; }
.made-mock .mm-dot { fill: #d6e1f8; }
.made-mock .mm-col { fill: #f4f7fe; stroke: #e1e9fa; stroke-width: 1.1; }
.made-mock .mm-card { fill: #eaf0fd; stroke: #d4e0fa; stroke-width: 1; }
.made-mock .mm-card.acc, .made-mock .mm-pin.acc { fill: rgba(29, 92, 255, .14); stroke: var(--primary-2); stroke-width: 1.4; }
.made-mock .mm-pin { fill: #fff; stroke: var(--primary-3); stroke-width: 1.6; }
.made-mock .mm-line { stroke: #c9d6f2; stroke-width: 3; }
.made-mock .mm-acc { stroke: var(--primary-2); stroke-width: 2.4; }
.made-card:hover .made-mock { border-color: var(--primary-3); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .made-mock .mm-acc { stroke-dasharray: 160; animation: mmDraw linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
    @keyframes mmDraw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
  }
}

/* ---------- 最後の呼びかけ：ロックアップ ---------- */
.final-lockup { display: block; width: 168px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 0 24px rgba(0, 170, 255, .45)); }

/* =====================================================================
   ヘルプセンター（一覧・記事）
   ===================================================================== */
.help-quick { margin-top: 36px; }
.help-quick-title { font-size: 18px; margin-bottom: 14px; }
.help-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.help-quick-grid a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); transition: transform .2s, border-color .2s; }
.help-quick-grid a:hover { transform: translateY(-2px); border-color: var(--primary-3); }
.help-quick-grid b { font-size: 14.5px; line-height: 1.5; }
.help-quick-ico, .help-group-ico { flex: none; display: inline-flex; width: 38px; height: 38px; border-radius: 11px; align-items: center; justify-content: center; background: var(--bg-tint); color: var(--primary); }
.help-cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 8px; padding: 14px; border-radius: var(--radius-l); background: var(--bg-soft); border: 1px solid var(--line); }
.help-cat-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.help-cat-nav a:hover { border-color: var(--primary-3); color: var(--primary); }
.help-cat-nav a .ico { color: var(--primary-2); }
.help-cat-nav small { font-size: 11.5px; font-weight: 800; color: var(--muted); }
.help-group { margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 20px); }
.help-group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.help-group-head h2 { font-size: 22px; }
.help-group-head p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.help-group .article-list { margin-top: 18px; }
.help-bottom { margin-top: 56px; }

/* 記事ページ */
.help-article-layout { grid-template-columns: 260px minmax(0, 1fr); }
.help-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding-right: 6px; }
.help-side-group { display: grid; gap: 1px; }
.help-side-group > span { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.help-side-group > span .ico { color: var(--primary-2); }
.help-side a { padding: 7px 10px; border-radius: 9px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); font-weight: 600; }
.help-side a:hover { background: var(--bg-soft); }
.help-side a[aria-current="page"] { background: var(--bg-tint); color: var(--primary); }
.help-article { max-width: 860px; min-width: 0; }
.help-article-head { margin-bottom: 18px; }
.help-article-head .chip { gap: 6px; }
.help-toc { padding: 18px 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 32px; }
.help-toc b { font-size: 14px; }
.help-toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.help-toc a { color: var(--primary-2); font-weight: 700; }
.help-body { max-width: none; }
.help-section { scroll-margin-top: calc(var(--header-h) + 20px); }
.help-section + .help-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.help-section h2 { margin-top: 0; }
.help-body a { color: var(--primary-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.help-steps { list-style: none; counter-reset: hs; display: grid; gap: 10px; margin: 16px 0; padding: 0; }
.help-steps li { counter-increment: hs; position: relative; display: grid; gap: 4px; padding: 14px 16px 14px 58px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.help-steps li::before { content: counter(hs); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: "Inter", var(--font); font-weight: 800; font-size: 13px; }
.help-steps b { font-size: 15.5px; }
.help-steps span { color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.help-note { display: block; margin: 14px 0; padding: 13px 16px; border-radius: 12px; font-size: 14px; line-height: 1.8; background: var(--bg-tint); border: 1px solid #cfe0ff; color: var(--ink-2); }
.help-note.warn { background: #fff8ea; border-color: #ffe2b0; color: #6b4300; }
.help-table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.help-table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.help-table th, .help-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.help-table thead th { background: var(--bg-soft); font-weight: 800; color: var(--ink); white-space: nowrap; }
.help-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.help-table td { color: var(--ink-2); }
.help-table tr:last-child th, .help-table tr:last-child td { border-bottom: 0; }
.help-links { margin-top: 32px; }
.help-related { margin-top: 48px; }
.help-related h2 { font-size: 20px; }
.help-related .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.help-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding: 18px 20px; border-radius: var(--radius-l); background: var(--bg-soft); border: 1px solid var(--line); }
.help-ask b { display: block; font-size: 15px; }
.help-ask span { font-size: 13.5px; color: var(--muted); }
.help-ask .button-row { margin-top: 0; }

@media (max-width: 1100px) { .help-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .help-article-layout { grid-template-columns: 1fr; }
  .help-side { position: static; max-height: none; display: none; }
  .help-related .article-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .help-quick-grid { grid-template-columns: 1fr; }
  .help-steps li { padding-left: 52px; }
}

/* ===== トップ：診断 → 使い方 のつなぎ（背景を濃紺へ切り替え、次のセクションと地続きにする） ===== */
.home .dx-section { padding-bottom: 0; background: linear-gradient(180deg, #fff 0%, #fff 34%, #101a33 70%, var(--navy) 100%); }
.dx-bridge { display: grid; justify-items: center; gap: 30px; padding: 34px 0 10px; }
.dx-bridge .button-row { justify-content: center; }
.dx-cue { display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.dx-cue b { font-weight: 800; letter-spacing: .04em; }
.dx-cue img { width: 34px; height: 34px; filter: drop-shadow(0 0 12px rgba(0, 215, 255, .8)); }
.dx-cue .ico { color: var(--cyan); }
.dx-cue-line { width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--cyan)); }
.dx-cue:hover b { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .dx-cue .ico { animation: cueDrop 1.8s ease-in-out infinite; }
  @keyframes cueDrop { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }
}
/* 使い方セクションの上端は、診断セクションの濃紺から続ける */
.home .dx-section + .story { background: radial-gradient(900px 600px at 25% 60%, rgba(0, 72, 255, .26), transparent 65%), var(--navy); }

/* ===== 2製品カード：右上の Reactor マーク ===== */
.tier-card { position: relative; overflow: hidden; }
.tier-mark { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; opacity: .9; pointer-events: none; }
.tier-card.r1 .tier-mark { top: 14px; right: 14px; width: 92px; height: 92px; opacity: 1; filter: drop-shadow(0 0 18px rgba(0, 215, 255, .7)); }
@media (prefers-reduced-motion: no-preference) {
  .tier-card.r1 .tier-mark { animation: tierSpin 24s linear infinite; }
  @keyframes tierSpin { to { transform: rotate(360deg); } }
}
.tier-card h3, .tier-card .tier-lead { padding-right: 80px; }

/* ===== 関係図：Reactor-mini で作ったアプリ → Reactor 1.0 が診断 ===== */
.r1-shield-diagram { gap: 14px; }
.r1s-node { position: relative; padding: 26px 18px 22px; justify-items: center; }
.r1s-mark { width: 40px; height: 40px; margin-bottom: 6px; }
.r1s-node.r1 .r1s-mark { width: 56px; height: 56px; filter: drop-shadow(0 0 14px rgba(0, 215, 255, .8)); }
.r1s-apps { display: flex; gap: 6px; margin-top: 10px; }
.r1s-apps i { width: 26px; height: 20px; border-radius: 5px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-tint) 0 34%, #fff 34%); }
.r1s-log { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 10px; }
.r1s-log em { padding: 2px 8px; border-radius: 999px; background: rgba(97, 207, 255, .14); border: 1px solid rgba(97, 207, 255, .35); color: var(--cyan); font-style: normal; font-size: 11px; font-weight: 800; }
.r1s-beam { display: flex; gap: 5px; }
.r1s-beam i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-2); opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .r1s-beam i { animation: beamDot 1.4s ease-in-out infinite; }
  .r1s-beam i:nth-child(2) { animation-delay: .2s; }
  .r1s-beam i:nth-child(3) { animation-delay: .4s; }
  @keyframes beamDot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
}

/* ===== 救済の帯：いまのシステム → 安全な設計で作り直す（線画） ===== */
.r1-rescue { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.r1-rescue > div:first-child { max-width: none; }
.r1-rescue-copy .button-row { margin-top: 18px; }
.r1-rescue-art { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 18px; border-radius: var(--radius-l); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
.r1-rescue-art figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.r1-rescue-art .ra-art { width: 100%; max-width: 190px; }
.r1-rescue-art .ra-red { stroke: #ff6b6b; }
.r1-rescue-art figure.acc { color: rgba(255, 255, 255, .85); }
.r1-rescue-art figcaption { font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .7); }
.r1r-arrow { display: grid; justify-items: center; gap: 4px; color: var(--cyan); }
.r1r-arrow img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(0, 215, 255, .8)); }
@media (max-width: 900px) {
  .r1-rescue { grid-template-columns: 1fr; }
  .tier-card h3, .tier-card .tier-lead { padding-right: 64px; }
  .tier-mark { width: 48px; height: 48px; }
  .tier-card.r1 .tier-mark { width: 64px; height: 64px; }
}
@media (max-width: 560px) {
  .r1-shield-diagram { grid-template-columns: 1fr; }
  .r1s-arrow { transform: rotate(90deg); }
}
.mobile-soon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.option-card h3 .chip, .mobile-soon .chip { vertical-align: middle; }

/* =====================================================================
   どこからでも無料セキュリティ診断へ（右端の縦タブ／スマホの下部ボタン帯）
   診断UI（.dx）と同じ炎の配色：赤 #ff3b2f → 朱 #ff6a1a → 琥珀 #ffb321
   ===================================================================== */
/* 右端のドック：診断タブ（炎）とサービス資料ボタン（Reactorの青）を縦に並べる */
.edge-dock {
  position: fixed; right: 0; top: 50%; z-index: 180; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.dx-side-tab {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 11px 20px; border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #ff3b2f 0%, #ff6a1a 62%, #ff8f1f 100%);
  color: #fff; font-weight: 800; font-size: 14.5px; letter-spacing: .14em;
  box-shadow: -6px 10px 28px -8px rgba(255, 70, 30, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: padding-right .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.dx-side-tab span { writing-mode: vertical-rl; text-orientation: upright; line-height: 1; }
.dx-side-tab .ico { flex: none; color: #fff3c4; filter: drop-shadow(0 0 6px rgba(255, 220, 120, .7)); animation: dx-tab-blink 2.4s ease-in-out infinite; }
.dx-side-tab:hover { padding-right: 17px; filter: brightness(1.06); box-shadow: -10px 14px 34px -8px rgba(255, 70, 30, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.dx-side-tab:focus-visible { outline: 3px solid #ffb321; outline-offset: 3px; }
@keyframes dx-tab-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* サービス資料（PDF）のダウンロード：Reactorマークの青いタブ → ポップオーバーで4種の資料 */
.doc-tab {
  display: inline-flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 14px 11px 18px; border: 0; border-radius: 14px 0 0 14px; cursor: pointer;
  background: linear-gradient(180deg, var(--primary-2) 0%, var(--primary) 100%);
  color: #fff; font: inherit; font-weight: 800; font-size: 13.5px; letter-spacing: .14em;
  box-shadow: -6px 10px 28px -8px rgba(0, 53, 195, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: padding-right .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.doc-tab span { writing-mode: vertical-rl; text-orientation: upright; line-height: 1; }
.doc-tab-mark { flex: none; color: #fff; filter: drop-shadow(0 0 6px rgba(97, 207, 255, .8)); }
.doc-tab:hover { padding-right: 17px; filter: brightness(1.08); box-shadow: -10px 14px 34px -8px rgba(0, 53, 195, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.doc-tab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.doc-menu {
  position: fixed; inset: 50% 72px auto auto; transform: translateY(-50%); margin: 0;
  width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(5, 9, 20, .45);
}
.doc-menu::backdrop { background: rgba(5, 9, 20, .28); }
.doc-menu-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; background: linear-gradient(135deg, var(--navy-2, #0b1428), var(--navy, #050914)); color: #fff; }
.doc-menu-head b { display: block; font-size: 15px; }
.doc-menu-head small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.doc-menu-head > div { flex: 1; }
.doc-menu-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-2), var(--primary)); flex: none; }
.doc-menu-close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.doc-menu-close:hover { background: rgba(255, 255, 255, .2); }
.doc-menu ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; }
.doc-menu a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .15s; }
.doc-menu a:hover, .doc-menu a:focus-visible { background: var(--bg-tint, #eaf2ff); }
.doc-menu a > .ico:last-child { color: var(--primary-2); flex: none; }
.doc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint, #eaf2ff); color: var(--primary-2); flex: none; }
.doc-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.doc-txt b { font-size: 14px; line-height: 1.4; }
.doc-txt small { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.doc-txt em { font-style: normal; font-size: 11.5px; color: var(--muted); }

.mobile-cta { display: none; }

@media (max-width: 860px) {
  .dx-side-tab { display: none; }
  /* スマホは資料ボタンをマークだけの小さなタブに。メニューは画面下から */
  .edge-dock { top: auto; bottom: calc(150px + env(safe-area-inset-bottom)); transform: none; }
  .doc-tab { padding: 10px 9px 10px 11px; }
  .doc-tab span { display: none; }
  .doc-menu { inset: auto 16px calc(16px + env(safe-area-inset-bottom)) 16px; transform: none; width: auto; max-height: calc(100vh - 48px); }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 12, 26, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 48px; border-radius: 12px; font-weight: 800; font-size: 14.5px; color: #fff; }
  .mobile-cta-diag { background: linear-gradient(135deg, #ff3b2f, #ff6a1a 70%, #ff8f1f); box-shadow: 0 6px 18px -6px rgba(255, 70, 30, .7); }
  .mobile-cta-diag .ico { color: #fff3c4; }
  .mobile-cta-start { background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 6px 18px -6px rgba(0, 53, 195, .6); }
  /* 下部の帯のぶん、本文の末尾とAIボタンを上へ */
  body:has(.mobile-cta) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body:has(.mobile-cta) .ai-help { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body:has(.mobile-cta) .toast-host { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .dx-side-tab .ico { animation: none; } }
@media print { .edge-dock, .doc-menu, .mobile-cta { display: none !important; } }

/* ===== Web集客サービス（/web・/web/*）：安全なリニューアル・アクセス解析＆改善・AI広告運用 ===== */
.ws-art { width: 100%; height: auto; color: var(--ink-2); }
.ws-art .ws-acc { stroke: var(--primary-2); color: var(--primary-2); }
.ws-art .ws-red { stroke: #e02424; }
.ws-tag { align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--primary); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }

/* 段階図：診断 → リニューアル → 解析 → 広告 */
.ws-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: wsj; }
.ws-journey li { position: relative; }
.ws-journey li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--primary-3); border-right: 2px solid var(--primary-3); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.ws-journey a { display: grid; gap: 4px; height: 100%; padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-s); transition: border-color .2s, transform .2s; }
.ws-journey a:hover { border-color: var(--primary-3); transform: translateY(-3px); }
.ws-journey li:first-child a { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: var(--navy-3); color: #fff; }
.ws-j-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: var(--bg-tint); color: var(--primary); }
.ws-journey li:first-child .ws-j-ico { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.ws-journey small { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--primary-2); }
.ws-journey li:first-child small { color: var(--cyan); }
.ws-journey b { font-size: 16px; line-height: 1.4; }
.ws-j-d { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.ws-journey li:first-child .ws-j-d { color: rgba(255, 255, 255, .7); }
.ws-journey em { margin-top: 6px; font-style: normal; font-family: "Inter", var(--font); font-size: 15px; font-weight: 800; color: var(--ink); }
.ws-journey li:first-child em { color: #7ee8b8; }

/* トップ・診断ページの帯 */
.ws-band { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.ws-band-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 26px; }
.ws-band-art { padding: 18px; border-radius: var(--radius-l); background: radial-gradient(circle at 60% 50%, rgba(29, 92, 255, .1), transparent 70%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.ws-band .button-row { margin-top: 24px; }

/* サービス3枚 */
.ws-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ws-service { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; color: var(--ink); box-shadow: var(--shadow-s); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ws-service:hover { border-color: var(--primary-3); transform: translateY(-3px); box-shadow: var(--shadow); }
.ws-service-art { margin: -4px -4px 6px; padding: 14px; border-radius: 14px; background: linear-gradient(160deg, var(--bg-tint), #fff); border: 1px solid var(--line); }
.ws-service h3 { font-size: 20px; }
.ws-service > p { color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.ws-service .text-link { margin-top: auto; color: var(--primary-2); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.ws-price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.ws-price > div { padding: 10px 12px; }
.ws-price > div + div { border-left: 1px solid var(--line); }
.ws-price small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.ws-price b { font-family: "Inter", var(--font); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }

/* 体験の4ステップ・好循環・毎月のサイクル */
.ws-try, .ws-loop, .ws-cycle { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ws-try { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-try li { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.ws-try li span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 50%; background: var(--primary); color: #fff; font-family: "Inter", var(--font); font-weight: 800; font-size: 13px; }
.ws-try li b { font-size: 15px; }
.ws-try li small { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.ws-try li:nth-child(3) { border-color: var(--primary-3); background: var(--bg-tint); }
.ws-loop { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ws-cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-loop li, .ws-cycle li { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.ws-loop li > .ico, .ws-cycle li > .ico { color: var(--primary); }
.ws-loop b, .ws-cycle b { font-size: 15px; }
.ws-loop small, .ws-cycle small { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.ws-loop-n { position: absolute; top: 14px; right: 14px; font-family: "Inter", var(--font); font-size: 12px; font-weight: 800; color: var(--primary-3); }
.ws-loop li:last-child::after, .ws-cycle li:last-child::after { content: "↻"; position: absolute; right: 14px; bottom: 10px; color: var(--primary-2); font-weight: 800; }

/* 料金表 */
.ws-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ws-plan { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-s); }
.ws-plan h3 { display: grid; gap: 2px; font-size: 18px; line-height: 1.35; }
.ws-plan h3 small { font-size: 12px; color: var(--muted); font-weight: 700; }
.ws-plan > p { font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.ws-plan ul { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.ws-plan li { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); }
.ws-plan li .ico { flex: none; margin-top: 3px; color: var(--success); }
.ws-plan.free { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: var(--navy-3); color: #fff; }
.ws-plan.free .ws-tag { background: rgba(97, 207, 255, .16); color: var(--cyan); }
.ws-plan.free > p { color: rgba(255, 255, 255, .75); }
.ws-plan.free .ws-price { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.ws-plan.free .ws-price > div + div { border-color: rgba(255, 255, 255, .16); }
.ws-plan.free .ws-price small { color: rgba(255, 255, 255, .6); }
.ws-plan.free .ws-price b { color: #7ee8b8; }
.ws-plan.on { border-color: var(--primary-2); box-shadow: 0 0 0 2px rgba(29, 92, 255, .18), var(--shadow); }
.ws-extras { margin-top: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.ws-extras > b { display: flex; gap: 6px; align-items: center; font-size: 14px; }
.ws-extras ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ws-extras li { display: flex; gap: 10px; align-items: flex-start; }
.ws-extras li > .ico { flex: none; margin-top: 2px; color: var(--primary-2); }
.ws-extras li b { display: block; font-size: 13.5px; }
.ws-extras li small { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.ws-terms { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.ws-terms li, .ws-note { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.ws-terms .ico, .ws-note .ico { flex: none; margin-top: 4px; }

/* 申し込みの呼びかけ */
.ws-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-xl); background: radial-gradient(600px 300px at 100% 0%, rgba(97, 207, 255, .18), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; }
.ws-cta > div:first-child { max-width: 620px; }
.ws-cta h2 { margin-top: 8px; font-size: clamp(22px, 2.8vw, 30px); }
.ws-cta p { margin-top: 8px; color: rgba(255, 255, 255, .78); line-height: 1.85; }
.ws-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* サービスページの冒頭イラスト */
.ws-lead-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; margin-bottom: 12px; padding: 24px; border-radius: var(--radius-l); background: radial-gradient(circle at 25% 50%, rgba(29, 92, 255, .1), transparent 60%), var(--bg-soft); border: 1px solid var(--line); }
.ws-lead-art p { font-size: 16.5px; font-weight: 700; line-height: 1.9; color: var(--ink); }
.ws-pillar small { display: block; margin-top: 8px; font-size: 12px; font-weight: 800; color: var(--primary-2); }
.ws-pillar h3 { margin-top: 4px; }
.ws-issue h3, .ws-pillar h3 { font-size: 18px; }

/* AI検索の回答イメージ */
.ws-aio { margin-top: 20px; display: grid; gap: 10px; max-width: 760px; }
.ws-aio-q { justify-self: end; display: inline-flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--primary); color: #fff; font-weight: 700; }
.ws-aio-a { padding: 16px 18px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--primary-3); box-shadow: var(--shadow-s); }
.ws-aio-a > span { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 800; color: var(--primary-2); }
.ws-aio-a p { margin-top: 6px; line-height: 1.8; }
.ws-aio-a small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.ws-aio > .small { display: flex; gap: 6px; color: var(--muted); }

/* BEFORE / AFTER */
.ws-ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.ws-ba-side { padding: 24px; }
.ws-ba-side > span { display: inline-flex; gap: 6px; align-items: center; font-family: "Inter", var(--font); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.ws-ba-side ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ws-ba-side li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.7; }
.ws-ba-side li .ico { flex: none; margin-top: 4px; }
.ws-ba-side.before { background: #fff7f6; color: var(--ink-2); }
.ws-ba-side.before > span, .ws-ba-side.before .ico { color: #c2410c; }
.ws-ba-side.after { background: linear-gradient(170deg, var(--navy-2), var(--navy)); color: #fff; }
.ws-ba-side.after > span, .ws-ba-side.after .ico { color: var(--cyan); }
.ws-ba-core { display: grid; place-items: center; align-content: center; gap: 6px; padding: 16px; background: linear-gradient(90deg, #fff7f6, var(--navy-2)); color: #fff; font-size: 12px; text-align: center; }
.ws-ba-core img { width: 48px; height: 48px; filter: drop-shadow(0 0 12px rgba(0, 215, 255, .8)); }

/* 月次レポートのイメージ */
.ws-report { margin-top: 18px; max-width: 760px; border-radius: var(--radius-l); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-s); overflow: hidden; }
.ws-report-head { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 13.5px; }
.ws-report-head .ico { color: var(--primary-2); }
.ws-report-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 18px; align-items: end; }
.ws-spark { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.ws-spark i { flex: 1; border-radius: 4px 4px 0 0; background: var(--bg-tint); }
.ws-spark i:nth-last-child(-n+3) { background: linear-gradient(180deg, var(--primary-2), var(--primary)); }
.ws-report-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ws-report-body li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 13px; }
.ws-report-body li span { color: var(--muted); }

/* 申し込みフォーム */
.ws-radio { display: grid; gap: 8px; }
.form-grid .ws-radio label { font-weight: 600; }
body:has([data-web-apply-form]) .ws-journey { margin-bottom: 28px; }

@media (max-width: 1000px) {
  .ws-journey, .ws-plans, .ws-try, .ws-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-journey li:nth-child(2n)::after { display: none; }
  .ws-loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-services, .ws-extras ul { grid-template-columns: 1fr; }
  .ws-band-head, .ws-lead-art { grid-template-columns: 1fr; }
  .ws-band-art { max-width: 420px; }
}
@media (max-width: 640px) {
  .ws-journey, .ws-plans, .ws-try, .ws-cycle, .ws-loop { grid-template-columns: 1fr; }
  .ws-journey li::after { display: none; }
  .ws-ba { grid-template-columns: 1fr; }
  .ws-ba-core { background: linear-gradient(180deg, #fff7f6, var(--navy-2)); }
  .ws-report-body { grid-template-columns: 1fr; }
}

/* ===== /web：サイト総合診断（URL入力）→ 結果から次の一手へ ===== */
/* 診断する観点（タブの代わりに並べる。選ぶ必要はない） */
.dx-checks { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dx-checks li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 158, 80, .35); color: #fff; font-size: 13px; font-weight: 700; }
.dx-checks li .ico { color: var(--fire-amb, #ffb547); }
.dx-checks li:last-child { background: linear-gradient(90deg, rgba(255, 90, 60, .28), rgba(255, 170, 60, .22)); border-color: rgba(255, 170, 60, .6); }
#top-diagnosis { scroll-margin-top: var(--header-h); }
.ws-next + .ws-note { margin-top: 18px; }

/* 結果（イメージ）→ 次の一手 */
.ws-next { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: center; }
.ws-result { border-radius: var(--radius-l); background: linear-gradient(180deg, #0f1b36, #0a1428); color: #fff; border: 1px solid rgba(97, 207, 255, .3); box-shadow: 0 30px 70px -34px rgba(0, 20, 60, .8); overflow: hidden; }
.ws-result-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.ws-result-head span { margin-left: auto; color: rgba(255, 255, 255, .55); font-family: "Inter", var(--font); font-size: 12px; }
.ws-result-level { display: flex; align-items: center; gap: 16px; padding: 16px; }
.ws-level-ring { flex: none; display: grid; place-items: center; align-content: center; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(#ffb547 0 52%, rgba(255, 255, 255, .1) 52% 100%); position: relative; }
.ws-level-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #0c1730; }
.ws-level-ring b, .ws-level-ring small { position: relative; }
.ws-level-ring b { font-family: "Inter", var(--font); font-size: 30px; font-weight: 900; line-height: 1; color: #ffcf7a; }
.ws-level-ring small { font-size: 10px; color: rgba(255, 255, 255, .6); }
.ws-result-level p { font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
.ws-result-level p b { display: block; font-size: 15px; color: #fff; }
.ws-result ul { list-style: none; margin: 0; padding: 0 16px; display: grid; gap: 8px; }
.ws-result li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.ws-result li > .ico { color: var(--cyan); }
.ws-result li b { display: block; font-size: 13px; }
.ws-result li small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.ws-result li em { padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ws-result li em.bad { background: #ffe1e1; color: #b42318; }
.ws-result li em.warn { background: #fff4d6; color: #a15c00; }
.ws-result-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 16px 16px; padding: 11px; border-radius: 10px; background: linear-gradient(90deg, var(--fire-red, #f04a2a), var(--fire-amb, #ffa53a)); font-size: 13px; font-weight: 800; }
.ws-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-tint); color: var(--primary); }
.ws-next-list { display: grid; gap: 12px; }
.ws-next-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-s); transition: border-color .2s, transform .2s; }
.ws-next-card:hover { border-color: var(--primary-3); transform: translateX(4px); }
.ws-next-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--primary); }
.ws-next-body small { display: block; font-size: 12px; font-weight: 800; color: var(--primary-2); }
.ws-next-body b { display: block; font-size: 17px; }
.ws-next-body span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.ws-next-price { display: inline-flex; align-items: center; gap: 6px; font-family: "Inter", var(--font); font-weight: 800; font-size: 14px; color: var(--ink); white-space: nowrap; }
.ws-next-price .ico { color: var(--primary-2); }
@media (max-width: 960px) {
  .ws-next { grid-template-columns: 1fr; }
  .ws-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .ws-next-card { grid-template-columns: auto minmax(0, 1fr); }
  .ws-next-price { grid-column: 2; }
}

/* ===== トップ：ご利用企業のロゴ（横に流れる帯） ===== */
.clients { padding: 34px 0 30px; background: #fff; border-bottom: 1px solid var(--line); }
.clients-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; }
.clients-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.clients-label img { width: 16px; height: 16px; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-rail { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 56px; width: max-content; animation: logoRail 40s linear infinite; }
.logo-rail li { flex: none; }
.logo-rail img { display: block; width: auto; height: 40px; }
.logo-marquee:hover .logo-rail { animation-play-state: paused; }
/* 4周分のうち1周ぶん（全体の1/4）だけ動かして、つなぎ目なく繰り返す */
@keyframes logoRail { from { transform: translateX(0); } to { transform: translateX(calc(-25% - 14px)); } }
@media (prefers-reduced-motion: reduce) {
  .logo-rail { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 18px; }
  .logo-rail li[aria-hidden="true"] { display: none; }
  .logo-marquee { mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 760px) {
  .clients { padding: 24px 0 22px; }
  .clients-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; }
  .logo-marquee { width: 100%; }
  .logo-rail { gap: 36px; }
  .logo-rail img { height: 32px; }
  @keyframes logoRail { from { transform: translateX(0); } to { transform: translateX(calc(-25% - 9px)); } }
}
.pb-sw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pb-sw-note { font-size: 12.5px; font-weight: 800; color: #e5252a; white-space: nowrap; }
.pb-sw { gap: 8px 10px; }
.pb-card.dark .pb-sw-note { color: #ff8a7a; }

/* =====================================================================
   料金：Reactor 1.0 は3枚＋独自ドメイン版を下段に（初年度の金額を棒で比べる）
   ===================================================================== */
.r1-year { display: grid; gap: 2px; margin-top: 14px; padding: 14px 16px 16px; border-radius: 14px; background: rgba(97, 207, 255, .07); border: 1px solid rgba(97, 207, 255, .22); }
.r1-year-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: rgba(255, 255, 255, .62); }
.r1-year b { font-family: "Inter", var(--font); font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.r1-year small { font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.r1-year-bar { position: relative; display: block; height: 8px; margin-top: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.r1-year-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--primary-2), var(--cyan)); }
/* 「〜」（上限が決まっていない金額）は、棒の先を点線で伸ばして表す */
.r1-year-bar.open::before { content: ""; position: absolute; inset: 0 0 0 var(--w); background: repeating-linear-gradient(90deg, rgba(97, 207, 255, .55) 0 6px, transparent 6px 11px); }

.pb-addon { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 18px; padding: 22px 26px; border-radius: var(--radius-l); background: linear-gradient(120deg, var(--navy-2), var(--navy)); border: 1px solid rgba(97, 207, 255, .25); color: #fff; box-shadow: var(--shadow-s); }
.pb-addon .pb-product { color: var(--cyan); }
.pb-addon h3 { font-size: 20px; margin: 4px 0 6px; color: #fff; }
.pb-addon p { font-size: 13.5px; line-height: 1.75; color: rgba(255, 255, 255, .72); }
.pb-addon-price { display: grid; gap: 2px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.pb-addon-price span { font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .6); }
.pb-addon-price b { font-family: "Inter", var(--font); font-size: 26px; font-weight: 800; }
.pb-addon-price small { font-size: 12px; color: rgba(255, 255, 255, .62); }
.pb-addon .btn-soft { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
@media (max-width: 1000px) {
  .pb-addon { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 14px; }
  .pb-addon-price { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ===== 広告用ランディングページ（/lp/*）：ファーストビューの訴求バッジ・検索の変化・改善例 ===== */
.lp br.sp { display: none; }
.lp-badges { list-style: none; margin: -8px 0 24px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 13.5px; font-weight: 700; }
.lp-badges .ico { color: #ffb27a; }
.lp-tone-blue .lp-badges .ico { color: var(--cyan); }
/* B・C はReactorの青。診断フォーム（炎の色）はそのまま、背景と見出しだけを戻す */
.lp-tone-blue .dx-hero { background: radial-gradient(900px 420px at 50% -10%, rgba(29, 92, 255, .5), transparent 65%), linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 60%, #122a5c 100%); }
.lp-tone-blue .dx-hero-glow { background: radial-gradient(closest-side, rgba(97, 207, 255, .3), transparent 70%); }
.lp-tone-blue .dx-hero-title em { background: linear-gradient(90deg, #7fd6ff, #4f9dff 55%, #a5f7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-tone-blue .dx-hero > .container > .eyebrow.light { color: var(--cyan); }
.lp-tone-blue .dx-hero > .container > .eyebrow::before { background: linear-gradient(90deg, var(--primary-2), var(--cyan)); }
.lp .button-row { margin-top: 24px; }
.lp-sub { display: flex; align-items: center; gap: 8px; margin: 30px 0 12px; font-size: 17px; }
.lp-sub .ico { color: #c81e1e; }
.lp-art { margin-bottom: 0; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); }
.lp-shift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; margin-bottom: 24px; }
.lp-shift-col { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--radius-l); background: var(--bg-soft); border: 1px solid var(--line); }
.lp-shift-col > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.lp-shift-col b { font-size: 17px; line-height: 1.6; }
.lp-shift-col small { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.lp-shift-col.on { background: linear-gradient(170deg, var(--navy-2), var(--navy)); border-color: transparent; color: #fff; }
.lp-shift-col.on > span { color: var(--cyan); }
.lp-shift-col.on small { color: rgba(255, 255, 255, .78); }
.lp-shift-arrow { display: grid; place-items: center; color: var(--primary-2); }
.lp-ex th[scope="row"] { white-space: nowrap; font-size: 14px; }
.lp-ex td { font-size: 14px; line-height: 1.75; }
.lp-ex-before { color: var(--muted); }
.lp-ex-after { color: var(--ink); font-weight: 600; background: #f3f8ff; }
.lp-apply { scroll-margin-top: calc(var(--header-h) + 12px); }
#lp-top { scroll-margin-top: var(--header-h); }
@media (max-width: 860px) {
  .lp-shift, .lp-art { grid-template-columns: 1fr; }
  .lp-art .ws-art { max-width: 260px; justify-self: center; }
  .lp-shift-arrow { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .lp br.sp { display: inline; }
  .lp-badges { justify-content: flex-start; }
  .lp-badges li { font-size: 12.5px; }
}

/* ===== マンガでわかる無料チェック（/lp/manga-check）：表紙・縦読みマンガ・縦書きの吹き出し ===== */
.lp-manga { --ink-k: #111; --tone: radial-gradient(circle, rgba(17, 17, 17, .22) 1.1px, transparent 1.4px) 0 0 / 6px 6px; }
.mg-cover { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 56px); background: #fff; border-bottom: 4px solid var(--ink-k); }
.mg-cover-tone { position: absolute; inset: 0; background: var(--tone); -webkit-mask-image: linear-gradient(120deg, transparent 35%, #000 90%); mask-image: linear-gradient(120deg, transparent 35%, #000 90%); pointer-events: none; }
.mg-cover-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.mg-cover-tag { display: inline-block; padding: 6px 14px; background: #e02424; color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .08em; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--ink-k); }
.mg-cover-title { margin: 18px 0 14px; font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; line-height: 1.18; letter-spacing: -.02em; color: var(--ink-k); }
.mg-cover-title em { font-style: normal; color: #e02424; -webkit-text-stroke: 2px var(--ink-k); paint-order: stroke fill; }
.mg-cover-lead { max-width: 30em; font-size: clamp(15.5px, 1.6vw, 19px); font-weight: 700; line-height: 1.85; color: var(--ink); }
.mg-cover .button-row { margin-top: 22px; }
.mg-btn { box-shadow: 4px 4px 0 var(--ink-k); }
.mg-cover-art { position: relative; border: 4px solid var(--ink-k); background: #fff; transform: rotate(1.5deg); box-shadow: 8px 8px 0 var(--ink-k); overflow: hidden; }
.mg-cover-art img { display: block; width: 100%; height: auto; }

.mg-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 0; }
.mg { list-style: none; margin: 0 auto; padding: 0; max-width: 620px; display: grid; gap: 14px; }
.mg-panel figure { margin: 0; }
.mg-frame { position: relative; overflow: hidden; border: 3px solid var(--ink-k); background: #fff; }
.mg-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mg-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink-k); opacity: .82; pointer-events: none; }
.mg-cover-art .mg-lines { opacity: .55; }
.mg-band { display: flex; flex-direction: row-reverse; justify-content: space-around; align-items: flex-start; gap: 6px; padding: 10px 6px 14px; border: 3px solid var(--ink-k); border-bottom: 0; background: #fff; }
.mg-band .mg-bubble { position: relative; }

/* 吹き出し：縦書き。しっぽは ::after の三角 */
.mg-bubble { position: absolute; z-index: 2; padding: 14px 12px; background: #fff; border: 2.5px solid var(--ink-k); border-radius: 46% / 40%; box-shadow: 0 0 0 3px #fff; }
.mg-bubble p { margin: 0; writing-mode: vertical-rl; text-orientation: mixed; font-weight: 800; font-size: clamp(13.5px, 3.3vw, 17px); line-height: 1.55; letter-spacing: .04em; color: var(--ink-k); white-space: nowrap; font-feature-settings: "vpal"; }
.mg-bubble.mg-small p { font-size: clamp(12.5px, 3vw, 15px); }
.mg-bubble::after { content: ""; position: absolute; width: 18px; height: 18px; background: #fff; border: 2.5px solid var(--ink-k); border-top: 0; border-left: 0; }
.mg-tail-b::after { left: calc(50% - 9px); bottom: -10px; transform: rotate(45deg) skew(12deg, 12deg); }
.mg-tail-l::after { left: -10px; top: 46%; transform: rotate(135deg) skew(12deg, 12deg); }
.mg-tail-r::after { right: -10px; top: 46%; transform: rotate(-45deg) skew(12deg, 12deg); }
/* 心の声：点線のふち・しっぽは小さな丸 */
.mg-think { border-style: dashed; border-radius: 50%; }
.mg-think::after { width: 12px; height: 12px; border: 2.5px solid var(--ink-k); border-radius: 50%; transform: none; }
.mg-think.mg-tail-l::after { left: -18px; top: 60%; }
/* 叫び：ギザギザのふち（clip-path の外周に影で線を付ける） */
.mg-shout { border: 0; border-radius: 0; padding: 22px 18px; box-shadow: none; clip-path: polygon(50% 0, 60% 7%, 74% 2%, 78% 12%, 94% 10%, 90% 24%, 100% 32%, 92% 44%, 100% 58%, 90% 66%, 96% 82%, 80% 82%, 76% 96%, 62% 90%, 50% 100%, 38% 90%, 24% 96%, 20% 82%, 4% 82%, 10% 66%, 0 58%, 8% 44%, 0 32%, 10% 24%, 6% 10%, 22% 12%, 26% 2%, 40% 7%); }
.mg-shout-wrap { position: absolute; z-index: 2; filter: drop-shadow(2.5px 0 0 #111) drop-shadow(-2.5px 0 0 #111) drop-shadow(0 2.5px 0 #111) drop-shadow(0 -2.5px 0 #111); }
.mg-shout-wrap .mg-shout { position: relative; }
.mg-shout::after { display: none; }
.mg-shout p { font-weight: 900; font-size: clamp(15px, 3.8vw, 20px); }

/* 効果音（描き文字）とナレーション */
.mg-sfx { position: absolute; z-index: 3; transform: rotate(var(--r, 0deg)); font-weight: 900; font-size: clamp(30px, 8vw, 52px); line-height: 1; letter-spacing: -.02em; color: #fff; -webkit-text-stroke: 5px var(--ink-k); paint-order: stroke fill; pointer-events: none; }
.mg-sfx.red { color: #ff3b2f; }
.mg-caption { position: absolute; z-index: 3; padding: 6px 10px; background: #fff; border: 2.5px solid var(--ink-k); font-weight: 800; font-size: clamp(13px, 3.2vw, 16px); }

/* HTMLで描くコマ */
.mg-drawn .mg-frame { aspect-ratio: 16 / 10; }
.mg-draw { position: absolute; inset: 0; display: grid; place-items: center; background: var(--tone), #fff; }
.mg-tv { width: 82%; aspect-ratio: 16 / 9; display: grid; align-content: end; gap: 4px; padding: 0 0 8%; border: 3px solid var(--ink-k); border-radius: 10px; background: linear-gradient(180deg, #2b2f38, #0b0d12); box-shadow: 0 10px 0 -4px var(--ink-k); overflow: hidden; }
.mg-tv-flash { justify-self: start; margin-left: 4%; padding: 2px 8px; background: #e02424; color: #fff; font-weight: 900; font-size: clamp(11px, 2.6vw, 14px); }
.mg-tv b { margin: 0 4%; padding: 6px 10px; background: #fff; color: #e02424; font-weight: 900; font-size: clamp(16px, 4.6vw, 26px); border: 2px solid var(--ink-k); }
.mg-tv small { margin: 0 4%; padding: 3px 10px; background: rgba(255, 255, 255, .9); color: var(--ink-k); font-weight: 700; font-size: clamp(11px, 2.7vw, 14px); }
.mg-browser { width: 86%; border: 3px solid var(--ink-k); border-radius: 10px; background: #fff; box-shadow: 6px 6px 0 var(--ink-k); overflow: hidden; }
.mg-browser-bar { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 2.5px solid var(--ink-k); background: #f1f1f1; }
.mg-browser-bar i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-k); }
.mg-browser-body { position: relative; display: grid; gap: 10px; padding: 16px; background: linear-gradient(160deg, #1a0708, #3a0e07); }
.mg-ui-label { display: inline-flex; align-items: center; gap: 6px; color: #ffb27a; font-weight: 800; font-size: 13px; }
.mg-ui-field { padding: 10px 12px; border-radius: 8px; background: #fff; color: var(--ink-k); font-weight: 700; font-size: clamp(13px, 3.2vw, 16px); }
.mg-ui-go { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; border-radius: 999px; background: linear-gradient(135deg, #ff3b2f, #ff8f1f); color: #fff; font-weight: 900; font-size: clamp(13px, 3.2vw, 16px); }
.mg-ui-hand { position: absolute; right: 18%; bottom: 2px; width: 34px; height: 34px; fill: #fff; stroke: var(--ink-k); stroke-width: 1.6; stroke-linejoin: round; }
.mg-result-card { width: 84%; border: 3px solid var(--ink-k); border-radius: 10px; background: #fff; box-shadow: 6px 6px 0 var(--ink-k); overflow: hidden; }
.mg-result-head { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-bottom: 2.5px solid var(--ink-k); background: #f6f6f6; font-size: 13px; }
.mg-result-head span { color: var(--muted); font-weight: 700; }
.mg-result-card ul { list-style: none; margin: 0; padding: 8px 12px 12px; display: grid; gap: 8px; }
.mg-result-card li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: clamp(12.5px, 3vw, 15px); line-height: 1.45; }
.mg-result-card em { flex: none; font-style: normal; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 900; border: 2px solid var(--ink-k); }
.mg-result-card em.bad { background: #e02424; color: #fff; }
.mg-result-card em.warn { background: #ffd34d; color: var(--ink-k); }

.mg-end { margin: 26px auto 0; max-width: 620px; display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 900; font-size: clamp(17px, 2.4vw, 22px); }
.mg-end .ico { color: #e02424; animation: mg-bob 1.4s ease-in-out infinite; }
@keyframes mg-bob { 50% { transform: translateY(5px); } }
.mg-form { scroll-margin-top: calc(var(--header-h) + 8px); max-width: 900px; margin: 18px auto 0; padding: clamp(22px, 4vw, 36px) clamp(14px, 3vw, 28px); border-radius: var(--radius-xl); background: radial-gradient(700px 300px at 50% -10%, rgba(255, 70, 30, .42), transparent 65%), linear-gradient(170deg, #0c0405, #1a0708 60%, #3a0e07); color: #fff; text-align: center; }
.mg-form-title { font-size: clamp(22px, 3.4vw, 32px); line-height: 1.4; }
.mg-badges { margin: 14px 0 18px; }
.mg-form .dx { text-align: left; }
.mg-note { max-width: 900px; margin: 14px auto 0; }
.mg-after { padding-top: 8px; }
@media (max-width: 860px) {
  .mg-cover-inner { grid-template-columns: 1fr; }
  .mg-cover-art { max-width: 420px; justify-self: center; width: 92%; }
}
@media (prefers-reduced-motion: reduce) { .mg-end .ico { animation: none; } }

/* ===== /security：ニュースコーナー（NEWS WATCH）。画像は docs/完成画像 の 01〜03 ===== */
.news-watch { padding: clamp(14px, 2vw, 22px); border-radius: var(--radius-xl); background: radial-gradient(800px 300px at 10% 0%, rgba(255, 70, 50, .18), transparent 60%), #120a0c; box-shadow: 0 30px 70px -30px rgba(40, 0, 0, .7); }
.nw-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 14px; color: #fff; }
.nw-head span { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-family: "Inter", var(--font); font-size: clamp(16px, 1.8vw, 22px); font-weight: 900; letter-spacing: .02em; }
.nw-head span small { font-family: var(--font); font-size: clamp(14px, 1.6vw, 20px); font-weight: 800; }
.nw-head span i { align-self: center; width: 12px; height: 12px; border-radius: 50%; background: #ff4a32; box-shadow: 0 0 12px #ff4a32; }
.nw-head em { flex: none; font-style: normal; font-family: "Inter", var(--font); font-size: 13px; font-weight: 800; letter-spacing: .24em; color: #ff6a4a; }
.nw-grid { display: grid; grid-template-columns: minmax(0, 773fr) minmax(0, 381fr); grid-template-rows: auto auto; gap: 14px; }
.nw-grid figure { margin: 0; }
/* 画像そのものに枠が描かれているので、HTML側では枠を付けない */
.nw-grid img { display: block; width: 100%; height: auto; }
.nw-main { grid-row: span 2; }
@media (prefers-reduced-motion: no-preference) {
  .nw-head span i { animation: nwLive 1.6s ease-in-out infinite; }
  @keyframes nwLive { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
}
.sec-issue-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.sec-issue-body .about-mini-list a { color: var(--primary-2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .nw-grid { grid-template-columns: 1fr 1fr; }
  .nw-main { grid-column: 1 / -1; grid-row: auto; }
  .sec-issue-body { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nw-grid { grid-template-columns: 1fr; }
  .nw-head em { display: none; }
}

/* サービス資料：文字＝ブラウザで開く／右のアイコン＝ダウンロード */
.doc-menu .doc-row { display: flex; align-items: stretch; gap: 4px; }
.doc-menu .doc-open { flex: 1; min-width: 0; }
.doc-menu .doc-dl { flex: none; width: 46px; justify-content: center; padding: 0; color: var(--primary-2); }
.doc-menu .doc-dl:hover, .doc-menu .doc-dl:focus-visible { background: var(--bg-tint, #eaf2ff); color: var(--primary); }

/* =====================================================================
   診断フォームは2種類（2026-10-20）
   セキュリティ診断＝赤・朱（既定の .dx）／SEO・AIO診断＝Reactor の青（.dx-seo）
   ===================================================================== */
.dx-checks li:last-child { background: rgba(255, 255, 255, .06); border-color: rgba(255, 158, 80, .35); }

.dx.dx-seo { background: linear-gradient(160deg, #04122e 0%, #071c46 55%, #0a2c6b 100%); border-color: rgba(97, 207, 255, .3); }
.dx.dx-seo::after { background: radial-gradient(closest-side, rgba(29, 92, 255, .45), transparent 70%); }
.dx-seo .eyebrow.light { color: var(--cyan); }
.dx-seo .eyebrow::before { background: linear-gradient(90deg, var(--primary-2), var(--cyan)); }
.dx-seo .dx-mark { background: rgba(29, 92, 255, .14); border-color: rgba(97, 207, 255, .45); box-shadow: 0 0 30px -6px rgba(29, 92, 255, .6); }
.dx-seo .dx-mark img, .dx-seo .dx-core img { filter: none; }
.dx-seo .dx-note .ico { color: var(--cyan); }
.dx-seo .dx-meta a { color: #a5f7ff; }
.dx-seo .dx-console { background: rgba(3, 10, 28, .62); border-color: rgba(97, 207, 255, .3); box-shadow: 0 0 0 1px rgba(97, 207, 255, .06) inset, 0 34px 70px -34px rgba(29, 92, 255, .6); }
.dx-seo .dx-checks { border-bottom-color: rgba(97, 207, 255, .16); }
.dx-seo .dx-checks li { border-color: rgba(97, 207, 255, .35); }
.dx-seo .dx-checks li .ico { color: var(--cyan); }
.dx-seo .dx-core { background: radial-gradient(circle, rgba(29, 92, 255, .38), rgba(29, 92, 255, .04) 72%); border-color: rgba(97, 207, 255, .45); }
.dx-seo .dx-core-ring { border-color: rgba(97, 207, 255, .55); }
.dx-seo .dx-cfield { background: #f4f8ff; }
.dx-seo .dx-cfield-label { color: var(--primary-2); }
.dx-seo .dx-cfield input::placeholder { color: #8796b3; }
.dx-seo .dx-cfield:focus-within { box-shadow: 0 0 0 3px rgba(97, 207, 255, .6); }
.dx-seo .dx-go { background: linear-gradient(135deg, var(--primary), var(--primary-2) 60%, var(--cyan-2)); box-shadow: 0 14px 30px -12px rgba(29, 92, 255, .85); }
.dx-seo .dx-go:hover { box-shadow: 0 18px 36px -12px rgba(29, 92, 255, .95); }
.dx-seo .dx-scan { background-image: linear-gradient(90deg, transparent, var(--cyan), var(--primary-2), transparent); }
.dx-seo .dx-cstatus { border-top-color: rgba(97, 207, 255, .16); color: rgba(190, 220, 255, .5); }
.dx-seo .dx-cstatus b { color: #cfe6ff; }
.dx-seo .dx-led { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* SEO・AIO診断のファーストビュー（/web・AI検索の広告用LP・/llmo-aio-ui） */
.dx-hero.dx-hero-seo { background: radial-gradient(900px 420px at 50% -10%, rgba(29, 92, 255, .5), transparent 65%), linear-gradient(170deg, #030a1c 0%, #061633 60%, #0a2a66 100%); }
.dx-hero-seo .dx-hero-glow { background: radial-gradient(closest-side, rgba(97, 207, 255, .24), transparent 70%); }
.dx-hero-seo .dx-hero-title em { background: linear-gradient(90deg, #a5f7ff, #4f9dff 55%, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dx-hero-seo .eyebrow.light { color: var(--cyan); }
.dx-hero-seo .eyebrow::before { background: linear-gradient(90deg, var(--primary-2), var(--cyan)); }

/* /diagnosis の2つの診断カード：SEO・AIO側は青 */
.dx-card-seo .feature-ico { background: var(--bg-tint); color: var(--primary); }

/* TOP：セキュリティ診断と SEO・AIO診断のあいだの説明 */
.dx-between { position: relative; max-width: 760px; margin: 56px auto 40px; text-align: center; }
.dx-between-line { display: block; width: 1px; height: 40px; margin: 0 auto 18px; background: linear-gradient(180deg, rgba(255, 106, 26, .7), rgba(29, 92, 255, .8)); }
.dx-between h2 { margin-top: 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.35; }
.dx-between p { margin-top: 14px; color: var(--ink-2); line-height: 1.95; }
.dx-between-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 0; padding: 0; }
.dx-between-points li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--bg-tint); color: var(--primary); font-size: 13.5px; font-weight: 700; }
.dx.dx-seo .eyebrow::before, .dx-hero.dx-hero-seo .eyebrow::before { background: linear-gradient(90deg, var(--primary-2), var(--cyan)); }
/* TOP：2つの診断と、あいだの説明を白地に置き、最後に濃紺へ */
.home .dx-section:has(.dx-between) { background: linear-gradient(180deg, #fff 0%, #fff 64%, #101a33 88%, var(--navy) 100%); }
