/* ==========================================================================
   Voice Section
   ========================================================================== */
.voice {
  background-color: var(--color-gray);
  background-image: url("../../../images/bg_wt.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 30vw auto;
  position: relative;
}

.voice-inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* Title Area */
.voice-header {
  text-align: center;
  margin-bottom: clamp(40px, 27px + 1.74vw, 60px);
}

/* Cards Area */
.voice-cards {
  display: flex;
  gap: clamp(20px, 7px + 1.74vw, 40px);
}

/* Card */
.voice-card {
  flex: 1;
  background-color: #fff;
  border-radius: 30px;
  padding: clamp(30px, 17px + 1.74vw, 50px) clamp(20px, 12px + 1.04vw, 32px);
  box-sizing: border-box;
}

/* Avatar */
.voice-card-avatar {
  width: clamp(120px, 76px + 5.73vw, 186px);
  aspect-ratio: 1/1;
  margin: 0 auto clamp(15px, 10px + 0.65vw, 22px);
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  overflow: hidden;
  box-sizing: border-box;
}

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

/* Name */
.voice-card-name {
  font-size: clamp(18px, 14px + 0.52vw, 24px);
  font-weight: 700;
  color: var(--color-black);
  text-align: center;
  margin: 0 0 clamp(15px, 10px + 0.65vw, 22px);
}

/* Text */
.voice-card-text {
  font-size: clamp(14px, 12px + 0.26vw, 17px);
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.4;
  text-align: justify;
  margin: 0;
}

/* Swiper Navigation - Hidden on PC */
.voice-swiper-wrapper .swiper-button-prev,
.voice-swiper-wrapper .swiper-button-next {
  display: none;
}

/* ==========================================================================
   PC Styles - Disable Swiper
   ========================================================================== */
@media screen and (min-width: 769px) {
  /* PC: Override Swiper wrapper transform */
  .voice-cards .swiper-wrapper {
    transform: none !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 5px + 1.04vw, 25px);
  }
  .voice-card.swiper-slide {
    display: flex;
    flex-direction: column;
  }
  /* PC: Avatar and name horizontal layout */
  .voice-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(15px, 10px + 0.65vw, 25px);
    margin-bottom: clamp(20px, 13px + 0.87vw, 30px);
  }
  .voice-card-avatar {
    width: clamp(100px, 62px + 4.27vw, 144px);
    flex-shrink: 0;
    aspect-ratio: 1/1;
    margin: 0;
  }
  .voice-card-avatar img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .voice-card-name {
    font-size: clamp(19px, 15px + 0.52vw, 24px);
    text-align: left;
    margin: 0;
  }
  .voice-card-text {
    flex: 1;
    font-size: clamp(16px, 14.7px + 0.17vw, 18px);
  }
}
/* ==========================================================================
   SP Styles
   ========================================================================== */
@media screen and (max-width: 768px) {
  .voice {
    background-size: 95vw auto;
  }
  .voice-header {
    margin-bottom: 30px;
  }
  .voice-inner {
    position: relative;
  }
  /* Swiper enabled on SP */
  .voice-cards {
    display: block;
    overflow: hidden;
  }
  /* Swiper wrapper - SP: Swiper controls this */
  .voice-cards .swiper-wrapper {
    display: flex;
    gap: 0;
  }
  .voice-card {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    padding: 30px 20px;
  }
  /* SP: Avatar and name vertical layout */
  .voice-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
  }
  .voice-card-avatar {
    width: 140px;
    border-width: 3px;
    margin: 0 0 15px;
  }
  .voice-card-name {
    font-size: 20px;
    margin: 0;
  }
  .voice-card-text {
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
  }
  /* Swiper Wrapper for navigation positioning */
  .voice-swiper-wrapper {
    position: relative;
  }
  /* Swiper Navigation */
  .voice-swiper-wrapper .swiper-button-prev,
  .voice-swiper-wrapper .swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 71, 141, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 40%;
    margin-top: -18px;
    z-index: 10;
  }
  .voice-swiper-wrapper .swiper-button-prev::after,
  .voice-swiper-wrapper .swiper-button-next::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }
  .voice-swiper-wrapper .swiper-button-prev::after {
    transform: rotate(135deg);
    margin-left: 3px;
  }
  .voice-swiper-wrapper .swiper-button-next::after {
    transform: rotate(-45deg);
    margin-right: 3px;
  }
  .voice-swiper-wrapper .swiper-button-prev {
    left: -5px;
  }
  .voice-swiper-wrapper .swiper-button-next {
    right: -5px;
  }
}/*# sourceMappingURL=voice.css.map */