/* ブログ（/blog/ 以下の一覧・記事）のスタイル。body に .page-blog を付けて読み込む
 * ページは blog-src/build.py が作る（HTML を直接直さず、blog-src/ を直して実行する）
 * ページタイトル・パンくずは page.css、オレンジの申し込みボタン（.btn-cta）は common.css
 * 文字は黒、線と囲みは青系。記事に付くカテゴリと日付はグレー、オレンジは申し込みボタンだけに使う */

.page-blog {
	/* 色の基本（common.css では .sec に定義されているので、ブログでも同じ値を置く） */
	--sec-blue: #009df1;
	--sec-accent: #309dff;
	--sec-orange: #ff932d;
	--sec-text: #333;
	--sec-gutter: clamp(16px, 4vw, 56px);
	--bl-ink: #222;       /* 見出し */
	--bl-line: #e3e3e3;   /* グレーの線 */
	--bl-bg: #f6f7f8;     /* 囲みの背景 */
	--bl-sub: #666;       /* 説明文 */
	--bl-muted: #888;     /* 日付など */
	--bl-ph: #e4e7ea;     /* 画像の下地 */
	--bl-bline: #d9eef9;  /* 水色の枠線 */
	--bl-tint: #f2faff;   /* 水色の背景 */
	--bl-toc: #1a87cc;    /* 目次の青 */
	--bl-ng: #f11400;     /* 失敗例の数字 */
}

.bl-wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: 72px var(--sec-gutter) 120px;
	box-sizing: content-box;
	color: var(--sec-text);
}
.bl-wrap--article {
	padding-top: 48px;
}

/*==================== 共通パーツ ====================*/
/* サムネイル（アイキャッチを 16:9 で切り抜く） */
.bl-thumb {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	background: var(--bl-ph);
}
.bl-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}
/* カテゴリのラベル：日付と同じグレーの丸い枠 */
.bl-cat {
	display: inline-block;
	padding: 1px 12px;
	border: 1px solid #ccc;
	border-radius: 999px;
	color: var(--bl-muted);
	font-size: 12px;
	line-height: 1.8;
	letter-spacing: 0.04em;
}
/* カテゴリが2つ以上ある記事 */
.bl-catgroup {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px 8px;
}
a.bl-cat:hover {
	border-color: var(--sec-blue);
	color: var(--sec-blue);
}
.bl-date {
	color: var(--bl-muted);
	font-size: 13px;
	letter-spacing: 0.06em;
}

/* 本文とサイドバーの2段組み */
.bl-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 64px;
	align-items: start;
}

/*==================== 一覧ページ ====================*/
.bl-intro {
	margin-bottom: 48px;
}
/* カテゴリで絞り込み（グレーの丸い枠。選んでいるものだけ青で塗る） */
.bl-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 64px;
	padding: 0;
	list-style: none;
}
.bl-cats a {
	display: block;
	padding: 6px 20px;
	border: 1px solid #ccc;
	border-radius: 999px;
	color: var(--bl-muted);
	font-size: 14px;
	letter-spacing: 0.04em;
	transition: border-color 0.2s, color 0.2s;
}
.bl-cats a:hover {
	border-color: var(--sec-blue);
	color: var(--sec-blue);
}
.bl-cats a[aria-current] {
	border-color: var(--sec-blue);
	background: var(--sec-blue);
	color: #fff;
}

/* 記事カード（2列） */
.bl-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 56px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bl-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: inherit;
}
.bl-card .bl-meta {
	justify-content: space-between;
}
.bl-card__title {
	color: var(--bl-ink);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.03em;
	transition: color 0.2s;
}
.bl-card:hover .bl-card__title {
	color: var(--sec-blue);
}
.bl-card .bl-thumb {
	transition: opacity 0.2s;
}
.bl-card:hover .bl-thumb {
	opacity: 0.85;
}
.bl-card__text {
	color: var(--bl-sub);
	font-size: 14px;
	line-height: 1.8;
}

/* ページ送り */
.bl-pager {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 80px 0 0;
	padding: 0;
	list-style: none;
}
.bl-pager a,
.bl-pager span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--bl-line);
	border-radius: 4px;
	box-sizing: border-box;
	color: var(--bl-ink);
	font-size: 14px;
}
.bl-pager [aria-current] {
	border-color: var(--sec-blue);
	background: var(--sec-blue);
	color: #fff;
}

