/* 全要素のマージン・パディングをリセット */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HTML5の新要素をブロック表示に */
article,
aside,
footer,
header,
nav,
section,
main,
figure,
figcaption {
  display: block;
}

/* ボディの基本設定 */
body {
  line-height: 1.6;
  color: #333;
  background: #fff;
  font-size: 16px;
}

/* リスト・リンク */
ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 画像・動画 */
img,
video {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

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

/* フォーム関連 */
input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  appearance: none;
}

button {
  cursor: pointer;
}

/* 見出しサイズ調整 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

/* スクロールの滑らかさ */
html {
  scroll-behavior: smooth;
}