/*
Theme Name: fundraising.jp
Theme URI: https://fundraising.jp/
Description: 日本のファンドレイジングを紹介するメディア fundraising.jp 専用テーマ。fundraising.jp Curator プラグインのプロジェクト情報に対応。
Version: 1.15.2
Author: fundraising.jp 編集部
Requires at least: 5.0
Requires PHP: 5.6
Text Domain: frjt
*/

:root {
	--ink: #14243b;
	--ink-soft: #3a4a5f;
	--muted: #64728a;
	--line: #e2e6ee;
	--paper: #f6f8fb;
	--surface: #ffffff;
	--brand: #0e3869;
	--brand-deep: #0a2950;
	--brand-tint: #e7eef7;
	--heart: #ec5f52;
	--heart-tint: #fdebe8;
	--sun: #ffb4a8;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(14, 32, 60, .06), 0 8px 24px rgba(14, 32, 60, .06);
	--shadow-hover: 0 2px 4px rgba(14, 32, 60, .08), 0 16px 40px rgba(14, 32, 60, .12);
	--font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	--font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
	--wrap: 1160px;
	/* プラグイン側のアクセント色をテーマに合わせる */
	--frj-accent: var(--heart);
	--frj-ink: var(--ink);
	--frj-muted: var(--muted);
	--frj-line: var(--line);
	--frj-soft: #fff4f2;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.45; letter-spacing: .03em; color: var(--ink); }
:focus-visible { outline: 3px solid var(--heart); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text, .skip-link {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 16px; background: var(--surface); z-index: 1000; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--heart { background: var(--heart); color: #fff; box-shadow: 0 6px 18px rgba(236, 95, 82, .28); }
.btn--heart:hover { color: #fff; background: #d84a3e; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn--line { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn--line:hover { background: var(--brand-tint); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- ヘッダー ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 248, 251, .92);
	-webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; letter-spacing: .01em; }
.brand__name span { color: var(--heart); }
.brand__tag { font-size: .7rem; color: var(--muted); letter-spacing: .08em; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gnav a {
	display: block; padding: .5em .8em; border-radius: 999px; white-space: nowrap;
	color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: .9rem; font-family: var(--font-head);
}
.gnav a:hover, .gnav .current-menu-item > a, .gnav .is-current > a { background: var(--brand-tint); color: var(--brand-deep); }
.gnav .gnav__cta a { background: var(--heart); color: #fff; margin-left: 6px; }
.gnav .gnav__cta a:hover { background: #d84a3e; color: #fff; }
.gnav .sub-menu { display: none; }
.brand__name, .brand__tag { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 901px) { .gnav .gnav__cat { display: none; } }

@media (max-width: 900px) {
	.nav-toggle-label {
		display: flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink);
	}
	.nav-toggle-label svg { width: 26px; height: 26px; }
	.gnav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		display: none; padding: 12px 20px 20px;
	}
	.nav-toggle:checked ~ .gnav { display: block; }
	.gnav ul { flex-direction: column; align-items: stretch; }
	.gnav a { padding: .8em 1em; border-radius: 10px; }
	.gnav .gnav__cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- ヒーロー ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(255, 180, 168, .35), transparent 60%),
		radial-gradient(900px 600px at -10% 110%, rgba(236, 95, 82, .35), transparent 55%),
		linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, #1d5596 100%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
	background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: .5em; margin: 0 0 18px;
	padding: .35em 1em; border-radius: 999px; background: rgba(255, 255, 255, .14);
	font-size: .8rem; font-weight: 700; letter-spacing: .1em;
}
.hero__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 180, 168, .3); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 900; margin: 0 0 20px; line-height: 1.3; }
.hero h1 em { font-style: normal; color: #ffd3cc; background: linear-gradient(transparent 80%, var(--heart) 80%, var(--heart) 94%, transparent 94%); }
.hero__lead { font-size: 1.05rem; color: rgba(255, 255, 255, .88); margin: 0 0 32px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--font-head); font-size: 1.9rem; line-height: 1.1; }
.hero__stats span { font-size: .78rem; color: rgba(255, 255, 255, .75); letter-spacing: .08em; }

.hero__stack { position: relative; min-height: 360px; }
.hero__mini {
	position: absolute; width: 78%; display: block; text-decoration: none; color: var(--ink);
	background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	transition: transform .2s;
}
.hero__mini:hover { color: var(--ink); transform: translateY(-4px) rotate(0deg) !important; z-index: 5; }
.hero__mini:nth-child(1) { top: 0; right: 0; transform: rotate(3deg); z-index: 3; }
.hero__mini:nth-child(2) { top: 110px; left: 0; transform: rotate(-4deg); z-index: 2; }
.hero__mini:nth-child(3) { top: 220px; right: 6%; transform: rotate(1.5deg); z-index: 1; }
.hero__mini-img { aspect-ratio: 16 / 7; background: var(--brand-tint) center / cover no-repeat; }
.hero__mini-body { padding: 12px 16px 14px; }
.hero__mini-body p { margin: 0; font-size: .72rem; color: var(--muted); font-weight: 700; }
.hero__mini-body strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-head); font-size: .92rem; line-height: 1.5; }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
	.hero__stack { display: none; }
}

