@charset "UTF-8";
@font-face { font-family: "Carlito"; src: url(fonts/carlito-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Carlito"; src: url(fonts/carlito-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --ink: #111;
  --paper: #fff;
  --pale: #f2f2f2;
  --accent: #ff2277;
  --box: 3px;
  --gap: 24px;
  --line: 2px;
  --left: 340px;
  --pad: 22px;
  --pad-top: 30px;
  --head-h: 130px;
  --corner-w: 120px;
  --corner-h: 170px;
  --photo-scale: .85;
  --fs-l: 22px;
  --fs-m: 15px;
  --fs-s: 14px;
  --fs-name: 23px;
  --fs-menu: 19px;
  --font-ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", sans-serif;
  --font-latin: "Carlito", Calibri, Arial;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink);
  font-family: var(--font-ja); font-size: var(--fs-m); line-height: 1.9;
  background: var(--paper) url(img/bg-manga.png) repeat;
  border-top: 2.5px solid var(--ink); border-left: 2.5px solid var(--ink);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
h1, h2, h3, .item-title, .ex-title, .wide-words, figcaption, .pager span, .work-events a, .w-body, .ext-name { word-break: auto-phrase; }
body { text-spacing-trim: trim-start; }
h1, h2, h3 { font-weight: 400; }
button { font: inherit; color: inherit; }
.site {
  display: grid;
  grid-template-columns: var(--left) minmax(0, 1fr);
  grid-template-areas:
    "head  head"
    "wide  wide"
    "side  main"
    "foot  foot";
  grid-template-rows: auto auto 1fr auto;
  gap: var(--gap); padding: var(--gap);
  position: relative; min-height: 100vh; max-width: 1220px;
}
.head, .wide, .side, .main, .footer, .corner {
  background: var(--paper); border: var(--box) solid var(--ink);
}
.head {
  grid-area: head; position: relative; overflow: hidden;
  height: var(--head-h);
  margin-right: calc(var(--corner-w) + var(--gap));
}
.head-logo { position: absolute; left: 0; top: 0; }
.head-logo img { width: 145px; height: auto; }
.head-name {
  position: absolute; left: 150px; bottom: 10px;
  font-family: var(--font-latin); font-size: var(--fs-name); line-height: 1; letter-spacing: 6px;
}
.menu {
  position: absolute; top: 8px; right: 12px;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 26px;
  font-family: var(--font-latin); font-size: var(--fs-menu); line-height: 1.2;
}
.menu-item[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.lang {
  position: absolute; right: 12px; bottom: 10px; margin: 0;
  font-family: var(--font-latin); font-size: 15px; line-height: 1; white-space: nowrap;
}
.lang a[aria-current="true"] { text-decoration: underline; text-underline-offset: 4px; }
.lang a:active { color: var(--accent); }
.corner {
  position: absolute; top: var(--gap); right: var(--gap); z-index: 2;
  width: var(--corner-w); height: var(--corner-h);
  background: var(--paper) url(img/logo-corner.jpg) no-repeat left top / 145px auto;
}
.corner:hover { background-image: url(img/logo-corner-on.jpg); }
.corner a { display: block; width: 100%; height: 100%; }
.side { grid-area: side; min-width: 0; padding: var(--pad-top) var(--pad) 48px; }
.main { grid-area: main; min-width: 0; padding: var(--pad-top) var(--pad) 64px; }
.page-work .main, .page-works .main, .page-exhibitions .main, .page-writings .main, .page-profile .main, .page-404 .main {
  padding-top: calc(var(--corner-h) - var(--head-h) - var(--gap) + 12px);
}
.footer { grid-area: foot; padding: 4px 12px; font-size: 15px; text-align: right; }
@media (min-width: 971px) {
  .page-work .side, .page-exhibitions .side, .page-writings .side, .page-profile .side, .page-404 .side { align-self: start; padding-bottom: 10px; }
}
.side-title {
  font-family: var(--font-latin), var(--font-ja); font-size: var(--fs-l); line-height: 1;
  letter-spacing: .06em; margin: 0 0 10px;
}
.side-label { font-size: var(--fs-s);font-size:14px; font-weight: 700; line-height: 0.7; margin: 15px 0 8px -4px; }
.side-note { display:none; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { font-size: var(--fs-s); line-height: 1.6; }
@media (min-width: 971px) {
  .side-links li + li { margin-top: 4px; }
}
.main-title { font-size: var(--fs-l); line-height: 1.3; margin: 0 0 18px; }
.note { font-size: var(--fs-s); }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.nf-links { list-style: none; margin: 24px 0 0; padding: 0; }
.nf-links li + li { margin-top: 8px; }
.nf-links a { text-decoration: underline; text-underline-offset: 3px; }
.wide { grid-area: wide; display: none; overflow: hidden; }
.page-top .wide { margin-right: calc(var(--corner-w) + var(--gap)); }
.page-top .wide { display: block; }
.wide-pics { display: flex; width: 100%; aspect-ratio: 3 / 1; max-height: 55vh; overflow: hidden; }
.wide-cell { display: block; flex: 1 1 0; min-width: 0; height: 100%; }
.wide-cell + .wide-cell { border-left: var(--line) solid var(--ink); }
.wide-cell img { width: 100%; height: 100%; object-fit: cover; }
.wide-words { margin: 0; text-align: right; padding: 12px var(--pad); font-size: 12px; line-height: 1.8; border-top: var(--line) solid var(--ink); }
@media (max-width: 699px) {
  .wide-words { text-align: left; }
}
.wide-intro { margin: 0; padding: 12px var(--pad) 0; font-family: var(--font-latin); font-size: 16px; font-weight: bold; line-height: 1.6; border-top: var(--line) solid var(--ink); }
.wide-intro + .wide-words { border-top: 0; padding-top: 0; }
.news-item { margin-bottom: 26px; font-size: var(--fs-s); line-height: 1.9; }
.news-item h3 { font-size: var(--fs-m); font-weight: 700; line-height: 1.6; margin: 0 0 8px; }
.news-item p { margin: 0 0 8px; }
.news-item .news-date { margin: 0 0 4px; }
.news-item a { text-decoration: underline; text-underline-offset: 3px; }
.side-more { border-top: var(--line) solid var(--ink); padding-top: 28px; }
.side-more .side-title { margin: 0 0 24px; }
.side-more .side-title:not(.side-chara) a { display: block; }
.side-thumbs { list-style: none; margin: -8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.side-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-chara a { display: flex; justify-content: space-between; align-items: center; }
.side-chara-img { flex: none; }
.side-chara-top a { align-items: flex-start; }
.side-chara-top .side-chara-img { margin-top: .1em; }
.side-inu { position: relative; top: 10px; }
.side-ext { border-top: var(--line) solid var(--ink); padding-top: 28px; margin-top: 36px; }
.ext-list { list-style: none; margin: 0; padding: 0; }
.ext-list li { margin: 0 0 16px; font-size: var(--fs-s); line-height: 1.7; }
.ext-list li:last-child { margin-bottom: 0; }
.ext-name { display: block; font-size: var(--fs-m); font-weight: 700; line-height: 1.6; }
.ext-note, .ext-go { display: block; }
.ext-go a + a { margin-left: 1.2em; }
a.ext-name, .ext-go a { text-decoration: underline; text-underline-offset: 3px; }
a.ext-note { text-decoration: none; }
.page-top .side { align-self: start; padding-bottom: 22px; }
.side-copy { margin: 41px 0 0; font-family: var(--font-latin), var(--font-ja); font-size: var(--fs-s); line-height: 1.4; }
.page-top .site { padding-bottom: 40vh; }
.more { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 36px 0 0; }
.more a { text-decoration: underline; text-underline-offset: 4px; }
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, min(400px, calc((100% - 20px) / 2))); gap: 28px 20px;
}
.item > a { display: block; }
.item > a:hover { text-decoration: none; }
.item > a:hover .item-title, .item > a:hover .item-year { color: var(--accent); }
.item-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pale); }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.item > a:hover .item-img img { transform: scale(1.03); }
img.framed { outline: 1px solid var(--ink); outline-offset: -1px; }
.item-img.framed, .ex-img.framed { position: relative; }
.item-img.framed::after, .ex-img.framed::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--ink); pointer-events: none; }
.no-image { display: flex; height: 100%; align-items: center; justify-content: center; font-size: var(--fs-s); }
.item-card { container-type: inline-size; background: var(--paper); }
.title-card {
  display: flex; height: 100%; align-items: center; justify-content: center; padding: 8%;
  border: 1px solid var(--ink); font-size: 28px; font-size: 11cqi; line-height: 1.35; text-align: center; word-break: auto-phrase;
}
.item > a:hover .title-card { color: var(--accent); }
.item-year { display: block; font-size: var(--fs-s); line-height: 1.4; margin-top: 8px; }
.item-title { display: block; font-size: var(--fs-s); line-height: 1.6; margin-top: 6px; }
.item-year + .item-title { margin-top: 2px; }
.grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
@media (min-width: 1600px) {
  .grid-large { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
}
.grid-large .item-title { font-size: var(--fs-m); }
.year-group { margin-bottom: 40px; scroll-margin-top: 16px; }
.year-label { font-family: var(--font-latin), var(--font-ja); font-size: var(--fs-l); line-height: 1; margin: 0 0 16px; }
.filter-buttons { list-style: none; margin: 0; padding: 0; }
.filter-buttons button {
  font-size: var(--fs-s); line-height: 1.6; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 1px 6px; margin-left: -6px;
}
.filter-buttons button:hover { color: var(--accent); }
.filter-buttons button[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.filter-buttons button[aria-pressed="true"]:hover { color: var(--paper); }
.count { display: none; }
.year-index { position: sticky; top: 16px; }
.year-index ul {
  list-style: none; margin: 0 0 0 -5px; padding: 0;
  display: grid; grid-template-columns: repeat(4, max-content); gap: 2px 4px;
  font-family: var(--font-latin), var(--font-ja); font-size: var(--fs-s);
}
.year-index a { display: block; padding: 1px 5px; }
.year-index a[aria-current="true"] { background: var(--accent); color: var(--paper);  text-decoration: none; }
.year-index a.is-empty { opacity: .25; pointer-events: none; }
.work-id { font-family: var(--font-latin), var(--font-ja); font-size: var(--fs-s); margin: 0 0 12px; }
.work-data { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 4px 10px; margin: 0; font-size: var(--fs-s); line-height: 1.7; }
.work-data dt { font-weight: 700; }
.work-data dd { margin: 0; }
.news-item p, .work-data dd { word-break: keep-all; overflow-wrap: anywhere; }
.work-data a, .work-events a { text-decoration: underline; text-underline-offset: 3px; }
.work-events { list-style: none; margin: 0; padding: 0; font-size: var(--fs-s); line-height: 1.7; }
.work-events li { margin-bottom: 10px; }
.pager { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; padding-top: 14px; border-top: var(--line) solid var(--ink); font-size: var(--fs-s); line-height: 1.6; }
.work-title { font-size: var(--fs-l); line-height: 1.4; margin: 0 0 22px; }
.work-sub { display: none; }
@media (max-width: 970px) {
  .work-title:has(+ .work-sub) { margin-bottom: 6px; }
  .work-sub { display: block; font-size: var(--fs-s); line-height: 1.6; margin: 0 0 20px; }
}
.work-textpage .work-text p { text-indent: 0; }
.work-pics { width: calc(100% * var(--photo-scale)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-bottom: 34px; }
.work-pics figure, .video { margin: 0; }
:where(.work-pics figure:first-child) { grid-column: 1 / -1; }
.work-pics figure { --ph: calc(80vh * var(--photo-scale)); }
.work-pics img { width: min(var(--photo-w), calc(var(--ph) * var(--photo-ratio))); height: auto; }
.work-pics figure > a { display: block; width: fit-content; max-width: 100%; }
.photo-open { cursor: zoom-in; }
.manga-bar { display: flex; margin: -16px 0 34px; font-size: var(--fs-s); }
.work-pics figcaption, .video figcaption { font-size: var(--fs-s); line-height: 1.6; margin-top: 6px; }
.pics-credit { grid-column: 1 / -1; margin: 0; font-size: var(--fs-s); line-height: 1.6; text-align: right; }
.work-audio { display: block; width: 100%; max-width: 360px; height: 36px; margin-top: 8px; }
.work-videos { display: grid; gap: 26px; margin-bottom: 34px; }
.video-frame { aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.work-text { max-width: 52em; font-size: var(--fs-m); line-height: 2.3; }
.work-text p { margin: 0 0 1.2em; text-indent: 1em; }
.work-text ol, .work-text ul { margin: 0 0 1.2em; padding-left: 2em; }
.work-text h2, .work-text h3 { font-size: var(--fs-m); font-weight: 700; margin: 1.8em 0 .6em; }
.work-text a { text-decoration: underline; text-underline-offset: 3px; }
.ev-works { margin: 0 0 34px; }
.ev-works-title { font-size: var(--fs-s); font-weight: 700; line-height: 1.4; margin: 0 0 12px; }
.work-links { list-style: none; margin: 26px 0 0; padding: 0; }
.work-links li { margin-bottom: 4px; }
.work-links a { text-decoration: underline; text-underline-offset: 3px; }
.work-links a::before { content: "→ "; display: inline-block; white-space: pre; }
.book { margin-bottom: 38px; }
.book-view { display: flex; align-items: center; gap: 6px; user-select: none; }
.book-spread { flex: 1; min-width: 0; display: flex; justify-content: center; align-items: flex-start; cursor: zoom-in; touch-action: pan-y; }
.book-spread img { width: auto; max-width: 100%; max-height: 78vh; border: 1px solid var(--ink); background: var(--pale); }
.book-spread.is-spread img { max-width: 50%; }
.book-spread.is-spread img + img { margin-left: -1px; }
.book-prev, .book-next { background: none; border: 0; padding: 10px 4px; font-size: var(--fs-l); line-height: 1; cursor: pointer; }
.book-prev:disabled, .book-next:disabled { opacity: .2; cursor: default; }
.book-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 10px 0 18px; font-size: var(--fs-s); }
.book-read { border: 1px solid var(--ink); padding: 2px 12px;
             font-size: 13px; word-break: auto-phrase; }
html:not(.js) .book-view { display: none; }
.book-pdf { text-decoration: underline; text-underline-offset: 3px; }
.book-label { font-size: var(--fs-s); font-weight: 700; margin: 0 0 8px; }
.book-title { font-size: var(--fs-m); font-weight: 700; margin: 0 0 10px; }
.book-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.book-thumbs img { width: 100%; border: 1px solid var(--ink); }
.book-thumbs a[aria-current="true"] img { outline: 3px solid var(--ink); outline-offset: 1px; }
.book-zoom { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: hidden; }
.book-zoom[open] { display: block; }
.book-zoom::backdrop { background: var(--paper); }
.zoom-inner { height: 100%; display: flex; flex-direction: column; padding: 0 16px 8px; background: var(--paper); }
.zoom-bar { position: relative; flex: none; height: 40px; display: flex; justify-content: center; align-items: center; gap: 14px; font-family: var(--font-latin), var(--font-ja); user-select: none; }
.zoom-bar button { background: none; border: 0; padding: 6px 10px; font-size: var(--fs-l); line-height: 1; cursor: pointer; }
.zoom-bar button:disabled { opacity: .2; cursor: default; }
.zoom-bar .zoom-close { position: absolute; right: -6px; top: 0; font-size: 32px; }
.zoom-bar .zoom-full { position: absolute; left: 0; top: 8px; border: 1px solid var(--ink); padding: 2px 12px; font-size: var(--fs-s); line-height: 1.5; }
.zoom-bar .zoom-full[hidden] { display: none; }
.zoom-spread { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: center; cursor: pointer; touch-action: pan-y; user-select: none; }
.zoom-spread img { flex: none; max-width: none; border: 1px solid var(--ink); background: var(--pale); }
.zoom-spread img + img { margin-left: -1px; }
.book[data-pan] .zoom-spread { cursor: zoom-in; }
.zoom-spread.is-zoomed { position: relative; overflow: hidden; touch-action: none; cursor: zoom-out; }
.zoom-spread.is-zoomed .zoom-pan { position: absolute; left: 0; top: 0; display: flex; }
body:has(.book-zoom[open]) { overflow: hidden; }
.zoom-body { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; touch-action: manipulation; user-select: none; }
.zoom-body { cursor: zoom-out; }
.zoom-photo { flex: none; display: flex; }
.zoom-photo img { flex: none; max-width: none; }
.zoom-photo.is-pan img { cursor: zoom-in; }
.zoom-photo.is-zoomed { position: relative; overflow: hidden; touch-action: none; }
.zoom-photo.is-zoomed img { position: absolute; left: 0; top: 0; cursor: zoom-out; }
.zoom-caption { flex: none; margin: 8px 0 0; font-size: var(--fs-s); line-height: 1.6; text-align: center; cursor: auto; user-select: text; }
.zoom-caption:empty { display: none; }
.zoom-audio { flex: none; display: flex; justify-content: center; margin-top: 8px; cursor: auto; }
.zoom-audio .work-audio { margin-top: 0; width: 360px; max-width: 100%; }
body.page-read { background: var(--paper); }
.page-read .site { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "main" "foot"; grid-template-rows: auto 1fr auto; }
.page-read .head { margin-right: 0; }
.page-read .main { border: 0; padding: 0; background: none; }
.read-title { font-size: var(--fs-l); line-height: 1.3; margin: 6px 0 6px; }
.read-title span { font-size: var(--fs-m); }
.read-bar { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 22px; font-size: var(--fs-s); }
.read-bar a { text-decoration: underline; text-underline-offset: 3px; }
.read-pages + .read-bar, .read-body + .read-bar, .read-manga + .read-bar { margin: 28px 0 0; }
.read-pages, .read-spread { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.read-spread { width: 100%; }
.read-spread img { border: 1px solid var(--ink); }
.read-spread img { scroll-margin-top: var(--gap); }
@media (min-width: 1700px) and (orientation: landscape) {
  .read-spread { flex-direction: row; justify-content: center; align-items: flex-start; gap: 0; }
  .read-spread img { width: auto; max-width: 50%; max-height: calc(100vh - 2 * var(--gap)); }
  .read-spread img + img { margin-left: -1px; }
}
.read-text { max-width: 50em; margin: 0 auto; font-size: var(--fs-m);
              overflow-x: clip; }
.read-note { font-size: var(--fs-s); margin: -10px 0 22px; }
.read-body { line-height: 2; }
.read-body p { margin: 0; }
.read-gap { height: 2em; }
.read-center { text-align: center; }
.read-right { text-align: right; }
.read-body .read-pageno { display: flex; align-items: center; gap: 10px; margin: 2.1em 0 1em; font-family: var(--font-latin); font-size: var(--fs-s); line-height: 1; scroll-margin-top: var(--gap); }
.read-body .read-pageno:first-child { margin-top: 0; }
.read-pageno::before { content: ""; flex: 1; border-top: 1px solid var(--ink); }
.read-image { margin: 0; text-align: center; }
.read-image img { max-width: 100%; height: auto; margin: 0 auto; }
.read-figs { display: flex; justify-content: center; align-items: flex-end; gap: 16px; margin: 1em 0; }
.read-fig { flex: 0 1 auto; min-width: 0; margin: 0; }
.read-fig img { width: 100%; height: auto; }
.read-fig figcaption { font-size: var(--fs-s); line-height: 1.6; margin-top: 4px; }
.read-manga { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.read-manga figure { margin: 0; max-width: 100%; scroll-margin-top: var(--gap); }
.read-manga img { max-width: 100%; height: auto; }
.read-manga figcaption { font-size: var(--fs-s); line-height: 1.6; margin-top: 8px; }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--ink); scroll-margin-top: 16px; }
.ex:first-child { padding-top: 0; }
.ex:target { background: var(--pale); }
.ex-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pale); }
.ex-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.ex-img:hover img { transform: scale(1.03); }
.ex-img.ex-noimg { background: none; }
.ex-body > span { display: block; }
.ex-year, .ex-venue, .ex-date, .ex-works, .ex-link { font-size: var(--fs-s); line-height: 1.7; }
.ex-works { font-size: 15px; font-weight: 700; margin-top: 2px; }
.ex-title { font-size: var(--fs-m); line-height: 1.6; margin: 2px 0 4px; }
.ex-official { font-size: var(--fs-s); white-space: nowrap; }
.ex-works a, .ex-link a { text-decoration: underline; text-underline-offset: 3px; }
.writing-sec { margin-bottom: 40px; scroll-margin-top: 16px; }
.writing-list { list-style: none; margin: 0; padding: 0; }
.writing-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink); }
.writing-list li:first-child { padding-top: 0; }
.w-body a, .ex-title a { text-decoration: underline; text-underline-offset: 3px; }
.w-links { margin-left: 1em; font-size: var(--fs-s); }
.w-links.w-part { font-size: inherit; }
.w-src { font-size: var(--fs-s); }
.profile { max-width: 52em; margin-bottom: 44px; }
.profile-name { font-size: var(--fs-l); line-height: 1.3; margin: 0 0 18px; }
.profile-name span { font-family: var(--font-latin), var(--font-ja); margin-left: .7em; letter-spacing: 0.4px; }
.profile p, .profile li { line-height: 2.3; }
.profile p { margin: 0 0 1em; }
.profile p, .profile li { overflow-wrap: break-word; }
.profile a, #contact a { text-decoration: underline; text-underline-offset: 3px; }
#contact .main-title { font-family: var(--font-latin), var(--font-ja); letter-spacing: .06em; }
#bio, #history, #contact { scroll-margin-top: 16px; }
#history { margin-bottom: 44px; }
.ex-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.ex-table th, .ex-table td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--ink); }
.ex-table th { width: 4.5em; font-weight: 400; font-family: var(--font-latin), var(--font-ja); }
.ex-table td:last-child { width: 6em; white-space: nowrap; }
@media (max-width: 1100px) {
  .ex { grid-template-columns: 130px minmax(0, 1fr); }
}
@media (max-width: 970px) {
  :root { --fs-l: 19px; --fs-m: 15px; --fs-s: 13px; --pad: 16px; --pad-top: 10px; --fs-name: 19px; --fs-menu: 16px;
          --gap-left: 8px; --gap-right: 3px;
          --photo-scale: 1; }
  .site {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "wide" "main" "side" "foot";
    padding: var(--gap) var(--gap-right) var(--gap) var(--gap-left);
  }
  .page-works .site, .page-exhibitions .site, .page-writings .site, .page-profile .site{ grid-template-areas: "head" "side" "main" "foot"; }
  .corner { display: none; }
  .page-top .wide { margin-right: 0; }
  .head { margin-right: 0; height: auto; min-height: 122px; padding: 12px 12px 12px 96px; overflow: hidden; }
  .head-logo img { width: 80px; }
  .head-name { position: static; display: block; letter-spacing: 4px; margin-bottom: 10px; }
  .menu { position: static; justify-content: flex-start; gap: 8px 16px; margin-bottom: 10px; }
  .lang { position: static; }
  .page-work .main, .page-works .main, .page-exhibitions .main, .page-writings .main, .page-profile .main, .page-404 .main { padding-top: var(--pad-top); }
  .wide-pics { aspect-ratio: 5 / 2; }
  .side { padding: var(--pad-top) var(--pad) 16px; }
  .main { padding: var(--pad-top) var(--pad) 44px; }
  .page-works .side {  line-height:17px; padding-top: 10px; padding-bottom: 10px; }
  .grid, .grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .grid-large .item-title { font-size: var(--fs-s); }
  .filter-buttons, .side-links { display: flex; flex-wrap: wrap; gap: 2px  24px; }
  .filter-buttons button { margin-left: 0; padding: 1px 3px;
                         }
  .filter-buttons:has([data-group="credit"]) { column-gap: 25px; }
  .year-index { position: static; }
  .year-index ul { display: flex; flex-wrap: wrap; margin-left: 1px; column-gap: 8.1px;}
  .work-pics { grid-template-columns: minmax(0, 1fr); }
  .book-read { font-size: 12px; }
  .work > :last-child { margin-bottom: 0; }
  .work > :has(+ dialog:last-child) { margin-bottom: 0; }
  .book-spread img { max-height: 70vh; }
  .ex { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .ex-title { font-size: var(--fs-s); }
  .ex-works { font-size: var(--fs-s); }
  .writing-list li { grid-template-columns: 44px minmax(0, 1fr); }
}
@media (max-width: 970px) {
  .head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name lang" "menu menu"; align-items: baseline; }
  .head-name { grid-area: name; justify-self: start; white-space: nowrap; }
  .lang { grid-area: lang; justify-self: end; }
  .menu { grid-area: menu; justify-self: start; display: grid; grid-template-columns: auto auto; grid-template-rows: repeat(3, auto);
          grid-auto-flow: column; margin-bottom: 0; }
  .menu-item:nth-child(n+4) { justify-self: start; }
  @supports (grid-template-columns: subgrid) {
    .head { grid-template-columns: max-content minmax(0, 1fr); }
    .head-name { margin-right: -14px; margin-left: -14px;}
    .menu { margin-left: -14px; justify-self: stretch; grid-template-columns: subgrid; column-gap: 0; }
  }
}
@media (min-width: 700px) and (max-width: 970px) {
  :root { --fs-name: 23px; --fs-menu: 19px; }
  .head { display: block; height: var(--head-h); min-height: 0; padding: 0; }
  .head-logo img { width: 145px; }
  .head-name { position: absolute; left: 150px; bottom: 10px; margin: 0; letter-spacing: 6px; }
  .menu { position: absolute; top: 8px; right: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 26px; margin: 0; }
  .lang { position: absolute; right: 12px; bottom: 10px; }
}
@media (min-width: 700px) and (max-width: 970px) {
  :root { --fs-menu: clamp(16px, calc(16px + (100vw - 700px) * 0.0214), 19px); }
  .menu { gap: 2px clamp(12px, calc(12px + (100vw - 700px) * 0.1), 26px); }
}
@media (min-width: 359px) and (max-width: 600px){
:root { --fs-l: 19px; --fs-m: 15px; --fs-s: 12.5px; --pad: 16px; --pad-top: 10px; --fs-name: 19px; --fs-menu: 16px;}
.filter-buttons:has([data-group="credit"]) { column-gap: 1.5vw; }
.filter-buttons:has([data-group="genre"]) { column-gap: 1.6vw; }}
@media (max-width: 359px) {
   :root { --fs-l: 19px; --fs-m: 15px; --fs-s: 12.5px; --pad: 16px; --pad-top: 10px; --fs-name: 19px; --fs-menu: 16px;}
  .head { grid-template-columns: minmax(0, 1fr); grid-template-areas:"name""lang" "menu" ;  }
  .lang{ margin-top: -10px; margin-right:25px}
   .head-name { margin-right: 0; margin-top: -10px;}
  .menu { margin-bottom: -12px;  justify-self: s; grid-template-columns: auto auto; column-gap: 16px; }
}
