@charset "utf-8";
@font-face {
    font-family:'SCDream';
    font-weight: 200;
    src: url('SCDream/SCDream2.woff') format('woff');
}
@font-face {
    font-family:'SCDream';
    font-weight: 300;
    src: url('SCDream/SCDream3.woff') format('woff');
}
@font-face {
    font-family:'SCDream';
    font-weight: normal;
    src: url('SCDream/SCDream4.woff') format('woff');
}
@font-face {
    font-family:'SCDream';
    font-weight: 500;
    src: url('SCDream/SCDream5.woff') format('woff');
}
@font-face {
    font-family:'SCDream';
    font-weight: 600;
    src: url('SCDream/SCDream6.woff') format('woff');
}
@font-face {
    font-family:'SCDream';
    font-weight: 800;
    src: url('SCDream/SCDream8.woff') format('woff');
}

@font-face {
	font-family: 'TTHakgyoansimMulgyeol';
	src: url('TTHakgyoansimMulgyeolB.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'TTHakgyoansimMulgyeol';
	src: url('TTHakgyoansimMulgyeolB.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
}

:root {
	--bg: linear-gradient(120deg, #FEB6DC 0%, #FFB562 100%);
	--green-bg: linear-gradient(90deg, #6FBA2C 0%, #00A385 100%);
	--deco-font: 'TTHakgyoansimMulgyeol', 'Malgun Gothic', '맑은고딕', sans-serif !important;
	--BG01: #FFC86B;
	--BG03: #00B663;
	--BG04: linear-gradient(120deg, #45B3FF 0%, #94E9FE 100%);
}

#skipnav {
	z-index: 9999;
}


*,html,body,div,object,iframe,h1,h2,h3,h4,h5,h6,p,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,canvas,details,figcaption,summary,time,mark,audio,video,input[type=text],input[type=password],textarea,select {
	font-family:'SCDream', 'Malgun Gothic', '맑은고딕', sans-serif;
}

header h1 a,
footer .btm-logo {
	display: inline-block;
	padding: 8px 0 8px 137px;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.96px;
	background-repeat: no-repeat;
	background-size: 127px;
}

header {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 999;
}

header.white {
	background: #fff;
}

header .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 26px 0px;
	margin: 0 auto;
	max-width: 1600px;
}

header h1 a {
	color: #111;
	background-image: url(../img/logo.svg);
}

#lnb>ul {
	display: flex;
	justify-content: space-between;
	gap: 59px;
}

#lnb>ul>li {
	position: relative;
}

#lnb>ul>li::before {
	content: '';
	position: absolute;
	left: calc(-59px / 2);
	top: calc(50% - 2px);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #444;
}

#lnb>ul>li:first-child:before {
	display: none;
}

#lnb>ul>li>a {
	position: relative;
	display: inline-block;
	color: #111;
	font-size: 21px;
	font-weight: 500;
	letter-spacing: -0.42px;
	text-decoration: none;
	z-index: 1;
}

#lnb>ul>li>a::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 8px;
	margin: 0 auto;
	width: 0;
	opacity: 0;
	background: var(--bg);
	transition: .3s;
	z-index: -1;
}

#lnb>ul>li.select>a::before,
#lnb>ul>li>a:hover:before {
	left: -8px;
	right: -8px;
	width: calc(100% + 16px);
	opacity: 1;
}

#lnb .sub-menu {
	display: flex;
	flex-direction: column;		
	align-items: center;
	gap: 16px;
}

#lnb .sub-menu>li>a {
	color: #666;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.34px;
}

#lnb .sub-menu>li.select>a,
#lnb .sub-menu>li>a:hover {
	color: #E15F53;
	text-decoration-line: underline;
}

#gnb {
	display: flex;
	align-items: center;
}

#gnb a {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.56px;
}

#gnb .login,
#gnb .logout {
	padding-left: 27px;
	color: #444;
	margin-right: 16px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 23px;
}

#gnb .login {
	background-image: url(../img/login.svg);
}

#gnb .logout {
	background-image: url(../img/logout.svg);
}

#gnb .main,
#gnb .panel {
	padding: 6px 20px 6px 20px;
	border-radius: 100px;
}

