/*
Theme Name: ピントノート
Theme URI: https://pintonote.com
Author: hyodorantaro
Description: ピントノート（pintonote.com）専用テーマ。白地・ジオメトリックサンセリフ・中央そろえの題字で組んだ、アートフォトマガジン型のレイアウト。
Version: 3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pintonote
*/

/* ============================================================
   PINTONOTE ─ アートと写真のメディア

   組み方の基準（IMA ONLINE の作りに寄せている）
   ・地は白。文字は真っ黒にせず #303030 まで落とす。
   ・欧文はジオメトリックサンセリフ（Futura / Jost）、
     和文は游ゴシック体。明朝は使わない。
   ・段の見出しだけを45pxの太字で大きく取り、記事の見出しは17pxに抑える。
     大きいのは「区切り」で、記事名は小さく並べる、という強弱をつける。
   ・分野名は写真の上、日付は写真の下。日付は "17 September 2026" の欧文表記。
   ・色で塗るのは黒の帯と灰色のパネル(#f3f3f3)だけ。写真の色を邪魔しない。
   ============================================================ */

:root {
	--ink:    #303030;
	--sub:    #767676;
	--line:   #dcdcdc;
	--hair:   #ebebeb;
	--panel:  #f3f3f3;
	--paper:  #fff;
	--accent: #303030;

	/* 欧文はFutura系。macOSのFutura → JostのWebフォント → Century Gothic の順に落ちる */
	--sans: Futura, Jost, "Century Gothic", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

	--wrap: 1200px;
	--gut:  20px;
	--ease: cubic-bezier(.22, .68, .2, 1);
	--dur:  .3s;
}

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--sans); font-size: 13px; font-weight: 400; line-height: 1.7;
	overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
button, input { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-weight: 700; line-height: 1.5; }
time { font-variant-numeric: tabular-nums; }

.l-wrap { display: block; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.t-right { text-align: right; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.l-skip { position: absolute; left: -9999px; }
.l-skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

/* 段の見出し。45pxの太字を中央に置く。狭い画面では和文に入れ替える */
.l-sec, .l-sec2 {
	margin: 0 0 46px; text-align: center;
	font-size: 45px; font-weight: 700; letter-spacing: .024em; line-height: 1;
}
.l-sec-en { display: inline; }
.l-sec-ja { display: none; }

/* トップの前文。site-config の intro を埋めたときだけ出る */
.l-intro { padding: 40px 0 10px; text-align: center; }
.l-intro-eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: .26em; color: var(--sub); }
.l-intro-title { margin: 0 auto 14px; font-size: 27px; font-weight: 700; letter-spacing: .017em; line-height: 1.7; max-width: 28em; }
.l-intro-body { margin: 0 auto; font-size: 13px; line-height: 1.9; color: var(--sub); max-width: 46em; }

/* ============================================================
   ヘッダー ─ 題字を中央に置き、その下に分野を並べる
   ============================================================ */
.l-header { background: var(--paper); }
.l-header-inner { position: relative; text-align: center; padding-top: 22px; padding-bottom: 16px; }
/* 題字はトップだけ h1、他のページでは p になる。どちらでも余白は付けない */
.l-brand-wrap { margin: 0; font-weight: 400; }
.l-brand { display: inline-flex; flex-direction: column; align-items: center; }
.l-brand-logo {
	display: block; width: min(280px, 68vw); height: auto;
}
.l-brand-name {
	display: block; font-size: 34px; font-weight: 700; letter-spacing: .16em; line-height: 1.1;
}
.l-brand-sub {
	display: block; margin-top: 8px; font-size: 8.5px; letter-spacing: .3em; color: var(--sub);
}
/* 検索は題字の右に重ねる。題字の中央そろえを崩さないため絶対配置にしている */
.l-header-search { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); }

