:root {
  --purple: #6c4cf1;
  --deep-purple: #4326b8;
  --cyan: #43d7e8;
  --yellow: #ffd45a;
  --navy: #17213c;
  --line: #06c755;
  --ink: #0d1735;
  --soft: #f5f2ff;
  --border: #d7cffd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e2ff;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid var(--purple);
  border-radius: 15px;
  color: var(--purple);
  font-weight: 900;
  box-shadow: 0 4px 0 #d6ccff;
}
.brand b {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #4f5a76;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #8066ff, var(--deep-purple));
  box-shadow: 0 5px 0 #201852, 0 12px 22px rgba(67, 38, 184, .22);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(67, 215, 232, .22), transparent 34%),
    linear-gradient(90deg, #fff 0 45%, #eef8ff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22px;
  background: radial-gradient(circle at 10px 0, transparent 16px, #fff 17px) 0 0 / 32px 22px repeat-x;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 52%);
  align-items: center;
  min-height: 640px;
  padding: 62px 0 70px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--deep-purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 26px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.35;
  letter-spacing: 0;
}
h1 span { color: var(--purple); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.hero-badges li {
  min-width: 120px;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #242d4d;
  font-weight: 900;
  text-align: center;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 68px;
  padding: 0 34px;
  border: 3px solid var(--deep-purple);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #8066ff, var(--deep-purple));
  box-shadow: 0 8px 0 #201852, 0 16px 28px rgba(67, 38, 184, .23);
  font-size: 22px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button::after { content: "→"; font-size: 24px; }
.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 0 #201852, 0 20px 30px rgba(67, 38, 184, .28);
}
.line-dot {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  color: var(--line);
  font-size: 14px;
  font-weight: 1000;
}
.assurance {
  margin: 22px 0 0;
  font-weight: 800;
  color: #283354;
  text-align: center;
  width: min(520px, 100%);
}
.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  margin-right: -42px;
}
.hero-visual img {
  width: min(620px, 100%);
  filter: drop-shadow(0 20px 26px rgba(67, 38, 184, .18));
}

.section { padding: 66px 0; }
.section h2 {
  margin-bottom: 30px;
  text-align: center;
  color: var(--navy);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.35;
  letter-spacing: 0;
}
.benefits { border-bottom: 1px solid #eee9ff; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-grid article {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 24px;
  border-radius: 18px;
  border: 2px solid #e5ddff;
  background: #fff;
}
.benefit-grid h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}
.icon {
  width: 92px;
  height: 86px;
  display: grid;
  place-items: center;
}
.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contents {
  background: linear-gradient(180deg, #fff, #fbfaff);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 26px;
}
.section-title h2 { margin: 0; white-space: nowrap; }
.section-title span {
  width: min(220px, 24vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--purple));
}
.section-title span:last-child { background: linear-gradient(90deg, var(--purple), transparent); }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 34px;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.chapter-grid article {
  min-height: 220px;
  padding: 20px 14px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  font-weight: 900;
}
.chapter-grid b {
  padding: 6px 20px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  line-height: 1.1;
}
.chapter-grid img {
  width: 86px;
  height: 88px;
  object-fit: contain;
}
.chapter-grid article:nth-child(4) img {
  width: 90px;
  height: 90px;
}
.chapter-grid span { font-size: 21px; line-height: 1.45; }
.worksheet-image {
  width: min(100%, 360px);
  justify-self: center;
  filter: drop-shadow(0 14px 20px rgba(67, 38, 184, .15));
}
.complete-note {
  width: fit-content;
  margin: 30px auto 0;
  padding: 12px 34px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}
.complete-note::before { content: "✓ "; color: var(--purple); }

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.recommend h2,
.trust h2 { text-align: left; }
.recommend ul,
.trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.recommend li,
.trust li {
  position: relative;
  margin-bottom: 14px;
  padding: 14px 18px 14px 46px;
  border: 2px solid #e3dcff;
  border-radius: 12px;
  background: #fff;
  font-weight: 800;
}
.recommend li::before,
.trust li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 13px;
}
.trust-content {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: center;
}
.trust-content img {
  width: 190px;
  max-width: 100%;
  border-radius: 22px;
  object-fit: contain;
}

