/* Euphoric " " — GRANTS（補助金・助成金）
 * デザインの正本：補助金情報サイト/デザイン見本_GRANTS_v4_求人サイト型_2026-09-28.html（社長承認済み）
 * 見本との違い：文字色のうち 4.5:1 に届かないもの（--mute・締切間近の赤）だけ少し濃くしている。
 */

html body.eh-body {
	margin: 0;
	padding: 0;
	background: #eef1f4;
}

.eh {
	--navy: #0c1620;
	--navy2: #162633;
	--bg: #eef1f4;
	--card: #ffffff;
	--ink: #0c1620;
	--ink2: #4a5763;
	--mute: #5f6b77;
	--line: #dce1e6;
	--yellow: #ffe600;
	--coral: #c8322a;
	--coral-bg: #fdecea;
	--chip: #eef1f4;
	--jp: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
	--en: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

	min-height: 100vh;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--jp);
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

:where(.eh) *,
:where(.eh) *::before,
:where(.eh) *::after {
	box-sizing: border-box;
}

:where(.eh) :is(h1, h2, h3, p, dl, dd, ul, ol) {
	margin: 0;
	padding: 0;
}

:where(.eh) :is(ul, ol) {
	list-style: none;
}

.eh a {
	color: inherit;
	text-decoration: none;
}

:where(.eh) button {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	cursor: pointer;
}

.eh :focus-visible {
	outline: 2px solid #1c6dd0;
	outline-offset: 2px;
}

.eh [hidden] {
	display: none !important;
}

.eh-wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding-inline: 20px;
}

/* ---------- ヘッダー（OPEN CALL と同じ「ロゴ｜コーナー名」） ---------- */

.eh-top {
	position: sticky;
	top: 0;
	z-index: 40;
	background: linear-gradient(90deg, #0c1620, #0f2a3a);
	color: #fff;
	border-bottom: 1px solid #1e3342;
}

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

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

.eh-top__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 60px;
}

.eh-top__logo {
	display: flex;
	align-items: center;
}

.eh-top__brand {
	display: flex;
	align-items: center;
}

.eh-logo {
	display: block;
	height: 24px;
	width: auto;
}

.eh-logo--text {
	font-family: var(--en);
	font-weight: 700;
	font-size: 22px;
	line-height: 1;
}

.eh-top__bar {
	width: 1px;
	height: 22px;
	margin: 0 16px;
	background: #4a5e70;
}

.eh-top__corner {
	font-family: var(--en);
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.04em;
	line-height: 1;
}

.eh-top__other {
	padding: 5px 14px;
	border: 1px solid #2a3c4b;
	border-radius: 999px;
	color: #b7c2cc !important;
	font-family: var(--en);
	font-size: 13px;
	letter-spacing: 0.06em;
	white-space: nowrap;
	transition: color 0.15s, border-color 0.15s;
}

.eh-top__other small {
	margin-left: 6px;
	font-family: var(--jp);
	font-size: 11px;
}

.eh-top__other:hover {
	color: #fff !important;
	border-color: #fff;
}

@media (max-width: 520px) {
	.eh-top__other small {
		display: none;
	}

	.eh-top__bar {
		margin: 0 12px;
	}
}

/* ---------- ヒーロー ---------- */

.eh-hero {
	padding-block: 22px 20px;
	background: var(--navy);
	color: #fff;
}

.eh-hero__in {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px 40px;
	align-items: end;
}

@media (max-width: 820px) {
	.eh-hero__in {
		grid-template-columns: 1fr;
	}
}

.eh-brand {
	font-family: var(--en);
	font-weight: 800;
	font-size: clamp(34px, 4.5vw, 48px);
	line-height: 1;
	letter-spacing: 0.01em;
}

.eh-brand span {
	color: var(--yellow);
}

.eh-hero__title {
	margin: 10px 0 4px;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 900;
	line-height: 1.4;
}

.eh-hero__lead {
	color: #b7c2cc;
	font-size: 14px;
}

