.index-voice {
  background: #c0c2c7;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

.index-voice::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 594px;
  aspect-ratio: 594 / 427;
  background-image: url("../../images/decorations/section-divider-corner-leaves-left.png");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.index-voice .index-shell {
  position: relative;
  z-index: 1;
}

.home .index-voice::after {
  display: none;
}

.index-voice .index-carousel {
  --index-voice-shell-gutter: max(24px, calc((100vw - 1280px) / 2));
  grid-auto-columns: 400px;
  gap: 40px;
  width: 100vw;
  margin-top: 56px;
  margin-inline: calc(50% - 50vw);
  padding-top: 14px;
  padding-left: var(--index-voice-shell-gutter);
  padding-right: var(--index-voice-shell-gutter);
  padding-bottom: 22px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  scroll-padding-inline-start: var(--index-voice-shell-gutter);
  scroll-snap-type: none;
}

.index-voice .index-carousel::-webkit-scrollbar {
  display: none;
}

.index-voice .index-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.index-voice-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: min(400px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.index-voice-card__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.index-voice .index-voice-card {
  scroll-snap-align: none;
}

.index-voice-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 235px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f1ec;
}

.index-voice-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-voice-card__body {
  width: 366px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.index-voice-card__company {
  margin: 0;
  width: 100%;
  color: #1f1f1f;
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
}

.index-voice-card__link:hover .index-voice-card__company,
.index-voice-card__link:focus-visible .index-voice-card__company {
  text-decoration: underline;
}

.index-voice__link {
  margin-top: 88px;
}

body.has-site-stage-scale .index-voice .index-carousel {
  width: 1920px;
  margin-inline: calc(50% - 960px);
  --index-voice-shell-gutter: calc((1920px - 1280px) / 2);
}

 @media (max-width: 767px) {
  .index-voice::after {
    width: clamp(220px, 42vw, 420px);
  }

  .index-voice .index-carousel {
    --index-voice-shell-gutter: 16px;
    grid-auto-columns: minmax(300px, 76vw);
    gap: 24px;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .index-voice-card__thumb {
    height: 210px;
  }

  .index-voice-card__body {
    width: calc(100% - 24px);
  }
}

 @media (max-width: 720px) {
  .index-voice::after {
    width: clamp(180px, 52vw, 320px);
  }

  .index-voice .index-carousel {
    --index-voice-shell-gutter: 16px;
    grid-auto-columns: minmax(260px, 84vw);
    gap: 16px;
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .index-voice-card__thumb {
    height: 160px;
  }

  .index-voice-card__company {
    font-size: 20px;
    line-height: 1.8;
  }

  .index-voice__link {
    margin-top: 40px;
  }
}
