/*
Theme Name: ARAI ARCHITECTS Modern
Theme URI: https://aa-arai.com
Author: ARAI ARCHITECTS
Description: アライ・アーキテクツ 公式サイト用モダンテーマ。作品集『Kiyokazu Arai — Composition Ordering Principles in Scale』（2020）のグレー基調のデザイン言語＋全画面イメージ／浮遊ナビ／スクロール連動の動き。
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: arai-modern
*/

:root {
	--aa-gray: #80878e;
	--aa-gray-light: #b8bcc0;
	--aa-gray-pale: #e4e6e7;
	--aa-ink: #2b2f33;
	--aa-ink-soft: #6b7177;
	--aa-rule: #dcdedf;
	--aa-inset: 16px;
	--aa-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
	background-color: #ffffff;
	color: var(--aa-ink);
	-webkit-font-smoothing: antialiased;
}

a { text-decoration: none; transition: color 0.3s var(--aa-ease), opacity 0.3s var(--aa-ease); }

/* =========================================================
   Floating chrome — no bar, no tabs. Grey type that sits on
   the image, with a soft scrim so it never fights the photo.
   ========================================================= */
.site-head {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: none;
	border: none;
	pointer-events: none;
}

/* scrim only over the hero — keeps the chrome legible without a bar */
body.home .site-head::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	/* no `bottom` — `inset:0` would collapse this to the header's own height */
	height: 240px;
	background: linear-gradient(180deg, rgba(14, 17, 20, 0.78) 0%, rgba(14, 17, 20, 0.5) 38%, rgba(14, 17, 20, 0.16) 72%, rgba(14, 17, 20, 0) 100%);
	pointer-events: none;
	transition: opacity 0.4s var(--aa-ease);
}
body.home .site-head.is-past-hero::before { opacity: 0; }

.site-head__inner {
	position: relative;
	max-width: none;
	margin: 0;
	padding: calc(var(--aa-inset) + 34px) calc(var(--aa-inset) + 26px) calc(var(--aa-inset) + 22px);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 28px;
}
.site-head__inner > * { pointer-events: auto; }

/* Core ships `.wp-block-navigation-item__content.wp-block-navigation-item__content
   { color: inherit }` — a doubled class we can't out-rank cheaply. So set the
   colour on the header and let the nav inherit it. */
body.home .site-head { color: #e2e6e9; }
body:not(.home) .site-head { color: var(--aa-gray); }

/* the hamburger icon inherits that same pale grey on interior pages,
   which reads as too thin/faint against the near-white header — bump
   it to the ink colour and thicken the two bars a touch */
body:not(.home) .site-head .wp-block-navigation__responsive-container-open {
	color: var(--aa-ink-soft);
}
.site-head .wp-block-navigation__responsive-container-open svg path {
	transform: scaleY(1.7);
	transform-origin: center;
}
/* pull the two bars toward each other — core's default gap reads wide
   once they're this much thicker */
.site-head .wp-block-navigation__responsive-container-open svg path:first-of-type {
	transform: scaleY(1.7) translateY(1.4px);
}
.site-head .wp-block-navigation__responsive-container-open svg path:last-of-type {
	transform: scaleY(1.7) translateY(-1.4px);
}

/* over the hero image */
.site-wordmark { color: #f2f4f5; text-shadow: 0 1px 18px rgba(10, 13, 16, 0.6); }
.site-head .wp-block-navigation a { text-shadow: 0 1px 14px rgba(10, 13, 16, 0.8); }
.site-head .lang-switcher,
.site-head .lang-switcher a {
	color: #aeb5bb;
	text-shadow: 0 1px 12px rgba(10, 13, 16, 0.7);
}
.site-head .lang-switcher .lang-current { color: #eef0f2; }

/* interior pages are white — drop to the signature grey, no shadow */
body:not(.home) .site-wordmark { color: var(--aa-ink); text-shadow: none; }
body:not(.home) .site-head .wp-block-navigation a { text-shadow: none; }
body:not(.home) .site-head .lang-switcher,
body:not(.home) .site-head .lang-switcher a { color: var(--aa-gray-light); text-shadow: none; }
body:not(.home) .site-head .lang-switcher .lang-current { color: var(--aa-ink); }
/* frosted-glass backing lives on a ::before, not .site-head__inner itself —
   backdrop-filter (like transform/filter) makes its element the containing
   block for any position:fixed descendant, and the mobile nav's fullscreen
   menu overlay is exactly that: nested inside this header on interior
   pages, it was getting trapped inside the header's own ~100px box instead
   of covering the viewport. A pseudo-element gets the same visual result
   without becoming an ancestor of the real nav markup. */
body:not(.home) .site-head__inner {
	position: relative;
}
body:not(.home) .site-head__inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	z-index: -1;
	pointer-events: none;
}

/* the hand-drawn signature, rendered as a CSS mask so it picks up whatever
   color the surrounding rules already assign (near-white over the hero,
   ink-grey on interior pages) instead of needing two colored image files */
.site-wordmark {
	display: inline-block;
	width: clamp(96px, 11vw, 132px);
	aspect-ratio: 353 / 239;
	overflow: hidden;
	text-indent: -9999px;
	background-color: currentColor;
	-webkit-mask-image: url('assets/logo-mask.png');
	mask-image: url('assets/logo-mask.png');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: left center;
	mask-position: left center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: background-color 0.3s var(--aa-ease);
}

/* 2026-11-07 EXHIBITION を足して7項目になり、幅1280pxで CONTACT が2行目に落ちたため 2.4rem → 1.6rem */
.site-head .wp-block-navigation { gap: 1.6rem; }

.site-head .wp-block-navigation a {
	font-size: 0.64rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	position: relative;
	transition: color 0.3s var(--aa-ease);
}
/* hairline that draws in — reads as a mark, not a tab */
.site-head .wp-block-navigation a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -7px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--aa-ease);
}
.site-head .wp-block-navigation a:hover { color: #fff; }
body:not(.home) .site-head .wp-block-navigation a:hover { color: var(--aa-ink); }
.site-head .wp-block-navigation a:hover::after { transform: scaleX(1); }

/* =========================================================
   SNS（2026-09-08、坂田の指定）
   ヘッダーは言語切替の「上」に、フッターは著作権表示の上に。
   URLはサイト設定にあり、空なら出ない（functions.php）。
   アイコンは外部を読まない素のSVG。色は周りの文字と同じ
   currentColor なので、TOPの白文字／内側ページのグレーに自動で従う。
   ========================================================= */
.site-head__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 9px;
}

.aa-social {
	display: flex;
	align-items: center;
	gap: 16px;
	line-height: 1;
}
.aa-social__link {
	display: inline-flex;
	color: inherit;
	opacity: 0.82;
	transition: opacity 0.3s var(--aa-ease), color 0.3s var(--aa-ease);
}
.aa-social__link:hover { opacity: 1; }
.aa-social svg { width: 24px; height: 24px; display: block; }

/* 2つとも同じ「角丸の四角に線1本」の描き方でそろえる。
   ⚠️ 「f」の字形だけを置くと幅がインスタの四角の半分になり、
   並べたとき明らかに軽く見えた（実測 8.9 : 18）。同じ四角に入れてある。
   中の印（インスタの点・フェイスブックのf）だけ塗りにする。 */
.aa-social svg {
	fill: none;
	stroke: currentColor;
	/* 24pxまで大きくすると1.5pxの線は太く見える。1.4に落として
	   ナビの文字（太さ500）と同じくらいの重さに揃えている。 */
	stroke-width: 1.4;
}
.aa-social__dot,
.aa-social__mark {
	fill: currentColor;
	stroke: none;
}

/* フッターは白抜きの帯なので、周りの文字と同じ明るさに落とす */
.site-foot .aa-social {
	justify-content: flex-start;
	margin: 2.2em 0 0;
	color: rgba(255, 255, 255, 0.8);
}
.site-foot .aa-social svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
	.site-head__aside { align-items: flex-start; gap: 7px; }
	.aa-social svg { width: 22px; height: 22px; }
	/* スマホでは3つ（≡・インスタ・フェイスブック）が右上に並ぶ。
	   アイコン同士が16px空いていて、ハンバーガーとの10pxより広く、
	   バラけて見えたので詰める（坂田「もう少し寄せて」）。 */
	.site-head .aa-social { gap: 10px; }
}

.lang-switcher { font-size: 0.56rem; letter-spacing: 0.16em; }
.lang-switcher a:hover { color: #fff; }
body:not(.home) .lang-switcher a:hover { color: var(--aa-ink); }
.lang-switcher .lang-sep { margin: 0 0.5em; opacity: 0.45; }

/* mobile menu modal — core ships this with zero horizontal padding, so
   the nav list sits flush against the screen edge */
.wp-block-navigation__responsive-container-content {
	padding-left: clamp(20px, 4vw, 32px);
	padding-right: clamp(20px, 4vw, 32px);
}

/* the language switcher moves in here on mobile (assets/motion.js,
   mobileLangSwitcher) — restyle for the plain white overlay instead of
   the small pale text tuned for sitting over the dark hero photo */
.site-head .wp-block-navigation__responsive-container-content .lang-switcher {
	display: block;
	margin-top: 2.6em;
	padding-top: 1.6em;
	border-top: 1px solid var(--aa-rule);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	color: var(--aa-ink-soft);
	text-shadow: none;
}
.site-head .wp-block-navigation__responsive-container-content .lang-switcher a {
	color: var(--aa-ink);
	text-shadow: none;
}
.site-head .wp-block-navigation__responsive-container-content .lang-switcher a:hover { color: var(--aa-gray); }
.site-head .wp-block-navigation__responsive-container-content .lang-switcher .lang-current { color: var(--aa-gray); }

/* =========================================================
   Hero — the image is the page
   ========================================================= */
.aa-stage {
	position: relative;
	height: 100vh;
	height: 100svh;
	margin: var(--aa-inset);
	overflow: hidden;
	background: #545961;
}

/* slides stack directly on top of one another and crossfade — no slide
   ever travels sideways, so there's nothing to peek in from the edge.
   Auto-play + the opacity swap live in assets/stage.js. */
.aa-stage__track {
	position: relative;
	width: 100%;
	height: 100%;
}
.aa-stage__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.15s var(--aa-ease);
}
.aa-stage__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.aa-stage__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.06);
}
.aa-stage__slide.is-active .aa-stage__media {
	animation: aa-drift 7s var(--aa-ease) forwards;
}

@keyframes aa-drift {
	to { transform: scale(1); }
}

.aa-stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0.05) 62%, rgba(0,0,0,0.5) 100%);
	pointer-events: none;
}

/* TOPのヒーローは写真だけ（2026-09-08、坂田「文字無しでいい」）。
   キャプションもSCROLLも出さないので、白い文字を読ませるための
   暗いグラデーションは要らない——下のドットが写真に沈まないぶんだけ残す。
   ⚠️ a-bandsのヒーロー（.ab-hero）は同じ .aa-stage の見た目を借りていて
   そちらには文字が載る。だからこの調整は .aa-stage--bare だけに効かせる。 */
.aa-stage--bare::after {
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.38) 100%);
}

/* ヒーローの右下に出す1行（2026-09-08）。大きなキャプションの代わりで、
   作品名と年だけ。左下のドットと同じ高さに置いて、写真の下辺に
   「ドット ── 作品名」が並ぶようにしている。
   ⚠️ 文字は写真の上に乗るので、下30%の薄い暗がり（.aa-stage--bare::after）
   が効いている範囲から出さないこと。 */
.aa-stage__label {
	position: absolute;
	right: clamp(22px, 4.5vw, 64px);
	bottom: clamp(28px, 5vh, 44px);
	z-index: 3;
	margin: 0;
	max-width: min(72vw, 620px);
	text-align: right;
	/* 2026-09-08：12px・太さ400では読みにくかった（坂田「小さすぎるし細い」）。
	   サイトの決め（名前・見出しは500、本文は400）に合わせて500へ上げ、
	   字も一段大きくする。字間は広いと細く見えるので少し詰める。 */
	font-size: clamp(0.95rem, 1.6vw, 1.2rem);
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.5;
	color: #fff;
	/* 明るい建物の上でも必ず読めるように。装飾ではなく、
	   白文字が写真に溶けるのを防ぐためだけの薄い影 */
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
	pointer-events: none;
	/* ⚠️ 写真は1.15秒かけて入れ替わる。文字も同じ速さで重ねると、
	   切り替わりのあいだ前の作品名と次の作品名が二重に見える。
	   出るのは写真が入れ替わったあと（0.45秒後）、消えるのは早く。 */
	opacity: 0;
	transition: opacity 0.45s var(--aa-ease);
}
.aa-stage__slide.is-active .aa-stage__label {
	opacity: 1;
	transition: opacity 0.6s var(--aa-ease) 0.45s;
}
.aa-stage__label-year {
	margin-left: 0.9em;
	color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 720px) {
	.aa-stage__label {
		left: 20px;
		right: 20px;
		bottom: 68px;
		max-width: none;
		text-align: left;
		font-size: 0.95rem;
	}
}

/* 画面には出さないが、読み上げと文書構造には残す */
.aa-visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.aa-stage__caption {
	position: absolute;
	left: clamp(22px, 4.5vw, 64px);
	bottom: clamp(64px, 11vh, 118px);
	z-index: 3;
	color: #fff;
	max-width: min(88vw, 900px);
}

.aa-stage__kicker {
	margin: 0 0 1.4em;
	font-size: clamp(0.58rem, 1vw, 0.7rem);
	font-weight: 400;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	opacity: 0;
}
.aa-stage__slide.is-active .aa-stage__kicker { animation: aa-rise 1s var(--aa-ease) 0.25s forwards; }

.aa-stage__title {
	position: relative;
	font-size: clamp(2.1rem, 5.8vw, 4.8rem);
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.08;
	margin: 0;
	color: #fff;
	opacity: 0;
}
.aa-stage__slide.is-active .aa-stage__title { animation: aa-rise 1.1s var(--aa-ease) 0.4s forwards; }

.aa-stage__meta {
	margin: 1.2em 0 0;
	display: flex;
	align-items: center;
	gap: 1.2em;
	font-size: clamp(0.7rem, 1.2vw, 0.85rem);
	font-weight: 300;
	letter-spacing: 0.12em;
	color: rgba(255,255,255,0.88);
	opacity: 0;
}
.aa-stage__slide.is-active .aa-stage__meta { animation: aa-rise 1.1s var(--aa-ease) 0.6s forwards; }
.aa-stage__meta .rule {
	width: clamp(32px, 6vw, 78px);
	height: 1px;
	background: rgba(255,255,255,0.6);
}

/* the project's ordering principles, dealt out one by one */
.aa-stage__ordering {
	list-style: none;
	margin: 2.2em 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7em;
}
.aa-stage__ordering li {
	font-size: clamp(0.54rem, 0.95vw, 0.66rem);
	letter-spacing: 0.2em;
	padding: 0.65em 1.1em;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: rgba(255, 255, 255, 0.92);
	opacity: 0;
	transform: translateY(10px);
	backdrop-filter: blur(2px);
}
.aa-stage__slide.is-active .aa-stage__ordering li {
	animation: aa-rise 0.9s var(--aa-ease) forwards;
	animation-delay: calc(0.9s + var(--d, 0s));
}

@keyframes aa-rise {
	to { opacity: 1; transform: none; }
}

.aa-scroll-cue {
	position: absolute;
	right: clamp(14px, 2.4vw, 30px);
	bottom: clamp(40px, 7vh, 76px);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	color: rgba(255,255,255,0.8);
	font-size: 0.56rem;
	letter-spacing: 0.28em;
	writing-mode: vertical-rl;
}
.aa-scroll-cue__line {
	width: 1px;
	height: 54px;
	background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
	animation: aa-cue 2.4s ease-in-out infinite;
	transform-origin: top;
}
@keyframes aa-cue {
	0%   { transform: scaleY(0); opacity: 0; }
	40%  { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1); opacity: 0; }
}

/* hero pagination — which of the featured works is showing */
/* Each slide is the work it shows, so the whole slide opens that work's
   page. The link is a plain overlay that sits under the caption and the
   dots, and the caption passes clicks through to it — so the title can be
   clicked like the rest of the photo while the dots keep working. Slides
   that are off screen are `visibility: hidden`, which also takes them out
   of the tab order (they are invisible; tabbing into them would be a trap).
   Hover draws the same thin line the nav and the PROJECT filter draw. */
.aa-stage__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
}
.aa-stage__slide:not(.is-active) .aa-stage__hit { visibility: hidden; }
.aa-stage__caption { pointer-events: none; }
.aa-stage__hit:focus-visible {
	outline: 1px solid rgba(255, 255, 255, 0.9);
	outline-offset: -14px;
}
.aa-stage__title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.1em;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--aa-ease);
}
.aa-stage__hit:hover ~ .aa-stage__caption .aa-stage__title::after,
.aa-stage__hit:focus-visible ~ .aa-stage__caption .aa-stage__title::after {
	transform: scaleX(1);
}

/* 作品ページ本文のギャラリーブロック（2026-08-21）。
   写真は作品の編集画面からギャラリーブロックで足していく。コアの
   ギャラリーは同じ行の画像を同じ高さに揃えるため、縦の写真と並んだ
   横の写真が4割方切り落とされる——図面や模型写真ではこれは困る。
   行の高さを揃えるのをやめ、素直な2列のグリッドにして、それぞれが
   自分の比率のまま入るようにする。上端だけ揃い、下端は不揃いになる。
   エディター側の「画像を切り抜く」を坂田が意識しなくて済むよう、
   どちらの設定でも切り抜かれない形にしてある。 */
.aa-work__desc .wp-block-gallery.has-nested-images {
	/* 余白はこの1つの値だけを使う。列の間も写真の間も同じ大きさになる。
	   ⚠️ % を使ってはいけない——gap は容器の幅、margin は1列ぶんの幅を基準に
	   解決されるため、同じ指定でも別の値になる（実際に38pxと24pxに割れた）。
	   vw ならどこで使っても同じ値になる。 */
	--aa-gallery-gap: clamp(24px, 3.4vw, 44px);

	/* 2列のグリッドだと、短い写真の下に大きな穴が空く（行の高さが
	   その行のいちばん高い写真に揃うため。実測で395pxの空白ができた）。
	   段組みにすると各列が独立して流れるので、余白は常に同じ幅になり、
	   写真の高さの差はそのまま「ずれ」として出る。 */
	display: block !important;
	columns: 2 !important;
	column-gap: var(--aa-gallery-gap) !important;
	margin-top: 0 !important;
}
.aa-work__desc .wp-block-gallery.has-nested-images.columns-1 { columns: 1 !important; }
.aa-work__desc .wp-block-gallery.has-nested-images.columns-3 { columns: 3 !important; }
.aa-work__desc .wp-block-gallery.has-nested-images figure.wp-block-image {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 0 var(--aa-gallery-gap) !important;
	break-inside: avoid !important;
	-webkit-column-break-inside: avoid !important;
}
.aa-work__desc .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	height: auto !important;
	object-fit: initial !important;
}
.aa-work__desc .wp-block-gallery figcaption {
	margin-top: 0.7em !important;
	font-size: 0.68rem !important;
	letter-spacing: 0.06em !important;
	color: var(--aa-ink-soft) !important;
	text-align: left !important;
	background: none !important;
	padding: 0 !important;
	position: static !important;
}
@media (max-width: 720px) {
	.aa-work__desc .wp-block-gallery.has-nested-images,
	.aa-work__desc .wp-block-gallery.has-nested-images.columns-3 {
		columns: 1 !important;
	}
}

.aa-stage__dots {
	position: absolute;
	left: clamp(22px, 4.5vw, 64px);
	bottom: clamp(28px, 5vh, 44px);
	z-index: 3;
	display: flex;
	gap: 0.6em;
}
.aa-stage__dot {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	/* 2026-09-08：22x10 では狙いが外れる（坂田「押しても反応してない」）。
	   線そのものは細いままでよいが、押せる範囲は指1本ぶんまで広げる。
	   線は中央に置くので、見た目の位置は変わらない。 */
	width: 30px;
	height: 22px;
	display: flex;
	align-items: center;
	cursor: pointer;
}
.aa-stage__dot::before {
	content: "";
	display: block;
	/* 2026-09-08：1px → 2px。ヒーローから文字を全部外したので、
	   ドットが写真の上で唯一の目印になった（坂田「もう少し太くても」）。
	   写真によっては薄い線が沈むので、選ばれていない側も 0.4 → 0.5 に上げる。 */
	width: 100%;
	height: 3px;
	background: rgba(255, 255, 255, 0.55);
	/* 押した瞬間に色が変わるよう、ここだけ速くする（0.4s では
	   写真のクロスフェード1.15sと相まって「効いていない」と感じる） */
	transition: background 0.12s var(--aa-ease);
}
.aa-stage__dot.is-active::before { background: #fff; height: 4px; }
.aa-stage__dot:hover::before { background: #fff; }
.aa-stage__dot:active::before { background: #fff; height: 4px; }

/* =========================================================
   Opening sequence — plays once over the hero before the
   slideshow is revealed. A single large mark on a drawn axis
   line, then the frame parts to reveal the slideshow beneath.
   ========================================================= */
.aa-intro {
	position: absolute;
	inset: 0;
	z-index: 10;
	cursor: pointer;
}
.aa-intro.is-done {
	opacity: 0;
	transition: opacity 0.5s var(--aa-ease);
	pointer-events: none;
}

/* the wrapper owns the fade in/out timing so the mark and the axis line
   disappear together, cleanly, before the panel starts to wipe away */
.aa-intro__logo {
	position: absolute;
	inset: 0;
	opacity: 0;
	animation: aa-intro-logo 2s var(--aa-ease) forwards;
	/* the signature's lowercase letters sit well below the middle of the
	   glyph's own bounding box (the flourish dots above eat into it) —
	   measured from assets/logo-mask.png: dense-text band center sits
	   ~36.6% of the mark's own height below the box centre */
	--aa-intro-mark-w: clamp(150px, 20vw, 260px);
	--aa-intro-text-drop: calc(var(--aa-intro-mark-w) * 0.2482);
}

.aa-intro__mark {
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--aa-intro-mark-w);
	aspect-ratio: 353 / 239;
	background-color: #f2f4f5;
	-webkit-mask-image: url('assets/logo-mask.png');
	mask-image: url('assets/logo-mask.png');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transform: translate(-50%, -50%) scale(0.94);
	animation: aa-intro-mark-scale 1.3s var(--aa-ease) forwards;
}

/* two segments with a true gap around the mark (rather than one line
   hidden behind it) — the mark's mask has open space between strokes,
   so a line merely stacked underneath would show through it. */
.aa-intro__axis {
	position: absolute;
	top: calc(50% + var(--aa-intro-text-drop));
	height: 1px;
	width: 0;
	background: rgba(255, 255, 255, 0.5);
	transform: translateY(-50%);
}
.aa-intro__axis--l {
	right: calc(50% + 140px);
	animation: aa-intro-axis-l 1.3s var(--aa-ease) 0.35s forwards;
}
.aa-intro__axis--r {
	left: calc(50% + 140px);
	animation: aa-intro-axis-r 1.3s var(--aa-ease) 0.47s forwards;
}

/* one full-bleed curtain that wipes off to the right, revealing the
   slideshow left-to-right rather than splitting open from the centre */
.aa-intro__panel {
	position: absolute;
	inset: 0;
	background: #545961;
	animation: aa-intro-wipe 1.3s var(--aa-ease) 1.85s forwards;
}

@keyframes aa-intro-logo {
	0%   { opacity: 0; }
	22%  { opacity: 1; }
	72%  { opacity: 1; }
	100% { opacity: 0; }
}
@keyframes aa-intro-mark-scale {
	to { transform: translate(-50%, -50%) scale(1); }
}
@keyframes aa-intro-axis-l {
	to { width: min(22vw, 240px); }
}
@keyframes aa-intro-axis-r {
	to { width: min(22vw, 240px); }
}
@keyframes aa-intro-wipe {
	to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	.aa-intro { display: none; }
}

/* =========================================================
   Scroll-reveal
   ========================================================= */
.aa-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--aa-ease), transform 1s var(--aa-ease);
	will-change: opacity, transform;
}
.aa-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.aa-reveal { opacity: 1; transform: none; transition: none; }
	.aa-stage__media { animation: none; transform: none; }
	.aa-scroll-cue__line { animation: none; }
	.aa-stage__slide { transition: none; }
}

/* =========================================================
   Sections
   ========================================================= */
.aa-section {
	max-width: 1040px;
	margin: 0 auto;
	padding: clamp(72px, 14vh, 160px) clamp(20px, 4vw, 32px);
}
.aa-section--wide { max-width: 1400px; }

/* the section right after the hero doesn't need the same breathing room as
   one preceded by other page content */
body.home .aa-section { padding-top: clamp(16px, 3vh, 36px); }

