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

/* 폰트 */
@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: 'LeferiPointWhite';
    src: url('../fonts/LeferiPointWhite.ttf') format("truetype");
}
@font-face {
    font-family: 'BelgianoSerif';
    src: url('../fonts/BelgianoSerif2.ttf') format("truetype");
}

/*===========================================================================
	CSS 초기화
============================================================================*/
* { font-family: "Pretendard", sans-serif; box-sizing:border-box; margin:0; padding:0; }
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, strong, b, i, dl, dt, dd, ol, ul, li, form, label, legend, caption, article, aside, footer, header, menu, nav, section, video, a {border:0; outline:0; font-size:100%; color:#333; line-height:1;}
html { width: 100vw; overflow-x: hidden; scroll-behavior: smooth;}
body { overflow-x: hidden !important; line-height:1; width: 100vw; -ms-overflow-style: none; height: 100%; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul, ol, li {list-style:none;}
strong {display: inline-block;}
a {margin:0; padding:0; font-size:100%; display: block; }
pre { font-family: "Pretendard", sans-serif; white-space: pre-line; line-height: 1.5; }
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; }
select { appearance: none; background-image: url(../images/icon_arrow_down.svg); background-repeat: no-repeat; background-position: right 8px center; background-size: 24px; }
select option[value="disabled"][disabled] {display: none;}
label { cursor: pointer; }
button {cursor:pointer; border: 0; outline: 0; background: none;}
a {text-decoration: none; display: block;}
textarea { border: 0; outline: 0; resize: none; font-family: "Pretendard", sans-serif;}

/* header */
#header { position: fixed; top: 0; width: 100%; z-index: 99999; }
.header-wrap { padding: 0 80px; height: 88px; justify-content: space-between; position: relative; transition: .3s; }
.header-wrap .logo { width: 160px; height: 88px; }
.header-wrap .logo-img { height: 100%; background: url(../images/logo.png) no-repeat; background-size: contain; background-position: center; }
.header-wrap .gnb-wrap {  }
.header-wrap .gnb-wrap .logo { display: none; }
.header-wrap .gnb-wrap .close-btn { display: none; }

.header-wrap .gnb-menu-wrap { position: relative; }
.header-wrap .gnb-menu { width: 200px; font-size: 18px; font-weight: 500; height: 88px; line-height: 88px; text-align: center; cursor: pointer; transition: .3s; }
.header-wrap .gnb-menu > i, .header-wrap .gnb-menu.mb { display: none; }
.header-wrap .gnb-menu-wrap:hover .gnb-menu { color: #2bb27c; font-weight: bold; } 
.header-wrap .sub-gnb { width: 100%; overflow: hidden; position: absolute; transition: .3s; gap: 24px; align-items: center; height: 0; transition: .3s; }
.header-wrap .sub-gnb-menu { font-size: 17px; transition: .3s; }
.header-wrap .sub-gnb-menu:hover { color: #2bb27c; font-weight: bold; } 

.toggle-bar { display: flex; flex-flow: column; justify-content: center; cursor: pointer; height: 88px; }
.toggle-bar span { width: 26px; height: 2px; background: #202020; }
.toggle-bar span:not(:last-child) { margin-bottom: 8px; }
.toggle-bar:hover span { background: #2bb27c; }
.header-wrap .sns-list { display: none; }

#header:hover .header-wrap { height: 183px; }
#header:hover .header-wrap .sub-gnb { height: 100%; }
#header:hover .header-wrap, #header.active .header-wrap { background: #fff; }
#header:hover .header-wrap::after, #header.active .header-wrap::after { content: ''; display: block; position: absolute; width: 100%; height: 1px; background: #e4e4e4; left: 0; bottom: 0; }

/* sitemap */
#header.sitemap .header-wrap .gnb { opacity: 0; visibility: hidden; }
#header.sitemap .header-wrap::after { display: none !important; }
#header.sitemap .toggle-bar span:first-child { transform: rotate(45deg) translateY(5px) translateX(2px); }
#header.sitemap .toggle-bar span:last-child { transform: rotate(-45deg) translateY(-5px) translateX(2px); }
.site-map { position: fixed; top: 0; width: 100%; height: 100vh; background: #fff; z-index: -1; transform: translateY(-100%); transition: .6s !important; }
#header.sitemap .site-map { transform: translateY(0); }
.site-map .gnb { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; max-width: 960px; }
.site-map .gnb-menu-wrap { padding: 24px 0; display: flex; }
.site-map .gnb-menu-wrap:not(:last-child) { border-bottom: 1px solid #e4e4e4; }
.site-map .gnb-menu { text-align: left; height: unset; line-height: unset; font-size: 24px; font-weight: bold; color: #bebebe; flex: 1; }
.site-map .sub-gnb { flex: 3; position: static; height: auto; gap: 48px; align-items: flex-start; }
.site-map .sub-gnb-menu { width: 100%; gap: 56px; align-items: center; font-size: 32px; font-weight: bold; position: relative; }
.site-map .sub-gnb-menu:not(:last-child)::after { content: ''; display: block; position: absolute; width: 100%; height: 1px; background: #e4e4e4; left: 0; bottom: -24px; }
.site-map .sub-gnb-menu:hover { color: #2bb27c; }
.site-map .sub-gnb-tab-list { gap: 40px; }
.site-map .sub-gnb-tab { font-size: 16px; }
.site-map .sub-gnb-tab:hover { color: #2bb27c; }

@media screen and ( min-width:1280px ) {
    #header.white .header-wrap .logo-img { background: url(../images/logo_w.png) no-repeat; background-size: contain; background-position: center; }
    #header.white:hover .header-wrap .logo-img { background: url(../images/LOGO.png) no-repeat; background-size: contain; background-position: center; }
    #header.white .header-wrap .gnb-menu { color: #fff; }
    #header.white:hover .header-wrap .gnb-menu { color: #202020; }
    #header.white .header-wrap .gnb-menu-wrap:hover .gnb-menu { color: #2bb27c; font-weight: bold; } 

}

/* footer */
.footer-wrap { background: #f5f5f5; padding: 48px 100px 64px; justify-content: space-between; }
.footer-box { justify-content: space-between; }
.footer-box-top { gap: 24px; }
.footer-box-btm { gap: 4px; }
.footer-logo { width: 130px; }
.footer-str { font-size: 14px; font-weight: 600; }
.footer-str:hover { text-decoration: underline; }
.footer-txt { font-size: 10px; font-weight: 300; line-height: 1.5; }
.footer-gnb-wrap { gap: 48px; align-items: flex-end; }
.footer-gnb-list { gap: 16px; }
.footer-gnb { width: 240px; }
.footer-gnb-title { line-height: 40px; font-size: 14px; font-weight: 600; border-bottom: 1px solid #707070; margin-bottom: 16px; }
.footer-gnb-menu-list { gap: 8px; }
.footer-gnb-menu { font-size: 14px; line-height: 1.5; }
.footer-gnb-menu:hover { text-decoration: underline; }
.footer-copy { font-size: 10px; font-weight: 200; color: #565656; }

/* pagination */
.pagination { align-items: center; margin-top: 80px; justify-content: center; gap: 8px; }
.pagination .page-btn { display: block; width: 40px; height: 48px; background: #fcfcfd; text-align: center; line-height: 44px; border-radius: 4px; border: 2px solid #e4e4e4; font-size: 20px; font-weight: 300; transition: .2s; color: #777; }
.pagination .page-btn i { color: #777; font-size: 20px; }
.pagination .page-btn:not(.prev-btn, .next-btn, .active):hover { background: #e4e4e4; }
.pagination .page-btn.active { background: #2bb27c; color: #fff; border: 2px solid #2bb27c; }

/* top-btn */
.top-btn { position: fixed; z-index: 10; right: 24px; bottom: 98px; width: 56px; height: 56px; border-radius: 50%; background: #707070; text-align: center; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.16); cursor: pointer; transition: .3s; opacity: 0; }
#top_menu.active .top-btn { opacity: 1; }
.top-btn:hover { box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 30px 0px; }
.top-btn i { font-size: 29px; color: #fff; line-height: 56px; }

@media screen and (max-width: 1440px) {
    /* footer */
    .footer-wrap { padding: 48px 0; flex-flow: column; gap: 40px; }
    .footer-box { align-items: center; gap: 24px; }
    .footer-box-top { gap: 16px; }
    .footer-gnb-wrap { align-items: center; }
    .footer-gnb-list { display: none !important; }
}

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

    /* header */
    .header-wrap { padding: 0 16px; height: 56px; align-items: center; background: #fff; }
    .header-wrap .logo { width: 124px; height: 40px; }
    .header-wrap .gnb-menu { display: none; }
    .toggle-bar:hover span { background: #202020; }
    
    #header:hover .header-wrap { height: 56px; }
    #header:hover .header-wrap::after, #header.active .header-wrap::after { display: none; }

    /* sitemap */
    #header.sitemap .header-wrap { background: #2bb27c; }
    #header.sitemap .header-wrap .logo-img { background: url(../images/logo_w.png) no-repeat; background-size: contain; background-position: center; }
    #header.sitemap .header-wrap .gnb { opacity: 0; visibility: hidden; }
    #header.sitemap .header-wrap::after { display: none !important; }
    #header.sitemap .toggle-bar span { background: #fff; }
    #header.sitemap .toggle-bar span:last-child { transform: rotate(-45deg) translateY(-5px) translateX(2px); }
    .site-map { background: #2bb27c; }
    .site-map .gnb { padding-left: 64px; gap: 40px; }
    .site-map .gnb-menu-wrap { padding: 0; }
    .site-map .gnb-menu-wrap:not(:last-child) { border-bottom: 0; }
    .site-map .gnb-menu { display: none; }
    .site-map .sub-gnb { flex: unset; gap: 40px; }
    .site-map .sub-gnb-menu { flex-flow: column; gap: 12px; font-size: 22px; color: #fff; align-items: flex-start; }
    .site-map .sub-gnb-menu:not(:last-child)::after { display: none; }
    .site-map .sub-gnb-menu:hover { color: #fff; }
    .site-map .sub-gnb-tab-list { gap: 8px; flex-flow: column; }
    .site-map .sub-gnb-tab { opacity: 0.5; color: #fff; font-weight: 300; }
    
    /* footer */
    .footer-inquiry { height: 72px; }
    .footer-inquiry .container.w1440 { padding: 0; }
    .footer-inquiry-txt.col-group { display: none; }
    .footer-inquiry-list { gap: 0; height: 100%; width: 100%; }
    .footer-inquiry-item { width: 100%; gap: 4px; flex-flow: column; padding: 0 24px; align-items: flex-start; justify-content: center; }
    .footer-inquiry-item-1 { background-color: #003191; background-image: url(../images/icon_footer_call.svg); background-repeat: no-repeat; background-size: 40px; background-position: top 8px right 8px; }
    .footer-inquiry-item-2 { background-color: #002368; background-image: url(../images/icon_footer_as.png); background-repeat: no-repeat; background-size: 40px; background-position: top 8px right 8px; }
    .footer-inquiry-item:not(:last-child)::after { display: none; }
    .footer-inquiry-item .txt { font-size: 14px; }
    .footer-inquiry-item .num { font-size: 24px; }

    .footer-wrap { text-align: center; }
    .footer-wrap .logo { width: 128px; margin-bottom: 16px; }
    .footer-txt-wrap { gap: 0; margin-bottom: 16px; }
    .footer-txt { font-size: 12px; }
    .footer-txt .pc { display: none; }
    .footer-txt br { display: block; }

    .sns-list { position: static; justify-content: center; padding-top: 32px; }

    /* pagination */
    .pagination { margin-top: 24px; }
    .pagination .page-btn { width: 32px; height:32px; line-height: 32px; font-size: 14px; }
    .pagination .page-btn i { font-size: 16px; }
}

