/* ========== About Page Specific ========== */

/* 強調ラベル用 */
.strong-label {
  font-weight: bold;
  color: var(--main-color);
}

/* 代表講師 挨拶セクション（画像＋テキスト横並び） */
.director-intro {
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.director-image {
  border-radius: 8px;
}

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

.about-text {
  flex-grow: 1;
  margin: 0;
}

/* 特徴リスト */
.about-feature-list {
  list-style: disc;
  padding-left: 1em;
}

.subsection-title {
  font-weight: bold;
  margin-bottom: 16px;
}

/* 講師紹介一覧 */
.teacher-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.teacher-image {
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.testimonials-card-contents {
  background-color: #fff;
  border-radius: 8px;
  margin: 8px;
  padding: 16px;
}

.courses-subjects {
  flex-wrap: wrap;
  margin: 0;
  justify-content: center;
}

.director-list {
  font-weight: normal;
  margin-left: 1rem;
}

.mb-16 {
  margin-bottom: 16px;
}

/* ========== レスポンシブ ========== */
@media (min-width: 768px) {
  .director-intro {
    justify-content: start;
    flex-direction: row;
  }

  .director-card {
    align-items: flex-start;
  }

  .teacher-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
    align-items: stretch;
  }

  .teacher-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    gap: 16px;
    height: 100%;
    margin: 0;
  }

  .testimonials-text {
    min-height: 260px;
    flex-grow: 0;
  }

  .teacher-image,
  .teacher-name,
  .courses-subjects,
  .director-list-title,
  .director-list {
    flex-shrink: 0;
  }
}
