
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.header { font-family: "Roboto", sans-serif; position: fixed; width: 100%; top: 0; left: 0; z-index: 9; }
.header.active { z-index:11; }
.header-nav { -webkit-box-sizing: border-box; box-sizing: border-box; padding: 0 60px; width: 100%; height: 100px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-transition: 0.3s; transition: 0.3s; background-color: transparent; }
.header-nav::after { content: ''; display: inline-block; position: absolute; top: 0; left: 0; z-index: -9; opacity: 0; }
.header-nav::before { content: ''; display: inline-block; width: 100%; height: 80px; background: #f8f8f8; top: 100%; left: 0; opacity: 0; -webkit-transition: 0.3s; transition: 0.3s; position: absolute; -webkit-transform: scaleY(0); transform: scaleY(0); -webkit-transform-origin: top; transform-origin: top; }
.header-nav-logo { display: block; width:120px; height: 45px; background: url(../images/logo_white.png) 50% 50% / cover; position: relative; }
.header-nav-list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 100%; position: relative; } 
.header-nav-item { position:relative; height: 100%; text-align: center; padding: 20px; }
.header-nav-link { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; font-weight: bold; text-transform: uppercase; color: #fff; height: 100%; font-size: 16px; border-bottom: 2px solid transparent; }
.header-nav-list-sub { position: absolute; left: 0; width: 640px; top: 100%; opacity: 0; -webkit-transition: opacity 0.3s; transition: opacity 0.3s; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack:start; -ms-flex-pack:start; justify-content:flex-start; z-index: -1; -webkit-transform: scaleY(0); transform: scaleY(0); -webkit-transform-origin: top; transform-origin: top; }
.header-nav-list-sub.hide { display: none; }
.header-nav-item.center { position:static; }
.header-nav-item.end .header-nav-list-sub { left: auto; right:15px; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; }
.header-nav-link-sub { -webkit-transition: color 0.3s; transition: color 0.3s; text-transform: uppercase; height: 80px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; padding-right: 30px; color: #818186; font-weight: 500; }
.header-nav-item-sub.hide { display: none; }
.header-nav-toggle { z-index: 99; width: 24px; height: 24px; position: relative; }
.header-nav-toggle span { -webkit-transition: 0.3s; transition: 0.3s; position: absolute; top: 2px; left: 0; width: 22px; height: 2px; border-radius: 2px; background-color: #fff; }
.header-nav-toggle span:nth-of-type(2) { top: 10px; }
.header-nav-toggle span:nth-of-type(3) { top: 18px; }

/* active */
.header-nav.bg { background-color: #fff; -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.header-nav.hover { background-color: #fff; }
.header-nav.hover::before { opacity: 1; top: 100%; -webkit-transform: scaleY(1); transform: scaleY(1); }
.header-nav.hover2::before { opacity:0; }
.header-nav.hover .header-nav-logo,
.header-nav.active .header-nav-logo { background-image: url(../images/logo_color.png); }
.header-nav.hover .header-nav-link,
.header-nav.active .header-nav-link { color: #000; }              
.header-nav.hover .header-nav-item:hover .header-nav-link,
.header-nav.active .header-nav-item.active .header-nav-link { color: #0083a7; border-bottom: 2px solid #02387a; }
.header-nav.hover .header-nav-item:hover .header-nav-list-sub { opacity: 1; z-index: 1; -webkit-transform: scaleY(1); transform: scaleY(1); }
.header-nav.hover .header-nav-item .header-nav-link-sub:hover { color: #02387a; font-weight: 500; }
.header-nav.hover .header-nav-toggle span,
.header-nav.active .header-nav-toggle span { background-color: #000; }
.header-nav-toggle.active span { background-color: #fff !important; top: 10px; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.header-nav-toggle.active span:nth-of-type(2) { -webkit-transform: rotate(180deg); transform: rotate(180deg); opacity: 0; }
.header-nav-toggle.active span:nth-of-type(3) { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

/* sitemap */
.sitemap { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #02387a; /* background: rgb(2,56,122); background: linear-gradient(180deg, rgba(2,56,122,1) 0%, rgba(0,42,54,1) 100%); */
 z-index: 9; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-transition: 0.5s; transition: 0.5s; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: right; transform-origin: right; opacity: 0; }
.sitemap::before { content: ""; position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; background-image: url(../images/main/customer_bg.png); opacity: 0.08; background-position: center; background-repeat: no-repeat; }
.sitemap.active { -webkit-transform: scaleX(1); transform: scaleX(1); opacity: 1; }
.sitemap .header-nav-list { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 100%; width: 100%; padding: 0 20px; max-width: 1420px; }
.sitemap .header-nav-item { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; padding-right: 20px; height: 100%; max-height: 250px; }
.sitemap .header-nav-item:last-of-type { padding-right: 0; }
.sitemap .header-nav-link { padding-bottom: 20px; border-bottom: 3px solid #fff; font-size: 22px; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; height: auto; }
.sitemap .header-nav-list-sub { z-index: 1; font-size: 16px; position: static; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; opacity: 1; -webkit-transform: scaleY(1); transform: scaleY(1); width:auto; }
.sitemap .header-nav-link-sub { font-family: "Noto Sans KR", sans-serif; text-transform: none; height: auto; padding-top: 20px; color: #fff; font-weight: 400; }
.sitemap .header-nav-link-sub:hover { color: #0083a7; }
.sitemap-addr { font-family: "Noto Sans KR", sans-serif; color: #ccc; line-height: 1.5; position: absolute; bottom: 60px; left: 20px; }
.sitemap-addr>small { font-size: 12px; }
.sitemap-addr>p { font-size: 14px; }
.sitemap-addr>p>span { display: inline-block; margin: 0 5px; }

/**********************************************************
 responsive
***********************************************************/
/* width */
@media screen and (max-width: 1280px){
 .sitemap .header-nav-link { font-size: 20px; }
 .sitemap .header-nav-item { -webkit-box-flex: 0; -ms-flex: none; flex: none; }
 }

@media screen and (max-width: 1023px){
 .header-nav-list { display: none; }
 .header-nav { height: 55px; padding: 0 20px; }
 .header-nav::before,
 .header-nav::after { display: none}
 .header-nav-logo { width: 64px; height: 27px; background-size: contain; background-repeat: no-repeat; }

 /* sitemap */
 .sitemap-addr { display: none; }
 .header.active { z-index:11; }
 .sitemap { -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
 .sitemap::before { background-image: url(); background-position: right center; background-size: contain; }
 .sitemap .header-nav-list { padding: 100px 40px; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; height: auto; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
 .sitemap .header-nav-link { width: auto; width: -webkit-max-content; width: -moz-max-content; width: max-content; border-bottom: 0; padding-bottom: 0; }
 .sitemap .header-nav-item { padding-right: 0; }
 .sitemap .header-nav-link.active { border-bottom: 2px solid #fff; }
 .sitemap .header-nav-list-sub { padding-left: 10px; padding-top: 20px; padding-bottom: 10px; -webkit-transform: scaleY(0); transform: scaleY(0); -webkit-transition: 0.3s; transition: 0.3s; -webkit-transform-origin: top; transform-origin: top; }
 .sitemap .header-nav-list-sub.active { -webkit-transform: scaleY(1); transform: scaleY(1); }
 .sitemap .header-nav-item-sub { height: 0px; -webkit-transition: 0.3s; transition: 0.3s; }
 .sitemap .header-nav-list-sub.active .header-nav-item-sub { height: 40px; }
 .sitemap .header-nav-link-sub { padding-top: 0; }
 }
