/* ===============================
   基本ボタンスタイル
=============================== */
.btn {
	display: inline-block;
	background-color: #0071bb;
	color: #fff;
	padding: 16px 24px;
	border-radius: 12px;
	text-decoration: none;
	font-size: 18px;
	font-weight: 700;
	margin-top: 8px;
	transition: background-color .3s ease;
}

.btn:hover {
	background-color: #005a90;
}

/* btn-consult クラスだけ色を白に */
a.btn-consult,
a.btn-consult:visited {
	color: #fff !important;
/* 既存の a:visited より優先 */
	background-color: #007acc;
/* 必要なら背景色も */
	border-radius: 12px;
	text-decoration: none;
	display: inline-block;
}

a.btn-consult:hover {
	color: #fff;
/* ホバー時も白 */
	opacity: .8;
/* 任意でホバー効果 */
}

/* スマホ表示用ボタン調整 */
@media screen and (max-width: 630px) {
	.btn {
		display: block;
		width: 100%;
		text-align: center;
		padding: 10px 0;
		font-size: 16px;
		margin-top: 12px;
	}
}

/* ===============================
   記事中の強調用スタイル
=============================== */
.emphasis-text {
	font-size: 20px;
/* PC表示用 */
	font-weight: bold;
/* 太字 */
	color: #000000;
	margin: 1em 0;
/* 上下に余白 */
}

/* スマホなど小さい画面用 */
@media screen and (max-width: 630px) {
	.emphasis-text {
		font-size: 18px;
	/* フォントを少し小さく調整 */
	}
}

/* ===============================
   目次スタイル（PC &amp; SPまとめ）
=============================== */
/* ---- PC用 ---- */
.toc {
	border: 2px solid #0071bb;
/* 枠線 */
	border-radius: 6px;
/* 角丸 */
	padding: 16px;
/* 内側余白 */
	margin-bottom: 32px;
/* 下余白 */
	background-color: #f9f9f9;
/* 背景色 */
}

.toc strong {
	display: block;
	font-size: 18px;
	margin-bottom: 12px;
	color: #0071bb;
/* タイトル色 */
}

.toc ul {
	padding-left: 20px;
/* リストインデント */
	margin: 0;
/* デフォルト余白リセット */
}

.toc ul li {
	margin-bottom: 8px;
/* リスト間余白 */
}

.toc ul li ul li {
	margin-bottom: 4px;
/* ネストリスト余白 */
}

/* リンク色とホバー */
.toc a {
	color: #0071bb;
	text-decoration: none;
}

.toc a:hover {
	text-decoration: underline;
}

/* ---- スマホ用 ---- */
@media screen and (max-width: 630px) {
	.toc {
		padding: 12px;
	/* 内側余白を少し小さく */
		margin-bottom: 24px;
	/* 下余白も少し減らす */
	}
	
	.toc strong {
		font-size: 16px;
	/* タイトル文字を小さく */
		margin-bottom: 8px;
	}
	
	.toc ul {
		padding-left: 16px;
	/* インデントを少し減らす */
	}
	
	.toc ul li {
		margin-bottom: 6px;
	/* リスト間余白を調整 */
	}
	
	.toc ul li ul li {
		margin-bottom: 3px;
	/* ネストリストはさらに少し狭め */
	}
}

/* ===============================
   【暫定】余白ユーティリティ（2026/04）
   クラシックエディタ対応のため追加
   ※アプデ後に全体の余白設計を見直すこと
=============================== */
.mb-16 {
	margin-bottom: 16px;
}

.mb-24 {
	margin-bottom: 24px;
}

.mb-32 {
	margin-bottom: 32px;
}

/* ==============================
   強調（テキスト）
============================== */
.sk-em {
	font-weight: bold;
}

.sk-em-red {
	color: #e53935;
}

.sk-em-blue {
	color: #1e88e5;
}

/* ==============================
   マーカー
============================== */
.sk-marker {
	font-weight: bold;
	padding: 0 2px;
}

.sk-marker-yellow {
	background: linear-gradient(transparent 60%,#fff59d 60%);
}

.sk-marker-green {
	background: linear-gradient(transparent 60%,#a5d6a7 60%);
}

/* =============================
   応用（少しリッチな強調）
============================ */
/* 重要ポイント（赤＋少し強め） */
.sk-important {
	color: #e53935;
	font-weight: bold;
}

/* 補足・安心感（青） */
.sk-note {
	color: #1e88e5;
}

/* 注意書き（やや控えめ赤） */
.sk-caution {
	color: #d32f2f;
	font-weight: bold;
}

/* ==============================
   番号付きリスト（ol）のスタイル復活
   ----------------------------
   リセットCSSで list-style: none; が指定されているため、
   このクラスを付けたリストのみ番号を表示させる
============================== */
.number-list {
	list-style-type: decimal;
/* 番号（1,2,3…）を表示 */
	padding-left: 1.5em;
/* 番号の表示スペースを確保 */
	margin-bottom: 1.5em;
/* リスト全体の下余白 */
}

/* 各リスト項目の調整 */
.number-list li {
	margin-bottom: .5em;
/* 項目ごとの余白 */
	line-height: 1.6;
/* 読みやすさ向上 */
}

/* 最後の項目だけ余白を消す（見た目調整） */
.number-list li:last-child {
	margin-bottom: 0;
}

/* ==============================
   汎用：強調ボックス
   ------------------------------
   リスト・文章どちらにも使える
   記事内で重要な部分を目立たせる
============================== */
.box-highlight {
	padding: 1.5em;
/* 内側余白 */
	margin: 1.5em 0;
/* 上下余白 */
	background-color: #f9f9f9;
/* 背景（薄グレー） */
	border: 1px solid #ddd;
/* 枠線 */
	border-radius: 8px;
/* 角丸 */
}

/* ボックス内のリスト調整（リセット対策も兼ねる） */
.box-highlight ol {
	list-style-type: decimal;
/* 番号復活 */
	padding-left: 1.5em;
}

.box-highlight ul {
	list-style-type: disc;
/* ・復活 */
	padding-left: 1.5em;
}

/* リストの余白調整 */
.box-highlight li {
	margin-bottom: .5em;
}

.box-highlight li:last-child {
	margin-bottom: 0;
}