@charset "UTF-8";
#voice {
  padding: 30px 0px;
}

/* Flexboxで3列に並べる */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* アイテム間の間隔 */
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center; /* 中央揃え */
}

.testimonial-item {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  flex: 1 1 calc(33.333% - 30px); /* 3列にするための計算 */
  max-width: calc(33.333% - 30px); /* 幅の最大値を設定 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px); /* ホバー時のアニメーション */
}

.testimonial-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* タイトルのスタイル */
.testimonial-title {
  font-weight: bold;
  margin: 0 0 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  font-size: 23px;
}

.title-header {
  display: flex;
  align-items: center;
  gap: 25px; /* アイコンとタイトルの間隔 */
  margin-bottom: 10px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #666666; /* デフォルト色 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.icon i {
  color: #fff;
  font-size: 20px;
}

.title-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-size: 25px;
}

/* お客様の名前のスタイル */
.customer-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* コンテンツのスタイル */
.testimonial-body {
  flex-grow: 1;
  text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 800px) {
  .testimonial-item {
    flex: 1 1 calc(50% - 30px); /* 2列 */
    max-width: calc(50% - 30px);
  }
}
@media (max-width: 640px) {
  .testimonial-item {
    flex: 1 1 100%; /* 1列 */
    max-width: 100%;
  }
}
/* ページネーションのスタイル調整（必要に応じて） */
#pagenav {
  text-align: center;
  margin-top: 30px;
}

#pagenav .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
}

#pagenav .page-numbers.current {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

#pagenav .page-numbers:hover {
  background-color: #666;
  color: #fff;
  border-color: #666;
}

/* 本文内の画像をレスポンシブに */
.testimonial-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

/* 本文内の画像に余白を追加（必要に応じて） */
.testimonial-body p {
  margin-bottom: 10px;
}/*# sourceMappingURL=voice.css.map */