/* 元テーマへの上書き。テーマ本体（style.css）は取得物なので触らない。 */

/* 活動セクションの見出しボックスへ購入済み写真を載せる。
   テーマ側のベージュ塗りを打ち消し、暗い半透明を重ねて見出しを白で読む。
   説明文（h3の下）はテーマ既定の黒のまま。
   カードごとの背景写真は tools/build.py が生成する（配信名にハッシュを入れるため）。 */
#home section.activities h3 {
	border: 1px solid #2cac6e;
	background-color: #1a3a32;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

#home section.activities a:hover h3 {
	color: #fff;
}

/* テーマが li の黒丸・番号を消しているので、本文の箇条書きだけ戻す。 */
.contentBody p,
.contentBody ul,
.contentBody ol {
	margin: 0 0 1.2em;
}
.contentBody ul,
.contentBody ol {
	padding-left: 1.4em;
}
.contentBody ul > li {
	list-style: disc;
}
.contentBody ol > li {
	list-style: decimal;
}
.contentBody li {
	margin-bottom: 0.5em;
}

/* 団体紹介の表：見出しの列と中身がくっつかないよう間をあける */
.contentBody table:has(tr.accessRow) th {
	padding-right: 1.5em;
	white-space: nowrap;
}

/* 団体紹介の表：お問い合わせ先とアクセス（地図）の行の間をあける */
.contentBody tr.accessRow th,
.contentBody tr.accessRow td {
	padding-top: 2em;
}

.contentBody iframe.accessMap {
	display: block;
	width: 100%;
	height: 280px;
	border: 0;
	margin: 0 0 1em;
}

.contentBody .accessStations {
	margin: 0;
	padding-left: 1.2em;
}

.contentBody .accessLink {
	margin: 0.6em 0 0;
}

.contentBody .memberLead {
	margin: 0 0 3.2em;
}

.contentBody .peopleBlock {
	margin: 0 0 4em;
}

.contentBody .peopleBlock > p {
	margin: 0 0 2em;
	color: #4a4a4e;
}

.contentBody .people {
	margin: 0;
}

.contentBody .person {
	display: block;
	padding: 2.8rem 0;
	border-top: 1px solid #e4e4e6;
}

.contentBody .people .person:first-child {
	border-top: 0;
	padding-top: 0;
}

.contentBody .personRole {
	margin: 0 0 0.35em;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #2cac6e;
}

.contentBody .person h3 {
	margin: 0 0 0.25em;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
}

.contentBody .personOrg {
	margin: 0 0 1.1em;
	font-size: 1.4rem;
	color: #5c5c62;
}

.contentBody .personOrg a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.contentBody .personBio {
	margin: 0 0 1.2em;
}

.contentBody .personLabel {
	margin: 1.1em 0 0.4em;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: #8a8a90;
}

.contentBody .personExp {
	margin: 0;
	padding-left: 1.2em;
}

.contentBody .personTags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contentBody .personTags li {
	list-style: none;
	margin: 0;
	padding: 0.15em 0.85em;
	border: 1px solid #2cac6e;
	border-radius: 999px;
	color: #2cac6e;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.7;
}

@media (max-width: 720px) {
	.contentBody .person {
		padding: 2.2rem 0;
	}
}

/* 研究会の開催一覧。テーマ本体に表組みの指定が無いので、
   団体紹介ページの表（WordPress ブロックの既定）と同じ見た目に揃える。 */
