/* ------------------------------------ */
/* 기본 */
/* ------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100..1000&family=Sora:wght@100..800&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-jp.min.css");

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
    font-style: normal;
	font: inherit;
	vertical-align: top;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
::-webkit-scrollbar-thumb:vertical{height:0px;}
::-webkit-scrollbar-thumb:horizontal{width:0px;}
::-webkit-scrollbar{width:0; height:0;}

:root {
	--main : #266FFF;
}

::selection {
	color: #fff;
	background-color: var(--main);
}

a, a:hover, a:active {
	color: inherit;
	text-decoration: none;
}

a, button {
	text-decoration: none;
	border: 0;
	font-family: "DM Sans", "Pretendard JP", sans-serif;
}

a, a:hover, button, button:hover {
	cursor: pointer;
	-webkit-transform: all 0.1s;
	-moz-transform: all 0.1s;
	-ms-transform: all 0.1s;
	-o-transform: all 0.1s;
	transform: all 0.1s;
}
*, *::before, *::after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-touch-callout: none;
}

.show_trigger { position: absolute; top: 400px; left: 0; width: 1px; height: 1px;}
.scrollLock { overflow: hidden; }
html, body {
	height: 100%;
}

html, body {
	font-size: 16px;
	font-family: "Sora", "DM Sans", "Pretendard JP", sans-serif;
	letter-spacing: -0.1px;
	scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    display: none;
}

.ratio {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #f8f8f8;
}

.ratio.bg_pink { background-color: #FFFAF9;}
.ratio.bg_blue { background-color: #F8F8FF;}
.ratio.bg_yellow { background-color: #FDFAF6;}
.ratio.bg_gray { background-color: #F6F6F6;}
.ratio.bg_none { background-color: transparent;}
.ratio.size_contain { background-size: contain;}

.hide {
	overflow: hidden;
	display: none;
}

.ls_zero {
	letter-spacing: -0.2px !important;
}


/* ------------------------------------ */
/* 정렬 */
/* ------------------------------------ */
.flex {display: flex;}
.align_center {align-items: center;}
.justify_center {justify-content: center;}
.justify_between {justify-content: space-between;}
.direction_row {flex-direction: row;}
.direction_column {flex-direction: column;}

.vcon {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	width: calc(100% + 30px);
	margin: 0 -15px -30px;
}

.vcon li.cells {
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin: 0 15px 30px;

}

.vcon.one_con > li.cells { width: calc(100% - 30px);}
.vcon.two_con > li.cells { width: calc(50% - 30px);}
.vcon.three_con > li.cells { width: calc(33.333% - 30px);}
.vcon.four_con > li.cells { width: calc(25% - 30px);}
.vcon.six_con > li.cells { width: calc(16.666% - 30px);}

.vcon.bg_gray::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 580px;
    margin: 0 auto;
    background-color: #f2f4f6;
}

/* ------------------------------------ */
/* 버튼 */
/* ------------------------------------ */
.btn {
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
	outline: none;
	border: none;
	background-color: transparent;
	box-shadow: 0 0 0 1px rgba(0,0,0,.03);
	letter-spacing: -0.5px;
	font-family: "DM Sans", "Pretendard JP", sans-serif;
	cursor: pointer;

	transition: all .15s ease-in-out;
}

.btn_lg {
	height: 46px;
    border-radius: 10px;
    padding: 16px;
    font-size: 17px;
    font-weight: 600;
    line-height: 14px;
}

.btn_md {
	height: 42px;
	border-radius: 8px;
	padding: 12px;
	font-size: 15px;
	font-weight: 600;
    line-height: 17px;
}

.btn_sm {
    height: 36px;
    border-radius: 6px;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
    line-height: 13px;
}

.btn_sub {
	color: var(--main);
	border: 1px solid var(--main);
}

.btn_sub:hover {
	color: var(--main);
}

