:root {
  --bg: #0E1621; --band: #111c29; --card: #16202B; --fg: #E8EDF2; --muted: #9AA8B5;
  --line: #2E3B49; --accent: #58A0D8; --accent-strong: #8ec3ea; --navy: #123F63; --on-accent: #0b1f3a;
}
body.lp { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 17px/1.8 "Hiragino Sans", "Noto Sans JP", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent-strong); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 800; font-size: 20px; }
.brand svg { width: 34px; height: 34px; }
.links { display: flex; gap: 20px; margin-right: auto; }
.links a { color: var(--fg); text-decoration: none; font-size: 15px; }
.links a:hover { color: var(--accent-strong); }
.actions { display: flex; align-items: center; gap: 12px; }
.lang select { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--card); color: var(--fg); min-height: 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; border: 2px solid transparent; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-strong); }
.btn.ghost { border-color: var(--accent); color: var(--accent-strong); }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

section { padding: 72px 0; }
.band { background: var(--band); }
h1, h2, h3 { word-break: auto-phrase; text-wrap: pretty; }
h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.3; margin: 8px 0 16px; letter-spacing: .01em; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.4; margin: 0 0 28px; }
h3 { font-size: 19px; margin: 0 0 12px; line-height: 1.5; }
.eyebrow { color: var(--accent-strong); font-weight: 700; margin: 0; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 15px; }

.hero { padding-top: 56px; background: linear-gradient(160deg, #0b1a2e, var(--bg) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.stats { list-style: none; display: flex; gap: 32px; margin: 36px 0 0; padding: 0; }
.stats strong { display: block; font-size: 30px; color: var(--accent-strong); line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }
.hero-art { display: grid; place-items: center; }
.shield-art { width: min(320px, 80%); height: auto; }

.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.globe-wrap.map-box { position: relative; height: 340px; min-height: 340px; background: radial-gradient(ellipse at center, #0b1a2e 0%, #060c16 70%);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.globe-wrap.map-box canvas { width: 100%; height: 100%; display: block; }
.globe-wrap .gh { position: absolute; top: 10px; left: 14px; right: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.globe-wrap .gh .lbl { color: #e8edf2; font-weight: 700; font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.globe-wrap .gh .badge { background: rgba(224,90,82,.85); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.card li { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

.shot-card .shot { display: block; width: 100%; height: auto; aspect-ratio: 660 / 405; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); background: #0b1420; margin: 0 0 16px; }

.how-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 56px; align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 56px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 800; display: grid; place-items: center; }
.steps strong { display: block; font-size: 18px; }
.steps span { color: var(--muted); }
.flow-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.flow-title { font-size: 20px; font-weight: 800; color: var(--accent-strong); margin: 0 0 12px; }

.final { text-align: center; }
.final h2 { margin-bottom: 20px; }

.contact-form { max-width: 640px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { color: var(--muted); font-size: 14px; margin-bottom: 6px; display: block; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form select, .contact-form textarea {
  width: 100%; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; color: var(--fg); font-size: 16px; min-height: 46px; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form select { appearance: auto; color-scheme: dark; }
/* ブラウザのオートフィル(自動入力)は背景色を白で強制上書きしてくるため、
   inset box-shadowでダークテーマの背景色に見えるよう上書きする(定番の対処)。 */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg) inset;
  box-shadow: 0 0 0px 1000px var(--bg) inset;
  caret-color: var(--fg);
  transition: background-color 9999s ease-in-out 0s;
}
.contact-form input, .contact-form select, .contact-form textarea { color-scheme: dark; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .note { margin: -6px 0 22px; }
.flash-msg { max-width: 640px; margin: 0 auto 20px; padding: 14px 18px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 16%, var(--card)); border: 1px solid var(--accent); color: var(--fg); font-size: 15px; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; text-align: center; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-bottom: 12px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 4px 0; }
.foot a.copy { color: inherit; }

@media (max-width: 900px) {
  .links { display: none; }
  .bar { justify-content: space-between; }
  .hero-grid, .how-grid, .maps { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .shield-art { width: 200px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .btn.big { width: 100%; }
  .stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
