/* =========================================================
   reset.css  ―  modern-css-reset 相当の基盤スタイル
   （未使用禁止ルールの対象外／基盤として常時読み込む）
   ========================================================= */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Set core root defaults */
html {
  -webkit-text-size-adjust: 100%;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

/* Headings and paragraphs inherit a sane line-height by default */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.3;
}

/* Make images easier to work with（block 化するので vertical-align は書かない） */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Reset button appearance */
button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* Anchor defaults */
a {
  color: inherit;
  text-decoration: none;
}

/* Reduce motion for users who prefer it（!important は使わず抑制する）
   ※ 個別演出側でも prefers-reduced-motion を参照して最終状態表示にする */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
