
:root {
  --bg: #f3f2ef;
  --paper: #fbfaf7;
  --ink: #181818;
  --muted: #66635e;
  --line: #d8d4cd;
  --accent: #6f655b;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.75;
  letter-spacing: .015em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { opacity: .65; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243,242,239,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: .05em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 9px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .08em;
}
.lang-switch button.active { background: var(--ink); color: #fff; }
main { min-height: 70vh; }
.hero {
  width: min(calc(100% - 40px), 1440px);
  margin: 36px auto 0;
  position: relative;
  background: #ddd9d1;
}
.hero img {
  width: 100%;
  height: clamp(420px, 68vw, 820px);
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  inset: 0;
  padding: clamp(28px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.68), rgba(0,0,0,.05) 62%);
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-weight: 400;
  line-height: 1.15;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 104px);
  letter-spacing: -.025em;
}
.subtitle {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.5vw, 32px);
}
.hero-meta { margin: 30px 0 0; font-size: 14px; }
.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 110px auto;
}
.section.narrow { max-width: 820px; }
.section-title {
  margin: 0 0 34px;
  font-size: clamp(32px, 5vw, 58px);
}
.lead {
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.75;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 56px 28px;
}
.art-card {
  text-decoration: none;
  display: block;
}
.art-card figure { margin: 0; }
.art-card-image {
  background: #e0ddd6;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.art-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.art-card h3 {
  margin: 18px 0 4px;
  font-size: clamp(22px, 3vw, 34px);
}
.art-card p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.visit {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 26px;
}
.visit p { margin: 0; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 20px 60px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.artwork-main {
  width: min(calc(100% - 40px), 1320px);
  margin: 54px auto 110px;
}
.breadcrumbs {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 34px;
}
.artwork-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(36px, 6vw, 94px);
  align-items: start;
}
.artwork-image {
  background: #dedbd4;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.artwork-image img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
}
.artwork-info {
  position: sticky;
  top: 112px;
}
.artwork-info h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
}
.artwork-category {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.metadata {
  margin: 34px 0;
  border-top: 1px solid var(--line);
}
.metadata-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.metadata-row dt { color: var(--muted); }
.metadata-row dd { margin: 0; }
.work-text {
  margin-top: 38px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 18px;
  line-height: 1.95;
}
.artwork-nav {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 100px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.artwork-nav a {
  padding: 30px 0;
  text-decoration: none;
}
.artwork-nav a:last-child { text-align: right; }
.nav-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-title {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
[data-lang="ja"] { display: none; }
body.lang-ja [data-lang="en"] { display: none; }
body.lang-ja [data-lang="ja"] { display: block; }
body.lang-ja span[data-lang="ja"], body.lang-ja a[data-lang="ja"] { display: inline; }
body.lang-ja .work-text { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
@media (max-width: 820px) {
  .header-inner { min-height: 58px; }
  .nav a:not(.keep-mobile) { display: none; }
  .hero { width: 100%; margin-top: 0; }
  .hero img { height: 72vh; min-height: 520px; }
  .section { margin: 80px auto; }
  .art-grid { grid-template-columns: 1fr; gap: 56px; }
  .visit { grid-template-columns: 1fr; }
  .artwork-main { margin-top: 28px; }
  .artwork-layout { grid-template-columns: 1fr; }
  .artwork-info { position: static; }
  .artwork-image { min-height: 0; }
  .metadata-row { grid-template-columns: 92px 1fr; }
}
