.d_clear {clear:both}

/*pc*/
@media all and (min-width:1200px) {
	body.scroll #hs1 {display:none;}
	body.pc {min-width:1200px}

	#header {display:block; width:100%; max-width:2000px; height:100px; margin:0 auto; background:#fff; position:fixed; z-index:999; transition:0.3s;}
	#header:hover {border-bottom:1px solid var(--border);}
	body.scroll #header {height:70px; -webkit-box-shadow:0 0 30px 0 rgba(0,0,0,0.05); -moz-box-shadow:0 0 30px 0 rgba(0,0,0,0.05); box-shadow:0 0 30px 0 rgba(0,0,0,0.05);}
	body:not(.scroll):not(.fp-viewing-1st):not(.fp-viewing-info) #header:not(:hover) {background:0; border-bottom:1px solid rgba(255,255,255,0.1);}

	#header .bg {display:none; position:absolute; left:0; top:100px; width:100vw; height:100vh; background:rgba(0,0,0,0.2); z-index:-1;}
	body.lnb_over #header .bg {display:block;}

	#hs1 {position:relative; overflow:hidden; display:none;}
	#hs2 {position:relative; width:100%;}
	#hs2 .d_container {display:flex; align-items:stretch;}
	#hs2 h1 {padding:0 0 0 20px;}
	#hs2 h1 a {display:flex; align-items:center; width:200px; height:100%; background:url('../img/logo.png') no-repeat left center / auto 60px;}
	body:not(.scroll):not(.fp-viewing-1st):not(.fp-viewing-info) #header:not(:hover) #hs2 h1 a {background-image:url('../img/logo_w.png');}
	body.scroll #hs2 h1 a img {}

	#d_lnb_bg {position:absolute; left:0; top:100px; width:100%; height:0; background:#fff; overflow:visible !important; z-index:998;}
	body.scroll #d_lnb_bg {top:70px;}

	body.lnb_over #d_lnb_bg {min-height:200px;}
	body.lnb_over #d_lnb_bg .shadow {display:block}
	#d_lnb_bg > .d_container {overflow:hidden; height:100%;}

	#d_lnb_btn {display:none}

	#d_lnb {width:100%; height:100px; display:flex;}
	#d_lnb ul {position:relative; display:flex; justify-content:right; width:calc(100% - 120px);}
	#d_lnb li {width:25%; max-width:200px; position:relative;}
	#d_lnb li > a {display:flex; align-items:center; justify-content:center; height:100%; font-size:22px; font-weight:700; text-align:center; transition:0.3s; line-height:1.2;}
	body:not(.scroll):not(.fp-viewing-1st):not(.fp-viewing-info) #header:not(:hover) #d_lnb li > a {color:#fff;}
	#d_lnb li:hover > a {color:var(--col01);}
	body.scroll #d_lnb {height:70px;}
	body.scroll #d_lnb li > a {font-size:20px;}

	#d_lnb li:hover .sub {background:#fafafa;}
	#d_lnb li .sub {position:absolute; width:100%; height:0; overflow:hidden; z-index:999; border-left:1px solid var(--border);}
	#d_lnb li:last-child .sub {border-right:1px solid var(--border);}
  #d_lnb li .sub dl {padding:10px 0;}
	#d_lnb li .sub dd a {display:flex; align-items:center; justify-content:center; padding:10px 0.5em; font-size:16px; line-height:20px; text-align:center;}
	#d_lnb li .sub dd a:hover {color:var(--col02);}
	#d_lnb li .sub dd a[target='_blank']:after {font-family:var(--ic); content:'open_in_new'; margin:0 0 0 0.2em;}

	#d_lnb .tail {display:flex; justify-content:flex-end; align-items:center; width:120px;}
	#d_lnb .tail a.sitemap {width:100%; height:100px; display:flex; align-items:center; justify-content:center; transition:0.3s;}
	#d_lnb .tail a.sitemap span {display:block; width:50px; height:2px; margin:10px 0; background:#444;}
	body:not(.scroll):not(.fp-viewing-1st):not(.fp-viewing-info) #header:not(:hover) #d_lnb .tail a.sitemap span {background:#fff;}
	body.scroll #d_lnb .tail a.sitemap {height:70px;}

	#d_lnb_mask {display:none}
}

@media all and (min-width:1600px) {
	#d_lnb li .sub dd a {font-size:18px;}
	#d_lnb li.tail .lang {margin-right:40px;}
}

/*mobile*/
@media all and (max-width:1200px) {
	#header {position:fixed; z-index:999; width:100%; max-width:2000px; min-width:320px; left:0; right:0; top:0;}
	body.scroll #header {-webkit-box-shadow:0 0 30px 0 rgba(0,0,0,0.1); -moz-box-shadow:0 0 30px 0 rgba(0,0,0,0.1); box-shadow:0 0 30px 0 rgba(0,0,0,0.1); background:#fff;}

	#header .bg {position:absolute; left:0; top:0; width:100%; height:100%; opacity:1; transition:0.5s;}
	body.lnb_on {overflow:hidden}
	body.lnb_on #d_lnb_mask {position:fixed;left:0;top:0;width:100%;height:100%;z-index:990; background:rgba(0,0,0,0.4)}

	#d_gnb {position:fixed; left:-100%; top:0; height:60px; width:100%; background:#fff; z-index:998; max-width:480px; display:flex; align-items:center; border-bottom:1px solid var(--border);}
	#d_gnb a img {height:40px; margin:0 0 0 20px;}

	#d_gnb .close {width:60px; height:60px; cursor:pointer; display:flex; align-items:center; justify-content:center; margin-left:auto;}
	#d_gnb .close:after {content:'close'; font-family:var(--ic); font-size:2em;}

	#hs2 {position:relative; height:60px;}
	#hs2 h1 {height:60px; display:flex; align-items:center; justify-content:flex-start;}
	#hs2 h1 a {display:block; width:120px; height:100%; background:url('../img/logo_w.png') no-repeat left center / auto 40px; margin:0 0 0 20px;}
	body.scroll #hs2 h1 a {background-image:url(../img/logo.png);}
	#d_lnb_bg {display:none}
	#d_lnb_btn {position:absolute; top:0; right:0; cursor:pointer; width:80px; height:60px; display:flex; align-items:center; justify-content:center;}
		.icon-bar {display:block; margin:6px auto; width:32px; height:2px; background:#fff;}
		body.scroll .icon-bar {background:#444;}

	#d_lnb {position:fixed; left:-100%; top:60px; width:100%; max-width:480px; height:100%; overflow:auto; background:#fff; z-index:997;}
	#d_lnb ul {height:100%; overflow:auto;}
	#d_lnb li > a {display:flex; padding:20px; font-size:18px; position:relative; font-weight:600; border-bottom:1px solid var(--border);}
	#d_lnb li > a:after {content:'keyboard_arrow_down'; font-family:var(--ic); margin:0 0 0 auto;}
	#d_lnb li.on {transition:0.3s;}
	#d_lnb li.on > a:after {content:'keyboard_arrow_up';}

	#d_lnb li .sub {display:none; background:#f8f8f8; border-bottom:1px solid var(--border); padding:20px 0; transition:0.3s;}
	#d_lnb li.on .sub {display:block; height:auto !important;}
	#d_lnb li .sub dd a {display:block; padding:5px 20px; font-size:16px;}
	#d_lnb li .sub dd a:hover {font-weight:600;}

	#d_lnb .tail {display:none;}
}
