/* ============================================================
   VOICE.CSS — お客様の声ページ専用スタイル
   Pasir Putih HP
============================================================ */

/* === 本文セクション背景 === */
.voice-body-section {
  position: relative;
  background: var(--sand);
}
.voice-body-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/pasir_pattern.png') repeat center / cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.voice-body-section > * {
  position: relative;
  z-index: 1;
}

/* === 評価サマリー === */
.voice-summary {
  margin-bottom: 48px;
}

.voice-summary-inner {
  background: var(--white);
  border-radius: 4px;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  box-shadow: 0 2px 16px rgba(58, 47, 37, 0.05);
  flex-wrap: wrap;
  justify-content: center;
}

.voice-avg {
  text-align: center;
  flex-shrink: 0;
}

.voice-avg-num {
  display: block;
  font-size: 56px;
  font-weight: 300;
  color: var(--earth);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.voice-avg-stars {
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

.voice-avg-label {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.voice-summary-sources {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--border);
  padding-left: 48px;
}

.voice-source-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice-source-name {
  font-size: 13px;
  color: var(--text);
  min-width: 160px;
}

.voice-source-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}

/* === 全レビューカードグリッド === */
.voice-all-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* === 外部リンク === */
.voice-external {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: 4px;
}

.voice-external p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.voice-external-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.voice-external-links .btn-secondary {
  flex: 0 1 320px;
  justify-content: center;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .voice-summary-inner { padding: 28px 24px; flex-direction: column; gap: 24px; }
  .voice-summary-sources { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; width: 100%; }
  .voice-all-cards { grid-template-columns: 1fr; }
  .voice-external-links { flex-direction: column; align-items: stretch; }
  .voice-external-links .btn-secondary { flex: none; width: 100%; }
}
