/* 메인 비주얼 */
.mv{
  overflow: hidden;
  width: 100%;
  position: relative;
}
.mv .swiper-slide{
  height: 100vh;
  position: relative;
}
.mv .img_box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv .txt_box{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.mv .img_box{
  width: 100%;
  height: 100%;
}

.mv .big_txt {
  overflow: hidden;
}
.mv .big_txt span{
  transition-delay: .5s;
}
.mv .big_txt span,
.mv .sml_txt span{
  display: block;
  transform: translateY(100%);
  transition: 2s;
}

.mv .sml_txt {
  max-width: 465px;
  width: 100%;
  margin: 20px auto 0;
  overflow: hidden;
}
.mv .sml_txt span{
  transition-delay: 1s;
}


.mv .swiper-slide-active .big_txt span,
.mv .swiper-slide-active .sml_txt span{
  transform: translateY(0);
}

.mv .bot-btn-box{
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(calc(-50% - 14px));
  z-index: 1;
  width: 270px;
}
.mv .swiper-progress-bar {
  width:120px;
  display: block;
  z-index: 1;
  height: 2px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mv .swiper-progress-bar.active .slide-progress-bar{
   opacity: 1;
}

.mv .swiper-progress-bar.animate.first-slide .slide-progress-bar::after {
  transition-duration: 3s; /* JS의 첫 딜레이와 맞춤 */
}
.mv .swiper-progress-bar.animate .slide-progress-bar::after {
  transition: width linear;
  transition-delay: unset;
  width: 100%;

  /* .mv swiper delay 수정시 이것도 수정 */
  transition-duration: 2s;
}

.mv .slide-progress-bar {
  position: relative;
  height: 2px;
  background: rgba(255,255,255,.4);
  width: auto;
  clear: both;
  opacity: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items:center;
  justify-content: center;
}

.mv .slide-progress-bar:after {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  height: 100%;
  width: 0;
  content: "";
}

.mv .swiper-pagination{
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  width: 190px;
  transform: translate(-50%, -50%);
}

.mv .swiper-pagination span{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}
.mv .swiper-pagination .swiper-pagination-current{
  left: 0;
}
.mv .swiper-pagination .swiper-pagination-total{
  right: 0;
}

.play-and-stop{margin: 0 4px;}
.play-and-stop .play,
.play-and-stop .stop{display: none;}
.play-and-stop .play.active,
.play-and-stop .stop.active{display: block;}

.mv .mv-swiper-prev,
.mv .mv-swiper-next,
.mv .play,
.mv .stop{
  cursor: pointer;
  padding: 3px;
}

.mv .bot-btn-box > .d-flex{
  padding-left: 14px;
}

@media all and (max-width:768px){
  .mv .mv-swiper-prev, .mv .mv-swiper-next, .mv .play-and-stop, .mv .swiper-pagination{
    display: none;
  }
  .mv .bot-btn-box{
    width: auto;
    transform: translateX(-50%);
  }
  .mv .bot-btn-box > .d-flex{
    padding-left: 0;
  }
  .mv .swiper-progress-bar{
    position: relative;
    transform: none;
    left: auto;
    top: auto;
  }
}

/* main section 01*/
.zig-zag-img{
  display: flex;
  flex-direction: column;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

.zig-zag-img .zig-hrf{
  display: block;
  margin-left: auto;
  margin-right: 0;
  position: relative;
}

.zig-zag-img .zig-hrf + .zig-hrf{
  margin-top: -150px;
}

.zig-zag-img .zig-hrf:before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: #f5bf3f url(/asset/icon/plus_icon.png)no-repeat center center;
  z-index: 2;
  transition: .5s;
  opacity: 0;
}
.zig-zag-img .zig-hrf:hover:before{
  opacity: 1;
}
.zig-zag-img .zig-hrf:nth-child(even){
  margin-left: 0;
  margin-right: auto;
}

.zig-zag-img .img_box{
  width: 100%;
  height: 100%;
}

.zig-zag-img .img_box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zig-zag-img .num{
  line-height: 1;
}
.zig-zag-img .txt_box{
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #fff;
  width: calc(100% - 90px);
  padding: 40px 40px 30px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  z-index: 4;
}

.rotate-one{
  position: absolute;
  bottom: -210px;
  left: -90px;
  z-index: -1;
  aspect-ratio: 1/1;
  /* 💡 애니메이션 속성 적용 */
    animation-name: spin;        /* 적용할 Keyframes 이름 */
    animation-duration: 12s;      /* 2초 동안 360도 회전 */
    animation-timing-function: linear; /* 일정한 속도로 회전 */
    animation-iteration-count: infinite; /* 무한 반복 */
}

@keyframes spin {
    0% {
        transform: rotate(0deg); /* 시작: 0도 */
    }
    100% {
        transform: rotate(360deg); /* 끝: 360도 */
    }
}

@media all and (max-width:1300px){
  .zig-zag-img,
  .zig-zag-img .zig-hrf + .zig-hrf{
    margin-top: 30px;
  }

  .rotate-one{
    width: 420px;
    bottom: -50px;
    left: -45px;
  }
}

@media all and (max-width:1024px){
  .zig-zag-img .txt_box{
    width: 100%;
  }
}


@media all and (max-width:850px){
  .rotate-one{
    width: 240px;
  }

}
@media all and (max-width:768px){
  .rotate-one{
    display: none;
  }

}

.main_sec02{
  padding: 120px 0 110px;
  background: url(/asset/img/main_con02_bg01.jpg)no-repeat center right /cover;
}

.main_sec02 .txt_box{
  max-width: 610px;
  margin-left: auto;
  margin-right: 0;
}

@media all and (max-width:768px){
  .main_sec02{
    padding: 60px 0;
  }
  .main_sec02 .txt_box{
    margin: 0 auto;
    text-align: center;
  }

}

.main_sec03{
  padding: 130px 0 150px;
  background: url(/asset/img/main_con03_bg01.jpg)no-repeat center center /100% 100% fixed;
}

.main_sec03 .main-tit-box{
  width: calc(45% - 150px);
  position: sticky;
  top: 120px;
}
.main_sec03 .main-scroll-box{
  width: 55%;
}

.main_sec03 .d-flex{
  justify-content: space-between;
  align-items: flex-start;
}

.main-scroll-box .scroll-box{
  position: relative;
}

.main-scroll-box .scroll-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-scroll-box .scroll-box + .scroll-box{
  margin-top: 30px;
}
.main-scroll-box .txt-box{
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  padding: 50px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.main-scroll-box .txt-box .sm-txt{
  line-height: 1.5em;
}

.ye-btn-box .btn{
  padding: 30px 40px 30px 60px;
  background-color: #f5bf3f;
  border-radius: 40px;
  display: inline-block;
  position: relative;
}
.ye-btn-box .btn:before{
  content: '';
  position: absolute;
  left: 38px;
  top: 37px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #245632;
}

@media all and (max-width:1200px){
  .main_sec03 .d-flex{
    flex-wrap: wrap;
    gap: 50px 0;
  }
  .main_sec03 .main-tit-box,
  .main_sec03 .main-scroll-box{
    width: 100%;
  }

  .main_sec03 .main-tit-box{position: relative; top: auto;}

}

@media all and (max-width:768px){
  .main-scroll-box .txt-box{
    padding: 20px;
  }

  .main_sec03{
    padding: 80px 0;
  }
}

/* Popup */
#popup {
  position: relative;
}

.popup-layer {
  z-index: 10000;
  position: absolute;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,.25);
  animation: popup-fade .65s ease-in-out .35s forwards;
  opacity: 0;
  max-width:800px;
}

@keyframes popup-fade {
  0% { opacity: 0;
    -webkit-transform: translateY(25px);
    -ms-transform: translateY(25px);
    transform: translateY(25px); }
  100% { opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0); }
}
.popup-layer__body {
  background: #fff;
}

