@charset "UTF-8";
/*Variable
－－－－－－－*/
/*
ブレークポイント

基本  1920px
ipad 1050px
sp   767px;

コンテンツ幅1000px

*/
.voice-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px; /* 縦横の余白をしっかり取って見やすく */
}

.voice-post-list-item {
  width: calc((100% - 60px) / 3); /* 3列で均等配置 */
  background-color: #fff;
  border-radius: 8px; /* 角丸を追加して柔らかい印象に */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* うっすら影をつけて境界を明確に */
  border: 1px solid #eaeaea; /* 薄い枠線 */
  overflow: hidden;
  transition: all 0.3s ease;
}

.voice-post-list-item:hover {
  transform: translateY(-5px); /* ホバー時に少し浮かせる */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.voice-post-list-item a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.voice-post-list-img {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像の縦横比を統一してガタつきを防止 */
  background-color: #f9f9f9; /* 白い画像が背景と同化しないように薄いグレーを敷く */
  border-bottom: 1px solid #eaeaea; /* 画像とテキストの境界線 */
  overflow: hidden;
}

.voice-post-list-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 枠いっぱいに綺麗に収める */
  transition: transform 0.3s ease;
}

.voice-post-list-item:hover .voice-post-list-img img {
  transform: scale(1.05); /* ホバー時に画像を少しズーム */
}

.voice-post-list-content {
  padding: 20px;
  flex-grow: 1;
}

.voice-post-list-title {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #333;
  font-weight: bold;
}

@media screen and (max-width: 1050px) {
  .voice-post-list-item {
    width: calc((100% - 30px) / 2); /* タブレットなどは2列 */
  }
}

@media screen and (max-width: 767px) {
  .voice-post-list {
    gap: 30px;
  }
  .voice-post-list-item {
    width: 100%; /* スマホは1列 */
  }
}

.voice-catch {
  position: relative;
  z-index: 2;
  margin-bottom: 170px;
}
@media screen and (max-width: 767px) {
  .voice-catch {
    margin-bottom: 90px;
  }
}
.voice-catch::before {
  content: "";
  position: absolute;
  top: 60px;
  right: 0;
  width: 70%;
  height: 100%;
  background-color: #cff1fe;
  z-index: -1;
}
@media screen and (max-width: 1050px) {
  .voice-catch::before {
    width: 80%;
  }
}
@media screen and (max-width: 767px) {
  .voice-catch::before {
    top: 17px;
    right: -13px;
    width: 100%;
  }
}

.voice-img {
  position: relative;
  width: 70%;
  z-index: 1;
}
@media screen and (max-width: 1050px) {
  .voice-img {
    width: 80%;
  }
}
@media screen and (max-width: 767px) {
  .voice-img {
    width: 100%;
  }
}

.voice-dtl {
  position: absolute;
  bottom: 13%;
  right: 30px;
  width: 45%;
  padding: 45px 50px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 2;
}
@media screen and (max-width: 1200px) {
  .voice-dtl {
    bottom: 4%;
    right: 20px;
    width: 65%;
  }
}
@media screen and (max-width: 1050px) {
  .voice-dtl {
    bottom: 2%;
    padding: 30px 20px;
  }
}
@media screen and (max-width: 767px) {
  .voice-dtl {
    position: relative;
    width: 100%;
    bottom: 0;
    right: 0;
  }
}
.voice-dtl > p {
  font-size: 24px;
  line-height: 1.75;
}
@media screen and (max-width: 767px) {
  .voice-dtl > p {
    font-size: 18px;
  }
}

/* =========================================================
   追加：アンケート裏面の反転レイアウトと枠線
========================================================= */
.voice-catch.voice-catch-reverse::before {
  right: auto;
  left: 0;
}
@media screen and (max-width: 767px) {
  .voice-catch.voice-catch-reverse::before {
    right: auto;
    left: -13px;
  }
}
.voice-img.voice-img-reverse {
  margin-left: auto;
  margin-right: 0;
}
.voice-paper-border {
  border: 1px solid #dcdcdc; /* 薄い線 */
  box-sizing: border-box;
}

.youtube-style {
  margin-bottom: 120px;
}
@media screen and (max-width: 767px) {
  .youtube-style {
    margin-bottom: 70px;
  }
  .youtube-style iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}

.voice-heading {
  position: relative;
  margin-bottom: 90px;
  padding-bottom: 28px;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.17;
  font-weight: 400;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .voice-heading {
    margin-bottom: 50px;
    padding-bottom: 20px;
    font-size: 24px;
  }
}
.voice-heading::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  width: 90px;
  height: 8px;
  margin: auto;
  background-color: #0056b3;
}
@media screen and (max-width: 767px) {
  .voice-heading::before {
    height: 4px;
  }
}

.voice-qa-items {
  width: 100%;
  margin-bottom: 90px;
}
@media screen and (max-width: 767px) {
  .voice-qa-items {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
  }
}

