@charset "utf-8";
:root {
	--main: #087810;
  --bk: #212121;
	--gugi: 'gugi', 'Malgun Gothic', '맑은고딕', sans-serif;
}

::selection {
	color: #fff;
	background-color: #ff5a5f;
}

.fixed {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {
	padding-top: 7rem;
}

header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	display: flex;
	align-items: center;
	height: 7rem;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	background: #fff;
	border-bottom: 1px solid #e7e7e7;
	z-index: 999;
}

header h1 {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 0 2rem;
	height: 7rem;
}

header h1 a {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	padding-bottom: 1rem;
	font-family: var(--gugi);
	font-size: 2rem;
	font-weight: normal;
}

header h1 a::before {
	content: '';
	width: 3.2rem;
	height: 4rem;
	background: url(../../img/logo.svg) no-repeat 0 bottom / 100%;
}

#lnb {
	width: 100%;
}

#lnb>ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8rem;
	max-width: 1533px;
	width: 100%;
}

#lnb>ul>li>a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1.2rem;
	height: 7rem;
	font-size: 1.4rem;
	letter-spacing: 0.05rem;
	text-decoration: none;
}

#lnb>ul>li>a:hover {
	color: rgba(33, 33, 33, 0.5);
}

#lnb>ul>li.select>a {
	font-weight: 700;
	border-bottom: 2px solid var(--bk);
}

footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
	padding: 1.5rem;
}

footer .sns a {
	display: block;
	margin-bottom: 0.5rem;
	width: 2.1rem;
	height: 2.1rem;
	background: url(../../img/footer-insta.svg) no-repeat 0 0 / 100%;
	transition: .3s;
}

footer .sns a:hover {
	opacity: 0.6;
}

footer .logo,
footer .copy,
footer .link a {
	color: #3b3b3b;
	font-size: 1.2rem;
}

footer .link {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

footer .link li:nth-last-child(1) a {
	font-weight: 700;
}

footer .btm-pop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 5rem;
	z-index: 999;
	background-color: rgba(0, 0, 0, 0.5);
}

footer .on+.btm-pop {
	display: flex;
}

footer .btm-pop-box {
	text-align: left;
	padding: 2.4rem;
	max-width: 60rem;
	height: 100%;
	border-radius: 0.3rem;
	background: #fff;
	overflow-y: scroll;
}

footer .btm-pop-tit {
	display: flex;
	align-content: center;
	justify-content: space-between;
	padding-bottom: 2.4rem;
}

footer .btm-pop-tit .tit {
	font-size: 1.8rem;
	font-weight: 500;
}

footer .btm-pop-tit .close {
	flex: 0 0 auto;
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	background: url(../../img/close.svg) no-repeat 0 0 / 100%;
}

footer .btm-pop-con {
	padding-top: 2.4rem;
	padding-bottom: 2.4rem;
	font-size: 1.4rem;
	line-height: 1.6;
}

/*pc*/
@media screen and (min-width:1025px) {
	#lnb .mobile-menu {
		display: none;
	}

	#lnb .sub-menu {
		position: absolute;
		top: 100%;
		background: #fff;
		opacity: 0;
		min-width: 16rem;
		visibility: hidden;
		transition: .3s;
		z-index: 9999;
	}

	#lnb .open .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	#lnb .sub-menu>li>a {
		display: block;
		padding: 1rem 2rem;
		font-size: 1.3rem;
	}

	#lnb .sub-menu>li>a:hover {
		color: #fff;
		background: rgba(33, 33, 33, 0.89);
	}
}

