/*
 * トップページ(2026-09-25 作り直し)
 *
 * 白と黒を交互に重ねる。英字の見出しは Anton、日本語の見出しは M PLUS Rounded 1c、
 * 本文は Zen Maru Gothic。飾りは犬猫のシルエット(assets/img)と肉球だけ。
 * 画像は元の比率のまま出す(切って見えなくしない)。
 * クラスは wnl-h-*。追加CSSが縛っている旧クラスとは名前を分けてある。
 */

.wnl-h {
	--h-ink: #171717; /* 足もとの黒帯と同じ。つなぎ目を見せない */
	--h-paper: #fff;
	--h-gray: #f2f2ef;
	--h-line: rgba(13, 13, 13, .14);
	--h-muted: #555;
	--h-on-dark: rgba(255, 255, 255, .72);
	--h-line-dark: rgba(255, 255, 255, .16);
	--h-display: "Anton", "Impact", sans-serif;
	--h-heading: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
	--h-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", sans-serif;
	--h-shell: 1180px; /* 足もとの法務リンクと同じ幅。左端をそろえる */
	--h-gutter: clamp(24px, 4vw, 48px);
	--h-paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='4.6' cy='10' rx='2.3' ry='2.9' transform='rotate(-18 4.6 10)'/%3E%3Cellipse cx='9' cy='5.2' rx='2.3' ry='3' transform='rotate(-6 9 5.2)'/%3E%3Cellipse cx='15' cy='5.2' rx='2.3' ry='3' transform='rotate(6 15 5.2)'/%3E%3Cellipse cx='19.4' cy='10' rx='2.3' ry='2.9' transform='rotate(18 19.4 10)'/%3E%3Cpath d='M12 10.6c-2.9 0-6.2 4.1-6.2 7.1 0 1.9 1.5 3 3.2 2.7 1.2-.2 2-.8 3-.8s1.8.6 3 .8c1.7.3 3.2-.8 3.2-2.7 0-3-3.3-7.1-6.2-7.1z'/%3E%3C/svg%3E");

	color: var(--h-ink);
	background: var(--h-paper);
	font-family: var(--h-body);
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: .02em;
}

/* Astra が 544px 以下で本文の箱に左右 0.54em の余白を足し、黒い面が端まで届かなかった */
.wnl-v3-front-active #content .ast-container {
	padding-left: 0;
	padding-right: 0;
}

.wnl-h p {
	margin: 0;
}

/* 行末に「す。」だけが1字ぽつんと残る折れ方を避ける */
.wnl-h h2,
.wnl-h h3 {
	word-break: auto-phrase;
	text-wrap: balance;
}

.wnl-h p,
.wnl-h li {
	/* 本文は文節で折る(「T / シャツ」「充て / る」のような語の途中の割れを防ぐ)。
	   text-wrap: pretty と重ねると Chrome で「方 / 々」と割れたので、重ねない(2026-09-25 実測) */
	word-break: auto-phrase;
}

.wnl-h-wrap {
	width: min(100% - var(--h-gutter) * 2, var(--h-shell));
	margin-inline: auto;
}

.wnl-h-sec {
	position: relative;
	/* 本人 2026-09-25「全体的に長い。余白をもう少し短く」→ 最大150px から96px に */
	padding: clamp(64px, 6.6vw, 96px) 0;
}

.wnl-h-dark {
	color: #fff;
	background: var(--h-ink);
}

.wnl-h-nobr {
	white-space: nowrap;
}

.wnl-h-sp,
.wnl-h-sp-block {
	display: none;
}

/* ---------- 肉球・小見出し・ラベル ---------- */

.wnl-h-paw {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--h-paw) no-repeat center / contain;
	mask: var(--h-paw) no-repeat center / contain;
}

.wnl-h-over {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px !important;
	font-family: var(--h-display);
	font-size: .95rem;
	font-weight: 400;
	letter-spacing: .2em;
	line-height: 1;
	text-transform: uppercase;
}

.wnl-h-over .wnl-h-paw {
	font-size: 1.15em;
	transform: rotate(-14deg);
}

.wnl-h-over::after {
	width: 48px;
	height: 1px;
	background: currentColor;
	opacity: .4;
	content: "";
}

.wnl-h-label {
	margin: 0 0 10px !important;
	color: var(--h-muted);
	font-family: var(--h-display);
	font-size: .8rem;
	font-weight: 400;
	letter-spacing: .18em;
	line-height: 1.3;
}

.wnl-h-dark .wnl-h-label {
	color: rgba(255, 255, 255, .56);
}

