/**
 * pages/method.css
 * ============================================================
 * 受診前体験設計メソッド詳細ページのスタイル。
 * /method/
 *
 * セクション順:
 *   .mt-hero         ページヒーロー
 *   .mt-why          なぜこのメソッドが必要か
 *   .mt-stages       4段階のフレーム
 *   .mt-viewpoints   6視点の役割
 *   .mt-outcome      このメソッドで変わること
 *   .contact-cta     CTA（services.css / base.css のスタイルを継承）
 * ============================================================
 */


/* =============================================
 * [1] MT-HERO
 * ============================================= */

.mt-hero {
  background-color: var(--color-bg-section);
  text-align: center;
  padding-block: var(--space-16) !important;
}

@media (min-width: 768px) {
  .mt-hero {
    padding-block: var(--space-24) !important;
  }
}

.mt-hero__inner {
  max-width: 800px;
}

.mt-hero__eyebrow {
  display: inline-block;
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}

.mt-hero__heading {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .mt-hero__heading {
    font-size: var(--fs-4xl);
  }
}

.mt-hero__sub {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: var(--lh-relaxed);
}

.mt-hero__lead {
  font-size: var(--fs-md);
  color: var(--color-text-soft);
  line-height: var(--lh-relaxed);
}


/* =============================================
 * [2] MT-WHY
 * ============================================= */

.mt-why__body {
  max-width: 720px;
  margin-inline: auto;
}

.mt-why__body p {
  margin-bottom: var(--space-5);
  line-height: var(--lh-relaxed);
}

.mt-why__body p:last-child {
  margin-bottom: 0;
}


/* =============================================
 * [3] MT-STAGES
 * ============================================= */

.mt-stage {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.mt-stage:last-child {
  margin-bottom: 0;
}

.mt-stage__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.mt-stage__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.mt-stage__title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .mt-stage__title {
    font-size: var(--fs-2xl);
  }
}

.mt-stage__body p {
  margin-bottom: var(--space-4);
  line-height: var(--lh-relaxed);
}

.mt-stage__body p:last-child {
  margin-bottom: 0;
}


/* =============================================
 * [4] MT-VIEWPOINTS
 * ============================================= */

.mt-viewpoints__grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .mt-viewpoints__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mt-viewpoints__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mt-viewpoint {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.mt-viewpoint__title {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.mt-viewpoint__stage {
  font-size: var(--fs-xs);
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-4);
}

.mt-viewpoint__body {
  font-size: var(--fs-base);
  color: var(--color-text-soft);
  line-height: var(--lh-relaxed);
}


/* =============================================
 * [5] MT-OUTCOME
 * ============================================= */

.mt-outcome__body {
  max-width: 720px;
  margin-inline: auto;
}

.mt-outcome__body p {
  margin-bottom: var(--space-5);
  line-height: var(--lh-relaxed);
}

.mt-outcome__body p:last-child {
  margin-bottom: 0;
}


/* =============================================
 * [6] CONTACT-CTA（services.css と同じスタイルを継承）
 * ============================================= */

.contact-cta {
  background-color: var(--color-primary-bg) !important;
  text-align: center;
}

.contact-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-4);
}

@media (min-width: 480px) {
  .contact-cta__buttons {
    flex-direction: row;
    gap: var(--space-4);
  }
}
