:root {
  --color-ink: #1f2d2a;
  --color-muted: #5f6f6a;
  --color-soft: #f5f8f5;
  --color-line: #dfe8e3;
  --color-green: #2f7d63;
  --color-green-dark: #1d5f49;
  --color-teal: #0f756f;
  --color-warm: #f6b65d;
  --color-warm-soft: #fff5e6;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(31, 45, 42, 0.11);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 232, 227, 0.8);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(31, 45, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  background: var(--color-green);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.header-nav a {
  padding: 8px 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--color-white);
  background: var(--color-green);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.section {
  scroll-margin-top: 84px;
  padding: clamp(64px, 8vw, 108px) 0;
}

main {
  scroll-margin-top: 84px;
}

.section-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: clamp(28px, 3vw, 38px);
  padding-bottom: clamp(18px, 2.5vw, 28px);
  background:
    linear-gradient(90deg, rgba(245, 248, 245, 0.96) 0%, rgba(245, 248, 245, 0.8) 54%, rgba(255, 255, 255, 0.6) 100%),
    repeating-linear-gradient(135deg, rgba(47, 125, 99, 0.08) 0 1px, transparent 1px 18px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 64px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(36px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--color-muted);
  font-size: 16px;
}

.target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.target-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-row.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: var(--color-white);
  background: var(--color-green);
  box-shadow: 0 12px 24px rgba(47, 125, 99, 0.24);
}

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

.button-secondary {
  color: var(--color-green-dark);
  background: var(--color-white);
  border-color: var(--color-line);
}

.button-secondary.light {
  border-color: rgba(255, 255, 255, 0.58);
}

.note {
  margin-top: 14px;
  color: var(--color-green-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 390px;
}

.kit-card {
  position: absolute;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.kit-main {
  top: 24px;
  right: 34px;
  width: min(360px, 86%);
  padding: 26px;
}

.kit-label {
  margin-bottom: 18px;
  color: var(--color-teal);
  font-size: 13px;
  font-weight: 800;
}

.kit-main h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.timeline span {
  height: 10px;
  background: var(--color-line);
  border-radius: 8px;
}

.timeline span.active {
  background: var(--color-green);
}

.kit-main ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.kit-main li {
  position: relative;
  padding-left: 24px;
  color: var(--color-muted);
  font-weight: 700;
}

.kit-main li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 10px;
  background: var(--color-warm);
  border-radius: 50%;
}

.kit-side {
  left: 10px;
  top: 0;
  width: 160px;
  padding: 20px;
}

.kit-side p,
.kit-sheet p {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

.kit-side strong {
  display: block;
  margin-top: 8px;
  color: var(--color-green-dark);
  font-size: 40px;
  line-height: 1;
}

.kit-sheet {
  left: 0;
  bottom: 24px;
  width: 260px;
  padding: 22px;
  background: var(--color-warm-soft);
}

.sheet-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.sheet-lines span {
  display: block;
  height: 12px;
  background: rgba(47, 125, 99, 0.18);
  border-radius: 8px;
}

.sheet-lines span:nth-child(2) {
  width: 78%;
}

.sheet-lines span:nth-child(3) {
  width: 62%;
}

.two-column,
.price-grid,
.faq-grid,
.fit-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.32;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.45;
}

.text-block {
  display: grid;
  gap: 18px;
  color: var(--color-muted);
  font-size: 16px;
}

.problem-section,
.contents-section,
.sample-section,
.faq-section {
  background: var(--color-white);
}

.problem-section {
  padding-top: clamp(48px, 5vw, 72px);
}

.solution-section,
.fit-section {
  background: var(--color-soft);
}

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

.section-heading.compact {
  max-width: 680px;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.feature-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--color-warm);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p,
.content-item p,
.sample-card p,
.price-grid p,
.faq-item p,
.final-panel p,
.check-list {
  color: var(--color-muted);
}

.contents-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.content-item > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--color-green-dark);
  background: var(--color-soft);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sample-card {
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(31, 45, 42, 0.06);
}

