/* =========================================================
   reset.css  (modern-css-reset 相当)
   ※ このファイルは基盤スタイルのため「未使用CSS禁止」の対象外
   ========================================================= */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Margin/padding のリセット */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* body の基本設定 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 画像類：block 化する（vertical-align は併用しない） */
img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

/* フォームは font を継承 */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* ボタンの初期化 */
button {
  background: none;
  border: none;
  padding: 0;
}

/* リンク初期化 */
a {
  color: inherit;
  text-decoration: none;
}

/* 見出し・段落の折り返し */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: break-word;
}

/* prefers-reduced-motion への配慮は、!important を使わず
   各アニメーション定義側（style.css）で個別に無効化する（本プロンプトは !important 禁止のため） */
