/* =========================
    Reset + Base
   ========================= */

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

/* basic margin reset（必要最低限） */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
dl,
dd {
  margin: 0;
}

/* lists（ナビやカード用に一旦ニュートラル化）
   ※記事本文のul/olは後で .prose などで戻す想定 */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* base typography（コーポレートはここが命） */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  color: #111;
  background: #fff;
}

/* 見出しは「デザインで決める」前提で太さだけ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

/* links（コーポレートは本文リンクを後で設計することが多い） */
a {
  color: inherit;
  text-decoration: none;
}

/* media */
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* forms（崩れやすいところを先に潰す） */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* iOSの角丸/影などを揃えたい場合（任意） */
input,
textarea,
select {
  border-radius: 0;
}

/* table（会社情報/IRで地味に効く） */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th {
  text-align: left;
}

/* focus（アクセシビリティ） */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/*  motion（任意：酔いやすい人への配慮） */
@media (prefers-reduced-motion: reduce) {

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