/* ---------- 見出し ---------- */

.wnl-h h2 {
	margin: 0;
	font-family: var(--h-heading);
	font-size: clamp(2rem, 3.8vw, 3.4rem);
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.3;
}

.wnl-h h2,
.wnl-h h3,
.wnl-h h3 a {
	color: inherit;
}

.wnl-h h3 {
	margin: 0;
	font-family: var(--h-heading);
	font-weight: 800;
	line-height: 1.45;
}

.wnl-h-head {
	margin-bottom: clamp(32px, 3.6vw, 52px);
}

.wnl-h-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
}

.wnl-h-head--center {
	text-align: center;
}

.wnl-h-head--center .wnl-h-over {
	justify-content: center;
}

.wnl-h-head--center .wnl-h-over::before {
	width: 48px;
	height: 1px;
	background: currentColor;
	opacity: .4;
	content: "";
	order: -1;
}

.wnl-h-head__lead {
	max-width: 30em;
	margin-top: 28px !important;
	color: var(--h-muted);
}

/* ---------- ボタン・文字リンク ---------- */

.wnl-h-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.wnl-h-btn {
	position: relative;
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 14px 28px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--h-heading);
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.3;
	white-space: nowrap;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.wnl-h-btn::after {
	width: 16px;
	height: 8px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 3.4h13.2L10.6.8l.8-.8L15.4 4l-4 4-.8-.8 2.6-2.6H0z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 3.4h13.2L10.6.8l.8-.8L15.4 4l-4 4-.8-.8 2.6-2.6H0z'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .25s ease;
	content: "";
}

.wnl-h-btn:hover::after,
.wnl-h-btn:focus-visible::after {
	transform: translateX(4px);
}

.wnl-h .wnl-h-btn--black {
	border-color: var(--h-ink);
	color: #fff;
	background: var(--h-ink);
}

.wnl-h .wnl-h-btn--black:hover,
.wnl-h .wnl-h-btn--black:focus-visible {
	color: var(--h-ink);
	background: transparent;
}

.wnl-h .wnl-h-btn--white {
	border-color: #fff;
	color: var(--h-ink);
	background: #fff;
}

.wnl-h .wnl-h-btn--white:hover,
.wnl-h .wnl-h-btn--white:focus-visible {
	color: #fff;
	background: transparent;
}

.wnl-h .wnl-h-btn--line-white {
	border-color: rgba(255, 255, 255, .6);
	color: #fff;
	background: transparent;
}

.wnl-h .wnl-h-btn--line-white:hover,
.wnl-h .wnl-h-btn--line-white:focus-visible {
	border-color: #fff;
	color: var(--h-ink);
	background: #fff;
}

.wnl-h-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-top: 36px;
	padding-bottom: 6px;
	border-bottom: 1.5px solid currentColor;
	font-family: var(--h-heading);
	font-size: .95rem;
	font-weight: 800;
	line-height: 1.4;
}

.wnl-h-link::after {
	width: 16px;
	height: 8px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 3.4h13.2L10.6.8l.8-.8L15.4 4l-4 4-.8-.8 2.6-2.6H0z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 3.4h13.2L10.6.8l.8-.8L15.4 4l-4 4-.8-.8 2.6-2.6H0z'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .25s ease;
	content: "";
}

.wnl-h-link:hover::after,
.wnl-h-link:focus-visible::after {
	transform: translateX(6px);
}

.wnl-h-head--row .wnl-h-link {
	margin-top: 0;
}

/* ==================================================================
   1. 最初の画面
   ================================================================== */

.wnl-h-hero {
	position: relative;
	display: flex;
	min-height: clamp(620px, calc(100svh - 100px), 920px);
	align-items: flex-end;
	overflow: hidden;
	color: #fff;
	background: var(--h-ink);
	isolation: isolate;
}

.wnl-h-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-position: center 30%;
	background-size: cover;
	animation: wnl-h-hero-zoom 14s ease-out both;
}

/* 下と左を黒に沈めて、文字を立たせる */
.wnl-h-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 30%, rgba(0, 0, 0, 0) 62%),
		linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 55%);
	content: "";
}

@keyframes wnl-h-hero-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

.wnl-h-hero__inner {
	padding: 0 0 clamp(64px, 8vw, 104px);
}

.wnl-h-hero__title {
	margin: 0 0 0 -.04em;
	color: #fff;
	font-family: var(--h-display);
	font-size: clamp(4.2rem, 13.2vw, 12.5rem);
	font-weight: 400;
	letter-spacing: .005em;
	line-height: .92;
	white-space: nowrap;
}

