/* 要素の幅・高さにpaddingとborderを含める */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ページの標準余白を解除 */
html,
body {
  margin: 0;
  padding: 0;
}

/* 見出し・文章の標準余白を解除 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
figcaption {
  margin: 0;
}

/* リストの標準余白・マーカーを解除 */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 画像・動画を親要素からはみ出させない */
img,
video {
  max-width: 100%;
  height: auto;
}

/* 画像下部の余白を防止 */
img {
  display: block;
}

/* フォーム部品の書体を周囲と統一 */
button,
input,
select,
textarea {
  font: inherit;
}

/* テーブルのセル間隔を解除 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: 0;
  margin: 0;
}
