/* ==================================================================
   reset.css - Modern Minimal Reset
   ================================================================== */

/* 1. すべての要素で box-sizing を border-box に統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. HTML / BODY の基本設定 */
html {
  /* スマホでの自動テキスト拡大を防止 */
  -webkit-text-size-adjust: 100%;
  /* スクロールアニメーションの滑らか化 */
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  /* テキスト描画の最適化（きれいなフォント表示） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 3. 見出し・段落・リスト・余白のリセット */
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
}

/* 4. リスト記号の削除 */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 5. 画像・メディア要素のはみ出し防止とブロック化 */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. リンク・アンカーのリセット */
a {
  color: inherit;
  text-decoration: none;
}

/* 7. フォーム要素・ボタンのブラウザデフォルトスタイル解除 */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
}

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

/* 9. 斜体・強調表示のスタイル打ち消し */
address, em, cite {
  font-style: normal;
}