﻿/* Pretendard 폰트 불러오기 (CDN) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");





/* 1. 기본 초기화 (Box-sizing & Margin/Padding) */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. HTML & Body 기본 설정 */
html {
    font-size: 16px; /* 기본 폰트 크기 */
    scroll-behavior: smooth;
}

body {
    font-family: "Pretendard Variable", Pretendard, -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;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    word-break: keep-all; /* 한글 줄바꿈 자연스럽게 */
    overflow-x: hidden;
}

/* 3. HTML5 요소 초기화 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 4. 링크 스타일 초기화 */
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* 5. 리스트 스타일 초기화 */
ul, ol, li {
    list-style: none;
}

/* 6. 이미지 및 미디어 요소 초기화 */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* 7. 제목 요소 굵기 및 크기 초기화 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* 8. 폼 요소 초기화 */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    border: none;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

textarea {
    resize: vertical;
}

/* 9. 테이블 초기화 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}