.l-subhead { border-bottom: 1px solid var(--hair); }
.l-nav ul { display: flex; justify-content: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.l-nav ul::-webkit-scrollbar { display: none; }
.l-nav a {
	display: block; white-space: nowrap; padding: 6px 22px 14px;
	font-size: 15px; letter-spacing: .12em; color: var(--ink);
}
.l-nav a:hover { color: var(--sub); }
.l-nav a.is-on { font-weight: 700; }

/* ---------- 検索 ---------- */
.c-search { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.c-search:focus-within { border-bottom-color: var(--ink); }
.c-search-input {
	background: transparent; border: none; color: var(--ink);
	padding: 5px 2px; width: 150px; font-size: 12px; letter-spacing: .04em;
}
.c-search-input:focus { outline: none; }
.c-search-input::placeholder { color: var(--sub); }
.c-search-btn { background: transparent; border: none; color: var(--ink); padding: 3px 2px; cursor: pointer; display: flex; }
.c-search-btn:hover { color: var(--sub); }

/* ---------- パンくず ---------- */
.c-crumbs { font-size: 11px; color: var(--sub); padding-top: 10px; letter-spacing: .02em; }
.c-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.c-crumbs li + li::before { content: ">"; margin-right: 6px; color: var(--sub); }
.c-crumbs a:hover { text-decoration: underline; }

/* ---------- 分野の標識・日付 ----------
   写真の上に分野、下に日付。文字の大きさで役割を分け、色は使わない。 */
.c-label { display: inline-block; font-size: 16px; line-height: 1; letter-spacing: .02em; color: var(--ink); }
.c-label-sub { margin-left: 6px; font-size: 11px; letter-spacing: .16em; color: var(--sub); }
.c-label-sub::before { content: "/"; margin-right: 6px; }
.c-date { display: block; font-size: 13px; line-height: 1; letter-spacing: 1px; color: var(--ink); }
.c-new { display: inline-block; margin-left: 10px; font-size: 10px; letter-spacing: .16em; color: var(--sub); }

/* 画像が無い記事の枠 */
.c-thumb-fallback {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: var(--panel);
}
.c-thumb-fallback span { font-size: 12px; letter-spacing: .2em; color: var(--sub); text-align: center; padding: 8px; }

/* ---------- タグ ---------- */
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chip { font-size: 11px; letter-spacing: .04em; padding: 4px 12px; border: 1px solid var(--line); color: var(--sub); }
.c-chip:hover { border-color: var(--ink); color: var(--ink); }
.c-chip-count { margin-left: 5px; opacity: .6; }
.c-count { font-size: 12px; color: var(--sub); letter-spacing: .06em; }
.c-post-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- 閲覧数の目安 ---------- */
.c-pv { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; letter-spacing: .1em; color: var(--sub); }
.c-pv-bars { display: flex; align-items: flex-end; gap: 2px; height: 9px; }
.c-pv-bars i { width: 2px; background: var(--line); }
.c-pv-bars i:nth-child(1) { height: 40%; }
.c-pv-bars i:nth-child(2) { height: 70%; }
.c-pv-bars i:nth-child(3) { height: 100%; }
.c-pv-1 .c-pv-bars i:nth-child(1),
.c-pv-2 .c-pv-bars i:nth-child(-n+2),
.c-pv-3 .c-pv-bars i { background: var(--ink); }

/* ============================================================
   ピックアップの帯 ─ 指で横に送る（フッター直前）
   ============================================================ */
.c-flow {
	padding: 50px 0 40px;
	border-top: 1px solid var(--hair);
	background: var(--paper);
}
.c-flow .l-sec { margin-bottom: 28px; }
.c-flow-viewport {
	overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
}
.c-flow-viewport::-webkit-scrollbar { display: none; }
.c-flow-track { display: flex; gap: 20px; width: max-content; }
.c-flow-card { display: block; width: 230px; flex: none; scroll-snap-align: start; }
.c-flow-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); margin-bottom: 10px; }
.c-flow-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-flow-card-title { display: block; font-size: 13px; line-height: 1.7; letter-spacing: .04em; }
/* 見出しは2行で切る。高さの指定は内側の span に持たせる
   （外側で切るとパディングのぶんだけ3行目が見えてしまうため）。 */
