@charset "UTF-8";

/* popup */

.wrap_popup {
  border-radius: 24px;
  overflow: hidden;
}
.wrap_popup h2 {
  display: none;
}

/* 텍스트 기본 */
.wrap_popup .text_1,
.wrap_popup .text_2 {
  opacity: 0;
  transform: translateY(-12px);
  animation: none;
  will-change: opacity, transform;
}

.wrap_popup .text_1 {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
}

.wrap_popup .text_2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.19;
  color: #333333;
}

@media (min-width: 1440px) {
  .wrap_popup .text_1 {
    font-size: 2.2rem;
  }

  .wrap_popup .text_2 {
    font-size: 3.4rem;
  }
}

/* 현재 슬라이드가 아닐 때는 무조건 초기화 */
.wrap_popup .slick-slide:not(.slick-current) .text_1,
.wrap_popup .slick-slide:not(.slick-current) .text_2 {
  opacity: 0 !important;
  transform: translateY(-12px) !important;
  animation: none !important;
}

/* 현재 슬라이드에서만 실행 */
.wrap_popup .slick-current .text_1 {
  animation: popupText1 0.45s ease-out both;
}

.wrap_popup .slick-current .text_2 {
  animation: popupText2 0.45s ease-out 0.08s both;
}

/* 복제 슬라이드는 애니메이션 막기 */
.wrap_popup .slick-cloned .text_1,
.wrap_popup .slick-cloned .text_2 {
  animation: none !important;
}

@keyframes popupText1 {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popupText2 {
  0% {
    opacity: 0;
    transform: translateY(-12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.wrap_popup .slick-slide {
  display: inline-block;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.wrap_popup .slick-slide .item_2 {
  position: absolute;
  left: 40px;
  top: 40px;
  z-index: 2;
}

.wrap_popup .item_1 {
  overflow: hidden;
}

.wrap_popup .item_1 img {
  display: block;
  width: 100%;
  height: 100%;
}

.wrap_popup .control {
  position: absolute;
  left: 40px;
  bottom: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2rem;
}

.wrap_popup .control .playStop,
.wrap_popup .control .prevNext {
  display: none;
}

.wrap_popup .paging .slick-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px 0;
}

.wrap_popup .paging .slick-dots > li {
  line-height: 1.1;
  padding: 5px 0;
}

.wrap_popup .paging .slick-dots > li button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #9fc9f4;
  text-indent: -9999px;
}

.wrap_popup .paging .slick-dots > li.slick-active button {
  background-color: #0681ff;
}

.wrap_popup .numbering {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding:0 1.3rem;
  height:3rem;
  font-size: 1.8rem;
  line-height:1;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .wrap_popup {
    border-radius: 18px;
    overflow: hidden;
  }
  .wrap_popup .slick-slide {
    height: 180px;
  }

  .wrap_popup .slick-slide .item_2 {
    left: 20px;
    top: 20px;
  }

  .wrap_popup .item_1 {
    height: 100%;
  }

  .wrap_popup .item_1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .wrap_popup .control {
    left: 20px;
    bottom: 15px;
  }
  .wrap_popup .numbering {
    padding:0 1.2rem;
    height:2.2rem;
    font-size:1.2rem;
  }
}