.btn_main {
	color: #fff;
	background: linear-gradient(77deg, #4281FF 0%, #266fff 100%);
}

.btn_main:hover {
	color: #fff;
	background:linear-gradient(77deg, #4281FF 0%, #266fff 0%)
}

.btn_link {
	display: flex;
	align-items: center;
	gap: 8px;
	box-shadow: none;
	border-color: transparent;
	background-color: #fff;
	color: #45474d;
}

.btn_link img {
	width: auto;
	height: 14px;
}

.btn_link:hover {
	color: #45474d;
}

button > i  {
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 18px;
}

button i.ph-x {
	font-size: 20px;
}

/* ------------------------------------ */
/* 인풋 */
/* ------------------------------------ */
input, textarea, select {
    border: none;
    outline: 0;
	width: 100%;
    height: 50px;
    padding: 0 15px;
    box-shadow: inset 0 0 0 1.5px #D9DEE2;
    background: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.6px;
    font-family: "DM Sans", "Pretendard JP", sans-serif;
    transition: box-shadow .2s ease;
}

textarea {
	resize: none;
    line-height: 1.5;
}

input:hover,
textarea:hover,
select:hover {
    box-shadow: inset 0 0 0 1.5px #D9DEE2;
}

input:focus,
textarea:focus,
select:focus {
    box-shadow: inset 0 0 0 1.5px var(--main);
}

input::placeholder,
textarea::placeholder {
    font-size: 14px;
    color: #A7AEB9;
	letter-spacing: -0.6px;
    font-family: "DM Sans", "Pretendard JP", sans-serif;
}

select {
	appearance: none;
	background: url('../img/select-arrow.png') no-repeat right 2% center;
 	background-size: 15px;
	cursor: pointer;
}

/* ------------------------------------ */
/* 헤더 */
/* ------------------------------------ */
#header {
    position: fixed;
    margin: 0 auto;
    width: 100%;
    z-index: 999;
    background: #fff;
	box-shadow: 0 2px 6px 0 #00000008;
}

.header_inner {
	display: flex;
	align-items: center;
	position: relative;
	margin: 0 auto;
	width: 1280px;
	padding: 20px 0;
}

.header_tit {
	height: 40px;
	margin-right: auto;
}

.header_tit a {
	display: block;
	width: auto;
	height: 100%;
}

.header_tit a img {
	width: auto;
	height: 100%;
}

.gnb {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gnb_list {
	display: flex;
	margin: 0 auto;
}

.gnb_list .nav_item {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin: 0 30px;
	min-width: 100px;
	height: 40px;
	padding: 8px 12px;
    border-radius: 8px;
}

.gnb_list > .nav_item a {
	font-size: 17px;
	font-weight: 600;
	color: #111;
	letter-spacing: -0.5px;
	font-family: "Sora", "Pretendard JP", sans-serif;
	text-align: center;
}

.gnb_list > .nav_item:hover {
	color: #222;
	background-color: #f2f4f6;
}

.gnb_list .nav_list {
	height: 0;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	padding: 12px;
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 32px 64px rgba(34, 35, 38, .05), 0 16px 32px rgba(34, 35, 38, .05);
	border-radius: 10px;
	z-index: 10;
}

.gnb_list .nav_list li {
	display: block;
	min-width: 120px;;
	padding: 12px 34px 12px 12px;
	margin: 0;
	background-color: #fff;
	border-radius: 8px;
}

.gnb_list .nav_list li:hover {
	color: #222;
	background-color: #f2f4f6;
}

.gnb_list .nav_list li + li {
	margin-top: 8px;
}

.gnb_list .nav_list li a {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.4px;
	color: #555;
	font-family: "Sora", "Pretendard JP", sans-serif;
	white-space: nowrap;
	text-align: left;
}

.gnb_list > .nav_item:hover .nav_list {
	overflow: visible;
    left: 0;
    top: 40px;
	height: auto;
	opacity: 1;
	animation: uiPop .2s ease-in-out forwards;
}

@keyframes uiPop {
	0% {
		opacity: 0;
		transform: scale(.9) translateZ(0);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateZ(0);
	}
}

.header_lang {
	margin-right: 10px;
}

.header_lang .lang_select {
	border: 0;
	outline: 0;
	width: 60px;
	height: auto;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #606269;
	letter-spacing: -0.5px;
	font-family: "DM Sans", "Pretendard JP", sans-serif;
	background: url('../img/select-arrow.png') no-repeat right 15% center;
	background-size: 12px;
	cursor: pointer;
}

.header_btn button:first-child {
	margin-right: 4px;
}

/* 모바일헤더 */
.mb_menu_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	z-index: 999;
	cursor: pointer;

	display: none;
}
.mb_menu_btn i {
	font-size: 24px;
}
.mb_menu_btn .menu_btn_i.close::before {
	content: "\e4f6";
}
.mb_menu_btn:hover {
	background-color: #f2f4f6;
}
.mb_menu_wrap {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	padding: 26px 0;
	border-radius: 0 0 20px 20px;
	background-color: #fff;
	box-shadow: 0 3px 9px rgb(0 29 58 / 4%);
	z-index: 998;
}

.mb_menu_wrap.show {
	display: block;
}

.mb_menu_wrap .header_tit{
	height: 34px;
}

.mb_menu_wrap .gnb_list {
	display: flex;
	flex-direction: column;
	margin: 40px 0;
}

.mb_menu_wrap .gnb_list .nav_item {
	display: block;
	margin: 0;
	padding: 0;
	border-radius: 0;
	height: fit-content;
}

.mb_menu_wrap .gnb_list .nav_item:not(:first-child) {
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid #ccc;
}

.mb_menu_wrap .gnb_list .nav_item a.nav_link {
    font-weight: 700;
    font-size: 20px;
    color: #555;
    padding: 20px;
    width: 100%;
    display: block;
    text-align: left;
    font-size: 25px;
}

.mb_menu_wrap .gnb_list > .nav_item:hover {
	background-color: #fff;
}

.mb_menu_wrap .gnb_list .nav_list {
	position: relative;
	height: auto;
	margin-top: 15px;
	padding: 0;
	box-shadow: none;
	border: none;
	opacity: 1;
}

.mb_menu_wrap .gnb_list .nav_list li {
	padding: 12px 0;
	border-radius: 0;
}

.mb_menu_wrap .gnb_list .nav_list li + li {
	margin-top: 0;
}

.mb_menu_wrap .gnb_list .nav_list li a {
    display: block;
    width: 100%;
    padding-left: 35px;
}

.mb_menu_wrap .gnb_list > .nav_item:hover .nav_list {
	animation: none;
	left: auto;
	top: auto;
}

/* ------------------------------------ */
/* 푸터 */
/* ------------------------------------ */
#footer {
	position: relative;
	margin: 0 auto;
	background-color: #fafafa;
}

