/*
 * reset.css — ブラウザー標準スタイルのリセット
 * 記法: セレクターのネストなし・インデント2スペース。
 * レスポンシブ指定は関連ルールの近くに記載。上書き順と詳細度を維持する。
 */

/* --- Full Reset CSS (Original) --- */

/* 全要素の余白・枠・装飾を完全リセット */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  background: none;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5要素をブロック化 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/* body の初期化 */
html,
body {
  width: 100%;
  height: 100%;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}

/* リストのマーカー削除 */
ol,
ul {
  list-style: none;
}

/* 引用符削除 */
blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

/* テーブルの隙間削除 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 画像・動画の初期化 */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* フォーム要素の初期化 */
button,
input,
textarea,
select {
  appearance: none;
  border-radius: 0;
  outline: none;
  background: none;
  font: inherit;
}

/* aタグの初期化 */
a {
  color: inherit;
  text-decoration: none;
}

/* strong, b の太字解除（必要なら） */
strong,
b {
  font-weight: inherit;
}

/* hr の初期化 */
hr {
  border: none;
  height: 0;
}
