@charset "UTF-8";

/* ■. 変数 */
:root {
	--c-text: #3d2f27;
	--c-text-sub: #75655b;
	--c-terra: #d27f58;
	--c-terra-deep: #b0582f;
	--c-terra-pale: #ffcfaf;
	--c-green-deep: #4d6f1e;
	--c-green-pale: #dceeb8;
	--c-yellow-pale: #f5e1a4;
	--c-cream: #fff6e7;
	--c-peach: #fdeadc;
	--c-white: #fff;
	--c-line: #efdcc6;
	--c-alert: #c8372d;
	--c-marker: #fff0a0;

	--font: "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;

	--fs-xs: 0.8125rem;
	--fs-s: 0.875rem;
	--fs-m: 1rem;
	--fs-l: 1.125rem;
	--fs-xl: clamp(1.25rem, 1rem + 1vw, 1.5rem);
	--fs-h2: clamp(1.5rem, 1.15rem + 1.5vw, 2.125rem);

	--gutter: 20px;
	--section-y: 72px;
	--head-gap: 36px;
	--radius: 16px;
	--radius-s: 10px;
	--shadow: 0 6px 20px rgba(120, 72, 40, 0.08);
	--header-h: 64px;
	--admin-bar: 0px;
}

.admin-bar {
	--admin-bar: 46px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 40px;
		--section-y: 112px;
		--head-gap: 48px;
		--header-h: 80px;
	}
}

@media (min-width: 783px) {
	.admin-bar {
		--admin-bar: 32px;
	}
}

/* ■. ベース */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

[id] {
	scroll-margin-top: calc(var(--header-h) + var(--admin-bar));
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-m);
	line-height: 1.9;
	color: var(--c-text);
	background: var(--c-white);
	letter-spacing: 0.04em;
	font-feature-settings: "palt" 1;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--c-terra-deep);
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
	margin: 0;
}

ul, ol {
	padding: 0;
	list-style: none;
}

