/* ==========================================================================
   Kifu Media — 黒に近い濃紺 × 白、差し色にゴールド/オレンジ
   1本の枠（frame）の中に、細い罫線でマス目を切るニュースメディアのレイアウト。
   ========================================================================== */

:root {
	--navy-950: #050b18;
	--navy-900: #0b1630;
	--navy-800: #13213f;
	--navy-700: #1f3a6b;
	--accent: #ffb81c;
	--accent-hover: #ffc94d;
	--orange: #d9480f;
	--ink: #0d0d0d;
	--ink-2: #3d3d3d;
	--muted: #707070;
	--line: #e3e3e3;
	--line-strong: #0d0d0d;
	--paper: #ffffff;
	--paper-2: #f6f6f4;

	--font-sans: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-latin: "Inter", "Helvetica Neue", Arial, sans-serif;

	--frame: 1280px;
	--pad: 16px;
}

@media (min-width: 768px) { :root { --pad: 24px; } }
@media (min-width: 1024px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	font-feature-settings: "palt" 1;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--accent); color: var(--ink); padding: 8px 16px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* 枠: ヘッダー・本文・フッターすべてこの幅に揃える */
.container {
	width: 100%;
	max-width: var(--frame);
	margin-inline: auto;
	padding-inline: var(--pad);
}
.container--narrow { max-width: calc(760px + var(--pad) * 2); }

.site-main { max-width: var(--frame); margin-inline: auto; }
.site-main .container { max-width: none; }
.site-main .container--narrow { max-width: calc(760px + var(--pad) * 2); }
@media (min-width: 1344px) {
	.site-main { border-inline: 1px solid var(--line); }
}

/* --- Buttons ----------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 10px 20px;
	border: 1px solid transparent; border-radius: 0;
	font-weight: 700; font-size: 14px; line-height: 1.4; text-align: center; letter-spacing: .02em;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 15px; }

/* --- Header ------------------------------------------------------------ */
.site-header { position: relative; z-index: 20; }

