@charset "utf-8";
:root {
	--main: #3A67EA;
	--sub: #00A200;
  --bk: #23323C;
	--navy: #112637;
	--gra: linear-gradient(90deg, #3A67EA 0%, #00E3D7 100%);
	--b-gray: #E0E3E5;
  --con-ic: url(../../img/con-ic.svg) no-repeat 0 0 / 12.6rem;
  --more-ic: url(../../img/more-ic.svg) no-repeat 0 0 / 2.1rem;
}

.wrap {
  max-width: 1500px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

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

header .wrap {
	--h: 12rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--h);
}

header h1 a {
	display: block;
	line-height: 0;
}

/* 텍스트로 했으나 18px일시 폰트가 깨져서 읽히지 않음 - 이미지로 변경
header h1 a {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-family: 'ria';
	font-weight: 800;
	line-height: normal;
}

header h1 a i::before {
	content: '';
	width: 35px;
	height: 24px;
	background: url(../../img/logo.svg) no-repeat 0 0 / 100%;
}

header h1 a i {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 18px;
	font-style: normal;
}

header h1 a span {
	font-size: 37px;
	line-height: 37px;
	letter-spacing: -0.37px;
	background: var(--gra);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
} */

#lnb>ul>li>a {
	color: var(--navy);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: normal;
}

#lnb>ul>li:hover>a span,
#lnb>ul>li.select>a span {
	position: relative;
	background: var(--gra);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

#lnb>ul>li:hover>a span::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--main);
}
	
#lnb .sub-menu a {
	color: var(--navy);
	font-size: 1.7rem;
	font-weight: 500;
	line-height: normal;
}

#lnb .sub-menu a:hover,
#lnb .sub-menu .select a {
	color: var(--main);
	text-decoration: underline;
}

footer {
	padding: 8rem 0;
	border-radius: 24rem 24rem 0 0;
	background: #4F5C82;
}

footer .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	word-break: keep-all;
}

footer .wrap .btm-con {
	display: flex;
	flex-direction: column;
	gap: 1.6rem;
}

footer .wrap .btm-con address {
	color: #FFF;
	line-height: 2.8rem; 
}

footer .wrap .btm-con .copy {
	color: #A6AFC9;
	font-size: 1.5rem;
	font-weight: 500;
	text-transform: lowercase;
}

footer #btm-top {
	display: flex;
	padding: 0.9rem 2.4rem 0.8rem 2.8rem;
	align-items: center;
	gap: 0.6rem;
	color: #FFF;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 2.8rem;
	border-radius: 4.4rem;
	background: #384363;
}

footer #btm-top::after {
	content: '';
	width: 2rem;
	height: 2rem;
	background: url(../../img/btm-top.svg) no-repeat 0 0 / 100%;
}

/*pc*/
@media screen and (min-width:1025px) {
	header.lnb-on::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		margin: auto;
		width: 100%;
		height: 36rem;
		background: #fff;
		z-index: -1;
}
	#lnb {
		max-width: 79.8rem;
		width: 100%;
		height: 100%;
	}

	#lnb h2 {
		display: none;
	}

	#lnb>ul {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 100%;
	}	

	#lnb>ul>li {
		display: flex;
		align-items: center;
		height: 100%;
	}

	#lnb .sub-menu {
    position: absolute;
		top: var(--h);
		display: none;
    flex-direction: column;
    gap: 1rem;
  }
  
  .lnb-on #lnb .sub-menu {
    display: flex;
  }

	header .gnb a {
		color: #7B7B7B;
		font-size: 1.5rem;
		font-weight: 500;
		line-height: normal;
	}

	footer br {
		display: none;
	}
}

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

	.fixed header {
		background: #fff;
	}

	header .wrap {
		--h: 80px;
	}

	header h1 a {
		font-size: 20px;
		width: 70%;
	}

	#lnb h2 a {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		width: 72px;
		height: 80px;
		--bg: url(../../img/mb-menu.svg) no-repeat 0 0 / 3.9rem;
	}
	
	#lnb h2 a::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		width: 2rem;
		height: 1.4rem;
		background: var(--bg);
	}

	.fixed #lnb h2 a::after {
		background-position: -2.5rem 0;
	}
	
	#lnb>ul {
		position: fixed;
		left: 0;
		top: var(--h);
		display: none;
		flex-direction: column;
		width: 100%;
		height: calc(100% - var(--h) - 60px);
		background: #fff;
		z-index: 999;
		overflow-y: auto;
	}

	.fixed #lnb>ul {
		display: flex;
	}
	
	#lnb>ul>li {
		display: flex;
		align-items: flex-start;
		padding: 24px;
		gap: 32px;
		border-top: 1px solid #E2E2E2;
	}

	#lnb>ul>li>a {
		width: 94px;
	}

	#lnb .sub-menu {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	header .gnb a {
		position: fixed;
		left: 0;
		bottom: 0;
		display: none;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 60px;
		color: #7B7B7B;
		font-size: 15px;
		font-weight: 500;
		line-height: normal;
		background: #EDEDEF;
	}

	.fixed header .gnb a {
		display: flex;
	}
	
	footer {
		border-radius: 0;
	}
}

/* min-mb */
@media screen and (max-width:500px) {
	footer {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	footer .wrap {
		flex-direction: column-reverse;
		gap: 2rem;
	}

	footer #btm-top {
		justify-content: center;
		width: 100%;
	}
}