/* 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;
    padding: 0;
}

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

/* 4. 画像を扱いやすくする（下の隙間を消し、親からはみ出さないように） */
img, picture {
    max-width: 100%;
    display: block;
}

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

/* 6. ボタンのデフォルトデザインをリセット（背景・枠線を消す） */
button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
}

/* 7. リンクのデフォルト色と下線をリセット */
a {
    text-decoration: none;
    color: inherit;
}

/* 8. 本文の基本設定 */
body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
}