@charset "utf-8";

/* 공통 css */
.sec {
  /* height: inherit; */
  padding: 20px 0px 0px 0px;
}

section {
  clear: both;
}

#wrap {
  background: none;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* 스크롤 시작 */
.scroll-motion {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  height: 100px;
  z-index: 9999;
}

.btn-motion5 span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(-45deg);
  animation: btn-motion5 1.5s infinite;
  box-sizing: border-box;
}

.btn-motion5 span.white {
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

@keyframes btn-motion5 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

@media (max-width: 1025px) {
  .scroll-motion {
    display: none !important;
  }
}
/* 스크롤 끝 */

/* fullpage 시작 */
#fullpage .fullPage-section {
  overflow: hidden;
}

#fullpage .fullPage-section.fs1 {
	margin-top: 86px;	
}

#fullpage .fullPage-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1420px;
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  padding: 0 20px;
  margin: 20px auto;
}

#fullpage h3 {
  font-family: "GmarketSansBold" !important;
  font-size: clamp(22px, 2.5vw, 80px);
  margin-bottom: 10px;
  color: #00166b;
  text-align: center;
}

@media (min-width: 1024px) {
  #fullpage h3 {
    margin-bottom: 40px;
  }
}

@media (min-width: 1920px) {
  #fullpage .fullPage-inner {
    max-width: 80%;
  }
}

@media (min-width: 2000px) {
  #fullpage .fullPage-inner {
    max-width: 100%;
  }
  #fullpage h3 {
    font-size: clamp(22px, 4vw, 60px) !important;
  }
}

/* fullpage-section.sec1 */
.fullPage-section.fs1 {
 
}

.fs1-inner {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 200px;
}

.main-page-inner {
    background-size: contain;
    height: clamp(174px, 80vw, 400px);
    background-image: url(/img/sub-bg-last.png);
    background-repeat: no-repeat;
    background-position: top;
    position: relative;
}

.main-page-inner.mo {
  display: none;
}

.main-title-pc {
  width: 600px;
  margin-bottom: 30px;
}

.main-info {
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: left;
    position: absolute;
    bottom: -26%;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    left: 13px;
    width: 100%;
}