.eh-nums {
	display: flex;
	gap: 28px;
}

.eh-nums div {
	padding-left: 12px;
	border-left: 2px solid var(--yellow);
}

.eh-nums b {
	display: block;
	font-family: var(--en);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.1;
}

.eh-nums span {
	font-size: 12px;
	color: #b7c2cc;
}

/* 絞り込みボタン（同じ段はOR・段をまたぐとAND） */
.eh-quick {
	display: grid;
	gap: 10px;
	margin-top: 20px;
}

.eh-qrow {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 10px;
	align-items: center;
}

@media (max-width: 620px) {
	.eh-qrow {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

.eh-ql {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #b7c2cc;
}

.eh-qs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.eh-chip {
	padding: 7px 16px;
	border: 1px solid #3a4e61;
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	transition: background 0.15s, border-color 0.15s;
}

.eh-chip:hover {
	border-color: #fff;
}

.eh-chip[aria-pressed="true"] {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--ink) !important;
}

.eh-chip b {
	margin-left: 6px;
	font-family: var(--en);
	font-weight: 500;
	font-size: 12px;
	opacity: 0.75;
}

/* 応募する人：すべて／個人／法人・団体 */
.eh-seg {
	display: inline-flex;
	padding: 3px;
	border: 1px solid #3a4e61;
	border-radius: 999px;
}

.eh-seg button {
	padding: 5px 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
}

.eh-seg button[aria-pressed="true"] {
	background: var(--yellow);
	color: var(--ink) !important;
}

.eh-clear {
	margin-left: 12px;
	color: #b7c2cc !important;
	font-size: 13px;
	text-decoration: underline !important;
}

.eh-clear:hover {
	color: #fff !important;
}

/* ---------- 一覧 ---------- */

.eh-mainv {
	padding-block: 22px 60px;
}

.eh-rh {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.eh-count {
	font-size: 15px;
}

.eh-count b {
	margin-right: 4px;
	font-family: var(--en);
	font-size: 28px;
}

.eh-sort {
	display: flex;
	padding: 3px;
	border-radius: 10px;
	background: #fff;
}

.eh-sort button {
	padding: 6px 12px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--ink2);
	font-size: 13px;
}

.eh-sort button[aria-pressed="true"] {
	background: var(--navy);
	color: #fff;
	font-weight: 700;
}

.eh-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}

.eh-job {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 14px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--card);
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.eh-job:hover,
.eh-job:focus-within {
	border-color: var(--navy);
	box-shadow: 0 6px 18px rgba(12, 22, 32, 0.08);
}

.eh-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	padding-right: 34px;
}

.eh-tag {
	padding: 1px 7px;
	border-radius: 5px;
	background: var(--chip);
	color: var(--ink2);
	font-size: 11.5px;
}

.eh-tag.is-hot {
	background: var(--coral-bg);
	color: var(--coral);
	font-weight: 700;
}

.eh-tag.is-sample {
	background: var(--navy);
	color: #fff;
	font-family: var(--en);
	letter-spacing: 0.08em;
}

.eh-tag.is-pr {
	background: var(--yellow);
	color: var(--ink);
	font-weight: 700;
}

.eh-job__title {
	font-size: 16.5px;
	font-weight: 900;
	line-height: 1.45;
}

.eh-job__title a:hover {
	text-decoration: underline;
}

.eh-job__org {
	margin-top: -4px;
	color: var(--ink2);
	font-size: 13px;
}

.eh-who {
	padding: 5px 9px;
	border-radius: 6px;
	background: var(--bg);
	color: var(--ink);
	font-size: 13px;
	line-height: 1.5;
}

.eh-facts2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--line);
}

.eh-fact__l {
	display: block;
	color: var(--mute);
	font-size: 11.5px;
	line-height: 1.3;
}

.eh-fact__v {
	display: block;
	font-weight: 900;
	font-size: 14.5px;
	line-height: 1.4;
}

.eh-fact__v.is-big {
	font-family: var(--en);
	font-size: 22px;
	line-height: 1.15;
}

