:root {
  --color-navy: #004098;
  --color-navy-text: #111111;
  --color-navy-sub: #595959;
  --color-gold: #c90111;
  --color-gold-hover: #a3010e;
  --color-bg: #ffffff;
  --color-bg-alt: #f2f2f2;
  --color-border: #dddddd;

  --radius-card: 0px;
  --radius-btn: 0px;

  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);

  --font-serif: "Marcellus", serif;

  --container-width: 1120px;

  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--color-navy-text);
  background: var(--color-bg);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1,
h2,
h3 {
  color: var(--color-navy-text);
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.4;
}

h1 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: clamp(30px, 4vw, 44px);
}

h2 {
  font-size: clamp(22px, 3vw, 28px);
}

h3 {
  font-size: 19px;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--color-gold-hover);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 12px;
}

.lead {
  color: var(--color-navy-sub);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--color-gold);
  color: #ffffff;
  letter-spacing: 0.05em;
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: #fff;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: saturate(180%) blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-navy);
  line-height: 1.3;
}

.ai-accent {
  color: var(--color-gold);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--color-navy-sub);
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy-text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-navy);
  border-bottom-color: var(--color-gold);
}

.nav-cta {
  background: var(--color-gold);
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-btn);
  border-bottom-color: transparent !important;
}

.nav-cta:hover {
  background: var(--color-gold-hover);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-navy);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 120px 0 96px;
  background: linear-gradient(135deg, #0e2440 0%, #1b3a63 55%, #2c4d7a 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 1, 17, 0.2), transparent 55%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-media {
  position: relative;
}

.hero-media-svg {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hero-media-caption {
  position: absolute;
  left: 0;
  bottom: 14px;
  margin: 0;
  padding: 6px 14px;
  background: rgba(0, 64, 152, 0.85);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-eyebrow {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 16px;
  font-size: 13px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero h1 {
  color: #fff;
  max-width: 720px;
}

@media (min-width: 861px) {
  .hero h1 {
    white-space: nowrap;
    font-size: clamp(18px, 2vw, 27px);
    max-width: none;
  }
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  font-size: 17px;
}

.hero-sub {
  padding: 64px 0 40px;
  background: var(--color-navy);
  color: #fff;
  text-align: center;
}

.hero-sub h1 {
  color: #fff;
  margin-bottom: 12px;
}

.hero-sub p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto;
}

/* Cards */
.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-gold-hover);
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--color-navy);
  font-weight: 700;
  font-size: 20px;
}

.service-card a.more {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gold-hover);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-gold-hover);
}

.stat-label {
  color: var(--color-navy-sub);
  font-size: 14px;
}

/* Voice */
.voice-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-card);
  padding: 28px;
  position: relative;
}

.voice-quote {
  font-size: 15px;
  color: var(--color-navy-text);
  margin-bottom: 16px;
}

.voice-attr {
  font-size: 13px;
  color: var(--color-navy-sub);
  font-weight: 700;
}

/* Flow */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: flow;
}

.flow-item {
  position: relative;
  padding-top: 8px;
}

.flow-item::before {
  counter-increment: flow;
  content: counter(flow);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table th {
  width: 220px;
  background: var(--color-bg-alt);
  color: var(--color-navy);
  font-weight: 700;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}

.faq-q {
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  gap: 12px;
}

.faq-q::before {
  content: "Q";
  color: var(--color-gold-hover);
  font-weight: 700;
}

.faq-a {
  display: flex;
  gap: 12px;
  color: var(--color-navy-sub);
  margin-top: 10px;
}

.faq-a::before {
  content: "A";
  color: var(--color-navy);
  font-weight: 700;
}

.note {
  font-size: 13px;
  color: var(--color-navy-sub);
  margin-top: 24px;
}

/* Form */
.form-grid {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.form-row .required {
  color: #b8492f;
  font-size: 12px;
  margin-left: 6px;
  font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 1, 17, 0.15);
}

.form-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  font-size: 14px;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

/* CTA band */
.cta-band {
  background: var(--color-navy);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-band .cta-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 24px;
  font-size: 14px;
  color: var(--color-navy-sub);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-heading {
  color: var(--color-navy);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* Utilities */
.mt-0 {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 8px 16px;
  z-index: 200;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media {
    order: 2;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 4px;
  }

  .nav.is-open .nav-links a {
    padding: 12px 0;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 56px 0;
  }
}