.container {
	width: 100%;
	max-width: calc(1120px + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(840px + var(--gutter) * 2);
}

/* ■. ボタン */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8em;
	min-height: 52px;
	padding: 0.7em 2em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: var(--fs-m);
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--primary {
	background: var(--c-terra-deep);
	color: var(--c-white);
	box-shadow: 0 4px 0 #8a4223;
}

.btn--primary:hover {
	background: #9c4b26;
}

.btn--outline {
	border-color: var(--c-terra-deep);
	background: var(--c-white);
	color: var(--c-terra-deep);
}

.btn--outline:hover {
	background: var(--c-terra-deep);
	color: var(--c-white);
}

.btn--white {
	background: var(--c-white);
	color: var(--c-terra-deep);
}

.btn--lg {
	min-height: 60px;
	padding-inline: 2.6em;
	font-size: var(--fs-l);
}

/* ■. ヘッダー */
.site-header {
	position: sticky;
	top: var(--admin-bar);
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 var(--c-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-logo {
	display: flex;
	flex-direction: column;
	margin-right: auto;
	color: var(--c-terra-deep);
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.site-logo__sub {
	font-size: var(--fs-xs);
	letter-spacing: 0.2em;
}

.site-logo__main {
	white-space: nowrap;
	font-size: clamp(0.9375rem, 0.8rem + 0.5vw, 1.125rem);
}

.global-nav {
	display: flex;
	align-items: center;
	gap: 16px;
}

.global-nav__list {
	display: flex;
	gap: 4px;
}

.global-nav__list a {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--c-text);
	font-size: var(--fs-s);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.global-nav__list a:hover,
.global-nav__list a[aria-current="page"] {
	background: var(--c-cream);
	color: var(--c-terra-deep);
}

.global-nav__cta {
	min-height: 44px;
	white-space: nowrap;
	padding: 0.5em 1.5em;
	font-size: var(--fs-s);
	box-shadow: none;
}

.menu-toggle {
	display: none;
}

@media (max-width: 1339px) {
	.menu-toggle {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		width: 52px;
		height: 52px;
		padding: 0 0 7px;
		border: 0;
		border-radius: 50%;
		background: var(--c-terra-deep);
		color: var(--c-white);
		font-family: inherit;
		cursor: pointer;
	}

	.menu-toggle__bar,
	.menu-toggle__bar::before,
	.menu-toggle__bar::after {
		position: absolute;
		width: 20px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform 0.25s;
	}

	.menu-toggle__bar {
		top: 19px;
		left: 50%;
		margin-left: -10px;
	}

	.menu-toggle__bar::before,
	.menu-toggle__bar::after {
		content: "";
		left: 0;
	}

	.menu-toggle__bar::before {
		top: -6px;
	}

	.menu-toggle__bar::after {
		top: 6px;
	}

	.menu-toggle__label {
		font-size: 0.5625rem;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
		background: transparent;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
		transform: translateY(-6px) rotate(-45deg);
	}

	.global-nav {
		position: fixed;
		top: calc(var(--header-h) + var(--admin-bar));
		right: 0;
		left: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		max-height: calc(100dvh - var(--header-h) - var(--admin-bar));
		padding: 16px var(--gutter) 40px;
		overflow-y: auto;
		background: var(--c-white);
		box-shadow: 0 12px 24px rgba(120, 72, 40, 0.12);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
	}

	.global-nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	.global-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.global-nav__list a {
		padding: 16px 4px;
		border-bottom: 1px dashed var(--c-line);
		border-radius: 0;
		font-size: var(--fs-m);
	}

	.global-nav__cta {
		min-height: 56px;
		font-size: var(--fs-m);
	}
}

/* ■. セクション共通 */
.section {
	padding-block: var(--section-y);
}

.section--cream {
	background: var(--c-cream);
}

.section--peach {
	background: var(--c-peach);
}

.section-head {
	margin-bottom: var(--head-gap);
	text-align: center;
}

.section-head__en {
	color: var(--c-terra);
	font-size: var(--fs-s);
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.section-head__title {
	font-size: var(--fs-h2);
	font-weight: 800;
	line-height: 1.5;
}

.section-head__title::after {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 2px;
	background: var(--c-terra-pale);
}

.section-head--left {
	text-align: left;
}

.section-head--left .section-head__title::after {
	margin-left: 0;
}

.section-lead {
	margin-top: calc(var(--head-gap) * -0.5);
	margin-bottom: var(--head-gap);
	text-align: center;
	color: var(--c-text-sub);
}

.section-more {
	margin-top: var(--head-gap);
	text-align: center;
}

.card-grid {
	display: grid;
	gap: 24px;
}

@media (min-width: 768px) {
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
	}
}

.split {
	display: grid;
	gap: 40px;
	align-items: center;
}

.split__body > p + p {
	margin-top: 12px;
}

.split__body .btn {
	margin-top: 32px;
}

@media (min-width: 900px) {
	.split {
		grid-template-columns: 2fr 3fr;
		gap: 72px;
	}
}

/* ■. メインビジュアル */
.mv {
	position: relative;
	overflow: hidden;
	background: var(--c-cream);
}

.mv::before {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: var(--c-peach);
}

.mv__inner {
	position: relative;
	display: grid;
	gap: 32px;
	max-width: 1360px;
	margin-inline: auto;
	padding: 24px var(--gutter) 56px;
}

.mv__img {
	order: -1;
}

.mv__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 24px 120px 24px 24px;
	box-shadow: var(--shadow);
}

.mv__edition {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--c-terra-deep);
	font-weight: 700;
}

.mv__edition span {
	padding: 2px 14px;
	border-radius: 999px;
	background: var(--c-terra-deep);
	color: var(--c-white);
	font-size: var(--fs-s);
}

.mv__catch {
	font-size: clamp(1.875rem, 1.2rem + 3vw, 3.25rem);
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0.06em;
}

.mv__title {
	margin-top: 20px;
	color: var(--c-terra-deep);
	font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.375rem);
	font-weight: 800;
	line-height: 1.6;
}

.mv__lead {
	margin-top: 8px;
	color: var(--c-text-sub);
}

.mv__cta {
	margin-top: 28px;
}

.mv__note {
	margin-top: 12px;
	color: var(--c-text-sub);
	font-size: var(--fs-s);
}

@media (min-width: 900px) {
	.mv__inner {
		grid-template-columns: 5fr 6fr;
		align-items: center;
		gap: 56px;
		padding-block: 64px 96px;
	}

	.mv__img {
		order: 0;
	}
}

/* ■. TOP コンテストについて */
.top-about__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

@media (min-width: 900px) {
	.top-about__img img {
		aspect-ratio: 3 / 4;
	}
}

.top-about__catch {
	margin-bottom: 16px;
	color: var(--c-terra-deep);
	font-size: var(--fs-xl);
	font-weight: 800;
	line-height: 1.6;
}

.point-list {
	margin-top: 24px;
}

/* ■. お知らせ一覧 */
.news-list {
	border-top: 1px solid var(--c-line);
}

.news-item {
	border-bottom: 1px solid var(--c-line);
}

.news-item__link {
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 6px 16px;
	padding: 18px 8px;
	color: var(--c-text);
	text-decoration: none;
	transition: background-color 0.2s;
}

.news-item__link:hover {
	background: rgba(255, 255, 255, 0.7);
}

.news-item__date {
	color: var(--c-text-sub);
	font-size: var(--fs-s);
	letter-spacing: 0.08em;
}

.news-item__cat {
	justify-self: start;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--c-terra-pale);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.news-item__cat--column {
	background: var(--c-green-pale);
}

.news-item__cat--episode {
	background: var(--c-yellow-pale);
}

.news-item__title {
	font-weight: 700;
}

@media (max-width: 767px) {
	.news-item__title {
		grid-column: 1 / -1;
	}
}

/* ■. 作品カード */
.work-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--c-white);
	box-shadow: var(--shadow);
	color: var(--c-text);
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s;
}