.main-info-line {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-info-line .left {
  color: #00166b;
  font-family: "GmarketSansMedium";
    font-size: clamp(12px, 2vh, 24px);
  white-space: nowrap;
      font-weight: bold;
}

.main-info-line .divide {
  margin: 0 10px;
  border: 1px solid #00166b;
  height: clamp(12px, 2vh, 24px);
}

.main-info-line .rigth {
  color: #333;
  font-family: "GmarketSansLight";
  font-size: clamp(12px, 3vh, 20px);
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
}

.information-section {
  width: 100%;
}

.bg-section img {
  width: clamp(300px, 50vw, 1470px);
}

/* Large Desktop (1440px 이상) */
@media (max-width: 1200px) {
  .main-page-inner.pc {
    display: none;
  }

  .main-page-inner.mo {
    display: flex;
    /* flex-direction: column; */
    /* gap: 20px; */
    /* text-align: center; */
  }
  .main-info {
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: -160px;
  }
  
  .main-info-line {
      flex-direction: column;
  }
  
  .main-info-line .divide {
  	border: none;
  }
}

.place.pc {
  display: block;
}

.place.mo {
  display: none;
}

@media (max-width: 500px) {
  .place.pc {
    display: none;
  }

  .place.mo {
    display: block;
  }
}

/* 메인 배너 끝 */
/* fullpage-section.sec1 끝 */

/* fullpage-section.sec2 시작 */
.fullPage-section.fs2 {
  background-color: #f8f8f8;
  padding: clamp(40px, 8vw, 200px);
  margin: 0 auto;
}

.program-wrapper {
  max-width: 1420px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  gap: 20px;
}

/* 박스 */
.visual-box {
  background: #fff;
  border: 1px solid #e7ecf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
  height: 100%;
}

.visual-box img {
  height: 550px;
  width: 400px;
}

.info-section {
  flex: 1;
}

.info-box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: #fff;
  border: 1px solid #e7ecf2;
  border-radius: 18px;
  padding: 40px 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-box.mo {
  display: none;
}

.info-box-warpper {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* 아이콘(좌측) */
.info-box__icon {
  flex: 0 0 115px;
  height: 115px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.info-box__icon .icon {
  font-size: 45px;
}

.mo .info-box__icon .icon {
  font-size: 28px;
}

.info-box__icon.blue {
  background: #effafe;
}

.info-box__icon.blue .icon {
  color: #007cba;
}

.info-box__icon.green {
  background: #f1fcdc;
}

.info-box__icon.green .icon {
  color: #76991a;
}

.info-box__icon.pink {
  background: #fff2f7;
}

.info-box__icon.pink .icon {
  color: #d52468;
}

/* 내용(우측) */
.info-box__content {
  flex: 1 1 auto;
  color: #222;
  text-align: left;
}

.info-box__title {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 800;
}

/* key | value 한 줄 */
.kv {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
}

.kv + .kv {
  border-top: 1px dashed #e7ecf2;
}

.kv__key {
  color: #697386;
  font-weight: 700;
  min-width: 38px;
  font-size: clamp(16px, 1.8vw, 20px);
}

.kv__sep {
  opacity: 0.6;
}

.kv__val {
  font-weight: 400;
  line-height: 1.55;
  font-size: clamp(16px, 1.8vw, 20px);
}

.kv__val em {
  font-style: normal;
}

/* 모바일: 가운데 정렬(아이콘, 타이틀, 행 전체) */
@media (max-width: 1024px) {
  .program-wrapper {
    flex-direction: column;
  }

  .visual-box img {
    height: auto;
  }

  .info-box-warpper {
    flex-direction: column;
    gap: 20px;
  }

  .info-box.pc {
    display: none;
  }

  .info-box.mo {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
    gap: 20px;
  }

  .info-box__icon {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
  }

  .info-box__content {
    width: 100%;
    text-align: center;
  }

  .kv {
    justify-content: center;
    padding: 10px 0;
  }

  /* 행 중앙 정렬 */
}

@media (min-width: 1024px) {
  .video-wrapper {
    padding-top: 0;
    width: 1070px;
    min-height: 550px;
  }
}

@media (min-width: 2000px) {
  #video_area {
    width: auto;
  }
  .video-wrapper {
    width: 2010px;
    min-height: 720px;
  }
}

/* fullpage-section.sec2 끝 */

/* fullpage-section.sec3 시작 */
.fullPage-section.fs3 {
  background-color: #e5f0f9;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 8vw, 200px);
}

/* 슬라이드 */
.swiper {
  max-width: 1420px;
  margin: 0 auto;
  padding-bottom: 40px; /* 페이지네이션 간격 */
}

/* 슬라이드/카드 공통 */
.swiper-slide {
  height: auto;
}
.swiper-slide-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e7ecf2;
}
.swiper-slide-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* 이미지 */
.swiper-slide-box img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 비율 고정 */
  object-fit: cover; /* 꽉 채우기 */
  display: block;
  cursor: pointer;
}

/* 텍스트 박스 */
.swiper-content {
  text-align: left;
  background: #fff;
  padding: 16px 18px 24px;
}
.name {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
  color: #101010;
}
.org,
.position {
  font-size: 16px;
  margin-bottom: 6px;
  color: #444;
  word-wrap: break-word;
}

.swiper-slide:hover .swiper-content {
  background: #002683; /* 파란 배경 */
  height: -webkit-fill-available;
}
.swiper-slide:hover .name,
.swiper-slide:hover .org,
.swiper-slide:hover .position {
  color: #fff;
  cursor: pointer;
}

/* 페이지네이션(점) */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 0.4;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 1400px) {
  .org,
  .position {
    font-size: 13px;
  }
}
/* fullpage-section.sec3 끝 */

/* fullpage-section.sec4 시작 */
.fs4-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  align-items: center;
  padding: clamp(40px, 8vw, 200px);
}

.fs4-inner-cont {
  display: flex;
  width: 100%;
  max-width: 1420px;
  flex-direction: column;
  text-align: center;
}

