:root {
  --main: #1B4878;
  --accent: #D8283C;
  --cta: #168039;
  --bg: #FFFFFF;
  --tint: #F3F7FB;
  --text: #152232;
  --muted: #46586A;
  --gold: #D7B55D;
  --gold-light: #f3df98;
  --gold-dark: #9f7625;
  --navy-chrome: #121F38;
  --navy-footer: #0D1628;
  --white-soft: #FAFCFF;
  --line: #C8D7E7;
  --line-strong: #8DA8C4;
  --shadow-main: rgba(27, 72, 120, 0.16);
  --shadow-strong: rgba(27, 72, 120, 0.24);
  --overlay-main: rgba(27, 72, 120, 0.08);
  --cta-dark: #0E5F2B;
  --focus: #FFCF56;
  --radius: 3px;
  --radius-chrome: 2px;
  --font: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  line-break: strict;
  word-break: auto-phrase;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy-chrome);
  border-bottom: 1px solid var(--line-strong);
}

.header-inner {
  width: calc(100% - 32px);
  max-width: 1100px;
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bg);
  font-weight: 900;
  font-size: 20px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--bg);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--bg);
  font-size: 13px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, var(--gold-dark));
  box-shadow: 0 7px 18px var(--shadow-strong);
}

.header-cta {
  min-height: 42px;
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg);
  border-radius: var(--radius-chrome);
  color: var(--main);
  background: var(--gold);
  font-weight: 900;
  line-height: 1.3;
}

.section {
  padding: clamp(60px, 8vw, 104px) 0;
  animation: sectionRise 0.55s ease-out both;
}

.section:nth-of-type(2n) {
  animation-name: sectionFade;
}

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

.section-tint {
  background: var(--tint);
}

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

.text-wrap {
  width: calc(100% - 32px);
  max-width: 720px;
  margin: 0 auto;
}

.wide-wrap {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 0 auto;
}

.hero {
  padding-top: clamp(36px, 6vw, 72px);
}

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

h1 {
  max-width: 860px;
  margin: 0 auto clamp(34px, 5vw, 54px);
  color: var(--main);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

h2 {
  margin-bottom: 32px;
  color: var(--main);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

h3 {
  margin-bottom: 18px;
  color: var(--main);
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 900;
  line-height: 1.5;
}

.section-invert h2,
.section-invert h3 {
  color: var(--bg);
}

.ph {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.emph {
  color: var(--accent);
  font-size: 1.4em;
  white-space: nowrap;
}

.num {
  color: var(--accent);
  font-weight: 900;
  white-space: nowrap;
}

.hero-banner {
  width: 100%;
  margin: 0 auto 48px;
  border-radius: var(--radius);
}

.video-lead {
  margin: 0 auto 28px;
  color: var(--accent);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.video-frame {
  margin: 0 auto 48px;
  border-radius: var(--radius);
  background: var(--text);
  box-shadow: 0 18px 40px var(--shadow-main);
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--text);
}

.video-fallback {
  margin: -28px auto 48px;
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.video-fallback a {
  color: var(--main);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lead-text {
  margin-bottom: 22px;
  font-weight: 700;
}

.chapters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.chapters button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--bg);
  text-align: left;
  line-height: 1.55;
  cursor: pointer;
}

.chapters button:hover {
  border-color: var(--main);
  background: var(--tint);
}

.chapters span {
  color: var(--main);
  font-weight: 900;
}

.declaration {
  padding: clamp(44px, 6vw, 70px) 0;
}

.declaration .text-wrap {
  border-top: 2px solid var(--bg);
  border-bottom: 2px solid var(--bg);
  padding: 30px 0;
}

.declaration p {
  margin: 0;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 900;
  line-height: 1.8;
  text-align: center;
}

.declaration strong {
  color: var(--focus);
}

.copy-block p,
.faq-list p,
.steps p {
  margin-bottom: 24px;
}

.copy-block p:last-child,
.faq-list p:last-child,
.steps p:last-child {
  margin-bottom: 0;
}

.image-stack {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.image-stack:last-child {
  margin-bottom: 0;
}

.image-stack img,
.image-grid img,
.plan-card img,
.profile-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 36px var(--shadow-main);
}

.image-stack img.img-tall {
  max-width: 700px;
  display: block;
  margin-inline: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.cta-wrap {
  margin-top: 48px;
  text-align: center;
}

.cta-button {
  width: 100%;
  max-width: 520px;
  min-height: 60px;
  padding: 15px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  color: var(--bg);
  background: var(--cta);
  box-shadow: 0 12px 26px var(--shadow-main);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.cta-button:hover {
  background: var(--cta-dark);
}

.cta-large {
  max-width: 620px;
  min-height: 64px;
}

.cta-light {
  border-color: var(--bg);
  color: var(--bg);
  background: var(--cta);
}

.steps {
  display: grid;
  gap: 18px;
}

.steps p {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--main);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 10px 24px var(--shadow-main);
  font-weight: 700;
}

.plans-section {
  padding-top: clamp(36px, 6vw, 72px);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.plan-card {
  min-width: 0;
  padding: 26px;
  border: 2px solid var(--main);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 18px 40px var(--shadow-main);
}

.plan-card h3 {
  text-align: center;
}

.plan-card p {
  margin-bottom: 18px;
}

.price-line {
  color: var(--text);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.price-line span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.price-line .price-note {
  display: inline;
  margin-top: 0;
  white-space: nowrap;
}

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

.faq-list p {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.section-tint .faq-list p {
  background: var(--white-soft);
}

.note {
  margin: 24px 0 0;
  color: var(--bg);
  font-size: 14px;
  line-height: 1.8;
}

.subhead {
  margin-top: 42px;
  text-align: center;
}

.profile-image {
  width: min(320px, 100%);
  margin: 0 auto 48px;
}

.final-cta {
  padding: clamp(46px, 7vw, 76px) 0;
}

.site-footer {
  padding: 34px 0 92px;
  color: var(--bg);
  background: var(--navy-footer);
  border-top: 1px solid var(--line-strong);
}

.footer-inner {
  width: calc(100% - 32px);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

.mobile-fixed-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  min-height: 56px;
  padding: 13px 18px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  color: var(--bg);
  background: var(--cta);
  box-shadow: 0 12px 26px var(--shadow-strong);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

@keyframes sectionRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.85;
  }

  .header-inner {
    width: calc(100% - 24px);
    min-height: 58px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .header-cta {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 14px;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .text-wrap,
  .wide-wrap {
    width: calc(100% - 30px);
    max-width: 720px;
  }

  h1 {
    margin-bottom: 30px;
    font-size: clamp(25px, 7.2vw, 34px);
  }

  h2 {
    margin-bottom: 26px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .hero-banner {
    margin-bottom: 40px;
  }

  .video-lead {
    margin-bottom: 22px;
  }

  .video-frame {
    margin-bottom: 36px;
  }

  .declaration .text-wrap {
    padding: 24px 0;
  }

  .image-stack {
    gap: 18px;
    margin-top: 42px;
    margin-bottom: 42px;
  }

  .image-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 20px;
  }

  .cta-button {
    min-height: 58px;
    padding: 14px 18px;
  }

  .mobile-fixed-cta {
    display: inline-flex;
  }
}

@media (min-width: 761px) {
  .site-footer {
    padding-bottom: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