.work-card__link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(120, 72, 40, 0.14);
}

.work-card__img {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--c-cream);
}

.work-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-card__award {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--c-terra-deep);
	color: var(--c-white);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.work-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	padding: 20px 24px 24px;
}

.work-card__class {
	color: var(--c-terra-deep);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.work-card__class--sakubun {
	color: var(--c-green-deep);
}

.work-card__title {
	font-size: var(--fs-l);
	font-weight: 800;
	line-height: 1.6;
}

.work-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--c-text-sub);
	font-size: var(--fs-s);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.work-card__author {
	margin-top: auto;
	padding-top: 8px;
	font-size: var(--fs-s);
	font-weight: 700;
}

/* ■. 声カード */
.voice-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 32px 28px 28px;
	border-radius: var(--radius);
	background: var(--c-white);
	color: var(--c-text);
	text-decoration: none;
	transition: transform 0.25s;
}

.voice-card__link::before {
	content: "\201C";
	position: absolute;
	top: 4px;
	right: 20px;
	color: var(--c-terra-pale);
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1;
}

.voice-card__link:hover {
	transform: translateY(-4px);
}

.voice-card__type {
	align-self: flex-start;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--c-cream);
	color: var(--c-terra-deep);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.voice-card__type--child {
	background: var(--c-green-pale);
	color: var(--c-green-deep);
}

.voice-card__title {
	font-size: var(--fs-l);
	font-weight: 800;
	line-height: 1.6;
}

.voice-card__text {
	color: var(--c-text-sub);
	font-size: var(--fs-s);
}

.voice-card__who {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--c-line);
	font-size: var(--fs-xs);
	font-weight: 700;
}

/* ■. 応募の流れ */
.flow-list,
.entry-content ol.is-style-flow {
	display: grid;
	gap: 28px;
	padding: 0;
	list-style: none;
	counter-reset: flow;
}

.flow-list__item,
.entry-content ol.is-style-flow li {
	position: relative;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--c-cream);
}

.entry-content ol.is-style-flow li {
	font-weight: 700;
	counter-increment: flow;
}

.flow-list__num,
.entry-content ol.is-style-flow li::before {
	color: var(--c-terra);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.16em;
}