/*==================== サイドバー ====================*/
.bl-side {
	display: flex;
	flex-direction: column;
	gap: 48px;
}
/* PC はスクロールに追従させる。止まる位置は固定（ヘッダーの出入りでは動かさない）。
 * サイドバーが画面より高いときだけ、blog.js が下端の見える位置に top を書きかえる */
@media screen and (min-width: 901px) {
	.bl-side {
		position: sticky;
		top: 84px; /* スクロール中の固定ヘッダー（高さ68px）の下 */
	}
}
.bl-side__title {
	margin: 0 0 4px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--sec-blue);
	color: var(--bl-ink);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

/* 人気の記事ランキング */
.bl-rank {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bl-rank a {
	display: grid;
	grid-template-columns: 20px 88px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid var(--bl-line);
	color: inherit;
}
.bl-rank__no {
	color: var(--sec-blue);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}
.bl-rank li:nth-child(n + 4) .bl-rank__no {
	color: #9aa5ae;
}
.bl-rank .bl-thumb {
	border-radius: 4px;
}
.bl-rank__title {
	color: var(--bl-ink);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	transition: color 0.2s;
}
.bl-rank a:hover .bl-rank__title {
	color: var(--sec-blue);
}

/* カテゴリ一覧 */
.bl-catlist {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bl-catlist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--bl-line);
	color: var(--bl-ink);
	font-size: 14px;
	transition: color 0.2s;
}
.bl-catlist a:hover {
	color: var(--sec-blue);
}
/* 右端の矢印（線で描く「>」） */
.bl-catlist a::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-right: 4px;
	border-top: 1.5px solid var(--bl-muted);
	border-right: 1.5px solid var(--bl-muted);
	transform: rotate(45deg);
}

/* サイドバーの無料登録（Figma「cta-sub」2026-11-30）：青のグラデーションに白い丸の飾り、オレンジのボタン */
.bl-side-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 32px 24px;
	border-radius: 8px;
	background: linear-gradient(135deg, #3aa8ff 0%, #5fd3e6 100%);
	color: #fff;
	text-align: center;
}
/* 飾りの丸：Figma「cta-sub」の画像をそのまま使う（左上と右下。文字の下に敷く）2026-11-30 */
.bl-side-cta::before,
.bl-side-cta::after {
	content: "";
	position: absolute;
	z-index: 0;
	background: center / 100% 100% no-repeat;
	pointer-events: none;
}
.bl-side-cta::before {
	top: 14px;
	left: 0;
	width: 81px;
	height: 24px;
	background-image: url("../img/blog-side-cta-bubble-1.webp");
}
.bl-side-cta::after {
	right: 0;
	bottom: 19px;
	width: 142px;
	height: 39px;
	background-image: url("../img/blog-side-cta-bubble-2.webp");
}
.bl-side-cta > * {
	position: relative;
	z-index: 1;
}
.bl-side-cta__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.2px;
}
.bl-side-cta__text {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.2px;
}
.bl-side-cta .btn-cta {
	width: 100%;
	min-height: 56px;
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.32px;
}

/*==================== 記事ページ ====================*/
/* 記事ページはページタイトルの帯がないので、ヘッダーのメニューの段を薄いグレーにして本文と分ける。
 * スクロールしてヘッダーが小さくなり追従している間（body.scrolled）は、背景を消す */
.page-blog-article header > nav {
	background: #fbfbfb;
	transition: background-color 0.3s;
}
.page-blog-article.scrolled header > nav {
	background: transparent;
}
/* パンくずはヘッダーのすぐ下に白地で置く */
.bl-top .page-breadcrumb {
	border-bottom: 0;
	background: #fff;
}

.bl-article {
	min-width: 0;
	color: var(--sec-text);
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.04em;
}
.bl-article p {
	margin: 0;
}
.bl-article p + p,
.bl-article p + .bl-list,
.bl-article .bl-list + p {
	margin-top: 24px;
}
.bl-article strong {
	font-weight: 700;
}
.bl-article .bl-red {
	color: #ff0000;
}
/* :where() で詳細度を上げずに、ボタン・カテゴリ・カードを除く（目次などの個別の指定が勝つように） */
.bl-article a:where(:not(.btn-cta, .bl-cat, .bl-card, .bl-linkcard)) {
	color: var(--sec-blue);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.bl-article__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 32px;
}
.bl-article__title {
	color: var(--bl-ink);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: 0.03em;
}
.bl-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	color: var(--bl-muted);
	font-size: 13px;
	letter-spacing: 0.06em;
}
.bl-eyecatch {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}