.voice-qa-items-pt2 {
  padding-inline: 60px;
}
@media screen and (max-width: 767px) {
  .voice-qa-items-pt2 {
    padding-inline: 0px;
  }
}

.voice-qa-item {
  width: 48.5%;
}
@media screen and (max-width: 767px) {
  .voice-qa-item {
    width: 100%;
  }
}

.voice-qa-item.item-l-b {
  width: 41.74%;
}
@media screen and (max-width: 767px) {
  .voice-qa-item.item-l-b {
    width: 100%;
  }
}

.voice-qa-item.item-r-a {
  width: 53.914%;
}

.voice-qa-part {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .voice-qa-part {
    font-size: 18px;
    margin-bottom: 20px;
  }
}
.voice-qa-part span {
  padding-right: 5px;
}
@media screen and (max-width: 767px) {
  .voice-qa-part span {
    padding-right: 2px;
  }
}

.voice-qa-img {
  margin-bottom: 20px;
}

.voice-qa-text {
  font-size: 18px;
  line-height: 2.33;
}
@media screen and (max-width: 767px) {
  .voice-qa-text {
    font-size: 16px;
  }
}

/* =========================================================
   お客様アンケート（voice_summary）エリア
========================================================= */
.voice-summary-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #2b62a6; /* CTAの青色に合わせてアクセント */
  padding: 40px 50px;
  margin: 60px 0 80px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.voice-summary-ttl {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #2b62a6;
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.voice-summary-content {
  position: relative;
  z-index: 1;
  line-height: 2;
}

.voice-summary-content::before,
.voice-summary-content::after {
  font-family: "Times New Roman", serif;
  font-size: 80px;
  color: #e8f0fa;
  position: absolute;
  line-height: 1;
  z-index: -1;
}

.voice-summary-content::before {
  content: "“";
  top: -20px;
  left: -20px;
}

.voice-summary-content::after {
  content: "”";
  bottom: -60px;
  right: -20px;
}

.voice-summary-content p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .voice-summary-box {
    padding: 30px 20px;
    margin: 40px 0 60px;
  }
  .voice-summary-content::before {
    top: -15px;
    left: -10px;
    font-size: 60px;
  }
  .voice-summary-content::after {
    bottom: -40px;
    right: -10px;
    font-size: 60px;
  }
  .voice-summary-ttl {
    font-size: 18px;
    margin-bottom: 20px;
  }
}

/* =========================================================
   新規追加（CTA・その他のお客様の声エリア）
========================================================= */

/* CTAエリア（3列レイアウト） */
.voice-cta-area {
  margin-top: 50px;
  margin-bottom: 80px;
}
.voice-cta-area .cta-box {
  background-color: #2b62a6; /* ベース色 */
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  color: #fff;
}
.voice-cta-area .cta-lead {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: bold;
}
.voice-cta-area .cta-content {
  display: flex;
  justify-content: center;
  align-items: center;
}
.voice-cta-area .cta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.voice-cta-area .cta-separator {
  width: 1px;
  height: 60px;
  border-right: 1px dashed rgba(255, 255, 255, 0.5);
  margin: 0 15px;
}
.voice-cta-area .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  padding: 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s;
  box-sizing: border-box;
}
.voice-cta-area .btn:hover {
  opacity: 0.8;
}
.voice-cta-area .btn-contact {
  background-color: #fff;
  color: #2b62a6;
}
.voice-cta-area .btn-line {
  background-color: #06c755; /* LINEグリーン */
  color: #fff;
}
.voice-cta-area .btn-line svg {
  margin-right: 8px;
}
.voice-cta-area .tel-link {
  color: #fff;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.voice-cta-area .tel-prefix {
  font-size: 20px;
  font-weight: normal;
}
.voice-cta-area .tel-note {
  font-size: 13px;
  margin: 0;
  opacity: 0.9;
}

/* その他のお客様の声 */
section.voice-etc {
  background-color: #f7f7f7;
  border-top: 4px solid #2b62a6;
  padding: 50px 40px;
  margin-top: 60px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
section.voice-etc .voice-etc-items-title {
  margin-top: 0;
  margin-bottom: 40px;
}

.voice-etc-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px 20px;
}

.voice-etc-item {
  width: calc((100% - 40px) / 3);
  background-color: #fff;
}
.voice-etc-item-link {
  display: flex;
  flex-direction: column;
}

.voice-etc-thumbnail img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.voice-etc-title {
  padding: 15px;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

@media screen and (max-width: 767px) {
  /* CTA・その他の事例 スマホ対応 */
  .voice-cta-area .cta-content {
    flex-direction: column;
  }
  .voice-cta-area .cta-separator {
    width: 100%;
    height: 1px;
    border-right: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    margin: 25px 0;
  }
  .voice-cta-area .btn {
    max-width: 100%;
  }
  
  section.voice-etc {
    padding: 30px 20px;
  }
  .voice-etc-items {
    display: block;
  }
  .voice-etc-item {
    width: 100%;
    margin-bottom: 30px;
  }
}