.entry-content ol.is-style-flow li::before {
	content: "STEP " counter(flow);
	display: block;
	margin-bottom: 4px;
}

.flow-list__item:not(:last-child)::after,
.entry-content ol.is-style-flow li:not(:last-child)::after {
	content: "";
	position: absolute;
	bottom: -20px;
	left: 50%;
	z-index: 1;
	width: 10px;
	height: 10px;
	border-right: 3px solid var(--c-terra);
	border-bottom: 3px solid var(--c-terra);
	transform: translateX(-50%) rotate(45deg);
}

.flow-list__title {
	margin: 4px 0 8px;
	font-size: var(--fs-l);
	font-weight: 800;
}

.flow-list__item > p:last-child {
	color: var(--c-text-sub);
	font-size: var(--fs-s);
}

@media (min-width: 768px) {
	.flow-list,
	.entry-content ol.is-style-flow {
		grid-template-columns: repeat(4, 1fr);
	}

	.entry-content ol.is-style-flow li {
		padding: 20px 16px;
		font-size: var(--fs-s);
	}

	.flow-list__item:not(:last-child)::after,
	.entry-content ol.is-style-flow li:not(:last-child)::after {
		top: 50%;
		right: -19px;
		bottom: auto;
		left: auto;
		border-right: 3px solid var(--c-terra);
		border-bottom: 0;
		border-top: 3px solid var(--c-terra);
		transform: translateY(-50%) rotate(45deg);
	}
}

.course-grid {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

.course {
	padding: 24px 28px;
	border: 2px solid var(--c-terra-pale);
	border-radius: var(--radius);
}

.course__label {
	display: inline-block;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--c-terra-pale);
	font-size: var(--fs-xs);
	font-weight: 700;
}

.course__title {
	margin-top: 8px;
	font-size: var(--fs-xl);
	font-weight: 800;
}

.course__target {
	margin-bottom: 8px;
	color: var(--c-terra-deep);
	font-size: var(--fs-s);
	font-weight: 700;
}

.course--sakubun {
	border-color: var(--c-green-pale);
}

.course--sakubun .course__label {
	background: var(--c-green-pale);
}

.course--sakubun .course__target {
	color: var(--c-green-deep);
}

@media (min-width: 768px) {
	.course-grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}

/* ■. インタビューのヒント（TOP・応募ガイドの質問例） */
.hint-list,
.entry-content .is-style-question-grid > .wp-block-group__inner-container {
	display: grid;
	gap: 16px;
}

.entry-content .is-style-question-grid > .wp-block-group__inner-container > *,
.entry-content .is-style-question > .wp-block-group__inner-container > * {
	margin: 0;
}

.hint-list__item,
.entry-content .is-style-question {
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--c-white);
	font-weight: 500;
}

.entry-content .is-style-question {
	background: var(--c-cream);
}

.hint-list__item,
.entry-content .is-style-question > .wp-block-group__inner-container {
	display: grid;
	gap: 8px;
}

.hint-list__label,
.entry-content .is-style-question h4 {
	justify-self: start;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--c-terra-deep);
	color: var(--c-white);
	font-size: var(--fs-xs);
	font-weight: 700;
	line-height: 1.9;
}

.entry-content ul.is-style-chips {
	padding: 0;
	list-style: none;
}

.hint-list__q span,
.entry-content ul.is-style-chips li {
	display: inline-block;
	margin-right: 1em;
}

@media (min-width: 768px) {
	.hint-list__item,
	.entry-content .is-style-question > .wp-block-group__inner-container {
		grid-template-columns: 9em 1fr;
		align-items: center;
		gap: 24px;
	}

	.hint-list__label,
	.entry-content .is-style-question h4 {
		justify-self: stretch;
		text-align: center;
	}
}

/* ■. 代表メッセージ */
.top-message__img img {
	width: 100%;
	border-radius: 120px 24px 24px 24px;
}

.top-message__name {
	font-size: var(--fs-s);
	font-weight: 700;
	text-align: right;
}

.split__body > .top-message__name {
	margin-top: 20px;
}

