/* ==========================================================
   ecoweb main.css
   スマホ基準で書き、768px・1024px で広げる。
   色・余白・角丸は :root の変数だけ変えれば全体に反映される。
   ========================================================== */

:root {
	/* 色（仮）：メインは青、サブに少しだけ緑 */
	--color-main: #1e5aa8;
	--color-main-dark: #133f78;
	--color-main-deep: #0c2a4f;
	--color-main-light: #eaf2fb;
	--color-sub: #2e9e6b;
	--color-sub-dark: #237a53;
	--color-sub-light: #e7f5ee;

	--color-text: #1f2a37;
	--color-text-muted: #5b6675;
	--color-border: #dde3ea;
	--color-bg: #ffffff;
	--color-bg-alt: #f5f8fb;
	--color-placeholder: #d9dde2;
	--color-placeholder-text: #8a929c;

	/* 文字 */
	--font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--fs-base: 1rem;
	--lh-base: 1.85;

	/* 余白・形 */
	--container: 1120px;
	--gutter: 20px;
	--section-space: 72px;
	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 6px 24px rgba(12, 42, 79, .08);
	--header-h: 64px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 32px;
		--section-space: 96px;
	}
}

@media (min-width: 1024px) {
	:root {
		--section-space: 120px;
		--header-h: 76px;
	}
}

/* ----------------------------------------------------------
   リセット・基本
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	letter-spacing: .02em;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
a { color: var(--color-main); }
a:hover { color: var(--color-main-dark); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--color-sub); outline-offset: 2px; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px; left: 8px;
	z-index: 1000;
	padding: 8px 16px;
	background: var(--color-main-deep);
	color: #fff;
}
.skip-link:focus { top: 8px; color: #fff; }

.u-pc { display: none; }
@media (min-width: 768px) {
	.u-pc { display: inline; }
	.u-sp { display: none; }
}

/* ----------------------------------------------------------
   画像プレースホルダー（assets/img/ に画像を置くと自動で消える）
   ---------------------------------------------------------- */
.ph {
	position: relative;
	display: block;
	width: 100%;
	background:
		repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, .35) 14px 28px),
		var(--color-placeholder);
	color: var(--color-placeholder-text);
	font-size: .75rem;
	line-height: 1.5;
	text-align: center;
}
.ph__label {
	position: absolute;
	top: 50%; left: 50%;
	padding: 4px 8px;
	background: rgba(255, 255, 255, .6);
	border-radius: 4px;
	white-space: nowrap;
	transform: translate(-50%, -50%);
}

/* ----------------------------------------------------------
   ボタン
   ---------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: .7em 1.6em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: .45em 1.2em; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: .8em 2em; font-size: 1.0625rem; }

.btn--primary { background: var(--color-main); color: #fff; }
.btn--primary:hover { background: var(--color-main-dark); color: #fff; }
.btn--accent { background: var(--color-sub); color: #fff; }
.btn--accent:hover { background: var(--color-sub-dark); color: #fff; }
.btn--outline { border-color: var(--color-main); background: #fff; color: var(--color-main); }
.btn--outline:hover { background: var(--color-main-light); color: var(--color-main-dark); }
.btn--white { background: #fff; color: var(--color-main-deep); }
.btn--white:hover { background: var(--color-main-light); color: var(--color-main-deep); }
.btn--ghost-white { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ----------------------------------------------------------
   ヘッダー
   ---------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--color-border);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	height: var(--header-h);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: auto;
	color: var(--color-main-deep);
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: .01em;
	text-decoration: none;
}
.site-logo:hover { color: var(--color-main-deep); }
.site-logo__mark {
	width: 26px; height: 26px;
	border-radius: 50% 50% 50% 6px;
	background: linear-gradient(135deg, var(--color-main) 0 62%, var(--color-sub) 62%);
}
.custom-logo-link { margin-right: auto; }
.custom-logo { width: auto; max-height: 40px; }

.nav-toggle {
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	position: absolute;
	left: 11px;
	width: 22px; height: 2px;
	background: var(--color-main-deep);
	transition: transform .2s, opacity .2s;
	content: "";
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; left: 0; }
.nav-toggle__bar::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.global-nav {
	position: absolute;
	top: 100%; left: 0; right: 0;
	display: none;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow);
}
.global-nav.is-open { display: block; }
.global-nav__list { padding: 8px var(--gutter) 16px; }
.global-nav__list a {
	display: block;
	padding: 14px 4px;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
	font-weight: 500;
	text-decoration: none;
}
.global-nav__list li:last-child a { border-bottom: 0; }
.global-nav__list .current-menu-item > a,
.global-nav__list a:hover { color: var(--color-main); }

@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.global-nav {
		position: static;
		display: block;
		background: none;
		border: 0;
		box-shadow: none;
	}
	.global-nav__list { display: flex; gap: 4px; padding: 0; }
	.global-nav__list a {
		position: relative;
		padding: 8px 14px;
		border: 0;
		font-size: .9375rem;
	}
	.global-nav__list a::after {
		position: absolute;
		left: 14px; right: 14px; bottom: 2px;
		height: 2px;
		background: var(--color-main);
		transform: scaleX(0);
		transition: transform .2s;
		content: "";
	}
	.global-nav__list a:hover::after,
	.global-nav__list .current-menu-item > a::after { transform: scaleX(1); }
	.site-header__cta { margin-left: 8px; }
}

/* ----------------------------------------------------------
   セクション共通
   ---------------------------------------------------------- */
