/*
  1. より直感的なボックスサイズのモデルを使用
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. デフォルトのマージンを削除
  */
* {
  margin: 0;
}

/*
    3. 高さは%ベースを使用
  */
html,
body {
  height: 100%;
}

/*
    タイポグラフィの微調整
    4. アクセシブルなline-heightを追加
    5. テキストのレンダリングを改善
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
    6. メディア要素のデフォルトを改善
  */
img,
picture,
video,
canvas,
svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*
    7. フォームのfontに関するデフォルトを削除
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    8. テキストのオーバーフローを回避
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  font-weight: 500;
}

/*
    9. ルートのスタックコンテキストを作成
  */
#root,
#__next {
  isolation: isolate;
}

address {
  font-style: normal;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

em {
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  /* 列幅を均等にしたい場合は指定する */
  table-layout: fixed;
}

table,
th,
td {
  vertical-align: middle;
}

th:first-child {}