/* お客様の声セクションのスタイル */
/* 背景スタイルの追加 */
.c-trip__testimonials {
  background: linear-gradient(to bottom, #f5fafe, #ffffff);
  position: relative;
  overflow: hidden;
}

.c-trip__testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images/hero_check01_pc.png);
  opacity: 0.04;
  z-index: 0;
}

.c-trip__testimonials .define_inner {
  position: relative;
  z-index: 1;
}

/* テスティモニアルカードのスタイル改善 */
.c-trip__testimonial {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(240, 240, 240, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.c-trip__testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(12, 100, 201, 0.15);
  border-color: rgba(12, 100, 201, 0.2);
}

/* 6つ目以降のテスティモニアルを非表示 */
.c-trip__testimonial:nth-child(n+7) {
  display: none;
}

/* 表示状態の制御クラス */
.c-trip__testimonials-grid.show-all .c-trip__testimonial:nth-child(n+7) {
  display: flex;
}

/* もっと見るボタン */
.c-trip__testimonial-more {
  text-align: center;
  margin: 30px 0;
}

.c-trip__testimonial-more-btn {
  display: inline-block;
  background: #0c64c9;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(12, 100, 201, 0.3);
}

.c-trip__testimonial-more-btn:hover {
  background: #0a51a3;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(12, 100, 201, 0.4);
}

.c-trip__testimonial-more-btn.hidden {
  display: none;
}

/* 統計情報のスタイル改善 */
.c-trip__testimonial-stats {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 767px) {
  /* モバイルでは最初の5つだけ表示 */
  .c-trip__testimonial:nth-child(n+6) {
    display: none;
  }
  
  /* 表示状態の制御クラス（モバイル） */
  .c-trip__testimonials-grid.show-all .c-trip__testimonial:nth-child(n+6) {
    display: flex;
  }
} 