/* 目次：大見出しは青い丸の番号、小見出しは縦線でつないで黒の文字（番号なし） */
.bl-toc {
	margin: 48px 0 0;
	padding: 28px;
	border: 1px solid var(--bl-toc);
	border-radius: 8px;
	background: #fff;
	color: var(--bl-toc);
}
.bl-toc__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 18px;
	font-weight: 700;
}
.bl-toc__list,
.bl-toc__sub {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bl-toc__list > li + li {
	margin-top: 18px;
}
.bl-article .bl-toc a {
	color: var(--bl-toc);
	text-decoration: none;
}
.bl-article .bl-toc a:hover {
	text-decoration: underline;
}
.bl-toc__list > li > a {
	display: flex;
	gap: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
}
.bl-toc__no {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--bl-toc);
	color: #fff;
	font-size: 12px;
	line-height: 1;
}
.bl-toc__sub {
	margin: 6px 0 0 11px;
	padding-left: 29px;
	border-left: 1px solid #b8d6ed;
}
.bl-toc__sub li + li {
	margin-top: 6px;
}
.bl-article .bl-toc .bl-toc__sub a {
	color: #555;   /* 小見出しは少しグレーの黒・番号なし（大見出しは青い丸の番号） */
	font-size: 15px;
	line-height: 1.7;
}

/* 見出し：h2 は左の太線＋水色の帯、h3 は下線（左だけ青） */
.bl-article h2 {
	margin: 80px 0 32px;
	padding: 14px 20px;
	border-left: 6px solid var(--sec-blue);
	background: var(--bl-tint);
	color: var(--bl-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.03em;
}
.bl-article h3 {
	position: relative;
	margin: 48px 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--bl-line);
	color: var(--bl-ink);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.6;
}
.bl-article h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 48px;
	height: 2px;
	background: var(--sec-blue);
}
.bl-article h2 + h3 {
	margin-top: 32px;
}

/* 箇条書き（点は ::before で描く） */
.bl-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bl-list li {
	position: relative;
	padding-left: 1.2em;
}
.bl-list li::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.85em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #aaa;
}
.bl-list li + li {
	margin-top: 6px;
}
.bl-article .bl-sublabel {
	margin-top: 24px;
	color: var(--bl-ink);
	font-weight: 600;
}
.bl-article .bl-sublabel + .bl-list {
	margin-top: 4px;
}

/* 結論・まとめの囲み */
.bl-point {
	padding: 28px 32px;
	border: 2px solid var(--bl-bline);
	border-radius: 8px;
}
.bl-point .bl-list li + li {
	margin-top: 20px;   /* 結論・まとめは1項目が長いので、項目の間をあける */
}
.bl-point .bl-list + p {
	margin-top: 16px;
}

/* 枠で囲む箇条書き（項目の一覧など）：細い水色の枠。結論の囲みより控えめ */
.bl-box {
	margin: 24px 0;
	padding: 20px 28px;
	border: 1px solid #b8d6ed;
	border-radius: 8px;
}
.bl-box .bl-list li + li {
	margin-top: 8px;
}