.popup-layer__body img {
  display: block;
  margin: 0 auto;
  border: none;
  max-width: 100%;
}

.popup-layer__foot {
  background: #424242;
}

.popup-layer__foot ul {
  display:flex;
  flex-wrap: wrap;
}

.popup-layer__foot li {
  width:50%;
  padding:10px;
}

.popup-layer__foot li:first-child {
  padding-right:0;
}

.popup-layer__foot li:last-child {
  text-align: right;
}

.popup-layer__foot span {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition:all 0.3s ease;
}

.popup-layer__foot label:hover span { opacity: .7; }

/* .popup-layer-foot { background: #424242; }
.popup-layer-foot span { font-size: 15px; color: #fff; }
.popup-layer-foot label:hover span { opacity: .7; }
.popup-layer-foot li:first-child { padding-right: 0; }
.popup-layer-foot li:last-child { text-align: right; } */


@media (max-width: 1024px){
  /* .popup-layer { z-index: 999; } */
  .popup-layer { top: 95px !important; left: 0 !important; margin: 0 5px; }
}
@media (max-width: 768px){

  .popup-layer {
    width:calc(100% - 10px);
  }

  .popup-layer img {
    max-width: none;
    width:100%;
    height: auto !important;
  }
  .popup-layer-foot span { font-size: 14px; }

}
@media (max-width: 375px){
  .popup-layer-foot li { width: 100%; }
  .popup-layer-foot li:last-child { text-align: left; }
}
