@charset "utf-8";

/* 헤더 레이아웃 */
header {
	border-bottom: 1px solid #b1b1b1;
	padding: 10px;
	font-size: 0;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	text-align: center;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(43, 44, 44, 0.17);
	background-color: rgba(255, 255, 255, 0.9);

}

header h1 {
	float: left;
}

header .menu {
	float: right;
	margin-top: 7px;
	cursor: pointer;
}

.width {
	max-width: 1400px;
	margin: 0 auto;
}

header .gnb {
	margin-left: -225px;
	height: 44px;
	line-height: 44px;
	display: inline-block;
}

.gnb li {
	display: inline-block;
	font-size: 18px;
	vertical-align: top;
}

.gnb a {
	padding: 3px;
	display: inline-block;
	letter-spacing: 1.8px;
}

.gnb > ul > li {
	width: 120px;
	text-align: center;
	margin: 0 15px;
	height: 60px;
}

.gnb .sub-nav {
	position: absolute;
	width: 100%;
	background-color: #efefef;
	left: 0;
	top: 65px;
	display: none;
}

.gnb .sub-nav li {
	font-size: 14px;
	margin: 0 8px;
	color: #505050;
}

.gnb > ul > li > a {
	position: relative;
}

.gnb > ul > li > a::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background-color: #0b2979;
	overflow: hidden;
	transition: width 0.3s;
	position: absolute;
	left: 50%;
	bottom: 5px;
	transform: translateX(-50%);
}

.gnb > ul > li:hover {
	color: #0b2979;
}

.gnb > ul > li:hover a::after {
	width: 120%;
}

.gnb .sub-nav a:hover {
	color: #0b2979;
	font-weight: 500;
}

.mobile {
	background-color: #efefef;
	position: fixed;
	height: calc(100% - 60px);
	width: 100%;
	left: 0;
	top: 65px;
	padding-top: 50px;
	display: none;
	z-index: 10000;
}

.mobile ul {
	max-width: 980px;
	padding: 10px;
	margin: 0 auto;
}

.mobile ul > li {
	font-size: 20px;
	display: inline-block;
	vertical-align: top;
	width: calc(100% / 3);
	text-align: center;
}

.mobile ul > li > a::after {
	content: '';
	display: block;
	width: 120px;
	height: 4px;
	background-color: #0b2979;
	margin: 4px auto 0;
	border-radius: 10px;
}

.mobile .sub-nav li {
	font-size: 15px;
	margin: 0 12px;
	margin: 20px 0;
	color: #505050;
}

.mobile .sub-nav li:hover {
	text-decoration: underline;
	color: #0b2979;
	font-weight: 500;
}

.mobile a {
	padding: 3px;
	display: block;
}


/* 햄버거 */

.menu span {
	width: 42px;
	height: 2px;
	background-color: #2b2c2c;
	border-radius: 10px;
	display: block;
	transition: all 0.3s;
}

.menu .bar2 {
	margin: 8px 0;
}

.on .bar2 {
	opacity: 0;
}

.on .bar1 {
	transform: rotate(40deg) translate(5px, 9px)
}

.on .bar3 {
	transform: rotate(-40deg) translate(5px, -9px)
}


/* 푸터 */
footer {
	width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	border-top: 1px solid #b1b1b1;
	padding: 10px;
	font-size: 0;
	margin-top: 50px;
}

.foot-wrap {
	max-width: 1200px;
	margin: 35px auto;
	color: #888;
	line-height: 2
}

.foot-wrap b {
	font-weight: normal;
}

.foot-wrap li {
	font-size: 12px;
	display: inline-block;
	white-space: nowrap
}

.foot-wrap p {
	font-size: 11px;
}

.foot-wrap li span {
	display: block;
}

.foot-wrap li:first-child {
	display: block;
}

.foot-wrap li:nth-child(2)::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 11px;
	background-color: #777;
	vertical-align: middle;
	margin: 0 15px 2px 16px;
}

@media screen and (max-width:1024px) {
	header .gnb {
		display: none;
	}
	header .gnb {
		margin-left: 15px;
	}

	header {
		text-align: left;
	}
}

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


	header h1 img {
		height: 25px;
	}

	header .menu {
		margin-top: 2px;
	}

	.menu span {
		width: 38px;
		height: 3px;
		background-color: #0f1010;
		border-radius: 10px;
		display: block;
		transition: rotate 0.3s translateY 0.4s;
	}

	.menu .bar2 {
		margin: 6px 0;
	}

	.on .bar1 {
		transform: rotate(40deg) translate(5px, 8px)
	}

	.on .bar3 {
		transform: rotate(-40deg) translate(5px, -8px)
	}

	.mobile {
		height: calc(100% - 40px);
		top: 46px;
		padding-top: 20px;
	}

	.mobile ul > li {
		font-size: 18px;
		display: block;
		width: 100%;
		text-align: left;
		padding: 0 25px;
		margin-bottom: 16px
	}

	.mobile ul > li > a {
		padding-bottom: 6px;
	}

	.mobile ul > li > a::after {
		display: none;
	}

	.mobile ul > li > a::before {
		content: '';
		display: inline-block;
		width: 3px;
		height: 18px;
		background-color: #0b2979;
		margin-right: 8px;
		border-radius: 10px;
		vertical-align: top;
	}

	.mobile .sub-nav li {
		margin: 10px;
		font-size: 14px;
		text-indent: 4px;
	}

	.foot-wrap b {
		display: block;
	}
}
