
@charset "utf-8";

/* ===== RESET & GLOBAL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: 'Noto Sans KR', sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  background: #fff;
  border-bottom: none;
}
#header a {
  text-decoration: none;
}
#header h1 {
  margin: 0;
}
#header h1 img {
  height: 60px;
  width: auto;
}
.topBtnList {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.langList select {
  width: 94px;
  height: 36px;
  padding-left: 10px;
  color: #01afb1;
  border: 1px solid #00afb1;
  border-radius: 5px;
  background: url(/web_basic/img/common/lang_arrow.gif) no-repeat right 15px center;
  appearance: none;
  cursor: pointer;
}
.headerWrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.rightCont {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btnGo a {
  display: inline-block;
  padding: 10px 18px;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #00afb1, #00c3b8);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: background 0.3s ease;
  text-align: center;
  text-decoration: none;
}
.btnGo a:hover {
  background: linear-gradient(135deg, #00c3b8, #00afb1);
}
.navList {
  display: flex;
  align-items: center;
}
#gnb {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#gnb > li {
  position: relative;
}
#gnb > li > span > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  padding: 14px 24px;
  color: #333;
  font-weight: 600;
  font-size: 2rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}
#gnb > li > span > a:hover {
  background: #00afb1;
  color: #fff;
}
.depth {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 130px;
  z-index: 10;
  border-radius: 6px;
  animation: fadeIn 0.2s ease-in-out;
}
@media (min-width: 1025px) {
  #gnb > li:hover .depth {
    display: block;
  }
}

.depth > ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.depth > ul > li > a {
  display: block;
  padding: 12px 20px;
  font-size: 1.6rem;
  color: #333;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.3s;
}

.depth > ul > li > a:hover {
  background-color: #f0f4f8;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HAMBURGER MENU ===== */
.btnAllNav {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}
.allNavView {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 121;
  background: rgba(0, 0, 0, 0.5);
}
.allNavView.active {
  display: block;
}
.allNavCont {
  width: 300px;
  height: 100%;
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
  overflow-y: auto;
  padding: 20px;
}
@media screen and (max-width: 767px) {
  .allNavCont {
    width: 100%;  /* 모바일에서 전체 화면 차지 */
  }
}

.allNavCont #gnb {
  flex-direction: column;
}
.allNavCont .allNavClose {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 3rem;
  cursor: pointer;
}

/* ===== LAYOUT ===== */
#container {
  position: relative;
  margin-top: 120px;
}
.contents {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap {
  margin-top: 120px;
  padding-bottom: 50px;
}

/* ===== FOOTER ===== */
#footer {
  border-top: 1px solid #dcdcdc;
  background: #f5f5f5;
  padding: 40px 20px;
}
#footer .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#footer .snsList ul {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 10px 0;
  flex-wrap: wrap;
  justify-content: center;
}
#footer .addrWrap,
#footer .snsList {
  text-align: center;
}
#footer .addrWrap .addrNavList {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
#footer .addrWrap .addrNavList li {
  font-weight: bold;
  padding-right: 12px;
  border-right: 1px solid #414141;
}
#footer .addrWrap .addrNavList li:last-child {
  border-right: none;
}
#footer .addrWrap .addrCont {
  margin-top: 20px;
}
#footer .addrWrap .addrCont .copy {
  color: #919191;
  margin-top: 20px;
  font-size: 1.3rem;
}
.partnerList {
  margin-top: 30px;
  text-align: center;
}
.partnerText {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 2.2rem;
}
.logo-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}
.logo-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.logo-carousel a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% / 6);
}
.logo-carousel img {
  max-height: 40px;
  width: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .logo-carousel {
    gap: 10px !important; /* Reduce spacing */
    flex-wrap: wrap;      /* Allow wrapping if needed */
    justify-content: center;
  }

  .logo-carousel a {
    width: 30%; /* Fit more logos per row */
    margin-bottom: 10px;
  }

  .logo-carousel img {
    max-height: 30px;
    width: auto;
  }
}


.footerBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.footerBottom .copy {
  font-size: 1.56rem;
  color: #919191;
  margin: 10px 0;
}
.footerBottom .footerLogo img {
  height: 60px;
  width: auto;
  margin: 10px 0;
}
.footerLogo {
  margin-top: 20px;
  text-align: center;
}
.addrDetail {
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  #footer {
    padding: 30px 15px;
  }

  #footer .contents {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  #footer .addrWrap .addrNavList {
    justify-content: center;
    font-size: 1.4rem;
    gap: 12px;
    margin-bottom: 10px;
  }

  #footer .addrWrap .addrCont {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: 10px;
  }

  .partnerList {
    margin-top: 25px;
    text-align: center;
  }

  .partnerText {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .logo-carousel-wrapper {
    overflow-x: auto;
    width: 100%;
  }

  .logo-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 10px 0;
    min-width: max-content;
  }

  .logo-carousel a {
    flex: 0 0 auto;
    width: 40vw;
  }

  .logo-carousel img {
    max-height: 36px;
    width: auto;
  }

  .footerBottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    gap: 10px;
  }

  .footerBottom .copy {
    font-size: 1.3rem;
    margin: 0;
  }

  .footerLogo {
    margin: 0 auto;
  }

  .footerLogo img {
    height: 40px;
    width: auto;
  }
}


