@charset "UTF-8";
/* ==========================================================================
   base.css — reset + html/body/a/フォーム基礎（SPD-v2）
   ========================================================================== */

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

html {
  font-size: calc(100vw / 37.5);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;  /* メニューを開いてスクロールを止めても、スクロールバー分の幅が変わらない（ヘッダーの×がずれない） */
  interpolate-size: allow-keywords;
}

@media print, screen and (min-width: 640px) {
  html {
    font-size: calc(100vw / 102.4);
  }
}

@media print, screen and (min-width: 1024px) {
  html {
    font-size: 62.5%;
  }
}

body {
  margin: 0;
  background: var(--cl-wh);
  color: var(--cl-txt);
  font-family: var(--ff-sans);
  font-size: var(--fs-m);
  font-feature-settings: "palt" 1;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

:is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) {
  margin: 0;
}

:is(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
  text-wrap: pretty;
  word-break: auto-phrase;
  overflow-wrap: anywhere; /* 文節改行で収まらない長い語（社名など）は途中で折り返す */
}

:is(ul, ol) {
  padding: 0;
  list-style: none;
}

img,
svg,
video {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (any-hover: hover) {
  a {
    transition: opacity var(--ease-t-slow);
  }

  a:hover {
    opacity: 0.7;
  }
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cl-gold);
  outline-offset: 2px;
}

/* stylelint-disable declaration-no-important -- SPD-v2 で許可された例外（印刷・reduced-motion） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* stylelint-enable declaration-no-important */
