@charset "utf-8";
@import url('Sebang/Sebang.css');

:root {
	--green: #00A846;
	--dark-green: #26653A;
	--light-green: #E6F0B3;
	--gray: #666;
	--light-gray: #EEEEF2;
	--green-gray: #3C4B41;
}

html, body, div, p, dl, dt, dd, ol, ul, li, label, legend, table, input, button, select, textarea, a:active, a:hover {
	color: #222;
	font-family: 'Sebang', 'Malgun Gothic', '맑은고딕', sans-serif;
	font-size: 16px;
	letter-spacing: 0.64px;
}

.point-leaf {
	margin: 0;
}

.point-leaf::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 12px;
	height: 11px;
	background: url(../img/point-leaf.svg) no-repeat left center;
}

.wrap {
	margin: 0 auto;
	width: 100%;
}

header {
	position: relative;
	z-index: 9;
}

#gnb {
	position: relative;
	display: flex;
	gap: 24px;
	padding-top: 14.5px;
	padding-bottom: 14.5px;
	height: 48px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.40);
	z-index: 1;
}

#gnb>li>a {
	position: relative;
	color: #fff;
}

#gnb>li>a.toggleS::after {
	content: '';
	position: absolute;
	right: -17px;
	top: 4px;
	width: 13px;
	height: 12px;
	background: url(../img/family-arr.svg) no-repeat;
	transition: .3s;
}

#gnb>li>a.toggleS.on::after {
	transform: rotate(180deg);
}

#gnb .family {
	display: none;
	margin-top: 10px;
	padding: 21px 17px;
	border-radius: 8px;
	background: #fff;
}

#gnb .family a {
	color: #000;
	line-height: 28px;
}

#lnb {
	position: relative;	
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 80px;
	padding-right: 80px;
	height: 100px;
}

#lnb h1 a {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	color: #fff;
	font-size: 30px;
	font-weight: normal;
	line-height: 30px;
	letter-spacing: 1.2px;
	text-decoration: none;
}

#lnb h1 a span {
	position: relative;
	font-size: 0;
	text-indent: -5000px;
	width: 129px;
	height: 46px;
	background: url(../img/main/logo.svg) no-repeat left center;
}

#lnb h1 a .point-leaf::after {
	top: 3px;
	right: -2px;
	animation: point-leaf 3s;
}

#lnb h2 {
	position: absolute;
	right: 80px;
	top: calc(50% - 20px);
	display: block;
}

#lnb h2 a {
	position: relative;
	margin: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #fff;
}

#lnb h2 a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 24px;
	height: 24px;
	background: url(../img/lnb-menu.svg) no-repeat 0 0;
}

#lnb h2.close a::after {
	background-position: -24px 0;
}

#lnb .login {
	display: flex;
	gap: 5px;
	margin-right: 45px;
}

#lnb .login>a {
	position: relative;
	margin: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--dark-green);
}

#lnb .login>a::after{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 25px;
	height: 25px;
	background: url(../img/login.svg) no-repeat 0 0;
}

#lnb .login .logout::after{
	background-position: -25px 0;
}
	
header.on #lnb .login>a,
body.fix #lnb .login>a {
	background-color: var(--green);
}

@keyframes point-leaf {
	0% {
		transform: translate(-50px, 0) rotate(90deg);
		opacity: 0;
	}
	100% {
		transform: translate(0, 0) rotate(0deg);
		opacity: 1;
	}
}

#lnb>nav>ul>li>a {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.8px;
}

#lnb .sub-menu {
	position: absolute;
}

#lnb .sub-menu {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 15px;
}

#lnb .sub-menu a {
	position: relative;
	color: #fff;
}

footer {
	padding-top: 60px;
	padding-bottom: 60px;
	background: var(--green-gray);
}

footer .footer-link {
	display: flex;
	gap: 33px;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

footer .footer-link li {
	position: relative;
}

footer .footer-link li::after {
	content: '';
	position: absolute;
	left: -16px;
	top: calc(50% - 9px / 2);
	width: 1px;
	height: 9px;
	background: rgba(255, 255, 255, 0.40);
}

footer .footer-link li:first-child::after {
	display: none;
}

footer .footer-link a {
	color: #fff;
}

footer .footer-copy {
	position: relative;
}

footer .footer-copy address,
footer .footer-copy address>span,
footer .footer-copy p {
	color: #fff;
	font-size: 14px;
	line-height: 160%;
	letter-spacing: 0.56px;
}

footer .footer-copy address>span {
	position: relative;
	display: inline-block;
	margin-left: 33px;
}

footer .footer-copy address>span::after {
	content: '';
	position: absolute;
	left: -16px;
	top: calc(50% - 9px / 2);
	width: 1px;
	height: 9px;
	background: rgba(255, 255, 255, 0.40);
}

footer .footer-copy p {
	margin-top: 12px;
}

footer .footer-family {
	position: absolute;
	right: 0;
	bottom: 0;
}

footer .footer-family a{
	color: #222;
	font-size: 14px;
	line-height: 160%;
	letter-spacing: 0.56px;
}

footer .footer-family>a {
	position: relative;
	display: block;
	padding: 18px 23px;
	height: 58px;
	border-radius: 12px;
	background: #fff;
}


footer .footer-family>a>span {
	position: relative;
	display: inline-block;
	padding-right: 24px;
}

footer .footer-family>a>span::after {
	content: '';
	position: absolute;
	right: 0;
	top: calc(50% - 14px / 2);
	width: 14px;
	height: 14px;
	background: url(../img/footer-family.svg) no-repeat center;
}

footer .footer-family>a.on>span::after {
	transform: rotate(180deg);
}

footer .footer-family>ul {
	display: none;
	position: absolute;
	right: 0;
	bottom: 58px;
	width: 100%;
	padding: 18px;
	border-radius: 12px;
	background: #fff;
}

/* pc */
@media screen and (min-width:1025px) {
	.dp_mb {
		display: none !important;
	}

	header::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 0;
		width: 100%;
		background: rgba(24, 78, 40, 0.8);
		backdrop-filter: blur(6px);
		transition: .2s;
		z-index: -1;
	}

	header.on::after {
		height: 450px;
	}

	#gnb {
		padding-left: 80px;
		padding-right: 80px;
	}

	#lnb>nav>ul {
		display: flex;
		justify-content: center;
		gap: 20px;
	}
	
	#lnb>nav>ul>li {
		position: relative;
		text-align: center;
		width: 150px;
	}

	#lnb .sub-menu {
		top: 70px;
		left: 0;
		text-align: center;
		width: 100%;
		height:0;
		opacity:0;
		transition:.3s;
		overflow: hidden;
	}
	
	#lnb .sub-menu.on {
		height: 100%;
		opacity: 1;
		overflow: visible;
	}

	#lnb .sub-menu a:hover,
	#lnb .sub-menu .select a {
		font-weight: 800;
	}

	#lnb .sub-menu .select a::after {
		content: '';
		position: absolute;
		top: -3px;
		right: -7px;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background-color: #fff;
	}
}

