:root {
  --ground: #F7F5F1;
  --ink: #3A3836;
  --ink-strong: #1F1D1B;
  --ink-soft: #55514C;
  --muted: #6E6A65;
  --line: #DDD7CE;
  --line-strong: #A8A096;
  --field-line: #8A857F;
  --sold: #B5574B;
  --open: #5F7F6A;
  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --serif-jp: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
}
body.is-home { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink-soft); text-decoration: none; }
a:hover { color: var(--ink-strong); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
[hidden] { display: none !important; }

/* ヘッダー */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 40px; padding: 36px 5%;
}
.logo { font-family: var(--serif-en); font-weight: 300; font-size: 34px; letter-spacing: 0.32em; color: var(--ink); line-height: 1.2; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 40px; font-family: var(--serif-en); font-size: 17px; letter-spacing: 0.2em; }
.site-nav a { padding: 12px 0; border-bottom: 1px solid transparent; }
.site-nav a[aria-current] { color: var(--ink-strong); border-bottom-color: var(--line-strong); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); align-items: center; justify-content: flex-end; cursor: pointer; }

.site-footer {
  margin-top: 160px; display: flex; justify-content: flex-end; padding: 20px 5% 28px;
  font-family: var(--serif-en); font-size: 14px; letter-spacing: 0.18em; color: var(--muted);
}
.is-home .site-footer { margin-top: 0; }

/* 共通 */
.page { max-width: 1160px; margin: 0 auto; padding: 56px 5% 0; display: flex; flex-direction: column; gap: 88px; }
.page.narrow { max-width: 760px; gap: 72px; }
.page-title { margin: 0; font-family: var(--serif-en); font-weight: 300; font-size: 26px; letter-spacing: 0.28em; }
.section-title { margin: 0; font-family: var(--serif-en); font-weight: 300; font-size: 21px; letter-spacing: 0.24em; }
.prose { margin: 0; font-family: var(--serif-jp); font-size: 15px; letter-spacing: 0.1em; line-height: 2.3; }
.empty { font-family: var(--serif-jp); font-size: 14px; letter-spacing: 0.14em; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.14em; color: var(--muted); white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sold); flex: none; }
.dot-open { background: var(--open); }
.dot-closed { background: var(--line-strong); }
.inline-link, .text-link { border-bottom: 1px solid var(--line-strong); }
.text-link { align-self: flex-start; padding: 12px 0; font-size: 13px; letter-spacing: 0.12em; }
.button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 0 24px; border: 1px solid var(--ink); background: transparent;
  color: var(--ink); font: inherit; font-size: 14px; letter-spacing: 0.16em; cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.button:hover { background: var(--ink); color: var(--ground); }

/* HOME */
@keyframes culaFade { from { opacity: 0; } to { opacity: 1; } }
.home { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 8px 5% 40px; }
.home-work { display: block; width: min(72%, 400px); animation: culaFade 2.8s ease-out both; }
.home-work img { width: 100%; box-shadow: 0 24px 60px rgba(90, 70, 60, 0.10); }
.home-caption { display: flex; gap: 20px; align-items: baseline; font-family: var(--serif-jp); font-size: 14px; letter-spacing: 0.18em; color: var(--ink-soft); animation: culaFade 2.8s ease-out 1.2s both; }
.home-caption .year { font-family: var(--serif-en); font-size: 15px; color: var(--muted); }

