/* CSS Reset - ブラウザのデフォルトスタイルをリセット */

/* 全要素のマージンとパディングをリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML要素の基本設定 */
html {
    font-size: 16px;
    line-height: 1.6;
}

/* ボディの基本設定 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

/* 見出し要素のリセット */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* 段落とリストのリセット */
p, ul, ol, li {
    margin: 0;
    padding: 0;
}

/* リストスタイルのリセット */
ul, ol {
    list-style: none;
}

/* リンクのリセット */
a {
    color: inherit;
    text-decoration: none;
}

/* 画像のリセット */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* フォーム要素のリセット */
input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    margin: 0;
    padding: 0;
}

/* ボタンのリセット */
button {
    cursor: pointer;
}

/* テーブルのリセット */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* その他の要素のリセット */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

/* フォーカス時のアウトラインを無効化（アクセシビリティのため、必要に応じてカスタムスタイルを追加） */
*:focus {
    outline: none;
}

/* セレクション（テキスト選択）のスタイル */
::selection {
    background-color: #007bff;
    color: #fff;
}
