/* =======================
  before
======================= */
.voice__before {
}

.voice__before-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 47px;
  padding: 65px 0 20px 0;
}

.voice__before-wrap {
}

.voice__before-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 160px;
}

.voice__before-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 37%;
}

.voice__before-ttl {
  padding: 56px 65px;
  margin: 0 auto;
  background-color: rgba(162, 143, 129, 0.2);
  position: relative;
  width: 70%;
  box-shadow: 7px 7px 10px rgb(85, 85, 85, 0.4);
}

.voice__before-num {
  font-family: var(--font-ja-heading);
  color: var(--color-primary);
  opacity: 0.3;
  line-height: var(--line-height-base);
  position: absolute;
  text-align: center;
  position: absolute;
  top: 1.5%;
  left: 2.5%;
}

.voice__before-num:before {
  display: block;
  content: "";
  background: var(--color-primary);
  width: 0.1px;
  height: 190px;
  position: absolute;
  top: -71%;
  left: 120%;
  transform: rotate(47deg);
}

.voice__before-ttl p {
  text-align: center;
  font-family: var(--font-ja-heading);
  font-size: 1.375rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
  letter-spacing: var(--line-height-base);
}

.before_voice-txt {
  width: 81%;
}

.before_voice-txt p {
  font-size: var(--font-size-text);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}

/* =======================
  sp     before
======================= */
@media screen and (max-width: 1300px) and (min-width: 1024px) {
  .voice__before-area {
    gap: 80px;
    padding: 65px 0 100px 0;
  }

  .voice__before-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 50px;
  }

  .voice__before-item {
    gap: 20px;
    width: 50%;
  }

  .voice__before-ttl {
    width: 65%;
  }

  .voice__before-ttl p {
    font-size: 1.125rem;
  }
}

/* tab */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .voice__before-area {
    gap: 150px;
    padding: 65px 0 100px 0;
  }

  .voice__before-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 50px;
  }

  .voice__before-item {
    width: 100%;
    gap: 30px;
  }

  .voice__before-ttl {
    width: 70%;
    font-size: 1.375rem;
  }

  .voice__before-num:before {
    height: 280px;
    top: -75%;
    left: 121%;
  }
}

/* sp */
@media screen and (max-width: 768px) {
  .voice__before-area {
    gap: 150px;
    padding: 65px 0 100px 0;
  }

  .voice__before-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .voice__before-item {
    width: 100%;
    gap: 30px;
  }

  .voice__before-ttl {
    width: 100%;
    font-size: 1.375rem;
    padding: 50px 0;
  }

  .voice__before-ttl p {
    padding: 8px;
    font-size: 1.25rem;
  }

  .voice__before-num {
    color: var(--color-primary);
    opacity: 0.3;
    top: 0;
    left: 0;
    padding: 2% 5%;
    display: inline-block;
    align-items: center;
    font-size: 0.75rem;
  }

  .voice__before-num:before {
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    transform: rotate(0);
    z-index: -1;
    background: var(--color-base);
    opacity: 0.2;
  }
}

/* =======================
  after
======================= */
/* 感想部分レイアウトはcommon.css */
.voice__after-group {
  padding: 40px 0 30px 0;
}

.voice__after-item {
  gap: 110px;
}

/* =======================
  sp    home/voice 
======================= */

@media screen and (max-width: 1300px) and (min-width: 1024px) {
}

/* tab */
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .voice__after-item {
    gap: 45px;
  }
}

/* sp */
@media screen and (max-width: 768px) {
}

/* =======================
  voice-gallery
======================= */
.voice__gallery {
  width: 80%;
  margin: 0 auto;
  position: relative;
}

.voice__gallery-slider {
  display: block;
  width: 100%;
  overflow: hidden;
}

.slick-track {
  display: flex;
  gap: 50px;
  width: 90%;
  position: relative;
}

.voice__gallery-slider-list {
  padding: 124px 0 65px 0;
  position: relative;
}

.slick-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.voice__gallery-slider-item {
  position: relative;
}

.voice__gallery-slider-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

.voice__gallery-attention {
  padding-bottom: 130px;
  width: 90%;
  margin: 0 auto;
}

.voice__gallery-attention p {
  color: var(--color-primary);
  text-align: left;
  font-family: var(--font-ja-heading);
  font-size: var(--font-size-text);
  font-weight: var(--font-weight-bold);
  line-height: 1.65;
  letter-spacing: var(--letter-spacing-base);
}

/* arrow・btn */
/* arrow全体 */
.voice__gallery-slider-arrows {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 45%;
  left: 0;
  transform: translateY(-50%);
}
/* arrowボタン全体のデザイン */
.voice__gallery-slider-arrows button {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 70px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
  z-index: 10;
}

.voice__gallery-slider-arrows .slick-prev {
  left: -9vw;
}

.voice__gallery-slider-arrows .slick-next {
  right: -8.5vw;
}

/* 矢印ラインのデザイン */
.voice__gallery-slider-arrows button::before,
.voice__gallery-slider-arrows button::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 1.5px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.voice__gallery-slider-arrows .slick-prev::before {
  top: 0%;
  left: 50%;
  transform: translate(-50%, -100%) rotate(-60deg);
}

.voice__gallery-slider-arrows .slick-prev::after {
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0%) rotate(60deg);
}

.voice__gallery-slider-arrows .slick-next::before {
  top: 0%;
  left: 50%;
  transform: translate(-50%, -100%) rotate(60deg);
}

.voice__gallery-slider-arrows .slick-next::after {
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0%) rotate(-60deg);
}

/* ホバー時のエフェクト */
.voice__gallery-slider-arrows button:hover::before,
.voice__gallery-slider-arrows button:hover::after {
  background-color: var(--color-base);
}

.voice__gallery-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
  height: 20%;
}

.voice__gallery-slider-dots .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 125px;
  gap: 10px;
}

.voice__dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-base);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: block;
}

.voice__gallery-slider-dots li.slick-active .voice__dot {
  background-color: var(--color-base-light);
  border: solid.5px var(--color-base);
}

/* sp */
@media screen and (max-width: 768px) {
  .voice__gallery-slider {
    display: block;
    width: 83%;
    overflow: hidden;
    transform: translateX(15.5%);
  }

  .voice__gallery-attention p {
    font-size: 10px;
  }
}
