/* =========================================
   Voice Section – FINAL
========================================= */

/* セクション外側の余白 */
.voice-bubble {
  margin: 56px 0; /* ← 上下の外側余白 */
}

/* 青い吹き出し本体 */
.voice-bubble__inner {
  position: relative;
  padding: 48px 24px 64px;
  max-width: 1100px;
  margin: 0 auto;

  background: linear-gradient(135deg, #3aa9e9 0%, #1f88d8 55%, #176fca 100%);
  border-radius: 18px;
}

/* 左下の“チョン”（完成形） */
.voice-bubble__inner::before {
  content: "";
  position: absolute;
  left: 64px; /* ← 位置微調整ここ */
  bottom: -14px;

  width: 54px;
  height: 26px;

  background: #176fca;
  border-radius: 0 0 18px 18px; /* 下だけ丸く */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

/* -------------------------
   見出し
------------------------- */
.voice-bubble__kicker {
  margin: 0 0 6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.voice-bubble__title {
  margin: 0 0 12px;
  text-align: center;
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}

.voice-bubble__lead {
  margin: 0 0 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.8;
}

/* -------------------------
   Slider
------------------------- */
.voice-slider {
  position: relative;
  padding: 0 56px;
}

.voice-slider__viewport {
  overflow: hidden;
}

.voice-slider__track {
  display: flex;
  gap: 22px;
  transition: transform 0.35s ease;
}

/* 矢印ボタン */
.voice-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.voice-slider__btn--prev {
  left: 8px;
}
.voice-slider__btn--next {
  right: 8px;
}

.voice-slider__btn span {
  font-size: 26px;
  line-height: 1;
}

/* -------------------------
   Card
------------------------- */
.voice-card {
  width: 310px;
  flex: 0 0 auto;
}

.voice-card__body {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.voice-card__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: #111;
}

.voice-card__divider {
  margin: 14px 0;
  border-bottom: 2px dotted #d6dbe1;
}

.voice-card__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.voice-card__name {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #157bd2;
}

.voice-card__age {
  margin: 2px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f62b3;
}

.voice-card__cat {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
}

/* アイコン（ダミー） */
.voice-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f3ff;
  border: 6px solid #3aa5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-card__avatar-face {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f3c7a6;
  position: relative;
}

.voice-card__avatar-face::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 30px;
  height: 16px;
  background: #6a8fb7;
  border-radius: 14px 14px 8px 8px;
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 768px) {
  .voice-slider {
    padding: 0 44px;
  }
  .voice-card {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .voice-bubble__inner {
    padding: 36px 16px 56px;
  }
  .voice-card {
    width: 260px;
  }
}
