/*** # 공통 CSS ***/

@charset "utf-8";

/* theme color */
:root{
	--white: #fff;
	--black: #000000;
	--point-red: #BE0A0A;
	--gray-dark: #565656;
	--dark-blue: #1A2558;
	--dark: #1E1E1E;
	--modal-head-height: 48px;
	--modal-blank-top: 10vh;
}

html {
	position: relative;
	padding: 0px;
	margin: 0px;
	font-size: 18px;
	color: var(--gray-dark);
	font-weight: 400;
}

body {
	position: relative;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: "NotoSansKR","Apple SD Gothic Neo", Sans-serif, -apple-system;
	/* line-height: 150%; */
	overflow: hidden;
}
html,body{
	overflow-x: hidden;
}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {
	margin: 0;
	padding: 0;
	border: 0
}
html.hidden {
	overflow-y: hidden;
}

body {
	padding:0;
	margin:0;
}
a{
	color:inherit;
	text-decoration:none;
}
input[type=button]{
	outline:none;
	font-family: "NotoSansKR","Apple SD Gothic Neo", Sans-serif, -apple-system;
}
textarea {
	outline:none;
	font-family: "NotoSansKR","Apple SD Gothic Neo", Sans-serif, -apple-system;
}
button{
	outline:none;
	cursor:pointer;
	font-family: "NotoSansKR","Apple SD Gothic Neo", Sans-serif, -apple-system;
}

/* common */
.width-limit{
	max-width:1320px;
	width: 100%;
	margin:0 auto;
	box-sizing:border-box;
}
.pc{
	display:block;
}
.mo{
	display:none;
}
.none{
	display:none;
}

/* SCROLL */
.scrollable-div::-webkit-scrollbar {width:24px}
.scrollable-div::-webkit-scrollbar-track {background-color: #F6F6F6;}
.scrollable-div::-webkit-scrollbar-thumb {
	background-color: #D9D9D9;
    border-radius: 30px;
    background-clip: padding-box;
    border: 7px solid transparent;
}
.scrollable-div::-webkit-scrollbar-button {width: 0;height: 0;}

/* MODAL */
.modal {
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: 500;
	top: 0;
	display: none;
	opacity: 0;
	transition: 0.3s;
	background-color: rgba(0,0,0,0.5);
}
.modal .bg {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 500;
	overflow-y: scroll;
}
.modal.on {
	opacity: 1;
}
.modal.block {
	display: block;
}
.modal .modal-title {
	font-size: 20px;
	font-weight: bold;
}
.modal-content .modal-head {
	width: 100%;
	height: var(--modal-head-height);
	background-color: var(--white);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 14px;
	box-sizing: border-box;
	border-bottom: 1px solid #EBEBEB;
}
.modal-content {
	background-color: var(--white);
	max-width: 1200px;
	width: 95%;
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX( -50%);
	z-index: 501;
	display: none;
	opacity: 0;
	transition: 0.3s;
	box-sizing: border-box; 
	max-height: calc(100vh - var(--modal-blank-top));
}
.modal-content.on {
	opacity: 1;
	top: var(--modal-blank-top);
}
.modal-content.block {
	display: block;
}
.modal .modal-close {
	width: 16px;
	cursor: pointer;
}
.modal .modal-text {
	overflow-y: auto;
	max-height: calc(100vh - var(--modal-blank-top) - var(--modal-head-height));
}
.modal .modal-text img {
	width: 100%;
}
.modal-exit {
	cursor: pointer;
}

@media screen and (max-width:1400px){
	.width-limit{
		max-width:1000px;
	}
}

@media screen and (max-width:1200px){
	.width-limit{
		max-width: none;
		width: 100%;
		padding:0 50px;
	}
}

@media screen and (max-width:970px){
	.width-limit{
		padding: 0 30px;
		max-width: 810px;
	}
}

/* MOBILE */
@media screen and (max-width:768px){
	:root{
		--modal-head-height: 40px;
		--modal-blank-top: 5vh;
	}
	.width-limit{
		padding:0 15px;
		max-width:700px;
	}
	.pc{
		display:none !important;
	}
	.mo{
		display:block;
	}

	/* SCROLL */
	.scrollable-div::-webkit-scrollbar {width:18px}
	.scrollable-div::-webkit-scrollbar-track {background-color: #F6F6F6;}
	.scrollable-div::-webkit-scrollbar-thumb {
		background-color: #D9D9D9;
		border-radius: 30px;
		background-clip: padding-box;
		border: 5px solid transparent;
	}
	.scrollable-div::-webkit-scrollbar-button {width: 0;height: 0;}
}