@charset "UTF-8";

/* 폰트 */
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-Thin.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-ExtraLight.woff') format('woff');
	font-weight: 200;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-ExtraBold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
}
@font-face {
	font-family: 'Pretendard';
	src: url('../font/Pretendard-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
}

/* 색상 */
:root {
	--gray-50: #F3F3F3;
	--gray-100: #DDD;
	--gray-200: #C6C6C6;
	--gray-300: #B0B0B0;
	--gray-400: #9B9B9B;
	--gray-500: #868686;
	--gray-600: #727272;
	--gray-700: #5E5E5E;
	--gray-800: #4B4B4B;
	--gray-900: #393939;
	--white-0: #FFF;
	--white-100: #F8F8F8;
	--white-200: #F6F6F6;
	--white-300: #F4F4F4;
	--phones-blue-50: #F3F6FB;
	--phones-blue-100: #E5ECF6;
	--phones-blue-200: #D2DDEF;
	--phones-blue-300: #B4C8E4;
	--phones-blue-400: #91ABD6;
	--phones-blue-500: #758FCA;
	--phones-blue-600: #6076BC;
	--phones-blue-700: #5365AB;
	--phones-blue-800: #47548C;
	--phones-blue-900: #3D4771;
	--phones-blue-950: #323957;
}

html {
    overflow-x: hidden;
}
html,
body {
	-webkit-touch-callout: none;
}
.body_inner {
	overflow: clip;
}

/* ios에서 인풋들 모서리 라운딩과 상단 그림자 제거 */
input, textarea, select {
	border-radius: 0;
	-webkit-appearance: none;
}

/* ios font-size 16px 미만일때 포커스시 줌되는 현상 수정 */
/* 텍스트 선택, 드래그, 더블클릭 막기 :not()은 예외처리 */
*:not(input, textarea) {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* global */
.show {
	display: block !important;
}
.hide {
	display: none !important;
}
.scrollX {
	overflow: hidden !important;
	-ms-touch-action: none;
	touch-action: none;
	overscroll-behavior-y: contain;
}

/* Firefox에 대한 스탬퍼 숨김 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* module */
.inner {
	max-width: 1140px;
	margin: 0 auto;
}
.inner2 {
	max-width: 1040px;
	margin: 0 auto;
}
.space_between {
	display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile {
	display: none;
}
.fill_light_p,
.fill_deep_p,
.fill_g,
.fill_deep_g,
.fill_w,
.fill_light_r,
.fill_deep_r {
    display: block;
    width: 100%;
	font-family: "Pretendard", sans-serif;
	border-radius: 12px;
	font-size: 15px;
	border: none;
}
.fill_light_p {
	background: var(--win-purple-50);
	color: var(--win-purple-600);
}
.fill_deep_p {
	background: var(--win-purple-600);
	color: var(--white-0);
}
.fill_g {
	background: var(--gray-50);
	color: var(--gray-200);
}
.fill_deep_g {
	background: var(--gray-100);
	color: var(--gray-400);
}
.fill_w {
	background: var(--white-0);
	color: var(--win-purple-600);
}
.fill_light_r {
	background: var(--alert-red-50);
	color: var(--alert-red-400);
}
.fill_deep_r {
	background: var(--alert-red-400);
	color: var(--white-0);
}
.profit {
	color: var(--gray-400) !important;
}
.profit.up {
	color: var(--alert-red-400) !important;
}
.profit.down {
	color: var(--alert-blue-600) !important;
}


/* 상단 tab */
.tab {
    position: sticky;
    top: 80px;
    z-index: 5;
    width: 100%;
    height: 53px;
    border-bottom: 1px solid var(--gray-50);
    background-color: var(--white-0);
}
.tab .tab_inner {
    display: flex;
    margin: 0 auto;
    max-width: 1076px;
}
.tab .tab_inner label {
    position: relative;
    display: block;
    padding: 0 16px;
    height: 52px;
    line-height: 52px;
    font-size: 24px;
    font-weight: 500;
	color: var(--gray-500);
}
.tab .tab_inner label:not(:last-child) {
    margin-right: 12px;
}
.tab .tab_inner label input {
    display: none;
}
.tab .tab_inner label:has(input:checked) {
    font-weight: 700;
    color: var(--gray-900);
}
.tab .tab_inner label:has(input:checked)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gray-900);
}

/* 푸터 */
#footer {
    padding: 80px 0 120px;
    width: 100%;
    height: 510px;
    background-color: var(--win-purple-900);
}
#footer a {
	color: var(--white-0);
}
#footer .footer_inner p {
    font-size: 18px;
    color: var(--white-0);
}
#footer .footer_top {
    display: flex;
    margin-bottom: 23px;
}
#footer .footer_top .company {
    margin-right: 142px;
}
#footer .footer_top .contact a,
#footer .footer_top .company a {
	pointer-events: none;
}
#footer .footer_top .contact > div {
    display: flex;
    align-items: center;
}
#footer .footer_top .contact > div svg {
    display: block;
    margin-left: 8px;
    margin-bottom: 12px;
}
#footer .footer_top p:not(:last-child) {
    margin-bottom: 12px;
}
#footer .footer_inner .footer_top p.title {
    margin-bottom: 32px;
    font-size: 20px;
    font-weight: 700;
}
#footer .footer_bottom {
    display: flex;
}
#footer .footer_bottom .terms {
    margin-top: 17px;
    margin-right: 428px;
}
#footer .footer_bottom .terms li {
    display: flex;
    align-items: center;
    font-weight: 700;
}
#footer .footer_bottom .terms li:last-child {
    margin-top: 24px;
}
#footer .footer_bottom .terms li svg {
    display: block;
    margin-left: 8px;
}
#footer .footer_bottom .sns {
    width: 288px;
    display: flex;
    justify-content: space-between;
}
#footer .footer_bottom .sns li {
    width: 32px;
}

