.voices .section-heading {
  margin-bottom: 24px;
}
#voices-title {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.55;
}
#voices-title span {
  display: inline-block;
}
.voice-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.voice-track::-webkit-scrollbar {
  display: none;
}
.voice-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  align-content: start;
  gap: clamp(28px, 4vw, 48px);
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.voice-photo {
  min-width: 0;
  margin: 8px 8px 18px;
  padding: 10px;
  background: #f4eef6;
  border-radius: 24px;
  box-shadow: 0 10px 22px #3e224b10;
}
.voice-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}
.voice-photo img[src$="voice-seisen.png"] {
  object-position: center bottom;
}
.voice-photo img[src$="story-rules.webp"] {
  object-position: center top;
}
.voice-photo img[src$="story-consultation.webp"] {
  object-position: center 45%;
}
.voice-photo img[src$="story-operations.webp"] {
  object-position: center 10%;
}
.voice-copy {
  min-width: 0;
}
.voice-company {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 14px;
}
.voice-copy:first-child { grid-column: 1 / -1; }
.voice-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(32px, 2.7vw, 34px);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: balance;
  overflow-wrap: normal;
}
.voice-title-phrase {
  display: inline-block;
}
.voice-summary {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.voice-controls {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) minmax(0, max-content) 44px minmax(44px, 1fr);
  grid-template-areas: "previous selectors autoplay next";
  align-items: center;
  row-gap: 2px;
  margin-top: 12px;
}
.voice-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #a28eac;
  font-size: 17px;
  opacity: 1;
  transition:
    color 0.2s,
    opacity 0.2s,
    background 0.2s;
}
.voice-arrow[data-previous] {
  grid-area: previous;
  justify-self: start;
}
.voice-arrow[data-next] {
  grid-area: next;
  justify-self: end;
}
.voice-arrow:hover {
  color: var(--purple);
  opacity: 1;
}
.voice-selectors {
  grid-area: selectors;
  display: flex;
  justify-content: center;
}
.voice-selectors button {
  position: relative;
  flex: 0 1 40px;
  min-width: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
}
.voice-selectors button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7b5d1;
  content: "";
  transform: translate(-50%, -50%);
  transition:
    background 0.2s,
    transform 0.2s;
}
.voice-selectors button[aria-current="true"]::after {
  background: var(--purple);
  transform: translate(-50%, -50%) scale(1.35);
}
.voice-autoplay {
  display: grid;
  grid-area: autoplay;
  place-items: center;
  justify-self: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #a28eac;
  font-size: 0;
  transition:
    color 0.2s,
    background 0.2s;
}
.voice-autoplay::before {
  width: 9px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(
    0 0,
    33% 0,
    33% 100%,
    0 100%,
    0 0,
    67% 0,
    100% 0,
    100% 100%,
    67% 100%,
    67% 0
  );
  content: "";
}
.voice-autoplay[aria-pressed="true"]::before {
  width: 10px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.voice-autoplay:hover {
  background: #f4eff6;
  color: var(--purple);
}
.voice-autoplay:disabled {
  cursor: default;
  opacity: 0.45;
}

@media (max-width: 1000px) {
  .voice-slide {
    gap: 28px;
  }
  #voices-title {
    font-size: 26px;
  }
  .voice-copy h3 {
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .voices .section-heading {
    margin-bottom: 20px;
  }
  #voices-title {
    font-size: 24px;
  }
  .voice-slide {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 18px;
  }
  .voice-photo {
    margin: 8px 6px 12px;
    padding: 8px;
    border-radius: 20px;
  }
  .voice-photo img {
    border-radius: 12px;
  }
  .voice-copy h3 {
    margin-bottom: 16px;
    font-size: 26px;
  }
  .voice-company {
    margin-bottom: 12px;
  }
  .voice-summary {
    margin-bottom: 16px;
  }
  .voice-controls {
    margin-top: 8px;
    row-gap: 0;
  }
}

@media (max-width: 350px) {
  .voice-controls {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas: "previous selectors next" ". autoplay .";
  }
}
