:root {
  --margin-y: 200px;
}

.matenro-review-index {
  margin: var(--margin-y) 0;
}
.matenro-review-index__inner {
  z-index: 1;
  margin-top: -15vh;
  padding-bottom: calc(var(--padding-y) * 1.3);
}
.matenro-review-index__bg {
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  mix-blend-mode: darken;
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    height: calc(100% + var(--margin-y) * 2);
    background-size: cover;
    background-position: 50% 50%;
  }
  &::before {
    background-image: url("../assets/review-bg-v.webp");
  }
}

.matenro-review-index__bg-noise {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--margin-y);
  mix-blend-mode: plus-lighter;

  &.is-top {
    top: calc(var(--margin-y) * -1 - 1px);
    background: 0% 0% / 1000px 200px repeat-x url(../assets/review-bg-top.webp);
  }
  &.is-bottom {
    bottom: calc(var(--margin-y) * -1 - 1px);
    background: 0% 100% / 1000px 200px repeat-x url(../assets/review-bg-bottom.webp);
  }
}
.matenro-review-index__reviews-list-wrapper {
  overflow: visible;
}

.matenro-review-index__review-site-area {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
  width: 120%;
  max-width: 440px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  height: auto;
  padding: 150px 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("../assets/review-site-area-bg-sp.webp");
  z-index: -1;
  & img {
    display: block;
    min-width: 180px;
    width: 55%;
    max-width: 250px;
    height: auto;
  }
  @media screen and (min-width: 750px) {
    flex-direction: row;
    justify-content: center;
    gap: 1.5em;
    max-width: none;
    width: 100%;
    padding: 15vw 0;
    background-image: url("../assets/review-site-area-bg-pc.webp");
    & img {
      width: 30%;
      max-width: none;
    }
  }
  @media screen and (min-width: 1200px) {
    width: 85vw;
  }
  @media screen and (min-width: 1500px) {
    width: 80vw;
  }
}

.matenro-review-index__reviews {
  padding: 0 10px;
  margin-bottom: 3em;
  @media screen and (min-width: 1200px) {
    padding: 0;
  }
}

.matenro-review-index__reviews-header {
  color: rgb(var(--color-white));
  text-align: center;
  margin-bottom: 1.1em;
  font-size: clamp(2.4rem, 1.3rem + 3.5vw, 4.6rem);
  filter: drop-shadow(0px 0px 20px rgba(var(--color-black), 0.5));
  @media screen and (min-width: 750px) {
    font-size: 5.5vw;
  }
  @media screen and (min-width: 1200px) {
    font-size: 4.5vw;
  }
  & h4 {
    font-size: inherit;
    line-height: calc(34 / 30);
    margin-bottom: 0.2em;
    color: inherit;
  }
  & .matenro-review-index__reviews-header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    & h1,
    & h2,
    & h3,
    & h4 {
      font-family: var(--font-heading-family);
    }
    @media screen and (min-width: 750px) {
      flex-direction: row;
      gap: 0.1em;
    }
  }
  & .matenro-review-index__reviews-header-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    margin-bottom: 0.3em;
    & img {
      width: 2.3em;
      height: auto;
      aspect-ratio: 1 / 1;
    }
    & p {
      font-size: 2em;
      line-height: 1;
      font-family: var(--font-heading-family);
    }
    @media screen and (min-width: 750px) {
      gap: 0;
      margin-bottom: 0;
      & img {
        width: 1.15em;
      }
      & p {
        font-size: 1em;
      }
    }
  }
}

.matenro-google-reviews {
  padding: calc(var(--padding-y) * 0.4 + 2.5rem) 0 0;
  & .matenro-google-reviews__title {
    text-align: center;
    margin-bottom: 1em;
    color: rgb(var(--color-white));
    filter: drop-shadow(0px 0px 20px rgba(var(--color-black), 0.5));
  }
}
/* Google Reviews */
.tb_hc_post_container + div,
.tb_g_post_container + div {
  overflow: hidden;
  max-height: 0;
  margin-bottom: -7px;
  & a {
    margin-right: 210% !important;
  }
}
.tagembed-container {
  overflow: visible !important;
  min-height: 300px;
  @media screen and (min-width: 1200px) {
    min-height: 350px;
  }
  @media screen and (min-width: 2300px) {
    min-height: 400px;
  }
  & .splide {
    overflow: visible !important;
    & .splide__track {
      overflow: visible !important;
    }
    & .splide__slide {
      margin-right: 15px !important;
      @media screen and (min-width: 540px) {
        width: calc(66.6667% - 5px) !important;
      }
      @media screen and (min-width: 750px) {
        margin-right: 18px !important;
        width: calc(50% - 9px) !important;
      }
      @media screen and (min-width: 1200px) {
        margin-right: 20px !important;
        width: calc(33.3333% - 13.3333px) !important;
      }
    }
  }
}
.tb_rc_post_wrapper {
  padding: 0 !important;
}
.tb_rc_contant_wrapper,
.tb_post_modal_content_wrap {
  padding: 1em 1.6em;
}
.tb_post_modal_content {
  font-size: inherit;
  line-height: 1.3;
}
.tb_rc_arrow_wrapper_ {
  display: none;
}
.tb_post_modal_navigation {
  display: none !important;
}
.tb_rc_post_in {
  border-radius: 0.5em;
}
.tb_rc_content,
.tb_rc_rating_content {
  font-size: inherit;
}
.tb_content_trim,
.tb_rc_post_wrapper .tb_ai_list_item {
  line-height: calc(25 / 20);
}