.aa-eyebrow {
	font-size: 0.6rem;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--aa-gray);
	margin: 0 0 2em;
	display: flex;
	align-items: center;
	gap: 1.2em;
}
.aa-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--aa-rule); }

/* page content (interior pages keep the floating chrome, so pad the top) */
.aa-page {
	max-width: 1040px;
	margin: 0 auto;
	padding: clamp(120px, 20vh, 200px) clamp(20px, 4vw, 32px) clamp(72px, 12vh, 140px);
}

.aa-page .wp-block-post-title {
	font-size: clamp(1.3rem, 2.4vw, 1.9rem);
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 0.9em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid var(--aa-rule);
}

.aa-page h2 {
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 300;
	letter-spacing: 0.14em;
	color: var(--aa-gray);
	margin: 3.2em 0 1em;
}
.aa-page h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0.05em; margin: 2.2em 0 0.6em; }
.aa-page p, .aa-page li { color: var(--aa-ink-soft); line-height: 1.7; }
.aa-page ul { padding-left: 1.1em; }
.aa-page li { margin-bottom: 0.25em; }

.aa-page table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.aa-page table td {
	border: none; border-bottom: 1px solid var(--aa-rule);
	padding: 0.72em 1.2em 0.72em 0; vertical-align: top;
	color: var(--aa-ink-soft); font-size: 0.92rem;
}
.aa-page table tr td:first-child {
	width: 22%; color: var(--aa-gray); font-size: 0.7rem;
	letter-spacing: 0.12em; text-transform: uppercase; padding-top: 1.02em;
}

/* =========================================================
   Staff list — the ABOUT page's "元所員" (former staff) section
   (2026-07-28). 37 names sourced from the credit page ("List of
   Staff", p.205) of the works monograph. Plain text list, no
   photos/icons (Sakata: "顔アイコンもいらない。リストにして") —
   a multi-column name list, closer to the credit page it's from.
   ========================================================= */
.aa-staff-list {
	/* 2026-09-08：3列 → 4列（坂田の指定）。説明文も外したので、
	   このセクションは名前だけが並ぶ形になった。 */
	columns: 4;
	column-gap: 40px;
	list-style: none;
	padding: 0;
	margin: 1.8em 0 1em;
}
.aa-staff-list li {
	color: var(--aa-ink-soft);
	font-size: 0.92rem;
	line-height: 1.7;
	letter-spacing: 0.02em;
	border-bottom: 1px solid var(--aa-rule);
	padding: 0.25em 0;
	break-inside: avoid;
}
.aa-staff__note { color: var(--aa-gray-light); font-size: 0.72rem; margin-top: 1em; }

/* 4列は横幅がないと名前が折れる。狭くなったら段を減らす */
@media (max-width: 980px) {
	.aa-staff-list { columns: 3; column-gap: 32px; }
}

@media (max-width: 720px) {
	.aa-staff-list { columns: 2; column-gap: 24px; }
}

/* =========================================================
   ABOUT page — long lists compacted into two columns
   (2026-07-31, Sakata: "内容多すぎるから...横二列表記に").
   Career history / publication list use CSS multi-column;
   the short company-info paragraphs (partnerships / clients)
   sit side-by-side in a two-column grid instead.
   ========================================================= */
.aa-list-2col {
	columns: 2;
	column-gap: 40px;
}
.aa-list-2col li { break-inside: avoid; }

@media (max-width: 720px) {
	.aa-list-2col { columns: 1; }
}

/* ARCHITECT PROFILE portrait — Kiyokazu Arai's face (a four-era
   composite photo, black background) and his personal signature
   mark (2026-07-31). Photo left, signature + name/birth text right
   (2026-07-31 revision — was stacked above the name paragraph). */
.aa-profile-portrait {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	width: 100%;
	margin: 0 0 2em;
}
.aa-profile-portrait__photo {
	display: block;
	width: 100%;
	height: auto;
}
.aa-profile-portrait__sign {
	display: block;
	width: clamp(220px, 60%, 320px);
	height: auto;
	margin: 0;
	opacity: 0.85;
}
@media (max-width: 560px) {
	.aa-profile-portrait { grid-template-columns: 1fr; }
}

/* ABOUT page only (ja/en/zh page IDs 5/24/29) — smaller body copy,
   requested 2026-07-31 alongside the two-column layout above, since
   the page carries much more text than the other pages. */
.page-id-5 .aa-page p,
.page-id-5 .aa-page li,
.page-id-24 .aa-page p,
.page-id-24 .aa-page li,
.page-id-29 .aa-page p,
.page-id-29 .aa-page li {
	font-size: 0.82rem;
}
.page-id-5 .aa-page table td,
.page-id-24 .aa-page table td,
.page-id-29 .aa-page table td {
	font-size: 0.8rem;
}

/* =========================================================
   Ordering index — the 40-year vocabulary, as a scale
   ========================================================= */
.aa-ordering {
	max-width: 1040px;
	margin: 0 auto;
	padding: clamp(90px, 18vh, 190px) clamp(20px, 4vw, 32px);
}
.aa-ordering__lead {
	max-width: 46em;
	margin: 0 0 3.5em;
	color: var(--aa-ink-soft);
	font-size: 0.95rem;
	line-height: 1.8;
}
.aa-ordering__list { list-style: none; margin: 0; padding: 0; }
.aa-ordering__item { border-top: 1px solid var(--aa-rule); }
.aa-ordering__item:last-child { border-bottom: 1px solid var(--aa-rule); }
.aa-ordering__row {
	display: grid;
	grid-template-columns: minmax(9em, 15em) 1fr auto;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	padding: 1.15em 0;
	color: var(--aa-ink);
}
.aa-ordering__name {
	font-size: clamp(0.9rem, 1.8vw, 1.35rem);
	font-weight: 300;
	letter-spacing: 0.16em;
	transition: letter-spacing 0.5s var(--aa-ease), color 0.3s var(--aa-ease);
}
.aa-ordering__bar { height: 1px; background: var(--aa-gray-pale); position: relative; }
.aa-ordering__bar i {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--aa-gray);
	transition: width 1.1s var(--aa-ease);
}
.aa-ordering__item.is-in .aa-ordering__bar i { width: var(--w, 0%); }
.aa-ordering__n {
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	color: var(--aa-gray-light);
	min-width: 2em;
	text-align: right;
}
.aa-ordering__item:hover .aa-ordering__name { letter-spacing: 0.24em; color: var(--aa-gray); }

/* =========================================================
   Ordering dial — the principles open on a concentric arc and
   are spun into place, rather than picked from a rail of tabs.
   ========================================================= */
.aa-dial {
	position: relative;
	margin: 0 0 3.5em;
	padding-bottom: 2.5em;
	border-bottom: 1px solid var(--aa-rule);
	z-index: 5;
	--r: clamp(175px, 23vw, 265px);
	/* the label sits closer in than the decorative rings — a separate,
	   smaller radius for the text only, so it reads further left without
	   shrinking the arc itself */
	--tr: calc(var(--r) * 0.72);
}

.aa-dial__trigger {
	position: relative;
	z-index: 50; /* stays crisp above the stage scrim */
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font: inherit;
	display: inline-flex;
	align-items: baseline;
	gap: 1em;
	color: var(--aa-ink);
}
.aa-dial__label {
	font-size: 0.62rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--aa-gray);
	transition: color 0.3s var(--aa-ease);
}
.aa-dial__current {
	font-size: clamp(1.15rem, 2.6vw, 1.9rem);
	font-weight: 300;
	letter-spacing: 0.14em;
	transition: letter-spacing 0.5s var(--aa-ease), opacity 0.3s var(--aa-ease);
}
/* the open ring reads out the same value at the pivot — hide the trigger's
   own label while open so the two don't overlap */
.aa-dial[data-open="true"] .aa-dial__current { opacity: 0; }
.aa-dial__mark {
	width: 9px; height: 9px;
	border-right: 1px solid var(--aa-gray);
	border-bottom: 1px solid var(--aa-gray);
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.5s var(--aa-ease), opacity 0.3s var(--aa-ease);
}
.aa-dial__trigger:hover .aa-dial__current { letter-spacing: 0.2em; }
.aa-dial__trigger:hover .aa-dial__label { color: var(--aa-ink); }
/* the mark sits right after --current in normal flow, so its position still
   tracks the (invisible) label's width while open — close enough to the
   fixed-position ring text at some label lengths to visually collide with
   it. Hide it along with --current instead of trying to keep it clear. */
.aa-dial[data-open="true"] .aa-dial__mark { transform: rotate(225deg) translateY(-2px); opacity: 0; }

/* The stage overlays the grid while open — a HUD, not a pane that shoves
   the page around. The scrim keeps the arc legible over the artwork. */
/* pivot sits *behind* the read-out label — offset left by the radius so the
   read head (angle 0) lands exactly on the label's own x position, instead
   of the label jumping right by a whole radius when the dial opens.
   --label-x is set by dial.js from the trigger's actual position.
   Width is capped to roughly "radius + longest label" rather than the full
   row — a wide stage was grabbing wheel/touch input over the gallery far
   past where anything is visible, blocking scroll of the list below. */
.aa-dial__stage {
	position: absolute;
	left: 0;
	top: var(--pivot-y, 1.1em);
	width: calc(var(--r) + 320px);
	max-width: 92vw;
	height: clamp(300px, 40vw, 440px);
	transform: translateY(-50%);
	z-index: 40;
	outline: none;
	pointer-events: none;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s var(--aa-ease), visibility 0s linear 0.5s;
}
.aa-dial__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 40% 50% at 0% 50%,
		rgba(255,255,255,0.98) 0%,
		rgba(255,255,255,0.95) 42%,
		rgba(255,255,255,0.6) 66%,
		rgba(255,255,255,0) 82%
	);
	backdrop-filter: blur(2px);
	/* the blur itself was hard-edged at the box's own rectangle no matter
	   how transparent the gradient above got, which is what read as "a
	   square" — masking the blur with the same shape lets it fade out
	   together with the tint instead of cutting off sharply */
	-webkit-mask-image: radial-gradient(
		ellipse 40% 50% at 0% 50%,
		#000 0%, #000 42%, rgba(0,0,0,0.55) 66%, transparent 84%
	);
	mask-image: radial-gradient(
		ellipse 40% 50% at 0% 50%,
		#000 0%, #000 42%, rgba(0,0,0,0.55) 66%, transparent 84%
	);
	pointer-events: none;
}
.aa-dial[data-open="true"] .aa-dial__stage {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.5s var(--aa-ease), visibility 0s;
}

/* the actual wheel/drag control surface — deliberately smaller than the
   stage's full visual footprint sideways-wise isn't the point anymore;
   the read head (angle 0) now always lands at a fixed x = r from the
   rings' own pivot, regardless of which label is showing, so the hit
   region can just be a fixed width sized for the longest label instead
   of tracking a per-label measurement. A sibling of the stage, not a
   child of it, and positioned in the dial's own coordinate space —
   otherwise it'd be capped by the stage's z-index and the always-on-top
   trigger button would swallow its wheel/drag input. */
.aa-dial__hit {
	position: absolute;
	left: 0;
	top: var(--pivot-y, 1.1em);
	width: calc(var(--tr) + 260px);
	height: clamp(300px, 40vw, 440px);
	transform: translateY(-50%);
	z-index: 55;
	pointer-events: none;
}
.aa-dial[data-open="true"] .aa-dial__hit {
	pointer-events: auto;
	touch-action: none;
	cursor: grab;
}
.aa-dial[data-open="true"] .aa-dial__hit:active { cursor: grabbing; }

/* concentric guide rings, centered on the dial's own left edge */
.aa-dial__rings {
	position: absolute;
	left: 0;
	top: 50%;
	pointer-events: none;
}
.aa-dial__rings i {
	position: absolute;
	left: 0; top: 0;
	border: 1px solid var(--aa-gray-pale);
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0.4);
	opacity: 0;
	transition: transform 0.9s var(--aa-ease), opacity 0.7s var(--aa-ease);
}
.aa-dial__rings i:nth-child(1) { width: calc(var(--r) * 1.35); height: calc(var(--r) * 1.35); transition-delay: 0.02s; }
.aa-dial__rings i:nth-child(2) { width: calc(var(--r) * 1.75); height: calc(var(--r) * 1.75); transition-delay: 0.08s; }
.aa-dial__rings i:nth-child(3) { width: calc(var(--r) * 2.2);  height: calc(var(--r) * 2.2);  transition-delay: 0.14s; }
.aa-dial[data-open="true"] .aa-dial__rings i { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* the ring the items orbit on — pivot is at the dial's own left edge (same
   as the rings), so the read head (angle 0) always lands at a fixed
   x = r regardless of which label is active — a shorter or longer word
   doesn't relocate the spot a cursor needs to be on. A sibling of the
   stage (not nested in it) and pinned above both the trigger and the hit
   region, so an item's own click always wins even where it overlaps
   either of those. */
.aa-dial__ring {
	position: absolute;
	left: 0;
	top: var(--pivot-y, 1.1em);
	transform: translateY(-50%);
	width: 0; height: 0;
	z-index: 60;
	outline: none;
}
.aa-dial__item {
	position: absolute;
	left: 0; top: 0;
	transform-origin: 0 0;
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
	white-space: nowrap;
	display: flex;
	align-items: baseline;
	gap: 0.75em;
	color: var(--aa-ink-soft);
	opacity: 0;
	transition: opacity 0.5s var(--aa-ease), color 0.35s var(--aa-ease);
}
.aa-dial__name {
	font-size: 0.78rem;
	font-weight: 300;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transform: translateY(-50%);
}
.aa-dial__ja {
	font-size: 0.6rem;
	letter-spacing: 0.08em;
	color: var(--aa-gray-light);
	transform: translateY(-50%);
}
.aa-dial__n {
	font-size: 0.54rem;
	letter-spacing: 0.1em;
	color: var(--aa-gray-light);
	transform: translateY(-50%);
}
.aa-dial__item.is-active .aa-dial__ja { color: var(--aa-gray); }
.aa-dial__item.is-active { color: var(--aa-ink); }
.aa-dial__item.is-active .aa-dial__name { font-weight: 400; letter-spacing: 0.24em; }
.aa-dial__item.is-active .aa-dial__n { color: var(--aa-gray); }
.aa-dial__item:hover { color: var(--aa-ink); }

/* the detent — where the selected entry is read off */
.aa-dial__head {
	position: absolute;
	left: calc(var(--tr) - 26px);
	top: 50%;
	width: 18px;
	height: 1px;
	background: var(--aa-ink);
	opacity: 0;
	transform: scaleX(0);
	transform-origin: right;
	transition: opacity 0.5s var(--aa-ease), transform 0.6s var(--aa-ease) 0.2s;
}
.aa-dial[data-open="true"] .aa-dial__head { opacity: 1; transform: scaleX(1); }

/* .works-gallery .work-card below (display:block) has equal specificity
   and comes later in the source, so it was silently winning the cascade
   and cancelling this — the dial's filter toggled the class correctly
   but nothing ever actually hid. One extra class beats it outright. */
.works-gallery .work-card.is-out { display: none; }

@media (max-width: 720px) {
	.aa-dial__stage { --r: 96px; }
	.aa-dial__name { font-size: 0.68rem; letter-spacing: 0.12em; }
	/* the shared clamp(300px, 40vw, 440px) floors at 300px, which on a
	   phone-width screen is taller than the ring actually needs — the
	   scrim (and the guide rings, sized off --r above) were creeping up
	   into the paragraph above the trigger */
	.aa-dial__stage, .aa-dial__hit { height: clamp(180px, 60vw, 260px); }
	/* extra clearance above the trigger so the open ring's upward bleed
	   (still ~105px at the reduced radius above) lands below the intro
	   paragraph instead of over its last lines */
	.aa-dial { margin-top: 3em; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-dial__rings i, .aa-dial__item, .aa-dial__head { transition: none; }
}

/* =========================================================
   Works gallery
   ========================================================= */
.works-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: clamp(18px, 2.6vw, 40px);
	margin-top: 1.5em;
}
.works-gallery .work-card { background: none; border: none; }
.works-gallery .work-card { overflow: hidden; display: block; color: inherit; text-decoration: none; cursor: pointer; }
.works-gallery .work-thumb {
	position: relative;
	/* ⚠️ 2026-09-25（3回目）：正方形 → 4/3 に戻した。坂田が61件を並べて見比べて決めた
	      （1:1 / 4:3 / 3:2 / 16:9 / 3:4 のうち、4:3 がいちばん色の面積が小さい）。
	      同じ日の朝に 4/3 → 正方形にしていたが、それは**余りに色が入る前**の判断。
	   ⚠️ PHP 側の arai_modern_thumb_ratio() と**対で**変えること。片方だけ直すと
	      回転の倍率と内接長方形の計算が枠と合わなくなる。
	      一括編集ページの JS の FRAME と .aat__stage の aspect-ratio も同じ値。
	   ⚠️ a-bands のカード（.ab-card__thumb）と一覧（.ab-archive__thumb）も 4/3 なので、
	      これでサイト全体の寸法がまた1本に揃っている。 */
	aspect-ratio: 4 / 3;
	background-color: var(--aa-gray-pale);
	background-size: cover;
	background-position: center;
	display: flex; align-items: center; justify-content: center;
	color: var(--aa-gray-light);
	font-size: 0.58rem; letter-spacing: 0.2em;
	overflow: hidden;
	transition: filter 0.6s var(--aa-ease);
	filter: saturate(0.92);
}
.works-gallery .work-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 21, 24, 0.62);
	opacity: 0;
	transition: opacity 0.5s var(--aa-ease);
}
.works-gallery .work-card:hover .work-thumb { filter: saturate(1); }
.works-gallery .work-card:hover .work-thumb::before { opacity: 1; }

/* the ordering principles surface on hover — the idea behind the image */
.work-ordering {
	position: absolute;
	inset: 0;
	z-index: 2;
	margin: 0;
	padding: 1.4em;
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.55em;
	pointer-events: none;
}
.work-ordering li {
	font-size: 0.58rem;
	letter-spacing: 0.2em;
	color: #fff;
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity 0.45s var(--aa-ease), transform 0.45s var(--aa-ease);
}
.works-gallery .work-card:hover .work-ordering li { opacity: 1; transform: none; }
.work-card:hover .work-ordering li:nth-child(1) { transition-delay: 0.04s; }
.work-card:hover .work-ordering li:nth-child(2) { transition-delay: 0.10s; }
.work-card:hover .work-ordering li:nth-child(3) { transition-delay: 0.16s; }
.work-card:hover .work-ordering li:nth-child(4) { transition-delay: 0.22s; }
.work-card:hover .work-ordering li:nth-child(5) { transition-delay: 0.28s; }
.work-card:hover .work-ordering li:nth-child(6) { transition-delay: 0.34s; }
.works-gallery .work-name {
	padding: 1em 0 0; font-size: 0.82rem; font-weight: 400;
	color: var(--aa-ink); line-height: 1.5;
	display: flex; flex-direction: column; gap: 0.35em;
}
.works-gallery /* カードの日本語名（英語タイトルの下に小さく・2026-08-28） */
.work-name__ja {
	display: block;
	margin-top: 0.25em;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	color: var(--aa-ink-soft);
}
.work-meta {
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	color: var(--aa-gray);
}
.works-gallery .work-name .verified { color: var(--aa-gray-light); }

/* news */
.aa-news .wp-block-post { padding: 2.2em 0; border-bottom: 1px solid var(--aa-rule); }
.aa-news .wp-block-post-date { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--aa-gray); }
.aa-news .wp-block-post-title { font-size: 1.05rem; font-weight: 400; letter-spacing: 0.03em; margin: 0.45em 0 0.5em; }
.aa-news .wp-block-post-excerpt__excerpt { font-size: 0.88rem; color: var(--aa-ink-soft); }

/* =========================================================
   Footer
   ========================================================= */
.site-foot { background: var(--aa-gray); color: #fff; margin: 0 var(--aa-inset) var(--aa-inset); }
.site-foot__inner { max-width: 1400px; margin: 0 auto; padding: clamp(48px, 8vh, 88px) clamp(20px, 4vw, 32px) clamp(24px, 3vh, 36px); }
.site-foot .aa-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 48px); }
.site-foot .aa-tagline { grid-column: 1 / -1; font-size: 0.68rem; letter-spacing: 0.16em; color: rgba(255,255,255,0.75); margin: 0 0 1.5em; }
.site-foot .aa-office-name { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.7em; }
.site-foot .aa-office-addr { font-size: 0.74rem; line-height: 1.7; color: rgba(255,255,255,0.8); margin: 0; }
.site-foot__base { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px) clamp(26px, 4vh, 38px); font-size: 0.58rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 720px) {
	:root { --aa-inset: 10px; }
	/* 3 flex children (logo / nav / lang-switcher) under space-between put
	   the hamburger button in the middle of the header once the nav
	   collapses to just that one icon. Pin the logo left and let the
	   hamburger sit at the right edge, next to the language switcher. */
	.site-head__inner { padding: 22px 18px; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
	.site-head__inner > .site-wordmark { margin-right: auto; }
	.site-wordmark { width: 84px; }
	.site-head .wp-block-navigation { gap: 1rem; }
	.site-head .wp-block-navigation a { font-size: 0.58rem; letter-spacing: 0.12em; }
	.aa-scroll-cue { display: none; }
	body.home .aa-stage {
		height: calc(100svh - 104px) !important;
		min-height: 620px !important;
	}
	body.home .aa-stage__caption {
		left: 20px !important;
		right: 20px !important;
		bottom: clamp(82px, 16svh, 116px) !important;
		max-width: none !important;
	}
	body.home .aa-stage__kicker {
		margin-bottom: 1em !important;
		font-size: 0.56rem !important;
		letter-spacing: 0.22em !important;
		line-height: 1.7 !important;
	}
	body.home .aa-stage__title {
		font-size: clamp(1.65rem, 8.2vw, 2.2rem) !important;
		letter-spacing: 0 !important;
		line-height: 1.14 !important;
		max-width: 100% !important;
	}
	body.home .aa-stage__meta {
		margin-top: 0.9em !important;
		font-size: 0.66rem !important;
		letter-spacing: 0.08em !important;
	}
	body.home .aa-stage__ordering { display: none !important; }
	body.home .aa-stage__dots {
		left: 20px !important;
		bottom: 34px !important;
	}
	.aa-page table tr { display: block; border-bottom: 1px solid var(--aa-rule); margin-bottom: 0.5em; }
	.aa-page table td { display: block; border: none; padding-right: 0; }
	.aa-page table tr td:first-child { width: auto; padding-bottom: 0; }
}

/* CONTACT pages already repeat the office addresses in the shared footer.
   Keep the form focused by hiding the duplicate page-body office blocks
   on the three language variants only. */
.page-id-8 .aa-contact-form ~ h3,
.page-id-8 .aa-contact-form ~ p,
.page-id-25 .aa-contact-form ~ h3,
.page-id-25 .aa-contact-form ~ p,
.page-id-31 .aa-contact-form ~ h3,
.page-id-31 .aa-contact-form ~ p {
	display: none !important;
}

/* =========================================================
   Work detail page (single-aa_work.html)
   ========================================================= */
.aa-work-page { max-width: 900px; }
.aa-work__back {
	display: inline-block;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aa-gray);
	text-decoration: none;
	margin-bottom: 2.5em;
	transition: color 0.3s var(--aa-ease);
}
.aa-work__back:hover { color: var(--aa-ink); }
/* 作品ページの一枚目は、切り取らずに写真そのものを出す（坂田 2026-08-21
   「画像自体を全部表示できるようにしたい。元の状態で」）。背景画像だと
   枠の比率に合わせて cover で切るしかなく、縦の写真が上下とも欠けていた。
   img として置けば写真が自分の比率で場所を決める。
   幅を張らないので、小さい写真が引き伸ばされて甘くなることもない。
   縦に長い写真だけ画面の高さで頭打ちにして、横位置と並びを揃える。 */
.aa-work__hero {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 82vh;
	margin: 0 auto 2.6em;
	background-color: var(--aa-gray-pale);
}
.aa-work__title {
	font-size: clamp(1.5rem, 3.4vw, 2.4rem);
	font-weight: 300;
	letter-spacing: 0.06em;
	margin: 0 0 0.5em;
}
/* 作品ページの見出しの下に小さく日本語名（2026-08-28・カードと同じ構成） */
.aa-work__title-ja {
	margin: 0.35em 0 0;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	color: var(--aa-ink-soft);
}
.aa-work__meta {
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	color: var(--aa-gray);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em 1em;
	align-items: baseline;
	margin: 0 0 1.6em;
	padding-bottom: 1.6em;
	border-bottom: 1px solid var(--aa-rule);
}
.aa-work__cat {
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--aa-gray-light);
}
.aa-work__ordering {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em;
	margin: 0 0 2em;
	padding: 0;
}
.aa-work__ordering li {
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	color: var(--aa-gray);
	border: 1px solid var(--aa-rule);
	border-radius: 2px;
	padding: 0.5em 0.9em;
}
.aa-work__desc p { color: var(--aa-ink-soft); line-height: 1.7; max-width: 640px; }

