@charset "utf-8";

/* Reset */
html,body {width: 100%; height: 100%;}

body {margin: 0 auto; overflow-x: hidden; overflow-y: scroll; /* max-width: 1920px; */ -webkit-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;}

html,body,div,span,object,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,em,img,ins,q,strong,sub,sup,b,i,dl,dt,dd,ol,ul,li,a,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video,button {margin:0;padding:0; box-sizing: border-box; letter-spacing: -0.5px; word-break: keep-all; color: var(--gray-900); -webkit-text-size-adjust: none; line-height: 1.5;}
body,input,select,textarea,button,img,fieldset {border:none;}
body, html{font-family: "Pretendard", "Poppins", "Noto Sans KR", sans-serif, "Nanum Gothic", 돋움, dotum, 굴림, gulim, Helvetica, AppleGothic;}
ul,ol,li{list-style:none;}
table{width:100%;border-spacing:0;border-collapse:collapse;}
address,cite,code,em,i{font-style:normal;font-weight:normal;}
label,img,input,select,textarea,button,a {vertical-align:middle;}
u,ins,a{text-decoration:none;}

a {text-decoration: none;}
/* a:link,
a:visited,
a:hover,
a:active,
a:focus {color: var(--gray-900);} */

.clearfix:after{content: ''; display: block; clear: both;}

/* Normalize */
/* body { font-family: 'Noto Sans KR'; } */
select::-ms-expand { display:none;}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { -webkit-appearance:none;}
input[type="number"]{ -moz-appearance:textfield;}
input[type="number"],
input[type="text"],
input[type="password"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="date"], 
textarea { -webkit-appearance:none; -moz-appearance:none; appearance:none; -webkit-border-radius:0; outline:0;}
textarea { resize: none;}

/* overflow:hidden; ios 스크롤 막기 설정 */
html,
html * {
  /* overscroll-behavior: none; */
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {display: block;}
blockquote,q {quotes: none;}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

img,
fieldset {
  max-width: 100%;
  image-rendering: auto;
  /* image-rendering: -webkit-optimize-contrast !important; */
  border: 0;
  vertical-align: middle;
}

legend {
  /* display: none */
}

textarea {
  -webkit-border-radius: 1px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /*form요소의 기본 스타일을 없앰*/
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  vertical-align: middle;
  box-sizing: border-box;
}

label,
button,
input[type:"submit"],
input[type:"reset"] {
  cursor: pointer;
}

button {
  overflow: visible;
  border: none;
  background-color: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  text-decoration: none;
  outline: none;
}

iframe {
  border: 1px solid var(--gray-300);
  box-sizing: border-box;
}

select::-ms-expand {
  border: none;
  background-color: inherit;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: var(--gray-900) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* 마우스 기반 장치(PC)에서만 스크롤바 커스텀 */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
    background-clip: padding-box;
    border: 2px solid #fff;
  }

  ::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: inset 0px 0px 5px white;
  }
}
/* 터치 기반 장치(모바일, 안드로이드/아이폰)에서는 아무것도 적용 안 됨 */
@media (pointer: coarse) {
  ::-webkit-scrollbar,
  ::-webkit-scrollbar-thumb,
  ::-webkit-scrollbar-track {
    all: unset;
  }

  body {
    -ms-overflow-style: none;
  }
  ::-webkit-scrollbar {
    display: none;
  }
}
@media screen and (max-width: 400px) {
  :root {
    font-size: 4vw;
  }
}

select,
button {
  color: currentColor;
  -webkit-appearance: none;
  appearance: none;
}

.a11y {
  position: absolute !important;
  overflow: hidden;
  height: 1px;
  width: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
}
