:root {
  --navy: #17324d;
  --blue: #255f8f;
  --light-blue: #eaf3f8;
  --ink: #1e2933;
  --muted: #5c6b78;
  --paper: #ffffff;
  --soft-gray: #f5f7f8;
  --beige: #f6f1e8;
  --sand: #d9c8aa;
  --line: #dfe6eb;
  --accent: #b98f45;
  --shadow: 0 18px 42px rgba(23, 50, 77, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(234, 243, 248, 0.72), rgba(255, 255, 255, 0) 520px),
    repeating-linear-gradient(90deg, rgba(23, 50, 77, 0.025) 0 1px, transparent 1px 72px);
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: 2.15rem;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.13rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  overflow-x: auto;
  color: var(--muted);
  font-size: 0.93rem;
  white-space: nowrap;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-cta {
  min-height: 42px;
  padding: 0 0.9rem;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.section--soft {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  background: var(--soft-gray);
}

.section--soft > * {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.section--blue {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  color: #fff;
  background: var(--navy);
}

.section--blue > * {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.section--blue h2,
.section--blue .info-card {
  color: #fff;
}

.section--beige {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  background: var(--beige);
}

.section--beige > * {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  gap: 2rem;
  min-height: calc(100svh - 84px);
  align-items: center;
  padding-top: 2.5rem;
}

.hero--firstview {
  width: 100%;
  max-width: 1672px;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
}

.hero__copy {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow--light {
  color: #b7d7ed;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
}

.button--primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(37, 95, 143, 0.22);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--navy);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quick-facts li {
  padding: 0.45rem 0.7rem;
  color: var(--navy);
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero__visual {
  margin: 0;
}

.hero__visual--firstview img {
  display: block;
  width: 100%;
  height: auto;
}

.image-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame--hero {
  aspect-ratio: 4 / 3;
}

.hero-image {
  object-position: center;
}

.profile-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.profile-photo img {
  object-fit: contain;
  object-position: center;
}

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

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

.worry-list,
.card-grid,
.reason-grid,
.voice-grid {
  display: grid;
  gap: 1rem;
}

.check-card,
.info-card,
.reason-card,
.voice-card,
.detail-list div,
.step-list li,
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(23, 50, 77, 0.06);
}

.check-card {
  position: relative;
  padding: 1rem 1rem 1rem 2.7rem;
  font-weight: 700;
}

.check-card::before {
  position: absolute;
  top: 1.08rem;
  left: 1rem;
  width: 1.1rem;
  height: 1.1rem;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}

.section-note {
  max-width: 820px;
  margin-top: 1.4rem;
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 700;
}

.split {
  display: grid;
  gap: 1.5rem;
}

.split__text {
  color: var(--muted);
  font-size: 1.03rem;
}

.info-card {
  padding: 1.1rem;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.reason-card,
.voice-card {
  padding: 1.25rem;
}

.number {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-weight: 800;
}

.reason-card p,
.voice-card span {
  color: var(--muted);
}

.section--cta {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
  background: var(--light-blue);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section--cta h2 {
  font-size: 1.55rem;
}

.section--cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.detail-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.detail-list dd {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 800;
}

.step-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  padding: 1.25rem;
}

.step-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--navy);
  border-radius: 50%;
}

.step-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.voice-card p {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.voice-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.voice-card span {
  display: block;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  padding: 1rem;
}

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

details p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

.final-cta .button {
  margin: 0.6rem 0 1rem;
}

.fine-print {
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1rem;
  color: #d8e4ec;
  background: var(--navy);
}

.site-footer .brand,
.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .worry-list,
  .detail-list,
  .step-list,
  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section--cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .site-header {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    gap: 3.5rem;
  }

  .hero--firstview {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    align-self: center;
  }

  .split {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 4rem;
  }

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

  .card-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