/* Extra photos/drawings pulled from the monograph's own multi-page
   spreads (2026-07-31) — only added where a work genuinely spans more
   than one page in the book; most works are a single page so this
   stays empty for them. */
.aa-work__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	margin: 3em 0 0;
}
.aa-work__gallery-item { margin: 0; }
.aa-work__gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	background: #f2f2f2;
}
.aa-work__gallery-item figcaption {
	margin-top: 0.6em;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	color: var(--aa-gray);
}

@media (max-width: 720px) {
	.aa-work__meta { font-size: 0.72rem; }
}

/* =========================================================
   Contact form
   ========================================================= */
.aa-contact-form { max-width: 480px; margin: 2.5em auto 0; }
.aa-contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aa-contact-form__field {
	display: block;
	margin-bottom: 1.8em;
}
.aa-contact-form__field span {
	display: block;
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--aa-gray);
	margin-bottom: 0.7em;
	text-align: center;
}
.aa-contact-form__field input,
.aa-contact-form__field textarea {
	width: 100%;
	font: inherit;
	font-size: 0.9rem;
	color: var(--aa-ink);
	background: none;
	border: 0;
	border-bottom: 1px solid var(--aa-rule);
	padding: 0.5em 0;
	resize: vertical;
	transition: border-color 0.3s var(--aa-ease);
}
.aa-contact-form__field input:focus,
.aa-contact-form__field textarea:focus {
	outline: none;
	border-bottom-color: var(--aa-ink);
}
.aa-contact-form__submit {
	display: block;
	margin: 0 auto;
	appearance: none;
	background: none;
	font: inherit;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--aa-ink);
	border: 1px solid var(--aa-ink);
	padding: 0.9em 2.4em;
	cursor: pointer;
	transition: background 0.3s var(--aa-ease), color 0.3s var(--aa-ease);
}
.aa-contact-form__submit:hover { background: var(--aa-ink); color: #fff; }
.aa-contact-form__notice {
	font-size: 0.85rem;
	padding: 1em 1.2em;
	border: 1px solid var(--aa-rule);
	color: var(--aa-ink-soft);
}
.aa-contact-form__notice.is-success { border-color: var(--aa-ink); color: var(--aa-ink); }
.aa-contact-form__notice.is-error { border-color: #b3554a; color: #b3554a; }

/* the company's own in-house a-bands display face (2026-07-24). Sakata
   supplied only a PDF specimen sheet, no font file, so this was rebuilt
   from that PDF: page rendered at 600dpi, each of the 26 lowercase
   letters + hyphen segmented and traced with potrace, then assembled
   into a real font in FontForge. Lowercase-only design (matches the
   specimen) — uppercase code points are mapped to the same lowercase
   outlines so any typed case still renders in this unicase style.
   Anything outside a-z/A-Z/hyphen (numbers, Japanese) isn't in this font
   and falls through to the next font in the stack automatically. */
@font-face {
	font-family: 'ABands Display';
	src: url('assets/fonts/ABandsDisplay.woff') format('woff'),
	     url('assets/fonts/ABandsDisplay.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* =========================================================
   a-bands — special page (templates/page-a-bands.html)

   Brand accent measured 2026-07-21 from the Wayback Machine archive of
   a-bands.com (a-bands_homes.html / a-bands_products.html): two
   independent 185x185 solid-colour swatch images (shapeimage_13.jpg on
   the homes page, shapeimage_15.jpg on the products page) both sampled
   at RGB 175,212,34 — confirmed by the matching nav-icon colour in
   image_1.png on both pages. --ab-accent-ink is a darker same-hue shade
   for legible text/labels (the raw swatch fails contrast on white,
   which is also why the original site only ever used it for icons and
   short nav labels, never for body copy).
   ========================================================= */
:root {
	--ab-accent: #afd422;
	--ab-accent-rgb: 175, 212, 34; /* same colour as --ab-accent, split out so gradients can fade its alpha */
	--ab-accent-ink: #6d8415;
	--ab-ink: #463c3b; /* a-bands' own text colour, from a-bands_homes.css .Body */
	--ab-band-w: clamp(72px, 11vw, 200px); /* side-band width, shared by the hero and the page background so they line up */
	--ab-band-alpha: 0.7; /* peak opacity at the outer edge before it fades inward — lighter than solid */
}

/* page-wide green side bands (2026-07-24, Sakata's call: thicker, and
   running the full page, not just the hero). This lives on the body
   background so it spans the whole document height automatically,
   including the small gaps around the hero's own inset margin — no
   z-index bookkeeping needed since a background always paints behind
   content. The hero has its own opaque white fill, so it repeats the
   same bands locally via ::before/::after, extended past its own inset
   margin so the two line up at the seam.

   2026-07-24 follow-up: at normal desktop widths the solid band was wide
   enough to reach under the 1040px content column. Fixed two ways: the
   band now fades to transparent toward the inside instead of stopping
   with a hard edge, and `.ab-section`'s max-width (below) shrinks to stay
   clear of the band entirely, so the two fixes don't have to rely on each
   other being perfect. */
body.ab-page-body {
	background: linear-gradient(
		to right,
		rgba(var(--ab-accent-rgb), var(--ab-band-alpha)) 0,
		rgba(var(--ab-accent-rgb), 0) var(--ab-band-w),
		rgba(var(--ab-accent-rgb), 0) calc(100% - var(--ab-band-w)),
		rgba(var(--ab-accent-rgb), var(--ab-band-alpha)) 100%
	);
}

/* hero (2026-07-24, revised): Sakata didn't want the dark grey field —
   white instead, with the brand green pulled in as two side bands so the
   page still reads as "a-bands" before you've scrolled at all. Text/scroll
   cue switch from the homepage's white-on-dark to dark-on-white. */
.ab-hero { background: #fff; }
.ab-hero::before,
.ab-hero::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--ab-band-w);
	z-index: 1;
	pointer-events: none;
}
.ab-hero::before {
	left: calc(-1 * var(--aa-inset));
	right: auto;
	background: linear-gradient(to right, rgba(var(--ab-accent-rgb), var(--ab-band-alpha)), rgba(var(--ab-accent-rgb), 0));
}
.ab-hero::after {
	right: calc(-1 * var(--aa-inset));
	left: auto;
	background: linear-gradient(to left, rgba(var(--ab-accent-rgb), var(--ab-band-alpha)), rgba(var(--ab-accent-rgb), 0));
}

.ab-hero .aa-stage__kicker { color: var(--ab-accent-ink); }
.ab-hero .aa-stage__title { color: var(--ab-ink); font-family: 'ABands Display', 'Helvetica Neue', Helvetica, Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif; font-weight: 400; }
.ab-hero .aa-stage__meta { color: var(--aa-ink-soft); }
.ab-hero .aa-scroll-cue { color: var(--aa-gray); }
.ab-hero .aa-scroll-cue__line { background: linear-gradient(to bottom, var(--aa-gray), rgba(0, 0, 0, 0)); }

/* logo-centric hero: no photo, so the caption becomes the whole
   composition — centred instead of the homepage's bottom-left placement,
   with the mark leading. Extra horizontal padding clears the side bands. */
.ab-hero .aa-stage__caption {
	left: 0;
	right: 0;
	bottom: auto;
	top: 50%;
	transform: translateY(-50%);
	max-width: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 calc(var(--ab-band-w) + 24px);
	z-index: 3;
}
.ab-hero .aa-stage__meta { justify-content: center; }
.ab-hero__mark { margin: 0 0 1.8em; }
.ab-hero__mark .ab-logo-mark { display: block; width: clamp(96px, 14vw, 168px); height: auto; }

/* sections sat too far apart at the shared `.aa-section` padding (up to
   ~320px between two sections at wide viewports) — Sakata's call
   (2026-07-24): tighten this page specifically without touching the other
   pages that also use `.aa-section`. */
/* `.aa-page`'s own clamp(120px,20vh,200px) top padding is sized for pages
   with no hero above them — a-bands already has [ab_hero] right before
   this wrapper, so that padding just doubled up with .ab-section's own
   spacing below. Cut it down to match the homepage's same fix
   (`body.home .aa-section` a few rules up). */
main.ab-page { padding-top: clamp(8px, 2vh, 24px); }

.ab-section {
	padding-top: clamp(20px, 4vh, 40px);
	padding-bottom: clamp(20px, 4vh, 40px);
	/* stay clear of the side bands at any viewport width instead of the
	   fixed 1040px every other page uses */
	max-width: min(1040px, calc(100vw - 2 * var(--ab-band-w) - 48px));
}

/* footer (2026-07-24): the shared `.site-foot` grey fill + white text is
   sitewide default, tuned for pages that don't have a-bands' green bands
   running underneath. Scoped to just this page: no fill, dark text, a
   hairline on top for separation instead of a colour change. */
body.ab-page-body .site-foot { background: none; color: var(--aa-ink); border-top: 1px solid var(--aa-rule); }
body.ab-page-body .site-foot .aa-tagline { color: var(--aa-ink-soft); }
body.ab-page-body .site-foot .aa-office-addr { color: var(--aa-ink-soft); }
body.ab-page-body .site-foot__base { color: var(--aa-gray); }
/* the footer's own horizontal padding (clamp 20-32px) was tuned for the
   sitewide grey footer, not for sitting clear of the green bands — bring
   it in line with .ab-section's band-aware margin. */
body.ab-page-body .site-foot__inner,
body.ab-page-body .site-foot__base {
	padding-left: calc(var(--ab-band-w) + 24px);
	padding-right: calc(var(--ab-band-w) + 24px);
}
/* that extra padding shrinks the available width below what
   `auto-fit, minmax(220px,1fr)` needs for 4 columns, so office name +
   address pairs were splitting across rows. Pin it to 4 equal columns
   instead — the content is short enough to wrap fine even narrower. */
body.ab-page-body .site-foot .aa-offices { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
	body.ab-page-body .site-foot .aa-offices { grid-template-columns: 1fr; }
}

/* faint brand-mark watermark behind the story copy — a single restrained
   instance of the real logo (not a generic decorative blob) */
.ab-story { position: relative; overflow: hidden; }
.ab-story__mark {
	position: absolute;
	top: 40px;
	right: -60px;
	z-index: 0;
	pointer-events: none;
}
.ab-story__mark .ab-logo-mark { width: clamp(220px, 26vw, 420px); height: auto; opacity: 0.07; }
.ab-story > *:not(.ab-story__mark) { position: relative; z-index: 1; }

/* every other eyebrow label on the page picks up the accent instead of
   the site-wide grey, scoped to `.ab-page` so nothing outside this page
   is affected */
.ab-page .aa-eyebrow { color: var(--ab-accent-ink); }

.ab-section__lead {
	max-width: 46em;
	color: var(--aa-ink-soft);
	font-size: 0.95rem;
	line-height: 1.8;
	margin: 0 0 2em;
}

.ab-story__lead {
	max-width: 46em;
	color: var(--aa-ink-soft);
	font-size: 0.98rem;
	line-height: 1.8;
	margin: 0 0 1.2em;
}
.ab-story__link {
	display: inline-block;
	margin-top: 1em;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: var(--aa-ink);
	border-bottom: 1px solid var(--ab-accent);
	padding-bottom: 0.2em;
	transition: color 0.3s var(--aa-ease), border-color 0.3s var(--aa-ease);
}
.ab-story__link:hover { color: var(--ab-accent-ink); border-color: var(--ab-accent-ink); }

.ab-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(18px, 2.6vw, 40px);
	margin-top: 1.5em;
}
.ab-card { display: block; text-decoration: none; color: inherit; }
.ab-card__thumb {
	aspect-ratio: 4 / 3;
	background-color: var(--aa-gray-pale);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--aa-gray-light);
	font-size: 0.58rem;
	letter-spacing: 0.2em;
}
.ab-card__body { padding-top: 1em; }
.ab-card__meta {
	display: block;
	font-size: 0.64rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ab-accent-ink);
	margin: 0 0 0.5em;
}
.ab-card__title { font-size: 0.92rem; font-weight: 400; color: var(--aa-ink); margin: 0 0 0.4em; line-height: 1.5; }
.ab-card__desc { font-size: 0.82rem; color: var(--aa-ink-soft); line-height: 1.65; margin: 0; }
.ab-card--furniture .ab-card__thumb { filter: saturate(0.92); transition: filter 0.5s var(--aa-ease); }
.ab-card--furniture:hover .ab-card__thumb { filter: saturate(1); }

.ab-empty { color: var(--aa-gray); font-size: 0.85rem; }

.ab-cta {
	display: inline-block;
	margin-top: 2.5em;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--aa-ink);
	border: 1px solid var(--ab-accent);
	padding: 0.9em 2.2em;
	transition: background 0.3s var(--aa-ease), color 0.3s var(--aa-ease);
}
.ab-cta:hover { background: var(--ab-accent); color: var(--ab-ink); }

/* Archive — deliberately quiet: no hover reveal, no ordering chips, just
   photo + one line, per Sakata's decision that this section stays a
   footnote rather than a feature */
.ab-archive__list { list-style: none; margin: 1.5em 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.6em; }
.ab-archive__item { display: grid; grid-template-columns: 140px 1fr; gap: 1.6em; align-items: center; }
.ab-archive__thumb {
	aspect-ratio: 4 / 3;
	background-color: var(--aa-gray-pale);
	background-size: cover;
	background-position: center;
	filter: grayscale(0.25) saturate(0.85);
}
.ab-archive__item h4 { margin: 0 0 0.4em; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; color: var(--aa-ink); }
.ab-archive__item p { margin: 0; font-size: 0.85rem; color: var(--aa-ink-soft); line-height: 1.65; }

.ab-visit__office { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; margin: 0 0 0.6em; }
.ab-visit__addr { color: var(--aa-ink-soft); line-height: 1.7; margin: 0 0 0.5em; }

/* the a-bands hero is a plain white/green field now, not a dark photo, so
   the header just uses the normal `body:not(.home)` inner-page treatment
   (dark text + frosted-glass backing) — no scrim override needed here. */

@media (max-width: 720px) {
	.ab-archive__item { grid-template-columns: 84px 1fr; gap: 1em; }
}

/* ---------------------------------------------------------------
   EXPERIMENT (2026-07-24, Sakata's request): "コロッと可愛らしい"
   (round/plump/cute) direction for a-bands, in contrast to the main
   site's thin/sharp language. Scoped to .ab-products only — Sakata
   confirmed EVENTS and VISIT/CONTACT stay as-is, and rejected the
   background blob shapes (tried as an echo of the 2007 a-bands.com
   flower/paw motif, but didn't land).
   ------------------------------------------------------------- */
.ab-products .ab-card__thumb { border-radius: 26px; }
.ab-products .ab-card__meta {
	display: inline-block;
	background: none;
	color: var(--ab-accent-ink);
	border: 1px solid var(--ab-accent);
	border-radius: 999px;
	padding: 0.25em 0.9em;
	letter-spacing: 0.08em;
}
.ab-products .ab-card__title { font-weight: 500; }

