/* ---------------------------------------------
   2025 Modern Reset CSS
   - ブラウザ差異を極力なくす
   - box-sizing: border-box の標準化
   - img / video のデフォルト調整
   - フォーム要素の外観統一
---------------------------------------------- */

/* ボックスサイズを統一 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 余白のリセット */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
}

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

/* body の基本設定 */
body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* 画像・動画などのレスポンシブ基本 */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* フォーム要素のフォント継承 */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* ボタンのデフォルト解除 */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* アンカーのデフォルト */
a {
    color: inherit;
    text-decoration: none;
}

/* テーブル初期化 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* iframeなどは100%にしない（必要な場合にCSS指定） */
iframe {
    border: 0;
}