.top-message__name span {
	margin-left: 0.8em;
	font-size: var(--fs-l);
}

/* ■. 応募案内 */
.entry-cta {
	padding-block: var(--section-y);
	background: var(--c-terra-deep);
	color: var(--c-white);
	text-align: center;
}

.entry-cta__edition {
	font-weight: 700;
	letter-spacing: 0.12em;
}

.entry-cta__title {
	margin-top: 8px;
	font-size: var(--fs-h2);
	font-weight: 800;
	line-height: 1.5;
}

.entry-cta__info {
	display: inline-grid;
	gap: 8px;
	margin-top: 24px;
	text-align: left;
}

.entry-cta__info div {
	display: flex;
	gap: 16px;
}

.entry-cta__info dt {
	min-width: 6em;
	font-weight: 700;
	opacity: 0.85;
}

.entry-cta__note {
	margin-top: 16px;
}

.entry-cta .btn {
	margin-top: 32px;
}

/* ■. フッター */
.site-footer {
	background: var(--c-cream);
	font-size: var(--fs-s);
}

.site-footer__inner {
	display: grid;
	gap: 32px;
	padding-block: 56px 40px;
}

.site-footer__name {
	color: var(--c-terra-deep);
	font-size: var(--fs-l);
	font-weight: 800;
	line-height: 1.5;
}

.site-footer__org {
	margin-top: 8px;
	color: var(--c-text-sub);
}

.sns-list {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

.site-footer__nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 24px;
}

.site-footer__nav a {
	color: var(--c-text);
	text-decoration: none;
}

.site-footer__nav a:hover {
	color: var(--c-terra-deep);
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px var(--gutter) 32px;
	border-top: 1px solid var(--c-line);
}

.site-footer__logo img {
	width: 150px;
}

.site-footer__copy {
	color: var(--c-text-sub);
}

@media (min-width: 768px) {
	.site-footer__inner {
		grid-template-columns: 1fr auto;
		align-items: start;
	}

	.site-footer__nav ul {
		grid-template-columns: repeat(3, auto);
	}
}

/* ■. 下層ページの見出し */
.page-head {
	padding-block: 24px 48px;
	background: var(--c-cream);
	text-align: center;
}

.breadcrumb {
	margin-bottom: 32px;
	text-align: left;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: var(--fs-xs);
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-inline: 8px;
	color: var(--c-text-sub);
}

.breadcrumb a {
	color: var(--c-text-sub);
}

.page-head__en {
	color: var(--c-terra);
	font-size: var(--fs-s);
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.page-head__title {
	font-size: var(--fs-h2);
	font-weight: 800;
	line-height: 1.5;
}

.page-head__lead {
	margin-top: 12px;
	color: var(--c-text-sub);
}

@media (min-width: 768px) {
	.page-head {
		padding-block: 24px 72px;
	}
}

.section--tight {
	padding-block: calc(var(--section-y) * 0.6) var(--section-y);
}

/* ■. 切り替えタブ */
.filter-group {
	display: grid;
	gap: 28px;
	margin-bottom: var(--head-gap);
}

.filter-tabs {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.filter-tabs__label {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--c-terra-deep);
	font-size: var(--fs-l);
	font-weight: 800;
	letter-spacing: 0.12em;
}

.filter-tabs__label::before,
.filter-tabs__label::after {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 1px;
	background: var(--c-terra-pale);
}

.filter-tabs__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.filter-tabs__list a {
	display: block;
	padding: 6px 18px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-white);
	color: var(--c-text);
	font-size: var(--fs-s);
	font-weight: 700;
	text-decoration: none;
}

.filter-tabs__list a:hover {
	border-color: var(--c-terra-deep);
	color: var(--c-terra-deep);
}

.filter-tabs__list a[aria-current="page"] {
	border-color: var(--c-terra-deep);
	background: var(--c-terra-deep);
	color: var(--c-white);
}

