@charset "utf-8";
:root {
	--main-ic: url(/share/images/ay/main/main.svg) no-repeat 0 0 / 21rem;
	--footer: 6.7rem;
}

#container {
	background: var(--symbol), linear-gradient(270deg, rgba(255, 255, 255, 0.00) 0%, #FFF 44.43%), linear-gradient(180deg, #F0F8FF 0%, #F1EFFF 100%);
	background-position: right -4.6rem bottom -12.9rem, 0 0, 0 0;
}

.splide__sr { 
  display: none;
}

.wrap {
	max-width: 100%;
	padding-left: 5rem;
	padding-right: 5rem;
}

#contents {
	display: flex;
	align-items: center;
	gap: 5rem;
	padding: 0 5rem 3.6rem 5rem;
	height: calc(100vh - var(--footer) - var(--header));
	overflow: hidden;
}

#visual {
	height: 100%;
	max-height: 80rem;
}

#visual .splide {
	position: relative;
  margin: 0 auto;
  width: 100%;
  height: 100%;
}

#visual .splide__slider {
  max-height: 80rem;
	border-radius: 3rem 3rem 3.5rem 3rem;
  overflow: hidden;
}

#visual .splide__slider,
#visual .splide__track {
  position: relative;
  height: 100%;
  overflow: hidden;
}

#visual .splide__list {
  display: flex;
  width: 100%;
  height: 100%;
}

#visual .splide__slide {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
}

#visual .splide__slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#visual .control {
  position: absolute;
  right: 0;
	bottom: 0;
  display: flex;
	align-items: center;
	gap: 4rem;
	padding: 1.5rem 2.4rem;
	border-radius: 3rem 0 3rem 0;
	background: #FFF;
	z-index: 1;
}

#visual .control::before {
	content: '';
	position: absolute;
	left: -1.7rem;
	bottom: -0.2rem;
	width: 1.8rem;
	height: 1.9rem;
	background: url(/share/images/ay/main/visual-control.svg) no-repeat 0 0 / 100%;
}
 
#visual .control .count {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	color: #777;
	font-family: var(--noto);
	letter-spacing: -0.02em;
}

#visual .control .count #current {
	color: #222;
	font-weight: 700;
}

#visual .control .splide__progress {
	width: 4rem;
	height: 0.2rem;
	background: #C2C2C2;
}

#visual .control .splide__progress__bar {
	display: block;
	height: 0.2rem;
	background: #222;
}

#visual .splide__arrows {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

#visual .splide__arrows button {
	border: none;
	background: var(--main-ic);
}

#visual .splide__arrows .splide__arrow {
	width: 2.4rem;
	height: 2.4rem;
}

#visual .splide__arrows .splide__arrow--next {
	background-position: -2.4rem 0;
}

#visual .splide__arrows .splide__toggle {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: #222;
	background-position: -4.8rem 0;
}

.box {
	flex: 0 0 44.3%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5rem;
	padding-bottom: 10rem;
}

.tit-box {
	text-align: center;
}

.tit-box .txt {
	margin-bottom: 1rem;
	color: #184B72;
	font-family: var(--makgeolli);
	font-size: 3.4rem;
	letter-spacing: -0.02em;
}

.tit-box .tit {
	color: #184B72;
	text-shadow: 0.2rem 0.2rem 0.6rem rgba(10, 21, 64, 0.14);
	font-family: var(--noto);
	font-size: 6.8rem;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.tit-box .tit span {
	display: inline-block;
	font-weight: 900;
	background: linear-gradient(90deg, #0767B1 0%, #3317AD 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.link-box {
	display: flex;
	align-items: center;
	gap: 3rem;
	width: 100%;
}

.link-box>li {
	flex: 1 1 50%;
}

.link-box>li>a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	padding: 2rem;
	min-height: 30rem;
	border-radius: 3rem;
	background: #fff;
	box-shadow: 0.3rem 0.3rem 1rem 0 rgba(10, 21, 64, 0.22);
	text-decoration: none;
	overflow: hidden;
}

.link-box>li>a:hover {
	background: linear-gradient(140deg, #48A9F3 0%, #5534EA 100%);
}

.link-box>li>a::after {
	content: '';
	position: absolute;
	left: 0.8rem;
	top: 0.8rem;
	width: calc(100% - 1.6rem);
	height: calc(100% - 1.6rem);
	border-radius: 2.5rem;
	background: #fff;
}

.link-box>li>a::before {
	position: relative;
	content: '';
	width: 10.5rem;
	height: 12rem;
	background: var(--main-ic);
	background-position: 0 -3rem;
	z-index: 1;
}

.link-box>li:nth-child(2)>a::before {
	background-position: -10.5rem -3rem;
}

.link-box>li>a .tit {
	position: relative;
	font-size: 2.6rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	z-index: 1;
}

.link-box>li>a .more {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 2rem;
	color: #3C3C3C;
	font-weight: 600;
	letter-spacing: -0.02em;
	border-radius: 3rem;
	background: #D7DDEB;
	z-index: 1;
}

.link-box>li>a:hover .more {
	color: #fff;
	background: linear-gradient(90deg, #0767B1 0%, #3317AD 100%);
}

.link-box>li>a .more::after {
	content: '';
	width: 0.8rem;
	height: 1.2rem;
	background: var(--main-ic);
	background-position: -0.7rem -15rem;
}

.link-box>li>a:hover .more::after {
	background-position: 0 -15rem;
}

footer {
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	height: var(--footer);
}

footer .wrap {
	flex-direction: row;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

footer .top-con {
	flex-direction: row;
	gap: 2.6rem;
}

footer .link {
	flex-direction: row-reverse;
}

@media screen and (max-width:1400px) {
	#container {
		background-position: right -2.05rem top 21.46rem, 0 0, 0 0;
	}

	#contents {
		flex-direction: column-reverse;
		padding-top: 5rem;
		padding-bottom: 5rem;
		height: auto;
	}

	.box {
		padding-bottom: 0;
		width: 100%;
	}
	
	footer {
		position: static;
		height: auto;
	}

	footer .wrap {
		flex-direction: column;
		align-items: center;
	}

	footer .top-con {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1.6rem;
	}
}

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

	#gnb a {
		color: #333;
	}
	
	#gnb .mypage {
		display: block;
	}	
}

/* mb */
@media screen and (max-width:800px) {
	#container {
		background-size: 30rem, auto, auto;
		background-position: right -2.05rem top 40%, 0 0, 0 0;
	}

	.wrap,
	#contents {
		padding-left: 20px;
		padding-right: 20px;
	}

	.link-box {
		flex-direction: column;
	}
	
	.link-box>li {
		width: 100%;
	}
	
	.link-box>li a {
		min-height: 18rem;
		padding-right: 8.5rem;
		align-items: flex-start;
	}

	.link-box>li a::before {
		position: absolute;
		right: 2rem;
		top: calc(50% - 12rem / 2);
	}

	.box {
		gap: 2rem;
	}

	.tit-box .txt {
		margin-bottom: 0;
		font-size: 15px;
	}
	
	.tit-box .tit {
		font-size: 30px;
	}

	#visual .control .splide__progress {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 0;
		height: 0;
	}
	
	#visual .control .splide__progress::before {
		content: '/';
	}
}