/*===========================================================================
	웹폰트
============================================================================*/
@font-face {
    font-family: 'RixGoM';
    src:url('../fonts/RixGoM.woff') format('woff');
} 

/*===========================================================================
	CSS 초기화
============================================================================*/
* {box-sizing:border-box; margin:0; padding:0; }
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, em, img, strong, b, i, dl, dt, dd, ol, ul, li, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, footer, header, menu, nav, section, video, a {border:0; outline:0; font-size:100%; color:#333; line-height:1;}
html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {line-height:1; font-family: 'RixGoM', sans-serif;  width: 100%; overflow-x: hidden; -ms-overflow-style: none; } ::-webkit-scrollbar { display: none; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display:block;}
ul, ol, li {list-style:none;}
strong {display: inline-block;}
a {margin:0; padding:0; font-size:100%; display: block; }
table {border-collapse:collapse; border-spacing:0;}
input, select {vertical-align:middle;}
p {line-height:1.5;}
pre { font-family: 'RixGoM', sans-serif; white-space: pre-line; }
img {width: 100%;}
input {outline:none; font-family: 'RixGoM', sans-serif;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
button {cursor:pointer; border: 0; outline: 0; background: none;}
a {text-decoration: none; display: block;}
textarea {resize: none; font-family: 'RixGoM', sans-serif;}
.col-group {display:flex;}
.container { width: 1440px; margin: 0 auto; }
.mb{display: none;}

/* Header */
#header { height: 90px; background: #fff; position: fixed; top: 0; left: 0; z-index: 99999; width: 100%; }
.header-wrap { justify-content: space-between; max-width: 1680px; margin: 0 auto; width: 100%; height: 100%; align-items: center; position: relative; }
.header-wrap .logo { width: 106px; }
.header-wrap .gnb-wrap { display: flex; gap: 40px; }
.header-wrap .gnb { gap: 60px; }
.header-wrap .gnb li a { font-size: 18px; font-weight: bold; letter-spacing: -0.54px; line-height: 24px; position: relative; transition: .2s; }
.header-wrap .gnb li:hover a { color: #c00000; }
.header-wrap .gnb li a::after { content: ""; bottom: -10px; width: 100%; height: 2px; background: #c00000; transition: .2s; display: none; }

.intro-wrap #header { position: static; }

/* footer */
#footer { background: #eee; padding: 46px 0; }
.footer-wrap { max-width: 1440px; margin: 0 auto; align-items: center; gap: 40px; }
.footer-wrap ul { flex-flow: column; gap: 8px; }
.footer-wrap ul li { gap: 8px; }
.footer-wrap ul li span, .footer-wrap ul li a { color: #787878; font-size: 14px; font-weight: 500; letter-spacing: -0.42px; }
.footer-wrap ul li a:hover { text-decoration: underline; }

.up-btn-wrap { position: fixed; right: calc( ( 100vw - 1680px ) / 2 ); bottom: 40px; }
.up-btn-wrap .up-btn { position: absolute; border-radius: 32px; background-color: #fff; width: 64px; height: 64px; align-items: center; text-align: center; transition: .3s; padding: 16px; background-image: url(../images/top_btn.svg); background-repeat: no-repeat; background-position: center; right: 0; bottom: 0; }
.up-btn-wrap .up-btn:hover { background-color: #cf212a; background-image: url(../images/top_btn_hover.svg); }

/* 콘텐츠 공통 */
main { min-height: calc( 100vh - 90px - 150px ); }
main.container { margin: 90px auto 0; }

input[type='checkbox'], input[type='file'] { display: none; }
span.agree-check { display: block; width: 16px; height: 16px; border: 1px solid #707070; border-radius: 2px; text-align: center; position: relative; background: #fff; margin-top: -2px; }
span.agree-check i { position: absolute; top: -1px; left: -1px; color: #fff; }
input[type='checkbox']:checked + span.agree-check { background: #bf0001; border: 1px solid #bf0001; }
input[type='checkbox']:checked ~ p { color: #bf0001; }

#modal { position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: rgba(0,0,0,0.15); z-index: 999999; display: none; }
#modal .modal-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 440px; background: #fff; padding: 60px 0 30px; border-radius: 10px; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.15); text-align: center; }
#modal .modal-wrap p { font-size: 18px; color: #454545; margin-bottom: 60px; }
#modal .modal-wrap button { padding: 0 30px; height: 32px; border-radius: 16px; background: #bf0001; color: #fff; font-size: 16px; }

.tab-content { display: none; }
.tab-content.active { display: block; }

@media screen and (max-width:1920px) {
	#header { height: 70px; }
	.header-wrap { max-width: unset; padding: 0 32px; }
	.header-wrap .logo { width: 96px; }
	.header-wrap .gnb { gap: 48px; }
	.header-wrap .gnb li a { font-size: 16px; }

	.footer-wrap { max-width: unset; padding: 0 32px; }
	#footer .inquiry-btn { right: 24px; }

	.container { width: 1280px; }
}


@media screen and (max-width:1280px) {
	.container { width: 100%; padding: 0 24px; }
}

@media screen and (max-width:768px) {
	.mb{display: inherit;}
	.pc{display: none;}

	/* Header */
	#header { height: 56px; }
	.header-wrap  { background: #fff; }
	.header-wrap .logo { width: 67px; }
	.header-wrap::after { content: ""; display: block; position: fixed; top: 0; right: 0; left: 0; bottom: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(3px); display: none; z-index: -2; }
	.header-wrap.show::after { display: block; }
	.header-wrap .gnb { width: 100%; flex-flow: column; position: fixed; top: 56px; right: 0; gap: 0; align-items: flex-end; transition: .3s; z-index: -1; transform: translateY(calc(-100% - 56px)); }
	.header-wrap .gnb.show { transform: translateY(0); }
	.header-wrap .gnb li { width: 100%; background: #fff; padding: 20px 0; }
	.header-wrap .gnb li a { font-size: 18px; text-align: center; width: fit-content; margin: 0 auto; }
	.header-wrap .toggle { display: flex; flex-flow: column; gap: 4px; cursor: pointer; }
	.header-wrap .toggle span { display: block; width: 24px; height: 3px; border-radius: 2px; background: #333; transition: .2s; }
	.header-wrap .toggle:hover span { background: #c00000; }

	/* footer */
	#footer { padding: 16px 0 24px; }
	.footer-wrap { flex-flow: column; gap: 16px; align-items: center; padding: 0 24px; }
	.footer-wrap .footer-logo { width: 67px; height: 32px; }
	.footer-wrap .footer-logo img { object-fit: contain; }
	.footer-wrap ul {  gap: 4px; }
	.footer-wrap ul li { flex-flow: wrap; gap: 4px 16px; align-items: center; }
	.footer-wrap ul li span { font-size: 11px; }
	.footer-wrap ul li a { font-size: 11px; font-weight: bold; }
	.footer-wrap ul li a:hover { text-decoration: underline; }

	.up-btn-wrap { right: 24px; bottom: 24px; }
	.up-btn-wrap .up-btn { border-radius: 20px; width: 40px; height: 40px; padding: 8px; }
	
	/* 콘텐츠 공통 */
	main { min-height: calc( 100vh - 56px - 174px ); margin-top: 56px; }
	main.container { margin: 56px auto 0; }
	#modal .modal-wrap { width: calc( 100% - 48px ); max-width: 300px; padding: 36px 0; }
	#modal .modal-wrap p { font-size: 16px; margin-bottom: 36px; }
}