/* ------------------------------------------------------------------------------- */
/* 모달 영역 */
.modal-area {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: none;
}
.modal-area.active {
  display: block;
}
.modal-area .modal {
  display: none;
}
.modal-area .modal.active {
  display: block;
}

/* 이벤트 모달 */
.event-modal {
  background: #fff;
  width: 640px;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  padding: 36px 48px 60px 48px;
}
.event-modal .x-btn {
  width: 24px;
  top: 32px;
  right: 36px;
}
.event-modal .top-box {
  gap: 16px;
}
.event-modal .top-box .logo-box {
  width: 168px;
}
.event-modal .top-box > h1 {
  font-size: 22px;
}
.event-modal .accordion-menu-box {
  margin-top: 8px;
}
.event-modal .accordion-menu-box .que {
  padding: 20px;
  cursor: pointer;
  box-sizing: border-box;
  background: #fafafa;
  border-radius: 12px;
  margin-top: 12px;
}
.event-modal .accordion-menu-box .que.active {
  background: rgb(178, 228, 243, 0.1);
}
.event-modal .accordion-menu-box .que .text-box {
  width: calc(100% - 36px);
  gap: 8px;
}
.event-modal .accordion-menu-box .que .text-box .text-1 {
  font-size: 24px;
  color: #231916;
}
.event-modal .accordion-menu-box .que.active .text-box .text-1 {
  color: #005eb8;
}
.event-modal .accordion-menu-box .que .text-box .text-2 {
  font-size: 15px;
  box-sizing: border-box;
  padding: 4px 6px;
  border-radius: 2px;
}
.event-modal .accordion-menu-box .que .arrow-ico {
  width: 24px;
}
.event-modal .accordion-menu-box .que.active .arrow-ico > img {
  content: url(../img/arrow_top_005EB8.svg);
}
.event-modal .accordion-menu-box .anw {
  display: none;
  padding: 16px;
  box-sizing: border-box;
}
.event-modal .accordion-menu-box .anw .text-area > .text-box > h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.event-modal .accordion-menu-box .anw .text-area > .text-box > h3:nth-child(3) {
  margin-top: 16px;
}
.event-modal .accordion-menu-box .anw .text-area > .text-box > p {
  font-size: 22px;
}

@media (max-width: 767px) {
  .event-modal .accordion-menu-box .anw .text-area > .text-box > h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .event-modal
    .accordion-menu-box
    .anw
    .text-area
    > .text-box
    > h3:nth-child(3) {
    margin-top: 12px;
  }
  .interview-modal .list-box > li .text-box-2 > p {
    font-size: 14px;
  }

  .event-modal {
    width: 360px;
    padding: 26px 20px 32px 20px;
  }
  .event-modal .x-btn {
    width: 20px;
    top: 28px;
    right: 24px;
  }
  .event-modal .top-box {
    gap: 12px;
  }
  .event-modal .top-box .logo-box {
    width: 118px;
  }
  .event-modal .top-box > h1 {
    font-size: 14px;
  }
  .event-modal .accordion-menu-box .que {
    padding: 12px 16px;
    border-radius: 8px;
  }
  .event-modal .accordion-menu-box .que .text-box {
    width: calc(100% - 20px);
    gap: 6px;
  }
  .event-modal .accordion-menu-box .que .text-box .text-1 {
    font-size: 16px;
  }
  .event-modal .accordion-menu-box .que .text-box .text-2 {
    font-size: 12px;
    padding: 2px 4px;
  }
  .event-modal .accordion-menu-box .que .arrow-ico {
    width: 16px;
  }
  .event-modal .accordion-menu-box .anw {
    display: none;
    padding: 12px 8px;
    margin-top: 4px;
  }
  .event-modal .accordion-menu-box .anw .text-area > .text-box > p {
    font-size: 15px;
  }
}



/* ------------------------------------------------------------------------------- */
/* 모달 영역-2 */
.modal-area,
.modal-area-2 {
  background: rgb(0, 0, 0, 0.9);
  width: 100%;
  height: 100vh;
  display: none;
}
.modal-area.active,
.modal-area-2.active {
  display: block;
}
.modal-area .modal,
.modal-area-2 .modal {
  display: none;
}
.modal-area .modal.active,
.modal-area-2 .modal.active {
  display: block;
}
.modal-area-2 .x-btn {
  width:36px;
  top: 32px;
  right: 32px;
}

/* 영상 모달 */
.video-modal {
  width: 1000px;
}
.video-modal .youtube-area > h1 {
  font-size: 20px;
  margin-top: 20px;
  line-height: 140%;
}
@media (max-width:1320px) {
  .video-modal {
      width: 760px;
  }
}
@media (max-width:767px) {
  .modal-area-2 .x-btn {
      width: 24px;
      top: 20px;
      right: 20px;
  }

  .video-modal {
      width: 320px;
  }
  .video-modal .youtube-area > h1 {
      font-size: 14px;
      margin-top: 16px;
  }
}


/* ------------------------------------------------------------------------------- */
/* 팝업 */
.modal-area-3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none; /* 처음에는 숨김 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-box {
  position: relative;
  /* background: white; */
  border-radius: 8px;
  overflow: hidden;

}
.popup-box a img {
  max-width: 640px;
}
.popup-close img{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px!important;
}
.pop-today {
  /* background: #B8DBFF; */
  color: #fff;
  padding: 20px;
  font-size: 14px;
  text-align: center;
}

/* 체크박스 감싸는 레이블 */
.checkbox-wrap {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  display: flex;
  align-items: center;
}

/* 숨겨진 기본 체크박스 */
.checkbox-wrap input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* 커스텀 체크박스 (회색 테두리) */
.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 체크됐을 때 (파란색 배경) */
.checkbox-wrap input:checked ~ .checkmark {
  background-color: #1a79c1; /* 파란색 */
  border-color: #1a79c1;
}

/* 체크 표시 (V자 모양) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* 체크됐을 때 V자 보이기 */
.checkbox-wrap input:checked ~ .checkmark:after {
  display: block;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width:767px) {
  .popup-box a img {
    max-width:auto;
    width: 100%;
  }
  .pop-today {
    padding: 12px 20px;
  }
}