@charset "UTF-8";

/*
 * Sample 3 adjustment layer.
 * Keep Sample 2 intact and apply only the spacing and Aeon-magenta carousel
 * changes requested in docs/request3.png.
 */

body.sample-three {
  --sample-three-magenta: #b60081;
  --sample-three-magenta-soft: #fff5fb;
}

.sample-three .voice-carousel {
  width: min(100%, 70rem);
  margin-right: auto;
  margin-left: auto;
}

.sample-three .voice-carousel__viewport {
  border-radius: 1rem;
}

.sample-three .voice-carousel__track .card a {
  grid-template-columns: minmax(28rem, 0.92fr) minmax(0, 1.08fr);
  min-height: 26rem;
}

.sample-three .voice-carousel__track .card .img img {
  height: 26rem;
  min-height: 26rem;
}

.sample-three .voice-carousel__track .card .text {
  padding: 2.8rem 3.2rem;
}

.sample-three .voice-carousel__track .card .comment {
  font-size: 2rem;
  line-height: 1.55;
}

.sample-three .voice-carousel__controls {
  margin-top: 2.2rem;
}

.sample-three .voice-carousel__button {
  width: 4.6rem;
  height: 4.6rem;
  background: var(--voice-white);
  border-color: var(--sample-three-magenta);
  color: var(--sample-three-magenta);
}

.sample-three .voice-carousel__button span {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  overflow: hidden;
  background: url("../images/arrow-p.svg") center / auto 1.2rem no-repeat;
  font-size: 0;
  line-height: 0;
}

.sample-three #latest-prev span {
  transform: rotate(180deg);
}

.sample-three .voice-carousel__button:hover:not(:disabled) {
  background: var(--sample-three-magenta-soft);
  border-color: var(--sample-three-magenta);
  color: var(--sample-three-magenta);
}

.sample-three .voice-carousel__button:focus-visible {
  outline: 0.3rem solid rgba(182, 0, 129, 0.22);
  outline-offset: 0.3rem;
}

.sample-three .voice-carousel__button:disabled {
  opacity: 0.45;
}

.sample-three .voice-carousel__dot:hover,
.sample-three .voice-carousel__dot.is-current {
  background: var(--sample-three-magenta);
}

@media (max-width: 680px) {
  .sample-three .voice-carousel {
    width: 100%;
  }

  .sample-three .voice-carousel__track .card a {
    display: block;
    min-height: 0;
  }

  .sample-three .voice-carousel__track .card .img img {
    height: 23rem;
    min-height: 0;
  }

  .sample-three .voice-carousel__track .card .text {
    min-height: 25rem;
    padding: 2.4rem 2.2rem;
  }

  .sample-three .voice-carousel__track .card .comment {
    font-size: 2rem;
  }
}
/* 本体の全件表示でも、ページ操作を画面内に収める。 */
.sample-three #voice #voice-pagination {
  flex-wrap: wrap;
  gap: 0.8rem;
}

.sample-three #voice #voice-pagination li {
  flex-shrink: 0;
}

.sample-three #voice #voice-pagination .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
}

.sample-three #voice_single #voice-detail[hidden] {
  display: none;
}
