/* styles/_normalize.scss */
/* Modern Normalize / Reset (2026) */

/* 1. box-sizing を全要素に */
/* 1) 横スクロール対策の基本セット */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

.container {
  width: min(1580px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 80px);
}


html,
body {
  overflow-x: hidden;
}

/* 2. ルート設定 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 3. デフォルトマージンをリセット */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

/* 4. リストの装飾をリセット */
ul,
ol {
  list-style: none;
}

/* 5. 画像・メディア要素の扱いを安定させる */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 6. フォーム要素を親のフォントに合わせる */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* 7. ボタンのデフォルト装飾を除去（アクセシビリティ維持） */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* 8. aタグの装飾を最小限に */
a {
  color: inherit;
  text-decoration: none;
}

/* 9. hidden 属性の標準化 */
[hidden] {
  display: none !important;
}

/* 10. iOS Safari のフォーム周り対策 */
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

/* 11. reduced motion 対応（ユーザー設定尊重） */
@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;
  }
}