/* 우측 하단 고정 버튼 */
.fixed {
	position: fixed;
	bottom: 0;
	right: 40px;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	height: auto;
}
.fixed .top_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: rgba(0,0,0,0.3);
	opacity: 0;
    visibility: hidden;
    transition: all 0.1s ease-in-out;
}
.fixed .inquiry_btn {
	display: flex;
	align-items: center;
	margin-bottom: 40px;
	padding: 16px 24px;
	width: 168px;
	height: 64px;
	border-radius: 32px;
	font-weight: 700;
	color: var(--white-0);
	background-color: var(--win-yellow-600);
	filter: drop-shadow(0px 5px 20px rgba(255, 184, 0, 0.30));
}
.fixed .inquiry_btn img {
	margin-right: 14px;
	width: 32px;
	height: 32px;
}
.fixed .mobile_market_price_btn {
	display: none;
	margin-right: 8px;
	padding: 0 16px;
	height: 44px;
	background-color: var(--white-0);
	border-radius: 22px;
	box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);
}
.fixed .mobile_market_price_btn .market_price {
	height: 100%;
	overflow: hidden;
}

/* 약관 */
.term_privacy,
.term_service {
	font-size: 16px;
	word-break: break-all;
}
.term_privacy .title,
.term_service .title {
	padding-top: 90px;
    margin-bottom: 30px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}
.term_privacy > div > dl,
.term_service > div > dl {
	margin-bottom: 36px;
}
.term_privacy > div > dl dt,
.term_service > div > dl dt {
	margin-bottom: 10px;
    font-weight: 700;
}
.term_service > div > .num_list dd {
	text-indent: -1.4em;
    margin-left: 1.3em;
    margin-bottom: 15px;
}
.term_service > div > .num_list span {
	margin-right: 5px;
}
.term_service > div > dl ol {
	text-indent: -1.3em;
    margin: 6px 0 15px 1.3em;
}
.term_service > div > dl ol li {
	margin-bottom: 3px;
    line-height: 1.8;
}
.term_privacy .desc {
	margin-bottom: 36px;
}
.term_privacy dl > dd > ol {
    margin: 6px 0 15px;
}
.term_privacy dl > dd > ol li {
	text-indent: -1.5em;
    margin: 0 0 3px 1.5em;
    line-height: 1.8;
}
.term_privacy dl > dd > ol li span {
	font-weight: 700;
    margin-right: 5px;
}
.term_privacy dl > dd > ol li > p {
	text-indent: 0;
}
.term_privacy dl > dd > ol li > ol {
	text-indent: -1.3em;
    margin: 6px 0 15px;
}
.term_privacy dl > dd table {
	table-layout: fixed;
    width: 100%;
    margin: 5px 0 10px;
	border: 1px solid var(--gray-300);
}
.term_privacy dl > dd table caption {
	margin: 10px 0 2px;
    text-align: left;
}
.term_privacy dl > dd table thead td {
	background-color: var(--gray-50);
}
.term_privacy dl > dd table td {
	padding: 8px;
    line-height: 1.5;
	border: 1px solid var(--gray-300);
	font-size: 16px;
	text-align: center;
}
.term_privacy dl > dd table .align_left {
	text-align: left;
}
.term_privacy dl > dd table .align_left td {
	text-align: left;
}