.c-flow-card-titletext { display: block; overflow: hidden; height: 3.4em; }
.c-flow-card:hover .c-flow-card-title { color: var(--sub); }

/* ============================================================
   トップの1本目 ─ 大きい写真に見出しを重ねる
   ============================================================ */
.l-stage { padding: 26px 0 0; }
.l-lead { position: relative; }
.l-lead-media { display: block; aspect-ratio: 21 / 9; overflow: hidden; background: var(--panel); }
/* プレスリリースの写真は縦長も混ざる。中央で切ると人物の顔や作品が外れるので、
   少し上寄りで切り抜く。 */
.l-lead-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.l-lead-body {
	position: absolute; left: 0; right: 0; bottom: 0; color: #fff;
	padding: 60px 34px 26px;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 100%);
}
.l-lead-top { margin-bottom: 8px; }
.l-lead-top .c-label, .l-lead-top .c-label-sub, .l-lead-top .c-new { color: #fff; }
.l-lead-title { font-size: 21px; font-weight: 700; line-height: 1.7; letter-spacing: .04em; margin: 0; max-width: 34em; overflow-wrap: anywhere; }
.l-lead-title a::after { content: ""; position: absolute; inset: 0; }
.l-lead:hover .l-lead-media img { transform: scale(1.02); }
.l-stage-line { max-width: var(--wrap); margin: 30px auto 0; padding: 0 var(--gut); }
.l-stage-line::after { content: ""; display: block; height: 1px; background: var(--hair); }

/* ============================================================
   本文と横の欄の2段組
   ============================================================ */
.l-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 40px; align-items: start; }
.l-main { min-width: 0; }
.l-latest { padding: 46px 0 60px; }
.l-archive { padding: 30px 0 60px; }

/* ---------- 記事の並び（3列） ---------- */
.l-plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 16px; }
.l-plate { position: relative; min-width: 0; }
.l-plate-label { margin: 0 0 18px; }
.l-plate-media { display: block; overflow: hidden; background: var(--panel); aspect-ratio: 16 / 9; }
.l-plate-media img { width: 100%; height: 100%; object-fit: cover; }
.l-plate-date { margin-top: 12px; }
.l-plate-title { font-size: 17px; font-weight: 400; line-height: 1.8; letter-spacing: .04em; margin: 10px 0 0; overflow-wrap: anywhere; }
.l-plate-title a::after { content: ""; position: absolute; inset: 0; }
.l-plate:hover .l-plate-title { color: var(--sub); }
.l-plate:hover .l-plate-media img { transform: scale(1.03); }

/* ---------- 一覧の見出し ---------- */
.l-arc-head { margin-bottom: 44px; text-align: center; }
.l-arc-head h1 { font-size: 45px; font-weight: 700; letter-spacing: .024em; line-height: 1.1; margin: 0 0 14px; }
.l-arc-head p { color: var(--sub); font-size: 13px; margin: 0 auto; max-width: 46em; }
.l-arc-head .c-count { display: block; margin-top: 12px; }
.l-empty { border: 1px solid var(--line); padding: 44px 24px; text-align: center; color: var(--sub); }

/* ---------- ページ送り ---------- */
.l-pager { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 50px; text-align: center; }
.l-pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; min-height: 40px; padding: 0 12px; margin: 0 4px 6px;
	border: 1px solid #999; font-size: 14px; letter-spacing: .08em; color: #525252;
}
.l-pager .page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============================================================
   横の欄 ─ 灰色のパネルを縦に積む
   ============================================================ */
