/* ============================================
   Modern CSS Reset 2024-2025
   参考: Andy Bell's Modern Reset + 独自カスタム
============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 62.5%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 余白のリセット */
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dt, dd,
blockquote, figure, figcaption,
pre, address, table, th, td {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* リストのリセット */
ul, ol {
  list-style: none;
}

/* 画像・メディアのリセット */
img, picture, video, canvas, svg, iframe {
  display: block;
  max-width: 100%;
  vertical-align: bottom;
}

/* フォームのリセット */
input, button, textarea, select {
  font: inherit;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

textarea {
  resize: none;
}

/* リンクのリセット */
a {
  text-decoration: none;
  color: inherit;
}

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

/* hrのリセット */
hr {
  border: none;
  border-top: 1px solid;
}