/* 作家サイト 叩き台（TKA+AD ウェブサイト第2案の見た目に、Pace Gallery の作家ページの並びを合わせたもの） */
:root {
  --bg: #ffffff;
  --ink: #1e1e1e;
  --sub: #8a8782;
  --line: #e4e2de;
  --ph: #ecebe7;
  --gutter: min(5vw, 84px);
  --max: 1680px;
  --bar: 54px;
  --font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 24px); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s; }
a:hover { opacity: .55; }
.ul { border-bottom: 1px solid currentColor; }
.ext { width: 9px; height: 9px; margin-left: 6px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* 上の行：画面の上に固定（スクロールについてくる）。中央に並べ、いまの項目だけ黒、ほかは灰色 */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--bg); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 36px; background: linear-gradient(var(--bg), rgba(255, 255, 255, 0)); pointer-events: none; }
.topnav { height: var(--bar); display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px); padding: 0 var(--gutter); font-size: 14px; letter-spacing: .06em; white-space: nowrap; }
.topnav a { color: var(--sub); }
.topnav a:hover { color: var(--ink); opacity: 1; }
.topnav a.is-current { color: var(--ink); }
.ico { display: inline-flex; align-items: center; }
.ico svg { display: block; width: 17px; height: 17px; }
.lang { color: var(--sub); font-size: 12px; letter-spacing: .12em; }
.lang .is-current { color: var(--ink); }
.lang .sep { margin: 0 6px; }

/* 見出しの小さなラベル（日本語＋小さく英語） */
.label { font-size: 12px; font-weight: 400; letter-spacing: .16em; }
.label span, .page-title span {
  margin-left: 12px;
  font-size: 10px;
  color: var(--sub);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.more { font-size: 12px; letter-spacing: .12em; white-space: nowrap; }
.block { padding-bottom: clamp(72px, 9vw, 128px); }

/* 写真の枠（仮） */
.ph { width: 100%; aspect-ratio: 1 / 1; background: var(--ph); display: flex; align-items: center; justify-content: center; }
.ph-wide { aspect-ratio: 3 / 2; }
.ph-portrait { aspect-ratio: 4 / 5; max-width: 200px; }
.caption { margin-top: 16px; font-size: 11px; color: var(--sub); line-height: 1.8; letter-spacing: .04em; }

/* トップ：左に名前、右に大きな写真 */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 100px); }
.hero-name { font-size: clamp(32px, 4.4vw, 60px); font-weight: 500; letter-spacing: .08em; line-height: 1.3; }
.hero-sub { margin-top: 14px; font-size: 13px; color: var(--sub); letter-spacing: .2em; }
.hero-fig { display: block; }

/* トップ：左に細い欄（写真・詳細・リンク）、右に文章 */
.overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(32px, 5vw, 96px); padding-bottom: clamp(72px, 9vw, 128px); }
.ov-label { margin-top: 28px; font-size: 12px; font-weight: 500; letter-spacing: .16em; }
.ov-text { margin-top: 6px; font-size: 13px; }
.ov-lead { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; line-height: 1.75; letter-spacing: .06em; max-width: 30em; }
.ov-body { margin-top: 32px; max-width: 46em; }
.ov-body p { font-size: 14px; line-height: 2.1; letter-spacing: .03em; }
.desc-more { margin-top: 1.6em; }
.desc-more summary { display: inline-block; cursor: pointer; list-style: none; font-size: 13px; letter-spacing: .08em; line-height: 1.6; border-bottom: 1px solid var(--sub); }
.desc-more summary::-webkit-details-marker { display: none; }
.desc-more .t-close { display: none; }
.desc-more[open] .t-close { display: inline; }
.desc-more[open] .t-open { display: none; }
.desc-more[open] summary { margin-bottom: 1.6em; }

/* 作品：2列。写真の下に、題・年・材料・サイズを一行で */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 48px; align-items: start; }
.card { display: block; }

/* 展示：3列のカード */
.xgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
.xcard { display: block; }
.xtag { margin-top: 16px; font-size: 11px; color: var(--sub); letter-spacing: .12em; }
.xtitle { margin-top: 2px; font-size: 15px; }
.xsub { font-size: 12px; color: var(--sub); line-height: 1.7; }

/* 詳しいページ（展示・作品） */
.page { padding-top: clamp(24px, 4vw, 64px); }
.page-title { font-size: 20px; font-weight: 400; letter-spacing: .16em; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-label { margin-bottom: 32px; }
.work-head { margin: clamp(16px, 3vw, 40px) 0 28px; }
.work-title { font-size: 22px; font-weight: 400; letter-spacing: .1em; }
.work-hero { width: min(100%, 80vh); }
.work-body { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 96px); margin: clamp(40px, 6vw, 80px) 0; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 12px; align-content: start; }
.spec dt { color: var(--sub); white-space: nowrap; }
.desc { max-width: 50em; }
.desc p { font-size: 15px; line-height: 2.1; letter-spacing: .03em; }
.desc p + p { margin-top: 1.6em; }
.note { margin-top: 36px; font-size: 12px; color: var(--sub); line-height: 2; }
.gallery { --g: clamp(12px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--g); }
.gal-row { display: flex; gap: var(--g); align-items: flex-start; }
.gal-row .ph { flex: 1 1 0; min-width: 0; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: .14em;
  transition: background .25s, color .25s;
}
.btn:hover { opacity: 1; background: var(--ink); color: var(--bg); }

/* 過去の展示 */
.past { margin-bottom: clamp(24px, 4vw, 56px); }
.past-row { display: grid; grid-template-columns: 8em minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; }
.past-row:last-of-type { border-bottom: 1px solid var(--line); }
.past-year, .past-place { font-size: 12px; color: var(--sub); }
.past-note { margin-top: 20px; }

/* お問い合わせ */
.contact {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px 48px;
  margin-top: clamp(24px, 4vw, 56px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-text { font-size: 13px; }
.contact-link { margin-top: 16px; }
.contact-sub { margin-top: 16px; font-size: 12px; color: var(--sub); }

/* 叩き台の印（公開の前に外す） */
.tmp { font-size: 11px; color: var(--sub); letter-spacing: .08em; }

/* フッター */
.site-footer {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 32px var(--gutter) 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 32px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--sub);
  letter-spacing: .1em;
}
.foot-sns { display: flex; gap: 24px; }

@media (max-width: 1024px) {
  .grid { gap: 56px 32px; }
  .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-body, .contact { grid-template-columns: 1fr; }
  .past-row { grid-template-columns: 6em minmax(0, 1fr); }
  .past-place { grid-column: 2; }
  .hero, .overview { grid-template-columns: 1fr; }
  .hero { gap: 28px; }
}
/* 狭い画面：上の行は横にずらして見る（項目が多いため） */
@media (max-width: 900px) {
  .topnav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 28px; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav > * { flex: none; }
}
@media (max-width: 600px) {
  body { font-size: 13px; }
  .grid, .xgrid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .work-title { font-size: 18px; }
  .gal-row { flex-direction: column; }
  .gal-row .ph { flex: none; width: 100%; }
  .pager { white-space: normal; }
}