.wnl-h-hero__subtitle {
	margin-top: 24px !important;
	font-family: var(--h-heading);
	font-size: clamp(1.25rem, 2.4vw, 2rem);
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
}

.wnl-h-hero__intro {
	max-width: 36em;
	margin-top: 20px !important;
	color: rgba(255, 255, 255, .8);
	font-size: .95rem;
}

.wnl-h-hero__scroll {
	position: absolute;
	right: var(--h-gutter);
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	font-family: var(--h-display);
	font-size: .72rem;
	letter-spacing: .3em;
	writing-mode: vertical-rl;
}

.wnl-h-hero__scroll::after {
	width: 1px;
	height: 88px;
	background: linear-gradient(#fff 50%, rgba(255, 255, 255, .25) 50%) 0 0 / 1px 200%;
	animation: wnl-h-scroll 2.2s ease-in-out infinite;
	content: "";
}

@keyframes wnl-h-scroll {
	from { background-position: 0 100%; }
	to { background-position: 0 -100%; }
}

/* ==================================================================
   3. MISSION 01
   ================================================================== */

.wnl-h-mission__title em {
	font-style: normal;
}

/* 見出しは一段で(本人 2026-09-25「バランスが悪い、一段にして」)。
   全角30字ぶん。器(1180px)に収まる大きさにして、折らない。スマホは改行を残す。
   「共闘」の下の灰色の帯は、字からずれて見えたので外した */
/* ---------- 3つの関わり方(2026-10-30) ----------
 * 写真のすぐ下の黒い帯。カードにせず、細い線で区切った目次として並べる。
 * 押せる面は段ぜんぶ。触れると白黒が反転する。 */

.wnl-h-ways {
	--way-pad: clamp(20px, 2.6vw, 36px);
	color: #fff;
	background: var(--h-ink);
	border-top: 1px solid var(--h-line-dark);
}

/* 段の内余白の分だけ外へ広げる。字の左端が下の節とそろい、反転した面は余白まで届く */
.wnl-h-ways__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	width: min(100% - var(--h-gutter) * 2 + var(--way-pad) * 2, var(--h-shell) + var(--way-pad) * 2);
}

.wnl-h-way {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"num en"
		"title title"
		"text text";
	align-items: baseline;
	column-gap: 14px;
	padding: 40px var(--way-pad) 44px;
	color: inherit;
	text-decoration: none;
	transition: background-color .3s ease, color .3s ease;
}

.wnl-h-way + .wnl-h-way {
	border-left: 1px solid var(--h-line-dark);
}

.wnl-h-way:hover,
.wnl-h-way:focus-visible {
	color: var(--h-ink);
	background: #fff;
}

.wnl-h-way:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}

.wnl-h-way__num {
	grid-area: num;
	font-family: var(--h-display);
	font-size: .85rem;
	letter-spacing: .18em;
	opacity: .55;
}

.wnl-h-way__en {
	grid-area: en;
	font-family: var(--h-display);
	font-size: clamp(2.4rem, 3.6vw, 3.4rem);
	letter-spacing: .04em;
	line-height: 1;
}

.wnl-h-way__title {
	grid-area: title;
	margin-top: 20px;
	font-family: var(--h-heading);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.5;
}

.wnl-h-way__text {
	grid-area: text;
	margin-top: 6px;
	font-size: .88rem;
	line-height: 1.8;
	opacity: .72;
	word-break: auto-phrase;
}

.wnl-h-way__arrow {
	position: absolute;
	top: 46px;
	right: var(--way-pad);
	width: 22px;
	height: 11px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 3.4h13.2L10.6.8l.8-.8L15.4 4l-4 4-.8-.8 2.6-2.6H0z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 3.4h13.2L10.6.8l.8-.8L15.4 4l-4 4-.8-.8 2.6-2.6H0z'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .25s ease;
}

.wnl-h-way:hover .wnl-h-way__arrow,
.wnl-h-way:focus-visible .wnl-h-way__arrow {
	transform: translateX(6px);
}

@media (max-width: 767px) {
	.wnl-h-ways__grid {
		grid-template-columns: 1fr;
	}

	.wnl-h-ways {
		--way-pad: 16px;
	}

	.wnl-h-way {
		padding: 22px calc(var(--way-pad) + 32px) 24px var(--way-pad);
	}

	.wnl-h-way + .wnl-h-way {
		border-top: 1px solid var(--h-line-dark);
		border-left: 0;
	}

	.wnl-h-way__en {
		font-size: 2rem;
	}

	.wnl-h-way__title {
		margin-top: 10px;
	}

	.wnl-h-way__arrow {
		top: 50%;
		right: var(--way-pad);
		margin-top: -5px;
	}
}

