/* box-sizing 규칙을 명시합니다. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 폰트 크기의 팽창을 방지합니다. */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* 기본 여백을 제거하여 작성된 CSS를 더 잘 제어할 수 있습니다. */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
    margin: 0;
}

/* list를 role값으로 갖는 ul, ol 요소의 기본 목록 스타일을 제거합니다. */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* 핵심 body의 기본값을 설정합니다. */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* 제목 요소와 상호작용하는 요소에 대해 line-height를 더 짧게 설정합니다. */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

a{
    cursor: pointer;
    text-decoration: none;
    color: black;
}

/* 제목에 대한 text-wrap을 balance로 설정합니다. */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

ul{
    margin: 0;
    padding: 0;
}
li{
    list-style-type: none;
    padding: 0;
}

/* 클래스가 없는 기본 a 태그 요소는 기본 스타일을 가져옵니다. */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* 이미지 관련 작업을 더 쉽게 합니다. */
img,
picture {
    max-width: 100%;
    display: block;
}

/* input 및 button 항목들이 글꼴을 상속하도록 합니다. */
input,
button,
textarea,
select {
    font: inherit;
}
button{
    border: none;
    background-color: transparent;
    border-radius: 12px;
    cursor: pointer;
}

/* 행 속성이 없는 textarea가 너무 작지 않도록 합니다. */
textarea:not([rows]) {
    min-height: 10em;
}
textarea{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 11px 12px;
    font-size: 14px;
    line-height: 20px;
    resize: none;
}
textarea::placeholder{
    color: #a9a9a9;
}
textarea::-webkit-scrollbar {
    width: 12px;
}
textarea::-webkit-scrollbar-thumb {
    background-color: #eaeaea;
    border-radius: 24px;
    background-clip: padding-box;
    border: 4px solid transparent;
}

/* 고정된 모든 항목에는 여분의 스크롤 여백이 있어야 합니다. */
:target {
    scroll-margin-block: 5ex;
}

* {
    font-family: 'notokr-medium';
}

body::-webkit-scrollbar {
    width: 16px;
}
body::-webkit-scrollbar-thumb {
    background-color: #eaeaea;
    border-radius: 24px;
    background-clip: padding-box;
    border: 5px solid transparent;
}

select {
    background-color: transparent;
    -o-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("../../images/common/icon_down.svg") calc(100% - 12px) center no-repeat;
}
select::-ms-expand {
    display: none;
}
select:focus-visible,
select:focus,
select:active,
textarea:focus-visible,
textarea:focus,
textarea:active{
    outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox  */
input[type='number'] {
    -moz-appearance: textfield;
}