/* min-pc */
@media screen and (max-width:1350px) {
	#lnb {
		flex-direction: column;
		gap: 20px;
		padding-top: 10px;
	}

	#lnb .login {
		position: absolute;
		right: 85px;
		top: 30px;
	}	
}

/* mb */
@media screen and (max-width:1024px) {
	body.fix {
		position: fixed;
		overflow: hidden;
	}

	body.fix header {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: #184E28 url(../img/lnb-mb-bg.svg) no-repeat right bottom;
	}

	.point-leaf::after {
		width: 6px;
		height: 7px;
		background: url(../img/point-leaf-mb.svg) no-repeat;
	}

	#gnb {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#lnb {
		position: static;
		flex-direction: row;
		padding-top: 0;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#lnb h1 a span.point-leaf::after {
		right: 0;
	}

	body.fix #lnb h1 a span.point-leaf::after {
		background-position: -6px 0;
	}

	#lnb .login {
		position: static;
	}

	#lnb h2 {
		right: 20px;
		top: 77px;
	}

	#lnb>nav>ul {
		display: none;
		position: absolute;
		left: 0;
		top: 148px;
		flex-direction: column;
		padding: 20px;
		width: 100%;
		height: 100%;		
		border-top: 1px solid #144322;
		overflow-y: scroll;
	}

	body.fix #lnb>nav>ul {
		display: flex;
	}

	#lnb>nav>ul>li {		
		text-align: center;
	}

	#lnb>nav>ul>li>a {
		display: block;
		padding: 24px 0px;
		width: 120px;
		font-size: 17px;
		font-weight: normal;
		border-radius: 8px;
	}
	
	#lnb>nav>ul>li.select>a {
		background: var(--green);
	}

	#lnb .sub-menu {
		position: absolute;
		left: 160px;
		top: 0;
		display: none;
		align-items: flex-start;
		text-align: left;
		gap: 0;
		padding: 20px;
		width: calc(100% - 160px);
		height: 100%;
		border-left: 1px solid #144322;
	}

	#lnb .select .sub-menu {
		display: flex;
	}

	#lnb .sub-menu a{
		position: relative;
		display: block;
		padding: 10px 14px;
		font-weight: normal;
		word-break: keep-all;
	}

	#lnb .sub-menu .select a {		
		color: var(--green);
	}

	#lnb .sub-menu a::after {
		content: '';
		position: absolute;
		left: 0;
		top: 15px;
		width: 7px;
		height: 8px;
		background: url(../img/point-leaf-mb.svg) no-repeat -7px 0 / auto 8px;
	}
	
	#lnb .sub-menu .select a::after {
		background-position: 0 0;
	}
	
	footer {
		padding-left: 40px;
		padding-right: 40px;
	}

	footer .footer-link {
		justify-content: center;
	}

	footer .footer-copy {
		text-align: center;
		padding-bottom: 82px;
	}
	
	footer .footer-family {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
	}
}

/* min-mb */
@media screen and (max-width:800px) {
	html, body, div, p, dl, dt, dd, ol, ul, li, label, legend, table, input, button, select, textarea, a:active, a:hover {
		font-size: 14px;
	}

	#gnb {
		display: none;
	}

	#lnb {
		position: static;
		height: 80px;
		box-sizing: border-box;
	}

	#lnb h1 a {
		gap: 0;
		font-size: 19px;
		line-height: 19px;
	}
	
	#lnb h1 a span {
		width: 87px;
		height: 30px;
		background-size: 84px;
	}

	#lnb h2 {
		top: 20px;
	}
	
	#lnb>nav>ul {
		top: 80px;
	}

	footer {
		padding: 36px 20px;
	}

	footer .footer-link a,
	footer .footer-copy address,
	footer .footer-copy address>span, 
	footer .footer-copy p {
		font-size: 13px;
	}

	footer .footer-link {
		gap: 16px;
	}
	
	footer .footer-link li::after {
		display: none;
	}

	footer .footer-copy address>span {
		display: block;
		margin-left: 0;
		margin-top: 8px;
	}

	footer .footer-copy address>span::after {
		display: none;
	}

	footer .footer-copy>p {
		display: flex;
		justify-content: space-between;
		margin-top: 32px;
	}

	footer .footer-family>a {
		padding-top: 10px;
		padding-bottom: 10px;
		height: 42px;
	}
}