/* BeesBuild web base v1：Hallmark の土台の決まり（Floor）を BeesBuild の色と字で書いたもの */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html {
  scrollbar-color: var(--color-rule-strong) var(--color-paper);
  scroll-padding-top: calc(var(--nav-height) + var(--space-lg));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--color-accent);
  font-feature-settings: "palt" 0;
  line-break: strict;
  word-break: auto-phrase;
}
::selection { background: color-mix(in oklab, var(--color-ai) 30%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-synthesis: none;
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  word-break: auto-phrase;
  letter-spacing: var(--tracking-display);
}
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 600; }
p:not([class]) { max-width: var(--measure); }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd, samp, pre { font-family: var(--font-mono); font-size: 0.9em; }
table { border-collapse: collapse; width: 100%; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
