/* =========================================
   受講者の声 専用スタイル
========================================= */

/* ヒーローセクション */
.voice-hero {
  background-color: var(--bg-light);
  margin-top: 80px;
  overflow: hidden;
}

.voice-hero-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* 左側：画像 */
.voice-hero-img {
  flex: 0 0 40%;
  max-width: 40%;
  overflow: hidden;
}

.voice-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 右側：テキスト */
.voice-hero-right {
  flex: 1;
  padding: 60px 60px 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

.voice-hero-title {
  margin-bottom: 30px;
}

.voice-hero-title h1 {
  font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  line-height: 1.6;
}

.voice-hero-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-main);
}

/* 声カードセクション */
.voice-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}

.voice-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.voice-card-headline {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--accent-color);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.voice-card-person {
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

/* 写真＋テキストの横並びレイアウト */
.voice-content-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.voice-photo {
  flex: 0 0 200px;
}

.voice-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.voice-text {
  flex: 1;
  min-width: 240px;
}

.voice-text h3 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.voice-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 12px;
}

.voice-text p:last-child {
  margin-bottom: 0;
}

/* 受講1か月後のパート */
.voice-followup {
  border-top: 1px solid #e2e8f0;
  padding-top: 25px;
  margin-top: 10px;
}

.voice-followup h3 {
  font-size: 1rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.voice-followup-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.voice-followup-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* 手紙画像プレースホルダー */
.voice-letter-placeholder {
  flex: 0 0 200px;
  background-color: #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  color: #6b7280;
  font-size: 0.85rem;
}

.voice-followup-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
}

/* シンプルカード（写真なし） */
.voice-card-simple .voice-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
}

.voice-letter-img {
  flex: 0 0 200px;
}

.voice-letter-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}




/* モバイル対応 */
@media (max-width: 768px) {
  .voice-hero-inner {
    flex-direction: column;
  }

  .voice-hero-img {
    flex: 0 0 auto;
    max-width: 100%;
    height: 240px;
  }

  .voice-hero-right {
    padding: 40px 20px;
  }

  .voice-hero-title h1 {
    font-size: 1.6rem;
  }

  .voice-card {
    padding: 25px 20px;
  }

  .voice-content-flex {
    flex-direction: column;
  }

  .voice-photo {
    flex: 0 0 auto;
    width: 60%;
    margin: 0 auto;
  }

  .voice-followup-flex {
    flex-direction: column;
  }

  .voice-letter-placeholder {
    flex: 0 0 auto;
    width: 100%;
    min-height: 180px;
  }
}
