/* 2026 Modern Reset */

/* ボックスモデルの定義を直感的にする */
*, *::before, *::after {
  box-sizing: border-box;
}

/* デフォルトの余白を削除 */
* {
  margin: 0;
  padding: 0;
}

/* テキストの折り返しとフォントの滑らかさ */
html {
  color-scheme: light dark; /* ライト/ダークモード対応 */
  hanging-punctuation: first last;
}

body {
  min-height: 100svh; /* モバイルのツールバーを考慮した高さ */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* メディア要素（画像、ビデオ）が親要素を突き抜けないようにする */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* フォーム要素にフォントを継承させる */
input, button, textarea, select {
  font: inherit;
}

/* テキストエリアのサイズ変更を垂直方向に限定 */
textarea {
  resize: vertical;
}

/* リストの記号を消す（必要な時だけ付ける運用が多い） */
ul, ol {
  list-style: none;
}

/* リンクのスタイルをリセット */
a {
  text-decoration-skip-ink: auto;
  color: inherit;
}

/* アニメーションを好まないユーザーへの配慮 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}