.l-side { display: flex; flex-direction: column; gap: 10px; }
.c-widget { background: var(--panel); padding: 24px 20px 28px; }
.c-widget-title { font-size: 16px; font-weight: 700; letter-spacing: .1em; text-align: center; margin: 0 0 20px; }
.c-rank li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e3e3e3; }
.c-rank li:last-child { border-bottom: none; padding-bottom: 0; }
.c-rank-num { flex: none; font-size: 12px; letter-spacing: .06em; color: var(--sub); padding-top: 2px; }
.c-rank-link { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: start; }
.c-rank-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e6e6e6; }
.c-rank-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-rank-noimg { display: block; width: 100%; height: 100%; background: #e6e6e6; }
.c-rank-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.6; letter-spacing: .02em; }
.c-rank a:hover .c-rank-title { color: var(--sub); }

/* ============================================================
   記事ページ ─ 中央そろえの題字と、黒帯の共有欄
   ============================================================ */
.l-single-wrap { padding: 20px 0 70px; }
.l-single { min-width: 0; max-width: 700px; margin: 0 auto; }
.l-single-head { text-align: center; padding-top: 26px; }
.l-badges { margin-bottom: 14px; }
.l-single-head h1 { font-size: 27px; font-weight: 700; letter-spacing: .017em; line-height: 1.7; margin: 0 0 16px; }
.l-single-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.l-single-meta span { font-weight: 400; color: var(--sub); }
.c-post-tags { margin-top: 30px; }

/* 共有欄。画面の端まで届く黒帯にする（中央の段から左右へ伸ばしている） */
.c-share {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 22px;
	margin: 34px calc(50% - 50vw) 40px; width: 100vw; padding: 16px 20px;
	background: var(--ink); color: #fff;
}
.c-share-label { font-size: 15px; font-weight: 700; letter-spacing: .16em; margin: 0; }
.c-share-btn { font-size: 12px; letter-spacing: .08em; padding: 6px 18px; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.c-share-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* 記事の先頭に置く写真。小さい画像は引き伸ばさず、下地の上で中央に置く */
.l-single-thumb { margin: 0 0 34px; text-align: center; }
.l-single-thumb img { margin: 0 auto; }

.l-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 13px; }
.l-postnav a { display: block; line-height: 1.7; letter-spacing: .02em; }
.l-postnav a:hover { color: var(--sub); }

/* ---------- 本文 ---------- */
.l-content { overflow-wrap: anywhere; font-size: 15px; line-height: 1.95; letter-spacing: .04em; }
.l-content > * + * { margin-top: 1.2em; }
.l-content h2 { font-size: 20px; font-weight: 700; letter-spacing: .04em; margin: 2.4em 0 .9em; padding-bottom: .5em; border-bottom: 1px solid var(--ink); }
.l-content h3 { font-size: 17px; font-weight: 700; letter-spacing: .04em; margin: 2em 0 .7em; }
.l-content ul li { list-style: disc; margin-left: 1.4em; margin-bottom: .4em; }
.l-content ol li { list-style: decimal; margin-left: 1.5em; margin-bottom: .4em; }
.l-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.l-content a:hover { text-decoration-color: var(--ink); }
/* 本文の写真は元の大きさを超えて引き伸ばさない。
   プレスリリースには小さな画像も混ざるため、拡大するとぼやけるため。 */
.l-content img { margin: 2em auto; max-width: 100%; height: auto; }
.l-content figure { margin: 2em 0; text-align: center; }
.l-content figure img { margin: 0 auto; }
.l-content figcaption, .l-content .wp-caption-text, .l-content .wp-block-image figcaption {
	font-size: 11px; color: var(--sub); margin-top: 10px; letter-spacing: .04em; text-align: right;
}
.l-content table { width: 100%; border-collapse: collapse; font-size: 13px; }
.l-content th, .l-content td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.l-content th { background: var(--panel); width: 30%; font-weight: 700; }
.l-content blockquote { margin: 2em 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--line); color: var(--sub); }
.l-content code { background: var(--panel); padding: 2px 6px; font-size: .92em; }
/* WordPress が本文に付ける配置のクラス */
.l-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.l-content .alignleft { float: left; margin: .4em 1.6em 1.2em 0; }
.l-content .alignright { float: right; margin: .4em 0 1.2em 1.6em; }
.l-content .wp-block-embed { margin: 2em 0; }
.l-content::after { content: ""; display: block; clear: both; }

