/* ------------------- 초기화 */

:root {
	--color-text     : #333333; /* 기본폰트 */
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

@font-face {
    font-family: 'Pretendard Variable';
    font-display: optional; 
}

html {overflow-y:scroll}
div {color: var(--color-text); } /* 기본 텍스트컬러 */
body {
	font-family: 'Pretendard Variable',-apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    margin:0;
    padding:0; 
    font-size:16px;
    font-weight:400;
    font-style: normal;
    text-decoration: none;
    color: #000;  
    letter-spacing:-0.01em; 
    overflow-x: hidden;
}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img{margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em; line-height: 1;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
li{list-style: none;}
table{border-spacing: 0;border-collapse: collapse;}
ul, dl,dt,dd {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle;font-size:1em}
input, select, textarea, button{box-sizing: border-box;}
button{background: none;border: none;cursor: pointer;outline: none;}
input, button {margin:0;padding:0;font-size:1em}
input[type="submit"] {cursor:pointer}
button {cursor:pointer}
input {   -moz-appearance: none;  outline:none; background:none;}
input:focus {outline:none !important; box-shadow:none !important;}
textarea, select {font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {text-decoration:none;color: var(--color-text);} /* 링크 텍스트컬러 */
a:hover {color: var(--color-basic);}

*, :after, :before {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  margin: 0;padding: 0;font-family: inherit;font-size: inherit;font-weight: inherit;font-style: inherit;color: inherit;text-decoration: inherit;box-sizing: border-box;
}

html, body{text-size-adjust: none;
    -webkit-text-size-adjust: none; 
    -moz-text-size-adjust: none; 
    -ms-text-size-adjust: none;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.j_eng{font-family: "Montserrat", sans-serif;}

@media screen and (min-width:1481px){
    html, body{font-size: 16px;}
}

@media screen and (min-width:721px) and (max-width:1480px){
    html, body{font-size: 16px;}
}

@media (max-width: 767px) { /* 모바일기기전용 */
    html, body{font-size: 16px;}
}

body.is-color {
	--bs-primary: var(--color-basic);
	--bs-primary-rgb: var(--color-basic_rgba);
	--na-primary-hover: var(--color-basic-b);
}