/* 1. ボックスモデルを直感的に（paddingを含めたサイズにする） */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. デフォルトの余白を消す */
* {
  margin: 0;
  padding: 0;
}

/* 3. 本文の読みやすさと崩れ防止 */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh; /* 動的ビューポートでスマホのバー問題を解決 */
  text-rendering: optimizeSpeed;
}

/* 4. 画像を扱いやすくする */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

/* 6. テキストの折り返し設定 */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 7. リストのポチ（・）を消す（任意） */
ul, ol {
  list-style: none;
}

/* 8. アンカーリンクの装飾リセット（任意） */
a {
  text-decoration: none;
  color: inherit;
}