/* ---------- セクション ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section__title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 900; }
.section__title small { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 700; color: var(--heart); letter-spacing: .18em; margin-bottom: 2px; }
.section__more { font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.section__more::after { content: " →"; }

/* カテゴリーチップ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .55em 1.1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--c, var(--brand)); background: var(--surface); color: var(--ink); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); flex: none; }
.chip small { color: var(--muted); font-weight: 400; }

/* ---------- カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards--4 { grid-template-columns: 1fr; gap: 18px; } }

.card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--surface); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--brand-tint), #eef2f8); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; color: var(--brand); opacity: .55; font-size: 1.1rem; letter-spacing: .1em; }
.card__platform {
	position: absolute; left: 12px; top: 12px; padding: .25em .75em; border-radius: 999px;
	background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .04em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__cat { display: inline-flex; align-items: center; gap: .45em; font-size: .75rem; font-weight: 700; color: var(--c, var(--brand)); }
.card__cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); }
.card__title { margin: 0; font-size: 1.02rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; color: var(--muted); }
.card__goal { color: var(--heart); font-weight: 700; }

/* 大きい1枚目 */
.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.feature .card--lead .card__media { aspect-ratio: 16 / 10; }
.feature .card--lead .card__title { font-size: 1.35rem; -webkit-line-clamp: 3; }
.feature .card--lead .card__excerpt { -webkit-line-clamp: 3; font-size: .92rem; }
.feature__side { display: grid; gap: 24px; grid-template-rows: 1fr 1fr; }
.feature__side .card { flex-direction: row; }
.feature__side .card__media { aspect-ratio: auto; width: 42%; flex: none; }
.feature__side .card__title { font-size: .95rem; }
@media (max-width: 900px) {
	.feature { grid-template-columns: 1fr; }
	.feature__side .card { flex-direction: column; }
	.feature__side .card__media { width: auto; aspect-ratio: 16 / 9; }
}

/* プラットフォーム */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.platforms a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
	text-decoration: none; color: var(--ink); font-weight: 700; font-family: var(--font-head);
}
.platforms a:hover { border-color: var(--brand); color: var(--brand-deep); }
.platforms small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: .78rem; }

/* 3つの特徴 */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillar__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 14px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { margin: 0 0 6px; font-size: 1.1rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .92rem; }

