/* 폰트 */
/* @font-face {
  font-family: "Pretendard";
  font-weight: 100;
  font-display: optional;
  src:
    local("Pretendard Thin"),
    url(/fonts/Pretendard-Thin.woff) format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 200;
  font-display: optional;
  src:
    local("Pretendard ExtraLight"),
    url(/fonts/Pretendard-ExtraLight.woff) format("woff");
} */

/* 기본 설정 */
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2196F3;
  --primary-dark: #1976D2;
  --primary-light: #BBDEFB;
  --secondary: #757575;
  --success: #4CAF50;
  --danger: #F44336;
  --warning: #FFC107;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease-in-out;
  --color-white: #fff;
  --color-black: #000;
  --color-border: #e2e8f0;
  --color-placeholder: #adb5bd;
  --point-color: #E97B9A;
}

/* 기본 폰트 설정 */
body,
input,
select,
textarea,
button,
table {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-black);
  -webkit-text-size-adjust: none;
}

/* 스킵 네비 */
#skip_navi {
  position: relative;
}

#skip_navi a {
  position: absolute;
  left: 0;
  top: -999px;
  width: 100%;
  padding: 10px 0;
  background: #fff;
  z-index: 99999;
  text-align: center;
}

#skip_navi a:hover,
#skip_navi a:active,
#skip_navi a:focus {
  top: 0;
}

/* 제목 스타일 */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 100%;
}

/* 접근성 */
legend,
caption,
.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 링크 스타일 */
a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* 버튼 스타일 */
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* 폼 요소 공통 */
input,
select,
textarea,
button {
  vertical-align: middle;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}

/* 체크박스 스타일 */
.checkbox_wrap {
  display: inline-block;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
}

input[type="checkbox"] + label::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  border-radius: 3px;
}

input[type="checkbox"]:checked + label::before {
  background: var(--color-white) url(/images/checked-8615727dc1a892b4e28c6cb012f3a393.svg) no-repeat center / 80%;
}

/* 라디오 버튼 스타일 */
.radio_wrap {
  display: inline-block;
}

input[type="radio"] + label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

input[type="radio"] + label::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

input[type="radio"]:checked + label::before {
  background: url(/images/common/circle.svg) no-repeat 50% 50% / 12px;
}

/* 입력 필드 스타일 */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"] {
  border: 1px solid #e2e8f0;
  height: 40px;
  padding: 0 10px;
  outline: none;
}

/* 검색 취소 버튼 스타일 */
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* number 타입 입력 필드의 화살표 제거 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox에서 number 타입 화살표 제거 */
input[type="number"] {
  -moz-appearance: textfield;
}

/* placeholder 스타일 */
::placeholder {
  color: var(--color-placeholder);
  font-weight: 400;
}

::-webkit-input-placeholder {
  color: var(--color-placeholder);
}

::-moz-placeholder {
  color: var(--color-placeholder);
}

:-ms-input-placeholder {
  color: var(--color-placeholder);
}

/* 이미지 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  border: 0;
}

/* 테이블 */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 리스트 */
ul,
ol {
  list-style: none;
}

fieldset {
  border: 0;
  vertical-align: top;
}

/* 포커스 스타일 */
/* :focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
} */

/* 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}