/* ============================================================
   reset.css  — modern-css-reset 相当（基盤スタイル）
   ※ 「未使用CSS禁止」の対象外。効かない/重複する指定は入れない。
   ============================================================ */

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

/* Margin リセット */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* リスト（role 指定があるものはスタイル解除） */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* html/body の基本 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

/* 見出し・ボタン等の line-height は短めを既定に */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* a のデフォルト装飾を解除（LP 側でクラス管理） */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* 画像類：block 化するので vertical-align は併用しない */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* フォームコントロールはフォントを継承 */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* button の見た目リセット */
button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* motion を控えたいユーザー設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}
