/* ==========================================================================
   12. VOICE (お客様の声) — 3b案: 写真付き3カラムカード
   ハンドオフ: design_handoff_voice_section/README.md (PC 1440px 基準 / SP は暫定値)
   ========================================================================== */

.voice {
  background: #101c3d;
  padding: 80px 20px;
  font-family: var(--font-base);
}

.voice__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Header
   -------------------------------------------------------------------------- */
.voice__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.voice__eyebrow {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 5px;
  color: #e0a92e;
}

.voice__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: 1.4px;
  color: var(--color-white);
  text-align: center;
}

/* Cards
   -------------------------------------------------------------------------- */
.voice__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.voice__card {
  display: flex;
  flex-direction: column;
  background: rgba(11, 20, 45, 0.9);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.25);
}

/* 写真の表示枠。scaleで拡大してもこの枠内でクリップされる */
.voice__photo-frame {
  position: relative;
  height: 200px;
  overflow: hidden;
}

/* 写真クレジット(右下) */
.voice__photo-credit {
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.voice__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真ごとのトリミング位置(横 縦。縦は%が小さいほど上寄り) */
.voice__photo--yatsugi {
  object-position: 64% 40%;
  transform: scale(1.2);
  transform-origin: 64% 40%;
}

.voice__photo--kazi {
  object-position: center 20%;
}

.voice__photo--takagi {
  object-position: center 14%;
}

.voice__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.voice__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
  padding: 28px 24px 30px;
}

.voice__excerpt {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 38px;
  letter-spacing: 1.5px;
  background: linear-gradient(167deg, #e3c87e 0%, #c9a24b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c9a24b; /* fallback */
  /* text-wrap: pretty; */
}

.voice__text {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.4px;
  color: var(--color-white);
  /* text-wrap: pretty; */
}

/* Author
   -------------------------------------------------------------------------- */
.voice__author {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
}

.voice__author-role {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1px;
  color: var(--color-white);
}

.voice__author-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.voice__author-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--color-white);
}

.voice__author-suffix {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--color-white);
}

/* PC
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .voice {
    padding: 120px 40px;
  }

  .voice__inner {
    gap: 60px;
  }

  .voice__header {
    gap: 16px;
  }

  .voice__eyebrow {
    font-size: 15px;
    letter-spacing: 6px;
  }

  .voice__title {
    font-size: 42px;
    letter-spacing: 2px;
  }

  .voice__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .voice__photo-frame {
    height: 210px;
  }

  .voice__body {
    padding: 36px 32px 38px;
  }

  .voice__excerpt {
    font-size: 22px;
    line-height: 42px;
  }

  .voice__text {
    line-height: 32px;
  }
}

@media (min-width: 1240px) {
  .voice {
    padding: 120px 130px;
  }
}