/* 計算式：左に青い線を引いた細い囲み。式は太字、例は小さく下に（左揃え・背景なし） */
.bl-formula {
	display: inline-block;
	min-width: min(480px, 100%);
	margin: 16px 0 8px;
	padding: 12px 32px 12px 20px;
	border: 1px solid #b8d6ed;
	border-left: 4px solid var(--bl-toc);
	border-radius: 0 6px 6px 0;
}
.bl-article .bl-formula__expr {
	color: var(--bl-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
}
.bl-article .bl-formula__ex {
	margin-top: 0;
	color: var(--bl-sub);
	font-size: 13px;
	line-height: 1.7;
}

/* 実例の囲み */
.bl-case {
	margin: 32px 0;
	padding: 16px 32px;
	border-radius: 8px;
	background: var(--bl-bg);
}
.bl-case dl {
	display: grid;
	grid-template-columns: minmax(7em, max-content) minmax(0, 1fr); /* 項目名が7文字より長いときは、改行せずに列を広げる */
	margin: 0;
}
.bl-case dt,
.bl-case dd {
	padding: 12px 0;
	border-bottom: 1px solid var(--bl-line);
}
.bl-case dt:last-of-type,
.bl-case dd:last-of-type {
	border-bottom: 0;
}
.bl-case dt {
	padding-right: 16px;
	color: var(--bl-ink);
	font-weight: 600;
}
.bl-case dd {
	margin: 0;
}

/* 台詞・DM の文面 */
.bl-quote {
	margin: 24px 0;
	padding: 20px 24px;
	border-left: 3px solid #c9c9c9;
	background: var(--bl-bg);
	font-size: 15px;
	line-height: 1.9;
}
.bl-article .bl-quote p + p {
	margin-top: 8px;
}
.bl-quote__label {
	color: var(--bl-muted);
	font-size: 13px;
}

/* 出典 */
.bl-article .bl-source {
	margin-top: 24px;
	color: var(--bl-muted);
	font-size: 13px;
	line-height: 1.8;
}

/* 手順の一覧：小さな水色の丸に青い番号、丸どうしを細い線でつなぐ（主張を抑える。2026-11-29 代表）
   「STEP」の文字は画面には出さない（読み上げ用に残す） */
.bl-steps {
	margin: 24px 0;
	padding: 28px 32px;
	border: 1px solid var(--bl-bline);
	border-radius: 8px;
	list-style: none;
}
.bl-steps li {
	position: relative;
	display: flex;
	align-items: flex-start;   /* 丸は1行目にそろえる（2行になっても線がずれない） */
	gap: 16px;
	min-height: 30px;
}
.bl-steps li + li {
	margin-top: 24px;
}
/* 丸の下から次の丸まで線を引く（最後の行は引かない） */
.bl-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 14px;
	top: 30px;
	bottom: -24px;
	width: 1px;
	background: var(--bl-bline);
}
.bl-steps__no {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--bl-bline);
	border-radius: 50%;
	background: var(--bl-tint);
	color: var(--bl-toc);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}
.bl-steps__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.bl-steps__text {
	padding-top: 1px;
	color: var(--bl-ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
}
/* 手順に説明文が付く形：見出し（太字）＋説明（本文の文字）。線は次の丸まで伸ばす */
.bl-steps--desc li + li {
	margin-top: 28px;
}
.bl-steps--desc li:not(:last-child)::after {
	bottom: -28px;
}
.bl-steps__title {
	display: block;
	font-weight: 700;
}
.bl-steps__desc {
	display: block;
	margin-top: 6px;
	color: var(--sec-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
}

/* 表（幅が足りないときは表だけ横にスクロールする） */
.bl-table-wrap {
	margin: 24px 0;
	overflow-x: auto;
}
.bl-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.8;
}
.bl-table th,
.bl-table td {
	padding: 12px 16px;
	border: 1px solid var(--bl-bline);
	text-align: left;
	vertical-align: top;
}
.bl-table thead th {
	background: #eef8fe;
	color: var(--bl-ink);
	font-weight: 600;
}
.bl-table tbody th {
	width: 30%;
	background: #fafcfd;
	color: var(--bl-ink);
	font-weight: 600;
}
.bl-table--match td:not(:first-child),
.bl-table--match thead th:not(:first-child) {
	width: 20%;
}
/* 行の見出しが短い3列の表：見出しの列を細くして、2列目を広げる */
.bl-table--short-head tbody th {
	width: 22%;
}
.bl-table--short-head td:nth-of-type(1) {
	width: 30%;
}
/* 2列目の中身も短い表：1列目24%・2列目22%にして、3列目を広げる（--short-head と一緒に付ける） */
.bl-table--short-head.bl-table--narrow-mid tbody th {
	width: 24%;
}
.bl-table--short-head.bl-table--narrow-mid td:nth-of-type(1) {
	width: 22%;
}
.bl-table td.is-no {
	background: #f6f7f8;
}
/* 本文の中の記事カード（本文に <!-- CARD:slug --> と書くと build.py が作る） */
.bl-linkcard {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 24px 0;
	padding: 16px;
	border: 1px solid var(--bl-line);
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s;
}
.bl-linkcard:hover {
	border-color: var(--sec-blue);
}
.bl-linkcard .bl-thumb {
	flex: none;
	width: 200px;
	transition: opacity 0.2s;
}
.bl-linkcard:hover .bl-thumb {
	opacity: 0.85;
}
.bl-linkcard__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.bl-linkcard__label {
	color: var(--bl-muted);
	font-size: 13px;
	line-height: 1.4;
}
.bl-linkcard__title {
	color: var(--bl-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	transition: color 0.2s;
}
.bl-linkcard:hover .bl-linkcard__title {
	color: var(--sec-blue);
}
@media screen and (max-width: 600px) {
	.bl-linkcard {
		gap: 12px;
		padding: 12px;
	}
	.bl-linkcard .bl-thumb {
		width: 120px;
	}
	.bl-linkcard__title {
		font-size: 14px;
	}
}
/* 列が多い表：セルを折り返さず中身の幅で並べ、入りきらない分は .bl-table-wrap の中で横にスクロールする */
.bl-table--wide {
	width: max-content;
	min-width: 100%;
}
.bl-table--wide th,
.bl-table--wide td {
	white-space: nowrap;
}
.bl-table--wide tbody th {
	width: auto;
}

/* 画像 */
.bl-figure {
	margin: 32px 0;
}
.bl-figure img {
	display: block;
	max-width: 100%;
	height: auto;
}
/* 画面の切り抜きなど、本文の幅まで広げないもの（style="--w: 564px" で幅を指定） */
.bl-figure--fit img {
	width: var(--w, auto);
}

/* 数字の比較（失敗例は赤、成功例は青） */
.bl-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 24px 0;
	border: 1px solid var(--bl-bline);
	border-radius: 8px;
}
.bl-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 12px 20px;
	text-align: center;
}
.bl-stat + .bl-stat {
	border-left: 1px solid var(--bl-bline);
}
.bl-stat__num {
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
}
.bl-stats--before .bl-stat__num {
	color: var(--bl-ng);
}
.bl-stats--after .bl-stat__num {
	color: var(--sec-blue);
}
.bl-stat__label {
	color: var(--bl-sub);
	font-size: 12px;
	line-height: 1.6;
}