.eh-fact__v.is-big small {
	margin-left: 1px;
	font-family: var(--jp);
	font-size: 13px;
}

.eh-fact__v.is-unk,
.eh-fact__v.is-text {
	color: var(--ink2);
	font-weight: 500;
	font-size: 13px;
}

.eh-fact__v.is-hot {
	color: var(--coral);
}

.eh-fact__s {
	display: block;
	color: var(--mute);
	font-size: 11.5px;
}

.eh-job.is-closed .eh-job__title,
.eh-job.is-closed .eh-fact__v {
	color: var(--ink2);
}

.eh-star {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--mute) !important;
	font-size: 18px;
	line-height: 1;
}

.eh-star:hover {
	background: var(--bg);
}

.eh-star[aria-pressed="true"] {
	color: #9a7400 !important;
}

.eh-empty {
	padding: 30px;
	border-radius: 14px;
	background: #fff;
	color: var(--ink2);
	text-align: center;
}

.eh-note {
	margin-top: 20px;
	color: var(--mute);
	font-size: 12.5px;
	line-height: 1.8;
}

/* ---------- by Euphoric " " ---------- */

.eh-about {
	max-width: 760px;
	margin: 56px auto 0;
	text-align: center;
}

.eh-about__by {
	font-family: var(--en);
	font-size: 14px;
	letter-spacing: 0.12em;
	color: var(--mute);
}

.eh-about__by b {
	color: var(--ink);
}

.eh-about__title {
	margin-top: 8px;
	font-size: 17px;
	font-weight: 900;
}

.eh-about__text {
	margin-top: 10px;
	color: var(--ink2);
	font-size: 14px;
	line-height: 1.9;
	text-align: left;
}

/* ---------- フッター ---------- */

.eh-foot {
	padding-block: 32px 40px;
	background: var(--navy);
	color: #b7c2cc;
}

.eh-foot__note {
	max-width: 760px;
	font-size: 12.5px;
	line-height: 1.8;
}

.eh-foot__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 16px;
	font-size: 13px;
}

.eh-foot__links a {
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.eh-foot__brand {
	display: inline-block;
	margin-top: 22px;
}

.eh-foot__brand .eh-logo {
	height: 22px;
}

/* ---------- 詳細ページ ---------- */

.eh-hero--detail {
	padding-block: 18px 26px;
}

.eh-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 14px;
	color: #b7c2cc;
	font-size: 12px;
}

.eh-crumb a {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.eh-crumb a:hover {
	color: #fff;
}

.eh-tags--dark .eh-tag {
	background: var(--navy2);
	color: #d4dce3;
}

.eh-tags--dark .eh-tag.is-hot {
	background: var(--coral-bg);
	color: var(--coral);
}

.eh-tags--dark .eh-tag.is-sample {
	background: #fff;
	color: var(--ink);
}

.eh-dtitle {
	margin-top: 10px;
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 900;
	line-height: 1.4;
}

.eh-dorg {
	margin-top: 6px;
	color: #b7c2cc;
	font-size: 14px;
}

.eh-sample-note {
	margin-bottom: 14px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--coral-bg);
	color: var(--ink);
	font-size: 13px;
}

.eh-keyfacts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.eh-keyfacts .eh-fact {
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--card);
}

.eh-keyfacts .eh-fact__v.is-big {
	font-size: 30px;
}

.eh-keyfacts .eh-fact__v {
	font-size: 20px;
}

.eh-keyfacts .eh-fact__v.is-text,
.eh-keyfacts .eh-fact__v.is-unk {
	font-size: 15px;
}

@media (max-width: 720px) {
	.eh-keyfacts {
		grid-template-columns: 1fr;
	}
}

.eh-dgrid {
	display: grid;
	gap: 16px;
	margin-top: 16px;
}

@media (min-width: 960px) {
	.eh-dgrid {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 20px;
		align-items: start;
	}

	.eh-apply {
		position: sticky;
		top: 80px;
	}
}

.eh-dbody {
	display: grid;
	gap: 12px;
}

