@charset "utf-8";
:root {
	--main: #4262E4;
	--bk: #222;
	--symbol: url(/share/images/ay/symbol.svg) no-repeat 0 0 / 50rem;
	--menu: url(/share/images/ay/menu.svg) no-repeat 0 0 / 11.2rem;
	--noto: 'Noto Sans KR', 'Pretendard', 'Malgun Gothic', '맑은고딕', sans-serif;
	--makgeolli: 'Makgeolli', 'Pretendard', 'Malgun Gothic', '맑은고딕', sans-serif;
	--header: 9.7rem;
}

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

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

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

header h1 {
	flex: 0 0 auto;
}

header h1 a,
#allmenu .logo {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #344655;
	font-family: var(--noto);
	font-size: 2.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

header h1 a::before,
#allmenu .logo::before {
	content: '';
	width: 4.9rem;
	height: 5.7rem;
	background: url(/share/images/ay/logo.png) no-repeat 0 0 / 100%;
}

header .lnb-box,
#lnb .menu {
	display: flex;
}

#lnb .menu>li>a {
	font-size: 2rem;
	font-family: var(--noto);
	font-weight: 500;
	letter-spacing: -0.02em;
}

#allmenu>h2>a,
#allmenu .con-box .close,
#lnb>h2>a {
	width: 5.6rem;
	height: 5.6rem;
	border-radius: 50%;
	background: var(--menu), linear-gradient(90deg, #0767B1 0%, #3317AD 100%);
}

#allmenu .con-box .close,
.fixed #lnb>h2>a {
	background: var(--menu), linear-gradient(90deg, #0767B1 0%, #3317AD 100%);
	background-position: -5.6rem 0, 0 0;
	z-index: 1;
}

#gnb {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	margin-right: 1.8rem;
}

#gnb .mypage {
	display: none;
}

#gnb a {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	color: #555;
	font-family: var(--noto);
	font-weight: 500;
	letter-spacing: -0.02em;
}	

footer {
	border-top: 1px solid #AEBDC8;
	background: #424242;
}

footer .wrap {
	display: flex;
	flex-direction: column;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

footer .top-con {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

footer .link {
	display: flex;
	justify-content: space-between;
	gap: 2.6rem;
}

footer .privacy {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

footer .privacy a {
	display: block;
	color: #FFF;
	font-family: var(--noto);
	font-size: 1.5rem;
	line-height: 180%;
}

footer .privacy>li:first-child a {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	color: #FFE863;
	font-weight: 700;
}

footer .privacy>li:first-child a::after {
	content: '';
	width: 0.4rem;
	height: 0.4rem;
	background: rgba(255, 255, 255, 0.50);
}

footer .family {
	flex: 0 0 auto;
	display: flex;
	gap: 0.8rem;
}

footer .family a {
	display: flex;
	align-items: center;
	padding: 0 1.4rem;
	height: 2.7rem;
	color: #FFF;
	font-family: var(--noto);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 180%;
	border-radius: 4rem;
	background: rgba(255, 255, 255, 0.15);
}

footer .addr {
	display: flex;
	align-items: center;
	gap: 2.6rem;
}

footer .addr address,
footer .addr p {
	color: #FFF;
	font-family: var(--noto);
	font-size: 1.5rem;
	line-height: 180%;
}

footer .addr address span,
footer .addr p span {
	font-weight: 700;
}

footer .copy {
	color: rgba(255, 255, 255, 0.80);
	font-family: var(--noto);
	font-size: 1.4rem;
	line-height: 180%;
}

/*pc*/
@media screen and (min-width:801px) {
	header .lnb-box {
		display: flex;
		align-items: center;
		height: 100%;
	}

	#lnb h2 {
		display: none;
	}
	
	#lnb .menu {
		display: flex;
		align-items: center;
		gap: 4rem;
		height: 100%;
	}

	#lnb .menu>li {
		position: relative;
		display: flex;
		align-items: center;
		height: 100%;
	}

	#lnb .menu a {
		display: block;
	}

	#lnb .menu>li:hover>a,
	#lnb .menu>li.select>a {
		color: var(--main);
		font-weight: 900;
	}

	#lnb .sub-menu {
		display: none !important;
	}	

	#gnb a::before {
		content: '';
		width: 0.1rem;
		height: 1.3rem;
		background: #A8A8A8;
	}

	#allmenu {
		position: relative;
		z-index: 99999;
	}

	#allmenu>h2>a {
		display: block;
	}

	#allmenu .all-box {
		position: fixed;
		left: 0;
		top: 0;
		display: none;
		width: 100%;
		height: 100%;
		z-index: 9999;
	}

	#allmenu .all-box::before {
		content: '';
		position: fixed;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.70);
		z-index: -1;
	}
	
	.allmenu-on {
		position: fixed;
		overflow: hidden;
	}

	.allmenu-on #container {
		position: fixed;
		width: 100%;
		height: 100%;
	}

	.allmenu-on #allmenu .all-box {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	#allmenu .mid-box {
		padding: 5rem;
		width: 100%;
		height: 100%;
		overflow: auto;
	}
	
	#allmenu .con-box {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2rem;
		margin: 0 auto;
		padding: 9.55rem 0 5rem 0;
		max-width: 136rem;
		width: 100%;
		min-height: 75.5rem;
		border-radius: 4rem;
		background: #F0F4FA var(--symbol);
		background-position: right -9.7rem bottom -4.55rem;
	}
	
	#allmenu .con-box>.menu {
		display: flex;
		justify-content: center;
		gap: 2rem;
		width: 100%;
	}
	
	#allmenu .con-box>.menu>li {
		flex: 1 1 33.3%;
		padding: 2rem 2rem 3rem 2rem;
		max-width: 24rem;
		width: 100%;
		border-radius: 1.2rem;
		background: #FFF;
		box-shadow: 0.2rem 0.2rem 1.2rem 0 rgba(0, 0, 0, 0.10);
	}
	
	#allmenu .con-box>.menu>li>a {
		display: block;
		text-align: center;
		padding: 1.4rem 1rem;
		color: #FFF;
		font-size: 2.2rem;
		font-weight: 700;
		letter-spacing: -0.02em;
		border-radius: 1rem;
		background: #3D3A48;
	}
	
	#allmenu .con-box .sub-menu {
		display: flex;
		flex-direction: column;
		margin-top: 3rem;
	}
	
	#allmenu .con-box .sub-menu>li>a {
		position: relative;
		display: block;
		padding: 1rem 1.5rem 1rem 2.4rem;
		font-size: 1.8rem;
		font-weight: 500;
		letter-spacing: -0.02em;
		border-bottom: 1px dashed #CFCFCF;
	}
	
	#allmenu .con-box .sub-menu>li.select>a,
	#allmenu .con-box .sub-menu>li>a:hover {
		color: var(--main);
		font-weight: 700;
		border-color: var(--main);
	}
	
	#allmenu .con-box .sub-menu>li>a::before {
		content: '';
		position: absolute;
		left: 1.5rem;
		top: 1.8rem;
		width: 0.4rem;
		height: 0.4rem;
		border-radius: 0.1rem;
		background: #8B8B8B;
	}
	
	#allmenu .con-box .sub-menu>li.select>a::before,
	#allmenu .con-box .sub-menu>li>a:hover::before {
		background: var(--main);
	}

	#allmenu .con-box .close {
		position: absolute;
		right: 2rem;
		top: 2rem;
	}
}

