/* pretendard */
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraBold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
}

/* S-coreDream */
@font-face {
	font-family: 'S-CoreDream';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'S-CoreDream';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'S-CoreDream';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'S-CoreDream';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'S-CoreDream';
	src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

/* Playfair display font */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* font-family: "Playfair Display", serif; */

/* noto sans kr */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
/* font-family: "Noto Sans KR", sans-serif; */

:root {
	--scroll-height: 195px;
	--main-color: #18429f;
}

* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

html {
	scroll-padding-top: var(--scroll-height);
}

body {
	background-color: #fff;
	margin: 0;
	color: #000;
	font-family: 'Pretendard';
	font-weight: 400;
	/* line-height: 1.5em; */
}
a {
	text-decoration: none;
	color: #000;
	font-family: 'Pretendard';
}
em {
	font-style: normal;
}
ul,li {
	list-style: none;
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0;
}

p {
	margin: 0;
}

table {
	border-collapse: collapse;
	width: 100%;
}

button {
	background-color: transparent;
	outline: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: 'Pretendard';
}

img {
	width: 100%;
	max-width: fit-content;
}
input[type=checkbox],
input[type=radio] {
	display: none;
}
input[type=checkbox] + label {
	cursor: pointer;
	display: flex;
	align-items: center;
	/* gap: 5px; */
}
input[type=checkbox] + label em {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: #fff;
	border: 1px solid #acacac;
	/* border-radius: 3px; */
	position: relative;
	transition: 0.2s;
}
input[type=checkbox] + label em:before {
	content: '';
	position: absolute;
	background-color: #fff;
	width: 5px;
	height: 2px;
	top: 10px;
	left: 4px;
	transform: rotate(45deg) scale(0);
	transition: 0.2s;
}
input[type=checkbox] + label em:after {
	content: '';
	position: absolute;
	background-color: #fff;
	width: 10px;
	height: 2px;
	top: 8px;
	left: 6px;
	transition: 0.2s;
	transform: rotate(-45deg) scale(0);
}
input[type=checkbox]:checked + label {}
input[type=checkbox]:checked + label em {
	/* background-color: var(--main-color); */
	border: 1px solid var(--main-color);
}
input[type=checkbox]:checked + label em:before {
	transform: rotate(45deg) scale(1);
	background-color: var(--main-color);
}
input[type=checkbox]:checked + label em:after {
	transform: rotate(-45deg) scale(1);
	background-color: var(--main-color);
}

input[type=radio] + label {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}
input[type=radio] + label em {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid #acacac;
	background-color: #fff;
	position: relative;
	transition: 0.2s;
}
input[type=radio] + label em:before {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--main-color);
	top: 50%;
	left: 50%;
	transition: 0.2s;
	transform: translate(-50%, -50%) scale(0);
}
input[type=radio]:checked + label em {
	border: 1px solid var(--main-color);
}
input[type=radio]:checked + label em:before {
	transform: translate(-50%, -50%) scale(1);
}

input, 
select, 
textarea {
	font-family: "Pretendard";
	outline: none;
	padding: 10px;
}

select {
	appearance: none;
	background: url(/img/main/select_arrow.png) #fff no-repeat center right 10px;
}

select,
input {
	outline: none;
}
input[type=text], 
input[type=password] {
	border: 1px solid #d7d7d7;
	background-color: #fff;
	font-size: 14px;
}

input[type=text]:read-only, 
input[type=password]:read-only {
	background-color: #e1e2e3;
}