.zenshin {

/* メリット */
.merit.zenshin--machin-section-next{
  padding-top: 12.4rem;
  margin-top: -12.4rem;
}

.merit {
      background-image: url(../image/2025_hige_reconstruct/_zenshin/merit/merit_bg.webp);
      background-repeat: no-repeat;
      background-position-x: center;
      background-position-y: top;
      background-size: cover;
      padding-block: 14.33rem 9.33rem;
}


.merit__header{
  color: #000;
  font-size: 4rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08rem;
  padding-inline: 5%;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.merit__header::before{
  content: "";
  height: 100%;
  width: 100%;
  width: 21.8rem;
  height: 31.93rem;
  background-image:url(../image/2025_hige_reconstruct/_zenshin/merit/merit_deco-person.webp);
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: top;
  background-size: contain;
  position: absolute;
  right: 0;
  z-index: -1;
}

.merit__header-lg{
background: var(--Style, linear-gradient(181deg, #AE1919 -21.09%, #E80404 99.26%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 6rem;
font-style: normal;
font-weight: 700;
line-height: 1;
letter-spacing: 0.12rem;
}
.merit__header-md{
  line-height: 1.4;
}

/* スライドショー */

  .merit__slider {
    position: relative;
    z-index: 2;

    .splide__slideImg {
      width: 100% !important;
    }

    .splide__pagination {
      bottom: -8.5%;
      gap: 3%;
    }

    .splide__pagination__page.is-active {
      background: #E30000;
    }

    .splide__pagination__page {
      width: 1.1rem;
      height: 1.1rem;
      background: #000;
    }

      /* 中央揃え */
    .splide__slide {
      margin-right: 0 !important;
      width: 100% !important;
    }
    .splide__slide.is-next,
    .splide__slide.is-prev {
      filter: brightness(1);
    }
    .splide__track {
      overflow: hidden;
      padding-left: 0 !important;
    }

  }

}