.eh-panel {
	padding: 20px 22px;
	border-radius: 12px;
	background: var(--card);
}

.eh-h2 {
	margin-bottom: 10px;
	font-size: 17px;
	font-weight: 900;
}

.eh-dl > div {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 12px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-size: 15px;
}

.eh-dl dt {
	color: var(--mute);
	font-size: 13px;
	font-weight: 700;
}

.eh-dl dd {
	margin: 0;
	word-break: break-word;
}

@media (max-width: 480px) {
	.eh-dl > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

.eh-prose {
	font-size: 15px;
	line-height: 1.9;
}

.eh-prose p + p {
	margin-top: 10px;
}

.eh-apply {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px;
	border-radius: 12px;
	background: var(--card);
}

.eh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 900;
	text-align: center;
}

.eh-btn--primary {
	border: 0;
	background: var(--yellow);
	color: var(--ink) !important;
}

.eh-btn--primary:hover {
	background: #f2d900;
}

.eh-btn--ghost {
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink) !important;
	font-weight: 700;
	font-size: 14px;
}

.eh-btn--ghost:hover {
	border-color: var(--navy);
}

.eh-savebtn[aria-pressed="true"] {
	border-color: #9a7400;
	color: #6b5100 !important;
}

.eh-checked {
	color: var(--mute);
	font-size: 12.5px;
	line-height: 1.8;
	word-break: break-all;
}

.eh-checked b {
	color: var(--ink);
}

.eh-caution {
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--coral-bg);
	color: var(--ink);
	font-size: 13px;
	line-height: 1.8;
}

.eh-caution__title {
	margin-bottom: 2px;
	color: var(--coral);
	font-weight: 900;
}

.eh-block {
	margin-top: 36px;
}

.eh-articles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.eh-articles a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
	background: var(--card);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.eh-articles__img {
	flex: none;
	width: 84px;
	height: 60px;
	border-radius: 8px;
	object-fit: cover;
}

.eh-cross {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	border-radius: 12px;
	background: var(--navy);
	color: #fff !important;
	overflow: hidden;
}

.eh-cross__en {
	position: absolute;
	right: -0.04em;
	bottom: -0.22em;
	font-family: var(--en);
	font-weight: 800;
	font-size: clamp(56px, 10vw, 110px);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
	white-space: nowrap;
	pointer-events: none;
}

.eh-cross__body {
	position: relative;
	display: flex;
	flex-direction: column;
}

.eh-cross__body small {
	color: #b7c2cc;
	font-size: 12px;
}

.eh-cross__body b {
	font-size: 17px;
}

.eh-cross__go {
	position: relative;
	margin-left: auto;
	font-size: 22px;
}

.eh-back {
	margin-top: 28px;
	font-size: 14px;
}

.eh-back a {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* 画面下の固定ボタン（スマホ） */
.eh-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: var(--navy);
	transform: translateY(110%);
	transition: transform 0.3s;
}

.eh-dock.is-shown {
	transform: none;
}

.eh-dock .eh-btn {
	width: 100%;
}