/* ---------- 目次 ----------
   本文の中に入るので、.l-content ol の連番指定を打ち消してから番号を振り直す。 */
.c-toc { margin: 0 0 2.4em; padding: 22px 24px; background: var(--panel); }
.l-content .c-toc li { list-style: none; margin-left: 0; margin-bottom: 0; }
.c-toc-title { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-align: center; margin: 0 0 14px; }
.c-toc ol { counter-reset: toc; }
.c-toc li { counter-increment: toc; font-size: 13px; line-height: 1.7; padding: 6px 0; }
.c-toc li + li { border-top: 1px solid #e3e3e3; }
.c-toc a { display: flex; gap: 12px; text-decoration: none; }
.c-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--sub); font-size: 12px; flex: none; padding-top: .2em; letter-spacing: .06em; }
.c-toc a:hover { color: var(--sub); }

/* ---------- 出典・注意書き・関連 ---------- */
.c-source { margin-top: 36px; padding: 20px 22px; border: 1px solid var(--line); font-size: 12.5px; }
.c-source-title, .c-disclaimer-title { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--ink); margin: 0 0 10px; }
.c-source-note { color: var(--sub); }
.c-source p:last-child, .c-disclaimer p:last-child { margin-bottom: 0; }
.c-disclaimer { margin-top: 24px; padding: 20px 22px; background: var(--panel); font-size: 12px; color: var(--sub); }

.c-related { margin-top: 60px; }
.c-block-title { font-size: 27px; font-weight: 700; letter-spacing: .017em; text-align: center; margin: 0 0 30px; }
.c-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.c-related-item { display: block; }
.c-related-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); margin-bottom: 12px; }
.c-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-related-body { display: block; }
.c-related-cat { display: block; font-size: 12px; color: var(--sub); letter-spacing: .06em; margin-bottom: 6px; }
.c-related-title { display: block; font-size: 14px; line-height: 1.8; letter-spacing: .04em; overflow-wrap: anywhere; }
.c-related-item:hover .c-related-title { color: var(--sub); }
.c-related-item:hover .c-related-thumb img { transform: scale(1.03); }
.c-comments { margin-top: 60px; }

/* ============================================================
   固定ページ・404
   ============================================================ */
