.carousel-wrapper {
  display: flex;
  justify-content: center;
}

/* .carousel-wrapper .width-container {
  width: var(--wide-width) !important;
  margin: 0 auto;
} */
.carousel-wrapper .swiper-container {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.carousel-wrapper .poster-container {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.carousel-wrapper .poster-container .row-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.carousel-wrapper .swiper-container .swiper-slide img,
.carousel-wrapper .swiper-container .swiper-slide video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.carousel-wrapper .swiper-container .swiper-pagination {
  text-align: center;
  z-index: 10;
}

.swiper-pagination-bullet {
  background-color: #9c9c9c;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  transition: background-color 0.3s;
}

.swiper-pagination-bullet-active {
  background-color: #000;
}

.swiper-container-fade .swiper-slide {
  opacity: 0;
  transition: opacity 0.5s;
}

.swiper-container-fade .swiper-slide-active {
  opacity: 1;
}

.layer-image {
  position: absolute;
  z-index: 5;
}

.layer-image img {
  width: 100%;
}

.carousel-layer {
  z-index: 999;
}

.carousel-layer .inner-btn {
  padding: 0 55px;
  width: fit-content;
  height: 42px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.layer-text {
  font-size: 24px;
}

.carousel-pc {
  display: block;
}

.carousel-mobile {
  display: none;
}

.img-full {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1439px) and (min-width: 1024px) {
  .carousel-layer .inner-btn {
    height: calc(42px * var(--font-scale-large));
    font-size: calc(17px * var(--font-scale-large));
    padding: 0 35px;


  }
  .layer-text {
    font-size: calc(24px * var(--font-scale-large));
  }
}

/* @media screen and (max-width: 1200px) and (min-width: 1023px) {
  .carousel-layer .inner-btn {
    width: 158px;
    height: 40px;
  }
  .layer-text {
    font-size: 20px;
  }
} */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .carousel-layer .inner-btn {
    height: calc(42px * var(--font-scale-medium));
    font-size: calc(17px * var(--font-scale-medium));
    padding: 0 29px;

  }
  .layer-text {
    font-size: calc(24px * var(--font-scale-medium));
  }
}

@media screen and (max-width: 768px) {
  .carousel-layer {
   transform: translate(-50%,-50%);
  }
  .carousel-pc {
    display: none;
  }

  .carousel-mobile {
    display: block;
  }

  .carousel-layer .inner-btn {
    padding: 5px 32px;
    text-align: center;
    width: max-content;
    height: auto;
    font-size: 12px;
  }

  .layer-text {
    font-size: 14px;
  }
}