/* ===== MEDIA QUERIES ===== */
@media screen and (max-width: 1279px) {
  .headerWrap {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .rightCont {
    flex-direction: column;
    align-items: center;
  }
  .btnGo {
    margin: 10px 0;
  }
  .btnAllNav {
    display: block;
  }
  .navList, .btnGo {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  #header h1 img {
    height: 45px;
  }
  .contents {
    padding: 0 15px;
  }
  #footer {
    padding: 20px 10px;
  }
  #footer .addrWrap .addrNavList {
    gap: 10px;
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 768px) {
  .logo-carousel a {
    width: calc(100% / 2.5);
  }
  .logo-carousel {
    gap: 10px;
  }
}
@media screen and (max-width: 480px) {
  .footerBottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 모바일에서 참여하기 버튼 숨김 */
@media screen and (max-width: 767px) {
  .btnGo {
    display: none !important;
  }
}

/* 햄버거 메뉴 안의 GNB 메뉴 스타일 조정 */
.allNavView ul#gnb {
  padding: 20px 0;
}
.allNavView ul#gnb li a {
  display: block;
  padding: 14px 0;
  font-size: 1.6rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .btnGo {
    display: none !important;
  }
}

.btnAllNav {
  display: none;
  font-size: 3.8rem;         /* 크기 크게 */
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;         /* 오른쪽 끝으로 밀기 */
  padding: 10px 15px;
  line-height: 1;
}

@media screen and (max-width: 1279px) {
  .btnAllNav {
    display: block;
  }
  .navList {
    display: none;
  }
}

.allNavView {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 121;
  background: rgba(0, 0, 0, 0.5);
}
.allNavView.active {
  display: block;
}
.allNavCont {
  width: 300px;
  height: 100%;
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
  overflow-y: auto;
  padding: 20px;
}
.allNavClose {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2.5rem;
  cursor: pointer;
}
.allNavCont #gnb {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.allNavCont #gnb li a {
  display: block;
  padding: 12px 0;
  font-size: 1.6rem;
  color: #333;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.mobileMenuToggle.active {
  font-weight: bold;
  color: #00afb1;
}
.mobileMenuToggle {
  display: block;
  width: 100%;
  font-size: 2.2rem;
  padding: 16px 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  color: #333;
  text-align: left;
}

.allNavCont .depth {
  width: 100%;
  background: #f9f9f9;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.allNavCont .depth ul {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.allNavCont .depth ul li {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.allNavCont .depth ul li a {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 2.0rem;
  color: #333;
  text-align: left;
  border-bottom: 1px solid #eee;
  background: #fff;
  box-sizing: border-box;
  border-radius: 0;
}
.allNavCont .depth {
  box-shadow: none;
  border-radius: 0;
}

/* Sub Banner */
.subTop{position:relative;z-index:21;}
.subTop:before{width:1280px;height:107px;background:#fff;position:absolute;left:50%;bottom:0;transform:translateX(-50%);content:'';z-index:1;border-radius:6px 6px 0 0;}
.subTop .pageGroup{width:100%;height:360px;display:flex;flex-direction:column;text-align:center;color:#fff;letter-spacing:-0.02em;padding-top:130px;overflow:hidden;background:url(../img/sub_common/sub_visual_introduce.jpg) no-repeat center center/cover;}
.subTop .pageGroup h2{font-size:4rem;line-height:100%;text-transform:uppercase;font-weight:700;}
.subTop .pageGroup .titleSubText{margin-top:20px;font-size:1.8rem;opacity:.8;}
.subTop #lnb{margin-bottom:100px;}
.subTop #lnb > a{display:none;}
.subTop #lnb ul{display:flex;width:1280px;position:absolute;left:50%;bottom:0;transform:translateX(-50%);padding:39px 39px 0;z-index:2;}
.subTop #lnb ul li{height:69px;flex:1;border:1px solid #dcdcdc;border-left:0;font-size:2rem;}
.subTop #lnb ul li a{height:100%;display:flex;align-items:center;justify-content:center;border-top:4px solid #fff;border-bottom:4px solid #fff;}
.subTop #lnb ul li.active a{border-bottom-color:#00afb1;}
.subTop #lnb ul li:nth-child(1){border-left:1px solid #dcdcdc;}

#introduce .pageGroup{background-image:url(../img/sub_common/sub_visual_introduce.jpg);}

/* imgViewer */
