:root {
  --ink: #071b53;
  --muted: #334477;
  --red: #e60012;
  --red-dark: #b5000e;
  --blue: #003db8;
  --blue-dark: #00267c;
  --yellow: #ffd900;
  --yellow-dark: #e4b900;
  --paper: #ffffff;
  --line: #d8e2ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(230, 0, 18, .08) 0 18%, transparent 18% 82%, rgba(0, 61, 184, .08) 82%),
    #f5f8ff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-shell {
  min-height: 100vh;
  padding: 34px 16px 64px;
}

.lp-card {
  width: min(100%, 620px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--blue);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 38, 124, .18);
}

.hero { overflow: hidden; background: #fff; }

.hero-media,
.content-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-media {
  width: calc(100% + 16px);
  max-width: none;
  margin: -8px;
  aspect-ratio: 1178 / 1335;
  object-fit: cover;
}

.section { padding: 46px 30px; }

.section + .section { border-top: 1px solid var(--line); }

.section-title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 15px;
  color: var(--blue-dark);
  font-size: clamp(24px, 4.4vw, 31px);
  line-height: 1.45;
  text-align: center;
  letter-spacing: .035em;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 110px;
  height: 8px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66%);
  transform: translateX(-50%);
}

.worry-list,
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.worry-list li {
  position: relative;
  padding: 15px 16px 15px 52px;
  color: var(--blue-dark);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(0, 61, 184, .13);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.worry-list li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 17px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 14px;
  transform: translateY(-50%);
}

.lead-copy {
  margin: 28px 0 23px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
}

.lead-copy p,
.section-copy p { margin: 0; }

.lead-emphasis,
.service-emphasis { color: var(--red); font-weight: 800; }

.lead-emphasis { font-size: 22px; }

.cta {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 52px 15px 24px;
  overflow: hidden;
  color: #071b53;
  background: var(--yellow);
  border: 3px solid var(--blue-dark);
  border-radius: 8px;
  box-shadow: 0 8px 0 var(--blue-dark), 0 16px 30px rgba(0, 38, 124, .22);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  letter-spacing: .025em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cta::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 28%;
  height: 340%;
  background: rgba(255,255,255,.18);
  transform: rotate(24deg);
}

.cta-arrow {
  position: absolute;
  right: 23px;
  top: 50%;
  font-size: 38px;
  font-weight: 400;
  transform: translateY(-54%);
}

.cta:hover { filter: brightness(1.04); transform: translateY(-2px); box-shadow: 0 10px 0 var(--blue-dark), 0 20px 36px rgba(0, 38, 124, .26); }
.cta:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--blue-dark), 0 8px 18px rgba(0, 38, 124, .2); }
.cta:focus-visible { outline: 4px solid var(--red); outline-offset: 4px; }

.explainer {
  padding: 0;
  overflow: hidden;
}

.explainer .content-image {
  width: calc(100% + 24px);
  max-width: none;
  margin: -12px;
  clip-path: inset(12px);
}

.content-image { background: #fff; }

.explainer .section-copy { padding: 28px 30px 42px; }

.section-copy {
  color: #17285d;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}

.section-copy p + p { margin-top: 10px; }

.ribbon-title {
  margin: 0 0 30px;
  padding: 16px 28px;
  color: #fff;
  background: var(--red);
  border: 3px solid var(--red-dark);
  border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(181, 0, 14, .18);
  font-size: clamp(23px, 4.3vw, 30px);
  line-height: 1.45;
  text-align: center;
  letter-spacing: .04em;
}

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

.benefit-list li {
  position: relative;
  padding: 17px 16px 16px 50px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(0, 61, 184, .12);
}

.benefit-list li:nth-child(3n + 1) { background: #fff0f1; border-color: var(--red); }
.benefit-list li:nth-child(3n + 2) { background: #edf3ff; border-color: var(--blue); }
.benefit-list li:nth-child(3n) { background: #fffbe2; border-color: var(--yellow-dark); }

.benefit-list li::before {
  content: "✓";
  position: absolute;
  top: 17px;
  left: 18px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.benefit-list strong { font-size: 18px; line-height: 1.55; }
.benefit-list p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.benefit-copy { margin: 28px 0 24px; }
.benefit-copy p:first-child,
.benefit-copy p:last-child { color: var(--blue); font-weight: 800; }

.service { padding-top: 42px; }
.service > .section-copy:first-child { margin-bottom: 34px; }
.service .content-image { width: calc(100% + 60px); margin-left: -30px; }
.final-copy { margin: 34px 0 25px; }
.final-lead { margin-top: 22px !important; padding: 19px; background: var(--yellow); border: 3px solid var(--blue-dark); border-radius: 8px; text-align: center; line-height: 1.8; }
.final-lead strong { color: var(--red); }

.footer {
  padding: 23px 30px 25px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.footer a { text-underline-offset: 3px; }

@media (max-width: 660px) {
  .page-shell { padding: 0; }
  .lp-card { border: 0; border-radius: 0; box-shadow: none; }
  .section { padding: 38px 20px; }
  .ribbon-title { margin-inline: 0; }
  .service .content-image { width: calc(100% + 40px); margin-left: -20px; }
  .worry-list li { padding-left: 47px; font-size: 16px; }
  .worry-list li::before { left: 14px; }
  .section-copy { font-size: 16px; }
  .explainer .section-copy { padding: 25px 20px 36px; }
  .cta { min-height: 68px; padding-left: 18px; padding-right: 45px; }
  .cta-arrow { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}