@media (min-width: 768px) {
	.wnl-h .wnl-h-mission__title {
		font-size: min(2.3rem, calc((100vw - var(--h-gutter) * 2) / 31));
		white-space: nowrap;
	}

	.wnl-h-mission__title br {
		display: none;
	}
}

.wnl-h-mission__body {
	display: grid;
	/* 一文一行(本人の書き方)。いちばん長い一文(38字)が1行に入る幅を文章の列に取る。
	   写真と文章の間が空きすぎて文章が浮いて見えた(本人 2026-09-25)ので、間を詰めて文字を大きく */
	grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
	align-items: center;
	gap: clamp(36px, 4vw, 52px);
}

/* 絵のうしろに黒い板を一枚ずらして置く */
.wnl-h-mission__media {
	position: relative;
	margin: 0 20px 20px 0;
}

.wnl-h-mission__media::before {
	position: absolute;
	inset: 20px -20px -20px 20px;
	z-index: 0;
	border-radius: 12px;
	background: var(--h-ink);
	content: "";
}

.wnl-h-mission__media img {
	position: relative;
	z-index: 1;
	border-radius: 12px;
}

.wnl-h-mission__text p {
	font-size: clamp(1rem, 1.25vw, 1.12rem);
	letter-spacing: 0;
	line-height: 2.1;
}

.wnl-h-mission__text p + p {
	margin-top: 1.5em;
}

/* PC:文章の列は、いちばん長い一文がちょうど入る幅。残りを写真に。一文を折らない */
@media (min-width: 1280px) {
	.wnl-h-mission__body {
		grid-template-columns: minmax(0, 1fr) max-content;
	}

	.wnl-h-mission__text p {
		font-size: 1.06rem;
		white-space: nowrap;
	}
}

.wnl-h-mission__close {
	padding-left: 18px;
	border-left: 3px solid var(--h-ink);
	font-family: var(--h-heading);
	font-size: clamp(1.2rem, 1.6vw, 1.4rem) !important;
	font-weight: 800;
	line-height: 1.7 !important;
}

/* ==================================================================
   4. MISSION 02
   ================================================================== */

.wnl-h-projects__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 56px);
}

.wnl-h-project__image {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #1c1c1c;
}

.wnl-h-project__image img {
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.wnl-h-project:hover .wnl-h-project__image img {
	transform: scale(1.04);
}

.wnl-h-project__body {
	padding-top: 30px;
	border-top: 0;
}

.wnl-h-project h3 {
	margin-bottom: 16px;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.wnl-h-project__body > p:last-child {
	color: var(--h-on-dark);
	font-size: .95rem;
	line-height: 2;
}

/* ==================================================================
   5. 活動を支援する
   ================================================================== */

.wnl-h-support {
	overflow: hidden;
}

/* 背景に、歩く犬と猫を薄く大きく */
.wnl-h-support::before {
	position: absolute;
	right: -40px;
	bottom: -6px;
	width: min(560px, 60vw);
	aspect-ratio: 1362 / 570;
	background: var(--h-ink);
	opacity: .045;
	-webkit-mask: var(--wnl-h-walk) no-repeat right bottom / contain;
	mask: var(--wnl-h-walk) no-repeat right bottom / contain;
	pointer-events: none;
	content: "";
}

.wnl-h-plans {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
}

.wnl-h-plan {
	display: flex;
	flex-direction: column;
	padding: 40px 32px 32px;
	border: 1px solid var(--h-ink);
	border-radius: 12px;
	background: #fff;
}

.wnl-h-plan--main {
	color: #fff;
	background: var(--h-ink);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
	transform: translateY(-14px);
}

.wnl-h-plan--main .wnl-h-label {
	color: rgba(255, 255, 255, .6);
}

.wnl-h-plan--main.wnl-v3-reveal:not(.is-visible) {
	transform: translateY(8px);
}

.wnl-h-plan--main.wnl-v3-reveal.is-visible {
	transform: translateY(-14px);
}

.wnl-h-plan__price {
	margin: 6px 0 18px !important;
	font-family: var(--h-display) !important;
	font-size: clamp(3.4rem, 5.2vw, 4.6rem);
	font-weight: 400 !important;
	letter-spacing: .01em;
	line-height: 1 !important;
}

.wnl-h-plan__price span {
	margin-right: 4px;
	font-size: .42em;
	vertical-align: .95em;
}

.wnl-h-plan__lead {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--h-line);
	font-family: var(--h-heading);
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.6;
}

.wnl-h-plan--main .wnl-h-plan__lead {
	border-color: var(--h-line-dark);
}

.wnl-h-plan ul {
	flex: 1;
	margin: 20px 0 32px;
	padding: 0;
	list-style: none;
}

.wnl-h-plan li {
	position: relative;
	margin: 0;
	padding-left: 26px;
	font-size: .92rem;
	line-height: 1.8;
}

.wnl-h-plan li + li {
	margin-top: 8px;
}

.wnl-h-plan li::before {
	position: absolute;
	top: .45em;
	left: 0;
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--h-paw) no-repeat center / contain;
	mask: var(--h-paw) no-repeat center / contain;
	opacity: .85;
	content: "";
}

