:root {
  --navy: #2c3e50;
  --rose: #d8a7a7;
  --beige: #f5f1ec;
  --white: #ffffff;
  --text: #333333;
  --subtext: #666666;
  --line: #e7ddd6;
  --shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
  --line-green: #06c755;
  --line-green-dark: #05a847;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--beige);
  line-height: 1.9;
  font-size: 1rem;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.hero {
  background: linear-gradient(135deg, #f7f2ee 0%, #f0e7e1 100%);
  padding: 88px 0;
}

.hero-inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 480px;
}

.hero-image-wrap {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
}

.eyebrow {
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 24px;
}

.lead {
  font-size: 1.15rem;
  color: var(--subtext);
  margin-bottom: 32px;
  line-height: 1.9;
}

.hero-image {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-actions,
.cta-sub-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--navy);
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.5;
}

h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.6;
}

p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.center-text {
  text-align: center;
}

.problem-copy {
  font-size: 1.12rem;
  line-height: 2;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
}

.two-column > div {
  flex: 1 1 380px;
}

.check-list {
  margin: 0;
  padding-left: 1.3em;
}

.check-list li {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.section-image,
.teacher-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 32px 0 36px;
}

.step-card {
  background: #eed8d8;
  color: var(--navy);
  text-align: center;
  padding: 18px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(216, 167, 167, 0.18);
}

.light-image-wrap {
  margin: 24px auto 32px;
  max-width: 680px;
}

.light-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.emphasis {
  font-weight: 700;
  font-size: 1.12rem;
}

.teaser {
  color: var(--subtext);
  font-weight: 700;
  line-height: 1.9;
}

.voice-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  border: 1px solid #f0e6df;
}

.voice-summary {
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
}

.teacher-block {
  align-items: stretch;
}

.teacher-image-wrap {
  display: flex;
  align-items: center;
}

.teacher-line-box {
  margin-top: 24px;
  padding: 20px;
  background: #faf6f2;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cta-section {
  background: linear-gradient(180deg, #fffdfb 0%, #f5f1ec 100%);
}

.cta-lead {
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.contact-form {
  max-width: 760px;
  margin: 22px auto 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: inherit;
  line-height: 1.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(216, 167, 167, 0.15);
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #243646;
  transform: translateY(-1px);
}

.btn-line {
  background: var(--line-green);
}

.btn-line:hover {
  background: var(--line-green-dark);
}

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

.note-box {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.note-box p {
  margin: 6px 0;
  color: var(--subtext);
  font-size: 0.98rem;
}

.footer {
  padding: 30px 16px 42px;
  text-align: center;
  color: var(--subtext);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  html {
    font-size: 17px;
  }

  .hero {
    padding: 72px 0;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image-wrap {
    flex: 1 1 100%;
  }

  .hero-image {
    width: min(360px, 92%);
  }

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

  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  html {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .lead,
  .problem-copy,
  p,
  .check-list li {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .voice-card {
    padding: 24px 18px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
/* LINEボタン中央寄せ */
.cta-sub-actions.center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 32px;
}

/* スマホでも中央維持 */
@media (max-width: 560px) {
  .cta-sub-actions.center {
    justify-content: center;
  }
}