: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;
  --accent: #003b6f;
}

* { 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;
}

.hero-note {
  margin-top: 18px;
  color: var(--subtext);
  font-size: 0.96rem;
}

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;
}

.story-raw-box {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  line-height: 2;
  border: 1px solid #f0e6df;
}

.story-raw-text {
  white-space: pre-line;
  font-size: 1.04rem;
}

.section-title-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.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,
.entry-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;
}

.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;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.flow-step {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 18px;
  text-align: center;
}

.flow-num {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 59, 111, 0.09);
  color: var(--accent);
  font-weight: 700;
}

.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);
}

.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); }
  .flow-grid { grid-template-columns: 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,
  .story-raw-text { 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;
  }
}

.cta-sub-actions.center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 32px;
}
.wide-image-wrap {
  max-width: 900px;
  margin: 40px auto;
}

.wide-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.check-center {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: left;
}

.check-center .check-list {
  padding-left: 1.4em;
}

.check-center .check-list li {
  font-size: 1.1rem;
  line-height: 2;
}