.section { padding-block: var(--section-space); }
.section--alt { background: var(--color-bg-alt); }

.section__head { margin-bottom: 40px; text-align: center; }
@media (min-width: 768px) { .section__head { margin-bottom: 56px; } }

.section__eyebrow {
	margin-bottom: 8px;
	color: var(--color-sub);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .2em;
}
.section__title {
	color: var(--color-main-deep);
	font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: .04em;
}
.section__lead {
	max-width: 46em;
	margin: 20px auto 0;
	color: var(--color-text-muted);
	text-align: left;
}
@media (min-width: 768px) { .section__lead { text-align: center; } }
.section__more { margin-top: 48px; text-align: center; }

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

/* ----------------------------------------------------------
   ヒーロー
   スマホ：コピー → 写真（hero-sp）の縦積み
   768px〜：写真を全面に敷き、左の余白にコピーを重ねる
   ---------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column-reverse; background: var(--color-main-light); }
.hero__inner { position: relative; z-index: 1; padding-block: 40px 28px; }
.hero__media picture { display: block; }
.hero__media img,
.hero__media .ph { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% 50%; }
.hero__img--pc { display: none !important; }

.hero__eyebrow {
	display: inline-block;
	margin-bottom: 16px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--color-sub-light);
	color: var(--color-sub-dark);
	font-size: .8125rem;
	font-weight: 700;
}
.hero__title {
	color: var(--color-main-deep);
	font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .04em;
}
.hero__lead {
	margin-top: 20px;
	color: var(--color-text);
	font-size: 1rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { flex: 1 1 200px; }

@media (min-width: 768px) {
	.hero { display: block; min-height: 520px; }
	.hero__media { position: absolute; inset: 0; }
	.hero__media picture { display: contents; }
	.hero__media img,
	.hero__media .ph { height: 100%; aspect-ratio: auto; object-position: right center; }
	.hero__img--pc { display: block !important; }
	.hero__media .ph .ph__label { left: 72%; }
	.hero__img--sp { display: none !important; }
	.hero__media::after {
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .8) 38%, rgba(255, 255, 255, 0) 62%);
		content: "";
	}
	.hero__inner { display: flex; align-items: center; min-height: inherit; padding-block: 72px; }
	.hero__body { max-width: 520px; }
	.hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
	.hero { min-height: min(600px, calc(100vh - var(--header-h))); }
}

/* ----------------------------------------------------------
   お悩み
   ---------------------------------------------------------- */
.problems { display: grid; gap: 24px; }
@media (min-width: 768px) and (max-width: 1023px) {
	.problem { display: grid; grid-template-columns: 40% 1fr; align-items: center; }
	.problem__img, .problem__img img, .problem__img .ph { height: 100%; }
}
@media (min-width: 1024px) { .problems { grid-template-columns: repeat(3, 1fr); } }