/* mb */
@media screen and (max-width:1024px) {
	body {
		padding-top: 95px;
	}

	header {
		position: static;
		height: 0;
		border-bottom: none;
		--h: 49px;
	}

	header h1 {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		justify-content: center;
		width: 100%;
		height: var(--h);
		background: #fff;
		border-bottom: 1px solid #e7e7e7;
		z-index: 998;
	}
	
	#lnb .mobile-menu h2 a {
		position: fixed;
		left: 20px;
		top: 15px;
		display: block;
		width: 20px;
		height: 20px;
		background: url(../../img/menu.png) no-repeat center;
		z-index: 999;
	}
	
	#lnb .mobile-menu .search-btn a {
		position: fixed;
		right: 20px;
		top: 15px;
		display: block;
		width: 20px;
		height: 20px;
		background: url(../../img/search.png) no-repeat center;
		z-index: 999;
	}

	#lnb .mobile-menu .top_search {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		display: none;
		padding-top: 30%;
		width: 100%;
		height: 100vh;
		background: rgba(0,0,0,0.8);
		z-index: 999;
	}

	#lnb .mobile-menu .on .top_search {
		display: block;
	}
	
	#lnb .mobile-menu .top_search .search_form {
		position: relative;
		margin-left: 20px;
		margin-right: 20px;
		width: calc(100% - 40px);
	}
	
	#lnb .mobile-menu .top_search .search_form input[type=text] {
		padding: 8px 40px 8px 0;
		width: 100%;
		color: #fff;
		background: none;
		border: none;
		border-bottom: 1px solid #fff;
	}
	
	#lnb .mobile-menu .top_search .search_form input[type=submit] {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 30px;
		height: 30px;
		border: none;
		text-indent: -50000px;
		background: url(../../img/search_btn.png) no-repeat center;
	}
	
	#lnb .mobile-menu .top_search .close {
		position: absolute;
		right: 0;
		top: 0;
		width: 45px;
		height: 45px;
		background: url(../../img/close.png) no-repeat center;
	}
	
	#lnb .mobile-menu .nav {
		position: fixed;
		left: 0;
		top: 0;
		display: none;
		width: 100%;
		height: 100%;
		z-index: 9999;
		background: rgba(0,0,0,0.8);
	}
	
	#lnb .mobile-menu .nav.on {
		display: block;
	}
	
	#lnb .mobile-menu .nav>ul {
		width: 300px;
		height: 100%;
		padding-bottom: 20px;
		background: #fff;
		overflow-y: auto;
	}
	
	#lnb .mobile-menu .nav>ul>li {
		border-bottom: 1px solid #f3f3f3;
	}

	#lnb .mobile-menu .nav>ul>li>a {
		position: relative;
		display: block;
		color: rgba(33, 33, 33, 0.89);
		padding: 13px 50px 14px 20px;
		font-size: 14px;
	}

	#lnb .mobile-menu .nav>ul>li>a::before {
		content: '';
		position: absolute;
		right: 20px;
		top: 20px;
		width: 11px;
		height: 6px;
		background: url(../../img/mobile-menu.png) no-repeat;
		transform: rotate(180deg);
	}
	
	#lnb .mobile-menu .nav>ul>li.on>a::before,
	#lnb .mobile-menu .nav>ul>li.select>a::before {
		transform: rotate(0);
	}

	#lnb .mobile-menu .nav>ul .sub-menu {
		display: none;
		margin-bottom: 14px;
	}
	
	#lnb .mobile-menu .nav>ul .select .sub-menu {
		display: block;
	}
	
	#lnb .mobile-menu .nav>ul .sub-menu a {
		display: block;
		padding: 8px 30px;
		color: rgba(33, 33, 33, 0.89);
		font-size: 13px;
	}
	
	#lnb .mobile-menu .nav>ul .sub-menu .select a {
		background: #f5f5f5;
	}
	
	#lnb .mobile-menu .nav .close {
		position: absolute;
		left: 300px;
		top: 0;
		width: 45px;
		height: 45px;
		background: url(../../img/close.png) no-repeat center;
	}

	#lnb>ul {
		position: absolute;
		left: 0;
		right: 0;
		justify-content: flex-start;
		padding-left: 2rem;
		padding-right: 2rem;
		top: calc(var(--h) + 1px);
		height: 46px;
		background: #fff;
		overflow-y: hidden;
		overflow-x: auto;
	}

	#lnb>ul::-webkit-scrollbar {
		height: 5px;
	}
	
	#lnb>ul::-webkit-scrollbar-thumb {
		border-radius: .3rem;
		background: rgba(0, 0, 0, .3)
	}
	
	#lnb>ul>li {
		flex: 0 0 auto;
	}
	
	#lnb>ul>li .sub-menu {
		display: none;
	}
}

/* min-mb */
@media screen and (max-width:500px) {
}