/* Reset CSS - ブラウザ間の差異をリセット */

/* ボックスサイジングをborder-boxに統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* マージン・パディングをリセット */
* {
  margin: 0;
  padding: 0;
}

/* HTML・body の基本設定 */
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* リストのスタイルをリセット */
ul,
ol {
  list-style: none;
}

/* リンクのスタイルをリセット */
a {
  text-decoration: none;
  color: inherit;
}

/* ボタンのスタイルをリセット */
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* フォーム要素のスタイルをリセット */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* 画像の基本設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* テーブルの基本設定 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 見出しのフォントウェイトをリセット */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/* strong、bのフォントウェイトをリセット */
strong,
b {
  font-weight: inherit;
}

/* emのスタイルをリセット */
em {
  font-style: inherit;
}

/* 引用のスタイルをリセット */
blockquote {
  quotes: none;
}

blockquote::before,
blockquote::after {
  content: '';
}

/* フィールドセットのスタイルをリセット */
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

/* 凡例のスタイルをリセット */
legend {
  padding: 0;
}

/* アドレスのスタイルをリセット */
address {
  font-style: inherit;
}