
/* 팝업 */
.popupBody {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
}

.popupBody.active {
  display: block;
}

.mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.popupSlide {
  width: 100%;
  max-width: 1300px;
  margin: 272px auto 48px;
  display: block;
  opacity: 1;
}

.popupSlide div img {
  width: 100%;
  max-width: 310px;
  min-width: 310px;
  display: block;
  margin: 0 auto;
}

.popupBody .slick-arrow {
  background-color: #fff;
  background-image: url(../images/icons/arrow_gray.png);
  background-position: center;
  background-size: 50%;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: -82px;
  width: 42px;
  height: 42px;
  box-shadow: 4px 4px 10px 0px #00000033;
  border-radius: 50px;
  overflow: hidden;
  text-indent: -999px;
}

.popupBody .slick-arrow.slick-prev {
  transform: rotate(180deg);
  box-shadow: -4px -4px 10px 0px #00000033;
}

.popupBody .slick-arrow.slick-next {
  left: initial;
  right: -82px;
}

.popCloseBtnBody {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.popCloseBtnBody .todayClose,
.popCloseBtnBody .closePopupBtn {
  background-color: #ffffff;
  border-radius: 8px;
  display: block;
  min-width: 124px;
  padding: 8px 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.popCloseBtnBody .todayClose {
  padding-right: 81px;
}

.custom-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 27px;
  cursor: pointer;
  line-height: 20px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #d1d4d6;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #1a1440;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0; /* 체크 표시 */
  transform: rotate(45deg);
}

.popCloseBtnBody .closePopupBtn {
  padding-left: 24px;
  background-image: url(../images/icons/popup_close.png);
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-size: 24px;
}

/* 팝업 신규 */
.togglePausePlayBody {
  display: flex;
  justify-content: flex-end;
  padding: 15px 77px 0;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

#togglePausePlay {
    display: block;
    text-indent: -9999px;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    background:#fff url(../../images/icons/main_rolling_play.png) no-repeat center;
    background-size: 90%;
    z-index: 9;
}

#togglePausePlay.on{
  background:#fff url(../../images/icons/main_rolling_stop.png) no-repeat center;
  background-size: 90%;
}
.popupZone_wrap  *,
.popupZone_wrap  *::before,
.popupZone_wrap  *::after {
  box-sizing: border-box;
}
/* 팝업 */
.popupBody {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
  }
  
  .popupBody.active {
    display: block;
  }
  
  .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .popupSlide {
    width: 100%;
    max-width: 1300px;
    margin: 272px auto 48px;
    display: block;
    opacity: 1;
  }
  
  .popupSlide div img {
    width: 100%;
    max-width: 310px;
    min-width: 310px;
    display: block;
    margin: 0 auto;
  }
  

  .popupZone .slick-prev,
  .popupZone .slick-arrow {
    position: absolute;
    top:calc(50% - 21.12px);
    width: 42.048px;
    height: 42.048px;
    border-radius: 50px;
    overflow: hidden;
    text-indent: -999px;
    background: rgba(0,0,0,0.8) url(../images/icons/btn_next_popup.png) no-repeat center / 12px;
    transition: all .3s ease;
  }
  
  .popupZone .slick-prev:hover,
  .popupZone .slick-arrow:hover {
    background: rgba(255,255,255,0.3) url(../images/icons/btn_next_popup.png) no-repeat center / 12px;
  }
  
  .popupZone .slick-prev {
    left: -50px;
    transform: rotate(180deg);
  }
  
  .popupZone .slick-arrow {
    right: -50px;
  }
  .popCloseBtnBody {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }
  
  .popCloseBtnBody .todayClose,
  .popCloseBtnBody .closePopupBtn {
    background-color: #ffffff;
    border-radius: 8px;
    display: block;
    min-width: 124px;
    padding: 8px 16px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .slick-prev:before, .slick-next:before {
    content: none !important;
}
  .popCloseBtnBody .todayClose {
    padding-right: 81px;
  }
  
  .custom-checkbox {
    display: inline-block;
    position: relative;
    padding-left: 27px;
    cursor: pointer;
    line-height: 20px;
  }
  
  .custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #d1d4d6;
  }
  
  .custom-checkbox input:checked ~ .checkmark {
    background-color: #1a1440;
  }
  
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  .custom-checkbox input:checked ~ .checkmark:after {
    display: block;
  }
  
  .custom-checkbox .checkmark:after {
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0; /* 체크 표시 */
    transform: rotate(45deg);
  }
  
  .popCloseBtnBody .closePopupBtn {
    padding-left: 24px;
    background-image: url(../images/icons/popup_close.png);
    background-repeat: no-repeat;
    background-position: center right 16px;
    background-size: 24px;
  }
  
  /* 팝업 신규 */
  .togglePausePlayBody {
    display: flex;
    justify-content: flex-end;
    padding: 15px 77px 0;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  #togglePausePlay {
      display: block;
      text-indent: -9999px;
      border-radius: 100%;
      width: 30px;
      height: 30px;
      background:#fff url(../images/icons/main_rolling_play.png) no-repeat center;
      background-size: 90%;
      z-index: 9;
  }
  
  #togglePausePlay.on{
    background:#fff url(../images/icons/main_rolling_stop.png) no-repeat center;
    background-size: 90%;
  }
    
  .popupSlide > .slick-dots {
    bottom: -34.56px;
    justify-content: center;
    gap: 6px;
    left: 0;
    width: 100% !important;
  }
  
  .popupSlide > .slick-dots li {
    margin: 0 2px;
  }
  
  .popupSlide > .slick-dots li button {
    background: #666;
    width: 9.6px;
    height: 9.6px;
    display: block;
    opacity: 1;
    border: none;;
    border-radius:50%;
  }
  
  .popupSlide > .slick-dots li.slick-active button {
    width: 9.6px;
    height: 9.6px;
    background: #000;
    opacity: 1;
  }
  
  .popupSlide > .slick-dots li button::after {
    background: #000;
    width: 9.6px;
  }
  
  .popupZone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: none;
  }
  
  .popupZone .popupZone_wrap {
    position: absolute;
    top: calc(50% - 300px);
    left: 0;
    /* transform: translateY(-50%); */
    padding: 80px 0;
    width: 100%;
  }
  
  .popupZone .popupZone_wrap .popupSlide {
    margin: 0 auto;
  }
  
  .popupZone .popupZone_wrap .popupSlide .slick-track {
    display: flex; 
    margin: 0 auto;
  }
  
  .popupZone > .slick-prev,
  .popupZone > .slick-arrow {
    position: absolute;
    top:calc(50% - 21.12px);
    width: 42.048px;
    height: 42.048px;
    border-radius: 50px;
    overflow: hidden;
    text-indent: -999px;
    background: rgba(0,0,0,0.8) url(../images/icons/btn_next_popup.png) no-repeat center / 12px  !important;
    transition: all .3s ease;
  }
  
  .popupZone > .slick-prev:hover,
  .popupZone > .slick-arrow:hover {
    background: rgba(255,255,255,0.3) url(../images/icons/btn_next_popup.png) no-repeat center / 12px !important;
  }
  
  .popupZone > .slick-prev {
    left: -50px;
    transform: rotate(180deg);
  }
  
  .popupZone > .slick-arrow {
    right: -50px;
  }
  
  
  .popupZone_wrap .p_btnArae {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 28.8px;
      gap: 24px;
    }
    
    .popupZone_wrap .p_btnArae a {
      color: #fff; 
      display: flex;
      align-items: center; 
      padding: 14px 20px; 
      width:190px;
      height: 44px;
      background:#000 url(../images/icons/btn_close_popup.png) no-repeat 90% center;
      transition: all .3s ease;
    }
    
    .popupZone_wrap .p_btnArae a:hover {
      background:#fff url(../images/icons/btn_close_popup_over.png) no-repeat 90% center;
      color:#000;
    }
  
  .popup_link_Body {
    position: relative;
  }
  
  .popup_link_btn {
    position: absolute;
    bottom: 51.84px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 115.2px);
    height: 29.952px;
  }
  
  .popup_link_1Btn {
    bottom: 144px;
  }
  
  .popup_link_2Btn {
    bottom: 96px;
  }
  
  
  /*1400px 이하일 때만 적용*/
  @media (max-width: 1400px) {
    .popupZone .popupZone_wrap .popupSlide,
    .togglePausePlayBody {
      max-width: 1000px;  
    }
  }
  
  
  
  
  /*1100px 이하일 때만 적용*/
  @media (max-width: 1100px) {
   
   .popupZone .popupZone_wrap .popupSlide,
   .togglePausePlayBody {
     max-width: 700px;  
   }
   
  }
  
  
  /*900px 이하일 때만 적용*/
  @media (max-width: 900px) {
   .popBtn a, .btn_popup_open a, .btn_popup_close a {
     display: none !important;
   }
   
   .popupZone .popupZone_wrap .popupSlide,
   .togglePausePlayBody {
     max-width: 450px;
   }
   
   }
   
   /*600px 이하일 때만 적용*/
   @media (max-width: 600px) { 
     
     /* 팝업 신규 */
     .togglePausePlayBody {
       padding: 7.2px 14.4px 0;
       max-width: 216px;
     }
     
     #togglePausePlay {
       width: 21.6px;
       height: 21.6px;
     }
     .popupSlide > .slick-dots {
       gap: 4.32px;
     }
     .popupSlide > .slick-dots li {
       margin: 0 2px;
     }
     
     .popupSlide > .slick-dots li button {
       width: 7.2px;
       height: 7.2px;
     }
     
     .popupSlide > .slick-dots li.slick-active button {
       width: 7.2px;
       height: 7.2px;
     }
     
     .popupSlide > .slick-dots li button::after {
       width: 7.2px;
     }
     
     .popupZone .popupZone_wrap {
       width: 310px;
       max-width: 310px;  
       padding: 0;
       left: calc(50% - 155px);
       top: 50%;
       transform: translateY(-50%);
     }
     
     .popupSlide > .slick-initialized .slick-slide {
       display: flex !important;
       justify-content: center;
     }
     
     .popupSlide div img {
       max-width: 216px;
       min-width: 216px;
     }
     
     .popupSlide > .slick-prev,
     .popupSlide > .slick-arrow {
       position: absolute;
       top:calc(50% - 11.988px);
       width: 24.012px !important;
       height: 24.012px !important;
       background-size: 6px !important;
       /* display: none !important; */
       z-index: 999;
     }
     
     .popupSlide > .slick-prev {
       left: 10px;
     }
     
     .popupSlide > .slick-arrow {
       right: 10px;
     }
     
    
     .popupZone_wrap .p_btnArae {
      margin-top: 18px;
      width: calc(100% + 360px);
      margin-left: -180px;
    }
    
    .popupZone_wrap .p_btnArae a {
      padding: 14px 40px 14px 10px;
      width: auto;
      font-size: 13px;
    }
    
     .popup_link_btn {
       bottom: 32.4px;
       width: calc(100% - 86.4px);
       height: 28.8px;
     }
     
     .popup_link_1Btn {
       bottom: 97.2px;
     }
     
     .popup_link_2Btn {
       bottom: 63.72px;
     }
   }
   