.wnl-h-plan__btn {
	width: 100%;
}

.wnl-h-plan--main .wnl-h-plan__btn:hover,
.wnl-h-plan--main .wnl-h-plan__btn:focus-visible {
	border-color: #fff;
}

/* ==================================================================
   6. Kind Leaf
   ================================================================== */

.wnl-h-leaf__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 6vw, 88px);
}

/* 絵(1448×1086)の比率に合わせ、上下を切らない */
.wnl-h-leaf .wnl-v3-enkanju-scene {
	min-height: 0;
	aspect-ratio: 1448 / 1086;
	border-radius: 12px;
}

.wnl-h-leaf__copy h2 {
	margin-bottom: 28px;
}

.wnl-h-leaf__copy > p:not(.wnl-h-over) {
	color: var(--h-on-dark);
	line-height: 2.05;
}

/* ==================================================================
   7. スポンサー・協力者
   ================================================================== */

.wnl-h-partners__inner {
	display: block;
}

/* 見出しと説明はそれぞれ一段で(本人 2026-09-25)。協力者はこれから増えるので、
   下に小さな窓を横に並べる(1枚を大きく見せる形はやめた) */
.wnl-h-partners .wnl-h-head {
	margin-bottom: clamp(28px, 3vw, 40px);
}

.wnl-h-partners .wnl-h-head__lead {
	max-width: none;
}

.wnl-h-partners__grid {
	display: grid;
	/* auto-fill:1社でも窓は小さいまま。PCで6枚、スマホで2枚ずつ並ぶ */
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 16px;
}

.wnl-h-partner {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--h-ink);
	border-radius: 10px;
	background: #fff;
	transition: transform .3s ease, box-shadow .3s ease;
}

a.wnl-h-partner:hover,
a.wnl-h-partner:focus-visible {
	box-shadow: 5px 5px 0 var(--h-ink);
	transform: translate(-3px, -3px);
}

.wnl-h-partner__logo {
	display: grid;
	aspect-ratio: 3 / 2;
	place-items: center;
	padding: 16px 20px;
	background: var(--h-gray);
}

.wnl-h-partner__logo img {
	width: auto !important;
	max-width: 100%;
	max-height: 72px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.wnl-h-partner__logo span {
	font-family: var(--h-display);
	font-size: 1.8rem;
	opacity: .3;
}

.wnl-h-partner__meta {
	padding: 12px 14px 14px;
	border-top: 1px solid var(--h-ink);
}

.wnl-h-partner .wnl-h-label {
	margin-bottom: 4px !important;
	font-size: .7rem;
}

.wnl-h-partner h3 {
	font-size: 1rem;
}

/* ==================================================================
   8. 仲間・スタッフ
   ================================================================== */

.wnl-h-members {
	overflow: hidden;
}

/* うしろに大きな白抜きの英字 */
.wnl-h-giant {
	position: absolute;
	top: clamp(40px, 6vw, 80px);
	right: -0.04em;
	color: transparent;
	font-family: var(--h-display);
	font-size: clamp(6rem, 17vw, 16rem);
	letter-spacing: .02em;
	line-height: 1 !important;
	white-space: nowrap;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .16);
	pointer-events: none;
	user-select: none;
}

.wnl-h-members .wnl-h-wrap {
	position: relative;
}

.wnl-h-members__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}

.wnl-h-member__image {
	position: relative;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 12px;
	background: #000;
	aspect-ratio: 1 / 1;
}

.wnl-h-member__image::after {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}