.scrollTable {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

table.sessionTable {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 1.5rem;
	line-height: 1.7;
}

table.sessionTable th,
table.sessionTable td {
	border: 1px solid #d8d8db;
	padding: 16px 12px;
	text-align: left;
	vertical-align: top;
}

table.sessionTable thead th {
	background-color: #2cac6e;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

table.sessionTable tbody th {
	background-color: #faf9f5;
	font-weight: 700;
	white-space: nowrap;
	width: 1%;
}

table.sessionTable .date,
table.sessionTable .affil {
	display: inline-block;
	color: #626264;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.5;
}

/* スマホでは3列の表が横スクロールになって読みにくいので、行ごとの縦積みにする。
   thead を隠すぶん、講師列には CSS でラベルを補う。 */
@media screen and (max-width: 640px) {
	.scrollTable {
		overflow-x: visible;
	}

	table.sessionTable {
		min-width: 0;
		display: block;
		font-size: 1.4rem;
	}

	table.sessionTable thead {
		display: none;
	}

	table.sessionTable tbody,
	table.sessionTable tr,
	table.sessionTable th,
	table.sessionTable td {
		display: block;
		width: auto;
	}

	table.sessionTable tr {
		border: 1px solid #d8d8db;
		border-radius: 8px;
		overflow: hidden;
		margin-bottom: 12px;
	}

	table.sessionTable th,
	table.sessionTable td {
		border: 0;
		padding: 12px 14px;
	}

	table.sessionTable td {
		padding-top: 0;
	}

	/* desktop 側の width:1% は指定が強いので、同じ強さで打ち消す
	   （打ち消さないと1行1文字に折り返す） */
	table.sessionTable tbody th {
		width: auto;
		white-space: normal;
	}

	table.sessionTable--speakers td:nth-of-type(2)::before {
		content: "講師　";
		color: #626264;
		font-size: 1.3rem;
	}
}

/* 活動セクションの並び。3枚を1行に並べ、4枚目以降は幅いっぱいにする。
   テーマ側は :last-child だけを幅いっぱいにしているので、
   カードを足すと3列の並びが崩れる。枚数に依存しない形へ置き換える。 */
#home section.activities ul li:nth-child(-n+3) {
	flex: 1 1 calc((100% - 70px) / 3);
}

#home section.activities ul li:nth-child(n+4) {
	flex: none;
	width: 100%;
}

/* 本文中の図（tools/figures.py が生成するインラインSVG）。
   SVG は幅に追従するが、そのまま縮めるとスマホで文字が読めない大きさになるため、
   狭い画面では原寸に近い幅を保って横スクロールさせる。 */
.contentBody .diagram {
	margin: 2.6em 0;
}

.contentBody .diagram svg.figureSvg {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #e4e4e6;
	border-radius: 12px;
	background: #fff;
}

.contentBody .diagram figcaption {
	margin-top: .9em;
	font-size: 1.4rem;
	line-height: 1.75;
	color: #626264;
}

@media screen and (max-width: 720px) {
	.contentBody .diagram {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.contentBody .diagram svg.figureSvg {
		width: 860px;
		max-width: none;
	}

	.contentBody .diagram figcaption {
		width: 860px;
	}
}

/* 本文の見出しと引用。読み物として通して読めるようにする。 */
.contentBody h3 {
	margin: 1.8em 0 .6em;
	font-size: 1.7rem;
	font-weight: 700;
}

/* 冒頭の段落も本文と同じ大きさにする（2026-11-29 字の大きさを全ページでそろえた） */

/* 本文中の段組みとカード。見出し・本文の大きさは本文の既定に任せる。 */
.contentBody .cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 1.6em;
}
.contentBody .cols--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contentBody .card {
	padding: 20px 24px;
	background: #f7fbf9;
	border: 1px solid #dceee5;
	border-radius: 12px;
}
.contentBody .card h3,
.contentBody .card h4 {
	margin: 0 0 .5em;
	font-size: 1.7rem;
	font-weight: 700;
}
.contentBody .card > img {
	display: block;
	margin: 0 0 1em;
}
.contentBody .card > :last-child {
	margin-bottom: 0;
}
@media screen and (max-width: 720px) {
	.contentBody .cols,
	.contentBody .cols--3 {
		grid-template-columns: 1fr;
	}
}

/* 画面写真・図版。高さの上限だけを決め、縦長の画面写真も横長の図も同じ規則で収める。 */
.contentBody .shot {
	margin: 1.6em 0 2.4em;
}
.contentBody .shot img {
	display: block;
	width: auto;
	max-height: 560px;
	margin: 0 auto;
}
.contentBody .credit {
	font-size: 1.2rem;
	color: #8a8a90;
}

/* キービジュアル。背景画像は tools/build.py が
   assets/home/hero.* の有無を見てハッシュ付きで足す。 */
.homeHero {
	position: relative;
	margin: 0 0 64px;
	min-height: clamp(280px, 34vw, 440px);
	display: flex;
	align-items: center;
	background-color: #0b2b22;
	background-size: cover;
	background-position: center;
	border-left: 6px solid #2cac6e;
}

.homeHero__inner {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 48px 20px;
	color: #fff;
	position: relative;
	z-index: 2;
}