.masthead { background: var(--navy-950); color: #fff; }
.masthead__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
@media (min-width: 1024px) { .masthead__inner { min-height: 88px; } }

.logo { margin: 0; min-width: 0; line-height: 1; }
.logo a { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; color: #fff; }
.logo__img { display: block; height: 32px; width: auto; }
@media (max-width: 374.98px) { .logo__img { height: 28px; } }
.logo__desc { display: none; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
@media (min-width: 768px) {
	.logo__img { height: 48px; }
	.logo__desc { display: block; }
}

.masthead__actions { margin-left: auto; display: none; }
@media (min-width: 1024px) { .masthead__actions { display: block; } }

.nav-toggle {
	flex: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; color: #fff; cursor: pointer; position: relative;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
	position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform .2s, top .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

.navbar { background: var(--navy-900); color: #fff; }
.navbar__inner { display: flex; align-items: center; }
.navbar__date { display: none; margin-left: auto; font-family: var(--font-latin); font-size: 13px; color: rgba(255, 255, 255, .6); white-space: nowrap; }

.global-nav {
	display: none;
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--navy-900);
	padding: 8px var(--pad) 24px;
	max-height: calc(100vh - 64px); overflow-y: auto;
}
.global-nav.is-open { display: block; }
.global-nav__list { list-style: none; }
.global-nav__item > a {
	display: block; padding: 12px 0; font-weight: 700; font-size: 15px; color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.global-nav__item > a[aria-current="page"] { color: var(--accent); }
.global-nav__item--feature > a { color: rgba(255, 255, 255, .7); font-weight: 500; }
.global-nav__sub { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 12px; }
.global-nav__sub a { display: inline-block; padding: 6px 12px; font-size: 13px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.global-nav__cta { margin-top: 16px; }

/* スマホ: ナビは masthead の直下に開く */
@media (max-width: 1023.98px) {
	.navbar { position: absolute; left: 0; right: 0; top: 64px; z-index: 30; background: none; }
	.navbar__inner { padding: 0; }
	.global-nav { top: 0; }
}

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.navbar__date { display: block; }
	.global-nav { display: block; position: static; padding: 0; background: none; max-height: none; overflow: visible; flex: 1; }
	.global-nav__list { display: flex; align-items: stretch; gap: 2px; }
	.global-nav__item { position: relative; }
	.global-nav__item > a {
		padding: 0 14px; line-height: 44px; border: 0; font-size: 14px; font-weight: 500;
		box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .15s, color .15s;
	}
	.global-nav__item:first-child > a { padding-left: 0; }
	.global-nav__item > a:hover, .global-nav__item > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
	.global-nav__item--feature:first-of-type { margin-left: 16px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .2); }
	.global-nav__item--feature > a { color: rgba(255, 255, 255, .7); }
	.global-nav__sub {
		position: absolute; top: 100%; left: 0; z-index: 40; min-width: 180px; /* 下の ticker（mask で重なり順の層を作る）より前に */
		display: none; flex-direction: column; gap: 0; padding: 6px 0;
		background: var(--navy-950); box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
	}
	.global-nav__sub a { display: block; border: 0; padding: 10px 16px; font-size: 14px; }
	.global-nav__sub a:hover { color: var(--accent); }
	.global-nav__item:hover .global-nav__sub,
	.global-nav__item:focus-within .global-nav__sub { display: flex; }
	.global-nav__cta { display: none; }
}

/* ticker（白地の帯。枠の中に入る） */
.site-header > .container { max-width: var(--frame); }
@media (min-width: 1344px) { .site-header > .container { border-inline: 1px solid var(--line); } }
.ticker {
	display: flex; align-items: center; gap: 16px;
	border-bottom: 1px solid var(--line);
	font-size: 13px; overflow: hidden; min-height: 44px;
}
.ticker__label { flex: none; font-weight: 700; font-size: 13px; color: var(--orange); }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; list-style: none; animation: kifu-ticker 60s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 8px; padding-right: 32px; white-space: nowrap; }
.ticker__cat { color: var(--muted); font-size: 12px; }
.ticker__item a { font-weight: 700; }
.ticker__item a:hover { text-decoration: underline; }
@keyframes kifu-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ticker__track { animation: none; }
	.ticker__viewport { overflow-x: auto; }
}

/* --- Story cards ------------------------------------------------------- */
.kicker { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; font-size: 12px; line-height: 1.4; margin-bottom: 6px; }
.kicker__type { font-weight: 700; color: var(--orange); }
.kicker__cat { color: var(--muted); }

.thumb { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #ecebe7; }
.thumb__img { width: 100%; height: 100%; object-fit: cover; }
/* 写真が無いときの仮表示 */
.thumb__ph {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px 14px;
	background:
		linear-gradient(90deg, var(--accent) 0 32px, transparent 32px) left 14px top 14px / 100% 3px no-repeat,
		radial-gradient(120% 90% at 100% 0%, var(--navy-700) 0%, transparent 60%),
		var(--navy-900);
	color: rgba(255, 255, 255, .88); font-weight: 700; font-size: 13px; letter-spacing: .04em;
}

.story__link { display: block; color: inherit; }
.story__link:hover .story__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story__title { font-weight: 700; font-size: 17px; line-height: 1.45; }
.story__dek { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.story__meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--muted); }
.story__org { color: var(--ink-2); }
.meta-date { font-family: var(--font-latin); }

.story--card .thumb { margin-bottom: 12px; }

.story--lead .thumb { margin-bottom: 16px; }
.story--lead .story__title { font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: -.005em; }

.story--row .story__link { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.story--row .thumb { aspect-ratio: 3 / 2; }
@media (min-width: 768px) {
	.story--row .story__link { grid-template-columns: 240px 1fr; gap: 24px; }
	.story--row .story__title { font-size: 20px; }
}

.story--list + .story--list { border-top: 1px solid var(--line); }
.story--list .story__link { display: flex; gap: 14px; padding: 14px 0; }
.story--list .story__title { font-size: 15px; }
.story__rank { flex: none; font-family: var(--font-latin); font-weight: 800; font-size: 20px; line-height: 1.2; color: var(--orange); min-width: 28px; }

/* --- Sections: 枠の中を罫線で区切る ------------------------------------- */
.section { padding-block: 32px 40px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .section { padding-block: 36px 48px; } }

.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head__en { display: none; }
.section-head__title { font-weight: 800; font-size: 22px; line-height: 1.3; }
.section-head__more { margin-left: auto; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.section-head__more:hover { text-decoration: underline; }

/* 4列のマス目。列の間に縦罫（列幅をそろえるため gap の中央に線を引く） */
.grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--4 > *, .front-top__sub > * { position: relative; }
@media (min-width: 640px) {
	.grid--4 > :not(:first-child)::before, .front-top__sub > :not(:first-child)::before {
		content: ""; position: absolute; top: 0; bottom: 0; left: -16px; border-left: 1px solid var(--line);
	}
}
@media (min-width: 640px) and (max-width: 1023.98px) { .grid--4 > :nth-child(odd)::before { display: none; } }

/* --- Front: トップニュース --------------------------------------------- */
.front-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 24px 40px; }
.front-top__sub { display: grid; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.rail-title { font-weight: 800; font-size: 18px; color: var(--orange); margin-bottom: 4px; }
@media (min-width: 640px) { .front-top__sub { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
@media (min-width: 1024px) {
	.front-top { grid-template-columns: minmax(0, 1fr) 340px; gap: 0; padding-top: 32px; }
	.front-top__lead { padding-right: 32px; }
	.front-top__latest { border-left: 1px solid var(--line); padding-left: 32px; }
}

/* 濃紺の帯（インタビュー） */
.band { padding-block: 36px 48px; }
.band--navy { background: var(--navy-900); color: #fff; border-top: 0; }
.band--navy .section-head__more { color: rgba(255, 255, 255, .75); }
.band--navy .kicker__type { color: var(--accent); }
.band--navy .kicker__cat, .band--navy .story__meta, .band--navy .story__org { color: rgba(255, 255, 255, .6); }
.band--navy .grid--4 > ::before { border-color: rgba(255, 255, 255, .15); }
.band--navy .thumb { background: var(--navy-800); }
.band--navy .thumb__ph { color: rgba(255, 255, 255, .85); background: linear-gradient(90deg, var(--accent) 0 32px, transparent 32px) left 14px top 14px / 100% 3px no-repeat, var(--navy-800); }

/* tabs */
.tabs__list { display: flex; gap: 24px; overflow-x: auto; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tabs__tab {
	flex: none; padding: 10px 0; background: none; border: 0; cursor: pointer;
	font: inherit; font-weight: 700; font-size: 14px; color: var(--muted);
	box-shadow: inset 0 -2px 0 transparent;
}
.tabs__tab[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.tabs__tab:hover { color: var(--ink); }
.tabs__more { margin-top: 24px; text-align: right; font-size: 13px; }
.tabs__more a:hover { text-decoration: underline; }
.tabs__empty { color: var(--muted); padding: 24px 0; }

/* 団体の種類（4列） */
.columns { display: grid; gap: 32px; }
.columns__title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.columns__title a:hover { text-decoration: underline; }
.columns__col .story--card { margin-bottom: 4px; }
.columns__col .story--card + .story--list { border-top: 1px solid var(--line); margin-top: 14px; }
@media (min-width: 640px) { .columns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
	.columns { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; }
	.columns__col { padding-inline: 16px; }
	.columns__col:first-child { padding-left: 0; }
	.columns__col:last-child { padding-right: 0; }
	.columns__col + .columns__col { border-left: 1px solid var(--line); }
}

/* 列が1つだけのとき（記事・団体が少ない間）は、中身を横に並べて幅を埋める */
@media (min-width: 640px) {
	.columns--single { grid-template-columns: minmax(0, 1fr); }
	.columns--single .org-list, .trio--single .trio__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.trio--single .trio__list .story--list + .story--list { border-top: 0; }
	.trio--single .trio__list .story--list { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1024px) {
	.columns--single .org-list, .trio--single .trio__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 団体の種類から探す: 行形式（org-row）のときは旗を省く. タイル（org-tile）の「寄付受付中」は出す */
.columns .org-row__flags { display: none; }
/* 列が複数あるときは、列の幅が狭いのでタイルを縦に1つずつ並べる */
@media (min-width: 768px) { .columns:not(.columns--single) .org-grid { grid-template-columns: minmax(0, 1fr); } }

/* 注目・ランキング・税制（3列） */
.trio { display: grid; gap: 40px; }
.trio .section-head { margin-bottom: 0; padding-bottom: 10px; border-bottom: 2px solid var(--line-strong); }
@media (min-width: 1024px) {
	.trio { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; }
	.trio__col { padding-inline: 24px; }
	.trio__col:first-child { padding-left: 0; }
	.trio__col:last-child { padding-right: 0; }
	.trio__col + .trio__col { border-left: 1px solid var(--line); }
}

/* 地域 */
.region-map { display: grid; border-top: 1px solid var(--line); }
.region-map__area { padding: 18px 0; border-bottom: 1px solid var(--line); }
.region-map__name { font-size: 15px; font-weight: 800; margin-bottom: 10px; }
.region-map__name a:hover { text-decoration: underline; }
.region-map__prefs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.region-map__prefs a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.region-map__prefs a:hover { color: var(--navy-700); }
.region-map__prefs span { color: #a3a3a3; }
@media (min-width: 640px) {
	.region-map { grid-template-columns: repeat(2, 1fr); }
	.region-map__area:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
	.region-map__area:nth-child(odd) { padding-right: 24px; }
}
@media (min-width: 1024px) {
	.region-map { grid-template-columns: repeat(3, 1fr); }
	.region-map__area { padding: 20px 24px !important; border-left: 1px solid var(--line); }
	.region-map__area:nth-child(3n+1) { padding-left: 0 !important; border-left: 0; }
	.region-map__area:nth-child(3n) { padding-right: 0 !important; }
}

/* 団体向けの帯 */
.cta-band { background: var(--navy-950); color: #fff; padding-block: 40px; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
.cta-band__en { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; letter-spacing: .04em; }
.cta-band__title { font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); }
.cta-band__text { margin-top: 10px; color: rgba(255, 255, 255, .75); max-width: 640px; font-size: 15px; }
.cta-band__action { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1fr 320px; gap: 48px; } }

/* --- Archive ----------------------------------------------------------- */
.archive-head { padding-block: 20px 28px; }
.archive-head__en { display: none; }
.archive-head__title { margin-top: 16px; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; }
.archive-head__desc { margin-top: 8px; color: var(--ink-2); max-width: 720px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips a { display: inline-block; padding: 5px 14px; font-size: 13px; font-weight: 700; border: 1px solid var(--line); }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.archive-list { display: grid; gap: 24px; }
.archive-list .story--lead { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.archive-list .story--row + .story--row { padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
	.archive-list .story--lead .story__link { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
	.archive-list .story--lead .thumb { margin: 0; }
}

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); font-family: var(--font-latin); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--ink); }

.breadcrumb { padding-top: 16px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: #c4c4c4; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 20em; }

.empty-state { padding-block: 64px; text-align: center; color: var(--ink-2); }
.empty-state h2, .empty-state h1 { font-weight: 800; margin-bottom: 8px; }
.empty-state .btn { margin-top: 24px; }

/* --- Article ----------------------------------------------------------- */
/* 左カラム（見出し・本文）＋右カラム 300px。左端はパンくず・ロゴと同じ線、右端は枠の内側に揃える */
.article__layout {
	display: grid; grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "aside" "main";
	gap: 24px; padding-block: 24px 48px;
}
.article__head { grid-area: head; }
.article__aside { grid-area: aside; }
.article__main { grid-area: main; min-width: 0; }
@media (min-width: 1024px) {
	.article__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		grid-template-areas: "head aside" "main aside";
		grid-template-rows: auto 1fr;
		column-gap: 72px; row-gap: 32px;
		padding-top: 32px;
	}
	.org-card { position: sticky; top: 24px; }
}

.article__head .kicker { font-size: 13px; margin-bottom: 12px; }
.article__title { font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; letter-spacing: -.005em; }
.article__dek { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.article__meta { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13px; color: var(--muted); }

.article__hero { margin: 0 0 32px; }
.article__hero img { width: 100%; max-height: 520px; object-fit: cover; }
.article__hero figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: right; }

.org-card { border: 1px solid var(--line); border-top: 3px solid var(--navy-900); padding: 20px; }
.org-card__en { font-size: 12px; font-weight: 700; color: var(--orange); }
.org-card__name { font-weight: 800; font-size: 19px; line-height: 1.4; margin-top: 4px; }
.org-card__facts { margin: 14px 0 18px; font-size: 14px; }
.org-card__facts div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.org-card__facts dt { color: var(--muted); }
.org-card__facts dd { margin: 0; font-weight: 700; }
.org-card__facts a:hover { text-decoration: underline; }
.org-card .btn + .btn { margin-top: 8px; }
.org-card__note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.org-card__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.org-card__support { display: block; margin-top: 14px; font-size: 13px; text-align: center; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.donate-box { margin-top: 48px; padding: 28px; background: var(--navy-900); color: #fff; }
.donate-box__lead { font-weight: 800; font-size: 20px; line-height: 1.4; }
.donate-box__note { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.donate-box__actions { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.donate-box__support { font-size: 14px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.donate-box__support:hover { color: var(--accent); }

/* 埋め込みフォーム */
.article--form .article__head, .article--page .article__head { padding-block: 24px 16px; }
.form-embed iframe { display: block; width: 100%; min-height: 480px; border: 0; }
.form-embed iframe.kairos-form { height: 1800px; min-height: 0; scroll-margin-top: 16px; } /* 高さはフォーム側の form.js が送ってきた値で上書き. 届かないときも全項目が見える高さにしておく. */
.form-embed #k3form_embed { scroll-margin-top: 16px; }
.form-embed { margin-bottom: 64px; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 32px; }
.tag-list a { font-size: 13px; color: var(--ink-2); }
.tag-list a:hover { text-decoration: underline; }

/* entry content */
.entry-content { font-size: 17px; line-height: 1.95; }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { margin-top: 2.4em; font-weight: 800; font-size: 23px; line-height: 1.45; }
.entry-content h3 { margin-top: 2em; font-size: 19px; font-weight: 800; line-height: 1.5; }
.entry-content h4 { margin-top: 1.8em; font-size: 17px; font-weight: 700; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entry-content a:hover { color: var(--navy-700); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content strong { font-weight: 700; }
.entry-content blockquote, .entry-content .wp-block-quote, .entry-content .wp-block-pullquote {
	margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
	font-size: 20px; font-weight: 700; line-height: 1.7;
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: 13px; font-weight: 400; font-style: normal; color: var(--muted); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.entry-content .article-figure { margin-block: 28px; }
.entry-content .org-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.entry-content .org-photo { margin: 0; }
.entry-content .org-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: #ecebe7; }
.entry-content .org-photos__credit { margin-top: 8px; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .entry-content .org-photos { grid-template-columns: minmax(0, 1fr); } }
.entry-content .article-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { border-bottom: 2px solid var(--ink); }
.entry-content th { font-weight: 700; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 3em; }
.entry-content .wp-block-button__link { background: var(--accent); color: var(--ink); border-radius: 0; font-weight: 700; text-decoration: none; }

/* インタビューの話者（段落に class="q" を付けると聞き手の発言になる） */
.entry-content p.q { font-weight: 700; color: var(--navy-700); }
.entry-content p.q::before { content: "―― "; }

/* --- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding-block: 48px 24px; font-size: 14px; }
.site-footer__grid { display: grid; gap: 36px; }
.logo--footer .logo__img { height: 40px; }
.site-footer__tagline { margin: 14px 0 20px; font-size: 13px; line-height: 1.8; max-width: 26em; }
.site-footer__dl { display: block; margin-top: 14px; color: #fff; }
.site-footer__dl:hover { color: var(--accent); }
.site-footer__heading { font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 12px; }
.site-footer__nav ul { list-style: none; display: grid; gap: 6px; }
.site-footer__nav .is-child { padding-left: 1em; font-size: 13px; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__menu { margin-top: 16px !important; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom {
	margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.site-footer__operator { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.site-footer__operator-label { font-size: 12px; color: rgba(255, 255, 255, .5); }
.site-footer__operator a { color: #fff; font-weight: 700; }
.site-footer__operator a::after { content: " ↗"; font-weight: 400; color: rgba(255, 255, 255, .5); }
.site-footer__operator a:hover { color: var(--accent); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.site-footer__legal a { color: rgba(255, 255, 255, .7); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__copy { font-family: var(--font-latin); font-size: 12px; color: rgba(255, 255, 255, .45); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* スマホではサブ記事を横並びの小サムネイルに */
@media (max-width: 639.98px) {
	.front-top__sub .story__link, .columns__col .story--card .story__link { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; }
	.front-top__sub .thumb, .columns__col .story--card .thumb { margin: 0; aspect-ratio: 3 / 2; }
	.front-top__sub .thumb__ph, .columns__col .story--card .thumb__ph { font-size: 11px; padding: 8px; background-size: 100% 2px; background-position: left 8px top 8px; }
	.front-top__sub .story__title, .columns__col .story--card .story__title { font-size: 15px; }
}

/* ==========================================================================
   寄付先データベース・地図・検索
   ========================================================================== */
.num { font-family: var(--font-latin); font-feature-settings: "tnum" 1; }
.section--flush { border-top: 0; padding-top: 8px; }

/* ヘッダーの検索（PC は検索窓、スマホは虫眼鏡でメニューの検索窓を開く） */
.masthead .masthead__search { display: none; }
.masthead__search-toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; }
.masthead__search-toggle:hover { color: var(--accent); }
.masthead__search-toggle + .nav-toggle { margin-left: 0; }
@media (min-width: 1024px) {
	.masthead__search-toggle { display: none; }
	.masthead .masthead__search { display: flex; position: relative; margin-left: auto; width: 340px; }
	.masthead .masthead__search input { height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-right: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; }
	.masthead .masthead__search input::placeholder { color: rgba(255, 255, 255, .55); }
	.masthead .masthead__search input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .12); }
	.masthead .masthead__search button { flex: none; display: grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; }
	.masthead .masthead__search button:hover, .masthead__search input:focus + button { color: var(--navy-950); background: var(--accent); border-color: var(--accent); }
}
/* 入力中に出る候補 */
.search-form[data-live-search] { position: relative; flex-wrap: wrap; }
.live-search {
	position: absolute; top: 100%; left: 0; right: 0; z-index: 50; margin-top: 4px; max-height: min(70vh, 560px); overflow-y: auto;
	background: #fff; color: var(--ink); box-shadow: 0 12px 32px rgba(0, 0, 0, .25); font-size: 14px;
}
.live-search[hidden] { display: none; }
.live-search__group { padding: 10px 14px 4px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.live-search ul { list-style: none; margin: 0; padding: 0; }
.live-search li a { display: block; padding: 8px 14px; color: var(--ink); }
.live-search li a:hover, .live-search li a[aria-selected="true"] { background: var(--bg-soft, #f3f4f6); }
.live-search__name { display: block; font-weight: 700; }
.live-search__meta { display: block; font-size: 12px; color: var(--muted); }
.live-search__all { display: block; padding: 10px 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy-900); }
.live-search__empty { padding: 12px 14px; color: var(--muted); }
.global-nav__search { margin: 12px 0 8px; }
@media (min-width: 1024px) { .global-nav .global-nav__search { display: none; } }
.global-nav__item--db > a { color: var(--accent) !important; font-weight: 700 !important; }

/* 検索フォーム */
.search-form { display: flex; }
.search-form input {
	flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-right: 0; border-radius: 0;
	font: inherit; font-size: 16px; background: #fff; color: var(--ink);
}
.search-form .btn { flex: none; min-height: 44px; }
.search-form--lg input { height: 56px; font-size: 18px; }
.search-form--lg .btn { min-height: 56px; padding-inline: 28px; }

/* 寄付先を探す（白地に黒の地図） */
.finder { --finder-line: #dddcd7; background: var(--paper-2); color: var(--ink); padding-block: 40px; }
.finder__inner { display: grid; gap: 32px; }
.finder__title { font-weight: 800; font-size: 26px; line-height: 1.3; }
.finder__lead { margin-top: 8px; color: var(--muted); font-size: 14px; }
.finder__search { margin-top: 20px; }
.finder__heading { margin-top: 28px; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.finder__cats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--finder-line); }
.finder__search input { border-color: #cfcec9; }
.finder__cats a {
	display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
	padding: 11px 0; border-bottom: 1px solid var(--finder-line); font-weight: 700; font-size: 15px;
}
.finder__cats li:nth-child(odd) a { margin-right: 12px; }
.finder__cats li:nth-child(even) a { margin-left: 12px; }
.finder__cats .num { font-size: 13px; font-weight: 500; color: var(--muted); }
.finder__cats a:hover { text-decoration: underline; text-underline-offset: 3px; }
.finder__all {
	display: flex; align-items: baseline; gap: 10px; margin-top: 24px; padding: 16px 20px;
	background: #2f3033; color: #fff; font-weight: 800; font-size: 16px;
}
.finder__all .num { margin-left: auto; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.finder__all:hover { background: var(--ink); }

.select { position: relative; }
.select select {
	width: 100%; height: 44px; padding: 0 40px 0 14px; border: 1px solid #cfcec9; border-radius: 0; background: #fff;
	color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.select::after {
	content: ""; position: absolute; top: 50%; right: 16px; width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.select select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (min-width: 1024px) {
	.finder { padding-block: 48px; }
	.finder__inner { grid-template-columns: 340px minmax(0, 1fr); column-gap: 72px; align-items: center; }
}

/* 日本地図: 全県を墨色で塗り、県境は薄いグレー。指した県だけゴールド */
.finder__map { width: 100%; max-width: 280px; margin-inline: auto; }
@media (min-width: 1024px) { .finder__map { max-width: none; } }
.jmap { position: relative; }
.jmap__svg { width: 100%; height: auto; display: block; overflow: visible; }
.jmap__inset { fill: none; stroke: #cfcec9; stroke-width: 1.5; stroke-dasharray: 4 4; }
.jmap__pref path { fill: #2f3033; stroke: #9a9a98; stroke-width: 1.2; stroke-linejoin: round; transition: fill .15s; }
.jmap__pref:hover path, .jmap__pref:focus path, .jmap__pref.is-current path { fill: var(--accent); }
.jmap__pref:focus { outline: none; }
.jmap__pref:focus-visible path { stroke: var(--ink); stroke-width: 3; }
/* 県名と件数は1行・高さ固定（マウスを乗せても地図が動かないように） */
.jmap__readout { display: flex; justify-content: center; align-items: baseline; gap: 8px; height: 28px; margin-top: 8px; line-height: 28px; white-space: nowrap; pointer-events: none; }
.jmap__readout-name { font-weight: 800; font-size: 17px; }
.jmap__readout-count { font-family: var(--font-latin); font-size: 13px; color: var(--muted); }

/* 団体の一覧 */
.org-filter { display: grid; gap: 12px; padding: 20px 0; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.org-filter__field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.org-filter__field input, .org-filter__field select {
	width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c8c8c8; border-radius: 0; background: #fff;
	font: inherit; font-size: 16px; color: var(--ink);
}
.org-filter__field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0d0d' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 32px; }
.org-filter__count { align-self: end; font-size: 14px; color: var(--muted); }
.org-filter__count span { font-family: var(--font-latin); font-weight: 800; font-size: 24px; color: var(--ink); }
@media (min-width: 768px) {
	.org-filter { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; gap: 16px; }
	.org-filter__count { padding-bottom: 6px; }
}

.org-list { list-style: none; }
.org-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.org-row[hidden] { display: none; }
.org-row__link { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px 0; }
.org-row__name { font-weight: 700; font-size: 16px; line-height: 1.45; }
.org-row__link:hover .org-row__name { text-decoration: underline; text-underline-offset: 3px; }
.org-row__meta { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 12px; color: var(--muted); }
.org-row__flags { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.flag { display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 700; border: 1px solid var(--ink); white-space: nowrap; }
.flag--story { background: var(--ink); color: #fff; }
@media (min-width: 768px) {
	.org-row__link { flex-direction: row; align-items: baseline; gap: 20px; }
	.org-row__name { flex: 0 0 340px; }
}
.org-list--compact .org-row__link { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 0; }
.org-list--compact .org-row__name { flex: none; font-size: 15px; }
.org-list--cols { border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
	.org-list--cols { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
	.org-list--cols .org-row__link { flex-direction: column; align-items: flex-start; gap: 2px; }
	.org-list--cols .org-row__name { flex: none; }
}
.org-list__empty { padding: 32px 0; color: var(--muted); }

/* 団体ページ */
.org-card__fund { margin-top: 2px; font-size: 13px; color: var(--muted); }
.org-card__actions { margin-top: 16px; }
.org-card__more { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; }
.org-card__more:hover { text-decoration: underline; }
.org-section + .org-section { margin-top: 40px; }
.org-section__title { font-weight: 800; font-size: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.org-section__label { margin-top: 18px; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.org-section .entry-content { margin-top: 16px; }
.facts div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.facts a, .facts__link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 479.98px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.pills--plain li { background: none; color: var(--ink); border: 1px solid var(--ink); font-weight: 500; }
.org-source { margin-top: 32px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.org-source__link { margin-left: .5em; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.org-source a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.org-source__fix { margin-left: .75em; }

.near { display: grid; gap: 32px; }
@media (min-width: 1024px) {
	.near { grid-template-columns: repeat(2, 1fr); gap: 0; }
	.near__col { padding-inline: 32px; }
	.near__col:first-child { padding-left: 0; }
	.near__col:last-child { padding-right: 0; }
	.near__col + .near__col { border-left: 1px solid var(--line); }
}
.near .org-list { border-top: 1px solid var(--line); }

/* 掲載バッジ */
.badge-box { display: grid; gap: 24px; padding: 28px; background: var(--paper-2); }
.badge-box__title { font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.badge-box__text p { font-size: 14px; color: var(--ink-2); }
.badge-box__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge-box__label { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.badge-box__preview { margin-bottom: 16px; }
.badge-box__textarea { width: 100%; padding: 10px; border: 1px solid #c8c8c8; border-radius: 0; font: 12px/1.6 ui-monospace, Menlo, monospace; color: var(--ink-2); background: #fff; resize: vertical; margin-bottom: 8px; }
@media (min-width: 1024px) { .badge-box { grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px; } }

/* 検索ページ */
.search-page { padding-bottom: 64px; }
.search-page .search-form { margin-top: 20px; max-width: 760px; }
.search-page__status { margin-top: 16px; color: var(--muted); font-size: 14px; }
.search-results { margin-top: 24px; display: grid; gap: 40px; }
.search-results__group[hidden] { display: none; }
.search-results__title { font-weight: 800; font-size: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.search-results__title span { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.search-results__list { list-style: none; }
.search-hit a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-hit__title { display: block; font-weight: 700; font-size: 16px; }
.search-hit a:hover .search-hit__title { text-decoration: underline; }
.search-hit__meta { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.search-hit__text { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (min-width: 1024px) { .search-results { grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; } }

/* --- 団体ページ（読者向けの構成） ------------------------------------- */
.org-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.org-stats div { background: #fff; padding: 14px 16px; }
.org-stats dt { font-size: 12px; color: var(--muted); }
.org-stats dd { margin: 4px 0 0; font-weight: 800; font-size: 17px; line-height: 1.4; }
.org-section__note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.focus-list { list-style: none; counter-reset: focus; margin-top: 8px; }
.focus-list li { counter-increment: focus; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.focus-list li::before { content: counter(focus, decimal-leading-zero); grid-row: span 2; font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--accent-ink, #b07d00); }
.focus-list__title { font-weight: 800; font-size: 17px; line-height: 1.5; }
.focus-list__text { margin-top: 6px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.impact-list { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 768px) { .impact-list { grid-template-columns: 1fr 1fr; } }
.impact-list li { padding: 16px 18px; background: var(--paper-2); }
.impact-list__title { font-weight: 800; font-size: 15px; }
.impact-list__text { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.reasons { list-style: none; margin-top: 12px; }
.reasons li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.reasons li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--accent); }
.facts--tight { margin-top: 16px; }
.org-card__label { margin-top: 18px; font-size: 12px; font-weight: 700; color: var(--muted); }
.org-card__themes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.org-card__themes a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); font-size: 13px; }
.org-card__themes a:hover { border-color: var(--ink); }
.org-owner-wrap { padding-bottom: 48px; }
.org-owner { border-top: 1px solid var(--line); }
.org-owner summary { cursor: pointer; padding: 16px 0; font-size: 14px; color: var(--muted); list-style-position: inside; }
.org-owner summary:hover { color: var(--ink); }
.org-owner[open] summary { color: var(--ink); font-weight: 700; }
/* スマホでは右カラムの寄付カードを出さない（本文末の案内に一本化） */
@media (max-width: 1023.98px) { .article--org .article__aside { display: none; } }

.site-footer__org { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.site-footer__org span { width: 100%; color: rgba(255, 255, 255, .55); font-size: 12px; }
.site-footer__org .site-footer__dl { display: inline; margin-top: 0; }

/* --- 想いから探す（テーマ）・取り組みを知る ------------------------------ */
.themes { padding-block: 48px 40px; border-bottom: 1px solid var(--line); }
.themes__title { font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.35; }
.themes__lead { margin-top: 12px; max-width: 46em; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.themes__grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 600px) { .themes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .themes__grid { grid-template-columns: repeat(3, 1fr); } }
.theme-tile { display: grid; grid-template-columns: 52px 1fr auto; gap: 2px 14px; align-items: center; height: 100%; padding: 20px 22px; background: #fff; }
.theme-tile:hover { background: var(--paper-2); }
.theme-tile__icon { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: var(--accent); }
.theme-tile__icon .icon { width: 26px; height: 26px; }
.theme-tile:hover .theme-tile__icon { background: var(--navy-700); }
.theme-tile__name { grid-column: 2; font-weight: 800; font-size: 18px; }
.theme-tile__num { grid-row: 1; grid-column: 3; font-size: 12px; color: var(--muted); }
.theme-tile__line { grid-column: 2 / -1; font-size: 14px; color: var(--ink-2); }
.org-features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 768px) { .org-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .org-features { grid-template-columns: repeat(3, 1fr); } }
.org-feature { background: #fff; }
.org-feature__link { display: block; height: 100%; padding: 22px; }
.org-feature__link:hover { background: var(--paper-2); }
.org-feature__thumb { margin: -22px -22px 18px; }
.org-feature__meta { font-size: 12px; color: var(--muted); }
.org-feature__name { margin-top: 4px; font-weight: 800; font-size: 20px; line-height: 1.4; }
.org-feature__excerpt { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.org-feature__focus { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.org-feature__focus span { display: block; font-size: 11px; font-weight: 700; color: var(--muted); }
.org-section__title + .pills, .org-section__title + .entry-content, .org-section__title + dl { margin-top: 16px; }

/* カードが列数に満たないときに背景のグレーが見えないよう、罫線はカード側で引く */
.org-features { background: none; border: 0; gap: 0; }
.org-feature { border: 1px solid var(--line); margin: -1px 0 0 -1px; }

/* --- 写真の無い団体の代わりの画像（都道府県の形） -------------------------- */
.thumb__pref { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #efeee9; }
.thumb__pref img { width: auto; height: 72%; max-width: 60%; object-fit: contain; }
.thumb__pref span { position: absolute; left: 10px; bottom: 8px; font-size: 11px; font-weight: 700; color: #8a887f; }

/* --- 団体の一覧（タイル・絞り込み・五十音タブ・もっと見る） ------------------ */
.org-browser .org-filter { padding-top: 0; border-bottom: 0; margin-bottom: 0; }
@media (min-width: 768px) { .org-browser .org-filter { grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(160px, 1fr)); } }
.org-filter__check { display: flex; align-items: center; gap: 8px; height: 44px; font-size: 14px; white-space: nowrap; cursor: pointer; }
.org-filter__check input { width: 18px; height: 18px; accent-color: var(--ink); }
.kana-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kana-tabs__tab { min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; }
.kana-tabs__tab:hover:not(:disabled) { border-color: var(--ink); }
.kana-tabs__tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.kana-tabs__tab:disabled { color: #c9c8c3; cursor: default; }
.org-browser__count { margin: 16px 0 12px; font-size: 13px; color: var(--muted); }
.org-browser__note { margin: -6px 0 14px; font-size: 12px; color: var(--muted); }
.org-browser__count span[data-org-count] { font-family: var(--font-latin); font-weight: 800; font-size: 20px; color: var(--ink); }
.org-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 768px) { .org-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 1024px) { .org-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.org-tile[hidden] { display: none; }
.org-tile__link { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.org-tile__thumb { aspect-ratio: 3 / 2; margin-bottom: 6px; }
.org-tile__thumb .thumb__img { transition: transform .3s ease; }
.org-tile__link:hover .thumb__img { transform: scale(1.03); }
.org-tile__name { font-weight: 700; font-size: 15px; line-height: 1.45; }
.org-tile__link:hover .org-tile__name { text-decoration: underline; text-underline-offset: 3px; }
.org-tile__meta { font-size: 12px; color: var(--muted); }
.org-tile__nums { font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.org-tile__flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.org-browser__more { margin-top: 32px; text-align: center; }
.org-browser__more .btn { min-width: 280px; }
.org-browser__more .btn[hidden] { display: none; }
@media (max-width: 599.98px) {
	.org-tile__name { font-size: 14px; }
	.kana-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
	.kana-tabs__tab { min-width: 0; padding: 0; }
	.org-browser .org-filter { grid-template-columns: 1fr 1fr; gap: 10px; }
	.org-browser .org-filter__field--q, .org-browser .org-filter__check { grid-column: 1 / -1; }
	.org-browser .org-filter__check { height: auto; }
}
.org-hero { margin: 24px 0 0; }
.org-hero__credit { margin-top: 6px; font-size: 11px; color: var(--muted); }
.org-hero__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* スマホ: 取り組みのカードは横にスクロール（縦に長くしない） */
@media (max-width: 767.98px) {
	.org-features { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scrollbar-width: thin; }
	.org-feature { flex: 0 0 82%; margin: 0; scroll-snap-align: start; }
	.org-feature__excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
}
/* スマホ: テーマのタイルは2列（アイコンと名前だけ） */
@media (max-width: 599.98px) {
	.themes__grid { grid-template-columns: 1fr 1fr; }
	.theme-tile { grid-template-columns: 1fr; justify-items: start; gap: 8px; padding: 16px; }
	.theme-tile__icon { grid-row: auto; width: 40px; height: 40px; }
	.theme-tile__icon .icon { width: 20px; height: 20px; }
	.theme-tile__name { grid-column: 1; font-size: 15px; line-height: 1.4; }
	.theme-tile__num { grid-row: auto; grid-column: 1; }
	.theme-tile__line { display: none; }
	.themes__grid::after { content: ""; background: #fff; } /* 9件で右下が空くので白で埋める */
}

/* 公開財務データ（寄付金収入）: 団体ページの推移と、記事の一覧表 */
.fin-bars { margin: 18px 0 0; }
.fin-bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fin-bars li { display: grid; grid-template-columns: 6.5em 1fr 6.5em; align-items: center; gap: 10px; font-size: 13px; }
.fin-bars__year { color: var(--muted); }
.fin-bars__bar { height: 10px; background: #f2f2f2; }
.fin-bars__bar span { display: block; height: 100%; background: var(--navy-700); }
.fin-bars__val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.fin-table { margin: 28px 0; }
.fin-table__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 13px; }
.fin-table__sort span { color: var(--muted); }
.fin-table__sort button { padding: 6px 12px; border: 1px solid var(--line); background: #fff; font: inherit; cursor: pointer; }
.fin-table__sort button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.fin-table__scroll { overflow-x: auto; border-top: 2px solid var(--line-strong); }
.fin-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.fin-table th { padding: 10px 8px; text-align: left; font-size: 12px; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fin-table .fin-table__small { color: var(--muted); }
.fin-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin-table td.num:nth-child(3) { font-weight: 700; }
.fin-table__no { width: 2.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.fin-table td a { text-decoration: underline; text-underline-offset: 3px; }
.fin-table__corp { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.fin-table__src { font-size: 12px; white-space: nowrap; color: var(--muted); }
.fin-table__src a { margin-left: 4px; color: inherit; }
.fin-table__more { margin-top: 16px; text-align: center; }
.fin-table__note { margin-top: 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 599.98px) {
	.fin-table table { min-width: 480px; font-size: 13px; }
	.fin-table th:nth-child(4), .fin-table td:nth-child(4) { display: none; }
}

/* --- 寄付ガイド: 記事の型（要点・目次・チェックリスト・次の一歩）と柱のタイル --- */
.grid--3 > * { position: relative; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.article__reviewer { color: var(--ink); font-weight: 700; }

.summary { margin-top: 24px; padding: 18px 22px; background: var(--paper-2); border-left: 4px solid var(--accent); }
.summary__title { font-weight: 800; font-size: 14px; }
.summary ul { margin-top: 8px; padding-left: 1.2em; font-size: 15px; line-height: 1.75; }
.summary li + li { margin-top: 4px; }

.toc { margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--line); }
.toc__title { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.toc__list { padding-left: 1.4em; font-size: 15px; line-height: 1.6; }
.toc__list > li + li { margin-top: 8px; }
.toc__list ol { list-style: none; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.toc__list ol li + li { margin-top: 2px; }
.toc a:hover { text-decoration: underline; }
.article__aside--toc .toc { margin: 0; }
@media (min-width: 1024px) {
	.article__aside--toc .toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; }
}
.entry-content :is(h2, h3)[id] { scroll-margin-top: 16px; }

/* 本文のチェックリスト（リストに追加 CSS クラス checklist）と注意書き（段落・グループに note） */
.entry-content ul.checklist, .entry-content ul.is-style-checklist { list-style: none; padding-left: 0; }
.entry-content ul.checklist li, .entry-content ul.is-style-checklist li { position: relative; padding-left: 32px; }
.entry-content ul.checklist li::before, .entry-content ul.is-style-checklist li::before {
	content: "✓"; position: absolute; left: 0; top: .35em; width: 20px; height: 20px;
	display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1;
	color: #fff; background: var(--navy-900);
}
.entry-content .note { padding: 16px 20px; background: var(--paper-2); border-left: 4px solid var(--navy-900); font-size: 15px; line-height: 1.8; }

.next-step { margin-top: 48px; padding: 28px; background: var(--paper-2); border-top: 3px solid var(--navy-900); }
.next-step__lead { font-weight: 800; font-size: 20px; line-height: 1.4; }
.next-step__text { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.next-step__actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.next-step__more { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.guide-tiles { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.guide-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.guide-tiles--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.guide-tiles--n1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.guide-tile__link { display: flex; flex-direction: column; height: 100%; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy-900); }
.guide-tile__link:hover { border-color: var(--ink); }
.guide-tile__link[aria-current] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.guide-tile--org .guide-tile__link { background: var(--paper-2); border-top-color: var(--accent); }
.guide-tile__for { font-size: 12px; font-weight: 700; color: var(--muted); }
.guide-tile__name { margin-top: 4px; font-weight: 800; font-size: 20px; line-height: 1.35; }
.guide-tile__line { margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.guide-tile__topics { display: grid; gap: 4px; margin-top: 14px; font-size: 13px; line-height: 1.5; }
.guide-tile__topics span::before { content: "✓ "; color: var(--navy-700); font-weight: 800; }
.guide-tile__num { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--muted); }
/* スマホでは名前と一言だけにして、4つの柱を1画面に収める */
@media (max-width: 639.98px) {
	.guide-tile__link { padding: 14px 16px; }
	.guide-tile__topics, .guide-tile__num { display: none; }
}

.guide-head__for { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--navy-700); }
.guide-head__for + .archive-head__title { margin-top: 4px; }
.guide-head__topics { margin-top: 20px; padding: 16px 20px; background: var(--paper-2); max-width: 720px; }
.guide-head__label { font-size: 13px; font-weight: 800; }
.guide-head__topics ul { list-style: none; display: grid; gap: 4px 24px; margin-top: 8px; font-size: 14px; }
.guide-head__topics li::before { content: "✓ "; color: var(--navy-700); font-weight: 800; }
@media (min-width: 640px) { .guide-head__topics ul { grid-template-columns: repeat(2, 1fr); } }

/* 同意バナー（画面下に固定） */
.consent {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100;
	display: flex; flex-direction: column; gap: 12px; align-items: stretch;
	max-width: 880px; margin: 0 auto; padding: 16px 18px;
	background: var(--navy-900); color: #fff; border-radius: 10px;
	box-shadow: 0 8px 28px rgba(5, 11, 24, .35);
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; font-size: 13px; line-height: 1.7; }
.consent__text a { color: var(--accent); text-decoration: underline; }
.consent__ok { flex-shrink: 0; }
body.has-consent { padding-bottom: 180px; }
@media (min-width: 768px) {
	.consent { flex-direction: row; align-items: center; gap: 20px; padding: 16px 24px; }
	body.has-consent { padding-bottom: 110px; }
}

/* --- フォーム送信完了ページ（page-thanks.php） ------------------------- */
.ty-ico { width: 20px; height: 20px; flex: none; }
.ty-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(255, 184, 28, .22), transparent 60%),
		radial-gradient(50% 90% at 0% 100%, rgba(31, 58, 107, .9), transparent 70%),
		var(--navy-900);
}
.ty-hero::after { /* 細い罫線のグリッド（サイトのマス目のモチーフ） */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.ty-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; padding-block: 56px 60px; max-width: 880px; margin-inline: auto; }
.ty-hero__mark { flex: none; width: 104px; height: 104px; color: var(--accent); }
.ty-hero__ring { stroke: var(--accent); stroke-dasharray: 340; stroke-dashoffset: 340; animation: ty-draw .9s .1s ease-out forwards; }
.ty-hero__tick { stroke: var(--accent); stroke-dasharray: 70; stroke-dashoffset: 70; animation: ty-draw .5s .8s ease-out forwards; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ty-hero__ring, .ty-hero__tick { animation: none; stroke-dashoffset: 0; } }
.ty-hero__eyebrow { font-family: var(--font-latin); font-weight: 700; font-size: 12px; letter-spacing: .24em; color: var(--accent); }
.ty-hero__title { margin-top: 6px; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.35; }
.ty-hero__lead { margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: 15px; }
@media (max-width: 599px) {
	.ty-hero__inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 36px 40px; }
	.ty-hero__mark { width: 72px; height: 72px; }
}

.ty-body { padding-block: 48px 72px; }
.ty-sec { margin-bottom: 20px; font-size: 18px; }
.ty-sec::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 8px; background: var(--accent); }
.ty-note { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 流れの図（お問い合わせ） */
.ty-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.ty-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.ty-step:not(:last-child)::after { /* 次の段への線 */
	content: ""; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px);
	border-top: 2px dashed #c9ced8;
}
.ty-step.is-done:not(:last-child)::after { border-top: 2px solid var(--accent); }
.ty-step__icon {
	display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
	background: var(--paper-2); color: var(--navy-700); border: 1px solid var(--line);
}
.ty-step__icon .ty-ico { width: 28px; height: 28px; }
.ty-step.is-done .ty-step__icon { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ty-step.is-key .ty-step__icon { background: var(--navy-900); border-color: var(--navy-900); color: var(--accent); box-shadow: 0 0 0 6px rgba(255, 184, 28, .18); }
.ty-step__no { margin-top: 14px; font-family: var(--font-latin); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.ty-step__title { margin-top: 2px; font-size: 16px; }
.ty-step__text { margin-top: 4px; color: var(--ink-2); font-size: 13px; }
.ty-step__stat { margin-top: 6px; padding: 4px 12px; background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 700; }
.ty-step__stat b { margin-right: 2px; font-family: var(--font-latin); font-size: 22px; color: var(--accent); }
.ty-flow .ty-note { margin-top: 32px; padding: 14px 16px; background: var(--paper-2); }
@media (max-width: 599px) {
	.ty-steps { grid-template-columns: 1fr; gap: 20px; }
	.ty-step { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; text-align: left; padding: 0; }
	.ty-step__icon { grid-row: 1 / 4; width: 56px; height: 56px; }
	.ty-step__no { margin-top: 0; }
	.ty-step__stat { justify-self: start; }
	.ty-step:not(:last-child)::after { top: 60px; bottom: -16px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #c9ced8; }
	.ty-step.is-done:not(:last-child)::after { border-top: 0; border-left: 2px solid var(--accent); }
}

/* 資料（ダウンロード） */
.ty-kit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.ty-kit__visual { position: relative; display: block; aspect-ratio: 16 / 11; }
.ty-kit__page { position: absolute; width: 82%; border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 12px 30px rgba(5, 11, 24, .18); transition: transform .3s ease; }
.ty-kit__page--1 { left: 0; bottom: 0; z-index: 3; }
.ty-kit__page--2 { left: 9%; bottom: 13%; z-index: 2; transform: rotate(3deg); }
.ty-kit__page--3 { left: 18%; bottom: 26%; z-index: 1; transform: rotate(6deg); opacity: .9; }
.ty-kit__visual:hover .ty-kit__page--2 { transform: rotate(5deg) translate(6px, -6px); }
.ty-kit__visual:hover .ty-kit__page--3 { transform: rotate(9deg) translate(12px, -12px); }
.ty-kit__badge { position: absolute; left: -8px; top: 30%; z-index: 4; padding: 4px 10px; background: var(--orange); color: #fff; font-family: var(--font-latin); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.ty-kit__label { color: var(--muted); font-size: 12px; font-weight: 700; }
.ty-kit__title { margin-top: 4px; font-size: 22px; }
.ty-kit__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 20px; }
.ty-kit__meta li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.ty-kit__meta .ty-ico { width: 14px; height: 14px; }
.ty-kit__btn { min-height: 60px; font-size: 16px; box-shadow: 0 6px 0 #c98c00; transition: transform .1s, box-shadow .1s, background-color .15s; }
.ty-kit__btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #c98c00; }
.ty-kit__btn .ty-ico { width: 22px; height: 22px; }
@media (max-width: 767px) { .ty-kit { grid-template-columns: 1fr; gap: 28px; } .ty-kit__visual { max-width: 420px; } }

.ty-toc { margin-top: 56px; }
.ty-toc__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ty-toc__list li { display: flex; gap: 14px; padding: 18px; background: var(--paper-2); font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ty-toc__list strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15px; }
.ty-toc__no { font-family: var(--font-latin); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--accent); }
@media (max-width: 599px) { .ty-toc__list { grid-template-columns: 1fr; } }

/* 次に見るページ */
.ty-next { margin-top: 56px; display: grid; gap: 12px; }
.ty-next__home {
	display: flex; align-items: center; gap: 16px; padding: 20px 24px;
	background: var(--navy-900); color: #fff; font-weight: 700; font-size: 17px;
	transition: background-color .15s;
}
.ty-next__home:hover { background: var(--navy-700); }
.ty-next__home > .ty-ico:first-child { width: 28px; height: 28px; color: var(--accent); }
.ty-next__home span { flex: 1; }
.ty-next__home small { display: block; font-family: var(--font-latin); font-size: 11px; letter-spacing: .18em; color: rgba(255, 255, 255, .6); }
.ty-next__home > .ty-ico:last-child { transition: transform .15s; }
.ty-next__home:hover > .ty-ico:last-child { transform: translateX(4px); }
.ty-next__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ty-next__sub a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: border-color .15s; }
.ty-next__sub a:hover { border-color: var(--line-strong); }
.ty-next__sub .ty-ico { color: var(--navy-700); }

/* --- 大学から提供いただいた原稿（団体ページ） ---------------------------- */
.uni-msg { margin-bottom: 48px; padding: 28px 20px 32px; background: var(--paper-2); }
@media (min-width: 768px) { .uni-msg { padding: 40px 40px 44px; } }
.uni-msg__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.uni-msg__eyebrow span { padding: 3px 10px; background: var(--navy-900); color: #fff; font-size: 11px; letter-spacing: .14em; }
.uni-msg__title { margin-top: 14px; font-weight: 800; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.45; letter-spacing: .02em; }
.uni-msg__provider { display: inline-block; margin-top: 12px; padding: 3px 10px; background: #fff; font-size: 12px; color: var(--muted); }
.uni-msg__hero { margin-top: 20px; }
.uni-msg figure { margin: 0; }
.uni-msg figure img { display: block; width: 100%; height: auto; }
.uni-msg figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.uni-msg__lead { margin-top: 24px; }
.uni-msg__lead p, .uni-msg__text p { font-size: 16px; line-height: 2; color: var(--ink-2); }
.uni-msg__lead p + p, .uni-msg__text p + p { margin-top: 1em; }
.uni-msg__lead .uni-msg__strong { margin-top: 20px; padding: 18px 22px; background: var(--navy-900); color: #fff; font-weight: 800; font-size: 17px; line-height: 1.8; }
.uni-msg__sec { margin-top: 40px; }
.uni-msg__h { position: relative; padding-bottom: 14px; font-weight: 800; font-size: 20px; line-height: 1.5; }
.uni-msg__h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--accent); }
.uni-msg__sub { margin-top: 12px; font-weight: 700; font-size: 16px; color: var(--navy-700); }
.uni-msg__body { margin-top: 16px; display: grid; gap: 16px; }
@media (min-width: 768px) {
	.uni-msg__sec--side .uni-msg__body { grid-template-columns: 5fr 6fr; gap: 28px; align-items: start; }
}
.uni-msg__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.uni-msg__chips li { padding: 6px 14px; background: #fff; font-size: 14px; font-weight: 700; }
.uni-msg__cards { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 600px) { .uni-msg__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .uni-msg__cards--3 { grid-template-columns: repeat(3, 1fr); } }
.uni-msg__card { background: #fff; padding: 0 0 18px; }
.uni-msg__card > :not(figure) { padding-inline: 18px; }
.uni-msg__card:not(:has(figure)) { padding-top: 18px; }
.uni-msg__card-img { margin-bottom: 14px; }
/* 写真を文章の下に置くカード（"image_pos": "after"） */
.uni-msg__card--img-after { padding: 18px 0 0; }
.uni-msg__card--img-after .uni-msg__card-img { margin: 14px 0 0; }
.uni-msg__card-label { display: inline-block; margin-left: 18px; padding: 2px 8px !important; background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 700; }
.uni-msg__card-title { margin-top: 8px; font-weight: 800; font-size: 16px; line-height: 1.6; }
.uni-msg__card-text { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.uni-msg__table-wrap { margin-top: 18px; overflow-x: auto; }
.uni-msg__table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.uni-msg__table caption { margin-bottom: 8px; text-align: left; font-weight: 700; font-size: 14px; }
.uni-msg__table th, .uni-msg__table td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.uni-msg__table thead th { background: var(--navy-900); color: #fff; font-weight: 700; }
.uni-msg__table tbody th { font-weight: 700; white-space: nowrap; }
.uni-msg__note { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.uni-msg__more { margin-top: 16px; line-height: 1.9; }
.uni-msg__more a { color: var(--navy-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.uni-msg__voices { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.uni-msg__voice { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px; background: #fff; }
.uni-msg__voice:not(:has(figure)) { grid-template-columns: 1fr; }
.uni-msg__voice-img img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.uni-msg__voice-text { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.uni-msg__voice-name { margin-top: 8px; font-size: 13px; font-weight: 700; }
.uni-msg__contact { margin-top: 40px; padding: 24px 22px; background: var(--navy-900); color: #fff; }
.uni-msg__contact-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.uni-msg__contact-name { margin-top: 6px; font-weight: 800; font-size: 18px; }
.uni-msg__contact-list { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.uni-msg__contact-list div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; }
.uni-msg__contact-list dt { color: rgba(255, 255, 255, .65); }
.uni-msg__contact-list dd { margin: 0; overflow-wrap: anywhere; }
.uni-msg__contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.uni-msg__contact-list small { margin-left: 8px; font-size: 12px; color: rgba(255, 255, 255, .65); }
.uni-msg__contact-btn { margin-top: 18px; }
.uni-msg__card:not(:has(p)) { padding-bottom: 0; }
.uni-msg__card:not(:has(p)) .uni-msg__card-img { margin-bottom: 0; }
.article--org .article__main, .uni-msg, .uni-msg__body > *, .uni-msg__cards > *, .uni-msg__voice > * { min-width: 0; }
.uni-msg { overflow-wrap: anywhere; }

/* --- 大学の取り組み（記事ページ・記事カード） ------------------------------ */
.uni-msg--page { margin-bottom: 0; padding: 0; background: none; }
.uni-msg--page .uni-msg__hero { margin-top: 0; }
.uni-msg--page .uni-msg__chips li, .uni-msg--page .uni-msg__card, .uni-msg--page .uni-msg__voice { background: var(--paper-2); }
.story-provider { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 4px 12px 4px 4px; background: var(--paper-2); font-size: 13px; font-weight: 700; }
.story-provider span { padding: 2px 8px; background: var(--navy-900); color: #fff; font-size: 11px; letter-spacing: .08em; }
.story-more { margin-top: 48px; }
.story-back { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding: 18px 22px; background: var(--paper-2); font-weight: 800; }
.story-back::after { content: "→"; color: var(--navy-700); }
.story-back:hover { background: var(--line); }
.org-stories { margin-bottom: 40px; }
.story-cards { list-style: none; display: grid; gap: 16px; margin-top: 16px; }
.story-card__link { display: grid; background: var(--paper-2); height: 100%; }
@media (min-width: 600px) { .story-card__link { grid-template-columns: 2fr 3fr; } }
.story-card__thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
@media (min-width: 600px) { .story-card__thumb { aspect-ratio: auto; min-height: 100%; } }
.story-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.story-card__link:hover .story-card__thumb img { transform: scale(1.03); }
.story-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.story-card__label { align-self: flex-start; padding: 2px 8px; background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 700; }
.story-card__title { font-weight: 800; font-size: 17px; line-height: 1.55; }
.story-card__link:hover .story-card__title { text-decoration: underline; text-underline-offset: 3px; }
.story-card__dek { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.story-card__more { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--navy-700); }
.story-card__more::after { content: " →"; }
.org-feature__fin { margin-top: 6px; font-weight: 800; font-size: 16px; }
.org-feature__fin span { margin-right: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.org-related { margin-bottom: 40px; }
.org-related .org-grid { margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .org-related .org-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story-part { margin-bottom: 20px; }
.story-part__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent-ink, #b07d00); }
.story-part__title { margin-top: 4px; font-weight: 800; font-size: 22px; line-height: 1.5; }
.story-part__note { margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.story-ed { margin-top: 56px; padding: 28px 20px 32px; background: var(--paper-2); }
@media (min-width: 768px) { .story-ed { padding: 40px 40px 44px; } }
.story-ed .uni-msg--page .uni-msg__chips li, .story-ed .uni-msg--page .uni-msg__card, .story-ed .uni-msg--page .uni-msg__voice { background: #fff; }
.story-ed .uni-msg__sec:first-child { margin-top: 8px; }
.story-faq { margin-top: 40px; }
.story-faq__list { margin-top: 16px; display: grid; gap: 10px; }
.story-faq__list div { padding: 16px 18px; background: #fff; }
.story-faq__list dt { font-weight: 800; font-size: 15px; line-height: 1.6; }
.story-faq__list dt::before { content: "Q. "; color: var(--navy-700); }
.story-faq__list dd { margin: 8px 0 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.story-sources { margin-top: 32px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.story-sources__title { font-weight: 700; color: var(--ink-2); }
.story-sources ol { margin: 4px 0 0 1.4em; }
.story-sources a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* 取り組みの記事を2列で並べる（TOP の「取り組みを知る」と一覧ページ）. 2列のときは写真を上にする */
@media (min-width: 900px) {
	.story-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.story-cards--grid .story-card__link { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.story-cards--grid .story-card__thumb { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (min-width: 1100px) { .story-cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stories-page { padding-bottom: 64px; }
.stories-page__lead { margin-top: 12px; color: var(--ink-2, inherit); line-height: 1.9; }
