/*===========================================================================
	웹폰트
============================================================================*/

/* 폰트 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/Pretendard-Thin.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraLight.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/Pretendard-Light.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/Pretendard-Regular.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Pretendard-Medium.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Pretendard-SemiBold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Pretendard-Bold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/Pretendard-ExtraBold.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/Pretendard-Black.otf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format("truetype");
    font-display: swap;
}
@font-face {
    font-family: 'xeicon';
    font-style: normal;
    src: url('../fonts/xeicon.ttf') format("truetype");
    font-display: swap;
}

/*===========================================================================
	CSS 초기화
============================================================================*/
* { font-family: "Pretendard", sans-serif; box-sizing:border-box; margin:0; padding:0; word-break: keep-all; line-height: 1.2;}
html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, b, dl, dt, dd, ol, ul, li, form, label, legend, caption, article, aside, footer, header, menu, nav, section, video {border:0; outline:0; font-size: 16px; color:#000; }
html { scroll-behavior: smooth; }
body { line-height:1; -ms-overflow-style: none; width: 100%; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul, ol, li {list-style:none;}
a {margin:0; padding:0; font-size:100%; line-height: 100%; display: block; text-decoration: none; color: inherit; }
pre { font-family: "Pretendard", sans-serif; white-space: pre-line; line-height: 1.2; }
img {width: 100%;}
input, select {vertical-align:middle; outline:0; border: 0; background: none; font-family: "Pretendard", sans-serif;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="file"], input[type="checkbox"], input[type="radio"] { display: none; }
input[type="date"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; text-align: left; }
input::-webkit-date-and-time-value { text-align: left; }
select { appearance: none; background-image: url(../images/icon_arrow_down.png); background-repeat: no-repeat; background-position: right 8px center; background-size: 18px; width: 100%; min-width: 100%; }
select option { width: 100%; }
select option[value="disabled"][disabled] {display: none;}
label { cursor: pointer; }
button { cursor:pointer; border: 0; outline: 0; background: none; color: inherit; }
textarea { border: 0; outline: 0; resize: none; font-family: "Pretendard", sans-serif;}
i { font-family: 'xeicon'; font-style: normal; color: inherit; line-height: inherit; }

/* 콘텐츠 공통 */
.col-group {display:flex;}
.col-group.wrap { flex-flow: wrap; }
.row-group {display:flex; flex-flow: column;}
.container { width: 100%; margin: 0 auto; max-width: 1440px; }
.img-container { width: 100%; position: relative; }
.img-container img, .img-container video { position: absolute; width: 100%; height: 100%; object-fit: cover; left: 0; top: 0; right: 0; bottom: 0; object-position: center; }

::-webkit-scrollbar { width: 2px; height: 2px; }
::-webkit-scrollbar-track { background: #a8a8a8; }
::-webkit-scrollbar-thumb { background: #0088db; border-radius: 4px;}

.blue { color: #3348cc; }
.red { color: #f72f2f; }
.green { color: #0088db; }
.lightgreen { color: #00ff44; }
.yellow { color: #fcdb00; }
.dagr { color: #636363; }
.gray { color: #999999; }

.pc { display: block; }
.mb { display: none; }

@media screen and (max-width: 1440px) {
    .container { padding: 0 16px; }
}
@media screen and (max-width: 1280px) {
    .pc { display: none; }
    .mb { display: block; }
}


/* header */
#header {  width: 100%; position: fixed; top: 0; left: 0; z-index: 991; transition: .3s; }
/* #header * { transition: .3s; } */
.header-wrap { height: 120px; width: 100%; padding: 0 clamp(20px, 4.1667vw, 80px); margin: 0 auto; position: relative; display: flex; justify-content: space-around; align-items: center; background: #fff;  border-bottom: 1px solid rgba(0, 0, 0, 0.03); z-index: 991;}
.header-wrap .logo a { width: 174px; height: 56px; background-image: url(../images/logo.png); background-repeat: no-repeat; background-size: contain; }
.gnb-group { height: 100%; }
.gnb-wrap, .gnb-group { display: flex; width: 100%; height: 100%; justify-content: center; }
.gnb-item, .sub-gnb-item { width: 100%; max-width: 192px; }
.gnb-item.home-menu { max-width: 48px; }
.gnb-title { width: 100%; height: 100%; text-align: center; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 4px; justify-content: center; cursor: pointer; white-space: nowrap; }
.gnb-title i { transition: 0s !important; }
.toggle-btn { font-size: 24px; cursor: pointer; }
.gnb-btn-wrap { display: flex; align-items: center; gap: 32px;}
.gnb-btn-wrap .btn { font-size: 20px; font-weight: 600; max-width: 142px;}


#header .gnb-item  {
    position: relative;
}

#header .gnb-item:hover::after {
    position:absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #234015;
    left: 0;
    bottom: 2px;
}

#header .gnb-item:hover > a {
    color: #234015;
}

#header .sub-gnb-box {
    position: absolute;
    width: 100%;
    background-color: #fff;
    left: 0;
    top: 0;
    /* transition: .2s !important;  */
    opacity: 0;
    padding-top: 20px;
}

#header .sub-gnb-group .gnb-item {
    position: relative;
}

#header .sub-gnb-group {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    gap: 24px;
    flex-direction: column;
    z-index: 2;
    top: 0;
    opacity: 0;
    pointer-events: none;
}

#header .sub-gnb-item .gnb-title {
    height: unset;
}

#header.active .sub-gnb-box {
    position: absolute;
    left: 0;
    background-color: #fff;
    height: 240px;
    top: 120px;
    opacity: 1;
}

#header.active .sub-gnb-group {
    top: 140px;
    opacity: 1;
    pointer-events: unset;
}


#header .sub-gnb-item:hover > a {
    color: #234015;
}






@media screen and (max-width:1680px) {
    .header-wrap { padding: 0 24px; }
    .sub-gnb-wrap { padding-left: 24px; padding-right: 24px; }
}
@media screen and (max-width:1330px) {
    .gnb-item, .sub-gnb-item {
        max-width: 140px;
    }
    #header .sub-gnb-item .gnb-title {
        font-size: 16px;
    }
}
@media screen and (max-width:1280px) {
    .gnb-item, .sub-gnb-item {  max-width: 120px;  }
    .header-wrap {  justify-content: space-between; padding: 0 16px; }
    .header-wrap .logo a { width: 170px; height: 60px; }
    .gnb-btn-wrap { gap: unset; }
    .gnb-btn-wrap .btn { height: 48px;  padding: 0 20px; display: flex; justify-content: center; align-items: center; }
}

@media screen and (max-width:1024px) {
    .header-wrap {  height: 64px; }
    .header-wrap .logo a { width: 130px; height: 32px; }
    .gnb-btn-wrap { display: none; }
    .gnb-wrap { display: none; }
    .sitemap-btn { font-size: 32px; color: #222; }
}

 .mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  padding: 20px 16px;
  padding-top: 28px;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  display: block;
}

.menu-toggle {
  position: relative;
  width: 100%;
  text-align: left;
  padding: 12px 0px;
  padding-right: 7px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.menu-toggle .toggle-arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
}

.menu-item.open .toggle-arrow {
  transform: rotate(180deg);
}

.sub-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-item.open .sub-menu {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

.sub-item {
  padding: 10px;
  font-size: 13px;
}

.sub-item:hover {
    background-color: rgba(233, 242, 223, 0.2);
}

.mobile-menu .mb-btn-wrap {
    position: absolute;
    width: calc(100% - 32px);
    bottom: 10%;
}

.mobile-menu .bg-green-btn {
    width: 100%;
    height: 56px;
    border-radius: 4px;
    background-color: #234015;
    color: #fff;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu .btn-join {
    width: 100%;
    height: 56px;
    border-radius: 4px;
    color: #000;
    background-color: #fff;
    font-size: 16px;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* footer */
#footer {  background-color: #10130f; padding: 40px 0 80px; }
.footer-wrap { display: flex; flex-direction: column; }
.footer-logo { width: 64px; margin-bottom: 24px; }
.footer-menu-wrap { display: flex; align-items: center; gap: 40px; }
.footer-wrap .footer-menu-wrap {  justify-content: flex-start; }
.footer-menu-item { font-size: 16px; color: #fff; font-weight: 500; }
.footer-txt-wrap { display: flex; flex-flow: column; gap: 8px; }
.footer-txt { font-size: 14px; color: #fff; line-height: 1.71; opacity: 0.5; }
.footer-contact-wrap { display: flex; flex-flow: column; gap: 8px; }
.footer-contact-wrap .item-title { font-size: 20px; font-weight: 600; color: #fff; }
.footer-contact-wrap .item-txt { font-size: 15px; font-weight: 300; color: #fff; }
.footer-btm-wrap {  display: flex; align-items: start; justify-content: space-between; margin-top: 24px; }
.footer-copy-txt { font-size: 14px; color: #fff; opacity: 0.3; margin-top: 24px; }
.f-ri-wrap { margin-top: -44px; }
.f-ri-wrap .footer-txt {  font-size: 16px; font-weight: bold; opacity: unset; }
.f-ri-wrap .footer-txt span:first-child {margin-right: 24px;}
.f-ri-wrap .footer-num-txt { font-size: 32px; font-weight: bold; color: #e9f2df; margin-top: 8px;}

@media screen and (max-width: 1024px) {
    #footer { padding: 32px 0 46px; }
    .footer-wrap { flex-flow: column; justify-content: center; align-items: center; }
    .footer-wrap .top-wrap { width: 100%; padding-bottom: 24px; border-bottom: 1px solid #484848; }
    .footer-menu-wrap { gap: 32px; }
    .footer-menu-item { font-size: 14px; }
    .footer-txt-wrap { order: 3; align-items: start; gap: unset; }
    .footer-txt { font-size: 12px; }
    .footer-contact-wrap { align-items: center; order: 2; }
    .footer-btm-wrap { width: 100%; padding-top: 0; border-top: 0; flex-direction: column-reverse; align-items: start; gap: 24px; }
    .footer-copy-txt { font-size: 12px; opacity: .5; }
    .f-ri-wrap { margin-top: unset;  width: 100%;}
    .f-ri-wrap .footer-num-txt { font-size: 24px;}
}

/* pagination */
.pagination { justify-content: center; margin-top: 56px; align-items: center; }
.pagination .page-nav-btn { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 20px; margin: 0 8px; }
.pagination .page-btn { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 17px; font-weight: 300; color: #aeaeae; border-radius: 50%; transition: .2s; }
.pagination .page-btn.active { background: #234015; color: #fff; }
.modal-content-wrap > .pagination { margin-top: 0; }

@media screen and (max-width: 1280px) {
    .pagination { margin-top: 24px; }
    .pagination .page-nav-btn { width: 32px; height: 32px; line-height: 32px;font-size: 18px; margin: 0 4px; }
    .pagination .page-btn { width: 32px; height: 32px; line-height: 32px; font-size: 14px; }
}





#top_menu {
  position: fixed;
  right: 15%;
  bottom: 10%;
  transform: translateY(-50%);
  z-index: 999;
}

.top-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.top-menu li {
  position: relative;
}

.top-menu li a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.16);
  background-color: #9ea697;
}

.top-menu li a i {
    font-size: 24px;
    color: #fcfcfc;
}

@media screen and (max-width: 1024px) {

    #top_menu {
        right: 48px;
        bottom: 10%;
        transform: unset;
    }

    .top-menu li a {
        width: 32px;
        height: 32px;
    }

    .top-menu li a i {
        font-size: 16px;
    }

}