/* ■. ページ送り */
.pagination {
	margin-top: var(--head-gap);
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination a,
.pagination span {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	border-radius: 999px;
	color: var(--c-text);
	font-weight: 700;
	text-decoration: none;
}

.pagination a:hover {
	background: var(--c-cream);
}

.pagination .current {
	background: var(--c-terra-deep);
	color: var(--c-white);
}

.empty-message {
	padding: 48px 16px;
	color: var(--c-text-sub);
	text-align: center;
}

/* ■. 記事 */
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 24px;
	color: var(--c-text-sub);
	font-size: var(--fs-s);
}

.entry-meta a {
	text-decoration: none;
}

.entry-meta__who {
	font-weight: 700;
}

.entry-thumb {
	margin-bottom: 32px;
}

.entry-thumb img {
	width: 100%;
	border-radius: var(--radius);
}

.entry-content {
	overflow-wrap: anywhere;
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content h2 {
	margin-top: 2.4em;
	padding: 12px 20px;
	border-radius: var(--radius-s);
	background: var(--c-cream);
	font-size: var(--fs-xl);
	line-height: 1.5;
}

.entry-content h3 {
	margin-top: 2em;
	padding-left: 14px;
	border-left: 4px solid var(--c-terra-pale);
	font-size: var(--fs-l);
	line-height: 1.5;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}

.entry-content li,
.status-box p {
	text-wrap: pretty;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content img {
	border-radius: var(--radius-s);
}

.entry-content a {
	text-underline-offset: 3px;
}

/* ■. 作品の詳細 */
.work-detail__img {
	margin-bottom: 32px;
	text-align: center;
}

.work-detail__img img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.work-detail__img figcaption {
	margin-top: 8px;
	color: var(--c-text-sub);
	font-size: var(--fs-xs);
}

.info-table {
	display: grid;
	margin-bottom: 32px;
	border-top: 1px solid var(--c-line);
}

.info-table div {
	display: grid;
	grid-template-columns: 9em 1fr;
	gap: 16px;
	padding: 12px 8px;
	border-bottom: 1px solid var(--c-line);
}

.info-table dt {
	color: var(--c-terra-deep);
	font-size: var(--fs-s);
	font-weight: 700;
}

@media (min-width: 768px) {
	.info-table {
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
	}
}

/* ■. 前後の記事 */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--c-line);
}

.post-nav a {
	display: block;
	color: var(--c-text);
	font-size: var(--fs-s);
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
}

.post-nav a:hover {
	color: var(--c-terra-deep);
}

.post-nav span {
	display: block;
	margin-bottom: 4px;
	color: var(--c-terra);
	font-size: var(--fs-xs);
}

.post-nav__item--next {
	text-align: right;
}

.post-nav__back {
	margin-top: 40px;
	text-align: center;
}

.not-found {
	text-align: center;
}

.not-found .btn {
	margin-top: 32px;
}

/* ■. ページの目次 */
.page-toc {
	margin-bottom: 48px;
	padding: 24px 28px;
	border-radius: var(--radius);
	background: var(--c-cream);
}

.page-toc__title {
	margin-bottom: 12px;
	color: var(--c-terra-deep);
	font-weight: 800;
}

.page-toc__list {
	display: grid;
	gap: 4px 24px;
}

.page-toc__list a {
	position: relative;
	display: block;
	padding: 4px 0 4px 20px;
	color: var(--c-text);
	font-weight: 700;
	text-decoration: none;
}

.page-toc__list a::before {
	content: "";
	position: absolute;
	top: 0.85em;
	left: 2px;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--c-terra);
	border-bottom: 2px solid var(--c-terra);
	transform: rotate(45deg);
}

.page-toc__list a:hover {
	color: var(--c-terra-deep);
}

@media (min-width: 768px) {
	.page-toc__list {
		grid-template-columns: 1fr 1fr;
	}
}

/* ■. 本文のブロック */
.entry-content h2:first-child,
.entry-content .wp-block-group > :first-child {
	margin-top: 0;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--c-line);
}

.entry-content .wp-block-table td {
	padding: 14px 12px;
	border: 0;
	border-bottom: 1px solid var(--c-line);
	vertical-align: top;
}

.entry-content .wp-block-table td:first-child {
	width: 8em;
	color: var(--c-terra-deep);
	font-weight: 700;
}

