/* =====================================================
   コラム用の部品（[asocio_cta] [asocio_box]）
   ===================================================== */

.asocio-cta,
.asocio-box,
.asocio-collist__cats,
.asocio-collist__pager {
	--cl-accent: var(--asocio-wine, #650006);
	--cl-line: #e3dcdc;
	--cl-soft: #faf7f7;
	box-sizing: border-box;
}

/* --- 記事末のCTA --- */
.asocio-cta {
	margin: 40px 0 24px;
	padding: 26px 24px 22px;
	border: 2px solid var(--cl-accent);
	border-radius: 14px;
	background: #fff;
	text-align: center;
}
.entry-content .asocio-cta p { margin: 0; }
.entry-content .asocio-cta p.asocio-cta__label {
	display: inline-block;
	margin-bottom: 10px;
	padding: 3px 14px;
	border-radius: 999px;
	background: var(--cl-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.entry-content .asocio-cta p.asocio-cta__title { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.5; color: #1a1a1a; margin-bottom: 10px; }
.entry-content .asocio-cta p.asocio-cta__text { font-size: 15px; line-height: 1.8; color: #444; text-align: left; max-width: 620px; margin: 0 auto 18px; }
.asocio-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.asocio-cta__btn {
	display: inline-block;
	min-width: 240px;
	padding: 13px 22px;
	border: 2px solid var(--cl-accent);
	border-radius: 8px;
	background: #fff;
	color: var(--cl-accent);
	font-weight: 700;
	text-decoration: none;
	transition: opacity .2s;
}
.asocio-cta__btn.is-main { background: var(--cl-accent); color: #fff; }
.asocio-cta__btn:hover { opacity: .85; color: var(--cl-accent); }
.asocio-cta__btn.is-main:hover { color: #fff; }
.entry-content .asocio-cta p.asocio-cta__tel { margin-top: 14px; font-size: 13px; color: #666; }
.asocio-cta__tel a { color: var(--cl-accent); font-weight: 700; font-size: 16px; text-decoration: none; }
.asocio-cta__tel .bk-icon { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }
.asocio-cta__hours { display: block; margin-top: 4px; font-size: 12px; color: #777; }

/* --- 記事中盤の小さいCTA --- */
.asocio-cta.is-mid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	margin: 28px 0;
	padding: 16px 20px;
	border-width: 1px;
	background: var(--cl-soft);
	text-align: left;
}
.entry-content .asocio-cta.is-mid p.asocio-cta__text { margin: 0; font-weight: 700; color: #1a1a1a; }
.asocio-cta.is-mid .asocio-cta__btn { min-width: 0; }

/* --- 枠 --- */
.asocio-box { margin: 28px 0; padding: 18px 22px 16px; border-radius: 12px; border: 1px solid var(--cl-line); background: var(--cl-soft); }
.entry-content .asocio-box p.asocio-box__title { margin: 0 0 8px; font-weight: 700; font-size: 16px; color: var(--cl-accent); }
.asocio-box__body > :last-child { margin-bottom: 0; }
.entry-content .asocio-box__body ul,
.entry-content .asocio-box__body ol { margin: 0 0 8px; }
.asocio-box.is-caution { background: #fff8ec; border-color: #f0d9a8; }
.entry-content .asocio-box.is-caution p.asocio-box__title { color: #8a5a00; }
.asocio-box.is-summary { background: #fff; border: 2px solid var(--cl-accent); }
.asocio-box.is-check .asocio-box__body ul { list-style: none; padding-left: 0; }
.asocio-box.is-check .asocio-box__body li { position: relative; padding-left: 26px; }
.asocio-box.is-check .asocio-box__body li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--cl-accent); font-weight: 700; }

/* --- 吹き出し（Cocoon の吹き出しブロック）：質問役はピンク。こだせんと同じ配色 --- */
.asocio-q-balloon .speech-balloon { background-color: #fdeef2 !important; border-color: #f6c6d6 !important; }
.asocio-q-balloon.sbp-r .speech-balloon::before,
.asocio-q-balloon.sbp-r .speech-balloon::after { border-left-color: #f6c6d6 !important; }
.asocio-q-balloon.sbs-think .speech-balloon::before,
.asocio-q-balloon.sbs-think .speech-balloon::after { background-color: #fdeef2 !important; border-color: #f6c6d6 !important; }
.speech-wrap .speech-icon-image { background: #fff; }

@media (max-width: 600px) {
	.asocio-cta { padding: 22px 16px 18px; }
	.asocio-cta__btn { min-width: 0; width: 100%; }
	.asocio-cta.is-mid { flex-direction: column; align-items: stretch; }
}

/* ---------- コラム一覧（[asocio_column_list]、固定ページ /column） ---------- */
.asocio-collist__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 20px; }
.asocio-collist__cats a,
.asocio-collist__cats span { display: inline-block; padding: 6px 14px; border: 1px solid var(--cl-line); border-radius: 999px; background: #fff; font-size: 13px; line-height: 1.5; color: #333; text-decoration: none; }
.asocio-collist__cats a:hover { border-color: var(--cl-accent); color: var(--cl-accent); }
.asocio-collist__cats .is-current { background: var(--cl-accent); border-color: var(--cl-accent); color: #fff; font-weight: 700; }
.asocio-collist__pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 28px 0 8px; }
.asocio-collist__pager .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; border: 1px solid var(--cl-line); border-radius: 6px; background: #fff; text-align: center; font-size: 14px; color: #333; text-decoration: none; box-sizing: border-box; }
.asocio-collist__pager .page-numbers.current { background: var(--cl-accent); border-color: var(--cl-accent); color: #fff; font-weight: 700; }
.asocio-collist__pager .page-numbers.dots { border: 0; min-width: 0; padding: 8px 4px; }
.asocio-collist__pager a.page-numbers:hover { border-color: var(--cl-accent); color: var(--cl-accent); }
@media (max-width: 600px) {
	.asocio-collist__cats { gap: 6px; }
	.asocio-collist__cats a,
	.asocio-collist__cats span { padding: 5px 11px; font-size: 12px; }
}/* 本文の中に置くため、本文用の見出し・リンクの飾りがカードに当たらないよう、カテゴリページのカードと同じ見た目に戻す */
.entry-content .asocio-collist { margin: 0; }
.entry-content .asocio-collist a { color: inherit; text-decoration: none; }
.entry-content .asocio-collist .entry-card-title { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0 0 .4em; font-size: 18px; line-height: 1.6; font-weight: 700; color: #333; }
.entry-content .asocio-collist .entry-card-title::before,
.entry-content .asocio-collist .entry-card-title::after { content: none; display: none; }
.entry-content .asocio-collist .entry-card-snippet { margin: 0 0 .4em; font-size: 14.4px; line-height: 1.3; }
.entry-content .asocio-collist p { margin: 0; }
@media (max-width: 600px) {
	.entry-content .asocio-collist .entry-card-title { font-size: 16px; }
}
/* 一覧ページでは固定ページの日付・フォロー・投稿者を出さない（トップページ用CSSと同じ指定） */
.bk-tool-page .article-header .date-tags,
.bk-tool-page .article-footer .sns-follow,
.bk-tool-page .article-footer .footer-meta { display: none; }