.homeHero__catch {
	/* キャッチとリードが密着すると読み出しにくいので、ここで間を取る */
	margin: 0 0 .8em;
	font-size: clamp(2.6rem, 4.2vw, 4.4rem);
	font-weight: 700;
	line-height: 1.35;
	text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

/* 句のかたまりで折り返す。狭い画面で語の途中から改行されるのを防ぐ。
   flex にするのは、ビルドが span の間に入れる改行を空白として表示させないため。 */
.homeHero__catch {
	display: flex;
	flex-wrap: wrap;
}

.homeHero__org {
	margin: 1.1em 0 0;
	font-size: clamp(1.3rem, 1.4vw, 1.5rem);
	font-weight: 700;
	letter-spacing: .04em;
	color: #fff;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

.homeHero__lead {
	margin: 0;
	font-size: clamp(1.4rem, 1.6vw, 1.7rem);
	line-height: 1.85;
	color: #e9f2ee;
	text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}

/* 団体概要カードはイラストを下寄せに置き、見出しは上の余白へ。
   写真の活動カードと役割を分ける（暗幕をかけるとイラストが潰れるため）。 */
/* イラストが置かれたときだけ build が .organizationHasArt を付けて下の指定を有効にする。
   無いときはテーマ既定（ベージュ塗り・中央寄せ）のまま。 */
#home.organizationHasArt section.organization h3 {
	border: 1px solid #2cac6e;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: contain;
	color: #1a1a1c;
	align-items: flex-start;
	padding-top: 26px;
}

/* ── 詳細ページの帯（英字ラベル・見出し・リード・キーナンバー） ── */
.pageHero {
	margin: 32px 0 44px;
	padding: 36px 0 32px;
	border-bottom: 1px solid #e4e4e6;
	position: relative;
}
.pageHero::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 96px;
	height: 3px;
	background: #2cac6e;
}
.pageHero__eyebrow {
	margin: 0 0 10px;
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: .18em;
	color: #2cac6e;
}
.pageHero h1 {
	margin: 0 0 16px !important;
	font-size: clamp(2.8rem, 3.6vw, 4rem);
	line-height: 1.3;
}
.pageHero__lead {
	margin: 0;
	font-size: 1.8rem;
	line-height: 1.85;
	color: #3a3a3e;
}
.stats {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.stats li {
	margin: 0;
	padding: 18px 20px 16px;
	background: #f7fbf9;
	border: 1px solid #dceee5;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.stat__num {
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.1;
	color: #14603d;
	letter-spacing: -.01em;
}
.stat__label {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a1a1c;
}
.stat__note {
	font-size: 1.2rem;
	color: #626264;
}
@media screen and (max-width: 640px) {
	.stats { grid-template-columns: 1fr; }
	.pageHero { margin-top: 12px; padding-top: 20px; }
}

/* ── 本文の h2 は細い灰色の罫だけ（番号と緑の罫は 2026-11-29 に外した） ── */
.contentBody h2 {
	margin: 3em 0 1em;
	padding: 0 0 .5em 0;
	border-bottom: 1px solid #e4e4e6;
	font-size: 2.2rem;
	line-height: 1.4;
}
/* 見出し＋本文の並び（手順・課題など）。まとまりの後ろに余白を取り、
   続く段落が最後の項目の一部に見えないようにする（2026-11-29） */
.contentBody .headedList { margin: 0 0 2.6em; }
.contentBody .headedList h3 { margin: 1.4em 0 .4em; }
.contentBody .headedList > h3:first-child { margin-top: .6em; }
.contentBody .headedList p { margin-bottom: 0; }
.contentBody ol li strong,
.contentBody ul li strong { color: #14603d; }

/* ── 末尾の導線カード ── */
.ctaCard {
	margin: 4em 0 1em;
	padding: 36px 32px;
	border-radius: 16px;
	background: linear-gradient(120deg, #0f4a30 0%, #1a6f49 60%, #2cac6e 100%);
	color: #fff;
}
.ctaCard__title {
	margin: 0 0 .5em;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.4;
}
.ctaCard__text {
	margin: 0 0 1.4em;
	font-size: 1.5rem;
	line-height: 1.8;
	color: #e6f4ec;
}
.ctaCard__action { margin: 0; }
.ctaCard__action a {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	background: #fff;
	color: #14603d !important;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.ctaCard__action a:hover { background: #eef8f2; }

/* ── 動画ヒーロー ── */
.homeHero video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.homeHero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(6, 26, 21, .82) 0%, rgba(6, 26, 21, .58) 42%, rgba(6, 26, 21, .12) 100%);
	z-index: 1;
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
	.homeHero video { display: none; }
}

/* お知らせ（tools/news.py が正本）。カテゴリの見出しと補足を持てるようにする。 */
.newsList .newsCat {
	display: inline-block;
	margin-right: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eaf6f0;
	color: #14603d;
	font-size: 1.2rem;
	font-weight: 700;
	vertical-align: .12em;
}
.newsList .newsNote {
	display: block;
	margin-top: .4em;
	font-size: 1.4rem;
	line-height: 1.75;
	color: #626264;
}
.newsList .newsPlain { display: block; }

/* URL やメールアドレスなど、切れないと溢れるものだけ例外にする */
.contentBody a[href^="http"],
.contentBody a[href^="mailto"] {
	overflow-wrap: anywhere;
}

/* キービジュアル直下に置く1枚組のカード。
   活動セクションと同じ見た目のまま、見出し（h2）を持たない。 */
/* お知らせの直後に来るので、他のセクションと同じ上下の間隔をとる。
   margin-top: 0 にすると前のセクションとくっつく。 */
#home section.activities.feature {
	margin-top: 80px;
}

@media screen and (max-width: 400px) {
	#home section.activities.feature {
		margin-top: 20vw;
	}
}

