
/* ========================================
   会員校インタビュー専用
   ======================================== */

.voice-interview-section {
  font-family: "Noto Sans JP", sans-serif;
}

.voice-interview-section .voice-interview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* インタビュー1件分 */
.voice-interview-section .voice-interview__item {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 16px;
  background: #F0F5F8;
  transition: background-color 0.3s ease;
}

.voice-interview-section .voice-interview__item:has(.voice-interview__link:hover) {
  background: #DCE8F0;
}

.voice-interview-notice {
  text-align: right;
  margin-top: 1em;
  font-size: 14px;
}

/* カード全体をリンクにする */
.voice-interview-section .voice-interview__link {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  color: inherit;
  text-decoration: none;
}
.voice-interview-section .voice-interview__link:hover .voice-interview__image {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* 画像：サイズは後から調整 */
.voice-interview-section .voice-interview__image {
  display: block;
  flex: 0 0 160px;
  width: 160px;
  max-width: 25%;
  height: auto;
  transition: opacity 0.3s ease;
}

/* 文章部分 */
.voice-interview-section .voice-interview__body {
  flex: 1 1 0;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* 紹介文 */
.voice-interview-section .voice-interview__intro {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: #194766;
}

/* 学校名・先生情報 */
.voice-interview-section .voice-interview__profile {
  margin-top: 12px;
}

/* 学校名 */
.voice-interview-section .voice-interview__school {
  margin: 0;
}

/* 役職・先生名 */
.voice-interview-section .voice-interview__name {
  margin: 0;
  color: inherit;
}

/* スマホなど狭い画面 */
@media screen and (max-width: 600px) {
  .voice-interview-section .voice-interview__link {
    flex-direction: column;
    gap: 12px;
  }

  .voice-interview-section .voice-interview__image {
    flex: 0 0 auto;
    width: 180px;
    max-width: 100%;
  }

  .voice-interview-section .voice-interview__body {
    width: 100%;
  }
}
