/* voice-detail.css - 先輩社員の声 詳細ページ専用スタイル */

/* ============================================
   メイン写真・サブ写真
   ============================================ */
.voice-photo {
  width: 100%;
  max-width: 1000px;
  margin-top: 60px;
}
.voice-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ============================================
   Q&Aセクション
   ============================================ */
.voice-qa {
  margin-top: 80px;
}
.voice-qa__item {
  margin-bottom: 80px;
}
.voice-qa__item:last-child {
  margin-bottom: 0;
}

/* h2見出し */
.voice-qa__heading {
  margin-bottom: 40px;
}
.voice-qa__number-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}
.voice-qa__number {
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 3px;
  color: #bc2f2f;
}
.voice-qa__question {
  display: block;

  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 3px;
  color: #2a2a2a;
}

/* 回答テキスト */
.voice-qa__answer {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.8px;
  color: #2a2a2a;
  max-width: 1000px;
}

/* ============================================
   MESSAGEコラム
   ============================================ */
.voice-message {
  background: #ffffff;
  border-radius: 10px;
  padding: 50px 50px 40px;
  margin-top: 90px;
  max-width: 1000px;
}

.voice-message__header {
  text-align: center;
  margin-bottom: 40px;
}
.voice-message__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 2.2px;
  color: #bc2f2f;
}
.voice-message__subtitle-deco {
  display: inline-block;
  width: 7px;
  height: 17px;
}
.voice-message__subtitle-deco--left {
  transform: rotate(90deg);
}
.voice-message__subtitle-deco--right {
  transform: rotate(-90deg);
}
.voice-message__label {
  display: block;

  font-size: 30px;
  font-weight: 900;
  line-height: 30px;
  letter-spacing: 3px;
  color: #bc2f2f;
  margin-top: 5px;
}

.voice-message__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.8px;
  color: #2a2a2a;
  max-width: 900px;
  margin: 0 auto;
}

.voice-message__signature {
  text-align: right;
  margin-top: 30px;

  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.8px;
  color: #2a2a2a;
}
.voice-message__signature span {
  display: block;
}

/* ============================================
   先輩社員の声一覧グリッド
   ============================================ */
.voice-members {
  padding: 80px 0 120px;
  max-width: 1000px;
  margin: 0 auto;
}

.voice-members__heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
}
.voice-members__heading::before {
  display: none !important;
}
.voice-members__heading-icon {
  width: 35px;
  height: 32px;
  flex-shrink: 0;
}
.voice-members__heading-text {
  font-size: 38px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 3.8px;
  color: #2a2a2a;
}

.voice-members__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.voice-members__card {
  position: relative;
}
.voice-members__card a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.voice-members__card a:hover {
  opacity: 0.8;
}

.voice-members__card-photo {
  aspect-ratio: 310 / 236;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.voice-members__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.voice-members__card-info {
  background: #ffffff;
  padding: 20px 16px;
  text-align: center;
  border-radius: 0 0 8px 8px;
}
.voice-members__card-dept {
  display: block;

  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 1.8px;
  color: #2a2a2a;
}
.voice-members__card-name {
  display: block;

  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 1px;
  color: #2a2a2a;
  margin-top: 4px;
}

/* NEWバッジ */
.voice-members__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 60px;
  height: 60px;
  z-index: 2;
}

/* 現在のページのカード */
.voice-members__card.is-current a {
  pointer-events: none;
  opacity: 0.5;
}

/* ============================================
   SP版
   ============================================ */
@media screen and (max-width: 768px) {
  /* Q&A見出し */
  .voice-qa__number-line {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .voice-qa__number {
    font-size: 38px;
  }
  .voice-qa__question {
    font-size: 24px;
    line-height: 42px;
    letter-spacing: 3.2px;
    text-align: center;
  }
  .voice-qa__heading {
    text-align: center;
  }
  .voice-qa__item {
    margin-bottom: 60px;
  }
  .voice-qa {
    margin-top: 60px;
  }

  /* MESSAGE */
  .voice-message {
    padding: 40px 30px 30px;
  }
  .voice-message__text {
    max-width: 100%;
  }

  /* メンバーグリッド非表示 */
  .voice-members {
    display: none;
  }
}
