@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');


* {margin: 0; padding: 0; list-style: none; font-family: 'Noto Sans KR', sans-serif;}
a {text-decoration: none; color: #000; display:inline-block;}

header {width: 100%; height: 45px; border-bottom: 1px solid #ccc; position: relative;}
header .headerlogo {padding-left: 18px;}
header .headerlogo a {width: 50%; max-width: 200px;  height: 25px; background-image: url(../_img/heardlogo.svg); object-fit: contain; background-repeat: no-repeat; background-size: contain;}
header .hwrap {width: 100%; padding-top: 15px;}
header .hwrap h1 {float: left;}
header .hwrap h1 a img {width: 151px; height: 15px; margin-bottom: 6px; margin-left: 15px;}
header button {display: block; float: right; position: absolute; top: 13px; left: 88%; border: none; background: #fff; clear: both; cursor: pointer;}

header .hwrap nav {display: none; background-color: #002855; float: right; width: 100%; height: 300px; position: absolute; top: 0; z-index: 10000;}
header .hwrap nav img {float:right; padding: 15px 15px 0 15px; cursor: pointer;}
header .hwrap nav ul {padding: 10px 15px 0 15px; clear: both;}
header .hwrap nav ul li {font-size: 20px; margin-bottom: 10px;}
header .hwrap nav ul li a {color: #fff; cursor: pointer;}
header .hwrap nav ul li a:hover {border-bottom: 2px solid #fff; font-weight: bold;}
header .hwrap nav.on {display:inline-block !important;}

footer {width: 100%; height: 110px; padding-bottom: 15px; background-color: #F4F4F4;}
footer .footerWrap {width: 100%; margin: 0 auto; box-sizing: border-box;}
footer .footerleft {float: left; width: 100%;}
footer .footerleft p {font-size: 12px; text-align: center; padding: 15px 0;}
footer .footerfamily {float: right; width: 100%; position: relative; }
footer .footerfamily > span {display: block; margin: 0 auto; width: 100%; max-width: 170px; height: 44px; line-height: 42px; padding: 0 20px; font-size: 15px; border: 1px solid #E1E1E1; border-radius: 5px; background-color: #fff; cursor: pointer;}
footer .footerfamily > span > img {float: right; margin-top: 10px;}

footer .footerfamily .familywrap{width: 100%; height: auto; bottom: 47px; position: absolute; margin: 0 auto;}
footer .footerfamily .familywrap ul li {padding: 10px;}
footer .footerfamily .familywrap ul li a {display:block; height:34px; line-height:34px; padding:0 7px; font-size:15px; color:#999;}
footer .footerfamily .familyLH {line-height: 17px !important;}
footer .footerfamily .familywrap ul li a:hover {color: #555; font-weight: bold;}
.footerfamily .familywrap.on > span:before,
.footerfamily .familywrap.on > span:after {transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg); }
footer .footerfamily .familywrap ul {display: none; width: 100%; max-width: 210px; height: auto; border: 1px solid #E1E1E1; border-radius: 5px; background-color: #fff; bottom: 46px; margin: 0 auto;}


@media all and (min-width: 480px) {

header button {left: 92%;}
footer .footerWrap {width: 90%;}
footer .footerleft {width: 50%;}
footer .footerfamily .familywrap {height: 0; bottom: 0;}
footer .footerfamily {width: 50%; margin: 40px 0;}
footer .footerleft p {font-size: 12px; float: left; padding: 40px 0;}
footer .footerfamily > span {float: right;}
footer .footerfamily ul {display: none; position: absolute; bottom: 46px; right: 0; width: 100%; max-width: 210px; height: auto; border: 1px solid #E1E1E1; border-radius: 5px; background-color: #fff; z-index: 10;}
}

@media all and (min-width:768px) {
header {width: 100%; height: 45px; border-bottom: 1px solid #ccc; position: relative;}
header .headerlogo a {width: 55%; height: 25px; background-image: url(../_img/heardlogo.svg); object-fit: contain; background-repeat: no-repeat;}
header .hwrap {width: 100%; padding-top: 15px;}
header .hwrap h1 {float: left;}
header .hwrap h1 a img {width: 151px; height: 15px; margin-bottom: 6px; margin-left: 15px;}
header button {left: 95%;}
header .hwrap nav {display: none; background-color: #002855; float: right; width: 100%; height: 214px; position: absolute;}
header .hwrap nav img {float:right; padding: 15px 15px 0 15px;}
header .hwrap nav ul {padding: 10px 15px 0 15px; clear: both;}
header .hwrap nav ul li {font-size: 20px; margin-bottom: 10px;}
header .hwrap nav ul li a {color: #fff;}
footer .footerleft p {text-align: left; }
footer .footerWrap {width: 90%;}
}

@media all and (min-width:1080px) {
	header {width: 100%; height: 90px; }
	header .headerlogo {float:left;width:50%;max-width:270px;padding: 0;}
	header .headerlogo a {width: 100%; max-width: unset; height: 92px; background-image: url(../_img/heardlogo.svg); object-fit: contain; background-repeat: no-repeat; background-position: center center; display: inherit;}
	header .hwrap {width: 100%; height: 90px; max-width: 1120px; margin: 0 auto; box-sizing: border-box;padding:0;}
	header button {display: none; float: right; position: absolute; top: 13px; left: 280px; border: none; background: #fff; clear: both;}

	header .hwrap nav {display: inline-block; float:right; background-color: transparent; position: static; width:70%; height: auto;}
	header .hwrap nav img {display: none; float:right; padding: 15px 15px 0 15px;}
	header .hwrap nav ul {float:right;width: 600px; height: 44px; padding: 0; background-color: #ededed; border-radius: 20px;margin-top:23px;}
	header .hwrap nav ul li {float: left; width:16.65%; margin:0;padding:0;}
	header .hwrap nav ul li a {color: #000; font-size: 16px;line-height: 44px;width:100%; text-align:center;
		background: linear-gradient(to left, #ededed 50%, #002855 50%);
		background-size: 205% 100%;
		background-position:right bottom;
		transition:all 0.0s ease;
		border-radius: 20px;
	}
	header .hwrap nav ul li a:hover{
		background-position:left bottom;
		color:#fff;
		border-bottom: 0;
	}
header.headerBgColor {background-color: #fff;}
.headerlogo a.headerLogoBgImg {background-image: url(../_img/heardlogo.svg) !important;}

footer {width: 100%; height: 110px; padding-bottom: 15px; background-color: #F4F4F4;}
footer .footerWrap {position: relative; width: 100%; max-width: 1120px; margin: 0 auto; box-sizing: border-box; color: #555;}
footer .footerleft {float: left; width: 50%;}
footer .footerleft p {font-size: 12px; text-align: left; padding: 40px 0;}
footer .footerfamily {float: right; width: 50%; position: relative;}
footer .footerfamily > span {display: block; width: 100%; max-width: 170px; height: 45px; line-height: 42px; padding: 0 20px; font-size: 13px; border: 1px solid #E1E1E1; border-radius: 5px; background-color: #fff; cursor: pointer;}
}