.entry-content .wp-block-buttons {
	gap: 12px;
}

.entry-content .wp-block-button__link,
.sc-button .btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8em;
	min-height: 52px;
	padding: 0.7em 2em;
	border: 2px solid var(--c-terra-deep);
	border-radius: 999px;
	background: var(--c-terra-deep);
	color: var(--c-white);
	font-size: var(--fs-m);
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.entry-content .wp-block-button__link::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.entry-content .is-style-outline-terra .wp-block-button__link {
	background: var(--c-white);
	color: var(--c-terra-deep);
}

.entry-content .is-style-outline-terra .wp-block-button__link:hover {
	background: var(--c-terra-deep);
	color: var(--c-white);
}

.entry-content .is-style-box,
.entry-content .is-style-note {
	padding: 24px 28px;
	border-radius: var(--radius);
}

.entry-content .is-style-box {
	background: var(--c-cream);
}

.entry-content .is-style-note {
	border: 2px solid var(--c-terra-pale);
	background: var(--c-white);
}

.entry-content .is-style-note > * + * {
	margin-top: 1em;
}

.point-list,
.entry-content ul.is-style-check {
	display: grid;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.point-list li,
.entry-content ul.is-style-check li {
	position: relative;
	padding: 12px 16px 12px 48px;
	border-radius: var(--radius-s);
	background: var(--c-cream);
	font-weight: 700;
}

.point-list li::before,
.entry-content ul.is-style-check li::before {
	content: "";
	position: absolute;
	top: 1.15em;
	left: 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c-terra-pale);
	box-shadow: inset 0 0 0 5px var(--c-white);
}

.entry-content ol.is-style-steps {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.entry-content ol.is-style-steps li {
	position: relative;
	padding: 16px 20px 16px 64px;
	border-radius: var(--radius-s);
	background: var(--c-cream);
	counter-increment: step;
}

.entry-content ol.is-style-steps li::before {
	content: counter(step);
	position: absolute;
	top: 14px;
	left: 18px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-terra-deep);
	color: var(--c-white);
	font-weight: 800;
	line-height: 1;
}

.entry-content .wp-block-details {
	border-bottom: 1px solid var(--c-line);
}

.entry-content .wp-block-details + .wp-block-details {
	margin-top: 0;
}

.entry-content .wp-block-details summary {
	position: relative;
	padding: 18px 40px 18px 40px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.entry-content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.entry-content .wp-block-details summary::before {
	content: "Q";
	position: absolute;
	top: 16px;
	left: 4px;
	color: var(--c-terra);
	font-size: var(--fs-l);
	font-weight: 800;
}

.entry-content .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 24px;
	right: 12px;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--c-terra-deep);
	border-bottom: 2px solid var(--c-terra-deep);
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.entry-content .wp-block-details[open] summary::after {
	transform: translateY(4px) rotate(-135deg);
}

.entry-content .wp-block-details > p {
	margin: 0 0 18px;
	padding: 16px 20px;
	border-radius: var(--radius-s);
	background: var(--c-cream);
}

.entry-content .is-message-photo {
	width: min(60%, 240px);
	margin-inline: auto;
}

.entry-content .is-message-photo img {
	width: 100%;
	border-radius: 100px 20px 20px 20px;
	box-shadow: var(--shadow);
}

.entry-content .is-message-photo ~ .has-text-align-right {
	clear: both;
}

@media (min-width: 768px) {
	.entry-content .is-message-photo {
		float: left;
		width: 240px;
		margin: 1.4em 40px 16px 0;
	}
}

/* ■. お問い合わせ先 */
.contact-box {
	display: grid;
	gap: 16px;
}

.contact-box__item {
	padding: 24px 28px;
	border-radius: var(--radius);
	background: var(--c-cream);
}

.contact-box__label {
	color: var(--c-terra-deep);
	font-size: var(--fs-s);
	font-weight: 800;
}

.contact-box__value {
	font-size: var(--fs-l);
	font-weight: 800;
	line-height: 1.6;
}

