@font-face {
  font-family: "ich1Q-line";
  src: url("Assets/Home/ich1Q-line-Regular.ttf") format("truetype");
  font-display: block;
}
@font-face {
  font-family: "ich1Q-hand";
  src: url("/lab/fonts/ich1Q-hand-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "icomoon";
  src: url("Assets/Home/icomoon.ttf") format("truetype");
  font-display: block;
}
:root {
  --site-font: Arial, GenJyuuGothicL, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  color-scheme: dark;
  --paper: #f1f1f1;
  --muted: #a1a1a1;
  --rule: #444444;
  --blue: #1682f6;
  --navy: #083360;
  --deep: #062544;
  --black: #111111;
  --ink: var(--black);
  --hair: color-mix(in srgb, var(--paper) 24%, transparent);
  --orange: #f7971c;
  --action-hover: color-mix(in srgb, var(--navy) 58%, var(--blue));
  --trace-panel: color-mix(in srgb, var(--deep) 70%, transparent);
  --outer-grain: url("Assets/Home/bg0.gif");
  --inner-grain: url("Assets/Home/bg1.gif");
  --blue-grain: url("Assets/Home/bgb.gif");
  --edge: clamp(21px,4.4vw,88px);
  --gallery-width: 1680px;
  --section-gap: clamp(52px, 7vw, 112px);
}
:where(:root) {
  text-autospace: normal;
  text-spacing-trim: trim-start;
  line-break: strict;
  overflow-wrap: anywhere;
}
:where(pre, code, .line-font, .font-line, .font-hand) {
  text-autospace: no-autospace;
  text-spacing-trim: space-all;
}
:where(time) {
  text-autospace: no-autospace;
}
:where(
  input:not([type="button" i], [type="submit" i], [type="reset" i]),
  textarea,
  [contenteditable]
) {
  text-autospace: no-autospace;
}
:where(h1, h2, h3, h4, h5, h6) {
  text-wrap: balance;
}
html { scrollbar-gutter: stable; overflow-x: clip; }
* { box-sizing: border-box; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--black) var(--outer-grain) repeat;
  color: var(--paper);
  font: 16px/1.7 var(--site-font);
  font-feature-settings: "palt";
}
h1, h2, p, ul { margin: 0; }
.exhibition,.record-archive,.works-archive,.texts-archive,.dictionary-archive,.entry-page { background:var(--black) var(--inner-grain) repeat; }
ul { list-style: none; padding: 0; }
picture, img { display: block; }
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover, a:focus-visible { color: var(--orange); }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.line-font { display: block; color: var(--muted); font-family: "ich1Q-line", sans-serif; font-weight: 400; line-height: 1.2; }
.font-line { color: var(--muted); font-family: "ich1Q-line", sans-serif; font-size: .88em; }
.font-hand { font-family: "ich1Q-hand", sans-serif; }
.skip { position: fixed; z-index: 30; top: 5px; left: 8px; padding: 6px 14px; background: var(--black); transform: translateY(-180%); }
.skip:focus { transform: none; }
.entry-crumb { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: clamp(16px, 2.2vw, 26px); }
.entry-back {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding-block: 4px; margin-block: -4px;
  color: color-mix(in srgb, var(--paper) 78%, var(--muted));
  text-decoration: none;
}
.entry-back-icon {
  position: relative; display: grid; place-items: center; flex: none;
  width: 30px; height: 30px;
}
.entry-back-icon::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --arm: 6px; --stroke: 1.5px;
  --tick: linear-gradient(currentColor, currentColor);
  background:
    left top / var(--arm) var(--stroke) var(--tick), left top / var(--stroke) var(--arm) var(--tick),
    right top / var(--arm) var(--stroke) var(--tick), right top / var(--stroke) var(--arm) var(--tick),
    left bottom / var(--arm) var(--stroke) var(--tick), left bottom / var(--stroke) var(--arm) var(--tick),
    right bottom / var(--arm) var(--stroke) var(--tick), right bottom / var(--stroke) var(--arm) var(--tick);
  background-repeat: no-repeat;
  opacity: .42;
}
.entry-back-icon svg { display: block; width: 14px; height: 14px; }
.entry-back-label { display: grid; align-content: center; row-gap: 3px; line-height: 1; }
.entry-back-label > span { font-size: 12.5px; letter-spacing: .04em; color: inherit; }
.entry-back-label > small { font-size: 10.5px; letter-spacing: .06em; color: inherit; opacity: .78; }
.entry-back:is(:hover, :focus-visible) { color: var(--orange); }
.entry-back:is(:hover, :focus-visible) .entry-back-icon::before { inset: 2px; opacity: 1; }
.entry-back:is(:hover, :focus-visible) .entry-back-label > small { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .entry-back-icon::before { transition: inset 180ms cubic-bezier(.32, .08, .26, 1), opacity 160ms ease-out; }
}
time { font-variant-numeric:tabular-nums; }
.icon { font:16px/1 "icomoon"; }
@media (prefers-reduced-motion: no-preference) {
  html[data-nav-entering] body > main, html[data-nav-entering] body > .site-end { opacity: 0; }
  [data-entrance-pending] { opacity: 0; }
  :is(.exhibition,.record-archive,.works-archive,.texts-archive,.dictionary-archive,.entry-page) :is(a,button,summary) { transition:color 130ms ease-out; }
}
.nav-progress {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: left center; transform: scaleX(0); opacity: 0;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1), opacity 160ms ease-out;
}
.nav-progress[data-active] { opacity: 1; transform: scaleX(.72); }
.nav-progress[data-done] { opacity: 0; transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  :root { --outer-grain: url("Assets/Home/bg0.png"); --inner-grain: url("Assets/Home/bg1.png"); --blue-grain: url("Assets/Home/bgb.png"); }
}
