@charset "UTF-8";

/* =========================================================
   Customer Reviews Section
   ========================================================= */

.reviews {
  --reviews-font: "Barlow", "Noto Sans JP", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  --reviews-bg: #d8dbe3;
  --reviews-card-bg: #ffffff;
  --reviews-text: #3c3c3c;
  --reviews-star: #f5a623;
  --reviews-arrow: #6b6b6b;
  background-color: var(--reviews-bg);
  font-family: var(--reviews-font);
  color: var(--reviews-text);
  padding: 40px 0 60px;
  overflow-x: clip;
}

.reviews *,
.reviews *::before,
.reviews *::after {
  box-sizing: border-box;
}

.reviews__inner {
  max-width: 1940px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ---------- head ---------- */

.reviews__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.reviews__title {
  margin: 0;
  font-size: 56px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #3c3c3c;
}

.reviews__note {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  color: #3c3c3c;
}

/* ---------- nav ---------- */

.reviews__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.reviews__nav--sp {
  display: none;
}

.reviews__arrow {
width: 78px;
    height: 78px;
  border: 2px solid var(--reviews-arrow);
  border-radius: 50%;
  background: transparent;
  color: var(--reviews-arrow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.reviews__arrow svg {
  width: 46px;
  height: 46px;
  display: block;
}

.reviews__arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.reviews__arrow:focus-visible {
  outline: 2px solid #1f5fbf;
  outline-offset: 4px;
}

.reviews__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---------- slider ---------- */

.reviews__slider {
  position: relative;
}

.reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reviews__item {
  height: auto;
  display: flex;
}

/* ---------- card ---------- */

.reviewCard {
  background-color: var(--reviews-card-bg);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  display: flex;
  /* height: fit-content; */
  flex-direction: column;
}

.reviewCard__stars {
  display: flex;
  gap: 6px;
  font-size: 25px;
  line-height: 1;
  color: var(--reviews-star);
  margin-bottom: 20px;
}

.reviewCard__title {
  margin: 0 0 24px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
  color: #3c3c3c;
}

.reviewCard__body {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 400;
  color: #3c3c3c;
}

.reviewCard__name {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #3c3c3c;
}

.reviewCard__images {
  display: flex;
justify-content: space-between;
  margin-top: 30px;
}

.reviewCard__image {
  width: 48%;
    /* height: 152px; */
    object-fit: cover;
    display: block;
    border-radius: 2px;
}
.reviewCard__name a{
border-bottom: 1px solid;}

/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 1024px) {
  .reviews__inner {
    padding: 0 40px;
  }

  .reviews__title {
    font-size: 44px;
  }

  .reviews__note {
    font-size: 16px;
  }

  .reviews__arrow {
    width: 80px;
    height: 80px;
  }

  .reviews__arrow svg {
    width: 34px;
    height: 34px;
  }

  .reviewCard__stars,
  .reviewCard__title {
    font-size: 28px;
  }

  .reviewCard__body,
  .reviewCard__name {
  }
}

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

@media screen and (max-width: 767px) {
  .reviews {
    padding: 48px 0 64px;
  }

  .reviews__inner {
    padding: 0 24px;
  }

  .reviews__head {
    display: block;
    margin-bottom: 40px;
  }

  .reviews__title {
    font-size: 48px;
    text-align: left;
  }

  .reviews__note {
    font-size: 16px;
    margin-top: 10px;
    padding-left: 8px;
  }

  .reviews__nav--pc {
    display: none;
  }

  .reviews__nav--sp {
    display: block;
  }

  .reviews__nav--sp .reviews__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
width: 50px;
        height: 50px;
    border-width: 1px;
    border-color: #9a9a9a;
    background-color: #cfd3dc;
    color: #6b6b6b;
    z-index: 1;
  }

  .reviews__nav--sp .reviews__arrow--prev {
    left: -32px;
  }

  .reviews__nav--sp .reviews__arrow--next {
    right: -32px;
  }

  .reviews__nav--sp .reviews__arrow svg {
    width: 40px;
    height: 40px;
  }

  .reviewCard {
    padding: 28px 24px;
  }

  .reviewCard__stars {
    font-size: 23px;
    margin-bottom: 16px;
  }

  .reviewCard__title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .reviewCard__body {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 28px;
  }

  .reviewCard__name {
    margin-bottom: 16px;
  }

  .reviewCard__images {
    /* gap: 20px; */
  }

  .reviewCard__image {
    /* width: 152px;
    height: 152px; */
    width: 100%;
  }
  .reviewCard__images .reviewCard__image:first-child {
    padding-bottom: 20px;
  }

  .reviewCard__images {
    display: block;
}
}