.sample-card-accent {
  background: var(--color-warm-soft);
}

.sample-label {
  margin-bottom: 8px;
  color: var(--color-teal) !important;
  font-size: 13px;
  font-weight: 900;
}

.sample-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
}

.sample-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
}

.sample-list dt {
  color: var(--color-green-dark);
  font-weight: 900;
}

.sample-list dd {
  margin: 0;
  color: var(--color-muted);
}

.compact-list div {
  grid-template-columns: 52px 1fr;
}

.phrase-box,
.teacher-note {
  padding: 16px;
  margin-top: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.phrase-box.easy {
  border-color: rgba(47, 125, 99, 0.32);
  background: var(--color-soft);
}

.phrase-title {
  margin-bottom: 4px;
  color: var(--color-green-dark) !important;
  font-size: 13px;
  font-weight: 900;
}

.fit-panel {
  padding: clamp(28px, 5vw, 44px);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 700;
}

.price-section {
  background:
    linear-gradient(90deg, rgba(31, 45, 42, 0.88), rgba(31, 45, 42, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px);
  color: var(--color-white);
}

.price-section .eyebrow,
.price-section p {
  color: rgba(255, 255, 255, 0.78);
}

.price-card {
  padding: clamp(26px, 4vw, 38px);
  color: var(--color-ink);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.price-label {
  margin-bottom: 8px;
  color: var(--color-green-dark) !important;
  font-weight: 900;
}

.price-main {
  margin-bottom: 8px;
  color: var(--color-ink) !important;
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 900;
  line-height: 1;
}

.price-main span {
  margin-left: 4px;
  font-size: 18px;
}

.price-sub {
  margin-bottom: 26px;
  color: var(--color-muted) !important;
  font-weight: 700;
}

.button.full {
  width: 100%;
}

.sample-link {
  display: block;
  margin-top: 16px;
  color: var(--color-green-dark);
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.faq-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  min-height: 62px;
  padding: 18px 54px 18px 22px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-green);
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 22px 22px;
}

.contact-section {
  background: var(--color-soft);
}

.final-panel {
  padding: clamp(36px, 6vw, 58px);
  background: var(--color-green);
  border-radius: var(--radius);
  color: var(--color-white);
  text-align: center;
}

.final-panel h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.final-panel p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.84);
}

.final-panel .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.final-panel .cta-row {
  margin-top: 28px;
}

.final-panel .button-primary {
  color: var(--color-green-dark);
  background: var(--color-white);
  box-shadow: none;
}

.contact-subtext {
  margin-top: 14px;
  font-weight: 800;
}

.contact-subtext a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-notes {
  display: grid;
  gap: 8px;
  max-width: 720px;
  padding: 18px 20px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  list-style: none;
  text-align: left;
}

.contact-notes li {
  position: relative;
  padding-left: 20px;
}

.contact-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  background: var(--color-warm);
  border-radius: 50%;
}

.form-notice {
  max-width: 620px;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  font-weight: 800;
}

.form-notice[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 48px);
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  font-size: 14px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  .header-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .price-grid,
  .faq-grid,
  .fit-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 430px;
  }

  .kit-main {
    right: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
    font-size: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .hero h1 {
    font-size: 34px;
  }

  .button,
  .cta-row,
  .cta-row .button {
    width: 100%;
  }

  .target-list span {
    width: 100%;
  }

  .hero-visual {
    min-height: 385px;
  }

  .kit-main {
    top: 28px;
    width: 88%;
    padding: 22px;
  }

  .kit-main h2 {
    font-size: 38px;
  }

  .kit-side {
    top: 0;
    left: 0;
    width: 136px;
    padding: 16px;
  }

  .kit-sheet {
    bottom: 12px;
    width: 220px;
    padding: 18px;
  }

  .feature-grid,
  .contents-list,
  .sample-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .content-item {
    grid-template-columns: 40px 1fr;
    padding: 20px;
  }

  .content-item > span {
    width: 38px;
    height: 38px;
  }

  .sample-card {
    padding: 20px;
  }

  .sample-list div,
  .compact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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