.cp-text-horizontal-image-carousel .is-pc {
  display: block;
}

.cp-text-horizontal-image-carousel .is-mo {
  display: none;
}

.cp-text-horizontal-image-carousel__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  max-width: 1920px;
  max-width: 192rem;
  width: 100%;
  margin: 0 auto;
  padding: 120px 140px;
  padding: 12rem 14rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 60px;
  gap: 6rem;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.cp-text-horizontal-image-carousel__eyebrow {
  font-size: 16px;
  font-size: 1.6rem;
  font-family: "genesis-Head-office", sans-serif;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.cp-text-horizontal-image-carousel__title {
  font-size: 28px;
  font-size: 2.8rem;
  font-family: "genesis-Head-office", sans-serif;
  line-height: 1.5;
}

.cp-text-horizontal-image-carousel__desc {
  font-size: 16px;
  font-size: 1.6rem;
  color: #767676;
  line-height: 1.5;
}

.cp-text-horizontal-image-carousel__text {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  gap: 2rem;
}

.cp-text-horizontal-image-carousel__media {
  max-width: 58.5365%;
  width: 100%;
  aspect-ratio: 16 / 9;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.cp-text-horizontal-image-carousel__media video,
.cp-text-horizontal-image-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-text-horizontal-image-carousel__video {
  position: relative;
  height: 100%;
}

.cp-text-horizontal-image-carousel__video-wrap {
  display: none;
  height: 100%;
  object-fit: cover;
}

.cp-text-horizontal-image-carousel__video-play {
  position: absolute;
  inset: 0;
}

.cp-text-horizontal-image-carousel__video-play:focus-visible .cp-text-horizontal-image-carousel__video-btn {
  outline: -webkit-focus-ring-color auto 1px;
}

.cp-text-horizontal-image-carousel__video-play:before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  content: '';
}

.cp-text-horizontal-image-carousel__video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  width: 104px;
  width: 10.4rem;
  height: 104px;
  height: 10.4rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(17, 17, 17, 0.8);
  -webkit-border-radius: 999px;
  border-radius: 999px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.cp-text-horizontal-image-carousel__video-btn:before {
  width: 24px;
  width: 2.4rem;
  height: 24px;
  height: 2.4rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M22 12L5 2V22L22 12Z" fill="white"/></svg>');
  content: '';
}

.cp-text-horizontal-image-carousel__image {
  height: 100%;
}

.cp-text-horizontal-image-carousel__swiper {
  overflow: hidden;
}

.cp-text-horizontal-image-carousel__swiper-container {
  position: relative;
  width: 100%;
}

.cp-text-horizontal-image-carousel__swiper-controller button {
  width: 48px;
  width: 4.8rem;
  height: 48px;
  height: 4.8rem;
}

.cp-text-horizontal-image-carousel__swiper-controller button.swiper-button-disabled {
  opacity: 0.2;
  cursor: default;
}

.cp-text-horizontal-image-carousel__swiper-prev, .cp-text-horizontal-image-carousel__swiper-next {
  position: absolute;
  top: 50%;
  left: -78px;
  left: -7.8rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none"><path d="M32 8L16 24L32 40" stroke="black" stroke-width="2"/></svg>');
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.cp-text-horizontal-image-carousel__swiper-next {
  left: auto;
  right: -78px;
  right: -7.8rem;
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}

.cp-text-horizontal-image-carousel__swiper-slide {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 4.87804%;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.cp-text-horizontal-image-carousel__swiper-slide.align-right {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}

.cp-text-horizontal-image-carousel__swiper-pagination {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  -js-display: flex;
  display: flex;
  margin-top: 60px;
  margin-top: 6rem;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  gap: 1.6rem;
}

.cp-text-horizontal-image-carousel__swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 8px;
  width: 0.8rem;
  height: 8px;
  height: 0.8rem;
  margin: 0;
  padding: 0;
  background: #e6e6e6;
  -webkit-border-radius: 999px;
  border-radius: 999px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.cp-text-horizontal-image-carousel__swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  width: 12px;
  width: 1.2rem;
  height: 12px;
  height: 1.2rem;
  background: #fff;
  border: 2px solid #000;
}

.cp-text-horizontal-image-carousel.type-dark {
  background: #111;
  color: #fff;
}

.cp-text-horizontal-image-carousel.type-black {
  background: #000;
  color: #fff;
}

@media (max-width: 1920px) {
  .cp-text-horizontal-image-carousel__inner {
    padding-inline: 120px;
    padding-inline: 12rem;
  }
}

@media (max-width: 1600px) {
  .cp-text-horizontal-image-carousel__inner {
    padding-inline: 100px;
    padding-inline: 10rem;
  }
}

@media (max-width: 1360px) {
  .cp-text-horizontal-image-carousel__inner {
    padding-inline: 76px;
    padding-inline: 7.6rem;
  }
}

@media (max-width: 1024px) {
  .cp-text-horizontal-image-carousel__inner {
    padding: 80px 20px;
    padding: 8rem 2rem;
  }
}

@media (max-width: 1199px) {
  .cp-text-horizontal-image-carousel__eyebrow {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.4;
  }
  .cp-text-horizontal-image-carousel__title {
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 1.26;
    letter-spacing: -0.03em;
  }
  .cp-text-horizontal-image-carousel__desc {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.54;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 1023px) {
  .cp-text-horizontal-image-carousel .is-mo {
    display: block;
  }
  .cp-text-horizontal-image-carousel .is-pc {
    display: none;
  }
  .cp-text-horizontal-image-carousel__inner {
    gap: 40px;
    gap: 4rem;
  }
  .cp-text-horizontal-image-carousel__media {
    max-width: inherit;
    aspect-ratio: 1 / 1;
  }
  .cp-text-horizontal-image-carousel__video-btn {
    width: 54px;
    width: 5.4rem;
    height: 54px;
    height: 5.4rem;
  }
  .cp-text-horizontal-image-carousel__video-btn:before {
    width: 16px;
    width: 1.6rem;
    height: 16px;
    height: 1.6rem;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M14.6663 7.9987L3.33301 1.33203V14.6654L14.6663 7.9987Z" fill="white"/></svg>');
  }
  .cp-text-horizontal-image-carousel__swiper-prev {
    top: var(--cp-media-center-top, 50%);
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
  }
  .cp-text-horizontal-image-carousel__swiper-next {
    top: var(--cp-media-center-top, 50%);
    right: 0;
    -webkit-transform: translateY(-50%) rotate(-180deg);
    -ms-transform: translateY(-50%) rotate(-180deg);
    transform: translateY(-50%) rotate(-180deg);
    z-index: 2;
  }
  .cp-text-horizontal-image-carousel__swiper-slide {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 28px;
    gap: 2.8rem;
  }
  .cp-text-horizontal-image-carousel__swiper-slide.align-right {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .cp-text-horizontal-image-carousel__swiper-pagination {
    margin-top: 30px;
    margin-top: 3rem;
    gap: 12px;
    gap: 1.2rem;
  }
  .cp-text-horizontal-image-carousel__swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 6px;
    width: 0.6rem;
    height: 6px;
    height: 0.6rem;
  }
  .cp-text-horizontal-image-carousel__swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 10px;
    width: 1rem;
    height: 10px;
    height: 1rem;
  }
}