.wnl-h-member__image img {
	height: 100% !important;
	object-fit: cover;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.wnl-h-member:hover .wnl-h-member__image img {
	transform: scale(1.04);
}

.wnl-h-member__image span {
	display: grid;
	height: 100%;
	place-items: center;
	font-family: var(--h-display);
	font-size: 2rem;
	opacity: .4;
}

.wnl-h-member h3 {
	margin-bottom: 6px;
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
	line-height: 1.3;
}

.wnl-h-member__role {
	color: var(--h-on-dark);
	font-size: .92rem;
}

/* ==================================================================
   9. 活動報告
   ================================================================== */

.wnl-h-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.wnl-h-post__image {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: var(--h-gray);
}

.wnl-h-post__image > span {
	display: grid;
	aspect-ratio: 16 / 9;
	place-items: center;
	font-family: var(--h-display);
	font-size: 1.6rem;
	opacity: .3;
}

.wnl-h-post__body {
	padding-top: 22px;
}

.wnl-h-post time {
	display: block;
	margin-bottom: 8px;
	font-family: var(--h-display);
	font-size: .85rem;
	letter-spacing: .16em;
}

.wnl-h-post h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.wnl-h-post__body p {
	color: var(--h-muted);
	font-size: .92rem;
}

/* 記事が無いときの1枚は、横長に大きく */
.wnl-h-post--empty {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--h-ink);
	border-radius: 12px;
}

.wnl-h-post--empty .wnl-h-post__image {
	border-radius: 0;
	border-right: 1px solid var(--h-ink);
}

.wnl-h-post--empty .wnl-h-post__body {
	padding: 40px clamp(28px, 4vw, 56px);
}

.wnl-h-post--empty time {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	color: #fff;
	background: var(--h-ink);
	font-size: .75rem;
	line-height: 1;
}

.wnl-h-post--empty h3 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

/* ==================================================================
   10. 商品購入と活動支援
   ================================================================== */

.wnl-h-shop {
	overflow: hidden;
}

.wnl-h-shop__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(40px, 7vw, 110px);
}

/* 白地の円の絵。黒の上に白い札として置く */
.wnl-h-shop__image {
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
}

.wnl-h-shop__copy h2 {
	margin-bottom: 32px;
}

.wnl-h-shop__points {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--h-line-dark);
	list-style: none;
}

.wnl-h-shop__points li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--h-line-dark);
	color: rgba(255, 255, 255, .88);
	font-size: 1rem;
	line-height: 1.7;
}

.wnl-h-shop__points li::before {
	flex: none;
	width: 14px;
	height: 14px;
	background: #fff;
	-webkit-mask: var(--h-paw) no-repeat center / contain;
	mask: var(--h-paw) no-repeat center / contain;
	transform: translateY(1px) rotate(-14deg);
	content: "";
}

/* ==================================================================
   タブレット
   ================================================================== */

/* 3枚並べると説明文が2行に折れる幅。1列に積む(説明文は1行のまま・文字は小さくしない) */
@media (max-width: 1100px) {
	.wnl-h-plans {
		grid-template-columns: 1fr;
		max-width: 560px;
		margin-inline: auto;
		gap: 20px;
	}

	.wnl-h-plan--main,
	.wnl-h-plan--main.wnl-v3-reveal.is-visible {
		transform: none;
	}

	.wnl-h-leaf__inner {
		grid-template-columns: 1fr;
	}

	.wnl-h-leaf__copy {
		order: -1;
	}
}


/* ==================================================================
   スマホ
   ================================================================== */

