:root {
  --navy: #10233f;
  --navy-dark: #08162b;
  --navy-soft: #eef4fb;
  --blue: #1e4f8f;
  --text: #1c2633;
  --muted: #5d6877;
  --line: #dbe4ef;
  --white: #ffffff;
  --cream: #fbfcfe;
  --shadow: 0 18px 50px rgba(16, 35, 63, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  background: var(--white);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

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

.nav a {
  text-decoration: none;
}

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

.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(30, 79, 143, 0.22), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #eef4fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.35;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

p {
  margin: 0 0 16px;
}

.lead {
  margin-top: 24px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(16, 35, 63, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 24px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 10px;
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--navy-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 22px;
}

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

.card,
.policy-card,
.contact-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 35, 63, 0.08);
}

.card p,
.policy-card p {
  color: var(--muted);
}

.note {
  margin-top: 24px;
  padding: 18px 20px;
  color: #445166;
  background: #f7f9fc;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  font-size: 14px;
}

.price-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 40px;
  align-items: center;
}

.price-layout p {
  color: var(--muted);
}

.price-card {
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, #173a68 100%);
  box-shadow: var(--shadow);
}

.price-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.price {
  margin: 0;
  color: var(--white);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price span {
  margin-left: 6px;
  font-size: 16px;
  font-weight: 700;
}

.price-caption {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow-item {
  position: relative;
  padding: 26px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.flow-item span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}

.flow-item p {
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.steps li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

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

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 800;
}

details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

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

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  width: 240px;
  color: var(--navy);
  background: #f7f9fc;
}

.legal-table td {
  color: var(--muted);
}

.contact {
  padding-top: 40px;
}

.contact-box {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border: 0;
}

.contact-box .eyebrow,
.contact-box h2,
.contact-box p {
  color: var(--white);
}

.contact-box p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-list p {
  margin-bottom: 8px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-grid,
  .price-layout,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 60px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .cards.three,
  .flow {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .card,
  .policy-card,
  .contact-box,
  .price-card {
    padding: 24px;
  }

  .price {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
