/* ========================================
   セクション: S10_お客様の声
   Figma node: 1038:5066 / 393×559
   ======================================== */

.voice {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 0;
  gap: 40px;
  background: var(--color-navy);
}

/* ── 見出し ── */
.voice-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.voice-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  height: 24px;
  background: #ffffff;
  border-radius: 30px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-navy);
  white-space: nowrap;
}

.voice-heading {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
}

.voice-heading .sm {
  font-size: 24px;
}

.voice-heading-yellow {
  color: #ffffff;
}

/* ── カルーセル ── */
.voice-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 0;
  background: #E5F5F8;
  position: relative;
  overflow: hidden;
}

.voice-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  height: 275px;
}

/* ── カード ── */
.voice-card {
  position: absolute;
  width: 275px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, left 0.4s ease;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
}

.voice-card.is-active {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* ── カード内部 ── */
.voice-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voice-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.voice-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.voice-card-area {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  color: #333333;
  white-space: nowrap;
}

.voice-card-stars {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  color: #f1c40f;
}

.voice-card-title {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-turquoise);
}

.voice-card-body {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  color: #333333;
}

/* ── 矢印 ── */
.voice-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.voice-carousel-arrow--left {
  left: calc(50% - 137.5px - 5px - 28px);
}

.voice-carousel-arrow--right {
  right: calc(50% - 137.5px - 5px - 28px);
}

/* ── ドットインジケーター ── */
.voice-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.voice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  padding: 0;
  cursor: pointer;
}

.voice-dot.is-active {
  background: var(--color-turquoise);
}