@media (max-width: 767px) {
	.wnl-h {
		--h-gutter: 24px;
		line-height: 1.85;
	}

	.wnl-h-pc {
		display: none !important;
	}

	.wnl-h-sp {
		display: inline;
	}

	.wnl-h-sp-block {
		display: block;
	}

	.wnl-h-sec {
		padding: 56px 0;
	}

	.wnl-h h2 {
		font-size: clamp(1.85rem, 8.4vw, 2.3rem);
	}

	.wnl-h-head {
		margin-bottom: 28px;
	}

	.wnl-h-over {
		margin-bottom: 18px !important;
		font-size: .85rem;
	}

	.wnl-h-btn {
		min-height: 52px;
		padding: 13px 22px;
	}

	.wnl-h-actions .wnl-h-btn {
		flex: 1 1 0;
		padding-inline: 14px;
	}

	/* 最初の画面:文字は中央に置き、犬の口もとあたりに(2026-08-25 本人が明示) */
	.wnl-h-hero {
		min-height: min(640px, calc(100svh - 70px));
	}

	.wnl-h-hero__bg {
		background-position: 50% 30%;
	}

	.wnl-h-hero::before {
		background: linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .7) 34%, rgba(0, 0, 0, 0) 66%);
	}

	.wnl-h-hero__inner {
		padding-bottom: 44px;
		text-align: center;
	}

	.wnl-h-hero__title {
		margin: 0;
		/* 左右24pxの内側に収める(字の大きさの約5.3倍が横幅) */
		font-size: min(16.2vw, 4.6rem);
	}

	.wnl-h-hero__subtitle {
		margin-top: 16px !important;
		font-size: 1.15rem;
		letter-spacing: .06em;
	}

	/* 長い説明文はスマホでは出さない(以前からの扱い) */
	.wnl-h-hero__intro {
		display: none;
	}

	.wnl-h-hero__actions {
		margin-top: 26px;
		gap: 10px;
	}

	.wnl-h-hero__actions .wnl-h-btn {
		font-size: .88rem;
		gap: 8px;
	}

	.wnl-h-hero__actions .wnl-h-btn::after {
		display: none;
	}

	.wnl-h-hero__scroll {
		display: none;
	}

	/* MISSION 01:「その先に見出したのは、」を1行に収める */
	.wnl-h .wnl-h-mission__title {
		font-size: clamp(1.55rem, 7.3vw, 2rem);
		line-height: 1.4;
	}

	.wnl-h-mission__body {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.wnl-h-mission__media {
		margin: 0 14px 14px 0;
	}

	.wnl-h-mission__media::before {
		inset: 14px -14px -14px 14px;
		border-radius: 10px;
	}

	.wnl-h-mission__media img {
		border-radius: 10px;
	}

	.wnl-h-mission__text p {
		font-size: .98rem;
	}

	.wnl-h-mission__close {
		font-size: 1.1rem !important;
	}

	/* MISSION 02 */
	.wnl-h-projects__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.wnl-h-project__body {
		padding-top: 24px;
	}

	.wnl-h-project__image {
		border-radius: 10px;
	}

	.wnl-h-projects__more {
		margin-top: 48px;
	}

	.wnl-h-projects__more .wnl-h-btn {
		width: 100%;
	}

	/* 支援 */
	.wnl-h-plans {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.wnl-h-plan,
	.wnl-h-plan--main.wnl-v3-reveal.is-visible {
		transform: none;
	}

	.wnl-h-plan--main.wnl-v3-reveal:not(.is-visible) {
		transform: translateY(22px);
	}

	/* 説明文を1行に収めるため、枠の内側の余白で調整する(文字は小さくしない) */
	.wnl-h-plan {
		padding: 30px 16px 20px;
		border-radius: 12px;
		text-align: center;
	}

	.wnl-h-plan ul {
		display: inline-block;
		margin: 18px auto 26px;
		text-align: left;
	}

	/* 金額は中央、¥ は数字の左下に揃える(2026-08-25 本人が明示・スマホだけ) */
	.wnl-h-plan__price {
		font-size: 3.6rem;
	}

	.wnl-h-plan__price span {
		vertical-align: baseline;
	}

	.wnl-h-plan__lead {
		font-size: .94rem;
		white-space: nowrap;
	}

	/* 支援の入口の文字は小さくしない(2026-08-25 本人が明示) */
	.wnl-h-plan__btn {
		min-height: 54px;
		font-size: 1rem;
	}

	.wnl-h-support::before {
		width: 88vw;
		right: -24px;
	}

	/* Kind Leaf */
	.wnl-h-leaf__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.wnl-h-leaf .wnl-v3-enkanju-scene {
		min-height: 0;
		border-radius: 10px;
	}

	.wnl-h-leaf__copy {
		order: -1;
	}

	/* 協力者:小さな窓を2枚ずつ */
	.wnl-h-partners__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.wnl-h-head__lead {
		margin-top: 20px !important;
	}

	/* 仲間 */
	.wnl-h-giant {
		top: 30px;
		right: auto;
		left: 18px;
		font-size: 26vw;
	}

	.wnl-h-members__grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.wnl-h-member__image {
		margin-bottom: 18px;
		border-radius: 10px;
	}

	/* 活動報告 */
	.wnl-h-head--row {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.wnl-h-news {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.wnl-h-post--empty {
		grid-template-columns: 1fr;
		border-radius: 12px;
	}

	.wnl-h-post--empty .wnl-h-post__image {
		border-right: 0;
		border-bottom: 1px solid var(--h-ink);
	}

	.wnl-h-post--empty .wnl-h-post__body {
		padding: 26px 22px 30px;
	}

	/* 商品購入と活動支援 */
	.wnl-h-shop__inner {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.wnl-h-shop__image {
		border-radius: 12px;
	}

	.wnl-h-shop__points li {
		font-size: .95rem;
		letter-spacing: 0;
	}

	.wnl-h-shop .wnl-h-actions {
		flex-direction: column;
	}
}

/* 幅360px級の端末では、余白16pxだと支援の説明文(1行・文字は小さくしない)が8px入りきらず、カードが右にはみ出していた(2026-10-26 実測) */
@media (max-width: 374px) {
	.wnl-h-plan {
		padding-inline: 10px;
	}
}

/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
	.wnl-h-hero__bg,
	.wnl-h-hero__scroll::after {
		animation: none;
	}
}

/* ==================================================================
   動きは最初の画面だけ(2026-09-25)
   44か所すべてがスクロールでふわっと出る作りだった。どの節も同じ動きだと意味が無く、
   読む前に待たされる。最初の画面の登場だけを残し、ほかは最初から見せる
   ================================================================== */
.wnl-h .wnl-v3-reveal:not(.wnl-h-hero .wnl-v3-reveal) {
	opacity: 1;
	transition: none;
}

.wnl-h .wnl-v3-reveal:not(.wnl-h-hero .wnl-v3-reveal):not(.wnl-h-plan--main) {
	transform: none;
}

/* 3,000円のカードだけ少し持ち上げる形はそのまま(スマホ・タブレットでは持ち上げない) */
@media (min-width: 1101px) {
	.wnl-h .wnl-h-plan--main.wnl-v3-reveal {
		transform: translateY(-14px);
	}
}

@media (max-width: 1100px) {
	.wnl-h .wnl-h-plan--main.wnl-v3-reveal {
		transform: none;
	}
}

/* ==================================================================
   仲間・スタッフ:5人になったときの並び(2026-10-08)
   コア3人の段の下に、バーチャルモデル2人を真ん中に寄せて置く(左右対称)。
   6列にして1枚2列ぶん。最後の段が2枚なら、その1枚目を2列目から始める。
   ================================================================== */
.wnl-h-members__grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wnl-h-member {
	grid-column: span 2;
}

.wnl-h-member:nth-child(3n + 1):nth-last-child(2) {
	grid-column: 2 / span 2;
}

/* バーチャルモデルのカードは押せる(押した先で AI と明かす)。文字の色は今のカードのまま */
a.wnl-h-member {
	display: block;
	color: inherit;
	text-decoration: none;
}

a.wnl-h-member:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 6px;
	border-radius: 12px;
}

/* スマホは1人1段。左に写真、右に肩書き・名前・担当(本人 10/30「2・1・2 の構図に違和感」) */
@media (max-width: 767px) {
	.wnl-h-members__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.wnl-h-member,
	a.wnl-h-member,
	.wnl-h-member:nth-child(3n + 1):nth-last-child(2) {
		display: grid;
		grid-column: auto;
		grid-template-columns: 104px 1fr;
		grid-template-rows: auto auto auto;
		align-content: center;
		column-gap: 20px;
		padding: 18px 0;
		border-top: 1px solid var(--h-line-dark);
	}

	.wnl-h-member:last-child {
		border-bottom: 1px solid var(--h-line-dark);
	}

	.wnl-h-member__image {
		grid-row: 1 / span 3;
		align-self: center;
		margin-bottom: 0;
	}

	.wnl-h-member .wnl-h-label {
		align-self: end;
	}

	.wnl-h-member h3 {
		font-size: 1.2rem;
	}

	.wnl-h-member__role {
		align-self: start;
		font-size: .82rem;
	}
}

/* 2026-10-08 本人「仲間とスタッフは横並びでいい。画像は小さくてもいい」:
   スマホより広い画面では5人を1段に並べる(上の「3人+下に2人」をやめる) */
@media (min-width: 768px) {
	.wnl-h-members__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: clamp(14px, 2vw, 28px);
	}

	.wnl-h-member,
	.wnl-h-member:nth-child(3n + 1):nth-last-child(2) {
		grid-column: auto;
	}

	.wnl-h-member__image {
		margin-bottom: 16px;
	}

	.wnl-h-member h3 {
		font-size: clamp(1.1rem, 1.6vw, 1.4rem);
	}

	.wnl-h-member__role {
		font-size: .82rem;
	}
}
