*,
::before,
::after {
    box-sizing: border-box; /* 1. 모든 요소에 일관된 박스 사이징을 적용 */
    border-width: 0; /* 2. 기본 테두리 두께를 0으로 설정 */
    border-style: solid; /* 2. 기본 테두리 스타일을 실선으로 설정 */
    border-color: #e5e7eb; /* 2. 기본 테두리 색상을 지정 */
}

/*
1. 모든 브라우저에서 일관된 줄 간격을 사용합니다.
2. iOS 에서 화면 회전 후 폰트 크기 조정 방지
3. 가독성을 높이기 위한 탭 크기 설정
4. 사용자의 기본 sans-serif 글꼴을 설정
5. 사용자의 기본 sans-serif 글꼴 기능 설정
6. 사용자의 기본 sans-serif 글꼴 변이 설정
7. iOS 에서 탭 하이라이트를 비활성화
*/

html,
:host {
    -webkit-text-size-adjust: 100%; /* 2 */
    -moz-tab-size: 4; /* 3 */
    tab-size: 4; /* 3 */
    font-size: 0.875rem;
    font-family: Noto Sans KR, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
    font-feature-settings: normal; /* 5 */
    font-variation-settings: normal; /* 6 */
    -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. 모든 브라우저에서 기본 여백을 제거
2. html에서 줄 간격을 상속받아 사용자가 직접 설정할 수 있게 함
*/

body {
    margin: 0; /* 1 */
    line-height: inherit; /* 2 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
1. Firefox 에서 높이 설정 문제 해결
2. Firefox 에서 테두리 색상 상속 문제 해결
3. 수평선을 기본적으로 보이도록 설정
*/

hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
    border-top-width: 1px; /* 3 */
}

/*
Chrome, Edge, Safari 에서 올바른 밑줄 장식을 추가
*/

abbr:where([title]) {
    text-decoration: underline dotted;
}

/*
링크의 기본 스타일을 초기화하여 선택적으로 스타일을 적용 가능하게 함
*/

a {
    cursor: pointer;
    color: inherit;
    text-decoration: inherit;
}

/*
Edge 및 Safari에서 올바른 글꼴 두께를 추가
*/

b,
strong {
    font-weight: bolder;
}

/*
1. 사용자의 기본 mono 글꼴 설정
2. 사용자의 기본 mono 글꼴 기능 설정
3. 사용자의 기본 mono 글꼴 변이 설정
4. 모든 브라우저에서 em 단위 폰트 크기 이상 문제 수정
*/

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
    font-feature-settings: normal; /* 2 */
    font-variation-settings: normal; /* 3 */
    font-size: 1em; /* 4 */
}

/*
모든 브라우저에서 올바른 폰트 크기 설정
*/

small {
    font-size: 80%;
}

/*
모든 브라우저에서 sub 와 sup 요소가 줄 간격에 영향을 주지 않도록 설정
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/*
1. Chrome 및 Safari 에서 테이블 내용에 기본 텍스트 들여쓰기 제거
2. Chrome 및 Safari 에서 테두리 색상 상속 문제 해결
3. 테이블 테두리 사이 간격 기본 제거
*/

table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
    border-collapse: collapse; /* 3 */
    border-spacing: 0;
}

/*
1. 모든 브라우저에서 글꼴 스타일 수정
2. Firefox 및 Safari에서 기본 여백 제거
3. 모든 브라우저에서 기본 패딩 제거
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-feature-settings: inherit; /* 1 */
    font-variation-settings: inherit; /* 1 */
    font-size: 100%; /* 1 */
    font-weight: inherit; /* 1 */
    line-height: inherit; /* 1 */
    letter-spacing: -0.05em;
    color: inherit; /* 1 */
    margin: 0; /* 2 */
    padding: 0; /* 3 */
}

form, fieldset {
    border: 0 none;
}

/*
Edge 및 Firefox 에서 텍스트 변환 상속을 제거
*/

button,
select {
    text-transform: none;
}

/*
1. iOS 및 Safari 에서 클릭 가능한 요소의 스타일링 문제 해결
2. 기본 버튼 스타일 제거
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
    -webkit-appearance: button; /* 1 */
    background-color: transparent; /* 2 */
    background-image: none; /* 2 */
}

/*
모든 포커스 가능한 요소에 최신 Firefox 포커스 스타일 적용
*/

:-moz-focusring {
    outline: auto;
}

/*
Firefox 추가 :invalid 스타일 제거
*/

:-moz-ui-invalid {
    box-shadow: none;
}

/*
Chrome 및 Firefox 에서 올바른 수직 정렬 추가
*/

progress {
    vertical-align: baseline;
}

/*
Safari 에서 증가 및 감소 버튼의 커서 스타일 수정
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/*
1. Chrome 및 Safari 에서 비정상적인 모양 수정
2. Safari 에서 외곽선 스타일 수정
*/

[type='search'] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/*
macOS의 Chrome 및 Safari에서 내부 여백 제거
*/

::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
1. iOS 및 Safari 에서 클릭 가능한 파일 업로드 버튼 스타일링 문제 해결
2. Safari 에서 글꼴 속성을 상속받도록 설정
*/

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/*
Chrome 및 Safari 에서 summary 요소에 올바른 display 속성 적용
*/

summary {
    display: list-item;
}

/*
적절한 요소의 기본 간격 및 테두리 제거
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
다이얼로그 요소의 기본 스타일 재설정
*/

dialog {
    padding: 0;
}

/*
텍스트 영역의 기본 가로 크기 조정 방지
*/

textarea {
    resize: vertical;
}

/*
1. Firefox에서 기본 플레이스홀더 투명도 재설정
2. 기본 플레이스홀더 색상을 사용자의 회색 400 색상으로 설정
*/

/*input::placeholder,*/
/*textarea::placeholder {*/
/*    opacity: 1; !* 1 *!*/
/*    color: #838383; !* 2 *!*/
/*}*/

/*
버튼의 기본 커서를 설정
*/

button,
[type="button"],
[role="button"] {
    cursor: pointer;
}

/*
비활성화된 버튼의 포인터 커서가 나타나지 않도록 설정
*/

:disabled {
    cursor: default;
}

/*
1. 기본적으로 교체 요소를 display: block 으로 설정
2. 기본적으로 교체 요소를 중간 정렬로 설정
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    border: 0 none;
    vertical-align: middle; /* 2 */
}

/*
이미지와 비디오 요소를 부모 너비로 제한하고 고유 비율 유지
*/


video {
    max-width: 100%;
    height: auto;
}

/*
HTML hidden 속성이 있는 요소가 기본적으로 숨겨지도록 설정
*/

[hidden] {
    display: none;
}

.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.skip, .hide {
    position: absolute;
    width: 0;
    height: 0;
    font-size: 0;
    overflow: hidden;
    visibility: hidden;
}

.clear {
    clear: both;
}

input, select, textarea {
    vertical-align: middle;
    font-size: 14px;
}

body, div, h1, h2, h3, h4, h5, th, td, input, p, select, button, ul, li, textarea {
    color: #333333;
    font-family: "Noto Sans KR", AppleSDGothicNeo-Regular, '맑은 고딕', 'Malgun Gothic', 나눔고딕, 돋움, Dotum, 굴림, Gulim, 'Apple SD Gothic Neo', sans-serif, verdana;
    letter-spacing: -0.05em;
}

body, th, td, input, select {
    font-size: 14px;
}

h1 {
    font-size: 1.5em;
}

address, caption, em {
    font-weight: normal;
    font-style: normal;
}