/* 記事中の申し込み：青のグラデーションの帯（左上と右下に白い丸の飾り） */
/* 画像の CTA バナー（Figma「ctaバナー」）：バナー全体が無料登録ページへのリンク */
.bl-banner {
	display: block;
	margin: 48px 0;
	border-radius: 8px;
	overflow: hidden;
	transition: opacity 0.2s;
}
.bl-banner:hover {
	opacity: 0.85;
}
.bl-banner img {
	display: block;
	width: 100%;
	height: auto;
}

.bl-cta {
	position: relative;
	overflow: hidden;
	margin: 64px 0;
	padding: 56px 24px;
	border-radius: 24px;
	background: linear-gradient(175deg, #309dff 15%, #61d2df 85%);
	color: #fff;
	text-align: center;
}
.bl-cta::before,
.bl-cta::after {
	content: "";
	position: absolute;
	background: no-repeat center / contain;
	pointer-events: none;
}
.bl-cta::before {
	top: 36px;
	left: -8px;
	width: 168px;
	height: 40px;
	background-image: url("../img/cta-dots-small.svg");
}
.bl-cta::after {
	right: -28px;
	bottom: 16px;
	width: 272px;
	height: 68px;
	background-image: url("../img/cta-dots-large.svg");
}
.bl-cta > * {
	position: relative;
}
.bl-article .bl-cta__title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.04em;
}
.bl-article .bl-cta__text {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.8;
}
/* 青い背景の上なので、文中のリンクは白い文字＋白い下線にする */
.bl-article .bl-cta__text a {
	color: #fff;
	font-weight: 600;
	text-decoration-color: rgba(255, 255, 255, 0.8);
}
.bl-article .bl-cta__text a:hover {
	text-decoration-color: #fff;
	opacity: 0.85;
}
/* .btn-cta は display: flex で横いっぱいに広がるので、文字に合わせた幅にする */
.bl-cta .btn-cta {
	display: inline-flex;
	margin-top: 32px;
}

