/**********************
**********************
**********************
1. 기본 스타일 (모바일 우선)
**********************
**********************
**********************/
.hedaWrap {
  width: 100%;
  margin-bottom: 10px;
}
#gnb {
  display: none;
}
#gnb.open {
  display: block;
  top: 0;
  background: #0c3578;
  color: #fff;
  width: 100%;
  z-index: 22;
  padding: 102px 30px;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}
/* 메뉴가 열릴 때 body 스크롤을 막기 위한 클래스 */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
#gnb > ul {
  width: 100%;
}
.gnbM > li {
  border-bottom: 1px solid #ffffff33;
}
.gnbM > li > a {
  display: block;
  padding: 16px;
}
.open .lnb-area.active {
  height: auto;
  overflow-y: visible;
  transform: translateY(0);
  background: #143d7f;
  padding: 10px 0;
}
.open .lnb-area {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  transform: translateY(-10px);
}
.lnb-area > li {
}
.open .lnb-area > li > a {
  display: block;
  padding: 10px 30px !important;
}
.open .lnb-area > li > a:hover {
  color: yellow;
}
.open .gnbM li > a {
  display: flex;
  padding: 16px;
  justify-content: space-between;
}
.open .gnbM li > a.on {
}

/* on 상태일 때 plus 아이콘 변화 */
.open .gnbM li > a .plus {
  display: block;
  width: 26px;
  height: 26px;
  background: #143d7f;
  position: relative;
  border-radius: 20px;
  padding: 7px;
}

.open .gnbM li > a .plus span.up,
.open .gnbM li > a .plus span.down {
  background: #fff;
  position: absolute;
  transform: translate(-50%, -50%);
}

.open .gnbM li > a .plus span.up {
  width: 13px;
  height: 3px;
  top: 50%;
  left: 50%;
}

.open .gnbM li > a .plus span.down {
  width: 3px;
  height: 13px;
  top: 50%;
  left: 50%;
}

/* on 상태일 때 아래 막대 숨김 (마이너스 표시) */
.open .gnbM li > a.on .plus span.down {
  display: none;
}

.logo-white {
  display: none;
}
.logo-blue {
  display: block;
  margin: 11px 17px;
  width: 225px;
}

/*main visual*/
#visual {
  width: 100%;
  margin: 0 auto;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  /* background: #103578; */
}
.swiper {
  width: 100%;
  height: 471px;
  position: relative;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bg1-1 {
  background: url("../images/main/slider01.png") no-repeat center;
  background-size: cover;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
}
.bg2-1 {
  background: url("../images/main/slider02.png") no-repeat center;
  background-size: cover;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
}
.bg3-1 {
  background: url("../images/main/slider03.png") no-repeat center;
  background-size: cover;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
}

.slidePrev,
.slideNext {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
  pointer-events: none; /* 숨겨진 동안 클릭 방지 */
}
#visual:hover .slidePrev {
  display: flex;
  background: #0000009c;
  padding: 10px;
  border-radius: 14px;
  height: 65px !important;
  width: 65px !important;
  color: #fff;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto; /* 보일 때 클릭 가능 */
}
#visual:hover .slideNext {
  display: flex;
  background: #0000009c;
  padding: 10px;
  border-radius: 14px;
  height: 65px !important;
  width: 65px !important;
  color: #fff;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto; /* 보일 때 클릭 가능 */
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  color: #fff;
}
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  color: #fff;
}

.slideTitle {
  position: absolute;
  top: 145px;
  z-index: 1;
  width: 100%;
}
.slideTitle img {
  transform: translateX(2%);
  width: 96%;
}

#wrap.responsive .headtop {
  color: #0c3578;
}
.headtop {
  color: #fff;
  margin-left: 21px;
}
.headtop a {
  color: #0c3578;
  font-size: 13px;
}
.headtop a img {
  width: 16px;
}
.headtop a .Icon-w {
  display: none;
}

