@charset "UTF-8";

/*
 * 40周年「みんなの声」読み物ページ追加分
 * 現行の色・書体・カード意匠を土台に、ワイヤー指定の要素だけを追加。
 */

:root {
	--stories-ink: #515859;
	--stories-muted: #9a8f80;
	--stories-paper: #fdf8f2;
	--stories-white: #fff;
	--stories-pink: #ff777d;
	--stories-pink-soft: #fff0ec;
	--stories-purple: #6b5ed8;
	--stories-purple-soft: #f1efff;
	--stories-gold: #d9c0a3;
	--stories-line: #eadfce;
}

.gratitude-count {
	position: relative;
	margin: 3.2rem auto 0;
	padding: 2.4rem 2rem 2.2rem;
	max-width: 42rem;
	text-align: center;
	background:
		radial-gradient(circle at 8% 12%, rgba(255, 119, 125, 0.13) 0 2px, transparent 3px),
		radial-gradient(circle at 92% 86%, rgba(107, 94, 216, 0.12) 0 2px, transparent 3px),
		linear-gradient(150deg, #fff 0%, #fffaf5 100%);
	border: 1px solid var(--stories-line);
	border-radius: 1.6rem;
	box-shadow: 0 0.8rem 2.4rem rgba(104, 85, 64, 0.08);
	overflow: hidden;
}

.gratitude-count::before,
.gratitude-count::after {
	content: "";
	position: absolute;
	width: 7rem;
	height: 2.2rem;
	background: rgba(242, 225, 193, 0.62);
	filter: saturate(0.8);
	pointer-events: none;
}

.gratitude-count::before {
	top: -0.5rem;
	left: -2.2rem;
	transform: rotate(-15deg);
}

.gratitude-count::after {
	right: -2.2rem;
	bottom: -0.5rem;
	transform: rotate(-15deg);
}

.gratitude-count__lead,
.gratitude-count__number {
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.gratitude-count__lead {
	font-size: 1.7rem;
}

.gratitude-count__number {
	margin-top: 0.5rem;
	font-size: 1.7rem;
}

.gratitude-count__number strong {
	display: inline-block;
	color: var(--stories-pink);
	font-size: 2.2rem;
}

.gratitude-count__note {
	margin-top: 1rem;
	font-size: 1.2rem;
	color: var(--stories-muted);
}

.reading-hub {
	position: relative;
	padding-top: 4.8rem;
	padding-bottom: 6.4rem;
	overflow: hidden;
}

.reading-hub__header {
	text-align: center;
	margin-bottom: 3.2rem;
}

.reading-hub__eyebrow {
	font-size: 1rem;
	letter-spacing: 0.22em;
	color: var(--stories-gold);
}

.reading-hub__title {
	margin-top: 0.8rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: clamp(2.8rem, 8vw, 3.6rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.05em;
	color: var(--stories-ink);
}

.reading-hub__lead {
	margin: 1.2rem auto 0;
	max-width: 28em;
	font-size: 1.4rem;
	line-height: 2;
	color: var(--stories-muted);
}

.reading-group {
	position: relative;
	padding: 2.8rem 2rem 2.4rem;
	border: 1px solid var(--stories-line);
	border-radius: 2rem;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 1rem 3rem rgba(92, 72, 53, 0.08);
}

.reading-group + .reading-group {
	margin-top: 2rem;
}

.reading-group__number {
	position: absolute;
	top: -1.4rem;
	left: 2rem;
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 2.8rem;
	border-radius: 999px;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
}

.reading-group.-pink .reading-group__number {
	background: var(--stories-pink);
}

.reading-group.-ppl .reading-group__number {
	background: var(--stories-purple);
}

.reading-group__title {
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
}

.reading-group.-pink .reading-group__title {
	color: var(--stories-pink);
}

.reading-group.-ppl .reading-group__title {
	color: var(--stories-purple);
}

.reading-group__label {
	margin: 2rem 0 1rem;
	font-size: 1.2rem;
	font-weight: 700;
	text-align: center;
	color: var(--stories-muted);
}

.reading-group__description {
	margin: 1rem 0 0;
	font-size: 1.3rem;
	line-height: 1.9;
	text-align: center;
	color: var(--stories-muted);
}

.theme-item.-suki .theme-active-badge {
	background-color: var(--stories-pink);
}

.suki-cta-label {
	flex: 1;
}

@media (max-width: 767px) {
	.theme-item.-suki > .button {
		font-size: 1.6rem;
	}
}

.reading-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.reading-cards.-themes > li {
	display: flex;
	grid-column: span 2;
}

.reading-cards.-themes {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.reading-cards.-themes .reading-card {
	width: 100%;
	height: 100%;
}

.reading-cards.-themes > li:nth-child(4) {
	grid-column: 2 / span 2;
}

.reading-cards.-themes > li:nth-child(5) {
	grid-column: 4 / span 2;
}

.reading-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 11.5rem;
	gap: 0.45rem;
	padding: 0.9rem 0.4rem 0.75rem;
	border: 1px solid currentColor;
	border-radius: 1rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	text-align: center;
	text-decoration: none;
	background: #fff;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.reading-group.-pink .reading-card {
	color: #d96d70;
	background: var(--stories-pink-soft);
}

.reading-group.-ppl .reading-card {
	color: var(--stories-purple);
	background: var(--stories-purple-soft);
}

.reading-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 0.45rem 1rem rgba(81, 88, 89, 0.12);
	background: #fff;
}

.reading-card__icon {
	display: grid;
	place-items: center;
	width: 8rem;
	height: 6.4rem;
	border-radius: 0;
	background-color: transparent;
	background-image: url("../img/reading-entry-icons-watercolor.webp");
	background-repeat: no-repeat;
	background-size: 300% 200%;
	transform: rotate(-3deg);
	overflow: hidden;
}

.reading-card__icon.-chief { background-position: 0 0; }
.reading-card__icon.-tools { background-position: 50% 0; }
.reading-card__icon.-care { background-position: 100% 0; }
.reading-card__icon.-family { background-position: 0 100%; }
.reading-card__icon.-thanks { background-position: 50% 100%; }
.reading-card__icon.-age { background-position: 100% 0; }
.reading-cards.-baton .reading-card__icon { background-position: 100% 100%; }
.reading-cards.-baton li:nth-child(2) .reading-card__icon { background-position: 50% 100%; }
.reading-cards.-baton li:nth-child(3) .reading-card__icon { background-position: 0 100%; }
/* 「渡し方から」は個別画像を割り当てて、「相手から」と縦方向で絵柄がかぶらないようにする */
.reading-cards.-baton.-story .reading-card__icon {
	background-size: cover;
	background-position: center;
}
.reading-cards.-baton.-story li:nth-child(1) .reading-card__icon { background-image: url("../img/ico_baton04.png"); }
.reading-cards.-baton.-story li:nth-child(2) .reading-card__icon { background-image: url("../img/ico_baton05.png"); }
.reading-cards.-baton.-story li:nth-child(3) .reading-card__icon {
	background-image: url("../img/ico_baton06.png");
	/* 06は絵柄が原画の右寄りに描かれているため補正 */
	background-position: 60% center;
}

.reading-card__marker {
	display: inline-block;
	margin-right: 0.28em;
	font-size: 0.72em;
	vertical-align: 0.08em;
}

.reading-card__copy {
	display: grid;
	min-width: 0;
	gap: 0.18rem;
	justify-items: center;
}

.reading-card__copy strong,
.reading-card__copy small {
	display: block;
	overflow-wrap: anywhere;
}

.reading-card__copy strong {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.reading-card__copy small {
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--stories-muted);
}

.reading-group.-ppl .reading-card__copy small {
	color: #766d9f;
}

.reading-cards.-baton {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reading-cards.-baton + .reading-group__label {
	margin-top: 1.4rem;
}

.reading-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.reading-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 8rem;
	min-height: 3.4rem;
	padding: 0.55rem 1.1rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.reading-tag:hover {
	transform: translateY(-2px);
	box-shadow: 0 0.35rem 0.8rem rgba(81, 88, 89, 0.12);
}

.reading-tag.-age-20 { color: #d96d70; background: #fff0eb; }
.reading-tag.-age-40 { color: #c88362; background: #fff5e7; }
.reading-tag.-age-50 { color: #8b8f5a; background: #f4f5e5; }
.reading-tag.-age-60 { color: #766d9f; background: #f1efff; }

/* 下層ページ共通 */
.story-page .inner {
	min-height: 100vh;
	background: var(--stories-paper);
}

.story-page .footer {
	background: var(--stories-paper);
}

.story-mast {
	position: relative;
	padding: 2rem 8.5rem 1.4rem 2rem;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--stories-line);
}

.story-mast__logo {
	display: block;
	width: min(19rem, 58%);
}

.story-mast__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.story-main {
	position: relative;
	padding: 3.2rem 1.6rem 7rem;
	background:
		radial-gradient(circle at 7% 4%, rgba(255, 119, 125, 0.07) 0 2px, transparent 3px),
		radial-gradient(circle at 91% 9%, rgba(107, 94, 216, 0.06) 0 2px, transparent 3px),
		var(--stories-paper);
}

.story-breadcrumb {
	overflow-x: auto;
	padding-bottom: 0.4rem;
	font-size: 1.1rem;
	line-height: 1.6;
	white-space: nowrap;
	color: var(--stories-muted);
	-webkit-overflow-scrolling: touch;
}

.story-breadcrumb a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.story-hero {
	position: relative;
	margin-top: 2.5rem;
	padding: 3.6rem 1.5rem 3.2rem;
	text-align: center;
}

.story-hero::before,
.story-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 8rem;
	height: 1px;
	transform: translateX(-50%);
	background: var(--stories-gold);
}

.story-hero::before {
	top: 0;
}

.story-hero::after {
	bottom: 0;
}

.story-hero__eyebrow {
	font-size: 1.2rem;
	letter-spacing: 0.18em;
	color: var(--stories-gold);
}

.story-hero__title {
	width: auto;
	max-width: 100%;
	margin: 1rem auto 0;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: clamp(3rem, 10vw, 4.4rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.04em;
	text-align: center;
	text-indent: 0.04em;
	line-break: strict;
	word-break: normal;
	overflow-wrap: normal;
	text-wrap: pretty;
	color: var(--stories-pink);
}

.story-hero__terminal {
	display: inline-block;
	margin-inline-end: -0.5em;
	letter-spacing: 0;
}

.story-page.-baton .story-hero__title,
.story-page.-essay .story-hero__title {
	color: var(--stories-purple);
}

.story-hero__subtitle {
	margin-top: 1.3rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.8;
	color: var(--stories-ink);
}

.story-intro {
	position: relative;
	margin-top: 3.2rem;
	padding: 2.4rem 2rem;
	border: 1px solid var(--stories-line);
	border-radius: 1.6rem;
	background: rgba(255, 255, 255, 0.9);
	font-size: 1.4rem;
	line-height: 2.05;
	box-shadow: 0 0.8rem 2rem rgba(92, 72, 53, 0.06);
}

.story-intro::before {
	content: "";
	position: absolute;
	top: -0.8rem;
	left: 50%;
	width: 7rem;
	height: 2rem;
	transform: translateX(-50%) rotate(-2deg);
	background: rgba(242, 225, 193, 0.72);
}

.story-section-title {
	margin: 4rem 0 2.4rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	color: var(--stories-ink);
}

.story-section-title span {
	display: block;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	color: var(--stories-gold);
}

.story-list {
	display: grid;
	gap: 2rem;
}

.story-list .message-card {
	cursor: default;
	min-height: 0;
	padding: 2rem 1.7rem;
}

.story-list .message-card:nth-child(odd) {
	transform: rotate(-0.55deg);
}

.story-list .message-card:nth-child(even) {
	transform: rotate(0.55deg);
}

.story-list .message-card__name,
.story-list .essay-card__name {
	font-size: 1.8rem;
}

.story-list .message-card__body {
	font-size: 1.35rem;
	font-weight: 500;
}

.story-list .essay-card {
	cursor: default;
	padding: 2rem;
}

.story-list > article:nth-of-type(6) {
	margin-top: 1.2rem;
	padding-top: 3rem;
	border-top: 1px dashed var(--stories-line);
}

.story-list .essay-card:hover {
	opacity: 1;
}

.story-list .essay-card__title {
	margin-top: 1rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.75;
	line-break: strict;
	word-break: normal;
	overflow-wrap: normal;
	text-wrap: pretty;
	color: var(--stories-ink);
}

.story-list .essay-card__excerpt {
	margin-top: 1rem;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.95;
}

.story-list .essay-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.3rem;
	padding-bottom: 0.18rem;
	border-bottom: 1px solid currentColor;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--stories-purple);
	text-decoration: none;
	text-underline-offset: 0.25em;
}

.story-list .essay-card__link span {
	transition: transform 0.22s ease;
}

.story-list .essay-card__link:hover span {
	transform: translateX(0.25rem);
}

.story-cta {
	position: relative;
	margin-top: 4rem;
	padding: 3rem 2rem;
	text-align: center;
	border: 1px solid var(--stories-line);
	border-radius: 2rem;
	background: #fff;
	box-shadow: 0 1rem 2.8rem rgba(92, 72, 53, 0.08);
}

.story-cta__title {
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.8;
}

.story-cta__text {
	margin-top: 1rem;
	font-size: 1.3rem;
	line-height: 1.9;
	color: var(--stories-muted);
}

.story-cta .button {
	margin-top: 2rem;
}

.story-related {
	margin-top: 4rem;
	padding-top: 3.2rem;
	border-top: 1px dashed var(--stories-gold);
}

.story-related__title {
	margin-bottom: 1.5rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.8rem;
	font-weight: 700;
	text-align: center;
}

.story-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.story-chips > li {
	display: flex;
}

.story-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 3.4rem;
	padding: 0.55rem 1.5rem 0.6rem;
	border: 1px solid var(--stories-gold);
	border-radius: 999px;
	background: var(--stories-white);
	color: var(--stories-ink);
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.story-chips a::before {
	content: "＃";
	margin-right: 0.35em;
	color: var(--stories-pink);
	font-size: 0.9em;
}

.story-chips a:hover,
.story-chips a:focus-visible {
	transform: translateY(-1px);
	border-color: var(--stories-pink);
	background: var(--stories-pink-soft);
	color: var(--stories-pink);
	box-shadow: 0 0.35rem 0.9rem rgba(255, 119, 125, 0.18);
}

.story-chips a:hover::before,
.story-chips a:focus-visible::before {
	color: var(--stories-pink);
}

.story-return {
	margin-top: 3.2rem;
	text-align: center;
}

.story-return a {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

.story-return a::before {
	content: "←";
}

.essay-byline {
	margin-top: 1.6rem;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.8;
	color: var(--stories-muted);
}

.essay-article {
	margin-top: 3.2rem;
}

.essay-article .essay-card {
	cursor: default;
	padding: 2.4rem 2rem;
	--accent-color: var(--stories-purple);
}

.essay-article .essay-card:hover {
	opacity: 1;
}

.essay-article .essay-card__body {
	font-size: 1.45rem;
	line-height: 2.15;
}

.editorial-note,
.essay-title-note {
	margin-top: 1.2rem;
	font-size: 1.2rem;
	line-height: 1.7;
	color: var(--stories-muted);
}

.editorial-note {
	text-align: right;
}

.essay-title-note {
	margin-top: 0.8rem;
	text-align: center;
}

.essay-pager {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.8rem;
	margin-top: 3.2rem;
}

.essay-pager a,
.essay-pager span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4.8rem;
	padding: 0.7rem;
	border: 1px solid var(--stories-line);
	border-radius: 1rem;
	background: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.essay-pager span {
	opacity: 0.45;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid rgba(107, 94, 216, 0.45);
	outline-offset: 3px;
}

/* ---------- Nav accordion ---------- */
.nav-list .nav-group {
	display: block;
}

.nav-list .nav-group__label {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 1.6rem 3.2rem 1.6rem 1rem;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--stories-ink);
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	text-align: center;
	cursor: pointer;
	list-style: none;
	transition: color 0.25s ease;
}

.nav-list .nav-group__label::-webkit-details-marker {
	display: none;
}

.nav-list .nav-group__label::after {
	content: "";
	position: absolute;
	right: 1.6rem;
	top: 50%;
	width: 0.8rem;
	height: 0.8rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.25s ease;
	opacity: 0.55;
}

.nav-list .nav-group.-pink > .nav-group__label {
	color: var(--stories-pink);
}

.nav-list .nav-group.-ppl > .nav-group__label {
	color: var(--stories-purple);
}

.nav-list .nav-group[open] > .nav-group__label::after {
	transform: translateY(-30%) rotate(-135deg);
	opacity: 1;
}

.nav-list .nav-sublist {
	list-style: none;
	margin: 0 0 1rem;
	padding: 1.4rem 0 0.6rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8rem;
}

.nav-list .nav-sublist li {
	display: flex;
	justify-content: center;
	border: none;
}

.nav-list .nav-sublist li a {
	display: inline-block;
	padding: 0.4rem 0.2rem;
	background: none;
	border: none;
	color: var(--stories-ink);
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.55rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition: color 0.22s ease;
}

.nav-list .nav-group.-pink .nav-sublist li a:hover,
.nav-list .nav-group.-pink .nav-sublist li a:focus-visible {
	color: var(--stories-pink);
}

.nav-list .nav-group.-ppl .nav-sublist li a:hover,
.nav-list .nav-group.-ppl .nav-sublist li a:focus-visible {
	color: var(--stories-purple);
}

.nav-list .nav-sublist__divider {
	align-self: stretch;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0.4rem 1.6rem 0;
	padding: 0;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--stories-muted);
}

.nav-list .nav-sublist__divider::before,
.nav-list .nav-sublist__divider::after {
	content: "";
	flex: 1;
	height: 0;
	border-top: 1px dashed var(--stories-gold);
	opacity: 0.7;
}

.nav-list .nav-sublist__divider:first-child {
	margin-top: 0;
}

@media (max-width: 767px) {
	.gratitude-count {
		margin-top: 2.8rem;
	}

	.reading-hub {
		padding-top: 4.4rem;
		padding-bottom: 5.2rem;
	}

	.reading-group {
		padding-inline: 1.4rem;
	}

	.reading-cards {
		gap: 0.6rem;
	}

	.reading-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.reading-cards.-baton {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.4rem;
	}

	.reading-cards.-themes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.reading-cards.-themes > li,
	.reading-cards.-themes > li:nth-child(4),
	.reading-cards.-themes > li:nth-child(5) {
		grid-column: auto;
	}

	.reading-cards.-themes > li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.story-breadcrumb {
		white-space: normal;
		overflow-x: visible;
		padding-bottom: 0;
	}

	.reading-card {
		min-height: 10.5rem;
		gap: 0.35rem;
		padding: 0.75rem 0.35rem 0.65rem;
	}

	.reading-card__icon {
		width: 7rem;
		height: 5.6rem;
	}

	.reading-tag {
		min-width: 7.6rem;
		min-height: 3.2rem;
		padding-inline: 0.85rem;
	}

	.reading-card__copy strong {
		font-size: 15px;
	}

	.reading-card__copy small {
		font-size: 13px;
	}

	.story-main {
		padding-bottom: 8rem;
	}

	.story-list > article:nth-of-type(6) {
		margin-top: 0.8rem;
		padding-top: 2.4rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fade-in,
	.reading-card,
	.reading-tag,
	.hamburger img {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ---------- Pagination ---------- */
.story-hero__page {
	margin: 0.4rem 0 0;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--stories-muted, #766d9f);
	letter-spacing: 0.06em;
	text-align: center;
}

.story-pagination {
	display: flex;
	justify-content: center;
	margin: 1.8rem 0 0.4rem;
}

.story-pagination__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.story-pagination__item {
	display: block;
}

.story-pagination__item > a,
.story-pagination__item > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	min-height: 2.4rem;
	padding: 0 0.6rem;
	border: 1px solid rgba(81, 88, 89, 0.28);
	border-radius: 999px;
	font-family: "fot-tsukuardgothic-std", "TsukuANBRdGoSStd-B", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #515859;
	text-decoration: none;
	background: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.story-pagination__item > a:hover {
	transform: translateY(-1px);
	box-shadow: 0 0.3rem 0.65rem rgba(81, 88, 89, 0.14);
}

.story-pagination__item.-current > span {
	background: #ff777d;
	border-color: #ff777d;
	color: #fff;
}

.story-page.-baton .story-pagination__item.-current > span {
	background: #6b5ed8;
	border-color: #6b5ed8;
}

@media (max-width: 640px) {
	.story-pagination {
		margin-top: 1.4rem;
	}
	.story-pagination__list {
		gap: 0.35rem;
	}
	.story-pagination__item > a,
	.story-pagination__item > span {
		min-width: 2.1rem;
		min-height: 2.1rem;
		font-size: 14px;
		padding: 0 0.5rem;
	}
}