/* 情報提供 CTA */
.submit-band {
	position: relative; overflow: hidden; border-radius: 24px; padding: 48px;
	background: linear-gradient(135deg, #fff1ee, #fff8f6); border: 1px solid #f7d9d4;
	display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start;
}
.submit-band h2 { margin: 0 0 12px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 900; }
.submit-band p { color: var(--ink-soft); }
@media (max-width: 900px) { .submit-band { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; } }
.frj-form { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.frj-form p { margin: 0 0 14px; }
.frj-form label { font-weight: 700; font-size: .88rem; }
.frj-form input[type="url"], .frj-form input[type="text"], .frj-form input[type="email"], .frj-form textarea {
	width: 100%; max-width: none; margin-top: 4px; padding: .75em .9em; font: inherit; font-weight: 400;
	border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.frj-form input:focus, .frj-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); background: #fff; }

.frj-form button { font-family: var(--font-head); font-size: 1rem; padding: .95em 2.2em; box-shadow: 0 6px 18px rgba(236, 95, 82, .28); }

/* ---------- 一覧ページ ---------- */
.page-hero {
	position: relative; overflow: hidden; color: #fff; padding: 56px 0 44px;
	/* トップページのヒーローと同じ紺のグラデーション */
	background:
		radial-gradient(900px 420px at 90% -20%, rgba(255, 180, 168, .3), transparent 60%),
		radial-gradient(700px 420px at -10% 120%, rgba(236, 95, 82, .3), transparent 55%),
		linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, #1d5596 100%);
}
.page-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
	background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero__label { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; color: var(--sun); }
.page-hero h1 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; color: #fff; }
.page-hero p { margin: 10px 0 0; color: rgba(255, 255, 255, .85); }
.page-hero .chips { margin-top: 20px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty { text-align: center; padding: 64px 0; color: var(--muted); }

/* ---------- 記事ページ ---------- */
.article-head {
	position: relative; overflow: hidden; color: #fff; padding: 44px 0 36px;
	/* トップページ・一覧ページと同じ紺のグラデーション */
	background:
		radial-gradient(900px 420px at 90% -20%, rgba(255, 180, 168, .3), transparent 60%),
		radial-gradient(700px 420px at -10% 120%, rgba(236, 95, 82, .3), transparent 55%),
		linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, #1d5596 100%);
}
.article-head::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
	background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.article-head .wrap { position: relative; z-index: 1; }
.article-head .crumbs, .article-head .crumbs a { color: rgba(255, 255, 255, .72); }
.article-head .crumbs a:hover { color: #fff; }
.article-head h1 { color: #fff; }
.article-head .article-head__meta { color: rgba(255, 255, 255, .78); }
.article-head .article-head__meta a { color: #ffd3cc; }
.article-head .wrap, .article-body .wrap { max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 16px; padding: 0; list-style: none; font-size: .78rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .4em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.article-head__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag-pill { display: inline-flex; align-items: center; gap: .45em; padding: .3em .9em; border-radius: 999px; font-size: .78rem; font-weight: 700; text-decoration: none; background: var(--brand-tint); color: var(--brand-deep); }
.tag-pill--cat { background: var(--brand-tint); background: color-mix(in srgb, var(--c, var(--brand)) 14%, white); color: var(--c, var(--brand-deep)); }
.tag-pill--cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); }
.article-head h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2.15rem); font-weight: 900; line-height: 1.5; }
.article-head__meta { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

.article-body { padding: 40px 0 72px; }
.entry { font-size: 1.02rem; }
.entry > * + * { margin-top: 1.3em; }
.entry p { margin: 0; }
.entry p + p { margin-top: 1.2em; }
.entry h2 { font-size: 1.35rem; margin: 2.4em 0 .8em; padding-left: 14px; border-left: 5px solid var(--heart); }
.entry h3 { font-size: 1.15rem; margin: 2em 0 .6em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry blockquote { margin: 1.5em 0; padding: 1em 1.4em; background: var(--surface); border-left: 4px solid var(--line); color: var(--ink-soft); }

/* プラグインの出力をテーマに合わせて整える */
.entry .frj-card { border: 0; box-shadow: var(--shadow); border-radius: 18px; margin-bottom: 2.4em; }
.entry .frj-card__facts dd { font-family: var(--font-head); }
.entry .frj-points, .entry .frj-why, .entry .frj-comment { margin-top: 2.6em; }
.entry .frj-points h2, .entry .frj-why h2 { border-left-color: var(--brand); }
.entry .frj-points ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.entry .frj-points li {
	position: relative; margin: 0; padding: 14px 16px 14px 48px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line); font-weight: 700;
}
.entry .frj-points li::before {
	content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
	background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.entry .frj-why { padding: 24px 26px; background: var(--brand-tint); border-radius: 16px; }
.entry .frj-why h2 { margin-top: 0; border: 0; padding: 0; color: var(--brand-deep); }
.entry .frj-comment { border-radius: 0 16px 16px 0; background: var(--frj-soft); }
.entry .frj-cta { margin: 2.6em 0 1em; }
.entry .frj-card__button { font-family: var(--font-head); padding: .9em 1.8em; box-shadow: 0 6px 18px rgba(236, 95, 82, .28); }
.entry .frj-ai-note { padding-top: 1.4em; border-top: 1px dashed var(--line); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tags a { padding: .3em .9em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); text-decoration: none; }
.post-tags a::before { content: "#"; color: var(--muted); margin-right: 1px; }
.post-tags a:hover { border-color: var(--brand); color: var(--brand); }

.page-entry { background: var(--surface); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .page-entry { padding: 24px 20px; } }
.page-entry table { width: 100%; border-collapse: collapse; }
.page-entry th, .page-entry td { padding: .7em .9em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.page-entry th { width: 30%; background: var(--paper); }

/* ---------- フッター ---------- */
.site-footer { background: #0b1d33; color: rgba(255, 255, 255, .78); padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
.footer-about .brand { color: #fff; margin-bottom: 14px; }
.footer-about .brand__tag { color: rgba(255, 255, 255, .6); }
.footer-about p { font-size: .88rem; margin: 0; }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .16em; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
/* 関連サイト */
.footer-network { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-network ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-network a { display: inline-flex; align-items: baseline; gap: .45em; font-size: .86rem; }
.footer-network small { font-size: .72rem; color: rgba(255, 255, 255, .45); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: rgba(255, 255, 255, .55); }

/* WordPress 標準クラス */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .8rem; color: var(--muted); }

/* 言語切り替え */
.gnav .gnav__lang a { border: 1px solid var(--line); background: var(--surface); }
.gnav .gnav__lang a:hover { border-color: var(--brand); }

/* 編集部の注目 */
.picks { background: linear-gradient(180deg, var(--paper) 0%, #fff6f4 100%); }
.picks__note { margin: 0; font-size: .82rem; color: var(--muted); max-width: 36em; }
.card--pick { box-shadow: 0 0 0 2px var(--sun), var(--shadow); }
.card--pick .card__media::after {
	content: "注目"; position: absolute; right: 12px; top: 12px; padding: .25em .75em; border-radius: 999px;
	background: var(--sun); color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .08em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
html[lang="en"] .card--pick .card__media::after { content: "PICK"; }

/* 毎日のまとめ記事 */
.entry .frj-digest-img { margin: .6em 0 .4em; }
.entry .frj-digest-img img { display: block; width: 100%; max-height: 360px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { color: var(--brand); }
.frj-digest__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: dg; }
.frj-digest__list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); }
.frj-digest__list h3 { margin: 0 0 4px; font-size: 1rem; }
.frj-digest__list p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.frj-digest__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
@media (max-width: 600px) { .frj-digest__list li { grid-template-columns: 1fr; } }

/* 寄付 */
.donate-band {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center;
	padding: 40px 44px; border-radius: 24px; color: #fff;
	background: radial-gradient(600px 300px at 100% 0%, rgba(255, 180, 168, .3), transparent 60%), linear-gradient(135deg, var(--brand-deep), var(--brand));
}
.donate-band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 900; }
.donate-band p { color: rgba(255, 255, 255, .88); margin: 0; }
.donate-band__label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; color: var(--sun) !important; margin-bottom: 6px !important; }
.donate-band .frj-donate__btn--sub { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.donate-band .frj-donate__note { color: rgba(255, 255, 255, .7); }
@media (max-width: 800px) { .donate-band { grid-template-columns: 1fr; padding: 28px 22px; } }

/* 本文の枠・見出しのイラスト（v1.13.1） */
.entry .frj-body { margin: 0 0 2.4em; padding: 24px 26px; background: #fff8e6; border: 1px solid #f0dfae; border-left: 5px solid #f2b01e; border-radius: 16px; }
.entry .frj-body > :first-child { margin-top: 0; }
.entry .frj-body > :last-child { margin-bottom: 0; }
.entry .frj-points h2, .entry .frj-why h2, .entry .frj-comment__label { display: flex; align-items: center; gap: 12px; }
.entry .frj-points h2::before, .entry .frj-why h2::before, .entry .frj-comment__label::before {
	content: ""; flex: none; width: 56px; height: 56px; background: center / contain no-repeat;
}
.entry .frj-points h2::before { background-image: url("assets/illust/points.svg"); }
.entry .frj-why h2::before { background-image: url("assets/illust/why.svg"); }
.entry .frj-comment__label::before { background-image: url("assets/illust/editor.svg"); width: 64px; height: 64px; }
.entry .frj-comment__label { font-size: 1.05rem; }
.card__react { color: var(--heart, #ec5f52); font-weight: 700; margin-left: auto; }
.cards--popular { margin-top: 8px; }
@media (max-width: 800px) { .cards--popular { grid-template-columns: 1fr; } }

/* ---- v1.15.0 目的別の入口・絞り込み・読みやすさ ---- */
.entry-points { padding-top: 28px; }
.entry-points__title { margin: 0 0 14px; font-size: 1.1rem; font-family: var(--font-head); color: var(--brand); }
.entries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.entry { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 44px; padding: 20px; border: 2px solid var(--brand); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: background .15s, transform .1s; }
.entry:hover { background: var(--brand-tint); color: var(--ink); }
.entry:active { transform: scale(.99); }
.entry--heart { border-color: var(--heart); }
.entry--heart:hover { background: var(--heart-tint); }
.entry__icon { color: var(--brand); }
.entry--heart .entry__icon { color: #c8392d; }
.entry strong { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.4; }
.entry span:last-child { color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
@media (max-width: 800px) { .entries { grid-template-columns: 1fr; } }

.card__learn { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--brand-tint); color: var(--ink); font-size: .85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__learn b { display: block; margin-bottom: 2px; font-size: .75rem; color: var(--brand); letter-spacing: .03em; }
.card__status { padding: .05em .6em; border-radius: 999px; font-weight: 700; }
.card__status--open { background: #e3f4ea; color: #14633a; }
.card__status--closed { background: #eceff3; color: #3a4a5f; }

.finder, .finder-help { margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.finder > summary, .finder-help > summary { padding: 14px 18px; min-height: 44px; box-sizing: border-box; cursor: pointer; font-weight: 700; font-family: var(--font-head); color: var(--brand); }
.finder__form { padding: 0 18px 18px; }
.finder__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 16px; }
.finder__grid p { margin: 0; }
.finder label { display: block; margin-bottom: 4px; font-weight: 700; font-size: .9rem; }
.finder select { width: 100%; min-height: 48px; padding: 8px 10px; font: inherit; font-size: 16px; border: 1px solid #8a97ad; border-radius: 10px; background: #fff; color: var(--ink); }
.finder__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.finder__actions .btn { min-height: 48px; }
.finder__note { margin: 12px 0 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.7; }
.finder-help dl { margin: 0; padding: 0 18px 14px; }
.finder-help dl div { padding: 8px 0; border-top: 1px solid var(--line); }
.finder-help dt { font-weight: 700; }
.finder-help dd { margin: 2px 0 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.finder-result { margin: 8px 0 20px; }
.finder-result__count { margin: 0 0 8px; }
.finder-result__conds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.finder-result__conds a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px; border: 1px solid var(--brand); border-radius: 999px; color: var(--brand); text-decoration: none; font-size: .9rem; background: var(--surface); }
.finder-result__conds a:hover { background: var(--brand-tint); }
.empty--finder { text-align: left; max-width: 640px; margin: 0 auto; padding: 24px 0; color: var(--ink); }
.empty--finder ul { padding-left: 1.2em; line-height: 1.9; }

/* 読みやすさ：小さい補助文字を少し大きく、濃く */
.card__excerpt { color: var(--ink-soft); font-size: .9rem; }
.card__meta { font-size: .8rem; color: var(--ink-soft); }
.picks__note { color: var(--ink-soft); }
.frj-note { margin: 0 0 .8em; font-size: .85rem; color: var(--ink-soft); line-height: 1.7; }
.entry .frj-card__note, .frj-card__note { margin: 0; font-size: .85rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 600px) { .finder__actions .btn { width: 100%; justify-content: center; } }

/* ---- v1.15.1 文字・ボタンの色のコントラスト（WCAG AA 4.5:1 以上）---- */
:root { --heart-ink: #c8392d; --heart-ink-deep: #a82d23; --frj-accent: var(--heart-ink); }
.btn--heart, .gnav .gnav__cta a { background: var(--heart-ink); }
.btn--heart:hover, .gnav .gnav__cta a:hover { background: var(--heart-ink-deep); color: #fff; }
.card__goal, .card__react, .section__title small, .frj-form label span { color: var(--heart-ink); }
.card__cat, .tag-pill--cat { color: var(--ink-soft); }
.frj-card__button:hover { background: var(--heart-ink-deep); filter: none; }
.section__title small[style] { color: var(--ink-soft) !important; }