#gnb .main {
	color: #666;
	margin-right: 4px;
	background: #E8E8E8;
}

#gnb .panel {
	color: #FFF;
	font-weight: 600;
	background: var(--green-bg);
}

footer .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	width: 100%;
	margin: 0 auto;
	max-width: 1600px;
	box-sizing: border-box;
}

footer .btm-logo {
	flex: 0 0 auto;
	color: #999;
	background-image: url(../img/btm-logo.svg);
}

footer .btm-copy {
	text-align: center;
	color: #666;
	font-size: 17px;
	font-weight: 500;
}

footer .personal a {
	flex: 0 0 auto;
	display: block;
	padding: 17px 33px;
	color: #7E8CB4;
	font-size: 17px;
	font-weight: 500;
	border-radius: 12px;
	background: #F0F4FF;
}

/*** pc ***/
@media all and (min-width:801px) {
  body.bg::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.70);
		z-index: 1;
  }
	
	header {
		height: 97px;
	}

	body.bg header::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 314px;
		width: 100%;
		background: #fff;
		z-index: -1;
	}
	
	body.bg header::before {
		content: '';
		position: absolute;
		top: 97px;
		left: 0;
		right: 0;
		height: 1px;
		width: 100%;
		background: #eee;
	}

	#lnb h2 {
		display: none;
	}	
	
	#lnb>ul>li:nth-child(2),
	#lnb>ul>li:nth-last-child(1) {
		text-align: center;
		min-width: 110px;
	}

	#lnb .sub-menu {
		top: 97px;
		left: 0;
		text-align: center;
		width: 100%;
		height:0;
		opacity:0;
		transition:.3s;
		overflow: hidden;
	}

	body.bg #lnb .sub-menu {
		position: absolute;
		height: 100%;
		opacity: 1;
		overflow: visible;
	}

	footer {
		padding: 62px 20px;
	}
}

@media screen and (min-width:801px) and (max-width:1399px) {	
	header {
		height: 180px;
	}

	header .wrap {
		position: relative;
		padding: 20px 40px 0 40px;
	}

	body.bg header::before {
		display: none;
	}

	#lnb {
		position: absolute;
		left: 40px;
		right: 40px;
		top: 85px;
		padding: 26px 0px 24px 0px;
		border-radius: 10px;
		background: #F5F5F5;
	}

	#lnb>ul {
		justify-content: center;
	}

	#lnb .sub-menu {
		top: 75px;
	}

	footer {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

/*** mobile ***/
@media screen and (max-width:800px) {
	.fixed {
		position: fixed !important;
		width: 100% !important;
		overflow: hidden !important;
	}

	header h1 a,
	footer .btm-logo {
		padding: 6.5px 0 6.5px 108px;
		font-size: 19px;
		letter-spacing: -0.78px;
		background-size: 100px;
	}

	header {
		height: 140px;
	}

	.fixed header {
		background: #fff;
	}

	header .wrap {
		padding: 20px 20px 0 20px;
	}

	#lnb h2>a {
		position: relative;
		display: block;
		width: 40px;
		height: 40px;
		font-size: 0;
		text-indent: -5000px;
		background: url(../img/lnb.svg) no-repeat 0 0;
	}

	#lnb h2>a.close {
		background-position: -40px 0;
	}

	#gnb {
		position: absolute;
		top: 68px;
		left: 16px;
		right: 16px;
		justify-content: center;
		padding: 8px 0;
		border-radius: 12px;
		background: #F5F5F5;
	}

	#lnb>ul {
		display: none;
		flex-direction: column;
	}

	.fixed #lnb>ul {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		top: 140px;
		padding-left: 20px;
		padding-right: 20px;
		height: calc(100% - 140px);
		background: #fff;
		overflow-y: auto;
	}

	#lnb>ul>li {
		text-align: center;
		padding: 20px 0px;
		border-top: 1px dashed #CCC;
	}
	
	#lnb>ul>li:first-child {
		border-top: none;
	}
	
	#lnb .sub-menu {
		margin-top: 20px;
		gap: 10px;
	}
	
	footer {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	footer .wrap {
		padding-left: 20px;
		padding-right: 20px;
		flex-direction: column;
	}

	footer .btm-copy,
	footer .personal a {
		font-size: 15px;
	}
}