.contact-box__value a {
	overflow-wrap: anywhere;
	color: var(--c-text);
	text-decoration: none;
}

.contact-box__note {
	color: var(--c-text-sub);
	font-size: var(--fs-s);
	font-weight: 500;
}

@media (min-width: 768px) {
	.contact-box {
		grid-template-columns: 1fr 1fr;
	}

	.contact-box__value {
		font-size: var(--fs-xl);
	}

	.entry-content .wp-block-table td:first-child {
		width: 34%;
	}
}

/* ■. 年度の作品ページ */
.year-intro {
	max-width: 840px;
	margin: 0 auto var(--head-gap);
	text-align: center;
}

.year-intro p + p {
	margin-top: 1em;
}

.class-heading {
	margin: var(--head-gap) 0 24px;
	padding: 10px 20px;
	border-radius: var(--radius-s);
	background: var(--c-terra-pale);
	font-size: var(--fs-xl);
	font-weight: 800;
	text-align: center;
}

.class-heading--sakubun {
	background: var(--c-green-pale);
}

.year-review {
	max-width: 840px;
	margin: calc(var(--section-y) * 0.8) auto 0;
	padding: 40px clamp(20px, 5vw, 56px);
	border-radius: var(--radius);
	background: var(--c-cream);
}

.year-review__title {
	margin-bottom: 24px;
	color: var(--c-terra-deep);
	font-size: var(--fs-xl);
	font-weight: 800;
	text-align: center;
}

.year-review__body p + p {
	margin-top: 1em;
}

.year-review__sign {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	margin-top: 32px;
	font-size: var(--fs-s);
	font-weight: 700;
	line-height: 1.7;
}

.year-review__photo {
	width: 72px;
	height: 72px;
	border: 3px solid var(--c-white);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--shadow);
}

.sc-closed {
	padding: 14px 20px;
	border-radius: var(--radius-s);
	background: var(--c-peach);
	font-size: var(--fs-s);
	font-weight: 700;
}

/* ■. 募集の状態 */
.status-box {
	display: flex;
	align-items: center;
	gap: 16px 20px;
	padding: 20px 24px;
	border: 2px solid var(--c-terra-pale);
	border-radius: var(--radius);
	background: var(--c-white);
}

.status-box__label {
	flex-shrink: 0;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--c-text-sub);
	color: var(--c-white);
	font-size: var(--fs-s);
	font-weight: 800;
}

.status-box--open .status-box__label {
	background: var(--c-terra-deep);
}

.status-box__text {
	font-size: var(--fs-l);
	font-weight: 800;
}

.status-box__sub {
	margin-top: 4px;
	color: var(--c-text-sub);
	font-size: var(--fs-s);
}

@media (max-width: 767px) {
	.status-box {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* ■. 文字の色・マーカー・注意 */
.has-terra-color { color: var(--c-terra-deep); }
.has-cream-color { color: var(--c-cream); }
.has-peach-color { color: var(--c-peach); }
.has-ink-color { color: var(--c-text); }
.has-alert-color { color: var(--c-alert); }
.has-marker-color { color: var(--c-marker); }
.has-terra-background-color { background-color: var(--c-terra-deep); }
.has-cream-background-color { background-color: var(--c-cream); }
.has-peach-background-color { background-color: var(--c-peach); }
.has-ink-background-color { background-color: var(--c-text); }
.has-alert-background-color { background-color: var(--c-alert); }
.has-marker-background-color { background-color: var(--c-marker); }

.entry-content strong {
	font-weight: 800;
}

.entry-content p.is-style-alert {
	color: var(--c-alert);
	font-weight: 700;
}

.entry-content .is-style-alert:not(p) {
	padding: 20px 24px;
	border: 2px solid var(--c-alert);
	border-radius: var(--radius);
	background: #fff5f4;
}

.entry-content .is-style-alert:not(p) > .wp-block-group__inner-container > * + * {
	margin-top: 0.8em;
}

.entry-content .is-style-alert:not(p) h2,
.entry-content .is-style-alert:not(p) h3 {
	margin-top: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-alert);
}