.problem {
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow);
}
.problem__img img,
.problem__img .ph { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.problem__body { padding: 24px; }
.problem__title { color: var(--color-main-deep); font-size: 1.125rem; line-height: 1.5; }
.problem__text { margin-top: 10px; color: var(--color-text-muted); font-size: .9375rem; }

/* ----------------------------------------------------------
   ecowebの答え（左：画面で訴求、右：解説）
   ---------------------------------------------------------- */
.features { display: grid; gap: 56px; }
.feature { display: grid; gap: 24px; align-items: center; }
.feature__media img,
.feature__media .ph {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.feature__label {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--color-main);
	font-weight: 700;
}
.feature__num {
	display: inline-grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--color-main);
	color: #fff;
	font-size: .875rem;
	letter-spacing: 0;
}
.feature__title {
	margin-top: 12px;
	color: var(--color-main-deep);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
	line-height: 1.5;
}
.feature__text { margin-top: 14px; color: var(--color-text-muted); }

@media (min-width: 768px) {
	.features { gap: 80px; }
	.feature { grid-template-columns: 1.15fr 1fr; gap: 48px; }
	.feature:nth-child(even) .feature__media { order: 2; }
}
@media (min-width: 1024px) {
	.feature { gap: 72px; }
}

/* ----------------------------------------------------------
   導入の流れ
   ---------------------------------------------------------- */
.steps { display: grid; gap: 40px; counter-reset: step; }
.step { position: relative; text-align: center; }
.step__img { width: min(240px, 70%); margin: 0 auto 20px; }
.step__img img,
.step__img .ph { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.step__img .ph__label { font-size: .6875rem; }
.step__num { color: var(--color-sub); font-size: .8125rem; font-weight: 700; letter-spacing: .15em; }
.step__title { margin-top: 4px; color: var(--color-main-deep); font-size: 1.25rem; }
.step__text { max-width: 22em; margin: 10px auto 0; color: var(--color-text-muted); font-size: .9375rem; }

@media (min-width: 768px) {
	.steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.step:not(:last-child)::after {
		position: absolute;
		top: 96px;
		right: -26px;
		width: 20px; height: 20px;
		border-top: 2px solid var(--color-main);
		border-right: 2px solid var(--color-main);
		transform: rotate(45deg);
		opacity: .5;
		content: "";
	}
}

/* ----------------------------------------------------------
   料金（inc/config.php の show_pricing で表示）
   ---------------------------------------------------------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
	padding: 32px 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: #fff;
	text-align: center;
}
.plan--featured { border: 2px solid var(--color-main); box-shadow: var(--shadow); }
.plan__name { color: var(--color-main-deep); font-size: 1.125rem; }
.plan__price { margin-top: 12px; color: var(--color-main); font-size: 1.75rem; font-weight: 700; }
.plan__desc { margin-top: 8px; color: var(--color-text-muted); font-size: .9375rem; }
.plans__note { margin-top: 20px; color: var(--color-text-muted); font-size: .875rem; text-align: center; }

/* ----------------------------------------------------------
   タブ
   ---------------------------------------------------------- */
.tabs__list {
	display: flex;
	gap: 8px;
	margin-bottom: 32px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}
@media (min-width: 768px) { .tabs__list { justify-content: center; } }
.tabs__tab {
	flex: 0 0 auto;
	padding: 8px 20px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: #fff;
	color: var(--color-text);
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: none;
}
.tabs__tab:hover { border-color: var(--color-main); color: var(--color-main); }
.tabs__tab[aria-selected="true"] { border-color: var(--color-main); background: var(--color-main); color: #fff; }

/* ----------------------------------------------------------
   記事カード
   ---------------------------------------------------------- */
.cards { display: grid; gap: 24px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: box-shadow .2s, transform .2s;
}
.card__link:hover { color: inherit; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.card__thumb img,
.card__thumb .ph { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card__link:hover .card__thumb img { transform: scale(1.03); }
.card__thumb .ph__label { display: none; }
.card__thumb-label {
	position: absolute;
	top: 50%; left: 8%;
	color: var(--color-main-deep);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
	font-weight: 700;
	letter-spacing: .08em;
	transform: translateY(-50%);
}
.card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.card__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.6; }
.card__date { margin-top: auto; color: var(--color-text-muted); font-size: .8125rem; }

.badge {
	align-self: flex-start;
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--color-main-light);
	color: var(--color-main);
	font-size: .75rem;
	font-weight: 700;
}
.badge--glossary { background: var(--color-sub-light); color: var(--color-sub-dark); }
.badge--news { background: #eef0f3; color: #3d4a5c; }

/* ----------------------------------------------------------
   デモ案内帯
   ---------------------------------------------------------- */
.cta-demo { padding-block: 56px; background: var(--color-main-light); }
.cta-demo__inner { display: grid; gap: 24px; justify-items: start; }
.cta-demo__eyebrow { color: var(--color-sub); font-size: .8125rem; font-weight: 700; letter-spacing: .2em; }
.cta-demo__title { margin-top: 4px; color: var(--color-main-deep); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); }
.cta-demo__lead { margin-top: 10px; color: var(--color-text-muted); }
@media (min-width: 768px) {
	.cta-demo { padding-block: 72px; }
	.cta-demo__inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
}

/* ----------------------------------------------------------
   お問い合わせ帯
   ---------------------------------------------------------- */
.cta-contact {
	position: relative;
	padding-block: 72px;
	background: var(--color-main-deep);
	color: #fff;
	text-align: center;
	isolation: isolate;
}
.cta-contact.has-bg { background: var(--cta-bg) center / cover no-repeat, var(--color-main-deep); }
.cta-contact.has-bg::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(12, 42, 79, .55);
	content: "";
}
.cta-contact__title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); line-height: 1.45; }
.cta-contact__lead { margin-top: 16px; opacity: .92; text-align: left; }
.cta-contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-contact__actions .btn { flex: 1 1 220px; max-width: 280px; }
@media (min-width: 768px) {
	.cta-contact { padding-block: 104px; }
	.cta-contact__lead { text-align: center; }
}

