/*
Theme Name: WIJA Theme
Theme URI: https://dock.geidai.ac.jp/wija
Author: WIJA Project
Description: 「日本の女性アニメーション制作者たち」専用テーマ。
Version: 0.7.49
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: wija-theme
*/

:root {
  --wija-ink: #231815;
  --wija-text: #5d5b5b;
  --wija-accent: #918067;
  --wija-teal: #40a39e;
  --wija-cream: #f6f0e4;
  --wija-soft: #f5f5f5;
  --wija-line: #8b8988;
  --wija-max: 1100px;
  --wija-serif: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  --wija-sans: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

html[lang^="en"] {
  --wija-serif: "Noto Serif", Georgia, serif;
  --wija-sans: "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  flex-direction: column;
  color: var(--wija-ink);
  background: #fff;
  font-family: var(--wija-sans);
  line-height: 1.75;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .18em; }
main dt { font-weight: 700; }
main dd { font-weight: 400; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wija-container { width: min(calc(100% - 48px), var(--wija-max)); margin-inline: auto; }

.site-header { position: relative; z-index: 20; background: var(--wija-cream); }
.site-header__inner {
  width: min(calc(100% - 80px), 1320px); min-height: 94px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.site-branding { font-family: var(--wija-serif); font-size: 18px; font-weight: 600; }
.site-branding__short { display: none; }
.site-nav { display: flex; align-items: center; gap: 42px; font-family: var(--wija-serif); font-size: 16px; }
.site-nav a { border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: currentColor; text-decoration: none; }
.language-switcher { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.header-language-switcher { display: none; margin-left: auto; font-family: var(--wija-serif); }
.language-switcher a[aria-current="page"] { opacity: .42; }
.language-switcher__separator { width: 1px; height: 22px; background: var(--wija-ink); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 8px; font-size: 0; line-height: 1; }
.menu-toggle::before { display: block; width: 32px; height: 2px; margin: auto; background: #666; box-shadow: 0 -9px 0 #666, 0 9px 0 #666; content: ""; }

.site-header--creator-detail .site-header__inner {
  position: relative;
  width: min(calc(100% - 80px), 1320px);
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(210px, 28vw, 384px);
  align-items: end;
  gap: clamp(22px, 3.2vw, 44px);
  padding: 82px 0 34px;
}
.site-header--creator-detail .site-nav {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 94px;
}
.creator-detail-branding { width: fit-content; max-width: 100%; min-width: 0; }
.creator-detail-branding__title {
  display: block;
  font: 400 clamp(26px, 2.9vw, 42px)/1.35 var(--wija-serif);
  letter-spacing: .015em;
  white-space: nowrap;
  text-decoration: none;
}
.creator-detail-branding__title:hover, .creator-detail-branding__title:focus-visible { text-decoration: none; }
.creator-detail-branding__rainbow {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 8px;
  background: linear-gradient(90deg,#cf4359 0%,#e9a964 17%,#e7e83e 34%,#7fc54c 51%,#36a8bf 68%,#4e75d6 84%,#b23bc5 100%);
}
.creator-detail-logos { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(18px, 3vw, 42px); min-width: 0; }
.creator-detail-logo { display: block; flex: 1 1 0; }
.creator-detail-logo .wija-logo-link { width: 100%; }
.creator-detail-logo img { width: 100%; max-height: 82px; object-fit: contain; }

.home .site-branding { visibility: hidden; }
.wija-hero { display: flex; min-height: 0; padding: 38px 24px 44px; background: var(--wija-cream); align-items: center; }
.wija-hero__inner { width: 100%; max-width: 1034px; margin: auto; text-align: center; }
.wija-hero__title { width: min(100%, 1008px); margin-inline: auto; }
.wija-hero h1 { margin: 0; font: 500 clamp(48px, 4.2vw, 58px)/1.4 var(--wija-serif); letter-spacing: .01em; white-space: nowrap; }
.wija-title-line { display: inline; }
.wija-rainbow { height: 7px; margin: 13px auto 24px; background: linear-gradient(90deg,#e2355d,#f0bb6d 20%,#e1f412 40%,#6bc609 60%,#2c98f0 80%,#c423d9); }
.wija-hero__lead { max-width: 1008px; margin: 0 auto; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.9; color: var(--wija-text); }
.wija-hero__lead > :first-child { margin-top: 0; }
.wija-hero__lead > :last-child { margin-bottom: 0; }
.wija-hero__lead a { text-decoration: underline; text-underline-offset: .18em; }
.wija-hero__logos { display: flex; justify-content: center; align-items: center; gap: 58px; margin-top: 38px; }
.wija-hero__logos img { object-fit: contain; }
.wija-logo-link { display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.wija-hero__logos .wija-logo { width: 200px; }
.wija-hero__logos .dock-logo { width: 188px; }

.creator-archive-heading { position: relative; padding-bottom: 40px; border-bottom: 1px solid var(--wija-line); }
.section-heading { padding: 43px 0 32px; text-align: center; color: var(--wija-accent); }
.section-heading h2 { margin: 0; font: 600 40px/1.3 var(--wija-serif); }
.section-heading p { margin: 3px 0 0; font: 700 18px/1.4 var(--wija-sans); }
.archive-actions { position: absolute; right: 0; bottom: 19px; display: flex; justify-content: flex-end; gap: 14px; }
.wija-button {
  min-width: 184px; min-height: 32px; padding: 5px 20px; border: 1px solid var(--wija-accent);
  border-radius: 0; background: var(--wija-accent); color: #fff; text-align: center; font-size: 15px; font-weight: 600;
}
.archive-actions .wija-button { position: relative; display: flex; align-items: center; justify-content: center; padding-inline: 38px; cursor: pointer; }
.archive-actions .wija-button span { position: absolute; right: 14px; margin-left: 0; font-size: 21px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.archive-actions .wija-button[aria-expanded="true"] span { transform: rotate(90deg); }
.wija-button--outline { background: #fff; color: var(--wija-ink); border-color: var(--wija-ink); }
.wija-button.is-disabled { cursor: default; opacity: .52; }

.creator-search { display: none; margin: 0 0 42px; padding: 32px 34px 28px; background: #efefef; }
.creator-search.has-open-panel { display: block; }
.creator-search details > summary { display: none; }
.creator-search__section + .creator-search__section { margin-top: 26px; }
.creator-search__section h3 { margin: 0 0 16px; font: 700 22px/1.4 var(--wija-sans); }
.creator-search__keyword summary { cursor: pointer; font: 700 22px/1.4 var(--wija-sans); }
.keyword-options { margin: 0; padding: 0; border: 0; }
.keyword-options legend { margin-bottom: 10px; font-weight: 700; }
.keyword-options__list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; }
.keyword-options label { max-width: 100%; cursor: pointer; }
.keyword-options input { position: absolute; opacity: 0; pointer-events: none; }
.keyword-options label > span { display: flex; align-items: center; gap: 18px; min-width: 0; min-height: 39px; max-width: 100%; padding: 5px 14px; background: #d3d3d3; color: var(--wija-ink); font-size: 15px; transition: background-color .15s ease; }
.keyword-options__name { min-width: 0; padding: 0; overflow-wrap: anywhere; }
.keyword-options__count { flex: 0 0 auto; margin-left: auto; padding: 0; font-size: 13px; }
.keyword-options label:hover > span, .keyword-options input:checked + span { background: var(--wija-cream); color: var(--wija-ink); }
.keyword-options input:focus-visible + span { outline: 2px solid var(--wija-ink); outline-offset: 2px; }
.keyword-options__empty { margin: 0; padding: 28px; text-align: center; }
.creator-search__advanced { border: 0; padding: 0; }
.creator-search__advanced + .creator-search__advanced { margin-top: 0; }
.creator-search__advanced summary { cursor: pointer; font: 700 22px/1.4 var(--wija-sans); }
.creator-search__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
.creator-search__grid label { display: grid; grid-template-columns: minmax(150px, 190px) minmax(0, 1fr); align-items: center; gap: 0 26px; font-weight: 700; }
.creator-search__grid label > span { line-height: 1.45; }
.creator-search__grid input, .creator-search__grid select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--wija-line); border-radius: 0; background: #fff; color: var(--wija-ink); }
.creator-search__fulltext { grid-column: auto; }
.creator-search__actions { display: flex; justify-content: center; gap: 14px; margin-top: 28px; }
.creator-search__actions button { cursor: pointer; }
.search-results-count { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--wija-line); font-size: 18px; font-weight: 700; }
.creator-list-toolbar { display: flex; justify-content: flex-end; padding-top: 20px; }
.creator-thumbnail-toggle { min-width: 150px; cursor: pointer; font-size: 13px; }

.creator-groups { padding-bottom: 80px; }
.has-more-creators .site-footer { display: none; }
.creator-group { padding-top: 29px; }
.creator-group__title { margin: 0; padding: 0 0 17px; border-bottom: 2px solid var(--wija-line); font-size: 24px; font-weight: 600; line-height: 1.35; }
.creator-card { position: relative; display: grid; grid-template-columns: 144px 1fr; gap: 52px; min-height: 194px; padding: 25px 0 24px; border-bottom: 1px solid var(--wija-line); color: var(--wija-text); transition: background-color .25s ease; }
.creator-card::before { position: absolute; inset: 0 -18px; z-index: 0; background: var(--wija-cream); content: ""; opacity: 0; transition: opacity .25s ease; }
.creator-card:hover::before, .creator-card:focus-within::before { opacity: .58; }
.creator-card__image, .creator-card__body { position: relative; z-index: 1; min-width: 0; }
.creator-card__image { width: 144px; aspect-ratio: 1; background: var(--wija-accent); overflow: hidden; transition: opacity .25s ease; }
.creator-card:hover .creator-card__image, .creator-card:focus-within .creator-card__image { opacity: .82; }
.creator-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--wija-thumbnail-position, 50% 50%); transition: transform .35s ease; }
.creator-card__image--placeholder { background: #d8cdbd; }
.creator-card__image .creator-card__placeholder { position: absolute; right: 0; bottom: 0; left: 0; width: 100%; height: 91%; object-fit: contain; object-position: center bottom; }
.creator-card:hover .creator-card__image .creator-card__placeholder,
.creator-card:focus-within .creator-card__image .creator-card__placeholder { transform: none; }
.creator-card:hover .creator-card__image img, .creator-card:focus-within .creator-card__image img { transform: scale(1.025); }
.creator-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 7px; border-bottom: 3px solid var(--wija-accent); }
.creator-card__identity { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; }
.creator-card__name { margin: 0; font-size: 24px; line-height: 1.35; }
.creator-card__name a { transition: color .2s ease; }
.creator-card__name a::after { position: absolute; inset: 0; z-index: 2; content: ""; }
.creator-card:hover .creator-card__name a, .creator-card:focus-within .creator-card__name a { color: var(--wija-accent); }
.creator-card__name a:focus-visible { outline: 0; }
.creator-card__detail-link:hover, .creator-card__detail-link:focus-visible { text-decoration: none; }
.creator-card:focus-within { outline: 2px solid var(--wija-accent); outline-offset: 4px; }
.creator-card__reading { margin: 3px 0 0; font-size: 16px; font-weight: 600; }
.creator-card__lifespan { margin: 0; font-size: 20px; font-weight: 600; }
.creator-card__badge { flex: 0 0 auto; min-width: 134px; margin-top: 1px; padding: 2px 17px; border: 1px solid var(--wija-accent); color: var(--wija-accent); text-align: center; font-size: 13px; font-weight: 700; }
.creator-card__facts { display: grid; grid-template-columns: 175px 1fr; gap: 5px 30px; margin: 15px 0 0; font-size: 16px; line-height: 1.65; }
.creator-card__facts dt { font-weight: 700; }
.creator-card__facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-weight: 400; }
.creator-card__keywords a { position: relative; z-index: 3; margin-right: .45em; white-space: nowrap; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .18em; }
.creator-card__keywords a:hover, .creator-card__keywords a:focus-visible { text-decoration-color: currentColor; }
.creator-groups:not(.has-thumbnails) .creator-card { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
.creator-groups:not(.has-thumbnails) .creator-card__image { display: none; }

@media (prefers-reduced-motion: reduce) {
  .creator-card, .creator-card::before, .creator-card__image, .creator-card__image img, .creator-card__name a { transition: none; }
}
.empty-state { padding: 60px 0; text-align: center; color: var(--wija-text); }
.creator-load-controls { position: relative; display: grid; justify-items: center; gap: 10px; margin: -42px 0 80px; }
.creator-load-more { cursor: pointer; }
.creator-load-more:disabled { cursor: wait; opacity: .55; }
.creator-load-status { min-height: 1.75em; margin: 0; color: var(--wija-text); font-size: 14px; }
.creator-load-sentinel { position: absolute; bottom: 280px; width: 1px; height: 1px; pointer-events: none; }

.single-creator { padding: 78px 0 0; }
.creator-overview { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 62px; align-items: start; }
.creator-overview--no-photo { grid-template-columns: minmax(0, 1fr); }
.creator-overview__portrait,
.creator-profile__image { width: 200px; max-width: 100%; }
.creator-profile__image { background: var(--wija-accent); }
.creator-profile__image--empty { aspect-ratio: 1; }
.creator-profile__image img { width: 100%; height: auto; }
.creator-profile__credit { margin: 7px 0 0; font-size: 12px; color: var(--wija-text); }
.creator-profile__identity { color: var(--wija-text); }
.creator-profile__name-line { display: flex; align-items: baseline; gap: 46px; padding: 0 0 10px; border-bottom: 2px solid var(--wija-accent); }
.creator-profile__identity h1 { margin: 0; font-size: 30px; line-height: 1.35; color: var(--wija-text); }
.creator-profile__reading { margin: 7px 0 0; font-size: 14px; font-weight: 600; }
.creator-profile__lifespan { font-size: 16px; font-weight: 600; white-space: nowrap; }
.creator-facts { display: grid; grid-template-columns: 190px minmax(0, 1fr); margin: 64px 0 0; color: var(--wija-text); font-size: 15px; line-height: 1.65; }
.creator-facts dt, .creator-facts dd { min-height: 55px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--wija-line); }
.creator-facts dt { padding-right: 24px; font-weight: 700; }
.creator-facts dd { font-weight: 400; }
.creator-facts dd a { text-decoration: underline; text-underline-offset: .18em; }
.creator-facts dd > :first-child { margin-top: 0; }
.creator-facts dd > :last-child { margin-bottom: 0; }
.creator-profile__keywords { font-size: 15px; }
.creator-profile__keywords a { margin-right: .3em; }
.creator-related-links ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.creator-related-links li { min-width: 0; }
.creator-related-links a { display: inline-flex; align-items: baseline; gap: 12px; max-width: 100%; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; }
.creator-related-links a:hover, .creator-related-links a:focus-visible { text-decoration-color: currentColor; }
.creator-related-links a > :first-child { min-width: 0; overflow-wrap: anywhere; }
.creator-related-links__icon { flex: 0 0 auto; font-size: 17px; line-height: 1; }
.creator-related-links p { margin: 2px 0 6px; color: var(--wija-text); font-size: 13px; font-weight: 400; line-height: 1.55; }
.creator-related-links--legacy > :first-child { margin-top: 0; }
.creator-related-links--legacy > :last-child { margin-bottom: 0; }

.creator-detail-section { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 78px; align-items: start; }
.creator-biography { margin-top: 128px; }
.creator-detail-section__label { margin: 0; padding: 7px 20px 8px; border-radius: 999px; background: var(--wija-accent); color: #fff; text-align: center; font-family: var(--wija-serif); font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: .06em; }
.creator-detail-section__body { min-width: 0; color: var(--wija-ink); }
.creator-profile__summary { margin: 0; color: var(--wija-ink); font-size: 15px; line-height: 2; }
.creator-profile__summary > :first-child { margin-top: 0; }
.creator-profile__summary > :last-child { margin-bottom: 0; }
.creator-bibliography { margin-top: 34px; }
.creator-bibliography h3 { margin: 0 0 8px; font-size: 15px; }
.creator-bibliography .entry-content { font-size: 14px; line-height: 1.75; }
.creator-bibliography .entry-content ul { margin: 0; padding-left: 1.5em; }
.profile-credits { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; margin: 62px 0 0; font-size: 13px; }
.profile-credits > div { display: flex; gap: .5em; }
.profile-credits > div + div::before { margin-right: 12px; content: "|"; }
.profile-credits dt { font-weight: 700; }
.profile-credits dt::after { content: "："; }
.profile-credits dd { margin: 0; padding: 0 4px 2px; }
.profile-credits dd a { text-decoration: none; }

.interview-meta { margin-top: 110px; }
.interview-meta__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 38px; margin: 0; font-size: 14px; }
.interview-meta__item { display: grid; grid-template-columns: 145px minmax(0, 1fr); min-height: 50px; border-bottom: 1px solid var(--wija-line); }
.interview-meta__item--wide { grid-column: 1 / -1; grid-template-columns: 145px minmax(0, 1fr); }
.interview-meta__item dt, .interview-meta__item dd { margin: 0; padding: 13px 0 11px; }
.interview-meta__item dt { padding-right: 20px; font-weight: 700; }
.interview-meta__item dd { font-weight: 400; }
.creator-print-button { position: relative; display: flex; align-items: center; justify-content: center; min-width: 184px; margin: 30px 0 0 auto; padding: 7px 42px; border: 0; border-radius: 4px; background: #56514e; color: #fff; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.creator-print-button span { position: absolute; right: 16px; font-size: 20px; font-weight: 400; line-height: 1; }
.creator-print-button:hover, .creator-print-button:focus-visible { background: var(--wija-accent); }

.interview-article { padding: 50px 0 0; }
.interview-article__inner { max-width: var(--wija-max); }
.interview-article .entry-content { width: min(calc(100% - 112px), 988px); margin-inline: auto; font-size: 17px; line-height: 2; }
.entry-content > * + * { margin-top: 1.5em; }
.entry-content h2, .entry-content h3 { margin-top: 2.5em; color: #918067; font-family: var(--wija-serif); line-height: 1.5; }
.interview-article .entry-content .is-style-wija-question { margin: 28px 0; color: #918067 !important; font-weight: 700; }
.interview-article .entry-content h3 { margin: 0 0 18px; color: #918067 !important; font-weight: 700; }
.interview-article .entry-content .is-style-wija-question { font-size: inherit; }
.interview-article .entry-content h3 { font-size: 19px; }
.interview-article .entry-content h3:not(:first-child) { margin-top: 52px; }
.interview-article .entry-content > p,
.entry-content .is-style-wija-answer { margin-left: 0; margin-bottom: 0; color: var(--wija-ink); }
.entry-content .is-style-wija-question + .is-style-wija-answer { margin-top: 0; }
.entry-content .is-style-wija-answer + .is-style-wija-answer { margin-top: .75em; }
.interview-article .entry-content .is-style-wija-question { margin-left: 0; }
.interview-article .entry-content::after { display: block; clear: both; content: ""; }
.interview-reading-progress { position: fixed; z-index: 120; top: 0; right: 0; left: 0; height: 4px; background: rgba(145,128,103,.18); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.interview-reading-progress.is-active { opacity: 1; }
.interview-reading-progress__bar { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #e85471, #efb74c, #55b99f, #56a9d6, #a64bc3); transform: scaleX(0); transform-origin: left center; }
.interview-question-position { position: fixed; z-index: 110; right: 14px; bottom: 66px; margin: 0; padding: 6px 11px; border: 1px solid var(--wija-accent); border-radius: 999px; background: rgba(255,251,243,.94); color: var(--wija-ink); font-size: 12px; font-weight: 700; line-height: 1.4; opacity: 0; pointer-events: none; transform: translateY(5px); transition: bottom .15s ease, opacity .2s ease, transform .2s ease; }
.interview-question-position { display: none !important; }
.interview-question-position.is-active { opacity: 1; transform: translateY(0); }
.interview-question-position.is-footer-obscured { opacity: 0; }
.interview-answer-toggle { display: none; }
.interview-article .entry-content h2,
.interview-article .entry-content h3,
.interview-article .entry-content .is-style-wija-question { clear: both; }
.interview-article .entry-content .wp-block-image {
  clear: both;
  width: min(100% - 112px, 760px);
  margin: 38px auto 46px;
}
.interview-article .entry-content .wp-block-image img { margin-inline: auto; }
.interview-article .entry-content .wp-block-image figcaption {
  margin: 10px 0 0;
  color: var(--wija-text);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}
.interview-article .entry-content .wp-block-image.aligncenter {
  margin-inline: auto;
}
.interview-article .entry-content .wp-block-image.alignleft,
.interview-article .entry-content .wp-block-image.alignright {
  clear: none;
  width: min(42%, 380px);
  margin-top: 10px;
  margin-bottom: 24px;
}
.interview-article .entry-content .wp-block-image.alignleft {
  float: left;
  margin-right: 32px;
  margin-left: 0;
}
.interview-article .entry-content .wp-block-image.alignright {
  float: right;
  margin-right: 0;
  margin-left: 32px;
}
.entry-content a { text-decoration: underline; text-underline-offset: .18em; }
.entry-content .wp-block-footnotes { margin: 72px 0 0; padding-top: 24px; border-top: 1px solid var(--wija-line); font-size: 14px; }
.single-navigation { display: grid; grid-template-columns: repeat(3, 190px); justify-content: center; gap: 36px; margin: 118px 0 92px; }
.single-navigation a, .single-navigation__placeholder { min-height: 42px; }
.single-navigation a,
.pagination a.prev,
.pagination a.next { position: relative; display: flex; align-items: center; justify-content: center; min-width: 190px; min-height: 42px; padding: 7px 26px; border: 2px solid var(--wija-accent); color: var(--wija-ink); text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.single-navigation a > span,
.pagination a.prev > span,
.pagination a.next > span { position: absolute; top: 50%; transform: translateY(-50%); }
.single-navigation__prev > span,
.pagination a.prev > span { left: 26px; }
.single-navigation__next > span,
.single-navigation__back > span,
.pagination a.next > span { right: 26px; }
.single-navigation__back { background: var(--wija-accent); color: #fff !important; }
.single-navigation a:hover, .single-navigation a:focus-visible,
.pagination a.prev:hover, .pagination a.prev:focus-visible,
.pagination a.next:hover, .pagination a.next:focus-visible { background: var(--wija-cream); color: var(--wija-ink) !important; }

.related-creators { padding: 64px 0 80px; background: #f2f2f2; }
.related-creators h2 { margin: 0 0 42px; text-align: center; font-size: 42px; color: var(--wija-text); }
.related-creators__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px; }
.related-card__image { aspect-ratio: 1; background: #d9d9d9; overflow: hidden; }
.related-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--wija-thumbnail-position, 50% 50%); }
.related-card__name { margin: 12px 0 0; padding-block: 8px; border-block: 3px solid var(--wija-line); font-size: 17px; font-weight: 700; }
.related-card__meta { margin: 7px 0; font-size: 13px; }
.related-card__link { display: block; border-top: 1px solid var(--wija-line); text-align: right; font-size: 12px; }

body > main { width: 100%; flex: 1 0 auto; }
.site-footer { flex: 0 0 auto; margin-top: auto; padding: 54px 0 22px; background: var(--wija-cream); }
.site-footer__inner { width: min(calc(100% - 80px), 1320px); margin: auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.site-footer__subtitle { white-space: nowrap; font: 500 25px/1.45 var(--wija-serif); }
.site-footer__title-line { display: inline; white-space: nowrap; }
.site-footer__branding { display: flex; align-items: flex-end; flex-direction: column; }
.site-footer__logos { display: flex; align-items: center; gap: 34px; }
.site-footer__logos .wija-logo-link { height: clamp(44px, 4.2vw, 62px); }
.site-footer__logos img { width: auto; height: clamp(44px, 4.2vw, 62px); max-width: none; object-fit: contain; }
.site-footer__supporters { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 28px; }
.site-footer__supported-by { color: var(--wija-ink); font-size: 15px; white-space: nowrap; }
.site-footer__supporter-logos { display: flex; align-items: center; gap: 16px; }
.site-footer__supporter-logos .wija-logo-link { height: 42px; }
.site-footer__supporter-logos img { width: clamp(90px, 9vw, 122px); height: 42px; max-width: none; object-fit: contain; }
.print-document-header, .print-document-footer { display: none; }
.back-to-top { position: fixed; right: 0; bottom: 0; width: 50px; height: 50px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.back-to-top img { display: block; width: 50px; height: 50px; }

.content-page { min-height: 62vh; padding-bottom: 96px; }
.section-heading--page { padding-top: 68px; padding-bottom: 52px; border-bottom: 1px solid var(--wija-line); }
.section-heading--page h1 { margin: 0; color: var(--wija-accent); font: 600 40px/1.3 var(--wija-serif); }
.page-introduction { max-width: 840px; margin: 38px auto 0; }
.page-content { max-width: 900px; margin: 0 auto; padding-top: 48px; color: var(--wija-text); font-size: 17px; }
.page-content > :first-child { margin-top: 0; }

.news-index__body { width: min(100%, 900px); margin-inline: auto; }
.news-list { margin-top: 68px; }
.news-item { position: relative; display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 26px; padding: 0 0 62px; align-items: start; }
.news-item::before { position: absolute; top: 34px; right: 0; left: 0; height: 1px; background: var(--wija-line); content: ""; }
.news-item__date { padding-top: 2px; color: var(--wija-accent); font-family: var(--wija-sans); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.news-item__content { min-width: 0; }
.news-item__title { min-height: 35px; margin: 0; color: var(--wija-ink); font-size: 16px; font-weight: 700; line-height: 1.65; }
.news-item__title a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; transition: text-decoration-color .2s ease; }
.news-item__title a:hover, .news-item__title a:focus-visible { text-decoration-color: currentColor; }
.news-item__comment { margin: 21px 0 0; color: var(--wija-ink); font-size: 15px; line-height: 1.875; }
.news-item__icon { display: inline-block; margin-left: .55em; color: var(--wija-accent); font-size: 1.05em; font-weight: 500; line-height: 1; }
.pagination { margin-top: 48px; }
.pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a:not(.prev):not(.next), .pagination .current { display: grid; min-width: 40px; min-height: 40px; padding: 6px 12px; border: 2px solid var(--wija-accent); place-items: center; }
.pagination .current { background: var(--wija-accent); color: #fff; }

.single-news { max-width: 900px; padding-top: 82px; }
.news-article__header { padding: 0 0 28px; border-bottom: 2px solid var(--wija-accent); }
.news-article__header time { color: var(--wija-accent); font-family: var(--wija-sans); font-size: 15px; font-weight: 700; }
.news-article__header h1 { margin: 14px 0 0; color: var(--wija-text); font: 600 clamp(27px, 3.2vw, 38px)/1.5 var(--wija-serif); }
.news-article__image { margin: 46px auto; }
.news-article__image img { width: 100%; }
.news-article__content { padding-top: 46px; color: var(--wija-text); font-size: 16px; line-height: 2; }
.news-article__back { margin: 72px 0 0; text-align: center; }
.news-article__back .wija-button { display: inline-block; }

@media (max-width: 900px) {
  .site-header__inner { width: min(calc(100% - 36px), 1320px); min-height: 72px; }
  .site-branding__full { display: none; }
  .site-branding__short { display: inline; }
  .site-header--creator-detail .site-header__inner {
    width: min(calc(100% - 36px), 1320px);
    min-height: 92px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 0;
  }
  .site-header--creator-detail .site-nav { top: 92px; right: 0; min-height: 0; font-size: 16px; }
  .creator-detail-branding { padding-right: 0; }
  .creator-detail-branding__title { font-size: clamp(18px, 3.4vw, 28px); white-space: nowrap; }
  .creator-detail-branding__rainbow { height: 4px; margin-top: 4px; }
  .creator-detail-logos { display: none; }
  .header-language-switcher { display: flex; margin-left: auto; }
  .site-nav .language-switcher { display: none; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; inset: 72px 0 auto; padding: 28px; background: var(--wija-cream); flex-direction: column; align-items: flex-start; }
  .site-nav.is-open { display: flex; }
  .wija-hero { padding-top: 42px; }
  html[lang^="ja"] .wija-hero h1 { font-size: clamp(24px, 4.5vw, 48px); white-space: nowrap; }
  .wija-hero__lead { font-size: 14px; }
  .wija-hero__logos { gap: 30px; }
  .creator-archive-heading { padding-bottom: 75px; }
  .archive-actions { left: 0; right: 0; justify-content: center; }
  .creator-overview { grid-template-columns: minmax(168px, 24%) minmax(0, 1fr); gap: 40px; }
  .creator-overview--no-photo { grid-template-columns: minmax(0, 1fr); }
  .creator-detail-section { grid-template-columns: minmax(210px, 30%) minmax(0, 1fr); gap: 48px; }
  .creator-facts { grid-template-columns: 150px minmax(0, 1fr); }
  .interview-meta__item { grid-template-columns: 118px minmax(0, 1fr); }
  .related-creators__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { width: min(calc(100% - 36px), 1320px); gap: 24px; }
  .site-footer__subtitle { font-size: clamp(16px, 2.4vw, 22px); white-space: nowrap; }
  .site-footer__branding { min-width: 0; max-width: 100%; }
  .site-footer__supporters { min-width: 0; max-width: 100%; }
  .site-footer__supporter-logos { min-width: 0; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .site-footer__supporter-logos .wija-logo-link { min-width: 0; }
  .site-footer__supporter-logos img { width: clamp(58px, 8vw, 90px); height: 32px; max-width: 100%; }
}

@media (max-width: 640px) {
  .site-header__inner { width: calc(100% - 16px); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  body { display: flex; min-height: 100vh; min-height: 100dvh; flex-direction: column; }
  body > main { width: 100%; flex: 1 0 auto; }
  .site-footer { flex: 0 0 auto; margin-top: auto; }
  .wija-container { width: min(calc(100% - 32px), var(--wija-max)); }
  .home .site-header__inner { min-height: 58px; }
  .home .site-nav { top: 58px; }
  .site-header--creator-detail .site-header__inner { width: calc(100% - 16px); min-height: 70px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  .site-header--creator-detail .site-nav { top: 70px; }
  .creator-detail-branding__title { font-size: clamp(12px, 4.1vw, 16px); line-height: 1.35; letter-spacing: -.06em; white-space: nowrap; }
  html[lang^="ja"] .site-header--creator-detail .creator-detail-branding__title .wija-title-line { display: inline; white-space: nowrap; }
  .creator-detail-logos { display: none; }
  .header-language-switcher { gap: 4px; margin: 0; font-size: 11.5px; }
  .header-language-switcher .language-switcher__separator { height: 16px; }
  .menu-toggle { width: 36px; height: 44px; padding: 5px; }
  .menu-toggle::before { width: 26px; }
  .wija-hero { min-height: 0; padding: 14px 16px 34px; }
  .wija-hero h1 { font-size: clamp(28px, 8.3vw, 34px); line-height: 1.45; text-align: center; white-space: nowrap; }
  html[lang^="ja"] .wija-hero h1 { font-size: clamp(14px, 4.5vw, 26px); }
  html[lang^="ja"] .wija-title-line { display: inline; white-space: nowrap; }
  .wija-hero__lead { margin-top: 20px; }
  .wija-rainbow { height: 5px; margin-top: 8px; margin-bottom: 18px; }
  .wija-hero__logos { flex-direction: row; gap: 24px; margin-top: 26px; }
  .wija-hero__logos .wija-logo { width: min(29vw, 106px); }
  .wija-hero__logos .dock-logo { width: min(27vw, 99px); }
  .section-heading h2 { font-size: 32px; }
  .creator-archive-heading { padding-bottom: 116px; }
  .archive-actions { bottom: 18px; flex-direction: column; gap: 8px; }
  .archive-actions .wija-button { width: 100%; justify-content: space-between; padding: 5px 20px; }
  .archive-actions .wija-button span { position: static; margin-left: 14px; }
  .creator-search { padding: 22px 16px; }
  .keyword-options label > span { min-height: 36px; padding: 4px 11px; font-size: 14px; }
  .keyword-options__count { font-size: 12px; }
  .creator-search__grid { grid-template-columns: 1fr; }
  .creator-search__grid label { grid-template-columns: 1fr; gap: 7px; }
  .creator-search__fulltext { grid-column: auto; }
  .creator-search__actions { flex-direction: column; }
  .creator-card { grid-template-columns: 86px 1fr; gap: 16px; min-height: 0; padding-top: 26px; }
  .creator-card__image { width: 86px; }
  .creator-card__head { display: block; }
  .creator-card__name { font-size: 20px; }
  .creator-card__badge { display: inline-block; margin-top: 10px; }
  .creator-card__facts { grid-column: 1 / -1; grid-template-columns: 86px minmax(0, 1fr); gap: 7px 10px; width: 100%; font-size: 14px; }
  .creator-card__facts dt, .creator-card__facts dd { min-width: 0; }
  .creator-card__keywords a { margin-right: .25em; white-space: normal; overflow-wrap: anywhere; }
  .single-creator { padding-top: 42px; }
  .creator-overview--no-photo { grid-template-columns: minmax(0, 1fr); }
  .creator-overview, .creator-detail-section { grid-template-columns: 1fr; gap: 30px; }
  .creator-overview__portrait { width: 100%; text-align: center; }
  .creator-overview__portrait--empty { display: none; }
  .creator-overview__portrait .creator-profile__image { margin-inline: auto; }
  .creator-overview__portrait .creator-profile__credit { width: min(100%, 200px); margin-inline: auto; text-align: left; }
  .creator-profile__name-line { flex-wrap: wrap; gap: 8px 20px; }
  .creator-profile__identity h1 { font-size: 26px; }
  .creator-facts { grid-template-columns: 116px minmax(0, 1fr); margin-top: 42px; font-size: 14px; }
  .creator-facts dt, .creator-facts dd { min-height: 0; padding-block: 12px; }
  .creator-biography { margin-top: 78px; }
  .creator-detail-section__label { width: min(250px, 76vw); margin-inline: auto; }
  .creator-profile__summary { font-size: 14px; }
  .profile-credits { justify-content: flex-start; margin-top: 42px; }
  .profile-credits > div + div::before { display: none; }
  .interview-meta { margin-top: 78px; }
  .interview-meta__grid { grid-template-columns: 1fr; }
  .interview-meta__item, .interview-meta__item--wide { grid-column: auto; grid-template-columns: 120px minmax(0, 1fr); }
  .interview-article { padding-top: 50px; }
  .interview-article .entry-content { width: min(calc(100% - 40px), 988px); font-size: 16px; }
  .interview-article .entry-content > p,
  .entry-content .is-style-wija-answer { margin-left: 0; }
  .interview-question-position { right: 10px; bottom: 62px; font-size: 11px; }
  .interview-answer--collapsed-lead { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 8; }
  .interview-answer-toggle { display: block; margin: 12px 0 0 auto; padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--wija-accent); cursor: pointer; font-size: 13px; font-weight: 700; }
  .interview-article .entry-content .wp-block-image,
  .interview-article .entry-content .wp-block-image.alignleft,
  .interview-article .entry-content .wp-block-image.alignright {
    float: none;
    clear: both;
    width: min(100% - 40px, 760px);
    margin: 30px auto 38px;
  }
  .interview-article .entry-content .wp-block-image figcaption { font-size: 12px; }
  .entry-content .wp-block-footnotes { margin-left: 20px; }
  .single-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 78px 0 64px; }
  .single-navigation a,
  .pagination a.prev,
  .pagination a.next { min-width: 0; padding-inline: 10px; font-size: 11px; }
  .single-navigation__prev > span,
  .pagination a.prev > span { left: 10px; }
  .single-navigation__next > span,
  .single-navigation__back > span,
  .pagination a.next > span { right: 10px; }
  .related-creators__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .related-creators h2 { font-size: 34px; }
  .site-footer { padding-top: 38px; }
  .site-footer__inner { width: fit-content; max-width: calc(100% - 32px); align-items: center; flex-direction: column; gap: 28px; }
  .site-footer__branding { width: 100%; align-items: center; }
  .site-footer__subtitle { font-size: clamp(14px, 4.2vw, 19px); line-height: 1.45; text-align: center; white-space: nowrap; }
  .site-footer__title-line { display: inline; white-space: nowrap; }
  .site-footer__logos { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 22px; }
  .site-footer__logos img { width: auto; height: clamp(34px, 10vw, 42px); max-width: none; }
  .site-footer__supporters { width: 100%; gap: 10px; margin-top: 22px; }
  .site-footer__supported-by { font-size: 11px; }
  .site-footer__supporter-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .site-footer__supporter-logos img { width: 100%; height: 30px; max-width: 72px; justify-self: center; }
  .section-heading--page { padding-top: 44px; padding-bottom: 34px; }
  .news-index__body { width: 100%; }
  .news-list { margin-top: 44px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding-bottom: 44px; }
  .news-item::before { top: 62px; }
  .news-item__comment { margin-top: 26px; }
  .news-item__title { font-size: 16px; }
  .pagination a:not(.prev):not(.next), .pagination .current { min-width: 36px; min-height: 36px; }
  .pagination a.prev, .pagination a.next { min-width: 106px; }
}