.note-wrap {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.fs4 .sub-tit {
  font-family: "GmarketSansMedium" !important;
  font-size: clamp(18px, 4vw, 22px) !important;
  color: #00166b;
}

.fs4 .campaign-icon {
  width: 35px;
  height: 25px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(84%) saturate(1978%) hue-rotate(190deg) brightness(50%) contrast(70%);
  margin-bottom: 4px;
}

.notice-section {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.notice-section-inner {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: flex-start;
  flex-direction: column;
  background-color: #f8f8f8 !important;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7ecf2;
}

.notice-section-inner .title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.notice-section-inner .content {
  width: 100%;
  height: 100%;
  border-top: 2px solid #000;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-section-box {
  background-color: #c0daf4;
  border-radius: 4px;
}
.date-section-box {
  background-color: #ddddff;
  border-radius: 4px;
}

/* 공지사항 시작 */
#notice_area img.notice {
  width: 50px;
}

#notice_area span.tit {
  font-size: 25px;
  vertical-align: top;
}

#notice_area span.tit._02 {
  font-size: 40px;
  padding: 25px 21px 0 0;
  display: block;
}

.notice-plus span {
  font-size: 18px;
  margin-bottom: 3px;
}

#notice_area .content {
  text-align: left;
}

#notice_area .board_list li {
  border-bottom: 1px solid #ccc;
}

#notice_area .board_list li:last-child {
  border-bottom: none;
}

#notice_area .board_list a {
  position: relative;
  padding-left: 0.75em;
  display: inline-flex;
  width: 100%;
  line-height: 3em;
  color: #101010;
}

#notice_area .board_list a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-top: -2px;
  background: #bf4794;
}

#notice_area .board_list p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}

/* 공지사항 끝 */

/* 행사일자 시작 */
.d-day {
  font-size: 20px;
  font-family: "GmarketSansMedium";
  padding-top: 20px;
}
.countdown-container {
  display: flex;
  gap: clamp(2px, 1vw, 20px);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 100%;
  padding-bottom: 15px;
}

.cd-card {
  width: clamp(50px, 8vw, 140px);
  background: #2c2c2c;
  border-radius: 12px;
  padding: clamp(12px, 2.4vw, 10px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* 라벨 */
.cd-label {
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #cfd8dc;
  font-size: clamp(10px, 1.6vw, 14px);
  margin-bottom: clamp(6px, 1.2vw, 10px);
  text-transform: uppercase;
}

/* 숫자 */
.cd-value {
  color: #fff;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 4vw, 56px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* 행사일자 끝 */

@media (max-width: 1200px) {
  .notice-section {
    flex-direction: column;
  }
  .notice-date-section {
    flex-direction: column;
  }

  .notice-date-section-inner {
    flex-direction: column;
    height: fit-content;
    line-height: 0;
    padding: 10px 0;
    min-height: 70px;
    gap: 10px;
  }

  .notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  #location_area span.dp-b {
    display: block;
    font-size: 13px;
  }

  #location_area .map {
    padding: 0;
  }

  .notice-date-section,
  .loaction-section-box .box01 {
    flex-direction: column;
  }

  .loaction-section-box .box01 {
    gap: 4px;
  }
}

@media (max-width: 1440px) {
  #location_area iframe {
    width: 100%;
    height: 200px;
    border: 0px;
  }
}

.wait {
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.wait span img {
  width: 100px;
}

.wait p {
  font-size: 18px;
  color: gray;
}

/* fullpage-section.sec4 끝 */

/* Find onlinePopup 모달 */
#onlinePopup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
}

.showPopup {
  display: flex !important;
}

.hidePopup {
  display: none !important;
}

#onlinePopup .onlinePopup-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  position: relative;
  margin: 40px;
}

#onlinePopup .onlinePopup-modal h1 {
  font-weight: 800;
  color: #113378;
  border-bottom: 3px solid #113378;
  padding-bottom: 8px;
}

#onlinePopup .close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #062366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


/* 숨김 + 레이어 기본값 */
[data-password-modal] {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
}

/* 열림 상태 */
#onlinePopup.is-open {
  display: flex;
  /* ★ 열릴 때만 flex */
}

/* 닫기 버튼(선택) */
.password-modal .close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.mobal_box {
  overflow-y: scroll;
  height: 594px;
}

@media (max-width: 1024px) {
  .vertical_borderless tr {
    display: flex;
    flex-direction: column;
  }

  .mobal_box {
    height: 400px;
  }
}