/**
 * Modern Reset CSS 
 * ブラウザ間の差異を解消し、デザインの土台を作ります
 */

/* 1. ボックスモデルを全要素で border-box に統一（サイズ計算を楽にする） */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. デフォルトの余白をリセット */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* 3. リストのポッチ（・）を消す */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 4. 画像を扱いやすくする（下の隙間を消し、幅を親要素に合わせる） */
img {
    max-width: 100%;
    display: block;
    height: auto;
    -webkit-user-select: none;
    /* Safari/Chrome */
    -ms-user-select: none;
    /* IE/Edge */
    user-select: none;
    /* CSS3 */
    pointer-events: none;
}

/* 5. フォーム要素のフォントを継承させる */
input,
button,
textarea,
select {
    font: inherit;
}

/* 6. ボタンのデフォルトスタイルを消して操作しやすくする */
button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* 7. aタグの装飾をリセット */
a {
    text-decoration: none;
    color: inherit;
}

/* 8. 本文の基本設定（スクロールを滑らかに） */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* iPhoneなどの文字サイズ自動調整防止 */
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* 文字を滑らかに表示 */
}