/* =========================
  VOICE LIST
========================= */

.voice-list {
  padding: 70px 0 110px;
}

.voice-list__inner {
  width: var(--aibi-width);
  max-width: var(--aibi-inner);
  margin: 0 auto;
}

/* title */

.voice-list__title {
  display: grid;
  grid-template-columns: auto 220px auto;
  align-items: center;
  column-gap: 18px;
  width: fit-content;
  margin: 0 0 48px;
}

.voice-list__title h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.voice-list__title h1 span {
  color: var(--aibi-color-main);
}

.voice-list__title i {
  height: 1px;
  background: #999;
}

.voice-list__title em {
  color: var(--aibi-color-gray-text);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
}

/* filter */

.voice-list__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 70px;
}

.voice-list__filter a {
  width: 170px;
  height: 42px;
  border: 1px solid #999;
  border-radius: 999px;
  color: #777;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  transition: .25s;
}

.voice-list__filter a.is-current,
.voice-list__filter a:hover {
  background: var(--aibi-color-main);
  border-color: var(--aibi-color-main);
  color: #fff;
}

/* grid */

.voice-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 38px;
}

/* card */

.voice-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.voice-card__image {
  margin: 0 0 18px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.voice-card__image img {
  width: 100%;
  height: 250px;
  aspect-ratio: 1 / .82;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.voice-card:hover .voice-card__image img {
  transform: scale(1.06);
}

.voice-card__image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(0,0,0,.85);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.voice-card__body p {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.voice-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.voice-card__cats span {
  min-width: 92px;
  height: 28px;
  padding: 0 16px;
  border: 1px solid #999;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  font-weight: 700;
}

/* pagination */

.voice-list__pagination {
  margin-top: 80px;
  text-align: left;
}

.voice-list__pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 4px;
    background: #666;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.voice-list__pagination .current {
  background: var(--aibi-color-orange);
}

/* =========================
  SP
========================= */

@media (max-width: 1100px) {

  .voice-list {
    padding: 50px 0 80px;
  }

  .voice-list__inner {
    width: var(--aibi-sp-width);
  }

  .voice-list__title {
    grid-template-columns: auto 1fr auto;
    width: 100%;
    margin-bottom: 34px;
  }

  .voice-list__title h1 {
    font-size: 32px;
  }

  .voice-list__title em {
    font-size: var(--aibi-title-en-size-sp);
  }

  .voice-list__filter {
    gap: 12px;
    margin-bottom: 44px;
  }

  .voice-list__filter a {
    width: calc(30% - 6px);
    height: 40px;
    font-size: 11px;
  }

  .voice-list__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .voice-card__image figcaption {
    font-size: 18px;
  }

  .voice-card__body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .voice-list__pagination {
    margin-top: 54px;
  }

  .voice-list__pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* =========================
  VOICE SINGLE
  news-single 寄せ
========================= */

.voice-detail {
  padding: 60px 0 100px;
}

.voice-detail__inner {
  width: var(--aibi-width, 100%);
  max-width: var(--aibi-inner, 1100px);
  margin: 0 auto;
}

/* title */

.voice-detail__title {
  display: grid;
  grid-template-columns: auto 220px auto;
  align-items: center;
  column-gap: 18px;
  width: fit-content;
  margin: 0 0 58px;
}

.voice-detail__title h1 {
  margin: 0;
  font-size: var(--aibi-title-size, 42px);
  font-weight: var(--aibi-title-weight, 600);
  line-height: 1;
  letter-spacing: .03em;
}

.voice-detail__title h1 span {
  color: var(--aibi-color-main, #ee9988);
}

.voice-detail__title i {
  height: 1px;
  background: var(--aibi-line-color, #808080);
}

.voice-detail__title em {
  color: var(--aibi-color-gray-text, #808080);
  font-size: var(--aibi-title-en-size, 22px);
  font-style: normal;
  font-weight: 700;
}

/* category */

.voice-detail__cat {
  margin-bottom: 28px;
}

.voice-detail__cat span {
  width: 190px;
  height: 44px;
  border: 1px solid var(--aibi-line-color, #808080);
  border-radius: 999px;
  color: var(--aibi-color-gray-text, #808080);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* main image */

.voice-detail__mv {
  margin: 0 0 54px;
}

.voice-detail__mv img {
  width: 100%;
  display: block;
  height: auto;
}

/* content */

.voice-detail__content {
  font-size: 16px;
  font-weight: 700;
  line-height: 2.5;
  letter-spacing: .04em;
}

.voice-detail__content p {
  margin: 0 0 2.2em;
}

.voice-detail__content img {
  max-width: 100%;
  height: auto;
}

/* WP editor h4 */
.voice-detail__content h4 {
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--aibi-line-color, #808080);
  color: var(--aibi-color-gray-text, #808080);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .04em;
}

.voice-detail__content h4:not(:first-child) {
  margin-top: 58px;
}

/* pager */

.voice-detail__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 80px;
}

.voice-detail__pager a {
  min-width: 96px;
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: #777;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .voice-detail {
    padding: 50px 0 70px;
  }

  .voice-detail__inner {
    width: var(--aibi-sp-width, calc(100% - 32px));
  }

  .voice-detail__title {
    width: 100%;
    grid-template-columns: auto 1fr auto;
    margin-bottom: 40px;
  }

  .voice-detail__title h1 {
    font-size: var(--aibi-title-size-sp, 32px);
  }

  .voice-detail__title em {
    font-size: var(--aibi-title-en-size-sp, 18px);
  }

  .voice-detail__cat {
    margin-bottom: 22px;
  }

  .voice-detail__cat span {
    width: 130px;
    height: 38px;
    font-size: 14px;
  }

  .voice-detail__mv {
    margin-bottom: 38px;
  }

  .voice-detail__content {
    font-size: 15px;
    line-height: 2.2;
  }

  .voice-detail__content h4 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-size: 20px;
    line-height: 1.6;
  }

  .voice-detail__content h4:not(:first-child) {
    margin-top: 42px;
  }

  .voice-detail__pager {
    flex-wrap: wrap;
    margin-top: 60px;
  }

  .voice-detail__pager a {
    min-width: 88px;
    height: 40px;
    font-size: 15px;
  }
}