:root {
  --ivory: #fffaf0;
  --paper: #ffffff;
  --blue-50: #edf7ff;
  --blue: #4b9ce8;
  --green-50: #effaf2;
  --green: #63b879;
  --beige: #f7ead5;
  --orange: #f5a64a;
  --ink: #25344f;
  --muted: #65738b;
  --line: #e4edf4;
  --shadow: 0 22px 60px rgba(77, 111, 148, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background:
    linear-gradient(140deg, rgba(237, 247, 255, 0.95), rgba(255, 250, 240, 0.96) 38%, rgba(239, 250, 242, 0.92)),
    var(--ivory);
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(88, 121, 160, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-cta,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  min-height: 44px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ffbc65);
  box-shadow: 0 12px 24px rgba(245, 166, 74, 0.26);
}

.btn-ghost {
  color: var(--blue);
  background: var(--blue-50);
}

.btn-soft {
  color: #2a6f92;
  background: #fff;
  border: 1px solid var(--line);
}

.btn-large {
  min-height: 56px;
  padding: 15px 28px;
  font-size: 17px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--blue-50);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--blue);
}

.hero,
.section,
.cta-section,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  padding: 88px 0 72px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

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

h1,
h2,
h3 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 66px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.3vw, 46px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.trust-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.trust-list li,
.teacher-points span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(228, 237, 244, 0.9);
  color: var(--muted);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  padding: 0;
  border-radius: 44px;
  background: transparent;
  box-shadow: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px 36px auto auto;
  width: 108px;
  height: 108px;
  border-radius: 34px;
  background: var(--green-50);
  transform: rotate(12deg);
  z-index: -1;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 24px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(70, 101, 137, 0.14);
}

.hero-note span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-note strong {
  display: block;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.photo-main,
.section-photo,
.teacher-photo,
.voice-photo img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(70, 101, 137, 0.1);
}

.photo-main {
  height: 510px;
  border-radius: 34px;
  object-position: center;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p:last-child,
.split-copy p,
.teacher-copy p,
.price-card p,
.voice-card p,
.flow-step p,
.soft-card p,
.feature-item p,
.course-card p,
.faq-item p,
.cta-inner p {
  color: var(--muted);
}

.worry-grid,
.course-grid,
.voice-grid,
.flow-grid {
  display: grid;
  gap: 20px;
}

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

.soft-card,
.course-card,
.voice-card,
.flow-step,
.price-card,
.faq-item,
.feature-item {
  border: 1px solid rgba(228, 237, 244, 0.94);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(87, 117, 151, 0.1);
}

.soft-card,
.course-card,
.voice-card,
.flow-step {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius);
}

.icon-badge {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
}

.icon-badge.blue {
  background: var(--blue);
}

.icon-badge.green {
  background: var(--green);
}

.icon-badge.orange {
  background: var(--orange);
}

.split-section,
.teachers {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 38px;
}

.split-copy,
.teacher-copy {
  padding: 36px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.64);
}

.section-photo {
  height: 230px;
  margin: 26px 0 22px;
  border-radius: 24px;
}

.text-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
}

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

.feature-item {
  padding: 22px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 24px;
}

.feature-item img {
  width: 76px;
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.course-card {
  position: relative;
  overflow: hidden;
}

.course-card span,
.price-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #2b7c93;
  background: var(--blue-50);
  font-weight: 800;
}

.course-card.featured {
  background: linear-gradient(180deg, #ffffff, #f1fbf4);
  border-color: rgba(99, 184, 121, 0.32);
}

.course-card ul,
.price-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.course-card li,
.price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.course-card li::before,
.price-card li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.teachers {
  grid-template-columns: 0.95fr 1.05fr;
}

.teacher-visual {
  position: relative;
  padding: 0;
  border-radius: 40px;
  background: transparent;
  box-shadow: none;
}

.teacher-photo {
  height: 430px;
  border-radius: 30px;
  object-position: center top;
}

.teacher-card-note {
  position: absolute;
  left: 50px;
  right: 50px;
  bottom: 52px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(70, 101, 137, 0.14);
}

.teacher-card-note span,
.voice-photo span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.teacher-card-note strong,
.voice-photo strong {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
}

.teacher-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.voice-photo {
  margin-bottom: 22px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 24px;
  border-radius: 34px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.voice-photo img {
  height: 300px;
  border-radius: 24px;
  object-position: center;
}

.voice-photo div {
  padding-right: 22px;
}

.voice-photo strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.45;
}

.voice-card p {
  font-size: 17px;
}

.voice-card span {
  color: var(--blue);
  font-weight: 800;
}

.flow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.flow-step span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.price-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 34px;
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 42px);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 800;
  list-style: none;
}

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

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

.cta-section {
  padding: 84px 0 96px;
}

.cta-inner {
  padding: 58px;
  border-radius: 42px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(237, 247, 255, 0.9)),
    url("../assets/pattern-dots.svg");
  background-size: auto, 260px;
  box-shadow: var(--shadow);
}

.cta-inner .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 30px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
    width: 100%;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    gap: 6px;
    padding: 10px 4px;
  }

  .header-cta {
    padding-bottom: 6px;
  }

  .hero,
  .split-section,
  .teachers,
  .price-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .worry-grid,
  .course-grid,
  .voice-grid,
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header,
  .hero,
  .section,
  .cta-section,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .brand span {
    max-width: 180px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero-actions,
  .header-cta,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .worry-grid,
  .course-grid,
  .voice-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-bottom: 42px;
    gap: 28px;
  }

  .hero-visual,
  .teacher-visual,
  .split-copy,
  .teacher-copy,
  .cta-inner,
  .price-card {
    border-radius: 28px;
  }

  .split-copy,
  .teacher-copy,
  .cta-inner,
  .price-card {
    padding: 24px;
  }

  .photo-main,
  .teacher-photo,
  .voice-photo img {
    height: 330px;
  }

  .section-photo {
    height: 210px;
  }

  .voice-photo {
    grid-template-columns: 1fr;
  }

  .voice-photo div {
    padding: 0 12px 10px;
  }

  .teacher-card-note {
    position: static;
    margin-top: 14px;
  }

  .hero-note {
    position: static;
    margin-top: 14px;
  }

  .feature-item {
    grid-template-columns: 58px 1fr;
  }

  .feature-item img {
    width: 58px;
  }
}
