@charset "UTF-8";

/* =================================================/
   1. Box-sizing などの基本設定
/================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =================================================/
   2. マージン・パディングの初期化
/================================================= */
body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

body {
  /* ユーザーエージェントのデフォルトパディングをリセット */
  padding: 0;
}

/* =================================================/
   3. タイポグラフィと継承の設定
/================================================= */
body {
  /* 視覚的な読みやすさとフォントの崩れを防ぐ設定 */
  min-height: 100vh;
  line-height: 1.5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* フォーム要素やボタンに親要素のフォントを継承させる */
input,
button,
textarea,
select {
  font: inherit;
}

/* =================================================/
   4. メディア要素の扱い
/================================================= */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* =================================================/
   5. リスト・リンクの基本設定
/================================================= */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =================================================/
   6. テーブルの初期化
/================================================= */
table {
  border-collapse: collapse;
  border-spacing: 0;
}