@font-face {
  font-family: 'Noto Serif JP';
  src: url('/fonts/noto-serif-jp-gallery-400.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 1000;
}
:root {
  --paper: #080809;
  --ink: #e3dfd9;
  --muted: #a9a39d;
  --line: #29272a;
  --plate: #fff;
  --site-width: 1440px;
  --gutter: clamp(22px, 5.2vw, 82px);
  --sans: 'DM Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --jp-serif: 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
}
main {
  flex: 1;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: rgba(216, 208, 196, 0.15);
}
a {
  color: inherit;
  text-decoration: none;
}
button:not(:disabled) {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #c7b696;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell,
.masthead-inner,
.footer-inner {
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.masthead-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.masthead-inner {
  min-height: 75px;
  gap: 12px;
  padding-top: env(safe-area-inset-top, 0px);
}
.brand-link,
.main-nav a,
.footer-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.wordmark {
  width: clamp(109px, 11vw, 142px);
  height: auto;
}
.main-nav,
.footer-pages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav {
  gap: clamp(12px, 2.3vw, 36px);
}
.main-nav a {
  justify-content: center;
  min-width: 44px;
  color: var(--muted);
  font: 400 14px/1.5 var(--jp-serif);
  letter-spacing: 0.1em;
}
.main-nav a:is(:hover, [aria-current]) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.55em;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 16px;
  padding: 12px 18px;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  transform: none;
}
.home-hero {
  max-width: 1250px;
  padding-block: clamp(31px, 5.3vh, 65px) clamp(50px, 8vh, 100px);
}
body:has(.home-hero) main {
  background: radial-gradient(ellipse at 50% 35%, #101013, var(--paper) 73%);
}
.home-hero h1 {
  margin: 0 0 clamp(26px, 4vh, 48px);
  color: var(--ink);
  font: 400 clamp(20px, 3.1vw, 35px)/1.65 var(--jp-serif);
  letter-spacing: 0.15em;
  text-align: center;
  text-wrap: balance;
}
.hero-plate {
  width: min(100%, 1060px);
  margin: 0 auto;
}
.exhibit-surface {
  position: relative;
  display: block;
  height: clamp(390px, 60vh, 650px);
  background: var(--plate);
}
.exhibit-surface img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.study-plate .exhibit-surface {
  background: #eeede8;
}
.study-plate img {
  padding-block: clamp(10px, 2vh, 23px);
}
.hero-plate figcaption {
  min-height: 2em;
  margin-top: 10px;
  color: var(--muted);
  font: 400 12px/1.6 var(--jp-serif);
  letter-spacing: 0.04em;
  text-align: right;
  overflow-wrap: anywhere;
}
.site-footer {
  color: var(--muted);
}
.footer-inner {
  align-items: baseline;
  gap: 14px 36px;
  padding-block: 15px max(18px, env(safe-area-inset-bottom, 0px));
}
.footer-inner small {
  font-size: 10px;
  white-space: nowrap;
  letter-spacing: 0.09em;
}
.footer-pages {
  gap: 0 clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.footer-pages a:is(:hover, [aria-current]) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.37em;
}
.missing {
  padding-block: clamp(62px, 12vw, 160px);
}
.missing h1 {
  margin: 0 0 24px;
  font: 400 clamp(24px, 4.8vw, 48px)/1.5 var(--jp-serif);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  border-bottom: 1px solid var(--muted);
}
@media (max-width: 660px) {
  :root {
    --gutter: clamp(17px, 5vw, 29px);
  }
  .masthead-inner {
    min-height: 60px;
  }
  .home-hero {
    padding-block: 31px 41px;
  }
  .exhibit-surface {
    height: auto;
    aspect-ratio: 1.02;
  }
  .exhibit-surface img {
    position: absolute;
    inset: 0;
  }
  .footer-inner {
    flex-direction: column-reverse;
    gap: 6px;
  }
}