.faq {
  background: linear-gradient(180deg, #fff, #f9fbff);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
details {
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--deep-purple);
  font-weight: 900;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
}
details p {
  margin: 0;
  padding: 0 22px 20px 60px;
  color: #34405e;
  font-weight: 700;
}

.final-cta {
  padding-top: 38px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 212, 90, .18), transparent 26%),
    linear-gradient(180deg, #fff, #f6f2ff);
}
.final-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 42px;
  padding: 30px 52px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 46px rgba(67, 38, 184, .10);
}
.final-card h2 {
  margin-bottom: 24px;
  text-align: left;
}
.site-footer {
  padding: 26px 0;
  color: #52607b;
  border-top: 1px solid #e7e1ff;
  background: #fff;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-inner > a {
  color: var(--deep-purple);
  font-weight: 900;
}
.site-footer nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .brand small { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 36px;
  }
  .hero-visual {
    justify-self: center;
    margin: 8px -12px 0;
    order: -1;
  }
  .hero-copy {
    padding-top: 8px;
  }
  .content-layout,
  .two-column,
  .final-card {
    grid-template-columns: 1fr;
  }
  .benefit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .trust-content { grid-template-columns: 1fr; }
  .trust-content img { width: min(210px, 70vw); margin: 0 auto; }
  .final-card { text-align: center; }
  .final-card img { width: min(325px, 86vw); margin: 0 auto; }
  .final-card h2 { text-align: center; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 46%);
  }
  .hero-visual {
    margin-right: 0;
  }
  .hero-visual img {
    width: min(440px, 100%);
  }
  .primary-button {
    font-size: 20px;
  }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 640px); }
  .header-inner { min-height: 68px; }
  .brand { gap: 10px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
  .brand b { font-size: 20px; }
  .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .2), #fff 86%),
      radial-gradient(circle at 68% 16%, rgba(67, 215, 232, .22), transparent 36%),
      #f8fbff;
  }
  .hero-inner {
    display: block;
    padding: 22px 0 52px;
  }
  .hero-visual {
    width: min(100% + 24px, 760px);
    margin: 0 -12px 12px;
  }
  .hero-visual img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    object-position: center top;
  }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }
  h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.34;
    margin-bottom: 20px;
  }
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .hero-badges li {
    min-width: 0;
    padding: 12px 8px;
    border-radius: 16px;
    line-height: 1.35;
  }
  .primary-button {
    width: 100%;
    min-height: 62px;
    padding: 0 18px;
    font-size: clamp(17px, 4.4vw, 20px);
    line-height: 1.35;
  }
  .line-dot { width: 44px; height: 44px; font-size: 12px; }
  .section { padding: 50px 0; }
  .section h2 { font-size: clamp(26px, 7vw, 34px); }
  .benefit-grid article {
    grid-template-columns: 82px 1fr;
    padding: 18px;
  }
  .benefit-grid h3 { font-size: 20px; }
  .icon { width: 82px; height: 76px; }
  .section-title { gap: 12px; }
  .section-title span { width: 20vw; }
  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .chapter-grid article {
    min-height: 162px;
    padding: 18px 10px;
  }
  .chapter-grid span { font-size: 18px; }
  .worksheet-image { width: min(305px, 100%); margin: 8px auto 0; }
  .complete-note {
    width: 100%;
    border-radius: 18px;
  }
  .recommend h2,
  .trust h2 { text-align: center; }
  .final-card {
    padding: 22px 18px;
    gap: 16px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .site-footer nav { gap: 14px 18px; }
}

@media (max-width: 360px) {
  .wrap { width: min(100% - 24px, 640px); }
  .brand b { font-size: 18px; }
  .header-cta { padding: 0 12px; }
  .hero-badges { grid-template-columns: 1fr; }
  .chapter-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