/* ----------------------------------------------------------
   フッター
   ---------------------------------------------------------- */
.site-footer { background: #0a1f3a; color: rgba(255, 255, 255, .85); font-size: .875rem; }
.site-footer a { color: #fff; }
.site-footer__inner { display: grid; gap: 32px; padding-block: 56px 40px; }
.site-footer .site-logo { color: #fff; }
.site-footer__tagline { margin-top: 10px; opacity: .8; }

.footer-nav__list { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav__list a { text-decoration: none; }
.footer-nav__list a:hover { text-decoration: underline; }

.site-footer__info { display: grid; gap: 20px; }
.site-footer__info dt { margin-bottom: 4px; color: #9fc3ef; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.site-footer__note { opacity: .8; }

.site-footer__bottom { padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .12); opacity: .7; }

@media (min-width: 1024px) {
	.site-footer__inner { grid-template-columns: 1.1fr 1fr 1.4fr; gap: 48px; }
	.footer-nav__list { flex-direction: column; }
}
.u-nowrap { white-space: nowrap; }
.section__title, .hero__title, .feature__title, .cta-contact__title { text-wrap: balance; }

/* ----------------------------------------------------------
   一覧ページの見出し帯・パンくず
   ---------------------------------------------------------- */
.container--narrow { max-width: calc(800px + var(--gutter) * 2); }

.page-header { padding-block: 24px 48px; background: var(--color-main-light); }
.page-header .breadcrumb { margin-bottom: 32px; }
.page-header__eyebrow { color: var(--color-sub); font-size: .8125rem; font-weight: 700; letter-spacing: .2em; }
.page-header__title { margin-top: 4px; color: var(--color-main-deep); font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.4; }
.page-header__desc { max-width: 46em; margin-top: 12px; color: var(--color-text-muted); }
@media (min-width: 768px) { .page-header { padding-block: 32px 64px; } }

.breadcrumb { padding-block: 16px; font-size: .8125rem; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb__item { color: var(--color-text-muted); }
.breadcrumb__item:not(:last-child)::after { margin-inline: 8px; color: #a7b0bb; content: "/"; }
.breadcrumb__item a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--color-main); text-decoration: underline; }
.breadcrumb__item[aria-current] span {
	display: inline-block;
	max-width: 20em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.section--list { padding-top: 40px; }
.section--list .tabs__list { justify-content: flex-start; }
.tabs__tab[aria-current="page"] { border-color: var(--color-main); background: var(--color-main); color: #fff; }

/* ページ送り */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px; height: 44px;
	padding-inline: 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-text);
	text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--color-main); color: var(--color-main); }
.pagination .page-numbers.current { border-color: var(--color-main); background: var(--color-main); color: #fff; }
.pagination .page-numbers.dots { border: 0; }

/* 検索フォーム */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	min-height: 48px;
	padding: 8px 16px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font: inherit;
}
.search-form .search-submit {
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--color-main);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.search-again { padding-top: 32px; }

/* ----------------------------------------------------------
   記事ページ
   ---------------------------------------------------------- */
.entry { padding-bottom: 64px; }
.entry__header { padding-top: 16px; }
.entry__header .badge { text-decoration: none; }
.entry__title {
	margin-top: 12px;
	color: var(--color-main-deep);
	font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
	line-height: 1.5;
}
.entry__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--color-text-muted); font-size: .8125rem; }

.entry__eyecatch { position: relative; margin-top: 28px; overflow: hidden; border-radius: var(--radius-lg); }
.entry__eyecatch img,
.entry__eyecatch .ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry__eyecatch .ph__label { display: none; }
.entry__eyecatch .card__thumb-label { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* 目次 */
.toc {
	margin: 40px 0;
	padding: 20px 24px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-bg-alt);
}
.toc__title { color: var(--color-main-deep); font-weight: 700; cursor: pointer; }
.entry__content .toc__list { margin: 12px 0 0; padding-left: 1.4em; font-size: .9375rem; }
.entry__content .toc__list ol { margin: 4px 0 8px; padding-left: 1.4em; list-style: disc; }
.entry__content .toc li { margin: 4px 0; }
.toc a { color: var(--color-text); text-decoration: none; }
.toc a:hover { color: var(--color-main); text-decoration: underline; }

/* 本文 */
.entry__content { margin-top: 40px; font-size: 1.0625rem; line-height: 2; }
.entry__content > * + * { margin-top: 1.5em; }
.entry__content h2 {
	margin-top: 2.6em;
	padding: .5em 0 .5em .9em;
	border-left: 5px solid var(--color-main);
	color: var(--color-main-deep);
	font-size: clamp(1.3rem, 1.1rem + .8vw, 1.625rem);
	line-height: 1.5;
}
.entry__content h3 {
	margin-top: 2.2em;
	padding-bottom: .4em;
	border-bottom: 2px solid var(--color-main-light);
	color: var(--color-main-deep);
	font-size: 1.25rem;
	line-height: 1.5;
}
.entry__content h4 { margin-top: 2em; font-size: 1.0625rem; }
.entry__content ul, .entry__content ol { padding-left: 1.5em; }
.entry__content li + li { margin-top: .4em; }
.entry__content a { text-decoration: underline; text-underline-offset: .2em; }
.entry__content strong { background: linear-gradient(transparent 62%, #d9ecdf 62%); }
.entry__content blockquote {
	margin-inline: 0;
	padding: 16px 24px;
	border-left: 4px solid var(--color-border);
	background: var(--color-bg-alt);
	color: var(--color-text-muted);
}
.entry__content figure { margin-inline: 0; }
.entry__content img { border-radius: var(--radius); }
.entry__content figcaption { margin-top: 8px; color: var(--color-text-muted); font-size: .8125rem; text-align: center; }
.entry__content table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.7; }
.entry__content .wp-block-table { overflow-x: auto; }
.entry__content th, .entry__content td { padding: 10px 14px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.entry__content th { background: var(--color-bg-alt); }
.entry__content hr { border: 0; border-top: 1px solid var(--color-border); }
.entry__content code { padding: .1em .4em; border-radius: 4px; background: var(--color-bg-alt); font-size: .9em; }
.entry__content .alignwide, .entry__content .alignfull { margin-inline: 0; }
.entry__content .aligncenter { margin-inline: auto; text-align: center; }

.page-links { margin-top: 40px; }
.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.entry__tags a {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--color-bg-alt);
	color: var(--color-text-muted);
	font-size: .8125rem;
	text-decoration: none;
}
.entry__tags a::before { content: "#"; }

.related { background: var(--color-bg-alt); }

/* ----------------------------------------------------------
   404
   ---------------------------------------------------------- */
.not-found { padding-bottom: var(--section-space); text-align: center; }
.not-found__code { margin-top: 32px; color: var(--color-main-light); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: .05em; }
.not-found__title { margin-top: 8px; color: var(--color-main-deep); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); }
.not-found__text { margin-top: 16px; color: var(--color-text-muted); }
.not-found__search { display: flex; justify-content: center; margin-top: 32px; }
.not-found__search .search-form { width: 100%; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