.c-page { padding: 40px 0 70px; }
.c-page-inner { max-width: 700px; margin: 0 auto; padding: 0 var(--gut); }
.c-page-title { font-size: 27px; font-weight: 700; letter-spacing: .017em; line-height: 1.7; text-align: center; margin: 0 0 34px; }
.c-page-body { overflow-wrap: anywhere; font-size: 15px; line-height: 1.95; letter-spacing: .04em; }
.c-page-body h2 { font-size: 20px; margin: 2.2em 0 .8em; padding-bottom: .5em; border-bottom: 1px solid var(--ink); }
.c-page-body ul li { list-style: disc; margin-left: 1.4em; margin-bottom: .3em; }
.c-page-body a { text-decoration: underline; text-underline-offset: 4px; }
.c-404 { text-align: center; }
.c-404-code { font-size: 72px; font-weight: 700; letter-spacing: .04em; margin: 0 0 10px; line-height: 1; }
.c-404 .c-search { justify-content: center; max-width: 300px; margin: 26px auto; }
.c-404-home { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   フッター ─ 暗いサイトマップ型（IMA ONLINE の足まわりに合わせる）
   ============================================================ */
.l-footer {
	margin-top: 0;
	color: #c4c4c4;
	background: #1c1c1c;
}

/* 題字の段。#303030 で少しだけ明るい帯にする */
.l-footer-brand {
	background: #303030;
	text-align: center;
	padding: 56px 0 48px;
	border-bottom: 1px solid #3c3c3c;
}
.l-footer-logo-link { display: inline-block; }
.l-footer-logo {
	display: block; width: min(220px, 70vw); height: auto; margin: 0 auto 14px;
}
.l-footer-name {
	margin: 0 0 10px;
	font-size: 28px; font-weight: 700; letter-spacing: .18em;
	color: #fff; line-height: 1.2;
}
.l-footer-en {
	margin: 0 0 18px;
	font-size: 10px; letter-spacing: .32em; color: #9a9a9a;
}
.l-footer-tagline {
	margin: 0 0 14px;
	font-size: 15px; font-weight: 700; letter-spacing: .08em;
	color: #fff;
}
.l-footer-summary {
	margin: 0 auto;
	font-size: 12.5px; line-height: 1.9; color: #9a9a9a;
	max-width: 42em;
}

/* 3列のサイトマップ */
.l-footer-map { padding: 48px 0 40px; background: #1c1c1c; }
.l-footer-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 48px;
}
.l-footer-h {
	margin: 0 0 22px;
	font-size: 16px; font-weight: 700; letter-spacing: .06em;
	color: #fff; line-height: 1.3;
}
.l-footer-h span {
	display: inline-block; margin-left: 10px;
	font-size: 11px; font-weight: 400; letter-spacing: .08em;
	color: #8a8a8a; vertical-align: middle;
}
.l-footer-list { margin: 0; padding: 0; list-style: none; }
.l-footer-list li + li { margin-top: 14px; }
.l-footer-list a {
	display: block;
	color: #c4c4c4;
}
.l-footer-list a:hover { color: #fff; }
.l-footer-link-name {
	display: block;
	font-size: 13.5px; letter-spacing: .04em; line-height: 1.5;
}
.l-footer-link-desc {
	display: block; margin-top: 3px;
	font-size: 11px; letter-spacing: .04em; color: #8a8a8a; line-height: 1.5;
}
.l-footer-list a:hover .l-footer-link-desc { color: #b0b0b0; }
.l-footer-note .l-footer-link-name { color: #fff; font-size: 13px; }
.l-footer-note .l-footer-link-desc { color: #8a8a8a; }

/* フッター内の検索。暗い地に合わせる */
.l-footer-search { margin: 0 0 22px; max-width: 260px; }
.l-footer-search .c-search { border-bottom-color: #595959; }
.l-footer-search .c-search:focus-within { border-bottom-color: #fff; }
.l-footer-search .c-search-input { color: #fff; width: 100%; }
.l-footer-search .c-search-input::placeholder { color: #8a8a8a; }
.l-footer-search .c-search-btn { color: #c4c4c4; }
.l-footer-search .c-search-btn:hover { color: #fff; }

/* 著作権の段。ページトップは IMA と同じく右下の四角ボタン */
.l-footer-bar {
	border-top: 1px solid #2e2e2e;
	padding: 22px 0;
	background: #161616;
}
.l-footer-bar-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.l-footer-copy {
	margin: 0;
	font-size: 11.5px; letter-spacing: .08em; color: #8a8a8a;
}
.l-totop {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; flex: none;
	background: #2a2a2a; color: #c4c4c4;
	font-size: 14px; line-height: 1;
	border: 1px solid #3c3c3c;
}
.l-totop:hover { background: #fff; color: #1c1c1c; border-color: #fff; }

/* ============================================================
   動き ─ 写真がわずかに寄るだけ
   ============================================================ */
a, button, input { transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.l-plate-media img, .l-lead-media img, .c-related-thumb img, .c-flow-thumb img { transition: transform .7s var(--ease); }
.l-totop { transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }

/* ============================================================
   画面幅ごとの調整
   ============================================================ */
@media (max-width: 1100px) {
	.l-cols { grid-template-columns: minmax(0, 1fr) 260px; gap: 0 30px; }
	.l-side { gap: 8px; }
	.c-widget { padding: 20px 16px 24px; }
	.c-rank-link { grid-template-columns: 72px minmax(0, 1fr); }
}
@media (max-width: 900px) {
	/* 横の欄は本文の下に回す */
	.l-cols { grid-template-columns: 1fr; }
	.l-side { margin-top: 50px; }
	.l-sec, .l-sec2 { font-size: 30px; letter-spacing: normal; margin-bottom: 30px; }
	.l-sec-en { display: none; }
	.l-sec-ja { display: inline; }
	.l-arc-head h1 { font-size: 30px; letter-spacing: normal; }
	.l-brand-logo { width: min(220px, 58vw); }
	.l-brand-name { font-size: 26px; }
	.l-nav a { font-size: 13.5px; padding: 6px 14px 12px; }
	.l-nav ul { justify-content: flex-start; }
	.l-lead-title { font-size: 17px; }
	.l-lead-body { padding: 44px 20px 18px; }
	.l-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}
@media (max-width: 720px) {
	.l-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
	.l-plate-label { margin-bottom: 10px; }
	.c-label { font-size: 13px; }
	.l-plate-title { font-size: 14px; line-height: 1.7; }
	.c-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.l-single-head h1 { font-size: 21px; overflow-wrap: anywhere; }
	.c-block-title, .c-page-title { font-size: 20px; }
}
@media (max-width: 560px) {
	:root { --gut: 14px; }
	.l-header-inner { padding-top: 14px; padding-bottom: 12px; }
	.l-brand-logo { width: min(200px, 72vw); }
	.l-brand-name { font-size: 22px; letter-spacing: .12em; }
	.l-brand-sub { font-size: 7.5px; letter-spacing: .24em; }
	.l-header-search { position: static; transform: none; margin: 12px auto 0; max-width: 260px; }
	/* 2列だと見出しが細く潰れる。件数を増やしても1列で読めるようにする */
	.l-plates, .c-related-grid { grid-template-columns: 1fr; gap: 28px 0; }
	.l-plate-title { font-size: 16px; }
	/* 大きい写真の上に長い見出しを載せると、写真からはみ出す。下に置く */
	.l-lead-body {
		position: static; color: var(--ink); background: none;
		padding: 14px 0 0;
	}
	.l-lead-top .c-label, .l-lead-top .c-label-sub, .l-lead-top .c-new { color: inherit; }
	.l-lead-title { font-size: 18px; max-width: none; }
	.l-lead-media { aspect-ratio: 16 / 9; }
	.l-latest { padding: 34px 0 46px; }
	/* 100vw の黒帯はスマホで横にはみ出す。余白のぶんだけ広げる */
	.c-share {
		width: auto;
		margin-left: calc(var(--gut) * -1);
		margin-right: calc(var(--gut) * -1);
	}
	.l-content { font-size: 14.5px; }
	.l-content h2 { font-size: 18px; }
	/* 本文の表は横スクロール（列を潰すと項目と値の対応が読めなくなるため） */
	.l-content table { display: block; overflow-x: auto; white-space: nowrap; }
	/* 幅が足りないので回り込みは解除する */
	.l-content .alignleft, .l-content .alignright { float: none; margin: 2em auto; }
	.l-pager .page-numbers { font-size: 15px; }
	.l-intro-title { font-size: 20px; }
	.l-postnav { grid-template-columns: 1fr; gap: 14px; }
	.l-footer-brand { padding: 40px 0 34px; }
	.l-footer-name { font-size: 22px; letter-spacing: .14em; }
	.l-footer-cols { grid-template-columns: 1fr; gap: 34px; }
	.l-footer-map { padding: 36px 0 28px; }
	.l-footer-bar-inner { gap: 12px; }
	.c-flow { padding: 36px 0 28px; }
	.c-flow-card { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	a, button, input, img { transition: none; }
	.l-plate:hover .l-plate-media img, .l-lead:hover .l-lead-media img { transform: none; }
}