.ab-products .ab-cta {
	border-radius: 999px;
	background: var(--ab-accent);
	border-color: var(--ab-accent);
	color: var(--ab-ink);
}
.ab-products .ab-cta:hover { background: var(--ab-accent-ink); border-color: var(--ab-accent-ink); color: #fff; }

@media (max-width: 720px) {
	.ab-products::before { width: 200px; height: 200px; top: -70px; right: -60px; }
	.ab-products::after { width: 110px; height: 110px; right: 20px; bottom: -10px; }
}

/* =========================================================
   a-bands — 案B「緑を一枚の面に」 (2026-08-18, Sakata's call)

   Diagnosis behind this change: the page read as dated because of the
   green side bands, not the colours or the type. Framing a centred
   column with vertical colour bars is a fixed-width-era device, and it
   also forced `.ab-section` to shrink away from the bands, which made
   "wide photos, generous margins" structurally impossible.

   案B keeps the green at full strength but moves it: one confident
   full-width field at the top of the page, then white and quiet below.

   Written as a self-contained override block rather than edits in place
   so the exact same text can be pasted into サイトエディター → スタイル
   → 追加CSS on production. `!important` throughout because 追加CSS is
   loaded *before* style.css in this install (2026-08-12 finding), so a
   bare property would lose to the original rule.
   ========================================================= */

/* 1. the side bands, gone — page background and the hero's own copies */
body.ab-page-body { background: #fff !important; }
.ab-hero::before,
.ab-hero::after { display: none !important; }

/* 2. the hero becomes the green field. It also stops filling the whole
      viewport: a full screen of flat colour is heavier than the mockup,
      which showed roughly two-thirds. Keeps `.aa-stage`'s 16px inset so
      the site-wide framed edge still reads. */
.ab-hero {
	background: var(--ab-accent) !important;
	height: min(72svh, 620px) !important;
}
/*    The composition moves off dead-centre: centred inside a full green
      field left the mark colliding with the fixed header, and the chosen
      mockup grouped mark/title/kicker low and left. Anchoring to the
      bottom-left clears the header outright and gives the field room to
      read as a field. */
.ab-hero .aa-stage__caption {
	top: auto !important;
	bottom: clamp(40px, 8vh, 88px) !important;
	transform: none !important;
	align-items: flex-start !important;
	text-align: left !important;
	padding: 0 clamp(24px, 5vw, 64px) !important;
}
.ab-hero .aa-stage__meta { justify-content: flex-start !important; }
.ab-hero__mark { margin: 0 0 1.2em !important; }
.ab-hero__mark .ab-logo-mark { width: clamp(64px, 8vw, 104px) !important; }

/* 3. hero contents, recoloured for a green ground. The mark's green
      strokes are `fill="var(--ab-accent)"`, so redefining the variable on
      the mark alone re-inks them; the yellow path is a hard-coded fill,
      which a CSS `fill` still overrides. */
.ab-hero .aa-stage__title {
	color: #23300a !important;
	font-weight: 300 !important;
	font-size: clamp(2.4rem, 7.4vw, 4.4rem) !important;
	line-height: 0.98 !important;
	letter-spacing: -0.015em !important;
}
.ab-hero .aa-stage__kicker { color: #4a5c10 !important; }
.ab-hero .aa-scroll-cue { color: #4a5c10 !important; }
.ab-hero .aa-scroll-cue__line {
	background: linear-gradient(to bottom, #4a5c10, rgba(74, 92, 16, 0)) !important;
}
/*    Knocked out in white rather than re-inked dark: on the green field the
      mark's own green disappears, but taking it to a dark ink read as
      "the logo turned black" (Sakata, 2026-08-18) — it stopped being the
      a-bands mark. White keeps the silhouette intact and reads as a logo
      placed on a brand colour rather than a recoloured one. The yellow
      petal stays distinct but shifts to cream (Sakata, 2026-08-18): its
      real #ffe61b all but vanishes against the green and the pinwheel
      reads as missing a blade, while cream still separates from the
      other five on a green ground. */
.ab-hero__mark .ab-logo-mark { --ab-accent: #ffffff; }
.ab-hero__mark .ab-logo-mark path:last-of-type { fill: #fbf3c4 !important; }

/* 4. the header sits directly on the green. The frosted white backing
      interior pages use would cut a bar across the field. */
body.ab-page-body .site-head__inner::before { display: none !important; }
body.ab-page-body .site-head { color: #4a5c10 !important; }
body.ab-page-body .site-head .lang-switcher,
body.ab-page-body .site-head .lang-switcher a { color: #5f7418 !important; }
body.ab-page-body .site-head .lang-switcher .lang-current { color: #23300a !important; }
body.ab-page-body .site-head .wp-block-navigation a:hover { color: #23300a !important; }

/* 5. with no bands to avoid, the content column gets its width back —
      this is what makes the photos bigger rather than any photo rule. */
.ab-section { max-width: min(1180px, calc(100vw - 96px)) !important; }
body.ab-page-body .site-foot__inner,
body.ab-page-body .site-foot__base {
	padding-left: clamp(20px, 4vw, 32px) !important;
	padding-right: clamp(20px, 4vw, 32px) !important;
}

/* 6. PRODUCTS photos square off. The outlined pill badge stays — that
      was the a-bands-ness worth keeping out of the 2026-07-24 round
      experiment; the 26px corners were the part reading as cute. */
.ab-products .ab-card__thumb {
	border-radius: 0 !important;
	aspect-ratio: 1 / 1 !important;
}

/* 7. ARCHIVE follows the wider column. The 140px-thumb + one-line list was
      sized for the old narrow band-constrained column; at the freed width
      it left most of the row empty and read as the oldest thing on the
      page. Same card rhythm as PRODUCTS — still a footnote by size and
      greyscale, not a feature. Markup is untouched; the existing
      thumb/h4/p children just re-stack. */
.ab-archive__list {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
	gap: clamp(18px, 2.6vw, 40px) !important;
}
.ab-archive__item { display: block !important; }
.ab-archive__thumb { margin-bottom: 1em !important; }

/* =========================================================
   2026-08-18 (2) — レイアウト修正 (Sakata's direction)

   Same self-contained-override form as the a-bands block above, so this
   text can also be pasted straight into 追加CSS on production.
   ========================================================= */

/* ヘッダー：ナビと言語切替をロゴマークの高さ中央に合わせる。
   `align-items: baseline` はロゴ画像には効かず（画像にテキストの
   ベースラインがない）、ナビがロゴの中心より29px上に浮いていた。 */
.site-head__inner { align-items: flex-end !important; }
.site-head .wp-block-navigation a { font-size: 0.82rem !important; }
.site-head .lang-switcher,
.site-head .lang-switcher a { font-size: 0.72rem !important; }

/* CONTACT：中央揃えのまま入力欄の下線を広げる。480pxの列は見出しの
   罫線がページ幅いっぱいに走るのに対して細すぎ、フォームだけが
   浮いて見えていた。 */
.aa-contact-form { max-width: 640px !important; }

/* ラベルは左揃えに戻す。640pxの下線の真ん中にラベルだけが浮くと、
   入力を始める左端と目線が噛み合わず落ち着かない。フォームの
   ブロック自体はページ中央のままなので、中央揃えの構図は保たれる。 */
.aa-contact-form__field span {
	text-align: left !important;
	margin-bottom: 0.4em !important;
}
.aa-contact-form__field { margin-bottom: 2.4em !important; }
.aa-contact-form__field input,
.aa-contact-form__field textarea { padding: 0.7em 0 !important; }
.aa-contact-form__submit { margin-top: 0.6em !important; }

/* フォームより下の事務所情報。中央揃えにしたうえで、フォームとの
   間に区切りと余白を入れて別のまとまりとして見せる */
.aa-contact-form ~ * { text-align: center !important; }
.aa-contact-form ~ h3 { margin-top: 2.6em !important; }
/*    区切りはフォーム側に持たせる。`~ h3:first-of-type` は本文先頭の
      別の h3（「お問い合わせフォーム」）を指してしまい一致しない。 */
/*    罫線は「フォームの一部の線」と紛らわしいので引かない。まとまりの
      切れ目は余白だけで示す（坂田 2026-08-18）。 */
.aa-contact-form {
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
	margin-bottom: 7em !important;
}

/* ABOUT：プロフィールは写真1枚にする（2026-09-15、坂田の指定）。

   ⚠️ 経緯：2026-08-18 に「手書きのサインだけにする（顔写真は出さない）」として
   写真を display:none で隠していた。今回もらった写真は**サインが焼き込まれている**
   ので、別置きのサイン画像（arai-signature.png）ごと本文から外し、写真1枚に戻した。
   ここの display:none を消さないと、写真を入れ替えても出てこない。

   ⚠️ 幅はグレーの帯（.entry-content > ul / table）と同じにしてある
   （2026-09-15、坂田「横幅をグレーブロックと合わせる」）。帯は
   `margin-left: -1.1rem` ＋ `width: 100%` ＋ `max-width: 1040px` で、
   見出し（960px）より広く、少し左へはみ出す形。**数字を直接書かず、
   帯と同じ3つの指定をそのまま使う**こと。片方だけ変えるとずれる。
   2カラムのグリッドは写真1枚なので1カラムに戻す。 */
.aa-profile-portrait {
	grid-template-columns: 1fr !important;
	justify-items: start !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 1040px !important;
	margin: 1.6em 0 2.35em -1.1rem !important;
	padding: 0 !important;
}
.aa-profile-portrait__photo {
	display: block !important;
	width: 100% !important;
	height: auto !important;
}

/* PROJECT：円形に開くダイヤルをやめ、クリックで開くドロップダウンにする
   （坂田 2026-08-28）。選択肢を平置きで並べると小さいグレーの文字列が
   2段ぶん居座って落ち着かなかったので、普段は「TYPE ALL」「COUNTRY ALL」
   の2つだけを出し、押したときに選択肢を開く。
   dial.js は開閉と選択の処理をそのまま持っているので、円弧に載せるための
   インライン style（transform / opacity / pointer-events）だけを打ち消す。 */
.aa-dial__stage,
.aa-dial__hit { display: none !important; }

.aa-works .aa-dial {
	display: inline-block !important;
	position: relative !important;
	vertical-align: top !important;
	margin: 0 clamp(30px, 4.4vw, 72px) 2.8em 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.aa-works .aa-dial:nth-of-type(2) { margin-right: 0 !important; }

/* 閉じているときに見えるのはここだけ */
.aa-dial__trigger {
	display: inline-flex !important;
	align-items: baseline !important;
	gap: 1em !important;
	pointer-events: auto !important;
	cursor: pointer !important;
	padding: 0.2em 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--aa-rule) !important;
	background: none !important;
	min-width: 11em !important;
	text-align: left !important;
}
.aa-dial__label {
	display: block !important;
	font-size: 0.58rem !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	color: var(--aa-gray-light) !important;
	white-space: nowrap !important;
}
.aa-dial__current {
	display: block !important;
	margin-left: auto !important;
	font-size: 0.78rem !important;
	letter-spacing: 0.14em !important;
	color: var(--aa-ink) !important;
	opacity: 1 !important;
	white-space: nowrap !important;
}
/* 絞り込みが効いていない（ALL）ときは主張させない */
.aa-dial:has(.aa-dial__item.is-active[data-f="*"]) .aa-dial__current {
	color: var(--aa-gray-light) !important;
}
.aa-dial__trigger:hover .aa-dial__label { color: var(--aa-ink-soft) !important; }
.aa-dial__trigger:hover .aa-dial__current { letter-spacing: 0.14em !important; }

/* 開いたときの一覧 */
.aa-dial__ring {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	z-index: 6 !important;
	display: none !important;
	flex-direction: column !important;
	align-items: stretch !important;
	min-width: 100% !important;
	width: max-content !important;
	height: auto !important;
	transform: none !important;
	margin-top: 0 !important;
	/* 下にいくほど薄くなる白。枠で囲うとUIが硬くなるので、輪郭を持たせず
	   紙が滲むように消す（坂田 2026-08-28「枠無くしてグラデーションでぼかす」）。
	   写真の上に重なっても字が読めるよう、背景側をぼかして敷いている。
	   最後の項目が消えかけの帯に入らないよう、下の余白を厚めに取る。 */
	padding: 0 0 2.6em !important;
	border: 0 !important;
	background: none !important;
	gap: 0 !important;
}
/* 敷き紙。枠を引かずに面を出す。放射状のマスクで抜くと写真の上に楕円の
   滲みが出て不自然だったので、白いぼかし影を四方に広げるだけにした。
   影の減衰はそのまま自然なグラデーションになり、輪郭も残らない。 */
.aa-dial__ring::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 -0.4em -0.2em -0.6em !important;
	background: rgba(255, 255, 255, 0.97) !important;
	box-shadow:
		0 0 22px 22px rgba(255, 255, 255, 0.97),
		0 10px 34px 20px rgba(255, 255, 255, 0.88) !important;
	z-index: -1 !important;
	pointer-events: none !important;
}
.aa-dial[data-open="true"] .aa-dial__ring { display: flex !important; }

.aa-dial__item {
	position: static !important;
	transform: none !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	padding: 0.5em 1.6em !important;
	border: 0 !important;
	text-align: left !important;
	white-space: nowrap !important;
	color: var(--aa-gray) !important;
	transition: color 0.2s var(--aa-ease), background-color 0.2s var(--aa-ease) !important;
}
.aa-dial__name {
	display: inline !important;
	transform: none !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.14em !important;
}
.aa-dial__ja,
.aa-dial__n { display: none !important; }
/* ホバーも面で塗ると四角が戻ってくるので、濃さだけで示す */
.aa-dial__item:hover { color: var(--aa-ink) !important; }
.aa-dial__item.is-active { color: var(--aa-ink) !important; }
.aa-dial__head { display: none !important; }

/* ⚠️ 後ろ（2026-08-18のレイアウト修正）に `.aa-dial__item` の一式があり、
   同じ詳細度で後ろにあるぶん勝ってしまう。打ち消すのは3つ：
   ・::after の下線（平置きのころの「選択中の下線」。パネルでは横線に見える）
   ・color: gray-light（選択中まで薄くなり、濃淡で選択が分からなくなる）
   ・padding-bottom: 0.6em（項目の高さが揃わなくなる） */
.aa-works .aa-dial .aa-dial__item::after { display: none !important; }
.aa-works .aa-dial .aa-dial__item {
	color: var(--aa-gray) !important;
	padding: 0.5em 1.6em !important;
}
.aa-works .aa-dial .aa-dial__item:hover { color: var(--aa-ink) !important; }
.aa-works .aa-dial .aa-dial__item.is-active { color: var(--aa-ink) !important; }

@media (max-width: 720px) {
	.aa-works .aa-dial { display: block !important; margin: 0 0 1.2em 0 !important; }
	.aa-works .aa-dial:nth-of-type(2) { margin-bottom: 2.4em !important; }
	.aa-dial__trigger { width: 100% !important; }
}

/* 絞り込みの上にあった説明文も出さない。ページ本文の先頭にある段落で、
   `.aa-works` の直前に立つのはこの一段落だけなので、ページIDに依存せず
   3言語ぶん同時に効く。 */
.entry-content > p:has(+ .aa-works) { display: none !important; }

/* サイト全体の方針（坂田 2026-08-18）：説明文は基本置かず写真で見せる。
   a-bands の PRODUCTS・ARCHIVE のリード文もこれに合わせて出さない。 */
.ab-section__lead { display: none !important; }

/* サイト全体の「額縁」をやめる（坂田 2026-08-18）。
   ヒーローとフッターだけが16px内側に寄っていて、画面の下と左右に白い
   隙間が残っていた。ヘッダーの余白（`calc(var(--aa-inset) + 34px)` 等）
   は padding なので触らず、隙間を生んでいた margin の2箇所だけを外す。 */
.aa-stage { margin: 0 !important; }
.site-foot { margin: 0 !important; }

/* 最上部とフッター上に残っていた24pxの隙間。ブロックレイアウトの既定の
   縦間隔（`:where(.wp-site-blocks) > *` の margin-block-start）が
   ヘッダー / main / フッターの間に入っていたもの。TOPの main には
   `aa-page` クラスが付かないので、要素ではなくこの並び自体を狙う。
   下層ページの余白は main 自身の padding-top で確保されているため、
   この間隔を外しても詰まらない。 */
.wp-site-blocks > * { margin-block-start: 0 !important; }

/* a-bands のヘッダーに白い帯を戻す（坂田 2026-08-18）。サイト全体の16px
   の額縁を外した結果、緑が画面最上端まで届いてヘッダーを飲み込んだよう
   に見えていた。緑はタブの下から始める。

   この指定は上の案Bブロック（`display: none`）の打ち消しだが、本番の
   追加CSSには案Bブロックが既に貼られているため、あちらを書き換えるの
   ではなく後ろに足して後勝ちさせる。本番へは「末尾に追記」だけで済む。

   すりガラスではなく不透明にしているのは、平坦な色面の上では半透明の
   帯だと緑が透けて事故のように見えるため。 */
body.ab-page-body .site-head__inner::before {
	display: block !important;
	background: #fff !important;
	backdrop-filter: none !important;
}

/* TOPもa-bandsと同じく、ロゴとタブの帯を白にする（坂田 2026-08-18）。
   ホームだけは `.site-head__inner::before` が定義されていない
   （`body:not(.home)` 限定のため）ので、ここで作る。 */
body.home .site-head__inner { position: relative !important; }
body.home .site-head__inner::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: #fff !important;
	z-index: -1 !important;
	pointer-events: none !important;
}
/* 白地に変わるので、写真の上に載せる前提だった白文字と影・スクリムを外す */
body.home .site-head::before { display: none !important; }
body.home .site-head { color: var(--aa-gray) !important; }
body.home .site-head .wp-block-navigation a { text-shadow: none !important; }
body.home .site-head .wp-block-navigation a:hover { color: var(--aa-ink) !important; }
body.home .site-head .lang-switcher,
body.home .site-head .lang-switcher a { color: var(--aa-gray-light) !important; text-shadow: none !important; }
body.home .site-head .lang-switcher .lang-current { color: var(--aa-ink) !important; }

/* スクロールするとタブが上に抜けていくようにする（坂田 2026-08-18）。
   `position: fixed` で画面に貼り付いていたのを、ページと一緒に流れる
   `absolute` に変える。白帯もヒーローも同じだけ動くので、緑や写真との
   位置関係は崩れない。下層ページの上余白は main の padding-top で
   確保されているため、固定をやめても本文がヘッダーに潜り込まない。 */
.site-head { position: relative !important; }

/* 下層ページの上余白。テーマの clamp(120px, 20vh, 200px) は固定ヘッダーを
   避けるための値だったが、ヘッダーが場所を占めるようになったので不要。
   見出しがヘッダーに潜り込むこともなくなる。 */
main.aa-page:not(.ab-page) { padding-top: clamp(32px, 5vh, 64px) !important; }

/* ヘッダーの抜け方をやわらげる（坂田 2026-08-18「ページと一体化して
   いるように見える」）。`absolute` のままだとページと1:1で動くので、
   紙に印刷された一部のように見えてしまう。

   スクロール量に連動させて、ページより少し遅れながら（top を +96px）
   薄くなって消える。スクロールを戻せばそのまま戻ってくる。

   `transform` ではなく `top` を動かしているのは、transform を当てると
   その要素が position:fixed の子孫の包含ブロックになり、モバイルの
   全画面メニューがヘッダーの箱の中に閉じ込められるため（同じ理由で
   backdrop-filter を ::before に逃がした経緯がファイル冒頭にある）。

   scroll() タイムラインに未対応のブラウザでは @supports ごと無視され、
   これまでどおり「ページと一緒に流れて消える」動きになる。 */
@keyframes aa-head-float-out {
	to { opacity: 0; top: 96px; }
}
@supports (animation-timeline: scroll()) {
	.site-head {
		animation: aa-head-float-out linear both !important;
		animation-timeline: scroll(root block) !important;
		animation-range: 0 360px !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.site-head { animation: none !important; }
}

/* TOPの署名（手書きのサイン）が白いままだった。写真の上に載せる前提で
   `.site-wordmark` に near-white が入っており、下層ページだけが
   `body:not(.home)` で濃色に上書きされていた。白帯にした今、ホームも
   濃色にする。 */
body.home .site-wordmark { color: var(--aa-ink) !important; }

/* ヒーローの位置合わせは、ヘッダー高を数値で持たせるのをやめた。
   当初 `--aa-head-h` に実測値を入れて下げていたが、ヘッダーの高さは
   幅によって変わる（1280pxで177px、1009pxで172px）うえ、切り替えの
   境界をテーマ本来の720pxではなく1100pxに置いてしまい、その間の幅で
   ヒーローが71pxヘッダーの裏に潜り込んでいた（坂田「拡大されている
   ような気がする」）。

   ヘッダーを通常フローに戻したので、ヒーローは自然にその下から始まる。
   合わせるべき数値がなくなり、どの幅でもずれない。 */

/* 選べるところのフィードバック（坂田 2026-08-18）。
   最初は文字の裏にグレーの面を敷いたが「全然かっこよくない」との指摘。
   面で塗るのをやめ、サイトが元々ナビで使っている「細い線が左から
   引かれる」動きに揃える。単発の装飾を足すのではなく、選べるものは
   どこでも同じ反応をする、という一本の作法にするのが狙い。

   静止時：うすいグレーの文字、線なし
   ホバー ：線が左から引かれ、文字が濃くなる
   選択中 ：文字は濃いインク、線は引かれたまま

   `border-bottom` ではなく擬似要素なのは、線を「引く」動きが要るため。
   grid の項目だが絶対配置なのでセルを占有しない。 */
.aa-dial__item {
	position: relative !important;
	border-bottom: 0 !important;
	padding-bottom: 0.6em !important;
	color: var(--aa-gray-light) !important;
	transition: color 0.3s var(--aa-ease) !important;
}
.aa-dial__item::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	height: 1px !important;
	background: currentColor !important;
	transform: scaleX(0) !important;
	transform-origin: left !important;
	transition: transform 0.45s var(--aa-ease) !important;
}
.aa-dial__item:hover { color: var(--aa-ink-soft) !important; }
.aa-dial__item:hover::after,
.aa-dial__item.is-active::after { transform: scaleX(1) !important; }
.aa-dial__item.is-active { color: var(--aa-ink) !important; }

/* 言語切替も同じ作法に乗せる（ナビと絞り込みだけ動くと浮くため） */
.site-head .lang-switcher a { position: relative !important; }
.site-head .lang-switcher a::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: -4px !important;
	height: 1px !important;
	background: currentColor !important;
	transform: scaleX(0) !important;
	transform-origin: left !important;
	transition: transform 0.45s var(--aa-ease) !important;
}
.site-head .lang-switcher a:hover { color: var(--aa-ink) !important; }
.site-head .lang-switcher a:hover::after { transform: scaleX(1) !important; }

/* =========================================================
   2026-09-01 — 写真は元の長方形のまま、グリッドを整える（坂田の指示）

   一日かけて正方形（切り取り／白／グレー／升目2つ）を試したが、坂田より
   「やっぱり正方形は現実的じゃない。一番元々の長方形で、グリッドサイズを
   整えて」との結論。**写真は切らない**。そろえるのは枠のほうにする。

   ⚠️ 正方形にしないと決めた理由（同じ道を戻らないために）
   ・事務所の写真は比率がばらばらで、パノラマ（3:1）から縦位置まである。
     正方形に切ると61作品中33点が4割以上欠け、佐世保のパースは69%が消えた
   ・切らずに収めると余りが出る。白＝枠が見えずバラついて見える、
     グレー＝坂田の判断で不採用
   ・升目を1つ／2つ使い分ける案は「正方形は統一したい」に反する
   ========================================================= */

/* ── グリッドの寸法をサイト全体で1本にそろえる ──
   これまで場所ごとに違う値だった：
     PROJECT一覧    列 minmax(250px,1fr) の自動詰め／余白 clamp(18px, 2.6vw, 40px)
     a-bands        列 minmax(260px,1fr) の自動詰め／余白 clamp(18px, 2.6vw, 40px)
     作品ギャラリー 2列固定／余白 clamp(24px, 3.4vw, 44px)
   自動詰め（auto-fill）は画面幅しだいで列数が3にも4にも5にもなり、カードの
   大きさが場所によって変わっていた。**列数を決め打ちにして、余白も1つの値に
   まとめる**。器（.aa-section）は1040pxなので、内寸976px÷3列＝約307px。 */
:root {
  --aa-grid-gap: clamp(20px, 2.6vw, 34px);
}

/* 一覧のカードは3列。写真は元どおり4:3の長方形（切り取りはこれまでどおり） */
.works-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: var(--aa-grid-gap) !important;
}
/* a-bands のカードとアーカイブも同じ3列・同じ余白にそろえる */
.ab-grid,
.ab-archive__list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: var(--aa-grid-gap) !important;
}
@media (max-width: 900px) {
  .works-gallery,
  .ab-grid,
  .ab-archive__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .works-gallery,
  .ab-grid,
  .ab-archive__list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ② 作品ページのギャラリー：2列のグリッド、写真は元の比率のまま。
      ここは切らない——パノラマ・手書きロゴ・図面が混ざっていて、正方形に
      切ると意味を失うものがあるため（佐世保のパースは69%が消えていた）。
      高さは不揃いになるが、上端はそろう。 */
.aa-work__desc .wp-block-gallery.has-nested-images {
  --aa-gallery-gap: var(--aa-grid-gap);
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  columns: auto !important;
  gap: var(--aa-gallery-gap) !important;
  align-items: start !important;
  margin-top: 0 !important;
}
.aa-work__desc .wp-block-gallery.has-nested-images.columns-1 {
  grid-template-columns: minmax(0, 1fr) !important;
}
.aa-work__desc .wp-block-gallery.has-nested-images.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.aa-work__desc .wp-block-gallery.has-nested-images figure.wp-block-image {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
}
.aa-work__desc .wp-block-gallery.has-nested-images figure.wp-block-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: initial !important;
}
@media (max-width: 720px) {
  .aa-work__desc .wp-block-gallery.has-nested-images,
  .aa-work__desc .wp-block-gallery.has-nested-images.columns-3 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* 作品ページのトップ写真は、写真の比率のまま全部見せる（2026-08-21の指示に戻す）。
   縦に長い写真だけ画面の高さで頭打ちにして、横位置と並びを揃える。 */
.aa-work__hero {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: initial !important;
  max-height: 82vh !important;
  margin: 0 auto 2.6em !important;
}

/* 2026-09-04: readability pass after launch review.
   Keep the quiet architectural tone, but lift the smallest/lightest copy
   so project names, meta text, body copy, and footer addresses are easier
   to read on phones and normal laptop displays. */
:root {
  --aa-gray: #535a61;
  --aa-gray-light: #747b82;
  --aa-ink-soft: #3f474e;
}

.aa-page p,
.aa-page li,
.aa-work__desc p {
  font-size: 1.04rem !important;
  line-height: 1.7 !important;
}

.page-id-5 .aa-page p,
.page-id-5 .aa-page li,
.page-id-24 .aa-page p,
.page-id-24 .aa-page li,
.page-id-29 .aa-page p,
.page-id-29 .aa-page li {
  font-size: 0.96rem !important;
}

.site-head .wp-block-navigation a {
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
}

.site-head .lang-switcher,
.site-head .lang-switcher a {
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
}

.aa-page .wp-block-post-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  color: #343b42 !important;
  margin-bottom: 1.05em !important;
}

.aa-dial__label {
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  color: #535a61 !important;
}

.aa-dial__current {
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  color: #2d3339 !important;
}

.aa-works .aa-dial {
  margin-bottom: 3.2em !important;
}

.aa-works .aa-dial:nth-of-type(2) {
  margin-bottom: 3.2em !important;
}

.aa-works .aa-dial .aa-dial__item {
  padding: 0.55em 1.6em !important;
}

.aa-works .aa-dial .aa-dial__name {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
}

.aa-works .aa-dial .aa-dial__item.is-active .aa-dial__name {
  font-weight: 500 !important;
}

.works-gallery .work-name {
  font-size: 1.08rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.34 !important;
  gap: 0.18em !important;
}

.work-name__ja {
  margin-top: 0 !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
}

.work-meta,
.aa-news .wp-block-post-date {
  font-size: 0.74rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
}

.aa-work__title {
  font-size: clamp(1.72rem, 3.2vw, 2.42rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.28 !important;
  color: #30373e !important;
  margin-bottom: 0.38em !important;
}

.aa-work__title-ja {
  margin-top: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  color: #535a61 !important;
}

.aa-work__back {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  color: #343b42 !important;
  border: 0 !important;
  padding: 0.16em 0 !important;
  margin-bottom: 2.5em !important;
}

.aa-work__back:hover {
  color: #15191d !important;
}

.aa-work__meta {
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em !important;
  margin-top: 0.9em !important;
}

.aa-work__cat,
.aa-work__ordering li {
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
}

.aa-contact-form__field span {
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  color: var(--aa-ink-soft) !important;
}

.aa-contact-form__field input,
.aa-contact-form__field textarea {
  font-size: 1.06rem !important;
}

.site-foot .aa-tagline {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.94) !important;
}

.site-foot .aa-office-name {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

.site-foot .aa-office-addr {
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.96) !important;
}

.site-foot__base {
  font-size: 0.76rem !important;
  color: rgba(255,255,255,0.8) !important;
}

@media (max-width: 720px) {
  .site-head .wp-block-navigation a {
    font-size: 0.86rem !important;
    letter-spacing: 0.13em !important;
  }

  .site-head .lang-switcher,
  .site-head .lang-switcher a {
    font-size: 0.72rem !important;
  }

  .aa-page .wp-block-post-title {
    font-size: 1.55rem !important;
    margin-bottom: 1em !important;
  }

  .aa-dial__label {
    font-size: 0.72rem !important;
  }

  .aa-dial__current {
    font-size: 0.92rem !important;
  }

  .aa-works .aa-dial .aa-dial__name {
    font-size: 0.88rem !important;
  }

  .aa-page p,
  .aa-page li,
  .aa-work__desc p {
    font-size: 1.04rem !important;
  }

  .works-gallery .work-name {
    font-size: 1.12rem !important;
    line-height: 1.4 !important;
  }

  .work-name__ja {
    font-size: 0.82rem !important;
  }

  .work-meta {
    font-size: 0.78rem !important;
  }

  .aa-work__title {
    font-size: 1.62rem !important;
    line-height: 1.28 !important;
  }

  .aa-work__title-ja {
    font-size: 0.86rem !important;
  }

  .aa-work__back {
    font-size: 0.8rem !important;
    padding: 0.16em 0 !important;
  }

  .aa-work__meta {
    font-size: 0.88rem !important;
  }

  .aa-work__cat,
  .aa-work__ordering li {
    font-size: 0.74rem !important;
  }
}

/* 2026-09-04: ABOUT index-paper study.
   Reference: the monograph's contents pages, with a gray field and dotted
   leaders. This stays text-led and does not alter the project image layouts. */
.page-id-5 .aa-page,
.page-id-24 .aa-page,
.page-id-29 .aa-page {
  max-width: 1180px !important;
}

.page-id-5 .entry-content,
.page-id-24 .entry-content,
.page-id-29 .entry-content {
  position: relative !important;
  padding: 0 !important;
  background: transparent !important;
}

.page-id-5 .entry-content::before,
.page-id-24 .entry-content::before,
.page-id-29 .entry-content::before {
  content: none !important;
}

.page-id-5 .entry-content > h2,
.page-id-5 .entry-content > h3,
.page-id-24 .entry-content > h2,
.page-id-24 .entry-content > h3,
.page-id-29 .entry-content > h2,
.page-id-29 .entry-content > h3 {
  position: relative !important;
  width: min(100%, 960px) !important;
  margin: 3.1em 0 1.1em !important;
  padding: 0 !important;
  background: transparent !important;
  color: #3e444a !important;
  font-size: clamp(1.15rem, 1.9vw, 1.46rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.35 !important;
}

.page-id-5 .entry-content > h3,
.page-id-24 .entry-content > h3,
.page-id-29 .entry-content > h3 {
  width: min(100%, 920px) !important;
  margin-top: 2.6em !important;
  font-size: 1.08rem !important;
}

.page-id-5 .aa-list-2col,
.page-id-24 .aa-list-2col,
.page-id-29 .aa-list-2col {
  columns: 1 !important;
}

.page-id-5 .entry-content > ul,
.page-id-24 .entry-content > ul,
.page-id-29 .entry-content > ul {
  list-style: none !important;
  columns: 1 !important;
  position: relative !important;
  margin: 0 0 2.35em -1.1rem !important;
  padding: clamp(1.05rem, 1.65vw, 1.55rem) clamp(1rem, 2.2vw, 2rem) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1040px !important;
  background:
    linear-gradient(
      90deg,
      #ededed 0,
      /* 2026-09-08：切れ目を少し右へ（坂田の指定）。67%→73% */
      #ededed 73%,
      transparent 73%,
      transparent 81%,
      #ededed 81%,
      #ededed 100%
    ) !important;
}

.page-id-5 .entry-content > ul li,
.page-id-24 .entry-content > ul li,
.page-id-29 .entry-content > ul li {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0.12em 0 !important;
  color: #30373e !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.32 !important;
  break-inside: avoid !important;
}

.page-id-5 .aa-index-list li,
.page-id-24 .aa-index-list li,
.page-id-29 .aa-index-list li,
.page-id-5 .entry-content > ul.aa-index-list li,
.page-id-24 .entry-content > ul.aa-index-list li,
.page-id-29 .entry-content > ul.aa-index-list li {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;   /* 入りきらないぶんは次の行へ */
  gap: 0 !important;
  /* ⚠️ 年を流れの中に置くと、文字が行いっぱいまで伸びたときに
     年だけが次の行へ落ちた。年の居場所を padding で先に空け、
     年は絶対配置で最後の行の右に置く。 */
  position: relative !important;
  --aa-year-w: clamp(4.6rem, 8vw, 6.5rem);
  padding-right: var(--aa-year-w) !important;
}

.page-id-5 .aa-index-list li::after,
.page-id-24 .aa-index-list li::after,
.page-id-29 .aa-index-list li::after {
  content: none !important;   /* 点線は .aa-index-item__leader が引く（2026-09-08） */
}

.page-id-5 .entry-content > ul.aa-index-list li::before,
.page-id-24 .entry-content > ul.aa-index-list li::before,
.page-id-29 .entry-content > ul.aa-index-list li::before {
  content: none !important;
}

.aa-index-item__text {
  /* ⚠️ 縮まないようにする（0 1 auto だと2つのかたまりが無理に1行へ
     押し込まれ、代わりに点線と年が次の行へ落ちていた）。 */
  flex: 0 0 auto !important;
  min-width: 0 !important;
  /* ⚠️ 上限を外すと、長い項目が行いっぱいまで伸びて年が次の行へ
     落ちる。年の居場所を必ず残すために上限は要る。かたまりごとに
     効くので、1行目が短い項目でも点線は文字の直後から始まる。 */
  /* 年のぶんは li の padding で確保済みなので、ここでは
     「点線が引ける幅（5rem）」だけ残して目いっぱい使う。 */
  max-width: calc(100% - 5rem) !important;
  position: relative !important;
  z-index: 1 !important;
  padding-right: 0 !important;

  /* 折り返しの位置を整える（2026-09-08、坂田の指定）
     ⚠️ 既定の日本語の折り返しは漢字と漢字のあいだでも切るので、
     「日本／建築学会」「日経／BP社」のような割れ方をしていた。
     keep-all にすると語のかたまりで折れる。どうしても入りきらない
     ときのために anywhere を残してある（無いと帯からはみ出す）。 */
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}

/* 『書名』と、そのあとの出典を別のかたまりにしてある（functions.php）。
   入りきらないときは、この境目＝『』の直後で行が変わる。
   ⚠️ 余白や字下げをここに足すと、1行に収まる項目で
   『』と出典のあいだに隙間が空くので、何も足さないこと。 */
.aa-index-item__seg {
  display: inline-block !important;
  vertical-align: top !important;
  max-width: 100% !important;
}

.aa-index-item__leader {
  content: "" !important;
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 3rem !important;
  /* その行の文字が終わったところから年の手前まで引く。
     ⚠️ 2026-09-11：ここは align-self: center だった。1行に収まる項目なら
     それで年の高さに揃うが、**項目が2行以上に折り返すと、点線だけが行の
     まん中（＝1行目と2行目のあいだ）に浮いて**、年とは別の行に宙ぶらりんの
     点線が1本あるように見えていた（坂田「点線が一部重複してる」2026-09-11）。
     年は常にその項目の最終行に出るので、下端に揃えてから半行ぶん持ち上げる
     （持ち上げは下の margin ショートコードのあとで指定すること。順番を
     逆にすると margin: 0 ... に打ち消される）。 */
  align-self: flex-end !important;
  height: 0 !important;
  /* ⚠️ 右は年のぶんだけ食い込ませる。padding で空けた場所の上まで
     点線を伸ばし、年の文字（背景が帯と同じ色）がその上に乗って
     隠す形。こうしないと、短い年（1996など）の手前で点線が
     60pxほど早く終わっていた。 */
  margin: 0 0.9em 0 0.9em !important;
  margin-right: calc(0.9em - var(--aa-year-w)) !important;
  /* 半行ぶん持ち上げて、年の文字の高さに乗せる。
     0.66em ＝ line-height(1.32em) の半分から線の太さ(2px)を引いたもの。 */
  margin-bottom: calc((1.32em - 2px) / 2) !important;
  border-bottom: 2px dotted #454c53 !important;
  transform: none !important;
}

.page-id-5 .entry-content > ul:not(.aa-index-list) li::before,
.page-id-5 .entry-content > ul:not(.aa-index-list) li::after,
.page-id-24 .entry-content > ul:not(.aa-index-list) li::before,
.page-id-24 .entry-content > ul:not(.aa-index-list) li::after,
.page-id-29 .entry-content > ul:not(.aa-index-list) li::before,
.page-id-29 .entry-content > ul:not(.aa-index-list) li::after {
  content: none !important;
  display: none !important;
}

.aa-index-item__year {
  flex: none !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0.12em !important;   /* li の下の余白ぶん。最後の行に並ぶ */
  width: clamp(4.6rem, 8vw, 6.5rem) !important;
  z-index: 1 !important;
  display: flex !important;
  justify-content: flex-end !important;
  text-align: right !important;
  background: transparent !important;
  color: #3f474e !important;
  font-size: 1.04rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  border-bottom: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.aa-index-item__year-text {
  background: #ededed !important;
  padding-left: 0.5em !important;   /* 点線と年のあいだの隙間 */
}

.page-id-5 .entry-content > ul.aa-publication-index li,
.page-id-24 .entry-content > ul.aa-publication-index li,
.page-id-29 .entry-content > ul.aa-publication-index li {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.page-id-5 .entry-content > ul.aa-publication-index .aa-index-item__year,
.page-id-24 .entry-content > ul.aa-publication-index .aa-index-item__year,
.page-id-29 .entry-content > ul.aa-publication-index .aa-index-item__year {
  font-size: 0.9rem !important;
}

.page-id-5 .entry-content > ul.aa-publication-index .aa-index-item__text,
.page-id-24 .entry-content > ul.aa-publication-index .aa-index-item__text,
.page-id-29 .entry-content > ul.aa-publication-index .aa-index-item__text {
  max-width: calc(100% - 5rem) !important;
}

.page-id-5 .entry-content > p,
.page-id-24 .entry-content > p,
.page-id-29 .entry-content > p {
  width: 100% !important;
  max-width: 1040px !important;
  margin-left: 0 !important;
  color: #4d545b !important;
  font-size: 1.04rem !important;
  font-weight: 400 !important;
}

.page-id-5 .wp-block-table,
.page-id-24 .wp-block-table,
.page-id-29 .wp-block-table {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 1.15em 0 2.4em -1.1rem !important;
  /* 2026-09-08：帯の切れ目を「項目（ラベル）と情報（値）のあいだ」に移す。
     これまでは年表と同じ 67%〜75% を切っていて、値の文章の途中で
     帯が割れていた（意味のない位置だった）。

     ⚠️ 位置の出し方：ラベルの列は表の内側の幅に対して 20.3%、値は
     translateX(-1.25rem) で20px左に寄っている。背景は内側の余白まで
     含めた幅にかかるので、その差を足し込んでいる。
     切れ目の中心 ＝ 値の左端の 30px 手前（坂田「もう少し太く左に」）。
     いちばん長いラベルの右端と情報の左端の、ほぼ中間になる。 */
  --cp-pad: clamp(1rem, 2.2vw, 2rem);
  --cp-cut: 16px;
  --cp-center: calc(20.3% + var(--cp-pad) * 0.594 - 50px);

  padding: clamp(0.95rem, 1.6vw, 1.45rem) var(--cp-pad) !important;
  background:
    linear-gradient(
      90deg,
      #ededed 0,
      #ededed calc(var(--cp-center) - var(--cp-cut) / 2),
      transparent calc(var(--cp-center) - var(--cp-cut) / 2),
      transparent calc(var(--cp-center) + var(--cp-cut) / 2),
      #ededed calc(var(--cp-center) + var(--cp-cut) / 2),
      #ededed 100%
    ) !important;
}

.page-id-5 .aa-page table td,
.page-id-24 .aa-page table td,
.page-id-29 .aa-page table td {
  /* 2026-09-08：#5f666d では薄かった（坂田「もう少し濃く」）。
     行の文字が #30373e なので、それより一段だけ弱い #454c53 に。
     破線は同じ色でも面で見ると薄く見えるので、数値ほど強くは出ない。 */
  border-bottom: 1px dashed #454c53 !important;
  color: #363d44 !important;
  font-size: 1.04rem !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
}

.page-id-5 .aa-page table tr td:nth-child(2),
.page-id-24 .aa-page table tr td:nth-child(2),
.page-id-29 .aa-page table tr td:nth-child(2) {
  padding-left: 0 !important;
  transform: translateX(-1.25rem) !important;
}

.page-id-5 .aa-page table tr td:first-child,
.page-id-24 .aa-page table tr td:first-child,
.page-id-29 .aa-page table tr td:first-child {
  color: #535a61 !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  /* 2026-09-04、坂田「ここ文字もう少し左に」。既定の 22%（217px）は
     いちばん長いラベル「TOKYO OFFICE」（120px）に対して97pxも余っていて、
     値の列が右に押し出されていた。20.3%（200px）にして、ラベルの後ろに
     80pxだけ残す。狭い画面では表が縦積みになるので影響しない。 */
  width: 20.3% !important;
}

@media (max-width: 720px) {
  .page-id-5 .entry-content,
  .page-id-24 .entry-content,
  .page-id-29 .entry-content {
    padding-left: 0 !important;
  }

  .page-id-5 .entry-content::before,
  .page-id-24 .entry-content::before,
  .page-id-29 .entry-content::before {
    position: static !important;
    float: none !important;
    display: block !important;
    width: auto !important;
    margin: 0 0 2em !important;
    writing-mode: horizontal-tb !important;
    font-size: 1.05rem !important;
  }

  .page-id-5 .entry-content > h2,
  .page-id-5 .entry-content > h3,
  .page-id-24 .entry-content > h2,
  .page-id-24 .entry-content > h3,
  .page-id-29 .entry-content > h2,
  .page-id-29 .entry-content > h3,
  .page-id-5 .entry-content > ul,
  .page-id-24 .entry-content > ul,
  .page-id-29 .entry-content > ul,
  .page-id-5 .entry-content > p,
  .page-id-24 .entry-content > p,
  .page-id-29 .entry-content > p,
  .page-id-5 .wp-block-table,
  .page-id-24 .wp-block-table,
  .page-id-29 .wp-block-table,
  /* ⚠️ 2026-09-15：プロフィール写真もここに入れる。広い画面では帯と同じく
     -1.1rem だけ左へ出しているが、スマホではその指定を打ち消さないと
     写真だけ18pxはみ出して帯と左端がそろわない。 */
  .page-id-5 .aa-profile-portrait,
  .page-id-24 .aa-profile-portrait,
  .page-id-29 .aa-profile-portrait {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .page-id-5 .entry-content > ul li,
  .page-id-24 .entry-content > ul li,
  .page-id-29 .entry-content > ul li {
    display: block !important;
    font-size: 0.9rem !important;
  }

  .page-id-5 .entry-content > ul li::before,
  .page-id-24 .entry-content > ul li::before,
  .page-id-29 .entry-content > ul li::before {
    display: none !important;
  }
}

/* =========================================================
   ABOUTの年表、狭い画面では1段にする（2026-09-04）

   点線リーダーの2段組みは、文字欄が 67% までに制限されるため
   375px の画面だと **117px** しか残らない。実測で42件中36件が
   3行以上、出版の長いものは15行に折り返していた。

   狭いときは点線と2段組みをやめ、年を上に小さく出して本文を
   全幅で読ませる。帯のグレーは1枚の面として残す。
   ========================================================= */
@media (max-width: 600px) {
  .page-id-5 .entry-content > ul.aa-index-list,
  .page-id-24 .entry-content > ul.aa-index-list,
  .page-id-29 .entry-content > ul.aa-index-list,
  .page-id-5 .entry-content > ul.aa-publication-index,
  .page-id-24 .entry-content > ul.aa-publication-index,
  .page-id-29 .entry-content > ul.aa-publication-index {
    background: #ededed !important;
  }

  .page-id-5 .aa-index-list li,
  .page-id-24 .aa-index-list li,
  .page-id-29 .aa-index-list li,
  .page-id-5 .entry-content > ul.aa-index-list li,
  .page-id-24 .entry-content > ul.aa-index-list li,
  .page-id-29 .entry-content > ul.aa-index-list li {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15em !important;
    /* 年は上に出るので、右側に空けていた場所は要らない */
    padding: 0.6em 0 !important;
    padding-right: 0 !important;
  }

  /* 点線を消す */
  .page-id-5 .aa-index-list li::after,
  .page-id-24 .aa-index-list li::after,
  .page-id-29 .aa-index-list li::after,
  .page-id-5 .entry-content > ul.aa-index-list li::before,
  .page-id-24 .entry-content > ul.aa-index-list li::before,
  .page-id-29 .entry-content > ul.aa-index-list li::before {
    display: none !important;
  }

  .aa-index-item__leader { display: none !important; }

  /* 出版の一覧は max-width を詳細度の高いセレクタで持っているので、
     こちらも同じ詳細度で上書きする（ここを漏らすと出版だけ177pxのまま）。 */
  .aa-index-item__text,
  .page-id-5 .entry-content > ul.aa-publication-index .aa-index-item__text,
  .page-id-24 .entry-content > ul.aa-publication-index .aa-index-item__text,
  .page-id-29 .entry-content > ul.aa-publication-index .aa-index-item__text {
    max-width: none !important;
    width: 100% !important;
    background: transparent !important;
    padding-right: 0 !important;
  }

  /* 年を本文の上へ。
     ⚠️ 既定の 「flex: 0 0 clamp(4.6rem, 8vw, 6.5rem)」 は横並び用の指定で、
     縦並びにすると **flex-basis が高さになって年の枠が74pxに膨らむ**。
     年が前の項目に属して見えるのはこれが原因なので auto に戻す。 */
  .aa-index-item__year {
    /* ⚠️ 2026-09-08、広い画面用に年を絶対配置にしたが、スマホは
       年が本文の上に来る縦並び。ここで流れの中へ戻さないと、
       年だけが項目の右下に張り付いて本文と重なる。 */
    position: static !important;
    width: auto !important;
    bottom: auto !important;
    right: auto !important;
    order: -1 !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .aa-index-item__year-text {
    background: transparent !important;
    padding-left: 0 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.1em !important;
    color: #535a61 !important;
  }

  /* COMPANY PROFILE の表。狭い画面では縦積みになるのに、
     ⚠️ figure に「帯2枚＋間は透明」のグラデーションが残っていて、
     縦積みのセルと合わずに変な帯が出ていた。1枚の面にする。 */
  .page-id-5 .wp-block-table,
  .page-id-24 .wp-block-table,
  .page-id-29 .wp-block-table {
    background: #ededed !important;
  }

  /* ⚠️ 値のセルの translateX(-1.25rem) は横並び用。縦積みだと
     値だけが左に飛び出してラベルと揃わない（ラベル36px／値16px）。 */
  .page-id-5 .aa-page table tr td:nth-child(2),
  .page-id-24 .aa-page table tr td:nth-child(2),
  .page-id-29 .aa-page table tr td:nth-child(2) {
    transform: none !important;
  }

  /* 縦積みだとラベルのセルにも下線が付き、ラベルの幅ぶんだけ短い点線が
     宙に浮く。行の区切りは値のセル側の下線が受け持つので、ラベル側は消す。 */
  .page-id-5 .aa-page table tr td:first-child,
  .page-id-24 .aa-page table tr td:first-child,
  .page-id-29 .aa-page table tr td:first-child {
    border-bottom: 0 !important;
    padding-bottom: 0.15em !important;
  }
}

/* =========================================================
   FORMER STAFF（2026-09-08、坂田の指定）

   ⚠️ ABOUTの3ページには `.entry-content > ul` を1列＋帯にする
   `!important` の指定があり（年表のための造り）、元所員の名簿も
   その巻き添えで1列になっていた。年が入らない名簿には、右側に
   空けてある年用の帯の切れ目も要らない。ここだけ上書きする。
   ========================================================= */
.page-id-5 .entry-content > ul.aa-staff-list,
.page-id-24 .entry-content > ul.aa-staff-list,
.page-id-29 .entry-content > ul.aa-staff-list {
  /* 段間3か所すべてで帯を切る（坂田の指定）。白の幅は段間より狭くして、
     グレーが名前の列より少しはみ出す形にしてある。

     ⚠️ 切り口の位置は「25%・50%・75%」ではない。背景は内側の余白（padding）
     まで含めた幅に対してかかるのに、段は余白の内側で割られるため、
     両端の切り口はその分だけ内側へずれる。ずれ量は 余白/2 − 段間/4。
     真ん中だけは左右対称なのでちょうど 50%。 */
  /* 段間すべてで帯を切る（坂田の指定）。白の幅は段間より狭くして、
     グレーが名前の列より少しはみ出す形にしてある。

     ⚠️ 切り口の位置は「20%・40%・…」ではない。背景は内側の余白（padding）
     まで含めた幅にかかるのに、段はその内側で割られるため、外側の切り口ほど
     内側へずれる。5列のときの k 番目の切り口は
       k/5 × 全幅 ＋ 余白 × (1 − 2k/5) ＋ 段間 × (k/5 − 0.5)。 */
  --staff-pad: clamp(1rem, 2.2vw, 2rem);   /* 左右の内側の余白 */
  --staff-gap: 32px;                        /* 段と段のあいだ */
  --staff-cut: 10px;                        /* 白く抜く幅 */
  --staff-c1: calc(20% + var(--staff-pad) * 0.6 - var(--staff-gap) * 0.3);
  --staff-c2: calc(40% + var(--staff-pad) * 0.2 - var(--staff-gap) * 0.1);
  --staff-c3: calc(60% - var(--staff-pad) * 0.2 + var(--staff-gap) * 0.1);
  --staff-c4: calc(80% - var(--staff-pad) * 0.6 + var(--staff-gap) * 0.3);

  columns: 5 !important;
  column-gap: var(--staff-gap) !important;
  padding-left: var(--staff-pad) !important;
  padding-right: var(--staff-pad) !important;
  background: linear-gradient(
    90deg,
    #ededed 0,
    #ededed calc(var(--staff-c1) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c1) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c1) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c1) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c2) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c2) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c2) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c2) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c3) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c3) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c3) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c3) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c4) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c4) - var(--staff-cut) / 2),
    transparent calc(var(--staff-c4) + var(--staff-cut) / 2),
    #ededed calc(var(--staff-c4) + var(--staff-cut) / 2),
    #ededed 100%
  ) !important;
}

.page-id-5 .entry-content > ul.aa-staff-list li,
.page-id-24 .entry-content > ul.aa-staff-list li,
.page-id-29 .entry-content > ul.aa-staff-list li {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  padding: 0.18em 0 !important;
  break-inside: avoid !important;
}

/* =========================================================
   段数が変わっても帯の切れ目を段間に合わせる（2026-09-15）

   ⚠️ もとは切り口を5列ぶん決め打ちで書いていたので、4列以下では
   位置が合わず、平らなグレーに逃がしていた（坂田「ほんまは隙間
   空いてるはずだよね」）。位置は段数で決まるので、式にした。

     n列のときの k 番目の切り口（帯の左端から）
       ＝ k/n × 全幅 ＋ 余白 × (1 − 2k/n) ＋ 段間 × (k/n − 0.5)

   ⚠️ 全幅は内側の余白まで含めた幅（背景はそこにかかる）、段は
   その内側で割られる。だから外側の切り口ほど内側へずれる。
   実測と突き合わせて 5/4/3/2列すべてで一致を確認済み。

   帯そのものの書き方（linear-gradient）は上の1か所だけにあり、
   ここでは --staff-c1〜c4 を入れ替えている。使わない切り口は
   200%（帯の外）へ逃がすと出てこない。
   ========================================================= */
@media (max-width: 1180px) {
  .page-id-5 .entry-content > ul.aa-staff-list,
  .page-id-24 .entry-content > ul.aa-staff-list,
  .page-id-29 .entry-content > ul.aa-staff-list {
    columns: 4 !important;
    --staff-c1: calc(25% + var(--staff-pad) * 0.5 - var(--staff-gap) * 0.25);
    --staff-c2: 50%;
    --staff-c3: calc(75% - var(--staff-pad) * 0.5 + var(--staff-gap) * 0.25);
    --staff-c4: 200%;
  }
}

@media (max-width: 980px) {
  .page-id-5 .entry-content > ul.aa-staff-list,
  .page-id-24 .entry-content > ul.aa-staff-list,
  .page-id-29 .entry-content > ul.aa-staff-list {
    columns: 3 !important;
    --staff-c1: calc(33.3333% + var(--staff-pad) / 3 - var(--staff-gap) / 6);
    --staff-c2: calc(66.6667% - var(--staff-pad) / 3 + var(--staff-gap) / 6);
    --staff-c3: 200%;
    --staff-c4: 200%;
  }
}

@media (max-width: 720px) {
  .page-id-5 .entry-content > ul.aa-staff-list,
  .page-id-24 .entry-content > ul.aa-staff-list,
  .page-id-29 .entry-content > ul.aa-staff-list {
    columns: 2 !important;
    --staff-gap: 24px;          /* 段間を変えると切り口も動くので変数で */
    --staff-c1: 50%;            /* 2列は左右対称なのでちょうど真ん中 */
    --staff-c2: 200%;
    --staff-c3: 200%;
    --staff-c4: 200%;
  }

  /* ⚠️ 保険。万一どこかの幅で名前が折り返しても、2行目を字下げして
     「同じ人の続き」に見せる。折り返さないときは見た目は変わらない
     （text-indent のマイナスで1行目が元の位置に戻るため）。 */
  .page-id-5 .entry-content > ul.aa-staff-list li,
  .page-id-24 .entry-content > ul.aa-staff-list li,
  .page-id-29 .entry-content > ul.aa-staff-list li {
    padding-left: 0.9em !important;
    text-indent: -0.9em !important;
  }
}

/* ⚠️ スマホ幅は1列（坂田「名前が二列になってる」2026-09-15）。
   いちばん長い「Masayoshi Yamaguchi」は約161px要るのに、2列だと
   段の幅が 393px端末で149px・375pxで140px・320pxで112pxしかなく、
   名前が2行に割れて別人が2人いるように見えていた。
   480pxなら2列でも段は192pxあるので、そこから下だけ1列にする。 */
@media (max-width: 480px) {
  .page-id-5 .entry-content > ul.aa-staff-list,
  .page-id-24 .entry-content > ul.aa-staff-list,
  .page-id-29 .entry-content > ul.aa-staff-list {
    columns: 1 !important;
    --staff-c1: 200%;           /* 1列なので切り口は無し（帯は平ら） */
  }
}

/* =========================================================
   MAIN PRIZE（受賞歴）だけ年が長い（2026-09-08）

   ⚠️ 「1991, 1992, 1998, 1999」は195pxあり、ほかの一覧に合わせた
   年の枠（約104px）から左へはみ出して、点線と重なっていた。
   この一覧だけ年の枠を広げ、帯の切れ目もそのぶん左へずらす
   （坂田「そこの部分は余白を左にずらしてもいい」）。
   ========================================================= */
.page-id-5 .entry-content > ul.aa-prize-index li,
.page-id-24 .entry-content > ul.aa-prize-index li,
.page-id-29 .entry-content > ul.aa-prize-index li {
  --aa-year-w: 13.5rem !important;   /* 195px + 文字の手前の余白 */
}

.page-id-5 .entry-content > ul.aa-prize-index,
.page-id-24 .entry-content > ul.aa-prize-index,
.page-id-29 .entry-content > ul.aa-prize-index {
  background:
    linear-gradient(
      90deg,
      #ededed 0,
      #ededed 65%,
      transparent 65%,
      transparent 73%,
      #ededed 73%,
      #ededed 100%
    ) !important;
}

/* 信念（2026-09-08、坂田の指定でABOUTの先頭に追加）。
   本文の段落と同じ扱いにせず、少しだけ大きく、行間はゆったり。
   ⚠️ 帯（グレー）は付けない——年表の帯と並ぶと同じ種類のものに見える。 */
.aa-creed {
  /* ⚠️ 2026-09-15：40em（約621px）から広げた（坂田「もう少し横幅広く余裕のある
     感じで」）。この文章だけ本文欄より300px以上狭く、左に寄って窮屈に見えていた。
     数値は決め打ちではなく、同じページの見出し（.entry-content > h2）で使っている
     `min(100%, 960px)` と同じもの。見出し・表と左右がそろう。
     ⚠️ 1行は約62字になる。日本語としては長めだが、行間を2.0にしてあるので読める。
        狭めるならここだけ変える。 */
  max-width: min(100%, 960px) !important;
  margin: 0 0 3em !important;
}
.aa-creed p {
  margin: 0 0 1.5em !important;
  color: #30373e !important;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem) !important;
  font-weight: 400 !important;
  line-height: 2 !important;     /* ⚠️ ここだけは詰めない。読ませる文章なので */
  letter-spacing: 0.03em !important;
}
.aa-creed p:last-child { margin-bottom: 0 !important; }

/* 改行位置を整える（2026-09-15、坂田「改行位置丁寧にして」）。
   もとは「新井清一を代／表とする」「建築はもとよ／り」「都市計／画」のように
   語の途中で切れ、最後の行が「した。」「す。」だけになっていた。

     word-break: auto-phrase … 日本語の文節の切れ目で折る。ここが本命。
     text-wrap: pretty       … 最後の行が数文字だけ残るのを避ける。
     line-break: strict      … 小書き仮名・長音符などを行頭に置かない。

   ⚠️ 右端は今までより揃わなくなる。語の途中で切らないぶん、行の長さが
      まちまちになるため。これは崩れではなく、そういう組み方。
   ⚠️ 対応していないブラウザでは今までどおりの折り方に戻るだけで、崩れない。
   ⚠️ 「ARAI ARCHITECTS」は、本文側で改行しないスペース（&nbsp;）にして
      2語が離れないようにしてある。CSSだけでは止められない。 */
.aa-creed p {
  word-break: auto-phrase !important;
  line-break: strict !important;
  text-wrap: pretty !important;
}
/* ⚠️ 2026-09-15：1段落目だけ大きくする指定を外した（坂田「全部同じ大きさにして」）。
   もとは「書き出しの1行を立てる」ためのもので、短い一文を想定していた。
   実際に入った文章は1段落目が209字あり、大きい字が8行続いて2・3段落目と
   釣り合わなかった。戻すときは下のコメントを外すだけでよい。

.aa-creed p:first-child {
  font-size: clamp(1.08rem, 1.7vw, 1.35rem) !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  margin-bottom: 1.8em !important;
}
*/


/* ⚠️ スマホでは帯の切れ目を出さない（2026-09-08）
   切れ目は「本文｜年」が横に並ぶ広い画面のためのもの。スマホは年が
   本文の上に来る縦並びなので、切れ目は意味を失い、ただの白い縦線として
   文章の途中に残ってしまう。
   ⚠️ この指定はファイルのいちばん後ろに置くこと——受賞歴の帯（.aa-prize-index）を
   後ろで上書きしているので、前に置くと負ける。 */
@media (max-width: 720px) {
  .page-id-5 .entry-content > ul,
  .page-id-24 .entry-content > ul,
  .page-id-29 .entry-content > ul,
  .page-id-5 .entry-content > ul.aa-prize-index,
  .page-id-24 .entry-content > ul.aa-prize-index,
  .page-id-29 .entry-content > ul.aa-prize-index,
  .page-id-5 .entry-content > ul.aa-staff-list,
  .page-id-24 .entry-content > ul.aa-staff-list,
  .page-id-29 .entry-content > ul.aa-staff-list,
  .page-id-5 .wp-block-table,
  .page-id-24 .wp-block-table,
  .page-id-29 .wp-block-table {
    background: #ededed !important;
  }
}

/* 英語・中国語のABOUTの一覧は、日本語のような「内容｜年」の作りではなく
   ただの箇条書き（年が行頭に入っている）。帯の切れ目は年の列を分けるための
   ものなので、ここでは意味を持たず、英文の途中に白い縦線が出るだけになる。
   ⚠️ 名簿（.aa-staff-list）は段ごとに切るので、そちらは対象外。 */
.page-id-24 .entry-content > ul:not(.aa-staff-list):not(.aa-index-list),
.page-id-29 .entry-content > ul:not(.aa-staff-list):not(.aa-index-list) {
  background: #ededed !important;
}

/* =========================================================
   a-bandsページのフッター（2026-09-08、坂田の指定）

   このページだけ、フッターを**上のヒーローと同じ緑の帯**にする。
   ⚠️ もともとは白地だったが、9/4の文字色の調整で
   `.site-foot .aa-office-addr` 等に白が後ろから指定され、
   **白地に白文字**で住所も著作権表示も見えなくなっていた（本番でも同じ）。
   緑にしたうえで、文字はヒーローの見出しと同じ濃い緑に揃える。
   ここはファイルの最後なので、後ろから確実に上書きできる。
   ========================================================= */
body.ab-page-body .site-foot {
  background: var(--ab-accent) !important;
  border-top: 0 !important;
}
body.ab-page-body .site-foot .aa-tagline,
body.ab-page-body .site-foot .aa-office-addr {
  color: rgba(35, 48, 10, 0.82) !important;   /* ヒーローの見出し #23300a と同系 */
}
body.ab-page-body .site-foot .aa-office-name {
  color: #23300a !important;
}
body.ab-page-body .site-foot__base {
  color: rgba(35, 48, 10, 0.6) !important;
}
body.ab-page-body .site-foot .aa-social {
  color: #23300a !important;
}

/* ⚠️ 2026-09-11：点線の見え方を揃える（坂田の指摘2件、赤枠つきの画像で指示）。

   ① COMPANY PROFILE の横線が「一部だけ一本の実線みたいになる」
      ラベル列のセルと内容列のセルが**両方とも破線を引いていた**。内容列には
      transform: translateX(-1.25rem) が掛かっているので、その20px分だけ
      2本の破線が重なり、そこだけ隙間が埋まって実線に見えていた。
      → セル側の線を消して、**行(tr)に1本だけ**引く。縦積み（スマホ）でも
        行に1本なので二重にならない。

   ② 年表の点線が「行によって濃くなったり間隔が短くなる」
      border-style: dotted は、**線の長さに合わせてブラウザが点の間隔を伸縮する**。
      項目ごとに長さが違うので、行ごとに濃さと間隔が変わっていた。
      → 背景の繰り返し（4px間隔の丸）に置き換えて間隔を固定する。
        大きさ・濃さは元の `2px dotted #454c53` に合わせてある。
*/
.page-id-5 .aa-page table td,
.page-id-24 .aa-page table td,
.page-id-29 .aa-page table td {
  border-bottom: 0 !important;
}
/* ⚠️ 2026-09-11：破線をやめて FORMER STAFF と同じ細い実線にする（坂田の指定）。
   破線は「継ぎ目で点が詰まって実線に見える」等の見え方の揺れが取れなかった。
   スタッフ一覧と同じ `1px solid var(--aa-rule)` なら、どの幅・どのブラウザでも
   同じ見え方になる。 */
.page-id-5 .aa-page table tr,
.page-id-24 .aa-page table tr,
.page-id-29 .aa-page table tr {
  border-bottom: 1px solid var(--aa-rule) !important;
}

.aa-index-item__leader {
  border-bottom: 0 !important;
  height: 2px !important;
  background-image: radial-gradient(circle at 1px 1px, #454c53 1px, rgba(0, 0, 0, 0) 1.15px) !important;
  background-size: 4px 2px !important;
  background-repeat: repeat-x !important;
  background-position: left bottom !important;
}

/* ⚠️ 2026-09-11（続き）：内容列の `transform: translateX(-1.25rem)` をやめる。
   transform が掛かった要素は**別のレイヤーとして描かれる**ため、
   border-collapse でテーブルが引いている破線が、そのセルの左端（x=194付近）で
   いったん途切れて描き直される。継ぎ目で破線の位相がずれ、そこだけ
   **点が詰まって一本の実線のように見える**（坂田が赤枠で指した位置と一致）。
   `position: relative` + `left` なら位置は1pxも変わらないまま、
   レイヤーが分かれないので継ぎ目ができない。 */
.page-id-5 .aa-page table tr td:nth-child(2),
.page-id-24 .aa-page table tr td:nth-child(2),
.page-id-29 .aa-page table tr td:nth-child(2) {
  transform: none !important;
  position: relative !important;
  left: -1.25rem !important;
}

/* =========================================================
   ABOUTの左端を1本にそろえる（2026-09-18）

   坂田「レイアウト一度整理して調整して」。1149pxで測ったら**左端が3つ**あった。

   | | 左端 | 幅 |
   |---|---|---|
   | ページ見出しの下線・区切り線 | 32 | 1070 |
   | 見出し・PHILOSOPHYの本文 | 32 | 960 |
   | グレー帯（経歴・受賞歴・著作・表）と写真 | 14 | 1040 |
   | **帯の中の文字** | **39.7** | |

   ⚠️ 原因は **帯を左へ出す量が固定値、帯の内側の余白が可変**だったこと。
      外へ出すのは `margin-left: -1.1rem`（＝17.6px 固定）なのに、
      内側の余白は `clamp(1rem, 2.2vw, 2rem)`。
      **この2つが一致するのは画面幅がちょうど800pxのときだけ**で、
      広い画面ほど帯の中の文字だけが右へずれる
      （1149pxで7.7px、clampの上限では14.4pxずれる）。

   直しかた：**外へ出す量を、内側の余白そのものにする**。
   帯の中の文字は、どの画面幅でも見出しと同じ左端（32）に乗る。
   数値を決め打ちしていない——帯自身の padding と同じ式を変数にして使っている。

   写真は帯と同じ外出し量のまま（2026-09-15「写真の幅を帯に合わせる」を維持）。
   区切り線とページ見出しの下線は触っていない（どちらも32→1102で元から一致）。

   ⚠️ 2026-09-18 追記：はじめ 721px以上だけに限定していたが、**720pxを境に
      リストの文字が16pxジャンプ**していた（スマホ側は帯の外出しを打ち消す
      指定が別にあり、余白だけが残るため）。坂田の判断でスマホもそろえる。
      スマホは帯の幅を「内容 ＋ 余白2つぶん」にして、**左右おなじだけ外へ出す**。
      幅を足さずに左だけ出すと、右に余白ぶんの隙間が残って左右非対称になる。
   ========================================================= */
.page-id-5 .entry-content,
.page-id-24 .entry-content,
.page-id-29 .entry-content {
  --aa-band-pad: clamp(1rem, 2.2vw, 2rem);
}

.page-id-5 .entry-content > ul,
.page-id-24 .entry-content > ul,
.page-id-29 .entry-content > ul,
.page-id-5 .wp-block-table,
.page-id-24 .wp-block-table,
.page-id-29 .wp-block-table,
.page-id-5 .aa-profile-portrait,
.page-id-24 .aa-profile-portrait,
.page-id-29 .aa-profile-portrait {
  margin-left: calc(-1 * var(--aa-band-pad)) !important;
}

/* h3 だけ 920px で、h2（960px）と右端が40pxずれていた。同じにする。 */
.page-id-5 .entry-content > h3,
.page-id-24 .entry-content > h3,
.page-id-29 .entry-content > h3 {
  width: min(100%, 960px) !important;
}

/* 左右そろえて外へ出す（box-sizing は border-box なので、
   この幅には左右の余白が含まれる＝中身の幅は変わらない）。
   2026-10-02：はじめはスマホ（720px以下）だけだったので、PCでは帯の右端が
   本文欄より短かった（900pxで20px、1149pxで55px）。全幅に広げる。
   1149pxの55pxは max-width:1040px が本文欄（1070）より狭いためなので上限も外す。
   帯の切れ目（73%/81%）と表の --cp-center は帯の幅に対する割合のままでよい
   （中身の幅＝帯 − 余白2つぶん、の関係は変わらない）。 */
.page-id-5 .entry-content > ul,
.page-id-24 .entry-content > ul,
.page-id-29 .entry-content > ul,
.page-id-5 .wp-block-table,
.page-id-24 .wp-block-table,
.page-id-29 .wp-block-table,
.page-id-5 .aa-profile-portrait,
.page-id-24 .aa-profile-portrait,
.page-id-29 .aa-profile-portrait {
  width: calc(100% + var(--aa-band-pad) * 2) !important;
  max-width: none !important;
}

/* =========================================================
   COMPANY PROFILE の値が、スマホで左へはみ出すのを止める（2026-09-18）

   坂田が赤枠で指した箇所。ラベル（社名・登録・TOKYO OFFICE…）は左端20pxなのに、
   値（アライ・アーキテクツ…／〒150-0036…）だけ **0px＝画面の端** に貼り付いていた。

   ⚠️ 犯人は値の列の `left: -1.25rem`（20px左へ）。
      これは **広い画面で2列に並べるとき、値をラベル側へ寄せるための指定**。
      720px以下では `.aa-page table td { display: block }` で**縦積みになる**ので、
      寄せる相手がいない。指定だけが残って、そのまま左へ20px出ていた。

   ⚠️ もともと値は16pxにいて（ラベル36px）ズレてはいたが画面内だった。
      同日に帯の外出しを入れて表の箱が20px→4pxへ動いたため、
      **16px → 0px** になって画面の端に達した。縦積みのときは寄せをやめる。

   （`transform` ではなく `position:relative + left` なのは2026-09-11の判断。
     transform だと表の破線が継ぎ目でずれるため。ここではその left を戻すだけ。）
   ========================================================= */
@media (max-width: 720px) {
  .page-id-5 .aa-page table tr td:nth-child(2),
  .page-id-24 .aa-page table tr td:nth-child(2),
  .page-id-29 .aa-page table tr td:nth-child(2) {
    left: 0 !important;
  }
}

/* =========================================================
   一覧のサムネイル：写真を内側の箱に移す（2026-09-25）

   坂田「画像の角度変えて、回転したあと四角に整形できるように」。
   ⚠️ **背景画像そのものは回せない**（CSSに background-rotate は無い）。
      背景を載せた div ごと回す。

   ⚠️ img に替える案は捨てた。`object-position` は変形前の箱に対して効くので、
      `transform: scale` で拡大しても**横に動かせるようにならない**。
      位置・拡大の意味も変わって、すでに調整済みの作品が壊れる。

   ⚠️ 重なり順。`::before`（ホバーの覆い）は疑似要素なので**要素の最初の子**として
      入り、後から来る .work-thumb__pic が上に乗ってしまう。ここで順番を固定する。
   ⚠️ 色（余りを埋める色）は**外側**の .work-thumb に出す。内側は回るので、
      色まで一緒に回ると角が破綻する。
   ========================================================= */
.works-gallery .work-thumb__pic {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	transform-origin: 50% 50%;
}
.works-gallery .work-thumb::before { z-index: 1; }

/* 「全部入れる」＋角度のとき、斜めの縁を落として水平垂直の四角にする（2026-09-25）
   ⚠️ 外側の枠に色、真ん中の箱で四角に切り、内側で写真を回す。3枚重ねになるのは
      **回した写真をそのまま見せると縁が斜めに残る**ため。切り口を水平垂直にするには
      回らない箱で切るしかない。 */
.works-gallery .work-thumb__crop {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	overflow: hidden;
}
.works-gallery .work-thumb__pic--straight {
	position: absolute;
	inset: auto;
	left: 50%;
	top: 50%;
	background-size: cover;
	background-position: 50% 50%;
	transform-origin: 50% 50%;
}

/* =========================================================
   作品ページ — 作品集の作りに寄せる（2026-09-29）
   本の順番：タイトル → 帯 → 面 → 写真 → 地名と年。
   ⚠️ 面の下に文字を入れない（オーダリング・本文・カテゴリは出さない）。
   ⚠️ 帯は PROJECT 一覧のカード（.works-gallery .work-thumb）と同じ組み方。
      中身の left/top/width/height/transform は PHP が style で書く。ここは器だけ。
   ⚠️ 見出しの書体は ITC Avant Garde Gothic Pro Book に決まっている（Adobe Fonts の
      kit ID 待ち）。入るまでは同じ幾何学サンセリフの Futura で代わりに出す。
   ========================================================= */
.aa-work__head {
	text-align: center;
	margin: 0 0 1.4em;
}
.aa-work-page .aa-work__title {
	font-family: "itc-avant-garde-gothic-pro", "ITC Avant Garde Gothic Pro", "Century Gothic", Futura, "Helvetica Neue", sans-serif !important;
	font-weight: 400 !important;
	letter-spacing: 0.035em !important;
	color: #5b6167 !important;
	text-align: center;
	margin: 0 0 0.3em !important;
}
.aa-work-page .aa-work__title-ja {
	text-align: center;
	margin: 0 !important;
}
.aa-work__band {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	/* 本の実測：帯の下端から面の上端まで 31pt ÷ 帯の幅 432pt ＝ 7.2%（% は幅基準） */
	margin: 0 0 7.2%;
}
.aa-work__band .work-thumb__crop {
	position: absolute;
	overflow: hidden;
	z-index: 0;
}
.aa-work__band .work-thumb__pic {
	position: absolute;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	transform-origin: 50% 50%;
}
/* 写真の寸法が取れなかったとき（PHP の保険側）は枠いっぱい */
.aa-work__band > .work-thumb__pic { inset: 0; }

/* 面：白い目地で割れた灰色のタイル 3×3（本の実測。下に文字は置かない）
   本：面 198pt 角＝65pt のタイル×3 ＋ 目地 1.5pt×2。帯 432pt に対して 46%。色は K20%。 */
.aa-work__men {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 3px;
	width: 46%;
	aspect-ratio: 1 / 1;
	margin: 0 auto 3.4em;
}
.aa-work__men i { background: #d1d3d4; }
/* スケッチ：本と同じ位置（面の幅に対する %。面は正方形なので縦も同じ基準）。
   本と同じく、上の帯や面の外にはみ出してよい。 */
.aa-work__sketch {
	position: absolute;
	z-index: 2;
	max-width: none;
	height: auto;
	pointer-events: none;
}
/* はみ出したスケッチで横スクロールが出ないように */
.aa-work-page { overflow-x: clip; }

.aa-work__place {
	text-align: center;
	font-family: "itc-avant-garde-gothic-pro", "ITC Avant Garde Gothic Pro", "Century Gothic", Futura, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	letter-spacing: 0.08em;
	color: #5b6167;
	margin: 2.6em 0 0;
}
@media (max-width: 600px) {
	.aa-work__men { margin-bottom: 2.6em; }
}


/* =========================================================
   EXHIBITION（展示会特設ページ /exhibition/）2026-11-07
   ・固定ページ exhibition の本文に [aa_exhibition]、文言は wp-admin → サイト設定 → 展示会ページ
   ・色と書体はチラシに合わせる（グレー3段・ITC Avant Garde／ヒラギノ）
   ・このページだけヘッダーをページのグレーに（body.ex-page-body）
   ========================================================= */
body.ex-page-body .site-head__inner::before { background: #a7a5a6; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.ex-page-body .site-head { color: #fff; }
body.ex-page-body .site-wordmark { color: #fff; }
body.ex-page-body .site-head .wp-block-navigation__responsive-container:not(.is-menu-open) a { color: #fff; }
body.ex-page-body .site-head .wp-block-navigation__responsive-container:not(.is-menu-open) a:hover { color: #fff; opacity: 0.7; }
body.ex-page-body .site-head .wp-block-navigation__responsive-container-open { color: #fff; }
body.ex-page-body .site-head .aa-social,
body.ex-page-body .site-head .aa-social a { color: #fff; }
body.ex-page-body .site-head__aside .lang-switcher,
body.ex-page-body .site-head__aside .lang-switcher a { color: rgba(255, 255, 255, 0.62); }
body.ex-page-body .site-head__aside .lang-switcher .lang-current,
body.ex-page-body .site-head__aside .lang-switcher a:hover { color: #fff; }
/* 型は共通の page.html：タイトルを出さず、.aa-page の幅・余白と
   .aa-page p / h2 / h3 などの色・余白を、展示会ページの中だけ打ち消す
   （同じ強さのセレクタを後ろに置いて上書き。個別の指定はさらに後ろ） */
body.ex-page-body .aa-page { max-width: none; margin: 0; padding: 0; }
body.ex-page-body main.aa-page:not(.ab-page) { padding-top: 0 !important; }
body.ex-page-body .aa-page .wp-block-post-title { display: none; }
body.ex-page-body .aa-page > .wp-block-post-content { margin: 0; }
.ex-page h1, .ex-page h2, .ex-page h3, .ex-page p, .ex-page ul, .ex-page ol, .ex-page li,
.ex-page dl, .ex-page dt, .ex-page dd, .ex-page figure {
	margin: 0; padding: 0; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit; text-transform: none; border: 0;
}
.ex-page{
  
  --g-top:#a7a5a6;
  --g-mid:#828181;
  --g-low:#7b7979;
  --rule:rgba(255,255,255,.5);
  --rule-soft:rgba(255,255,255,.22);
  
  --en:"itc-avant-garde-gothic-pro","ITC Avant Garde Gothic Pro","Century Gothic",Futura,"Helvetica Neue",sans-serif;
  --ja:"Hiragino Sans","Hiragino Kaku Gothic ProN","Helvetica Neue",Helvetica,Arial,"Yu Gothic",Meiryo,sans-serif;
  --pad:42px;
  --ease:cubic-bezier(0.22,1,0.36,1);
}
.ex-page *{box-sizing:border-box;margin:0;padding:0}
.ex-page{background:var(--g-low);color:#fff;font-family:var(--ja);-webkit-font-smoothing:antialiased;font-feature-settings:"palt"}
.ex-page img{display:block;max-width:100%}
.ex-page a{color:inherit;text-decoration:none}
.ex-page .eyebrow{font:400 11px/1 var(--en);letter-spacing:.26em;opacity:.9}
.ex-page .h2{font:300 clamp(28px,3.4vw,46px)/1.1 var(--en);letter-spacing:.02em;margin:16px 0 0}
.ex-page .h2--ja{font:300 clamp(24px,2.6vw,34px)/1.2 var(--ja);letter-spacing:.14em;margin:0}
.ex-page .h2-ja{font:300 13px/1 var(--ja);letter-spacing:.2em;opacity:.9;margin-top:12px}
.ex-page .btn{display:inline-block;font:400 12px/1 var(--ja);letter-spacing:.16em;border:1px solid #fff;padding:12px 18px;transition:background .3s var(--ease),color .3s var(--ease)}
.ex-page .btn:hover{background:#fff;color:var(--g-low)}
.ex-page .btn.off{opacity:.5;pointer-events:none}
.ex-page .hero{position:relative;height:100vh;min-height:620px;overflow:hidden;background:var(--g-mid)}
.ex-page .hero>img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ex-page .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(50,48,49,.55) 0%,rgba(50,48,49,.18) 30%,rgba(50,48,49,0) 50%)}
.ex-page .hero .cap{position:absolute;z-index:2;left:var(--pad);right:var(--pad);bottom:56px}
.ex-page .hero .ja{display:block;font:300 clamp(24px,calc((100vw - 324px) / 12.2),96px)/1.05 var(--ja);letter-spacing:.04em;margin-top:12px}
.ex-page .hero .en{display:block;font:300 clamp(24px,calc((100vw - 324px) / 12.2),96px)/1 var(--en);letter-spacing:.02em;margin-top:2px;white-space:nowrap}
.ex-page .hero .sub{font:300 clamp(14px,1.7vw,22px)/1.3 var(--en);letter-spacing:.06em;margin-top:14px;padding-top:12px;border-top:1px solid var(--rule);max-width:860px}
.ex-page .hero .dates{display:flex;gap:40px;margin-top:12px;font:300 clamp(14px,1.4vw,18px)/1.3 var(--en);letter-spacing:.06em}
.ex-page .hero .dates b{font:400 .78em/1 var(--ja);letter-spacing:.16em;margin-right:12px;opacity:.9}
.ex-page .hero .cap{right:calc(var(--pad) + 240px)}
.ex-page .hero .hero-logos{position:absolute;z-index:2;right:var(--pad);bottom:48px;width:200px;filter:drop-shadow(0 1px 12px rgba(40,38,39,.45))}
.ex-page .info{background:var(--g-low);padding:56px var(--pad) 64px}
.ex-page .tbl{--cols:168px 112px 1fr 1fr}
.ex-page .tbl .head,.ex-page .tbl .g{display:grid;grid-template-columns:var(--cols);column-gap:32px}
.ex-page .tbl .head{align-items:baseline;padding-bottom:20px}
.ex-page .tbl .head h2,.ex-page .tbl .head .city{font:300 clamp(24px,2.6vw,34px)/1 var(--ja);letter-spacing:.14em}
.ex-page .tbl .head h2{grid-column:1/3}
.ex-page .tbl .g{row-gap:10px;align-items:baseline;padding:20px 0 24px;border-top:1px solid var(--rule)}
.ex-page .tbl .gname{grid-column:1;grid-row:1;font:500 14px/1.6 var(--ja);letter-spacing:.16em}
.ex-page .tbl .r{display:contents}
.ex-page .tbl .r>dt{grid-column:2;font:300 12px/1.6 var(--ja);letter-spacing:.12em;opacity:.8}
.ex-page .tbl .r>dd{font-size:14px;line-height:1.75}
.ex-page .tbl .r>dd:nth-of-type(1){grid-column:3}
.ex-page .tbl .r>dd:nth-of-type(2){grid-column:4}
.ex-page .tbl .r>dd.both{grid-column:3/5}
.ex-page .tbl .r .big{font:300 clamp(18px,1.8vw,22px)/1.3 var(--en);letter-spacing:.02em}
.ex-page .tbl .r .big small{font:300 .55em var(--ja);margin:0 .2em}
.ex-page .tbl .r .note{font-size:12px;opacity:.8;margin-left:12px}
.ex-page .tbl .r .note.blk{display:block;margin:4px 0 0}
.ex-page .tbl .r .tag{display:none}
.ex-page .tbl .program .pg{display:block}
.ex-page .tbl .program .t{display:inline-block;width:3.6em;font:300 15px/1 var(--en)}
.ex-page .about{background:var(--g-top);padding:64px var(--pad) 0}
.ex-page .about .inner{max-width:760px;margin:0 auto 44px}
.ex-page .about .h2{margin-bottom:20px}
.ex-page .about .body{font-size:15px;line-height:1.95;letter-spacing:.03em}
.ex-page .pair{display:grid;grid-template-columns:1fr 1fr;gap:0;padding-bottom:56px}
.ex-page .pair figure{position:relative;aspect-ratio:4/3;overflow:hidden}
.ex-page .pair img{width:100%;height:100%;object-fit:cover}
.ex-page .pair figcaption{position:absolute;left:16px;bottom:14px;font:400 10px/1 var(--en);letter-spacing:.24em}
.ex-page .views{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px;margin:0 0 56px}
.ex-page .views .v{padding:20px 0 0}
.ex-page .views .no{display:block;font:300 clamp(36px,4vw,56px)/1 var(--en);letter-spacing:.02em}
.ex-page .views h3{font:400 18px/1.4 var(--ja);letter-spacing:.12em;margin-top:14px}
.ex-page .views .en{font:300 11px/1 var(--en);letter-spacing:.24em;margin-top:6px;opacity:.9}
.ex-page .views .tx{font-size:14px;line-height:1.85;margin-top:14px;padding-top:14px;border-top:1px solid var(--rule-soft)}
/* 見出しが2行になる列があっても、区切り線と本文の頭を3列でそろえる（2026-11-16 坂田「ここライン合わせて」） */
.ex-page .views .v{display:grid;grid-row:span 4;grid-template-rows:subgrid;align-content:start}
.ex-page .views h3{align-self:end}/* 1行の見出しは下に寄せて、英字の小見出しとの間をそろえる（同日「文字下に揃えて」） */
.ex-page .profile{background:var(--g-mid);display:grid;grid-template-columns:minmax(300px,2fr) 3fr;align-items:center;min-height:0;padding:36px var(--pad);column-gap:0;overflow:hidden}
.ex-page .profile .txt{padding:0;max-width:520px;width:100%;text-align:center;justify-self:center}
.ex-page .profile .sign-row{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0 0}
.ex-page .profile .sign{width:min(320px,62%);margin:0}
.ex-page .profile .name{font:300 13px/1 var(--en);letter-spacing:.1em;opacity:.9;white-space:nowrap}
.ex-page .profile .body{font-size:14px;line-height:1.9;margin:20px auto 0;max-width:30em}
.ex-page .profile .face{height:auto;margin:0 calc(-1 * var(--pad)) 0 112px}
.ex-page .profile .face img{display:block;width:100%;height:auto;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 14%,#000 84%,transparent 100%),linear-gradient(to top,transparent 0,#000 16%,#000 84%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 14%,#000 84%,transparent 100%),linear-gradient(to top,transparent 0,#000 16%,#000 84%,transparent 100%);mask-composite:intersect}
.ex-page .foot{background:var(--g-low);padding:56px var(--pad) 40px}
.ex-page .foot .logos{width:min(220px,50%)}
.ex-page .foot .bar{display:flex;justify-content:space-between;margin-top:40px;padding-top:24px;border-top:1px solid var(--rule-soft);font:400 11px/1 var(--en);letter-spacing:.18em}
@media (max-width:960px){.ex-page .tbl{--cols:120px 84px 1fr 1fr}
.ex-page .tbl .head,.ex-page .tbl .g{column-gap:20px}

}
@media (max-width:700px){.ex-page{--pad:16px}
.ex-page .hero .cap{bottom:40px}
.ex-page .hero .dates{flex-direction:column;gap:8px}
.ex-page .hero .cap{right:var(--pad);bottom:150px}
.ex-page .hero .en,.ex-page .hero .ja{font-size:calc((100vw - 32px) / 12.2)}
.ex-page .hero .hero-logos{width:118px;bottom:20px}
.ex-page .info{padding:44px var(--pad) 48px}
.ex-page .tbl .head{display:block;padding-bottom:12px}
.ex-page .tbl .head .city{display:none}
.ex-page .tbl .g{display:block;padding:22px 0 26px}
.ex-page .tbl .gname{margin-bottom:10px}
.ex-page .tbl .r{display:block;padding:10px 0}
.ex-page .tbl .r>dt{margin-bottom:4px}
.ex-page .tbl .r .tag{display:block;font:500 11px/1 var(--ja);letter-spacing:.16em;opacity:.7;margin:10px 0 4px}
.ex-page .tbl .r>dd:first-of-type .tag{margin-top:2px}
.ex-page .about{padding-top:52px}
.ex-page .pair{grid-template-columns:1fr;padding-bottom:40px}
.ex-page .views{grid-template-columns:1fr;margin-bottom:40px}
.ex-page .views .v{padding:20px 0 12px}
.ex-page .profile{grid-template-columns:1fr;padding:40px var(--pad) 24px}
.ex-page .profile .face{height:auto;margin:20px -16px 0}

}
/* 上の .ex-page .hero（100vh）より後に置く：ヘッダーの高さを引いて、最初の画面にタイトルまで収める */
.ex-page{padding:0!important;max-width:none!important}
.ex-page .hero{height:calc(100vh - 181px);min-height:560px}
/* 2026-11-09 坂田「建物が全体に映るように」「画像が上部分帯と被ってる」「もう少し引きに」→ A：写真を切らずに全部見せる。
   写真の部分の高さを写真の比率（1385×940）に合わせる。タイトルは少しスクロールした所に来る。スマホは従来どおり */
.ex-page .hero>img:first-child{object-position:50% 0%}
@media (min-width:701px){.ex-page .hero{height:auto;aspect-ratio:1385/940;min-height:0}}

/* 2026-11-07 ヘッダーのメニューを2行にしない（坂田「二重になるの嫌」「スマホ用みたいに右にしまい込む」）
   7項目＋言語切替は幅1280pxでほぼ満杯（1240pxで折り返した）。余裕を見て
   1400px未満では、スマホと同じ「≡」ボタン（コアのオーバーレイ）にしまう。
   600px未満はコア側で元から「≡」。言語切替も同じ幅から「≡」の中へ（assets/motion.js）。 */
.site-head .lang-switcher { white-space: nowrap; }
/* 2026-11-09 坂田「全てのページ横３本線でいい」：1400px以上も「≡」に（上限を外した） */
@media (min-width: 600px) {
	.site-head .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.site-head .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.site-head nav.wp-block-navigation { margin-left: auto; }
	/* 「≡」とSNSアイコンの間を、アイコン同士の間（16px）に揃える */
	.site-head__inner { column-gap: 16px; }
}

/* 2026-11-07 「≡」で開いたメニュー（坂田「×が端すぎる」「真っ白じゃなく左から右へ透明に」）
   左はメニューの文字が読めるよう白、右へいくほど透けて後ろのページが見える。
   後ろのヘッダーの「≡」とSNSが透けて「×」と並ぶので、開いている間は隠す。 */
.site-head .wp-block-navigation__responsive-container.is-menu-open {
	background: linear-gradient(to right, #fff 0%, #fff 28%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%) !important;
}
.site-head .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: clamp(20px, 4vw, 32px) !important;
	right: clamp(20px, 4vw, 32px) !important;
}
@media (max-width: 599px) {
	.site-head .wp-block-navigation__responsive-container.is-menu-open {
		background: linear-gradient(to right, #fff 0%, #fff 55%, rgba(255, 255, 255, 0.85) 72%, rgba(255, 255, 255, 0) 100%) !important;
	}
}
html.has-modal-open .site-head .wp-block-navigation__responsive-container-open,
html.has-modal-open .site-head__aside { visibility: hidden; }
/* 開くとコアが html を overflow:hidden にしてスクロールバーが消え、ページ幅が15px変わって
   後ろ（透けて見える部分）が左右にがたつく。スクロールバーの幅を常に確保して止める */
html { scrollbar-gutter: stable; }

/* =========================================================
   NEWS（2026-11-07 坂田「ニュースか分かりづらい」「並んだら見にくい」→ A案：文字の一覧）
   一覧＝固定ページ NEWS（ID 185）の本文のクエリ。1行に「日付｜種類｜タイトル →」。
   記事ページ＝functions.php で登録した single テンプレート（.aa-news-single）。
   ========================================================= */
.aa-page:has(.aa-news-head) > .wp-block-post-title { display: none; }
.aa-news-head { display: flex; align-items: baseline; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--aa-ink); }
.aa-news-head h1,
.aa-page .aa-news-head h1 { font: 300 clamp(34px, 4vw, 52px)/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: 0.04em; color: var(--aa-ink); margin: 0; text-transform: none; }
.aa-news-head span { font-size: 13px; letter-spacing: 0.2em; color: var(--aa-ink-soft); }
.aa-news .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.aa-news .wp-block-post-template > .wp-block-post {
	position: relative;
	display: grid;
	grid-template-columns: 110px 140px 1fr 24px;
	align-items: center;
	gap: 16px;
	padding: 22px 4px;
	margin: 0;
	border-bottom: 1px solid var(--aa-rule);
	transition: background 0.2s;
}
.aa-news .wp-block-post-template > .wp-block-post::after { content: "→"; color: var(--aa-gray); text-align: right; }
.aa-news .wp-block-post-template > .wp-block-post:hover { background: #f6f7f7; }
.aa-news .wp-block-post-date,
.aa-news-single .wp-block-post-date { font: 400 13px/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif !important; letter-spacing: 0.06em !important; color: var(--aa-ink-soft) !important; margin: 0 !important; }
.aa-news .wp-block-post-terms,
.aa-news-single .wp-block-post-terms { margin: 0; }
.aa-news .wp-block-post-terms a,
.aa-news-single .wp-block-post-terms a {
	display: inline-block; pointer-events: none;
	font: 400 10px/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--aa-gray); border: 1px solid var(--aa-rule); padding: 5px 8px; text-decoration: none;
}
.aa-news .wp-block-post-title { font-size: 16px !important; font-weight: 400 !important; line-height: 1.6; letter-spacing: 0.03em; margin: 0 !important; padding: 0 !important; border-bottom: 0 !important; text-transform: none !important; }
.aa-news .wp-block-post-title a { color: var(--aa-ink); text-decoration: none; }
/* 行全体を押せるように（タイトルのリンクを行いっぱいに広げる） */
.aa-news .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; }
.aa-news .wp-block-post-excerpt { display: none; }
@media (max-width: 760px) {
	.aa-news .wp-block-post-template > .wp-block-post { grid-template-columns: auto 1fr; gap: 8px 12px; }
	.aa-news .wp-block-post-title { grid-column: 1 / -1; }
	.aa-news .wp-block-post-template > .wp-block-post::after { display: none; }
}
/* 記事ページ */
.aa-news-single { max-width: 760px; margin: 0 auto; }
.aa-news-single .aa-news-single__meta { display: flex; gap: 14px; align-items: center; }
.aa-page .aa-news-single .wp-block-post-title { font-size: clamp(22px, 2.6vw, 30px) !important; font-weight: 400 !important; letter-spacing: 0.03em !important; text-transform: none !important; margin: 18px 0 32px !important; padding-bottom: 24px !important; border-bottom: 1px solid var(--aa-rule) !important; }
.aa-news-single .wp-block-post-content { font-size: 15px; line-height: 2; }
.aa-news-single .aa-news-back { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--aa-rule); }
.aa-news-single .aa-news-back a { font: 400 12px/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: 0.2em; color: var(--aa-gray); text-decoration: none; }

/* =========================================================
   PROJECT 一覧ページ「新しい形」（2026-11-07 坂田 GO：新しい形にしよう）
   見本：素材/PROJECT見本/index.html の「新しい形」をそのまま移した。
   ・ヘッダーをグレー（#80878e）・白文字、その下に PROJECTS の帯
     （ヘッダー＋帯で元のヘッダー高さ 177px）
   ・絞り込みは回るダイヤルでなく横並びの文字タブ（dial.js はそのまま動く）
   ・カードの文字を大きく（上からの指示）／写真は切らずに白い同じ大きさの枠へ下揃え
   body.aa-works-body は functions.php の arai_modern_works_body_class が付ける。
   ========================================================= */
body.aa-works-body { --aw-en: "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; --aw-band: #80878e; --aw-ink: #2b2f33; --aw-soft: #6b7177; }
body.aa-works-body .site-head .wp-block-navigation a { font-family: var(--aw-en) !important; font-weight: 400 !important; letter-spacing: .18em !important; }
body.aa-works-body .site-head .lang-switcher, body.aa-works-body .site-head .lang-switcher a { font-family: var(--aw-en) !important; }
body.aa-works-body .site-head__inner::before { background: var(--aw-band) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.aa-works-body .site-head, body.aa-works-body .site-wordmark { color: #fff !important; }
body.aa-works-body .site-head .wp-block-navigation__responsive-container:not(.is-menu-open) a { color: #fff !important; }
body.aa-works-body .site-head .wp-block-navigation__responsive-container-open { color: #fff !important; }
body.aa-works-body .site-head .aa-social a { color: #fff !important; }
body.aa-works-body .site-head__aside .lang-switcher, body.aa-works-body .site-head__aside .lang-switcher a { color: rgba(255,255,255,.62) !important; }
body.aa-works-body .site-head__aside .lang-switcher .lang-current { color: #fff !important; }
/* 2026-11-09 坂田「A」「ヘッダーが太い」→「中」：ロゴ・PROJECTS・アイコンを1行で中心そろえ、ヘッダー 32+65+32＝129px。
   721px以上の PROJECTS はヘッダーの中の .aa-works-headtitle（functions.php がロゴの後ろに足す）を真ん中に置く。
   本文側の帯 .aa-works-band は 720px以下（2段）だけ。⚠️ 本文（.entry-content）には表示アニメの will-change が付いていて、
   本文の要素は z-index を上げてもヘッダーの前に出られない（2026-11-09 確認）ので、本文側から重ねる方式は使わない。 */
body.aa-works-body .site-head__inner { padding-top: 24px !important; padding-bottom: 10px !important; align-items: center !important; }
body.aa-works-body .site-head__inner > * { align-self: center !important; }
.aa-works-headtitle { display: none; }
@media (min-width: 721px) {
	body.aa-works-body .site-head__inner { padding-top: 32px !important; padding-bottom: 32px !important; }
	body.aa-works-body .aa-works-band { display: none; }
	body.aa-works-body .aa-works-headtitle { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; white-space: nowrap; pointer-events: none; }
	.aa-works-headtitle b { display: block; font: 300 clamp(24px, 2.2vw, 30px)/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: .1em; }
	.aa-works-headtitle span { display: block; margin-top: 8px; font: 300 11px/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: .3em; opacity: .9; }
}
body.aa-works-body .site-wordmark { width: 96px !important; }

body.aa-works-body main.aa-page { max-width: none !important; padding: 0 !important; }
body.aa-works-body main.aa-page > .wp-block-post-title { display: none !important; }
body.aa-works-body main.aa-page .entry-content { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.entry-content > p:has(+ .aa-works-band) { display: none !important; }

.aa-works-band { background: #80878e; color: #fff; text-align: center; padding: 4px 24px 26px; margin-top: -1px; }
.aa-works-band b { display: block; font: 300 clamp(24px, 2.2vw, 30px)/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: .1em; }
.aa-works-band span { display: block; margin-top: 8px; font: 300 11px/1 "itc-avant-garde-gothic-pro", "Century Gothic", Futura, sans-serif; letter-spacing: .3em; opacity: .9; }
body.aa-works-body .aa-works { max-width: 1240px; margin: 0 auto; padding: 8px 32px 96px; }

/* 絞り込み：文字のタブ */
body.aa-works-body .aa-dial { display: block !important; margin: 32px 0 40px !important; text-align: center; }
body.aa-works-body .aa-dial__trigger, body.aa-works-body .aa-dial__hit, body.aa-works-body .aa-dial__stage { display: none !important; }
body.aa-works-body .aa-dial__ring { position: static !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center; gap: 6px 28px; opacity: 1 !important; visibility: visible !important; transform: none !important; background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; inset: auto !important; pointer-events: auto !important; }
body.aa-works-body .aa-dial__item { all: unset; display: inline-block !important; width: auto !important; flex: 0 0 auto !important; cursor: pointer; font: 400 13px/1 var(--aw-en); letter-spacing: .18em; color: var(--aw-soft); padding: 8px 0; border-bottom: 1px solid transparent; position: static !important; transform: none !important; opacity: 1 !important; }
body.aa-works-body .aa-dial__item.is-active, body.aa-works-body .aa-dial__item[aria-selected="true"] { color: var(--aw-ink); border-bottom-color: var(--aw-ink); }
body.aa-works-body .aa-dial__ja { display: none !important; }
body.aa-works-body .aa-dial__name { all: unset; }
body.aa-works-body .aa-dial__n { all: unset; margin-left: 6px; font-size: 11px; opacity: .6; }

/* カード：同じ大きさの白い枠・写真は切らずに下揃え・文字を大きく */
body.aa-works-body .works-gallery { gap: 64px 36px !important; }
body.aa-works-body .works-gallery .work-thumb { background: #fff !important; }
body.aa-works-body .work-thumb__paper { display: none !important; }
body.aa-works-body .work-thumb__crop { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; }
body.aa-works-body .work-thumb__pic { inset: 0 !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; background-size: contain !important; background-repeat: no-repeat !important; background-position: center bottom !important; }
body.aa-works-body .works-gallery .work-name { text-align: center !important; font-family: var(--aw-en) !important; font-weight: 300 !important; color: #5b6167 !important; font-size: 18px !important; margin-top: 14px !important; padding-top: 0 !important; }
body.aa-works-body .work-name__ja { display: block; font-family: "Hiragino Sans", sans-serif !important; font-weight: 300 !important; color: var(--aw-soft) !important; font-size: 13px !important; margin-top: 6px; }
body.aa-works-body .work-meta { display: block; font-family: var(--aw-en) !important; color: #8a9096 !important; font-size: 12px !important; letter-spacing: .12em !important; margin-top: 6px; }
/* 2026-11-09 坂田「幅を変えた時の二段のなり方が綺麗じゃない」：行の長さをそろえて折る、日本語は言葉の切れ目で折る
   （auto-phrase は Chrome のみ。ほかのブラウザは今までどおりの折り返しになるだけ） */
body.aa-works-body .works-gallery .work-name { text-wrap: balance; }
body.aa-works-body .work-name__ja { text-wrap: balance; word-break: auto-phrase; }
/* 2026-11-09 坂田「絞り込みの折り返しも気になる」（GRAPHIC だけ2行目に落ちていた）
   ・ダイヤル時代の左右の余白（.aa-works .aa-dial .aa-dial__item の padding 1.6em !important）が残り、
     項目の間が見た目より約36px広かった → 外して、間は margin 14px ずつ（＝28px）
   ・それでも入らない幅では、行の長さをそろえて折る（項目を文字のように並べて text-wrap: balance） */
body.aa-works-body .aa-works .aa-dial .aa-dial__ring { display: block !important; text-align: center; text-wrap: balance; }
body.aa-works-body .aa-works .aa-dial .aa-dial__item { padding: 8px 0 !important; margin: 3px 14px !important; }
/* 2026-11-09 坂田「オーダリングが出てくるエフェクトなしでいい」：マウスを乗せたときの暗い膜と
   構成原理（.work-ordering）の文字を出さない。カードを押せば詳細へ行くのは同じ。 */
body.aa-works-body .works-gallery .work-thumb::before { display: none !important; }
body.aa-works-body .work-ordering { display: none !important; }
/* 押した感じは残す（坂田「押した感じはある方がいい」→ A：写真が少し薄くなる、押すともう一段） */
body.aa-works-body .work-thumb__pic { transition: opacity .35s ease !important; }
body.aa-works-body .work-card:hover .work-thumb__pic { opacity: .78; }
body.aa-works-body .work-card:active .work-thumb__pic { opacity: .6; }
@media (max-width: 720px) {
  .aa-works-band { padding: 10px 24px 14px; }
  .aa-works-band b { font-size: 22px; }
}

/* =========================================================
   作品ページ — 作品集どおり（2026-11-09 坂田「基本作品集どおりでいこう、文字も載せて」）
   寸法はすべて本の実測を「写真の面の幅（432pt）」で割った割合。.aa-work__plate を基準の箱
   （container）にして cqw（箱の幅の1%）で置く。奇数・偶数ページとも、写真の面に対する位置は同じだった。
     写真の面：正方形 432pt
     灰色の面：198pt（45.9%）、左端は写真の左から 116pt（26.8%）、写真の下端から 31pt（7.1%）下
     右の文字：写真の左から 290pt（67.2%）〜右端まで、面の上端から 13pt（3%）下。本文 約8pt（1.9%）
     左のキーワード：写真の左から 71pt（16.4%）、下端を面の下端から 約15pt（3.5%）上にそろえる
     地名と年：面のすぐ下、面の幅の中で中央。約10.5pt（2.4%）、灰色
   ⚠️ 2026-09-29 の「面の下に文字を入れない」は、この日の本人指示で改めた。
   ⚠️ 幅600px以下（スマホ）は本の比率のままだと文字が6px台になるので、文字を面の下に回す。
   ========================================================= */
.aa-work-page .aa-work__head { margin: 0 auto .35em !important; }
.aa-work-page .aa-work__title {
	color: #9a9da1 !important;
	font-weight: 300 !important;
	letter-spacing: .05em !important;
	font-size: clamp(22px, 3.4vw, 34px) !important;
	line-height: 1.25 !important;
	text-wrap: balance;
}
.aa-work-page .aa-work__title-ja { display: none !important; }
.aa-work__plate {
	container-type: inline-size;
	width: min(100%, 760px);
	margin: 0 auto 6em;
}
.aa-work__plate .aa-work__band { margin: 0; }
.aa-work__sq { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #f2f3f3; }
.aa-work__sq img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.aa-work__lower { position: relative; margin-top: 7.1cqw; }
.aa-work__plate .aa-work__men { width: 45.9cqw; margin: 0 0 0 26.8cqw; }
.aa-work__txt {
	position: absolute; z-index: 3;
	left: 67.2cqw; right: 0; top: 3cqw;
	font: 400 max(11px, 1.7cqw)/1.4 "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", sans-serif;
	letter-spacing: .01em; color: #231f20;
}
.aa-work__about { margin-top: .6em; text-align: justify; hyphens: auto; }
.aa-work__kw {
	position: absolute; z-index: 3;
	left: 16.4cqw; bottom: 3.5cqw;
	margin: 0; padding: 0; list-style: none;
	font: 400 max(11px, 1.7cqw)/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: .01em; color: #231f20;
}
.aa-work__plate .aa-work__place {
	width: 45.9cqw; margin: .15em 0 0 26.8cqw;
	text-align: center; white-space: nowrap;
	font-size: max(13px, 2.6cqw); letter-spacing: .04em; color: #9a9da1;
}
@media (max-width: 600px) {
	.aa-work__plate { display: flex; flex-direction: column; }
	.aa-work__lower { display: contents; }
	.aa-work__plate .aa-work__men { order: 1; width: 64%; margin: 8% auto 0; }
	.aa-work__plate .aa-work__place { order: 2; width: auto; margin: .4em 0 0; font-size: 14px; }
	.aa-work__txt { order: 3; position: static; margin-top: 2em; font-size: 13px; }
	.aa-work__kw { order: 4; position: static; margin-top: 1.2em; font-size: 12px; color: #6b7177; }
}

/* 2026-11-09 展示会ページ：写真の左右に、シンポジウム・懇親会の日付を大きく（坂田の指示）。京都＝左・東京＝右 */
.ex-page .hero .bd{position:absolute;z-index:2;top:6%;color:#fff;text-shadow:0 2px 14px rgba(20,20,24,.55),0 0 2px rgba(20,20,24,.35)}
/* 坂田「もうちょい文字目立つように」：写真の上側に薄い暗いぼかし（空と白文字の差をつける） */
.ex-page .hero::before{content:"";position:absolute;left:0;right:0;top:0;height:38%;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(38,38,42,.55) 0%,rgba(38,38,42,.28) 55%,rgba(38,38,42,0) 100%)}
.ex-page .hero .bd--l{left:var(--pad)}
.ex-page .hero .bd--r{right:var(--pad);text-align:right}
.ex-page .hero .bd .c{display:block;font:400 clamp(12px,1.1vw,16px)/1 var(--ja);letter-spacing:.3em}
.ex-page .hero .bd .d{display:block;margin-top:.25em;font:500 clamp(34px,4.3vw,74px)/1 var(--en);letter-spacing:.01em;white-space:nowrap}
.ex-page .hero .bd .d small{font-size:.32em;letter-spacing:.08em;margin-left:.15em}
.ex-page .hero .bd .e{display:block;margin-top:.55em;font:400 clamp(12px,1.05vw,15px)/1.3 var(--ja);letter-spacing:.14em}
@media (max-width:700px){.ex-page .hero .bd{top:16px;max-width:44%}.ex-page .hero .bd .d{font-size:24px}.ex-page .hero .bd .c,.ex-page .hero .bd .e{font-size:11px;letter-spacing:.08em}}
/* 2026-11-09 坂田「画像とか目一杯に出てきすぎて見にくい」「余白あった方が見やすい」→ パソコンは幅1240pxまでで中央に。写真は額に入れたように上と左右に余白、下の文章・表も同じ幅 */
@media (min-width:701px){
	.ex-page{--wrap:min(calc(100vw - 2*clamp(24px,5vw,80px)), calc((100vh - 129px - 48px) * 1385 / 940))} /* 坂田「同じバナーが全部映る形で」：バナーが1画面に全部収まる幅（ヘッダー129px＋上下24px） */
	.ex-page{padding-top:24px!important}
	/* 坂田「横帯太くなりすぎでは？」：ヘッダーを PROJECT と同じ 129px（ロゴ96px・上下32px・中心そろえ）に */
	body.ex-page-body .site-head__inner{padding-top:32px!important;padding-bottom:32px!important;align-items:center!important}
	body.ex-page-body .site-head__inner>*{align-self:center!important}
	body.ex-page-body .site-wordmark{width:96px!important}
	.ex-page .hero{width:var(--wrap);margin:0 auto;aspect-ratio:1385/940;height:auto;max-height:calc(100vh - 177px);min-height:0;container-type:inline-size}
	/* 日付は写真の幅に合わせる（画面の幅ではなく）。京都の日付が塔に重ならない大きさ */
	.ex-page .hero .bd--l{left:3cqw}
	.ex-page .hero .bd--r{right:3cqw}
	.ex-page .hero .bd .d{font-size:clamp(28px,3.9cqw,64px)}
	/* 坂田「新井清一 50 YEARS, AND BEYOND がでかくなりすぎ」：タイトルも写真の幅に合わせる。下の英文は少し大きめのまま */
	.ex-page .hero .ja,.ex-page .hero .en{font-size:clamp(28px,5cqw,64px)}
	.ex-page .hero .sub{font-size:clamp(16px,2.1cqw,28px)}
	.ex-page > section:not(.hero){max-width:var(--wrap);margin-left:auto;margin-right:auto;padding-top:clamp(48px,6vw,96px)}
}
/* 坂田「KYOTOとTOKYOに」「Arai Kiyokazu Architectural Collections in Scale の文字も少し大きく」 */
.ex-page .hero .bd .c{font-family:var(--en);letter-spacing:.24em}
.ex-page .hero .sub{font-size:clamp(16px,2.1vw,28px)}

/* =========================================================
   展示会ページのいちばん上：1枚のバナー（2026-11-09 坂田 C案に決定）
   写真と文字を 1385:940 の板にまとめ、位置・大きさは板の幅に対する cqw。どの幅でも同じ構図。
   見本：素材/展示会バナー案_20261109/c.html。スマホも同じ構図（小さい文字だけ下限あり）。
   ========================================================= */
.ex-page .exb{position:relative;container-type:inline-size;aspect-ratio:1385/940;overflow:hidden;background:#222;color:#fff;margin:0 auto;padding:0!important}
@media (min-width:701px){.ex-page .exb{width:var(--wrap)}}
@media (max-width:560px){.ex-page .exb__dts{gap:2.6cqw}.ex-page .exb__ey{display:none}.ex-page .exb__dt .c{letter-spacing:.18em}.ex-page .exb__top{left:3.5cqw;right:3.5cqw;justify-content:flex-end}}
.ex-page .exb__ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%;transform:scale(1.12) translateX(1.8%);transform-origin:52% 45%;display:block;max-width:none}
.ex-page .exb__shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(20,20,24,.78) 0%,rgba(20,20,24,.45) 26%,rgba(20,20,24,0) 48%),linear-gradient(to bottom,rgba(20,20,24,.5) 0%,rgba(20,20,24,0) 22%)}
.ex-page .exb__top{position:absolute;left:4.5cqw;right:4.5cqw;top:4cqw;display:flex;justify-content:space-between;align-items:flex-start}
.ex-page .exb__ey{font:500 max(8px,1.25cqw)/1 var(--en);letter-spacing:.34em}
.ex-page .exb__dts{display:flex;gap:4cqw;text-align:right}
.ex-page .exb__dt .c{font:500 max(7px,1.05cqw)/1 var(--en);letter-spacing:.3em}
.ex-page .exb__dt .d{display:block;font:500 3.6cqw/1 var(--en);letter-spacing:0;margin-top:.5cqw;white-space:nowrap}
.ex-page .exb__dt .d small{font:500 .32em/1 var(--ja);margin-left:.12em}
.ex-page .exb__dt .e{font:500 max(7px,.95cqw)/1.2 var(--ja);letter-spacing:.12em;margin-top:.6cqw}
.ex-page .exb__bot{position:absolute;left:5cqw;bottom:5cqw;width:max-content}
.ex-page .exb h1{margin:0;padding:0;border:0;font-size:inherit;color:#fff;text-transform:none;letter-spacing:0}
.ex-page .exb .ja{display:block;font:300 5.2cqw/1.1 var(--ja);letter-spacing:.04em;margin-bottom:.9cqw}
.ex-page .exb .en{display:block;font:300 5.2cqw/1 var(--en);letter-spacing:.01em;white-space:nowrap;margin-top:.2cqw}
.ex-page .exb__row{margin-top:1.6cqw;padding-top:1.2cqw;border-top:1px solid #fff}
.ex-page .exb__sub{font:400 2.35cqw/1 var(--en);letter-spacing:.06em;white-space:nowrap}
.ex-page .exb__lg{position:absolute;right:5cqw;bottom:5.25cqw;width:14.5cqw;filter:drop-shadow(0 1px 10px rgba(0,0,0,.4))} /* 2026-11-10 坂田「主催：アライアーキテクツ抜いて」「画像変えられる？」→ 主催の行を消した画像 logos2（メディア aa-ex-logos2.png）。「左の文字の下端に揃えて少しだけ大きく」→ 幅13→14.5cqw、a-bands の下の線を英文の文字の下端（ベースライン）に */
/* 坂田「新井清一の説明文は中央寄せではなく左寄せに」（見出しと署名は中央のまま） */
.ex-page .profile .body{text-align:left}
/* TOPのスライドの展示会の1枚：展示会ページと同じバナーを、ヘッダーの下に全部見える大きさで中央に（地は展示会ページと同じ灰色） */

/* =========================================================
   TOP（2026-11-10 坂田「展示会のバナーをいっぱい見て欲しい」→ 固定）
   一番上に展示会のバナーを固定で大きく（.exfix）。作品はその下の
   余白のあるスライド（.tc、assets/stage.js）。両隣はグレーで小さく見える。
   会期が終わったら TOP の [aa_stage] を [aa_stage ex="none"] にするとバナーが消える。
   ========================================================= */
.aa-top{position:relative;background:#fff;--en:"itc-avant-garde-gothic-pro","Century Gothic",Futura,sans-serif}
.aa-top .aa-intro{position:fixed;z-index:1000}
.exfix{padding:28px 0 0}
.exfix__a,.exfix__cap{width:min(calc(100vw - 2*clamp(16px,5vw,80px)), 1180px);margin:0 auto} /* 2026-11-10 坂田「もう少し大きく」→ B：画面の高さに合わせず最大1180px（ノートPCでは下がはみ出す） */
.exfix__a{display:block;position:relative;aspect-ratio:1385/940;overflow:hidden}
.exfix__a .ex-page{position:absolute;inset:0;padding:0!important;background:none}
.exfix__a .ex-page .exb{width:100%!important}
.exfix__cap{display:flex;justify-content:space-between;align-items:baseline;margin-top:16px;font:300 12px/1 var(--en);letter-spacing:.2em;color:#9a9da1}
.exfix__go{color:#2b2f33;letter-spacing:.12em;text-decoration:none}
.exfix__go:hover{opacity:.6}
.tc{--sw:min(72vw, calc((100vh - 177px - 130px) * 1385 / 940));--gap:3.2vw;position:relative;overflow:hidden;padding:28px 0 0}
.tc--sub{--sw:min(56vw, 760px);padding-top:72px}
.tc__track{display:flex;gap:var(--gap);align-items:flex-start;will-change:transform;transition:transform 1.2s cubic-bezier(.77,0,.18,1)}
.tc__slide{flex:0 0 var(--sw);display:block;text-decoration:none;color:#2b2f33}
.tc__frame{position:relative;aspect-ratio:1385/940;overflow:hidden;background:#eef0f0;transform:scale(.9);transform-origin:center;filter:grayscale(1) brightness(.92);opacity:.55;transition:transform 1.2s cubic-bezier(.77,0,.18,1),filter 1.2s,opacity 1.2s}
.tc__slide.is-active .tc__frame{transform:none;filter:none;opacity:1}
.tc__frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.tc__hint{position:absolute;top:50%;transform:translateY(-50%);font:400 12px/1 var(--en);letter-spacing:.32em;color:#fff;background:rgba(30,30,34,.55);padding:10px 14px;opacity:0;transition:opacity .3s;pointer-events:none;z-index:5}
.tc__hint--next{left:6%}
.tc__hint--prev{right:6%}
.tc__slide.is-next:hover .tc__hint--next,.tc__slide.is-prev:hover .tc__hint--prev{opacity:1}
.tc__slide.is-next,.tc__slide.is-prev{cursor:pointer}
.aa-page .tc__cap,.tc__cap{display:flex;align-items:baseline;gap:18px;margin:16px 0 0;padding:0;font:300 13px/1.3 var(--en);letter-spacing:.06em;opacity:0;transform:translateY(6px);transition:opacity .6s .5s,transform .6s .5s}
.tc__slide.is-active .tc__cap{opacity:1;transform:none}
.tc__cap .n{font-size:11px;letter-spacing:.2em;color:#9a9da1}
.tc__cap .t{color:#2b2f33}
.tc__cap .y{margin-left:auto;font-size:11px;letter-spacing:.16em;color:#9a9da1}
.tc__bar{display:flex;justify-content:flex-end;width:var(--sw);margin:18px auto 30px;font:300 11px/1 var(--en);letter-spacing:.24em;color:#9a9da1}
.tc__count b{font-weight:400;color:#2b2f33}
@media (max-width:700px){
	.tc,.tc--sub{--sw:82vw;--gap:10px;padding-top:40px}
	.tc__cap{font-size:12px;gap:10px}
	.tc__cap .y,.tc__hint{display:none}
	.tc__bar{margin:12px auto 22px}
	.exfix{padding-top:16px}
	.exfix__cap{font-size:10px;letter-spacing:.14em}
}
/* 2026-11-10 坂田「スマホの日付が塔に重なる」→ B＋「その下に共通でシンポジウム〜の文字小さめで」。
   ⚠️ 上の (max-width:560px) の justify-content:flex-end が、後ろの .exb__top{space-between} に負けていた（日付が左に寄って塔に重なった原因）。ここで効かせ直す */
.ex-page .exb__ec{display:none}
@media (max-width:560px){
	.ex-page .exb__top{justify-content:flex-end}
	.ex-page .exb__dts{flex-wrap:wrap;justify-content:flex-end;row-gap:0}
	.ex-page .exb__dt .e{display:none}
	.ex-page .exb__dt .d{font-size:4.4cqw}
	.ex-page .exb__ec{display:block;flex-basis:100%;text-align:right;margin-top:1.1cqw;font:500 max(6px,1.3cqw)/1.2 var(--ja);letter-spacing:.1em}
}

/* =========================================================
   TOPのNEWS [aa_top_news]（2026-11-10 坂田「今っぽく」「グレーの要素はいらない」→ B案「動きのある感じに」「背景なしで」）
   新しい3件を横に。色は黒と白だけ。画面に入ると左から順に動く（motion.js が .aa-section の子に付ける .aa-reveal → .is-in が合図）。
   見本：素材/TOPカルーセル見本/news-b.html
   ========================================================= */
.aa-tn{--ink:#2b2f33;--en:"itc-avant-garde-gothic-pro","Century Gothic",Futura,sans-serif;--ease:cubic-bezier(.77,0,.18,1);color:var(--ink)}
.aa-tn.aa-reveal{opacity:1;transform:none}
.aa-tn a{color:inherit;text-decoration:none}
.aa-tn__hd{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:36px;overflow:hidden}
.aa-page .aa-tn__h,.aa-tn__h{display:block;margin:0;padding:0;border:0;font:300 40px/1.1 var(--en);letter-spacing:0;text-transform:none;color:var(--ink);transition:transform 1s var(--ease)}
.aa-tn__all{position:relative;font:400 11px/1 var(--en);letter-spacing:.24em;padding-bottom:6px;transition:opacity .8s .5s}
.aa-tn__all::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--ink);transform-origin:right;transition:transform .5s var(--ease)}
.aa-tn__all:hover::after{transform:scaleX(0)}
.aa-tn__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.aa-page .aa-tn__list li,.aa-tn__list li{margin:0;padding:0;font-size:inherit}
.aa-tn__list a{position:relative;display:block;padding-top:20px}
.aa-tn__list a::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--ink);transform-origin:left;transition:transform 1.1s var(--ease),height .3s}
.aa-tn__list a:hover::before{height:5px}
.aa-tn__d{display:block;overflow:hidden;font:300 34px/1.1 var(--en);letter-spacing:.01em}
.aa-tn__d small{display:block;font:400 11px/1 var(--en);letter-spacing:.2em;margin-bottom:8px}
.aa-tn__d span{display:inline-block;transition:transform 1s var(--ease)}
.aa-tn__c{display:inline-block;margin:18px 0 10px;font:500 10px/1 var(--en);letter-spacing:.26em;background:var(--ink);color:#fff;padding:5px 8px;transition:clip-path .8s var(--ease)}
.aa-tn__t{display:block;font-size:15px;line-height:1.7;letter-spacing:.04em;transition:opacity .9s,transform .9s var(--ease)}
.aa-tn__t i{font-style:normal;background:linear-gradient(var(--ink),var(--ink)) 0 100%/0 1px no-repeat;transition:background-size .5s var(--ease)}
.aa-tn__list a:hover .aa-tn__t i{background-size:100% 1px}
.aa-tn__ar{position:absolute;right:0;top:26px;font:300 22px/1 var(--en);opacity:0;transform:translateX(-14px);transition:opacity .35s,transform .45s var(--ease)}
.aa-tn__list a:hover .aa-tn__ar{opacity:1;transform:none}
/* 動く前（JSが .aa-reveal を付けて、まだ画面に入っていないときだけ隠す。JSが無ければ最初から全部見える） */
.aa-tn.aa-reveal:not(.is-in) .aa-tn__h{transform:translateY(110%)}
.aa-tn.aa-reveal:not(.is-in) .aa-tn__all{opacity:0}
.aa-tn.aa-reveal:not(.is-in) .aa-tn__list a::before{transform:scaleX(0)}
.aa-tn.aa-reveal:not(.is-in) .aa-tn__d span{transform:translateY(110%)}
.aa-tn.aa-reveal:not(.is-in) .aa-tn__c{clip-path:inset(0 100% 0 0)}
.aa-tn.aa-reveal:not(.is-in) .aa-tn__t{opacity:0;transform:translateY(12px)}
/* 左の記事から順に */
.aa-tn.is-in li:nth-child(1) a::before,.aa-tn.is-in li:nth-child(1) .aa-tn__d span{transition-delay:.15s}
.aa-tn.is-in li:nth-child(2) a::before,.aa-tn.is-in li:nth-child(2) .aa-tn__d span{transition-delay:.3s}
.aa-tn.is-in li:nth-child(3) a::before,.aa-tn.is-in li:nth-child(3) .aa-tn__d span{transition-delay:.45s}
.aa-tn.is-in li:nth-child(1) .aa-tn__c{transition-delay:.7s}.aa-tn.is-in li:nth-child(2) .aa-tn__c{transition-delay:.85s}.aa-tn.is-in li:nth-child(3) .aa-tn__c{transition-delay:1s}
.aa-tn.is-in li:nth-child(1) .aa-tn__t{transition-delay:.8s}.aa-tn.is-in li:nth-child(2) .aa-tn__t{transition-delay:.95s}.aa-tn.is-in li:nth-child(3) .aa-tn__t{transition-delay:1.1s}
/* 動き終わったら、乗せたときの線の太さは待たずに反応させる */
.aa-tn.is-in .aa-tn__list a:hover::before{transition-delay:0s}
@media (max-width:700px){
	.aa-tn__list{grid-template-columns:1fr;gap:28px}
	.aa-tn__ar{opacity:1;transform:none}
	.aa-page .aa-tn__h,.aa-tn__h{font-size:32px}
}
@media (prefers-reduced-motion:reduce){.aa-tn *,.aa-tn a::before{transition:none!important}}
/* NEWSページの一覧も同じ形（2026-11-10 坂田「絞り込みなしでいい、組み込んで」）。見出しの下の線と灰色をやめる */
.aa-tn--page .aa-tn__list{row-gap:56px}
.aa-news-head{border-bottom:0;padding-bottom:0;margin-bottom:48px}
.aa-news-head span{color:var(--aa-ink)}
.aa-page .aa-tn__list{margin:0;padding:0}
.aa-page .aa-tn,.aa-page .aa-tn__d,.aa-page .aa-tn__t,.aa-page .aa-tn a{color:#2b2f33}
.aa-page .aa-tn__c{color:#fff}
/* 坂田「合わせて、もうちょい下に下げて」「TOPも」：NEWSページの見出しを TOP の News と同じ大きさ・形に、上に余白。TOPのNEWSもスライドから少し離す */
.aa-page .aa-news-head{margin-top:56px}
.aa-page .aa-news-head h1{font:300 40px/1.1 "itc-avant-garde-gothic-pro","Century Gothic",Futura,sans-serif;letter-spacing:0;text-transform:none}
.aa-tn:not(.aa-tn--page){margin-top:56px}
@media (max-width:700px){.aa-page .aa-news-head{margin-top:24px}.aa-page .aa-news-head h1{font-size:32px}.aa-tn:not(.aa-tn--page){margin-top:32px}}
/* 坂田「NEWSの文字を下の線に寄せる（下げる）」：見出しと一覧の上の黒い線の間を詰める（TOP・NEWSページとも） */
.aa-tn__hd{margin-bottom:14px}
.aa-page .aa-news-head{margin-bottom:14px}

/* 記事ページの本文：英数字もヒラギノで組む（Helvetica Light だと英数字だけ細く見えた。2026-11-10 坂田「英数字が細い」→ 案2） */
.aa-news-single .wp-block-post-content{font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Helvetica Neue",Helvetica,Arial,"Yu Gothic",Meiryo,sans-serif}
/* 記事の中の展示会バナー [aa_ex_banner]（本文の幅いっぱい） */
.exfix--post{padding:0;margin:40px 0}
.exfix--post .exfix__a,.exfix--post .exfix__cap{width:100%}
.exfix--post .exfix__cap{margin-top:12px}
/* 展示会ページ：主催・後援など（表の下に小さく。2026-11-11 坂田 案B） */
.ex-page .tbl .credits{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;margin:8px 0 0;padding-top:20px;border-top:1px solid var(--rule);font:300 12px/1.7 var(--ja);letter-spacing:.08em;opacity:.85}
.ex-page .tbl .credits dt,.ex-page .tbl .credits dd{margin:0}
/* 展示会ページ 開催概要：PCで日時・参加費が折り返さないように（2026-11-11 坂田「ここの文字の折り返し無くして」）。
   表の幅はバナーと同じ --wrap（画面の高さで決まる）なので、この欄だけ画面に余裕があれば1060pxまで広げ、見出しの列と間を詰める */
@media (min-width:961px){
	.ex-page > section.info{max-width:min(calc(100vw - 2*clamp(24px,5vw,80px)),max(var(--wrap),1060px))}
	.ex-page .tbl{--cols:168px 76px 1fr 1fr}
	.ex-page .tbl .head,.ex-page .tbl .g{column-gap:24px}
	.ex-page .tbl .r .big{font-size:20px}
}
/* バナー：副題の下の展覧会の会期（2026-11-11 坂田 B） */
.ex-page .exb__term{margin-top:1.15cqw;font:400 1.35cqw/1.5 var(--ja);letter-spacing:.1em;white-space:nowrap}
.ex-page .exb__term em{font:400 1.5cqw/1 var(--en);font-style:normal;letter-spacing:.04em}
.ex-page .exb__term small{font-size:.75em}
@media (max-width:560px){
	.ex-page .exb__term{font-size:max(6px,1.35cqw)}
	.ex-page .exb__term em{font-size:max(6.6px,1.5cqw)}
} /* スマホでは小さくなりすぎるので下限 */

/* 展示会ピックアップ（左下固定カード・functions.php arai_modern_ex_pickup）2026-11-12 案D。メニュー（.site-head z100）より下 */
.aa-pk{position:fixed;left:28px;bottom:28px;z-index:90;width:360px;background:#fff;padding:7px;box-shadow:0 8px 24px rgba(0,0,0,.16);animation:aaPkIn .6s ease 1s both}
.aa-pk__a{display:block}
.aa-pk img{display:block;width:100%;height:auto}
.aa-pk__lb{position:absolute;left:7px;top:-21px;background:#2b2f33;color:#fff;font:500 10px/1.2 "Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:.22em;padding:5px 10px 4px}
.aa-pk__x{position:absolute;right:-9px;top:-9px;width:24px;height:24px;border:0;border-radius:50%;background:#2b2f33;color:#fff;font-size:14px;line-height:24px;padding:0;text-align:center;cursor:pointer}
@keyframes aaPkIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (max-width:600px){.aa-pk{width:220px;left:14px;bottom:14px;padding:5px}.aa-pk__lb{left:5px;top:-19px;font-size:9px}.aa-pk__x{width:22px;height:22px;line-height:22px;right:-8px;top:-8px}}
@media print{.aa-pk{display:none}}
/* 展示会ページ 開催概要：スマホは都市ごとにまとめる（2026-11-14 坂田「スマホの開催日程関係がみにくい」→ 案A、
   2026-11-16「京都でシンポジウムと展示会まとめて東京でまとめる形で」）。
   京都（シンポジウム・懇親会→展示会→アクセス）→ 東京（同じ順）。PCは従来の表のまま。
   .ch（都市見出し）・.gn（都市ごとの区分名）・.lbl（各欄の項目名）はスマホだけ出す */
.ex-page .tbl .ch,.ex-page .tbl .gn,.ex-page .tbl .r .lbl{display:none}
@media (max-width:700px){
	.ex-page .tbl{display:flex;flex-direction:column}
	.ex-page .tbl .g,.ex-page .tbl .r{display:contents}
	.ex-page .tbl .gname,.ex-page .tbl .r>dt,.ex-page .tbl .r .tag{display:none}
	.ex-page .tbl .head{order:0}
	.ex-page .tbl .ch{display:flex;align-items:baseline;gap:12px;margin:8px 0 0;padding:14px 0 10px;border-top:1px solid var(--rule)}
	.ex-page .tbl .ch b{font:400 20px/1 var(--ja);letter-spacing:.16em}
	.ex-page .tbl .ch span{font:300 11px/1 var(--en);letter-spacing:.24em;opacity:.8}
	.ex-page .tbl .ct{margin-top:36px}
	.ex-page .tbl .gn{display:block;font:500 14px/1.6 var(--ja);letter-spacing:.16em;margin:18px 0 4px;padding-top:12px;border-top:1px solid var(--rule-soft)}
	.ex-page .tbl .ck{order:10}
	.ex-page .tbl .g1 .gk,.ex-page .tbl .g1 dd.k{order:11}
	.ex-page .tbl .g2 .gk,.ex-page .tbl .g2 dd.k{order:12}
	.ex-page .tbl .g3 .gk,.ex-page .tbl .g3 dd.k{order:13}
	.ex-page .tbl .ct{order:20}
	.ex-page .tbl .g1 .gt,.ex-page .tbl .g1 dd.t{order:21}
	.ex-page .tbl .g2 .gt,.ex-page .tbl .g2 dd.t{order:22}
	.ex-page .tbl .g3 .gt,.ex-page .tbl .g3 dd.t{order:23}
	.ex-page .tbl>:not(.head):not(.ch):not(.g){order:30}
	.ex-page .tbl .r>dd{display:grid;grid-template-columns:5.6em 1fr;column-gap:12px;align-items:baseline;padding:7px 0}
	.ex-page .tbl .r .lbl{display:block;font:300 12px/1.6 var(--ja);letter-spacing:.1em;opacity:.8}
	.ex-page .tbl .r .big{font-size:17px}
	.ex-page .tbl .r .note{display:inline-block}
}
/* 英語：都市見出しの「Kyoto KYOTO」の重なりをやめ、長い項目名（Registration）が入るよう項目欄を広げる（2026-11-18 坂田GO） */
@media (max-width:700px){
	html[lang^="en"] .ex-page .tbl .ch span{display:none}
	html[lang^="en"] .ex-page .tbl .r>dd{grid-template-columns:6.6em 1fr}
}

/* 展示会ページ：チラシPDFへのリンク（2026-11-19 案A。表の下・主催等の上） */
.ex-page .tbl .flyer{margin:36px 0 28px}
