/* =========================================================
   base.css — リセット・素地・タイポグラフィ基本（生成り版）
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-3);
  color: var(--ink);
  font-family: var(--ff-ja);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* 見出し＝明朝／本文＝ゴシック。word-break:auto-phrase で1〜2字孤立を抑制 */
h1, h2, h3, p, li, dd, .h2, .h3, .fv__title { word-break: auto-phrase; }

.h2 {
  font-family: var(--ff-mincho);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .06em;
}
.h3 {
  font-family: var(--ff-mincho);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .05em;
}

.label-en {
  font-family: var(--ff-en);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--ink-3);
}

.lead { font-size: var(--fs-sm); line-height: 2.1; color: var(--ink-2); }
.note { font-size: var(--fs-note); line-height: 1.85; color: var(--ink-3); letter-spacing: .01em; }

:focus-visible { outline: 2px solid var(--cv); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
