.review-list {
  width: 996px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 100%;
}

.review-list__item {
  width: 320px;
  background: #fff;
  box-sizing: border-box;
  padding: 30px 26px 30px 25px;
  border-radius: 5px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
}

.review-list__heading {
  display: flex;
  justify-content: center;
  gap: 0 30px;
  align-items: center;
}

.review-list__image {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 3px solid #cdcdcd;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.review-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-list__age {
  font-size: 13px;
  line-height: 19px;
  margin: 0 0 10px;
}

.review-list__rate {
  font-weight: 700;
  color: #FFAA00;
  letter-spacing: 0.4em;
}

.review-list__title {
  font-weight: 700;
  margin: 20px 0 10px;
  text-align: center;
  letter-spacing: 0;
}

.review-list__text {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-list__btn {
  margin: 11px 0 0;
  text-align: right;
}

.review-list__btn a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
}

.review-list__btn a:after {
  content: "";
  border-radius: 50%;
  width: 25px;
  height: 25px;
  background: url("../img/review/arrow.webp") no-repeat center/100% auto;
}

.review-list__btn a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 560px) {
  .review-list__age {
    font-size: 3.21vw;
    line-height: 1.6;
  }

  .review-list__image {
    width: 14.29vw;
    height: 14.29vw;
    overflow: hidden;
    border: 3px solid #cdcdcd;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
  }
 
  .review-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .review-list__text {
    font-size: 3.57vw;
    line-height: 1.6;
  }


  .review-list {
    max-width: 100%;
    flex-direction: column;
    gap: 3.57vw;
  }

  .review-list__item {
    width: auto;
    margin-left: 3.57vw;
    margin-right: 3.57vw;
  }
}

/* ----------------------------------------
review list other
------------------------------------------- */
.review-list--other {
  width: 636px;
  max-width: 100%;
  gap: 18px 10px;
  margin-bottom: 60px;
}

.review-list__ttl {
  width: 100%;
  margin: 0 0 12px;
  padding: 0 0 0 15px;
  position: relative;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.03em;
}

.review-list__ttl::before {
  content: "";
  position: absolute;
  left: -2px;
  background: #4399C9;
  width: 4px;
  top: 4.5px;
  bottom: 4.5px;
  border-radius: 2px;
}

.review-list__title--other {
  margin: 20px 0;
}

.review-list__item--other {
  width: 49%;
}

@media screen and (max-width: 560px) {
  .review-list__item--other {
    width: auto;
  }

  .review-list--other {
    margin-bottom: 5.71vw;
    flex-direction: column;
    gap: 2.68vw;
  }

  .review-list__ttl {
    width: 58.93vw;
    max-width: 100%;
    margin-bottom: 1.79vw;
    font-size: 4.46vw;
    line-height: 1.6;
  }
}

/* ----------------------------------------
review detail
------------------------------------------- */
.review-detail {}

.review-detail__heading {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
}

.review-detail__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 35px;
}

.review-detail__title {
  max-width: 360px;
  position: relative;
  padding: 0 15px 17px;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0;
  font-weight: 700;
}

.review-detail__title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 5px;
  height: 4px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.16);
  background: linear-gradient(90deg, rgb(0, 51, 102) 0%, rgb(5, 177, 204) 80%, rgb(3, 201, 227) 90%, rgb(0, 224, 248) 100%);
}

.review-detail__image {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 3px solid #cdcdcd;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.review-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-detail__age {
  font-size: 15px;
  line-height: 22px;
  margin: 0 0 9px;
}

.review-detail__rate {
  font-weight: 700;
  color: #FFAA00;
  letter-spacing: 0.4em;
}

.review-detail__text {
  margin: 50px auto 0;
  width: 800px;
  max-width: 100%;
}

@media screen and (max-width: 560px) {
  .review-detail__age {
    font-size: 3.75vw;
  }

  .review-detail__image {
    width: 19.29vw;
    height: 19.29vw;
    overflow: hidden;
    border: 3px solid #cdcdcd;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  .review-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .review-detail {}

  .review-detail__heading {
    display: block;
    margin-left: 2.68vw;
    margin-right: 2.68vw;
  }

  .review-detail__row {
    margin: 0 0 5.36vw;

  }

  .review-detail__title {
    max-width: 100%;
    font-size: 4.46vw;
    line-height: 1.6;
  }

  .review-detail__text {
    margin: 5.36vw 5.36vw 0;
    width: auto;
  }
}