@charset "UTF-8";

:root {
  --link_color: #37952F;
  --link_color2: #FF7A00;
  --link_color3: #EBF4EF;
  --link_color4: #fff;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch
}

/*お客様の声*/
.voices__title {
  font-size: clamp(18px, 3vw, 40px);
  text-align: left;
  padding: 5px;
  text-align: center;
  padding-top: 40px;
}

.voices-underline {
  display: inline-block;
  border-bottom: 4px solid var(--link_color);
}

.voices__wrap {
  display: flex;
  flex-direction: column-reverse;
  padding: 40px 0;
}

.voices__wrap:last-child {
  padding: 40px 0;
}

.voices__sttl {
  display: block;
  font-size: 10px;
}

.voices__body {
  padding: 20px;
  background: var(--link_color3)
}

.voices__thumb {
  width: 100%;
}

.voices__ttl {
  text-align: center;
  font-size: clamp(14px, 6vw, 18px);
  letter-spacing: 0.2em;
  margin-top: 10px;
  position: relative;
  width: 100%;
  border-bottom: 3px solid var(--link_color2);
}

.voices__ttl::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 70px;
  height: 3px;
  background-color: var(--link_color);
}

.voices__body {
  padding: 0 30px;
  width: 100%;
  text-align: center;
}


.voices__txt {
  margin-top: 20px;
  line-height: 1.7;
  font-size: clamp(14px, 7vw, 16px);
}

.voices__thumb {
  text-align: center;
  background: #c1ebdd69;
}

.voices__thumb img {
  max-width: none;
  width: 50%;
}


@media screen and (min-width: 768px), print {
  .voices__wrap {
    flex-direction: row-reverse;
    padding-top: 80px;
  }

  .voices__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .voices__wrap.__reverse {
    flex-direction: row;
  }

  .voices__thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .voices__title {
    padding-top: 80px;
  }

  .voices__wrap:last-child {
    padding: 80px 0;
  }
}