/* === 基本設定: box-sizingとマージンのリセット === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* === 見出し、段落、リスト、引用など === */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
figure, hr, dl, dd , th{
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === リンク === */
a {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

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

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

button {
  cursor: pointer;
  appearance: button;
}

/* === メディア要素 === */
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

/* === HTML5セクショナル要素をブロック化 === */
article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section {
  display: block;
}

/* === strongとbを明示的に太字に === */
strong, b {
  font-weight: normal;
}

/* === モバイル対応 === */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  appearance: none;
}

/* === スクロール補助用 === */
:focus {
  outline: none;
}