/* 모바일 gnb */
.mobile_gnb_box {
    position: fixed;
    left: 50%;
    top: 64px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 6;
	display: none;
    width: 100%;
	height: calc(100% - 64px);
    background-color: rgba(0, 0, 0, 0.8);
}
.mobile_gnb_box .mobile_gnb {
	padding: 20px 0;
	background-color: var(--white-0);
	height: 0;
	overflow: hidden;
	transition: height 0.4s;
}
.mobile_gnb_box .mobile_gnb li a {
	display: block;
	padding: 20px 16px;
	height: 64px;
	font-size: 18px;
	color: var(--gray-700);
}
.mobile_gnb_box .mobile_gnb li.on a {
	color: var(--gray-900);
	font-weight: 600;
}
.mobile_gnb_box .mobile_gnb li a:active {
	background-color: var(--white-100);
}

/* 공통 애니메이션 */
.fade {
    opacity: 0;
    -webkit-transform: translate3d(0,100%,0);
    transform: translate3d(0,100%,0);
}

.fade_in_up {
	animation: fadeInUp 0.8s 0s ease-in-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,80%,0);
        transform: translate3d(0,80%,0)
	}

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@media (max-width: 768px) {
	.mobile {
		display: block;
	}
	::-webkit-scrollbar {
		display: none;
	}
	/* 헤더 */

	

	/* 상단 tab */
	.tab {
		top: 64px;
		width: 100%;
		height: 36px;
		border-bottom: none;
	}
	.tab::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		height: 1px;
		background-color: var(--gray-50);
	}
	.tab .tab_inner {
		padding: 0 16px;
	}
	.tab .tab_inner label {
		padding: 0 15px;
		height: 35px;
		line-height: 35px;
		font-size: 18px;
		font-weight: 600;
	}
	.tab .tab_inner label:not(:last-child) {
		margin-right: 4px;
	}
	.tab .tab_inner label:has(input:checked) {
		font-weight: 600;
	}
	.tab .tab_inner label:has(input:checked)::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -1px;
		z-index: 10;
		width: 100%;
		height: 2px;
		background-color: var(--gray-900);
	}


	/* 푸터 */
	#footer {
		padding: 80px 24px 160px;
		height: auto;
	}
	#footer .footer_inner p {
		font-size: 14px;
	}
	#footer .footer_top {
		display: block;
		margin-bottom: 60px;
	}
	#footer .footer_top .company {
		margin-right: 0;
		margin-bottom: 60px;
	}
	#footer .footer_top .contact a {
		pointer-events: auto;
	}
	#footer .footer_top .contact > div svg {
		margin-left: 4px;
	}
	#footer .footer_top p:not(:last-child) {
		margin-bottom: 12px;
	}
	#footer .footer_inner .footer_top p.title {
		margin-bottom: 20px;
		font-size: 16px;
	}
	#footer .footer_bottom {
		display: block;
	}
	#footer .footer_bottom .terms {
		margin : 0 0 60px;
	}
	#footer .footer_bottom .terms li {
		display: flex;
		align-items: center;
		font-weight: 700;
	}
	#footer .footer_bottom .terms li:last-child {
		margin-top: 24px;
	}
	#footer .footer_bottom .terms li svg {
		display: block;
		margin-left: 8px;
	}
	#footer .footer_bottom .sns {
		width: 248px;
	}
	#footer .footer_bottom .sns li {
		width: 24px;
	}

	/* 약관 */
	.term_privacy,
	.term_service {
		font-size: 14px;
		word-break: break-all;
	}
	.term_privacy .inner,
	.term_service .inner {
		padding: 0 16px;
	}
	.term_privacy .title,
	.term_service .title {
		padding-top: 40px;
		margin-bottom: 20px;
		font-size: 16px;
		font-weight: 700;
		text-align: center;
	}
	.term_privacy dl > dd > ol li {
		line-height: 1.4;
	}
	.term_privacy dl > dd table td {
		padding: 4px;
		font-size: 12px;
	}
	
	/* 우측 하단 고정 버튼 */
	.fixed {
		right: 12px;
		height: auto;
	}
	.fixed .top_btn {
		margin-bottom: 8px;
		width: 44px;
		height: 44px;
	}
	.fixed > div {
		display: flex;
		margin-bottom: 32px;
	}
	.fixed .inquiry_btn {
		margin-bottom: 0;
		padding: 10px 20px 10px 16px;
		width: 124px;
		height: 44px;
		border-radius: 22px;
		font-size: 16px;
		box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);
		filter: none;
	}
	.fixed .inquiry_btn img {
		margin-right: 8px;
		width: 24px;
		height: 24px;
	}
	.fixed .mobile_market_price_btn {
		display: block;
	}
}

@media (max-width: 340px) {
	.fixed > div {
		flex-direction: column-reverse;
		align-items: flex-end;
	}
	.fixed .inquiry_btn {
		margin-bottom: 8px;
	}
	.fixed .mobile_market_price_btn {
		margin-right: 0;
	}
}