.footer_inner {
	position: relative;
	width: 1280px;
	margin: 0 auto;
	padding: 80px 0;
}

.foot_nav {
	display: block;
}

.foot_nav span {
	display: block;
	margin-bottom: 24px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.6px;
	color: #111;
	font-family: "Sora", "Pretendard JP", sans-serif;
}

.foot_nav a {
	display: block;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.4px;
	color: #666;
	line-height: 18px;
	font-family: "Sora", "Pretendard JP", sans-serif;
}

.foot_nav a + a {
	margin-top: 20px;
}

.foot_nav a:hover {
	text-decoration: underline;
}

.foot_logo,
.foot_logo img {
	width: 120px;
	height: auto;
	margin-left: auto;
}

.foot_info {
	margin-top: 40px;
	font-size: 14px;
	line-height: 21px;
	color: #78818D;
	letter-spacing: -0.5px;
	text-align: right;
	font-family: "Sora", "Pretendard JP", sans-serif;
}

.foot_sns {
	display: flex;
	gap: 10px;
	justify-content: end;
	margin-top: 20px;
}

.foot_sns .sns_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #eee;
	cursor: pointer;
}

.foot_sns .sns_btn i {
    display: flex;
    align-items: center;
    justify-content: center;
	width: 40px;
    height: 40px;
}

.foot_sns .sns_btn i::before {
	font-size: 22px;
}

.footer_inner hr {
	width: 100%;
	height: 1px;
	background-color: #ddd;
	margin: 40px 0;
}

.footer_inner .copy {
	font-size: 13px;
	color: #78818D;
	font-weight: 500;
	font-family: "Sora", "Pretendard JP", sans-serif;
}

.footer_inner .rang_btn {
	display: flex;
	gap: 20px;
}

.footer_inner .rang_btn p {
	font-size: 14px;
	font-weight: 500;
	color: #78818D;
}

/* ------------------------------------ */
/* 팝업 */
/* ------------------------------------ */
.popup_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.48);
    transition: all 0.4s;
    
    opacity: 0;
    z-index: -1;
}

.popup_wrap.on {
    opacity: 1;
    z-index: 9999;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-48%);
    width: 100%;
    max-width: fit-content;
    max-height: 100%;
    padding: 15px 0;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 12px 24px 0 rgba(0,29,58,.18), 0 8px 16px 0 rgba(2,32,71,.05);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.6, 1) 0.04s,transform 0.4s cubic-bezier(0.4, 0, 0.6, 1);
}

.popup .popup_body iframe {
	height: 1000px;
}

.popup_wrap.on .popup {
    transform: translate(-50%,-50%);
}

.popup_btn {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
}
.popup_btn button {
	width: 30px;
	height: 30px;
	background-color: transparent;
}

/* Alert */
#popupAlert .popup {
	max-width: 360px;
	padding: 0;
}
.popup_tit {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 24px 16px;
}
.popup_tit > * {
	flex: 1;
}
.popup_tit .tit_icon {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}
.popup_tit .tit {
	margin: 0;
}
.popup_tit .tit h2 {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -1px;
	color: #42474D;
	font-family: "Sora", "Pretendard JP", sans-serif;
}
.popup_tit .tit h3 {
	margin-top: 10px;
	color: #788284;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: -0.6px;
	font-family: "DM Sans", "Pretendard JP", sans-serif;
}
#popupAlert .popup_btn {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 24px;
	padding-top: 12px;
	top: auto;
	right: auto;
	width: auto;
	height: auto;
}
#popupAlert .popup_btn button {
	width: 100%;
	height: auto;
}
