:root {
  --bg: #050507;
  --bg-soft: #09090d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: linear-gradient(145deg, #18181c 0%, #0d0d11 100%);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f5f5f7;
  --muted: #a4abb6;
  --orange: #f97316;
  --orange-soft: rgba(249, 115, 22, 0.14);
  --green: #4ade80;
  --blue: #60a5fa;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% -10%, rgba(249, 115, 22, 0.16), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(96, 165, 250, 0.12), transparent 28%),
    linear-gradient(180deg, #050507 0%, #060608 55%, #040405 100%);
  line-height: 1.65;
}

body.lang-ja {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 7, 0.84);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover,
.button-secondary:hover { transform: translateY(-1px); }

.button {
  background: var(--orange);
  color: #111;
  box-shadow: 0 14px 36px rgba(249, 115, 22, 0.26);
}

.button:hover { background: #fb923c; }

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a:hover { color: var(--text); }

.hero {
  padding: 36px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: #fdba74;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 18ch;
  background: linear-gradient(180deg, #ffffff 0%, #b4b4bd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.lang-ja .hero h1 {
  max-width: 24ch;
  line-height: 1.2;
}

.lead {
  margin: 0 0 28px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  font-size: 13px;
  color: #d1d5db;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
}

.section {
  padding: 52px 0;
  border-top: 1px solid var(--line-soft);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 0 28px;
  max-width: 68ch;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #fdba74;
  background: var(--orange-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.compare-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.compare-table tr:last-child td { border-bottom: 0; }

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.cta-box {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-box h2 { margin: 0 0 8px; }
.cta-box p { margin: 0; color: var(--muted); max-width: 56ch; }

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover { color: var(--text); }

@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links a:not(.button-secondary) { display: none; }
  .cta-box { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button-secondary { transition: none; }
  .button:hover, .button-secondary:hover { transform: none; }
}
