@charset "UTF-8";

.voice {
  background-color: #bb9f98;
  padding-bottom: 60px;
}

.voice .common__section__title {
  font-weight: bold;
}

.voice .voice-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width:751px) {
  .voice .voice-box {
    gap: 15px;
  }
}

@media (max-width:750px) {
  .voice .voice-box {
    flex-direction: column;
  }

  .voice-box:nth-of-type(odd) {
    flex-direction: column-reverse;
  }
}

.voice .voice-box+.voice-box {
  margin-top: 40px;
}

.voice .img-wrap {
  position: relative;
  z-index: 1;
}

.voice .voice__text {
  line-height: 1.7;
  background-color: #fff;
  height: fit-content;
  padding: 25px 30px 30px;
  box-shadow: -30px 30px 0 rgba(0, 0, 0, 0.2);
  position: relative;
}

@media (max-width:750px) {
  .voice .voice__text {
    margin-top: 15px;
  }
}

.voice-box:nth-of-type(odd) .voice__text::after,
.voice-box:nth-of-type(even) .voice__text::before {
  content: "";
  display: inline-block;
  position: absolute;
  border: 15px solid transparent;

}

/* 右側 */
.voice-box:nth-of-type(odd) .voice__text::after {
  border-left: 31px solid #fff;

}

/* 左側 */
.voice-box:nth-of-type(even) .voice__text::before {
  border-right: 31px solid #fff;

}

@media (min-width:751px) {

  .voice-box:nth-of-type(odd) .voice__text::after,
  .voice-box:nth-of-type(even) .voice__text::before {
    bottom: 10px;
  }

  .voice-box:nth-of-type(odd) .voice__text::after {
    right: -34px;
    transform: rotate(-35deg);
  }

  .voice-box:nth-of-type(even) .voice__text::before {
    left: -34px;
    transform: rotate(35deg);
  }
}

@media (max-width:750px) {

  .voice-box:nth-of-type(odd) .voice__text::after,
  .voice-box:nth-of-type(even) .voice__text::before {
    top: -15px;
  }

  .voice-box:nth-of-type(odd) .voice__text::after {
    right: 50px;
    /* transform: rotate(0deg); */
  }

  .voice-box:nth-of-type(even) .voice__text::before {
    /* transform: rotate(0deg); */
  }
}


.voice__text .emphasis {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

.voice .voice__age {
  color: #fff;
  text-align: center;
  margin-top: 5px;
}

.voice .voice-img {
  max-width: 150px;
}