#home section.activities.feature ul li {
	flex: none;
	width: 100%;
}

/* 配信情報と利用者の対応（住民ポータル）。原稿（まちポ説明資料.pptx）の図を文字のまま組む。
   各情報の「届ける相手」の札から線を引き、その相手に当たる利用者へつなぐ。
   線の位置は行の高さ 160px（情報2件＋札のはみ出し）に合わせてある。 */
.contentBody .match {
	margin: 1.6em 0 2.4em;
}
.contentBody .match__title {
	margin: 0 0 .6em calc(50% + 32px);
}
.contentBody .match__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
	grid-template-rows: 160px;
	margin-bottom: 24px;
}
.contentBody .match__items {
	display: grid;
	grid-template-rows: 60px 60px;
	row-gap: 28px;
	margin: 0;
	padding: 0;
}
.contentBody .match__items li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0 16px;
	display: flex;
	align-items: center;
	background: #fff;
	border: 2px solid #d8d8db;
	border-radius: 8px;
	font-size: 1.7rem;
}
.contentBody .match__items span {
	position: absolute;
	right: -2px;
	bottom: -14px;
	padding: 2px 14px;
	background: #d6effa;
	border-radius: 999px;
	color: #18a9e1;
	font-size: 1.4rem;
	white-space: nowrap;
}
.contentBody .match__lines {
	width: 100%;
	height: 100%;
}
.contentBody .match__lines path {
	fill: none;
	stroke: #18a9e1;
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}
.contentBody .match__person {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 16px 24px;
	background: #f0f0f0;
}
.contentBody .match__person img {
	flex: none;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.contentBody .match__person p {
	margin: 0;
	font-size: 1.7rem;
	line-height: 1.6;
}
.contentBody .match__person strong {
	display: block;
}
/* 右列が狭いと見出しが1字だけ次の行に落ちるので、中くらいの幅では左端から置く */
@media screen and (max-width: 1000px) {
	.contentBody .match__title {
		margin-left: 0;
	}
	.contentBody .match__person {
		gap: 12px;
		padding: 12px 16px;
	}
	.contentBody .match__person img {
		width: 64px;
		height: 64px;
	}
}
/* 狭い幅では線を引く余地が無いので、情報→利用者の順に縦に積み、線の代わりに上罫でつなぐ */
@media screen and (max-width: 800px) {
	.contentBody .match__row {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		margin-bottom: 32px;
	}
	.contentBody .match__items {
		grid-template-rows: none;
		grid-auto-rows: minmax(60px, auto);
	}
	.contentBody .match__lines {
		display: none;
	}
	.contentBody .match__person {
		margin-top: 28px;
		border-top: 3px solid #18a9e1;
	}
}

/* ── お知らせの記事ページ（tools/news.py が組み立てる）──
   本文は Payload のエディタが書き出した HTML（h2・h3・段落・箇条書き・引用・画像・リンク）。
   テーマの reset で見出しも段落も同じ大きさ・余白なしになっているので、ここで決める。
   h1 より h2・h3 を必ず小さくし、前の要素に貼り付かないよう上の余白を取る。 */
.newsArticle { max-width: 760px; }
.newsArticleHead { margin: 32px 0 36px; padding-bottom: 28px; border-bottom: 1px solid #d9d9d9; }
.newsArticleMeta { margin: 0 0 14px; font-size: 1.3rem; color: #626264; }
.newsArticleMeta .newsCat {
	display: inline-block;
	margin-right: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eaf6f0;
	color: #14603d;
	font-size: 1.2rem;
	font-weight: 700;
	vertical-align: .12em;
}
.newsArticleMeta time { color: #626264; }
#content .newsArticle h1 {
	margin: 0;
	font-size: clamp(2.4rem, 3vw, 3.2rem);
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.newsBody { font-size: 1.6rem; line-height: 1.95; overflow-wrap: anywhere; }
.newsBody > :first-child { margin-top: 0; }
.newsBody p { margin: 0 0 1.4em; }
.newsBody h2 {
	margin: 2.4em 0 .8em;
	padding-bottom: .4em;
	border-bottom: 1px solid #e4e4e6;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.45;
}
.newsBody h3 { margin: 2em 0 .6em; font-size: 1.8rem; font-weight: 700; line-height: 1.5; }
.newsBody ul, .newsBody ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.newsBody ul > li { list-style: disc; }
.newsBody ol > li { list-style: decimal; }
.newsBody li { margin-bottom: .4em; }
.newsBody blockquote {
	margin: 1.6em 0;
	padding: .2em 0 .2em 1.2em;
	border-left: 4px solid #2cac6e;
	color: #4a4a4e;
}
.newsBody blockquote p:last-child { margin-bottom: 0; }
.newsBody figure, .newsBody .newsFigure { margin: 1.8em 0; }
.newsBody img { display: block; max-width: 100%; height: auto; border-radius: 8px; }

/* ── 画像の位置・大きさ・回り込み・説明文（設計書 11-1。標準エディタと CKEditor の両方がこの形で出す）──
   位置  : --left / --center / --right（ブロックのまま寄せる）  --wrap-left / --wrap-right（文章が横に回り込む）
   大きさ: --s 25% / --m 50% / --l 75% / --full 100%（既定）。CKEditor でドラッグした大きさは figure の style="width:NN%"
   幅 768px 未満では回り込みを外し、中央に縦に並べる。 */
.newsBody .newsFigure { box-sizing: border-box; }
.newsBody .newsFigure--s { width: 25%; }
.newsBody .newsFigure--m { width: 50%; }
.newsBody .newsFigure--l { width: 75%; }
.newsBody .newsFigure--full { width: 100%; }
.newsBody .newsFigure--s img, .newsBody .newsFigure--m img, .newsBody .newsFigure--l img,
.newsBody .newsFigure--full img, .newsBody .newsFigure[style] img { width: 100%; }
.newsBody .newsFigure--left { margin-right: auto; }
.newsBody .newsFigure--center { margin-right: auto; margin-left: auto; }
.newsBody .newsFigure--right { margin-left: auto; }
.newsBody .newsFigure--wrap-left { float: left; max-width: 50%; margin: .4em 1.6em 1em 0; }
.newsBody .newsFigure--wrap-right { float: right; max-width: 50%; margin: .4em 0 1em 1.6em; }
.newsBody .newsFigure--wrap-left.newsFigure--l, .newsBody .newsFigure--wrap-right.newsFigure--l,
.newsBody .newsFigure--wrap-left.newsFigure--full, .newsBody .newsFigure--wrap-right.newsFigure--full,
.newsBody .newsFigure--wrap-left[style], .newsBody .newsFigure--wrap-right[style] { max-width: none; }
.newsBody figcaption { margin: .5em 0 0; color: #626264; font-size: 1.3rem; line-height: 1.6; overflow-wrap: anywhere; }
.newsBody .newsFigure--center figcaption { text-align: center; }
.newsBody .newsFigure--wrap-right figcaption { text-align: left; }
.newsBody h2, .newsBody h3 { clear: both; }
.newsBody::after { content: ""; display: block; clear: both; }
.newsBody .newsAlign--center { text-align: center; }
.newsBody .newsAlign--right { text-align: right; }
@media screen and (max-width: 767px) {
	.newsBody .newsFigure--wrap-left, .newsBody .newsFigure--wrap-right {
		float: none;
		max-width: 100%;
		margin: 1.8em auto;
	}
	.newsBody .newsFigure--wrap-left figcaption, .newsBody .newsFigure--wrap-right figcaption { text-align: center; }
}
.newsBody a { overflow-wrap: anywhere; }
.newsBody hr { margin: 2.4em 0; border: 0; border-top: 1px solid #e4e4e6; }

.newsFiles { margin: 3em 0 0; padding: 20px 24px; border: 1px solid #d9d9d9; border-radius: 12px; background: #f7fbf9; }
.newsFiles h2 { margin: 0 0 .6em; font-size: 1.8rem; font-weight: 700; line-height: 1.5; }
.newsFiles ul { margin: 0; padding: 0; }
.newsFiles li { margin: 0; list-style: none; }
.newsFiles li + li { margin-top: 4px; }
.newsFiles a { display: inline-block; min-height: 24px; padding: 4px 0; overflow-wrap: anywhere; }

.newsBack { margin: 3em 0 0; }
.newsBack a { display: inline-block; min-height: 24px; padding: 6px 0; }

/* ページ送りの省略記号（丸い枠はテーマの .pagination が持つ） */
.pagination .ellipsis { color: #626264; }
@media screen and (max-width: 640px) {
	.newsFiles { padding: 16px 18px; }
	.newsBody h2 { font-size: 2rem; }
}
/* テーマの common.js が .pdf などのリンクに「[PDF: 1.2MB]」を足すが、一覧の表記（資料名（PDF・1.2MB））と重なるので隠す */
.newsFiles .fileSize { display: none; }

/* ── 見出しの階層（観点表 C-11）──
   テーマの reset で h1 が本文と同じ 16px になり、本文の h2（22px）のほうが大きくなっていた
   （法務3ページ・サイトマップ）。帯（.pageHero）を持たない素の h1 だけを、帯の h1 と同じ大きさにする。
   帯の中の h1 は .inner の直下ではないので、このルールには掛からない。 */
#content .inner > h1 {
	font-size: clamp(2.8rem, 3.6vw, 4rem);
	line-height: 1.3;
}

/* 本文の枠（.contentBody）の外に置かれた h2（研究会ページの末尾）。前の要素に貼り付かないようにする。 */
#content .inner > h2 {
	margin: 3em 0 1em;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.4;
}

/* メンバーの「役職ラベル → 氏名」は対で詰めて置く。氏名（h3）の上余白を 16px にして、
   ラベル側の下余白を -11.8px にすると、重なって合計は従来と同じ約 4px のまま（見た目は変わらない）。 */
.contentBody .person h3 {
	margin-top: 16px;
}
.contentBody .personRole {
	margin-bottom: -11.8px;
}

#home section.activities .smart-city-platform h3 {
	background-image:
		linear-gradient(rgba(8, 24, 20, 0.55), rgba(8, 24, 20, 0.62)),
		url("/assets/home/platform.44e1d95c0c.jpeg");
}

#home section.activities .resident-portal h3 {
	background-image:
		linear-gradient(rgba(8, 24, 20, 0.55), rgba(8, 24, 20, 0.62)),
		url("/assets/home/portal.3e324f867d.jpeg");
}

#home section.activities .data-and-ai h3 {
	background-image:
		linear-gradient(rgba(8, 24, 20, 0.42), rgba(8, 24, 20, 0.5)),
		url("/assets/home/data-ai.53f83991dd.jpeg");
}

#home section.activities .govtech-support h3 {
	background-image:
		linear-gradient(rgba(8, 24, 20, 0.55), rgba(8, 24, 20, 0.62)),
		url("/assets/home/govtech.259ea1a1bf.jpeg");
}

#home section.activities .study-group h3 {
	background-image:
		linear-gradient(rgba(8, 24, 20, 0.55), rgba(8, 24, 20, 0.62)),
		url("/assets/home/study-group.f99152fb92.jpeg");
}


.homeHero {
	background-image:
		linear-gradient(100deg, rgba(6, 26, 21, 0.82) 0%, rgba(6, 26, 21, 0.58) 42%, rgba(6, 26, 21, 0.12) 100%),
		url("/assets/home/hero.9ab55973a8.jpeg");
}

#home section.organization .about-us h3 {
	background-image: url("/assets/home/about-us.210b3d41fd.svg");
}

#home section.organization .establishment h3 {
	background-image: url("/assets/home/establishment.a038f98af1.svg");
}

#home section.organization .members h3 {
	background-image: url("/assets/home/members.487fd2ca3e.svg");
}