/* よくある質問 */
.bl-faq {
	margin: 0;
	border-top: 1px solid var(--bl-line);
}
.bl-faq dt,
.bl-faq dd {
	display: flex;
	gap: 14px;
}
.bl-faq dt {
	padding-top: 24px;
	color: var(--bl-ink);
	font-weight: 600;
}
.bl-faq dd {
	margin: 8px 0 0;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--bl-line);
}
.bl-faq__mark {
	flex: none;
	width: 1.2em;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.75;
}
.bl-faq dt .bl-faq__mark {
	color: var(--sec-blue);
}
.bl-faq dd .bl-faq__mark {
	color: var(--sec-orange);
}

/* あわせて読みたい */
.bl-related {
	margin-top: 96px;
}
.bl-article .bl-related__title {
	margin: 0 0 32px;
	border-bottom: 2px solid var(--sec-blue);
}
.bl-related .bl-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 20px;
}
.bl-related .bl-card {
	gap: 10px;
}
.bl-related .bl-card__title {
	font-size: 15px;
}

/*==================== 画面幅ごとの調整 ====================*/
/* タブレット：サイドバーを本文の下に回す */
@media screen and (max-width: 900px) {
	.bl-wrap {
		padding-top: 48px;
		padding-bottom: 80px;
	}
	.bl-wrap--article {
		padding-top: 32px;
	}
	.bl-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 80px;
	}
	.bl-cats {
		margin-bottom: 48px;
	}
}

/* スマホ */
@media screen and (max-width: 600px) {
	.bl-intro {
		margin-bottom: 32px;
	}
	.bl-cats {
		justify-content: flex-start;
		gap: 8px 6px;
		margin-bottom: 40px;
	}
	.bl-cats a {
		padding: 4px 14px;
		font-size: 13px;
	}
	.bl-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	.bl-card__title {
		font-size: 17px;
	}
	.bl-pager {
		margin-top: 56px;
	}

	.bl-article {
		font-size: 15px;
		line-height: 1.9;
	}
	.bl-article__title {
		font-size: 22px;
	}
	.bl-eyecatch {
		margin-bottom: 32px;
	}
	.bl-toc {
		margin-top: 40px;
		padding: 20px 16px;
	}
	.bl-toc__list > li > a {
		gap: 10px;
		font-size: 15px;
	}
	.bl-toc__sub {
		padding-left: 21px;
	}
	.bl-article .bl-toc .bl-toc__sub a {
		font-size: 14px;
	}
	.bl-article h2 {
		margin: 56px 0 24px;
		padding: 12px 14px;
		border-left-width: 5px;
		font-size: 20px;
	}
	.bl-article h3 {
		margin: 40px 0 16px;
		font-size: 17px;
	}
	.bl-point {
		padding: 20px;
	}
	.bl-case {
		padding: 8px 20px;
	}
	.bl-case dl {
		grid-template-columns: minmax(0, 1fr);
	}
	.bl-case dt {
		padding-right: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}
	.bl-case dd {
		padding-top: 2px;
	}
	.bl-quote {
		padding: 16px;
		font-size: 14px;
	}
	.bl-steps {
		padding: 20px 16px;
	}
	.bl-steps li {
		gap: 12px;
	}
	.bl-steps__text {
		font-size: 15px;
	}
	.bl-table {
		min-width: 480px;
		font-size: 14px;
	}
	.bl-table th,
	.bl-table td {
		padding: 10px 12px;
	}
	.bl-stats {
		grid-template-columns: minmax(0, 1fr);
	}
	.bl-stat {
		padding: 16px 12px;
	}
	.bl-stat + .bl-stat {
		border-top: 1px solid var(--bl-bline);
		border-left: 0;
	}
	.bl-stat__num {
		font-size: 30px;
	}
	.bl-cta {
		margin: 48px 0;
		padding: 48px 16px;
		border-radius: 16px;
	}
	.bl-cta::before {
		top: 16px;
		width: 120px;
		height: 30px;
	}
	.bl-cta::after {
		bottom: 8px;
		width: 160px;
		height: 40px;
	}
	.bl-article .bl-cta__title {
		font-size: 21px;
	}
	.bl-article .bl-cta__text {
		font-size: 14px;
	}
	.bl-cta .btn-cta {
		margin-top: 24px;
	}
	.bl-faq dt {
		padding-top: 20px;
	}
	.bl-faq dd {
		padding-bottom: 20px;
	}
	.bl-related {
		margin-top: 72px;
	}
	.bl-related .bl-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
}
