.cp-change-bg-with-scroll {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.cp-change-bg-with-scroll * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.cp-change-bg-with-scroll__inner {
  position: relative;
  height: -webkit-calc(100vh - 60px);
  height: calc(100vh - 60px);
  max-height: 150vw;
}

.cp-change-bg-with-scroll__box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: polygon(0% -webkit-calc(100% - (100% * var(--change-bg-with-scroll-progress, 0))), 100% -webkit-calc(100% - (100% * var(--change-bg-with-scroll-progress, 0))), 100% 0%, 0 0%);
  clip-path: polygon(0% calc(100% - (100% * var(--change-bg-with-scroll-progress, 0))), 100% calc(100% - (100% * var(--change-bg-with-scroll-progress, 0))), 100% 0%, 0 0%);
}

.cp-change-bg-with-scroll__img-box {
  position: relative;
  height: 100%;
  background-color: #000;
}

.cp-change-bg-with-scroll__img-box.is-dim::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  height: 40rem;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(68.23%, rgba(0, 0, 0, 0.65)), to(rgba(0, 0, 0, 0.8)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 68.23%, rgba(0, 0, 0, 0.8) 100%);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 68.23%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 40;
}

.cp-change-bg-with-scroll__img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cp-change-bg-with-scroll__txt-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  position: absolute;
  left: 50%;
  bottom: 120px;
  bottom: 12rem;
  padding: 0 140px;
  padding: 0 14rem;
  width: 100%;
  max-width: 1920px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 50;
}

.cp-change-bg-with-scroll__txt-box {
  width: 24.085366%;
}

.cp-change-bg-with-scroll__txt-box .cm-section-title__subtitle {
  display: block;
  font-style: normal;
  margin-bottom: 12px;
  margin-bottom: 1.2rem;
  font-size: 18px;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.cp-change-bg-with-scroll__tit {
  display: block;
  font-weight: 400;
  font-size: 32px;
  font-size: 3.2rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.cp-change-bg-with-scroll__desc {
  margin-top: 20px;
  margin-top: 2rem;
  width: 94.43038%;
  font-weight: 400;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 1919px) {
  .cp-change-bg-with-scroll__txt-wrap {
    padding: 0px 120px;
    padding: 0rem 12rem;
  }
}

@media screen and (max-width: 1599px) {
  .cp-change-bg-with-scroll__txt-wrap {
    padding: 0px 100px;
    padding: 0rem 10rem;
  }
}

@media screen and (max-width: 1359px) {
  .cp-change-bg-with-scroll__txt-wrap {
    padding: 0px 76px;
    padding: 0rem 7.6rem;
  }
}

@media (max-width: 1199px) {
  .cp-change-bg-with-scroll__txt-box .cm-section-title__subtitle {
    font-size: 14px;
    font-size: 1.4rem;
  }
  .cp-change-bg-with-scroll__tit {
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: normal;
  }
  .cp-change-bg-with-scroll__desc {
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 1.2;
  }
}

@media (max-width: 1023px) {
  .cp-change-bg-with-scroll__inner {
    height: -webkit-calc(100vh - 52px);
    height: calc(100vh - 52px);
    max-height: 250vw;
  }
  .cp-change-bg-with-scroll__txt-wrap {
    top: -webkit-calc(var(--app-height) - 90.5px);
    top: calc(var(--app-height) - 90.5px);
    top: calc(var(--app-height) - 90.5px);
    right: auto;
    bottom: auto;
    -webkit-transform: translate(-50%, -100%);
    -ms-transform: translate(-50%, -100%);
    transform: translate(-50%, -100%);
    padding: 0 20px;
    padding: 0 2rem;
  }
  .cp-change-bg-with-scroll__txt-box {
    width: 100%;
  }
  .cp-change-bg-with-scroll__txt-box .cm-section-title__subtitle {
    font-size: 14px;
    font-size: 1.4rem;
  }
  .cp-change-bg-with-scroll__tit {
    width: 100%;
  }
  .cp-change-bg-with-scroll__desc {
    width: 100%;
    margin-top: 12px;
    margin-top: 1.2rem;
  }
  .cp-change-bg-with-scroll__img-box.is-dim::before {
    content: '';
    height: 240px;
    height: 24rem;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  }
}
