/* お客様の声スタイル - Googleクチコミ風デザイン */

.section-voices-wrapper {
  margin: 40px 0;
  background-color: #f8f9fa;
  min-height: 480px;
}

.voice-slider-container {
  position: relative;
  padding: 10px 0 60px;
  height: 380px;
}

/* カードスタイル */
.voice-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 8px;
  height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* カードヘッダー */
.voice-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.voice-user-info {
  display: flex;
  align-items: center;
}

.voice-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-avatar {
  font-size: 24px;
  color: #fff;
  background-color: #4285F4;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-user-details {
  display: flex;
  flex-direction: column;
}

.voice-user-name {
  font-weight: 500;
  font-size: 14px;
  color: #202124;
}

.voice-date {
  font-size: 12px;
  color: #70757a;
  margin-top: 2px;
}

/* 評価スター */
.voice-rating {
  display: flex;
  align-items: center;
}

.star {
  font-size: 16px;
  color: #e0e0e0;
  margin-right: 1px;
}

.star.filled {
  color: #fbbc04;
}

/* レビュー内容 */
.voice-content {
  flex-grow: 1;
  font-size: 13px;
  line-height: 1.4;
  color: #3c4043;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  line-clamp: 10;
  -webkit-box-orient: vertical;
}

/* Swiperスライダー関連 */
.voice-swiper {
  padding: 20px 5px 40px;
}

.swiper-slide {
  height: 300px;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-button-next.voice-button-next,
.swiper-button-prev.voice-button-prev {
  color: #4285F4;
}

.swiper-pagination-bullet-active {
  background-color: #4285F4;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .section-voices-wrapper {
    padding: 40px 0;
  }
  
  .voice-card {
    padding: 15px;
  }
  
  .voice-avatar {
    width: 40px;
    height: 40px;
  }
}

/* レビューがない場合のメッセージ */
.no-reviews {
  text-align: center;
  padding: 40px 0;
  color: #70757a;
}

/* スライドの高さを揃える */
.swiper-wrapper {
  align-items: stretch;
}