/* 햄버거 버튼 스타일 */
.menu-toggle {
  display: block;
  position: fixed;
  top: 15px;
  right: 20px;
  width: 51px;
  height: 51px;
  z-index: 1000;
  cursor: pointer;
  background: #ffffffb3;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 0 5px 4px #2b2b2b26;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 4px;
  background: #024287;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}

/* 햄버거 버튼 애니메이션 */
.menu-toggle.on span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.on span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.on span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/*뉴스*/
.content {
  /* background: #103578; */
  height: auto;
  padding: 30px 0;
}
/* .newsW {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  flex-direction: column-reverse;
}
.news-slider-wrap {
  position: relative;
  top: 0px;
}
.newsL {
  width: 100%;
  margin-top: 10px;
}
.newsul {
  width: 100%;
  overflow: hidden;
  z-index: 2;
  position: relative;
}
.newsul li {
  background: #fff;
  padding: 33px;
  width: 100%;
  height: 159px;
  border-radius: 25px;
  margin-right: 10px;
  display: inline-flex;
  flex-direction: column;
}
.newsul li p {
  text-align: left;
  font-size: 16px;
  float: left;
  font-family: "S-CoreDream-5Medium";
  margin-bottom: 50px;
  float: none;
} */
.newsul li span {
  text-align: right;
  display: block;
  color: #b2b2b2;
  font-size: 14px;
}
.newsR {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
  padding-left: 59px;
  padding-bottom: 24px;
}
.slickbutton {
  margin-bottom: 11px;
}
.slickbutton button.slick-arrow {
  background: #1648a3;
  color: #fff;
  border: none;
  width: 41px;
  height: 41px;
  border-radius: 50px;
  font-family: "SBAggroB";
  cursor: pointer;
}
.slickbutton button.slick-prev {
}
.slickbutton button.slick-next {
}
.newsR h3 {
  color: #fff;
  font-family: "S-CoreDream-8Heavy";
  position: relative;
  display: inline-block;
}
.newsR h3::after {
  position: absolute;
  display: block;
  content: url("../images/main/news_arrow.png");
  top: -24px;
  left: -94px;
}

/*주요일정 및 다운로드*/
.content2 {
  padding: 30px 10px;
  display: block;
}
.datesBox {
  display: block;
  width: 100%;
}
.datesBox h3 {
  font-family: "S-CoreDream-8Heavy";
  color: var(--main-blue);
  line-height: 1;
  text-align: center;
}
.datesBox h3 span {
  display: inline-block;
}
.datelist {
}
.datelist li {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  margin-left: 20px;
}
.datelist li:nth-of-type(2),
.datelist li:nth-of-type(3) {
  margin-top: 30px;
}
.datelist li div.count {
  background: var(--main-black);
  color: var(--main-white);
  display: inline-block;
  padding: 5px 18px;
  border-radius: 10px 10px 0 10px;
  height: fit-content;
  font-family: "S-CoreDream-5Medium";
  font-size: 20px;
}
.datelist li div p.date {
  font-size: 21.33px;
  font-family: "S-CoreDream-5Medium";
  line-height: 1.6;
}
.datelist li div p.dTit {
  font-family: "S-CoreDream-3Light";
  font-size: 16px;
}
.datelist li div.count.imp {
  background: var(--main-blue);
  position: relative;
}
.datelist li div.count.imp::after {
  position: absolute;
  display: block;
  content: url("../images/main/dateCheck.svg");
  top: 0;
  left: -42px;
  width: 31px;
}
.downBox {
  width: 100%;
  margin-top: 30px;
}
.downList {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.downList li {
  width: 48%;
}
.downList li a {
  display: block;
  text-align: center;
  padding: 17px 0;
  border: 3px solid #000;
  font-family: "S-CoreDream-6Bold";
  position: relative;
  background-color: transparent;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  z-index: 1;
  font-size: 16px;
}
.type1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.5s ease-in-out;
  background-color: var(--main-blue);
  border-radius: 30px;
  visibility: hidden;
  height: 10px;
  width: 10px;
  z-index: -1;
}
.btn:hover {
  box-shadow: 1px 1px 7px #25252536;
  color: var(--main-white);
}
.type1:hover::after {
  visibility: visible;
  transform: scale(100) translateX(2px);
}

.eventBtn {
}
.eventBtn li {
}
.eventBtn li a {
  font-size: 1em;
}

/*quickmenu*/
.content3 {
  background: #01b7c5;
  width: 100%;
  height: auto;
  padding: 38px 10px;
}
.quick-w {
  width: 100%;
}
.quick-w h3 {
  font-family: "S-CoreDream-8Heavy";
  text-align: center;
  color: #fff;
  line-height: 1;
}
.quickList {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 54px 15px;
}
.quickList li {
  width: 26.333%;
}
.quickImg {
  position: relative;
  z-index: 1;
  transition: 0.3s ease;
}
.quickImg img {
  height: 60px;
}
.quickList li a {
  display: block;
  text-align: center;
  font-family: "S-CoreDream-6Bold";
  transition: 0.3s ease;
  font-size: 17px;
}
.quickImg::after {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--main-pink);
  border-radius: 50px;
  content: "";
  top: -18px;
  left: 32%;
  transform: translateX(-32%);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.quickList li a:hover .quickImg::after {
  opacity: 1;
  visibility: visible;
}
.quickList li a:hover .quickImg {
  transform: translateY(-10px);
}

/* footer logo */
.footer {
  background: #000;
  height: auto;
}
.footer_logo {
  width: 100%;
  padding: 30px 10px;
  clear: both;
  display: inline-block;
  background: #fff;
}
.footer_logo .org_area {
  display: block;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}
.footer_logo .org_area span {
  display: block;
  font-size: 17.5px;
  font-weight: 600;
  position: relative;
  padding-left: 10px;
}
.footer_logo .org_area span::before {
  position: absolute;
  display: block;
  content: "";
  width: 3px;
  height: 19px;
  background: #282828;
  border-radius: 10px;
  left: 0;
}
.footer_logo .org_area ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: 7px;
}
.footer_logo .org_area ul li {
  width: 32%;
}
.footer_logo .org_area ul li a {
  display: block;
  width: 90%;
}
.footer_logo .org_area ul li a img {
  width: 100%;
}
.footer_logo .org_area:nth-child(2) span {
}

