@charset "UTF-8";

/*=================================================
 intro CSS - index.html 적용 스타일만 정리
 - 기준: 첨부 index.html의 활성 DOM 구조
 - 제외: default.css의 미사용 유틸리티, swiper/bx, skip_nav, remixicon, 주석 처리된 c2/c3용 스타일
 - 유지: .itemL4는 index.html 스크립트가 동적으로 부여할 수 있어 포함
=================================================*/

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
@import url("https://cdn.jsdelivr.net/gh/xpressengine/XEIcon@2.3.3/xeicon.min.css");

@font-face {
	font-family: "nsn";
	font-style: normal;
	font-weight: 900;
	src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.eot");
	src: local("Nanum Square Heavy"), local("NanumSquareHV"),
		url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.eot?#iefix") format("embedded-opentype"),
		url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff2") format("woff2"),
		url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff") format("woff");
}

/* Reset: index.html에서 실제 사용하는 태그 기준 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	height: 100%;
	overflow: hidden;
	overflow-y: auto;
	font-size: 10px;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
}

body {
	position: relative;
	display: table;
	width: 100%;
	min-height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Pretendard", "Malgun Gothic", sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -.03rem;
	color: #333;
	word-break: keep-all;
}

ul,
li {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
p {
	margin: 0;
	padding: 0;
}

em {
	font-style: normal;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	border: 0 none;
	font-size: 0;
	vertical-align: middle;
}

/* Layout */
.promotion {
	display: table-cell;
	position: relative;
	width: 100%;
	height: 100%;
	padding-bottom: 7rem;
	vertical-align: middle;
	text-align: center;
}

.promotion::before,
.promotion::after {
	content: "";
	position: absolute;
	z-index: -1;
	background-repeat: no-repeat;
	background-size: contain;
}

.promotion::before {
	left: -1px;
	top: 0;
	width: 33.1rem;
	height: 36.7rem;
	background-image: url("../images/bg_left.png");
}

.promotion::after {
	right: 0;
	bottom: 0;
	width: 23.7rem;
	height: 35.8rem;
	background-image: url("../images/bg_right.png");
}

.container {
	width: calc(100% - 4rem);
	max-width: 90rem;
	margin: 0 auto;
}

.container::after {
	content: "";
	display: table;
}

.container::before {
	clear: both;
}

.slogan {
	margin-top: 3rem;
	font-family: "nsn", "Pretendard", sans-serif;
	font-size: 5rem;
	font-weight: 900;
	line-height: 1.3;
	color: #000;
}

.slogan > span {
	color: #0255A2;
}

.intro_box {
	display: flex;
	width: calc(100% + 4rem);
	margin: 10rem 0 0;
	flex-flow: row wrap;
	justify-content: space-evenly;
	align-content: center;
}

.intro_box li {
	flex: 1;
	margin-right: 4rem;
}

.intro_box li > a {
	display: block;
	height: 100%;
	padding: 4.8rem 4rem 4rem;
	border-radius: 3rem;
	background: #D9E4F4;
	color: #2f2f2f;
	font-size: 1.7rem;
	text-align: left;
	transition: all .3s;
}

.intro_box li > a > .title {
	position: relative;
	padding-right: 5rem;
}

.intro_box li > a > .title::after {
	content: "\e93e";
	position: absolute;
	right: 0;
	top: 50%;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, .4);
	box-shadow: 0 .3rem 1rem rgba(0, 0, 0, .12);
	font-family: "xeicon";
	font-size: 1.7rem;
	line-height: 4.5rem;
	text-align: center;
	color: #000;
	transform: translateY(-50%);
	transition: all .3s;
}

.intro_box li > a > .title > em {
	display: block;
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 3.8rem;
	color: #000;
}

.intro_box li > a > .title > p {
	line-height: 2.5rem;
}

.intro_box li > a > .thumb {
	position: relative;
	margin-top: 3.5rem;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 0 1rem rgba(0, 0, 0, .08);
}

.intro_box li > a > .thumb::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 1px solid transparent;
	border-radius: 1rem;
}

.intro_box li > a:hover,
.intro_box li > a:focus {
	box-shadow: 0 0 .8rem rgba(0, 0, 0, .15);
	transform: scale(1.01);
}

.intro_box li > a:hover > .title > em,
.intro_box li > a:focus > .title > em {
	text-decoration: underline;
}

.intro_box li > a:hover > .title::after,
.intro_box li > a:focus > .title::after {
	background: #fff;
}

.footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	margin-bottom: 3rem;
	font-size: 1.5rem;
	font-weight: 500;
	color: #7B7B7B;
}

/* Active intro item colors */
.intro_box li.c1 > a > .title > em {
	color: #103774;
}

.intro_box li.c4 > a {
	background: #E9F2CC;
}

.intro_box li.c4 > a > .title > em {
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 3rem;
	letter-spacing: -.07rem;
}

.intro_box li.c4 > a > .thumb::before {
	border-color: #DAE5B6;
}

/* .intro_box 항목이 4개 이상일 때 index.html 스크립트가 .promotion에 추가 */
.itemL4 .intro_box {
	width: calc(100% + 2rem);
}

.itemL4 .intro_box li {
	margin-right: 2rem;
}

.itemL4 .intro_box li > a {
	padding: 4.8rem 3rem 4rem;
}

.itemL4 .intro_box li > a > .title > em {
	font-size: 2.7rem;
}

.itemL4 .intro_box li.c4 > a > .title > em {
	font-size: 2rem;
}

/* Responsive */
@media (max-width: 1350px) {
	.intro_box li.c4 > a > .title > em {
		font-size: 2.1rem;
	}
}

@media (max-width: 1280px) {
	html {
		font-size: 9px;
	}
}

@media (max-width: 1024px) {
	.intro_box {
		width: calc(100% + 2rem);
	}

	.intro_box li {
		margin-right: 2rem;
	}

	.intro_box li > a {
		padding: 4rem 2rem 3rem;
	}

	.itemL4 .intro_box li {
		flex: auto;
		width: calc(50% - 2rem);
		margin-bottom: 2rem;
	}

	.itemL4 .intro_box li > a > .thumb img {
		width: 100%;
	}
}

@media (max-width: 768px) {
	html {
		font-size: 8px;
	}

	.header {
		margin-top: 3rem;
	}

	.slogan {
		display: none;
	}

	.intro_box {
		display: flex;
		margin-top: 5rem;
		flex-flow: column wrap;
	}

	.intro_box li {
		width: 100% !important;
		max-width: 44rem !important;
		margin-bottom: 2rem;
	}
}

@media (max-width: 330px) {
	html {
		font-size: 7px;
	}
}
