/*
 * stack-media 第1段: 記事下の欄（関連サービス・CTA・編集部）だけの CSS。
 * 改修で足す CSS はこのファイル1つにまとめる（Z-7・第2段も同じファイル）。名前の文字は書かない（N-1）。
 * 色: 文字 #111111・ネイビー #295191・アクア #358cae（コーポレート新サイトの値。第2段で @Designer の値に差し替え）
 */

.article-body .stkm-box {
	box-sizing: border-box;
	margin: 48px 0 0;
	padding: 20px 16px;
	border: 1px solid #d9dee6;
	border-radius: 8px;
	background: #ffffff;
	color: #111111;
	font-size: 16px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.article-body .stkm-box + .stkm-box {
	margin-top: 24px;
}

.article-body .stkm-box .stkm-box__title {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	background: none;
	color: #111111;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.article-body .stkm-box .stkm-box__title::before,
.article-body .stkm-box .stkm-box__title::after {
	content: none;
}

.article-body .stkm-box p {
	margin: 0 0 12px;
}

.article-body .stkm-box p:last-child {
	margin-bottom: 0;
}

/* 関連サービス: 1列に縦に積む */
.article-body .stkm-service__list {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.article-body .stkm-service__item {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid #e6e9ee;
	list-style: none;
}

.article-body .stkm-service__item::before {
	content: none;
}

.article-body .stkm-service__link {
	display: inline-block;
	min-height: 44px;
	padding: 10px 0;
	box-sizing: border-box;
	color: #295191;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-body .stkm-service__link:hover,
.article-body .stkm-service__link:focus-visible {
	color: #358cae;
}

.article-body .stkm-service__desc {
	margin: 0;
	font-size: 15px;
}

/* CTA */
.article-body .stkm-cta {
	border-color: #295191;
	background: #f3f6fb;
}

.article-body .stkm-cta__action {
	margin: 16px 0 0;
}

.article-body .stkm-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border-radius: 6px;
	background: #295191;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
}

.article-body .stkm-cta__button:hover,
.article-body .stkm-cta__button:focus-visible {
	background: #1f3f73;
	color: #ffffff;
}

.article-body .stkm-cta__note {
	margin-top: 8px;
	font-size: 13px;
	color: #444444;
}

/* 編集部 */
.article-body .stkm-editorial {
	background: #fafafa;
}

.article-body .stkm-editorial__link a {
	display: inline-block;
	min-height: 44px;
	padding: 10px 0;
	box-sizing: border-box;
	color: #295191;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-body .stkm-box a:focus-visible {
	outline: 2px solid #358cae;
	outline-offset: 2px;
}

/* PC */
@media (min-width: 768px) {
	.article-body .stkm-box {
		padding: 28px 32px;
		font-size: 17px;
		line-height: 1.9;
	}

	.article-body .stkm-box .stkm-box__title {
		font-size: 20px;
	}

	.article-body .stkm-cta__button {
		display: inline-flex;
		width: auto;
		min-width: 320px;
	}
}

/* トップの h1（T-3）。ロゴとは別の見出し。見た目は第2段で整える */
.stkm-top-title {
	box-sizing: border-box;
	margin: 0 0 24px;
	padding: 0;
	color: #111111;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

@media (min-width: 768px) {
	.stkm-top-title {
		font-size: 28px;
		margin-bottom: 32px;
	}
}

/* ==========================================================================
 * S2-0（2026-11-03）: Simple Custom CSS and JS の「CTA」（ID 96・ヘッダーに出力・全ページ）から、中身を変えずに移した。
 * Emanon の記事下 CTA（.cta-content）用。第1段の 5-4 で Emanon の CTA を止めたので今は効く要素がないが、
 * 5-4 を戻したときに見た目が戻るように残す。画像の URL だけ、環境に依存しない相対パスにした（wp-content/uploads/…）。
 * ========================================================================== */
.cta-content {
  position: relative;
  background-image: url('../../../uploads/2025/07/contact.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden; /* 擬似要素がはみ出さないように */
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* 黒の半透明レイヤー */
  backdrop-filter: blur(2px); /* ブラー効果（対応ブラウザのみ） */
  z-index: 0;
}

.cta-content__inner {
  position: relative;
  z-index: 1; /* オーバーレイより上に表示 */
}

@media screen and (max-width: 768px) {
  .cta-content__body.u-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-content__body .column-6 {
    width: 100% !important;
    text-align: center;
  }

  .cta-content__figure {
    max-width: 80%;
    height: auto;
  }

  .cta-content__lead p {
    font-size: 1rem;
    line-height: 1.8;
    padding: 0 1rem;
  }

  .cta-content__bottom {
    text-align: center;
    margin-top: 1.5rem;
  }

  .cta-content__bottom a.c-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    display: inline-block;
  }
}


/* ==========================================================================
 * 第2段 案A（2026-11-03）。値は 第2段/S2-1_デザイン案.md §1 のスタイルガイド。
 * 名前の文字は書かない（N-1）。スマホ先・768px（PC の文字）・1024px（PC の段組み・ヘッダー）
 * ========================================================================== */
:root {
	--stkm-text: #111111;
	--stkm-sub: #444444;
	--stkm-bg: #f3f3f3;
	--stkm-line: #d9dbe1;
	--stkm-navy: #295191;
	--stkm-aqua: #358cae;
	--stkm-label-bg: #eef2f8;
	--stkm-header-bg: #0a0a0a;
	--stkm-header-line: #333333;
	--stkm-footer-bg: #0b0b0b;
	--stkm-footer-text: #e7e7e7;
	--stkm-footer-sub: #a9a9a9;
	--stkm-footer-label: #808080;
	--stkm-grad: linear-gradient(45deg, #295191 57%, #358cae);
	--stkm-tap: 48px;
}

body {
	color: var(--stkm-text);
}

/* フォーカス（D-8）: すべてのリンク・ボタン */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.stkm-btn:focus-visible {
	outline: 2px solid var(--stkm-aqua) !important;
	outline-offset: 2px;
}

/* 見出しへのページ内リンクで、追従するヘッダーの下に隠れないように */
.article-body h2,
.article-body h3,
.article-body h4 {
	scroll-margin-top: 80px;
}

/* ---------- ボタン ---------- */
.stkm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--stkm-tap);
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
}

.stkm-btn.is-primary {
	background: var(--stkm-grad);
	color: #ffffff !important;
}

.stkm-btn.is-primary:hover {
	background: var(--stkm-navy);
}

.stkm-btn.is-outline {
	border: 1px solid #ffffff;
	background: transparent;
	color: #ffffff !important;
}

.stkm-btn.is-outline:hover {
	background: rgba(255, 255, 255, 0.12);
}

.stkm-btn.is-white {
	border: 1px solid #ffffff;
	background: #ffffff;
	color: #1a0b08 !important;
}

/* ---------- ヘッダー（黒） ---------- */
.l-header,
.l-header-default,
.l-header-menu-fixed-logo,
.l-header-menu-fixed-logo__inner {
	background: var(--stkm-header-bg) !important;
}

.l-header {
	border-bottom: 1px solid var(--stkm-header-line);
}

.l-header .l-header__inner {
	min-height: 61px;
}

.l-header .site-title,
.l-header .site-title a,
.l-header-menu-fixed-logo .site-title a {
	margin: 0;
	color: #ffffff !important;
	font-size: clamp(16px, 4.4vw, 22px);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

/* 名前が長くても2行まで（Q24・S2-1 §3-4）。押せる高さ 48px（上下の余白で確保） */
.l-header .site-title a {
	padding-block: 14px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	overflow-wrap: anywhere;
}

/* スマホ: 名前は左（テーマの初期は中央） */
@media (max-width: 1023px) {
	.l-header .l-header__inner .header-site-branding {
		justify-content: flex-start !important;
		text-align: left !important;
	}

	/* 名前の入れ物は縦並びの flex。縦は中央、横は左 */
	.l-header .l-header__inner .header-site-branding_inner {
		justify-content: center !important;
		text-align: left !important;
	}

	.l-header .l-header__inner {
		padding-left: 20px;
	}

	.l-header .header-site-branding {
		display: flex;
		align-items: center;
		height: 61px;
	}

	.l-header__inner[data-emp-site-branding-sp="is-center"] .header-site-branding_inner {
		position: static !important;
		left: auto !important;
		width: auto !important;
		transform: none !important;
		align-items: flex-start !important;
		text-align: left !important;
	}
}

.l-header .hamburger-menu,
.l-header .hamburger-menu-label {
	color: #ffffff;
}

.l-header .hamburger-menu {
	min-width: var(--stkm-tap);
	min-height: var(--stkm-tap);
}

.l-header .hamburger-menu-trigger span {
	background-color: #ffffff !important;
}

.stkm-header-buttons {
	display: flex;
	gap: 12px;
	align-items: center;
}

.stkm-header-buttons .stkm-btn {
	padding: 8px 18px;
	font-size: 14px;
}

/* カテゴリの帯（PC の2段目） */
.header-menu-default {
	background: var(--stkm-header-bg) !important;
	border-top: 1px solid var(--stkm-header-line);
}

.header-menu-default .header-menu {
	justify-content: flex-start !important;
	gap: 8px;
}

.header-menu-default .header-menu > li {
	flex: 0 0 auto !important;
	width: auto !important;
}

.header-menu-default .header-menu > li > a,
.l-header-menu-fixed-logo .header-menu > li > a {
	display: flex;
	align-items: center;
	min-height: var(--stkm-tap);
	padding: 0 12px;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
}

.header-menu-default .header-menu > li > a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ドロワー（スマホのメニュー） */
/* 閉じるボタン: 押せる範囲は 48×48。テーマの「×」（線 32px・ボタンの高さ 14px で1本目と3本目が交わる形）は大きさを変えず、
   線の位置だけを 48px の箱の真ん中に置き直す（1本目 top+9px と3本目 top-4px が同じ高さ 24px で交わる）。採点2回目 */
.drawer-menu .hamburger-close-menu {
	width: var(--stkm-tap);
	height: var(--stkm-tap);
}

.drawer-menu .hamburger-close-line {
	width: var(--stkm-tap);
	height: var(--stkm-tap);
	padding: 0;
}

.drawer-menu .hamburger-close-line span {
	left: 8px;
	width: 32px;
	background-color: #ffffff;
}

.drawer-menu .hamburger-close-line span:nth-of-type(1) {
	top: 15px;
}

.drawer-menu .hamburger-close-line span:nth-of-type(2) {
	top: 23px;
}

.drawer-menu .hamburger-close-line span:nth-of-type(3) {
	top: 28px;
	bottom: auto;
}

/* ドロワーの色: 案A の見本（mock/A/top.html の .drawer）どおり、ヘッダーと同じ黒地・白い文字。採点2回目 */
.drawer-menu {
	background-color: var(--stkm-header-bg) !important;
	color: #ffffff;
}

.drawer-menu .drawer-menu__nav a {
	display: flex;
	align-items: center;
	min-height: var(--stkm-tap);
	color: var(--stkm-text);
	font-weight: 700;
}

/* ---------- トップ ---------- */
.stkm-top-title {
	margin-bottom: 8px;
}

.stkm-top-lead {
	margin: 0 0 24px;
	color: var(--stkm-sub);
	font-size: 14px;
	line-height: 1.8;
}

.stkm-section-title {
	margin: 32px 0 16px !important;
	padding: 0 0 0 12px !important;
	border: 0 !important;
	border-left: 4px solid var(--stkm-navy) !important;
	background: none !important;
	color: var(--stkm-text);
	font-size: 20px !important;
	font-weight: 700;
	line-height: 1.4;
}

.stkm-section-title::before,
.stkm-section-title::after {
	content: none !important;
}

/* カテゴリの入口（トップ: スマホ 2×2・タブレット 4列、PC はヘッダーの帯があるので出さない） */
.stkm-catlinks ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.stkm-catlinks li {
	margin: 0;
	list-style: none;
}

.stkm-catlinks li::before {
	content: none;
}

.stkm-catlinks a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: var(--stkm-tap);
	height: 100%;
	padding: 8px 12px;
	border: 1px solid var(--stkm-line);
	border-radius: 4px;
	background: #ffffff;
	color: var(--stkm-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.stkm-catlinks a:hover {
	border-color: var(--stkm-navy);
}

@media (min-width: 600px) {
	.stkm-catlinks ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.stkm-catlinks:not(.is-children) {
		display: none;
	}
}

/* ---------- 記事の一覧（リスト型） ---------- */
.l-content__main .archive-list {
	margin: 0 !important;
	border-top: 1px solid var(--stkm-line);
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

.l-content__main .archive-list:last-of-type {
	border-bottom: 1px solid var(--stkm-line);
}

.l-content__main .archive-list > a {
	display: flex !important;
	gap: 12px;
	align-items: flex-start;
	padding: 16px 0;
	color: var(--stkm-text);
	text-decoration: none;
}

.l-content__main .archive-list .post-thumbnail {
	flex: 0 0 112px;
	width: 112px !important;
	max-width: 112px;
	margin: 0 !important;
	border-radius: 8px;
	overflow: hidden;
}

.l-content__main .archive-list .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.l-content__main .archive-list .article-info {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0 !important;
}

.l-content__main .archive-list .article-title {
	margin: 4px 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--stkm-text);
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.6;
}

.l-content__main .archive-list .article-title::before,
.l-content__main .archive-list .article-title::after {
	content: none !important;
}

.l-content__main .archive-list a:hover .article-title {
	color: var(--stkm-navy);
	text-decoration: underline;
}

.l-content__main .archive-list .article-meta,
.l-content__main .archive-list time {
	color: var(--stkm-sub) !important;
	font-size: 13px;
}

/* カテゴリのラベル（一覧・記事の頭）。テーマが色を style で書くので !important */
/* 記事の頭のラベルはリンク。見た目は 24px のまま、押せる高さは 48px（背景を中央の 24px だけに塗る） */
.meta-category__item a {
	display: inline-flex !important;
	align-items: center;
	min-height: var(--stkm-tap);
	background: linear-gradient(var(--stkm-label-bg), var(--stkm-label-bg)) center / 100% 24px no-repeat !important;
}

.cat-name,
.meta-category__item a {
	position: static !important;
	margin: 0 4px 0 0;
	padding: 0 6px !important;
	border-radius: 2px !important;
	background: var(--stkm-label-bg) !important;
	color: var(--stkm-navy) !important;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1.8;
}

.meta-category__item a {
	border: 0 !important;
	box-shadow: none !important;
	background: linear-gradient(var(--stkm-label-bg), var(--stkm-label-bg)) center / 100% 24px no-repeat !important;
}

/* テーマのラベルの枠線（li）を外す。押せる高さ 48px の枠が線で見えないように */
.meta-category__item {
	border: 0 !important;
	background: none !important;
	padding: 0 !important;
}

@media (min-width: 768px) {
	.l-content__main .archive-list > a {
		gap: 20px;
	}

	.l-content__main .archive-list .post-thumbnail {
		flex-basis: 240px;
		width: 240px !important;
		max-width: 240px;
	}

	.l-content__main .archive-list .article-title {
		font-size: 17px !important;
	}
}

/* ページ送り（押せる高さ 48px） */
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--stkm-tap);
	min-height: var(--stkm-tap);
	box-sizing: border-box;
	color: var(--stkm-navy);
	font-weight: 700;
}

.pagination .page-numbers.current {
	background: var(--stkm-navy) !important;
	color: #ffffff;
}

/* ---------- サイドバー ---------- */
.stkm-popular .stkm-section-title {
	margin-top: 0 !important;
}

.stkm-popular__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.stkm-popular__item {
	margin: 0;
	border-bottom: 1px solid var(--stkm-line);
	list-style: none;
}

.stkm-popular__item::before {
	content: none;
}

.stkm-popular__item a {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: var(--stkm-tap);
	padding: 10px 0;
	color: var(--stkm-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
}

.stkm-popular__item a:hover {
	color: var(--stkm-navy);
	text-decoration: underline;
}

.wp-block-search__label {
	color: var(--stkm-text);
	font-weight: 700;
}

.wp-block-search__input {
	min-height: var(--stkm-tap);
	font-size: 16px !important;
	border-color: var(--stkm-line) !important;
}

/* 検索の入力欄はテーマがフォーカスの枠を 0 にしているので、ここで出す（D-8） */
.wp-block-search .wp-block-search__input:focus,
.wp-block-search .wp-block-search__input:focus-visible {
	outline-width: 2px !important;
	outline-style: solid !important;
	outline-color: #358cae !important;
	outline-offset: 2px;
}

.wp-block-search__button {
	min-height: var(--stkm-tap);
	min-width: 72px;
	background: var(--stkm-navy) !important;
	color: #ffffff !important;
	font-weight: 700;
}

.stkm-side-cta {
	margin: 24px 0;
	padding: 20px;
	border-radius: 16px;
	background: var(--stkm-bg);
	color: var(--stkm-text);
}

.stkm-side-cta__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.stkm-side-cta__body {
	margin: 0 0 16px;
	color: var(--stkm-sub);
	font-size: 14px;
	line-height: 1.8;
}

.stkm-side-cta .stkm-btn {
	width: 100%;
}

/* 診断の箱は PC のサイド（追従）だけ。スマホ・タブレットは帯と記事下の CTA・下部固定ボタンがある（S2-1 §3-1） */
@media (max-width: 1023px) {
	.stkm-side-cta {
		display: none;
	}
}

/* ---------- 診断の帯（トップ・一覧） ---------- */
.stkm-band {
	background: var(--stkm-header-bg);
	color: #ffffff;
}

/* 帯の入れ物（テーマのフッター セクション）の余白を外して全幅にする */
.c-section-widget:has(.stkm-band) {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--stkm-header-bg);
}

.stkm-band__inner {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px;
}

.stkm-band__title {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #ffffff !important;
	font-size: 22px !important;
	font-weight: 700;
	line-height: 1.5;
}

.stkm-band__title::before,
.stkm-band__title::after {
	content: none !important;
}

.stkm-band__body {
	margin: 0 0 20px;
	color: #e7e7e7;
	font-size: 15px;
	line-height: 1.8;
}

.stkm-band .stkm-btn {
	width: 100%;
}

@media (min-width: 768px) {
	.stkm-band__inner {
		padding: 56px 40px;
	}

	.stkm-band .stkm-btn {
		width: auto;
		min-width: 320px;
	}
}

/* ---------- フッター（黒） ---------- */
.l-footer,
.l-footer .footer-widget,
.l-footer .site-copyright {
	background: var(--stkm-footer-bg) !important;
	color: var(--stkm-footer-text);
}

.l-footer .footer-widget .column-4:has(.stkm-footer) {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

.l-footer .site-copyright small:empty {
	display: none;
}

.stkm-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	padding: 40px 0 24px;
}

.stkm-footer__name {
	margin: 0 0 4px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
}

.stkm-footer__lead {
	margin: 0 0 16px;
	color: var(--stkm-footer-sub);
	font-size: 13px;
}

.stkm-footer__heading {
	margin: 0 0 8px;
	color: var(--stkm-footer-label);
	font-size: 12px;
	letter-spacing: 0.08em;
}

.stkm-footer__address {
	color: var(--stkm-footer-text);
	font-size: 13px;
	font-style: normal;
	line-height: 1.8;
}

.stkm-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.stkm-footer li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	list-style: none;
}

.stkm-footer li::before {
	content: none;
}

.stkm-footer li a {
	display: flex;
	align-items: center;
	min-height: var(--stkm-tap);
	color: var(--stkm-footer-text) !important;
	font-size: 14px;
	text-decoration: none;
}

.stkm-footer li a:hover {
	color: #ffffff !important;
	text-decoration: underline;
}

.stkm-copyright {
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--stkm-footer-sub);
	font-size: 12px;
	text-align: left;
}

@media (min-width: 600px) {
	.stkm-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.stkm-footer {
		grid-template-columns: 1.3fr 1fr 1fr 1fr;
		gap: 40px;
	}
}

/* ---------- スマホ下部の固定ボタン（1023px 以下） ---------- */
.stkm-bottom-bar {
	display: none;
}

@media (max-width: 1023px) {
	.stkm-bottom-bar {
		display: flex;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 300;
		padding-bottom: env(safe-area-inset-bottom);
		background: #ffffff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
		transition: transform 0.3s ease;
	}

	.stkm-bottom-bar.is-hidden {
		transform: translateY(110%);
	}

	.stkm-bottom-bar .stkm-btn {
		flex: 1 1 50%;
		min-height: 60px;
		border-radius: 0;
	}

	/* フッターの最後の行を隠さない（D-11） */
	.l-footer {
		padding-bottom: calc(60px + 32px + env(safe-area-inset-bottom));
	}

	/* テーマのスマホ下部メニューとは重ねない（使っていない） */
	.fixed-footer-menu {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stkm-bottom-bar {
		transition: none;
	}
}

/* ---------- 記事 ---------- */
.breadcrumb__inner {
	flex-wrap: wrap;
}

.breadcrumb__item,
.breadcrumb__item a {
	color: var(--stkm-sub) !important;
	font-size: 13px;
}

.breadcrumb__item a {
	display: inline-flex;
	align-items: center;
	min-height: var(--stkm-tap);
	min-width: 24px;
	padding-inline: 4px;
	justify-content: center;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.article-header .article-title {
	color: var(--stkm-text);
	font-size: 24px !important;
	font-weight: 700;
	line-height: 1.5;
}

.article-header__thumbnail img {
	border-radius: 8px;
}

.single .article-body {
	color: var(--stkm-text);
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.04em;
}

/* 本文のリンクは色だけでなく下線でも分かるように（ユーザー補助） */
.article-body p a:not([class]),
.article-body li a:not([class]),
.article-body td a:not([class]) {
	color: var(--stkm-navy);
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* 本文の h2（案A: 灰色の帯＋左の線。テーマの白文字＋薄い色の背景はコントラスト 2.7:1 だったため） */
.single .article .article-body h2.wp-block-heading:not(.is-style-none) {
	margin: 48px 0 24px;
	padding: 12px 16px !important;
	border: 0 !important;
	border-left: 4px solid var(--stkm-navy) !important;
	border-radius: 4px;
	background: var(--stkm-bg) !important;
	color: var(--stkm-text) !important;
	font-size: 20px;
	line-height: 1.5;
}

.single .article .article-body h2.wp-block-heading:not(.is-style-none)::before,
.single .article .article-body h2.wp-block-heading:not(.is-style-none)::after {
	content: none !important;
}

@media (min-width: 768px) {
	.single .article .article-body h2.wp-block-heading:not(.is-style-none) {
		font-size: 24px;
	}
}

.toc-box {
	border-radius: 8px;
	background: var(--stkm-bg) !important;
}

/* 目次のリンクも下線（色だけで区別しない）。テーマが .article-body .contents-outline__item .toc-box_link で !important を付けているので同じ強さで後ろに置く */
.article-body .contents-outline__item .toc-box_link,
.article-body .contents-outline__item .toc-box_link:hover,
.contents-outline a,
.contents-outline__item a {
	color: var(--stkm-navy) !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

@media (min-width: 768px) {
	.article-header .article-title {
		font-size: 32px !important;
	}

	.single .article-body {
		max-width: 760px;
		font-size: 17px;
		line-height: 1.9;
	}
}

/* 本文の中の既存のボタン（Emanon のブロック）の押せる高さ。文言・リンク先は変えない（K-15） */
.article-body .epb-advanced-button {
	min-height: var(--stkm-tap);
	box-sizing: border-box;
}

/* 記事下の欄（案A: 薄いネイビーの箱・主ボタン） */
.article-body .stkm-cta {
	border-color: #c9d4e8;
	background: var(--stkm-label-bg);
}

.article-body .stkm-cta__button {
	background: var(--stkm-grad);
}

.article-body .stkm-cta__note {
	color: var(--stkm-sub);
}

/* 関連記事（リスト型） */
.related-posts__title {
	margin: 40px 0 8px;
	padding: 0 0 0 12px;
	border-left: 4px solid var(--stkm-navy);
	color: var(--stkm-text);
	font-size: 20px;
	font-weight: 700;
}

.related-post-list {
	display: block !important;
}

.related-post-list .related-post-list__item {
	height: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--stkm-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.related-post-list .related-post-list__item > a {
	display: flex;
	gap: 12px;
	align-items: center;
	height: auto !important;
	padding: 12px 0;
	color: var(--stkm-text);
	text-decoration: none;
}

.related-post-list__thumbnail {
	flex: 0 0 112px;
	width: 112px !important;
	height: auto !important;
}

.related-post-list__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
}

.related-post-list__body {
	flex: 1 1 auto;
	min-width: 0;
	height: auto !important;
	padding: 0 !important;
	overflow: visible !important;
}

.related-post-list__title {
	font-size: 15px !important;
	font-weight: 700;
	line-height: 1.6;
}

.stkm-catmore {
	margin: 16px 0 0;
}

.stkm-catmore a {
	display: inline-flex;
	align-items: center;
	min-height: var(--stkm-tap);
	color: var(--stkm-navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.stkm-catmore a::after {
	content: "→";
	margin-left: 6px;
	text-decoration: none;
}

/* ---------- カテゴリ・タグの一覧 ---------- */
.stkm-archive-title {
	margin: 24px 0 16px;
	color: var(--stkm-text);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
}

.stkm-catlinks.is-children ul {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stkm-archive-after {
	margin: 40px 0 0;
}

.stkm-archive-after .stkm-box {
	box-sizing: border-box;
	margin: 0 0 24px;
	padding: 20px 16px;
	border: 1px solid var(--stkm-line);
	border-radius: 8px;
	background: #ffffff;
}

.stkm-archive-after .stkm-cta {
	border-color: #c9d4e8;
	background: var(--stkm-label-bg);
}

@media (min-width: 768px) {
	.stkm-archive-title {
		font-size: 30px;
	}

	.stkm-archive-after .stkm-box {
		padding: 28px 32px;
	}
}

/* ---------- 第2段 採点1回目の直し（2026-11-03） ---------- */

/* D-3: 左右の余白はスマホ 20px（S2-1 §2「左右の余白 20px」「本文の幅 画面幅−左右20px」）。テーマは 16px（calc(100% - 32px)）。
   ヘッダーの .l-header .l-content はテーマの強い指定（幅 100%）のまま */
@media (max-width: 767px) {
	.l-content,
	.l-content__sm,
	.l-content__fluid {
		width: calc(100% - 40px);
	}
}

/* D-3: 本文の段落の行間。テーマは .article-body p に var(--ep-article-line-height-*)（1.8）を指定しているので、変数を本文の中だけ 1.9 にする（PC） */
@media (min-width: 768px) {
	.single .article-body {
		--ep-article-line-height-tablet: 1.9;
		--ep-article-line-height-pc: 1.9;
	}
}

/* D-3: 本文の箇条書きは :root :where(.wp-block-list) の 1.8 が効くので、本文の行間（スマホ 1.8・PC 1.9）を受け継ぐ */
.single .article-body .wp-block-list {
	line-height: inherit;
}

/* 見えない見出し（読み上げだけ） */
.stkm-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* D-10: ドロワーの中身（[stkm_drawer]。検索・小見出し「カテゴリ」「運営会社」）。黒地の上: 文字 白、小見出し #a9a9a9（見本の --c-footer-sub）、
   線 #333333（見本の --c-header-line）、検索ボタンは白ボタン（S2-1 §5「暗い帯の上の CTA」と同じ） */
.stkm-drawer {
	padding: 0 20px 24px;
	color: #ffffff;
}

.stkm-drawer__search {
	display: flex;
	gap: 8px;
	margin: 0 0 24px;
}

.stkm-drawer__search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: var(--stkm-tap);
	padding: 0 12px;
	border: 1px solid #ffffff;
	border-radius: 4px;
	background: #ffffff;
	color: var(--stkm-text);
	font-size: 16px;
}

.stkm-drawer__search input[type="search"]::placeholder {
	color: #666666;
	opacity: 1;
}

.stkm-drawer__search button {
	flex: 0 0 auto;
	min-width: 72px;
	min-height: var(--stkm-tap);
	border: 1px solid #ffffff;
	border-radius: 4px;
	background: #ffffff;
	color: #1a0b08;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.stkm-drawer__search input[type="search"]:focus-visible,
.stkm-drawer__search button:focus-visible,
.stkm-drawer a:focus-visible {
	outline: 2px solid var(--stkm-aqua);
	outline-offset: 2px;
}

.stkm-drawer__group + .stkm-drawer__group {
	margin-top: 24px;
}

.stkm-drawer__heading {
	margin: 0 0 4px;
	color: var(--stkm-footer-sub);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.stkm-drawer__group ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--stkm-header-line);
}

.stkm-drawer__group li {
	border-bottom: 1px solid var(--stkm-header-line);
}

.stkm-drawer__group a {
	display: flex;
	align-items: center;
	min-height: var(--stkm-tap);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.stkm-drawer__group a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 4px;
}