.footer_logo .sp_area {
}
.footer_logo .sp_area span {
}
.sp_area2 ul li {
  margin-right: 13px !important;
}

/* Footer Styles */
.footer_wrap {
  padding: 38px 20px;
}
.footer-txt {
  border-bottom: none;
  font-size: 14px;
  line-height: 29px;
}
.footer-txt:last-child {
  margin-top: 30px;
}
.footer-txt ul {
  display: inline-block;
  width: 100%;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
}
.footer-txt ul li {
  float: left;
  margin-right: 13px;
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  font-family: "S-CoreDream-3Light";
  position: relative;
}
.footer-txt ul li:last-child::after {
  content: "";
}
.footer-txt ul li::after {
  content: "|";
  position: absolute;
  top: 0;
  right: -10px;
}
.footer-txt ul li:nth-child(2)::after {
  display: none;
}
.footer-txt ul li span {
  font-weight: 600;
}
.footer-txt ul li font {
  background: #14b3ff;
  color: var(--main-white);
  padding: 3px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 2px;
}
.footer-txt p {
  margin-bottom: 0;
  padding-top: 3px;
  line-height: 25px;
  color: #fff;
  font-weight: 300;
  font-size: 14px;
}
.footer-txt h2 {
  font-size: 16px;
  color: #fff;
}
.footer-txt h2 span {
  font-weight: 300;
  font-family: "S-CoreDream-3Light";
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

/*후원로고 슬라이드*/
.sponSlide {
  background: #eeeeee;
  width: 100%;
  padding: 30px 0;
}
.sponsorSlider {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.sponsorSlider .slick-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.sponsorSlider a {
  display: block;
  text-align: center;
}
.sponsorSlider .slick-slide img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.image-container {
  position: relative;
  width: 100%;
  height: auto;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* 버튼 영역: 이미지 위에 위치 */
.popup-btn-grid {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3%; /* 버튼 간격도 비율로 */
  width: 76%;
  max-width: 90%; /* 이미지 크기에 비례 */
  z-index: 10;
}

/* 버튼 스타일 */
.popup-btn-grid a {
  color: transparent;
  border: none;
  padding: 0.8em 0; /* em 단위로 버튼 높이를 비율로 설정 */
  border-radius: 6px;
  font-size: 1em; /* em 단위 글꼴 크기 */
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  text-align: center;
}

.sliderbtn {
  top: 62%;
  width: 72% !important;
  position: absolute;
  z-index: 999;
}
.modal-content {
}
.modal-content img {
  width: 100%;
}

.sliderbtn > a {
  background: #ffffff21;
  color: #fff;
  padding: 8px 13px;
  font-size: 1em;
  border: 2px solid #fff;
  border-radius: 50px;
  transition: 0.3s ease;
}
.sliderbtn > a:hover {
  cursor: pointer;
  background: #000;
}
.close {
  float: right;
  font-size: 35px;
  font-weight: bold;
  position: relative;
  top: 30px;
  right: 0;
  background: #fff;
  width: 30px;
  height: 30px;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* The Modal (background) --------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