@media (min-width: 960px) {
	.eh-dock {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eh *,
	.eh *::before,
	.eh *::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------- 目的・対象から探す（専用ページへのリンク） ---------- */

.eh-hero__title--view {
	margin-top: 4px;
	font-size: clamp(22px, 3vw, 32px);
}

.eh-views {
	margin-top: 32px;
	padding: 18px 20px;
	border-radius: 12px;
	background: #fff;
}

.eh-views__title {
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 900;
}

.eh-views ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eh-views a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 700;
	transition: border-color 0.15s;
}

.eh-views a:hover {
	border-color: var(--navy);
}

.eh-views a[aria-current="page"] {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff !important;
}

.eh-views b {
	font-family: var(--en);
	font-weight: 500;
	font-size: 12px;
	color: var(--mute);
}

.eh-views a[aria-current="page"] b {
	color: #b7c2cc;
}

/* ---------- 募集の状況（受付中／受付予定／今年度は終了／次回未定）2026-10-01 ----------
 * 文字と背景のコントラストはすべて 4.5:1 以上（終了カードは地を灰色寄りにし、補足文字も --ink2 に上げる）
 */
.eh {
	--open: #0b7a48;
	--open-bg: #e3f4ea;
	--up: #1d4c9c;
	--up-bg: #e6eefb;
	--end-bg: #e2e6ea;
}

.eh-tag.eh-st.is-open {
	background: var(--open);
	color: #fff;
	font-weight: 700;
}

.eh-tag.eh-st.is-upcoming,
.eh-tag.eh-st-note.is-upcoming {
	background: var(--up-bg);
	color: var(--up);
	font-weight: 700;
}

.eh-tag.eh-st.is-closed,
.eh-tag.eh-st.is-unknown {
	background: #cfd5db;
	color: #2c3742;
	font-weight: 700;
}

.eh-tag.eh-st-note.is-closed {
	background: #fff;
	color: #2c3742;
}

.eh-tags--dark .eh-tag.eh-st.is-open {
	background: #34c47f;
	color: #06251a;
}

.eh-tags--dark .eh-tag.eh-st.is-upcoming {
	background: #cfe0fb;
	color: #10305f;
}

.eh-tags--dark .eh-tag.eh-st.is-closed,
.eh-tags--dark .eh-tag.eh-st.is-unknown {
	background: #cfd5db;
	color: #1d2730;
}

/* 受付中：左の色帯＋「あと◯日」を目立たせる */
.eh-job.is-open {
	box-shadow: inset 4px 0 0 var(--open);
}

.eh-fact__s.is-left {
	color: var(--open);
	font-weight: 900;
	font-size: 13px;
}

/* 終了・次回未定：カード全体を薄く（地を灰色寄りに、文字は一段薄く。ただし 4.5:1 は保つ） */
.eh-job.is-closed,
.eh-job.is-unknown {
	background: var(--end-bg);
}

.eh-job.is-closed .eh-job__title,
.eh-job.is-unknown .eh-job__title,
.eh-job.is-closed .eh-fact__v,
.eh-job.is-unknown .eh-fact__v {
	color: #3d4853;
}

.eh-job.is-closed .eh-job__org,
.eh-job.is-closed .eh-fact__l,
.eh-job.is-closed .eh-fact__s,
.eh-job.is-unknown .eh-job__org,
.eh-job.is-unknown .eh-fact__l,
.eh-job.is-unknown .eh-fact__s {
	color: #4a5763;
}

.eh-job.is-closed .eh-who,
.eh-job.is-unknown .eh-who {
	background: #eef1f4;
	color: #3d4853;
}

.eh-job.is-closed .eh-tag:not(.eh-st):not(.eh-st-note),
.eh-job.is-unknown .eh-tag:not(.eh-st):not(.eh-st-note) {
	background: #eef1f4;
	color: #4a5763;
}

.eh-job.is-closed .eh-facts2,
.eh-job.is-unknown .eh-facts2 {
	border-top-color: #c9d0d6;
}

.eh-job.is-closed .eh-star,
.eh-job.is-unknown .eh-star {
	color: #4a5763 !important;
}

/* 一覧の区切り見出し */
.eh-group + .eh-group {
	margin-top: 30px;
}

.eh-group__h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 900;
}

.eh-group__h::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--open);
}

.eh-group.is-upcoming .eh-group__h::before {
	background: var(--up);
}

.eh-group.is-closed .eh-group__h::before,
.eh-group.is-unknown .eh-group__h::before {
	background: #7b8794;
}

.eh-group__h span {
	color: var(--ink2);
	font-size: 13px;
	font-weight: 500;
}

.eh-group__h b {
	margin-right: 2px;
	font-family: var(--en);
	font-size: 18px;
	color: var(--ink);
}

.eh-group__lead {
	margin: -6px 0 12px;
	color: var(--ink2);
	font-size: 13px;
}