/* mb */
@media screen and (max-width:800px) {
	#allmenu, #lnb .menu, #gnb {
		display: none;
	}
	
	.fixed {
		position: fixed;
		width: 100%;
		height: 100%;
		overflow: hidden;
	}

	.fixed header {
		background: #FFF;
	}

	header h1 a {
		font-size: 2.3rem;
	}

	header h1 a::before {
		width: 3.2rem;
		height: 3.5rem;
		background-size: 3.2rem;
	}

	#lnb>h2>a {		
		display: block;
	}

	.fixed #lnb .menu {
		position: fixed;
		left: 0;
		right: 0;
		top: var(--header);
		display: flex;
		flex-direction: column;
		gap: 0.7rem;
		padding: 4px 20px 40px 20px;
		width: 100%;
		height: calc(100% - var(--header));
		background: #fff;
		overflow-x: auto;
	}

	#lnb .menu>li>a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1rem 1.5rem;
		height: 51px;
		font-weight: 600;
		letter-spacing: -0.02em;
		border-radius: 0.8rem;
		background: #F5F5F5;
	}
	
	#lnb .menu>li.on>a,
	#lnb .menu>li.select>a {
		color: #fff;		
		border-color: var(--main);
		background: var(--main);
	}

	#lnb .menu>li>a::after {
		content: '';
		display: block;
		width: 2.1rem;
		height: 2.1rem;
		background: var(--menu);
		background-position: -2.1rem -5.6rem;
	}
	
	#lnb .menu>li.on>a::after,
	#lnb .menu>li.select>a::after {
		background-position: 0 -5.6rem;
	}

	#lnb .sub-menu {
		display: none;
		margin-top: 0.3rem;
		padding: 1.5rem;
		border-radius: 0.8rem;
		border: 1px solid #D4D4D4;
	}

	#lnb .select .sub-menu {
		display: block;
	}
	
	#lnb .sub-menu>li {
		margin-top: 1rem;
	}
	
	#lnb .sub-menu>li:nth-child(1) {
		margin-top: 0;
	}
	
	#lnb .sub-menu>li>a {
		position: relative;
		display: block;
		padding-left: 0.7rem;
		letter-spacing: -0.02em;
	}

	#lnb .sub-menu>li>a::before {
		content: '';
		position: absolute;
		left: 0;
		top: calc(50% - 0.3rem / 2);
		width: 0.3rem;
		height: 0.3rem;
		background: #8B8B8B;
	}
	
	#lnb .sub-menu>li>a:hover,
	#lnb .sub-menu>li.select>a {
		color: var(--main);
		font-weight: 800;
	}

	.fixed #gnb {
		position: fixed;
		left: 0;
		bottom: 0;
		display: flex;
		justify-content: center;
		width: 100%;
		height: 40px;
		margin: 0;
		background: #fff;
	}
	
	footer {
		text-align: center;
	}

	footer .top-con {
		flex-direction: column !important;
		gap: 0.7rem;
	}

	footer .link {
		flex-direction: column-reverse !important;
		align-items: center;
		gap: 1.6rem;
	}

	footer .addr {
		flex-direction: column;
		gap: 0;
	}
	
	footer .copy {
		line-height: normal;
	}
}