.attendance-customer-voice {
  position: relative;
  width: 100%;
}

.customer_voice_slider {
  width: 100%;
  overflow: hidden;
  max-width: 1176px;
}

.customer_voice_slider .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.customer_voice_slider_item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  padding: 32px;
  background: #ebf3ff;
  border-radius: 16px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .customer_voice_slider_item {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
}

.customer_voice_slider_item_image {
  flex: 0 0 200px;
  width: 498px;
  min-width: 498px;
  height: 332px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.customer_voice_slider_item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .customer_voice_slider_item_image {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 327 / 200;
    max-width: 100%;
    margin: 0;
  }
}

.customer_voice_slider_item_body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.customer_voice_slider_item_title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #1e1e1e;
  margin: 0 0 6px;
}

.customer_voice_slider_item_company {
  font-size: 15px;
  font-weight: 500;
  color: #323232;
  margin: 0 0 16px;
}

.customer_voice_slider_item_text {
  font-size: 14px;
  line-height: 1.8;
  color: #1e1e1e;
  margin: 0 0 16px;
  padding: 28px 32px;
  border: solid 1px #aac8ff;
  border-radius: 12px;
  background: #fff;
  flex: 1 1 auto;
}

.customer_voice_slider_item_link_wrap {
  width: 100%;
  display: block;
  display: flex;
  justify-content: flex-end;
}

.customer_voice_slider_item_link {
  display: flex;

  font-size: 20px;
  font-weight: 700;
  color: #2864f0;
  text-decoration: none;
}

.customer_voice_slider_item_link:hover {
  text-decoration: underline;
}

.customer_voice_slider_item_link span {
  font-weight: 700;
}

@media (max-width: 767px) {
  .customer_voice_slider_item_title {
    font-size: 16px;
  }

  .customer_voice_slider_item_company {
    font-size: 14px;
  }

  .customer_voice_slider_item_link {
    font-size: 14px;
  }
}

.customer_voice_control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto 0;
  width: 100%;
  max-width: 1176px;
}

.customer_voice_control_prev,
.customer_voice_control_next {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.customer_voice_control_prev svg,
.customer_voice_control_next svg {
  width: 32px;
  height: 32px;
  display: block;
}

.customer_voice_control_prev.swiper-button-disabled,
.customer_voice_control_next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.customer_voice_control_pager {
  flex: 1 1 auto;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.customer_voice_control_pager .swiper-pagination-bullet {
  flex: 1 1 0;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  opacity: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  width: 163px !important;
  height: 58px !important;
  font-size: 16px;
  border-radius: 10px;
  padding: 0 10px;
  color: #464343;
  border: 1px solid #aac8ff;
  background: #fff !important;
  box-sizing: border-box;
  position: relative;
}

.customer_voice_control_pager .swiper-pagination-bullet:hover {
  background: #dce8ff !important;
  color: #2864f0;
  border-color: #2864f0;
  box-shadow: inset 0 0 0 1px #2864f0;
}

.customer_voice_control_pager .swiper-pagination-bullet:focus-visible {
  outline: 2px solid #2864f0;
  outline-offset: 2px;
}

.customer_voice_control_hint {
  font-size: 12px;
  color: #6a7180;
  text-align: center;
  margin: 8px 0 0;
}

.customer_voice_control_pager .swiper-pagination-bullet:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 0;
  height: 0;
  border-left: 7.5px solid transparent;
  border-right: 7.5px solid transparent;
  border-bottom: 7px solid #2864f0;
  background: transparent;
}

.customer_voice_control_pager .swiper-pagination-bullet-active {
  background: #dce8ff !important;
  color: #2864f0;
  border-color: #2864f0;
  box-shadow: inset 0 0 0 1px #2864f0;
}

.customer_voice_control_pager .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 0;
  height: 0;
  border-left: 7.5px solid transparent;
  border-right: 7.5px solid transparent;
  border-bottom: 7px solid #2864f0;
  background: transparent;
}

@media (max-width: 767px) {
  .customer_voice_control {
    max-width: 100%;
    gap: 8px;
    padding: 0 8px;
  }
  .customer_voice_control_prev,
  .customer_voice_control_next {
    display: none;
  }
  .customer_voice_control_pager {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 8px calc(50% - 53px) 0;
    gap: 8px;
  }
  .customer_voice_control_pager::-webkit-scrollbar {
    display: none;
  }
  .customer_voice_control_pager .swiper-pagination-bullet {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
  .customer_voice_control_pager .swiper-pagination-bullet:hover {
    background: #fff !important;
    color: #464343;
    border-color: #aac8ff;
    box-shadow: none;
  }
  .customer_voice_control_pager .swiper-pagination-bullet:hover::before {
    content: none;
  }
}

@media (max-width: 767px) {
  .customer_voice_control {
    max-width: 100%;
    gap: 8px;
    padding: 0 8px;
  }
  .customer_voice_control_prev,
  .customer_voice_control_next {
    display: none;
  }
  .customer_voice_control_pager {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 8px calc(50% - 53px) 0;
    gap: 8px;
  }
  .customer_voice_control_pager::-webkit-scrollbar {
    display: none;
  }
  .customer_voice_control_pager .swiper-pagination-bullet {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
  .customer_voice_control_pager .swiper-pagination-bullet:hover {
    background: #fff !important;
    color: #464343;
    border-color: #aac8ff;
    box-shadow: none;
  }
  .customer_voice_control_pager .swiper-pagination-bullet:hover::before {
    content: none;
  }
}

/* Second navigation (SP only): arrows + dots */
.customer_voice_dots_control {
  display: none;
}

@media (max-width: 767px) {
  .customer_voice_dots_control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }
  .customer_voice_dots_prev,
  .customer_voice_dots_next {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .customer_voice_dots_prev svg,
  .customer_voice_dots_next svg {
    width: 24px;
    height: 24px;
    display: block;
  }
  .customer_voice_dots_pager {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .customer_voice_dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    background: #dce8ff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .customer_voice_dot.is-active {
    background: #2864f0;
  }
}
