@charset "utf-8";

/*================================================
  voices
================================================*/
.page-header {
  background-image: url(../../../image/karat-kun/voices/page_header_bg.jpg);
  background-position:left center;
}

/*------------------------------------------------
  intri
------------------------------------------------*/

.intro.section {
  padding-bottom: 0;
}

/*------------------------------------------------
  voices
------------------------------------------------*/

.voices-section {
  margin-bottom: 100px;
}

.voices-list {
  display: grid;
  gap: 80px;
}
.voices-item {
  position: relative;
}
.voices-item::before {
  content: "";
  display: block;
  background:linear-gradient(to bottom, #FFDF46 0%, #FCBA27 100%);
  position: absolute;
  width: 100%;
  max-width: 1700px;
  height: 100%;
  top: 0;
  z-index: 0;
}

.voices-item:nth-child(odd)::before {
  right: 0;
  border-top-left-radius: 40px;
}
.voices-item:nth-child(even)::before {
  left: 0;
  border-top-right-radius: 40px;
}

.voices-item-inner {
  padding: 2.5em 2em;
  max-width: 1200px;
  margin: auto;
  position: relative;
}
.voices-item-detail {
  padding-bottom: 2em;
}

.voices-item-title {
  margin-bottom: 1.25em;
  font-weight: 900;
  font-size: clamp(2rem, 1.8rem + 1vw, 3rem);
  line-height: 1.25;
}
.voices-item-text {
  font-size: clamp(1.4rem, 1.35rem + 0.25vw, 1.65rem);
}
.voices-item-text > span.emphasis {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.75em;
  font-size: 1.45em;
  font-weight: 800;
  line-height: 1.5;
}
.voices-item-img {
  width: 100%;
}

@media print,screen and (min-width: 960px) {
  .voices-section {
    margin-bottom: 160px;
  }
  .voices-list {
    margin-top: 80px;
  }
  .voices-item-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3.5em 2em;
  }
  .voices-item:nth-child(even) .voices-item-inner {
    flex-direction: row-reverse;
  }
  .voices-item-detail {
    width: calc(60% - 40px);
    padding-bottom: 0;
  }
  .voices-item-img {
    width: 40%;
  }
}

@media print,screen and (min-width: 1280px) {
  .voices-item::before {
    min-width: 1200px;
    width: 98%;
  }
  .voices-item:nth-child(odd)::before {
    border-top-left-radius: 80px;
    padding-right: calc(50% - 580px);
  }
  .voices-item:nth-child(even)::before {
    border-top-right-radius: 80px;
    border-top-left-radius: inherit;
    padding-left: calc(50% - 580px);
  }
  .voices-item-inner {
    padding: 70px 2em;
    align-items: center;
  }
  .voices-item-detail {
    width: calc(52% - 40px);
  }
  .voices-item-img {
    width: 48%;
  }
}

@media print,screen and (min-width: 1600px) {
  .voices-section {
    margin-bottom: 200px;
  }
  .voices-item-inner {
    padding: 80px 0;
  }
  .voices-item-detail {
    width: 560px;
    padding-bottom: 0;
  }
  .voices-item-img {
    width: 580px;
  }
}

