:root {
  --navy-900: #0a1a33;
  --navy-800: #102544;
  --navy-700: #1a3560;
  --blue-500: #2f6fdf;
  --blue-50: #eef4fd;
  --ink: #142033;
  --ink-soft: #4a5a72;
  --line: #e2e8f1;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.35; letter-spacing: 0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 15px; color: var(--navy-900); }
.brand-sub { font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.nav a:hover { color: var(--navy-900); }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--navy-800); text-decoration: none;
  background: #fff;
}
.lang-switch:hover { border-color: var(--navy-700); }
.lang-switch svg { width: 15px; height: 15px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(47, 111, 223, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
}
.hero .container { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 120px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; color: #9cc0ff; }
.hero h1 { margin-top: 18px; font-size: clamp(32px, 5.2vw, 56px); font-weight: 700; max-width: 16em; }
.hero p.lead { margin-top: 24px; max-width: 38em; font-size: clamp(15px, 1.6vw, 17px); color: rgba(255,255,255,0.82); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--navy-900); }
.btn-primary:hover { background: #e8f0ff; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn svg { width: 17px; height: 17px; }

/* Sections */
section { padding: 104px 0; }
section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 52px; }
.section-head .eyebrow { color: var(--blue-500); }
.section-head h2 { margin-top: 10px; font-size: clamp(26px, 3.4vw, 36px); color: var(--navy-900); }
.section-head p { margin-top: 14px; color: var(--ink-soft); max-width: 40em; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50);
  display: grid; place-items: center; color: var(--blue-500);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-top: 22px; font-size: 19px; color: var(--navy-900); }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); padding-top: 14px; }
.card li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink); line-height: 2; }
.card li::before { content: ""; position: absolute; left: 2px; top: 0.85em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 2px solid var(--navy-900); padding-top: 20px; }
.step-num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--blue-500); }
.step h3 { margin-top: 8px; font-size: 17px; color: var(--navy-900); }
.step p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* Product */
.product {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 48px;
}
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-500); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
}
.product h3 { margin-top: 16px; font-size: clamp(22px, 2.6vw, 28px); color: var(--navy-900); }
.product p { margin-top: 14px; color: var(--ink-soft); }
.product-visual {
  border-radius: 14px; background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding: 22px; color: #cfe0ff; font-size: 13px; min-height: 230px;
}
.pv-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.pv-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.pv-prompt { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 12px 14px; line-height: 1.6; }
.pv-out { margin-top: 14px; display: grid; gap: 8px; }
.pv-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.16); }
.pv-line.accent { background: rgba(156, 192, 255, 0.55); width: 55%; }
.pv-line.w80 { width: 80%; } .pv-line.w65 { width: 65%; } .pv-line.w90 { width: 90%; }

/* Company */
.company { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.company th, .company td { text-align: left; padding: 20px 28px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.company tr:last-child th, .company tr:last-child td { border-bottom: none; }
.company th { width: 220px; background: var(--bg-soft); color: var(--navy-900); font-weight: 600; }
.company a { color: var(--blue-500); text-decoration: none; font-weight: 600; }
.company a:hover { text-decoration: underline; }

/* Contact */
.contact {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff;
  border-radius: 20px; padding: 64px 48px; text-align: center;
}
.contact h2 { font-size: clamp(24px, 3vw, 32px); }
.contact p { margin: 14px auto 0; max-width: 34em; color: rgba(255,255,255,0.8); }
.contact .btn { margin-top: 32px; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--navy-900); }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 900px) {
  .nav a:not(.lang-switch) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .product { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand-sub { display: none; }
  .hero .container { padding-top: 80px; padding-bottom: 88px; }
  section { padding: 76px 0; }
  .steps { grid-template-columns: 1fr; }
  .company th, .company td { display: block; width: 100%; padding: 14px 18px; }
  .company th { border-bottom: none; padding-bottom: 6px; }
  .company td { padding-top: 6px; }
  .contact { padding: 48px 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