/* WORKS */
.works-grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 96px 80px; }
.work-card { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.work-card img { width: 100%; }
.work-card.scale-l { flex: 0 1 760px; margin-left: auto; }
.work-card.scale-m { flex: 0 1 440px; }
.work-card.scale-s { flex: 0 1 240px; }
.work-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.work-title { font-family: var(--serif-jp); font-size: 15px; letter-spacing: 0.16em; color: var(--ink); }

/* 作品詳細 */
.work { gap: 140px; }
.work-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px 96px; }
.work-image { flex: 999 1 420px; min-width: 0; display: flex; justify-content: center; }
.work-image .zoomable { max-width: 560px; }
.work-image img { box-shadow: 0 24px 60px rgba(90, 70, 60, 0.10); }
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.zoomable img { width: 100%; }
.work-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 36px; padding-bottom: 8px; }
.work-heading { display: flex; flex-direction: column; gap: 10px; }
.work-heading h1 { margin: 0; font-family: var(--serif-jp); font-weight: 400; font-size: 30px; letter-spacing: 0.14em; line-height: 1.6; }
.title-en { font-family: var(--serif-en); font-size: 18px; letter-spacing: 0.12em; color: var(--muted); }
.work-facts { margin: 0; display: grid; grid-template-columns: 88px 1fr; gap: 14px 16px; font-size: 14px; letter-spacing: 0.08em; line-height: 1.7; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-facts dt { color: var(--muted); }
.work-facts dd { margin: 0; }
.work-actions { display: flex; flex-direction: column; gap: 16px; }
.sold-note { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.14em; color: var(--ink-soft); }
.details { display: flex; flex-direction: column; gap: 72px; }
.detail { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.detail img { aspect-ratio: 16 / 9; object-fit: cover; }
.detail figcaption { font-family: var(--serif-en); font-size: 15px; letter-spacing: 0.2em; color: var(--muted); }
.detail figcaption span { font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; margin-left: 0.8em; }
.others { display: flex; flex-direction: column; gap: 56px; }
.others .works-grid { justify-content: flex-start; gap: 64px 96px; }
.others .work-card.scale-l { flex-basis: 540px; margin-left: 0; }
.others .work-card.scale-m { flex-basis: 320px; }
.others .work-card.scale-s { flex-basis: 220px; }

/* 拡大表示 */
.zoom { position: fixed; inset: 0; z-index: 20; background: var(--ground); overflow: auto; -webkit-overflow-scrolling: touch; }
.zoom-stage { min-width: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; }
.zoom-stage img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; cursor: zoom-in; }
.zoom.actual .zoom-stage { display: block; width: max-content; height: max-content; }
.zoom.actual .zoom-stage img { max-width: none; max-height: none; cursor: zoom-out; }
.zoom-close { position: fixed; top: 16px; right: 16px; z-index: 21; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(247, 245, 241, 0.85); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
body.zoom-open { overflow: hidden; }

/* ABOUT */
.about { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px 112px; }
.about-image { flex: 1 1 320px; min-width: 0; max-width: 420px; }
.about-image img { width: 100%; }
.about-body { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 72px; }
.about-body section { display: flex; flex-direction: column; gap: 24px; }
.about-name > div { display: flex; align-items: baseline; gap: 20px; }
.about-name .name { font-family: var(--serif-en); font-weight: 300; font-size: 40px; letter-spacing: 0.3em; line-height: 1.3; }
.about-name .reading { font-size: 13px; letter-spacing: 0.2em; color: var(--muted); }
.exhibitions { margin: 0; display: grid; grid-template-columns: 88px 1fr; gap: 16px 24px; font-size: 14px; letter-spacing: 0.1em; line-height: 1.8; padding-top: 24px; border-top: 1px solid var(--line); }
.exhibitions dt { font-family: var(--serif-en); font-size: 16px; color: var(--muted); }
.exhibitions dd { margin: 0; }

/* ORDER / CONTACT */
.intro { display: flex; flex-direction: column; gap: 36px; }
.intro-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.intro-head .status { color: var(--ink-soft); }
.steps { display: flex; flex-wrap: wrap; gap: 32px 40px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps > div { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.step-no { font-family: var(--serif-en); font-size: 22px; color: var(--muted); line-height: 1.2; }
.step-title { font-family: var(--serif-jp); font-size: 15px; letter-spacing: 0.14em; }
.step-text { font-size: 13px; letter-spacing: 0.06em; line-height: 1.9; color: var(--ink-soft); }
.form { margin: 0; display: flex; flex-direction: column; gap: 36px; }
.form .button { align-self: flex-start; gap: 48px; }
.field-row { display: flex; flex-wrap: wrap; gap: 36px 40px; }
.field-row .field { flex: 1 1 240px; }
.field-row.three .field { flex-basis: 180px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; letter-spacing: 0.12em; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select {
  height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 16px; width: 100%;
}
.field textarea {
  padding: 14px; border: 1px solid var(--field-line); border-radius: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 16px; line-height: 1.8; resize: vertical; width: 100%;
}
.field input[type="file"] { min-height: 44px; font: inherit; font-size: 14px; color: var(--ink-soft); }
.field ::placeholder { color: var(--field-line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 14px 16px; border: 1px solid var(--sold); color: #8C3B32; font-size: 14px; letter-spacing: 0.06em; }
.thanks { margin: 0; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif-jp); font-size: 15px; letter-spacing: 0.1em; line-height: 2.3; }

/* スマホ */
@media (max-width: 720px) {
  .site-header { padding: 20px 24px 12px; flex-wrap: nowrap; }
  .logo { font-size: 28px; }
  .menu-button { display: flex; position: relative; z-index: 12; }
  .site-nav {
    display: none; position: fixed; inset: 0; z-index: 11; background: var(--ground);
    flex-direction: column; justify-content: center; align-items: center; gap: 20px; font-size: 22px;
  }
  .nav-open .site-nav { display: flex; }
  .nav-open { overflow: hidden; }
  .site-footer { margin-top: 96px; padding: 8px 24px 20px; font-size: 13px; }
  .page { padding: 28px 24px 0; gap: 56px; }
  .page.narrow { gap: 56px; }
  .home { gap: 24px; padding: 0 24px 24px; }
  .home-work { width: min(78%, 320px); }
  .home-caption { font-size: 13px; gap: 16px; }
  .works-grid { gap: 64px 24px; }
  .work-card.scale-l, .work-card.scale-m { flex: 0 0 100%; margin-left: 0; }
  .work-card.scale-s { flex: 0 0 58%; }
  .work { gap: 88px; }
  .work-top { gap: 44px; }
  .work-heading h1 { font-size: 24px; }
  .title-en { font-size: 16px; }
  .work-facts { grid-template-columns: 76px 1fr; padding: 24px 0; }
  .details { margin: 0 -24px; gap: 48px; }
  .detail img { aspect-ratio: 4 / 3; }
  .detail figcaption { padding: 0 24px; font-size: 14px; }
  .others { gap: 40px; }
  .others .works-grid { gap: 48px 24px; }
  .others .work-card.scale-l, .others .work-card.scale-m { flex: 0 0 100%; }
  .others .work-card.scale-s { flex: 0 0 160px; }
  .about { gap: 48px; }
  .about-body { gap: 56px; }
  .about-name .name { font-size: 32px; }
  .form .button { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .home-work, .home-caption { animation: none; }
  .button { transition: none; }
}
