/* === Modern Reset (2025 Minimal) === */

/* 1. 全要素と疑似要素にボックスサイズを統一 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. マージンリセット */
* {
    margin: 0;
    padding: 0;
}

/* 3. デフォルトフォント設定の調整 */
html,
body {
    height: 100%;
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 4. リスト系のスタイル削除 */
ul,
ol {
    list-style: none;
}

/* 5. 見出しの一貫性 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* 6. テキストエリアやフォーム系のフォント継承 */
input,
button,
textarea,
select {
    font: inherit;
}

/* 7. ボタンのデフォルトスタイルを削除 */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* 8. リンクの下線削除と色継承 */
a {
    color: inherit;
    text-decoration: none;
}

/* 9. 画像のデフォルト制限を削除 */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 10. 強調・太字の一貫性 */
strong,
b {
    font-weight: bolder;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
