/* =====================================
   reset.css（HTML5 + 日本語サイト向け）
   -------------------------------------
   目的：
   ・ブラウザごとの初期スタイル差を打ち消す
   ・ベースフォントや行間を整える
   ・画像・見出し・フォーム要素の余白をリセット
===================================== */

/* すべての要素の余白・枠をリセット */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* HTML5要素をブロック化（古いブラウザ対策） */
article, aside, footer, header, nav, section, main {
  display: block;
}

/* body全体の初期設定 */
html, body {
  height: 100%;
  font-size: 100%;
  line-height: 1.6;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  color: #333;
  background-color: #fff;
}

/* 見出しのデフォルト余白を削除 */
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
  margin: 0;
}

/* リストの装飾を削除 */
ul, ol {
  list-style: none;
}

/* 画像・動画の余白と枠を削除 */
img, video {
  vertical-align: middle;
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
}

/* テーブルのリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* フォーム要素の基本リセット */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

/* リンクの下線と色を初期化 */
a {
  text-decoration: none;
  color: inherit;
}

/* strong, em など強調タグのリセット */
strong, em {
  font-weight: normal;
  font-style: normal;
}

/* figure, figcaption の余白を削除 */
figure {
  margin: 0;
}

/* 引用タグのリセット */
blockquote {
  margin: 0;
  padding: 0;
}

/* スマホのズーム・選択時の青枠を防止 */
input, textarea, select, button {
  -webkit-tap-highlight-color: transparent;
}

/* スクロールバーの調整（必要に応じて） */
/*::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}*/

/* =====================================
   End of reset.css
===================================== */