/* ヒーローの件数（受付中・受付予定・終了） */
.eh-nums {
	flex-wrap: wrap;
	gap: 14px 24px;
}

.eh-nums .is-open {
	border-left-color: #34c47f;
}

.eh-nums .is-upcoming {
	border-left-color: #8fb3f0;
}

.eh-nums .is-closed {
	border-left-color: #7b8794;
}

@media (max-width: 520px) {
	.eh-nums b {
		font-size: 26px;
	}
}

/* 受付中・受付予定だけ表示（スイッチ） */
.eh-act {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px 7px 10px;
	border: 1px solid #3a4e61;
	border-radius: 999px;
	background: transparent;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
}

.eh-act::before {
	content: "";
	width: 30px;
	height: 18px;
	border-radius: 999px;
	background: #3a4e61 radial-gradient(circle at 9px 9px, #fff 6px, transparent 6.5px);
	transition: background-position 0.15s;
}

.eh-act[aria-pressed="true"] {
	border-color: #34c47f;
}

.eh-act[aria-pressed="true"]::before {
	background: #34c47f radial-gradient(circle at 21px 9px, #fff 6px, transparent 6.5px);
}

.eh-act:hover {
	border-color: #fff;
}

/* 詳細：状況の帯 */
.eh-state {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 18px;
	margin-bottom: 12px;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--open);
	color: #fff;
}

.eh-state__label {
	font-size: 22px;
	font-weight: 900;
}

.eh-state__sub {
	font-size: 16px;
	font-weight: 700;
}

.eh-state__left {
	margin-left: auto;
	font-family: var(--en);
	font-size: 22px;
	font-weight: 800;
}

.eh-state.is-upcoming {
	background: var(--up);
}

.eh-state.is-closed,
.eh-state.is-unknown {
	background: #cfd5db;
	color: #1d2730;
}

@media (max-width: 520px) {
	.eh-state__label,
	.eh-state__left {
		font-size: 19px;
	}

	.eh-state__left {
		margin-left: 0;
	}
}

/* ---------- 締切前のお知らせメール（登録・配信は OPEN CALL と共通）2026-10-01 ---------- */
.eh-signup-wrap .eucs {
	margin: 0 0 20px;
}

/* カードの「締切前に知らせる」 */
.eh-bell {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: 2px;
	padding: 5px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink) !important;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
}

.eh-bell svg,
.eh-notifybtn svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	flex: none;
}

.eh-bell:hover {
	border-color: var(--navy);
}

.eh-bell[aria-pressed="true"] {
	border-color: var(--open);
	background: var(--open-bg);
	color: var(--open) !important;
}

.eh-bell[aria-pressed="true"] svg,
.eh-notifybtn[aria-pressed="true"] svg {
	fill: currentColor;
}

/* 詳細ページ */
.eh-notify {
	display: grid;
	gap: 10px;
}

.eh-notifybtn {
	gap: 8px;
}

.eh-notifybtn[aria-pressed="true"] {
	border-color: var(--open) !important;
	color: var(--open) !important;
}

.eh-notify .eucs {
	grid-template-columns: 1fr;
	margin: 0;
	padding: 16px;
}

.eh-notify .eucs__row {
	flex-direction: column;
}

.eh-notify .eucs__note {
	display: none; /* 下の .eh-savenote で説明する */
}

.eh-notify .eucs__email {
	flex: none;
	width: 100%;
}

.eh-notify .eucs__btn {
	width: 100%;
}

.eh-savenote {
	color: var(--ink2);
	font-size: 12px;
	line-height: 1.7;
}

/* お知らせの結果表示 */
.eh-toast {
	position: fixed;
	left: 50%;
	bottom: 88px;
	z-index: 1000;
	width: min(560px, calc(100% - 32px));
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--navy, #0c1620);
	color: #fff;
	font-size: 14px;
	line-height: 1.6;
	box-shadow: 0 12px 30px rgba(12, 22, 32, 0.3);
	transform: translateX(-50%);
}

.eh-toast[hidden] {
	display: none;
}
