/* ======== Modern Base Reset ======== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ここで「全部ゼロ」にしない。必要なものだけ */
h1, h2, h3, h4, h5, h6,
p, figure {
  margin: 0;
}

/* リストは余白と行頭位置は残す（ナビだけ別途消す） */
ul, ol {
  margin: 0;
  padding-left: 1.2em;
}

/* 画像系 */
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

/* フォーム系 */
input,
button,
textarea,
select {
  font: inherit;
}

/* ナビ内のリストだけマーカーを消す */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* hr */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/* abbr / dfn */
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

/* 文章用マークアップ */
del {
  text-decoration: line-through;
}

/* 必要なら色は後で調整 */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* input, select の縦位置 */
input,
select {
  vertical-align: middle;
}

/* リンク（ベース） */
a {
  color: inherit;
  text-decoration: none;
}

/* hover などは別途好みで */
a:hover {
  text-decoration: underline;
}


