/* 恵新 ブログ工房（コラム）。在庫ページの ks.css の上に重ねる */
.kb-page { --kb-c: #33475b; }
.kb-page .ks-lead { color: var(--ks-muted); margin: 0 0 16px; line-height: 1.8; }

/* 顔と名前 */
.kb-by { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.kb-page a.kb-by { color: inherit; }
.kb-by__face { border-radius: 50%; flex: none; background: #fff; box-shadow: 0 0 0 3px var(--kb-c); }
.kb-by--md .kb-by__face { width: 56px; height: 56px; }
.kb-by--sm .kb-by__face { width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--kb-c); }
.kb-by__txt { display: flex; flex-direction: column; line-height: 1.45; }
.kb-by__name { font-weight: 700; color: var(--kb-c); }
.kb-by__role { font-size: 12px; color: var(--ks-muted); }
.kb-by__say { font-size: 13px; }

/* 記事 */
.kb-art { max-width: 760px; margin: 0 auto; }
.kb-art__type { display: inline-block; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #fff; background: var(--ks-accent); border-radius: 4px; padding: 2px 8px; }
.kb-art__h1 { font-size: 26px; }
.kb-art__by { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0 16px; border-bottom: 1px solid var(--ks-line); margin-bottom: 20px; }
.kb-art__date { margin: 0; font-size: 13px; color: var(--ks-muted); }
.kb-art__eye { margin: 0 0 20px; }
.kb-art__eye img { width: 100%; border-radius: var(--ks-radius); }
.kb-art__body { font-size: 16px; line-height: 1.95; }
.kb-art__body > h2 { font-size: 21px; margin: 36px 0 12px; padding-left: 10px; border-left: 4px solid var(--kb-c, var(--ks-accent)); line-height: 1.5; }
.kb-art__body > h3 { font-size: 18px; margin: 28px 0 10px; }
.kb-art__body > p { margin: 0 0 1.2em; }
.kb-art__body > ul, .kb-art__body > ol { margin: 0 0 1.2em 1.4em; }
.kb-art__body img { border-radius: var(--ks-radius); }

/* 記事の中の在庫 */
.kb-cars { margin: 24px 0; padding: 16px; background: var(--ks-bg-soft); border-radius: var(--ks-radius); line-height: 1.6; font-size: 15px; }
.kb-cars__title { font-weight: 700; margin: 0 0 10px; }
.kb-cars__sold { font-size: 13px; color: var(--ks-muted); margin: 0 0 10px; }
.kb-cars__more { margin: 12px 0 0; text-align: right; font-weight: 700; }
.kb-cars__none { background: var(--ks-bg-soft); padding: 12px 16px; border-radius: var(--ks-radius); }
.kb-cars .ks-grid { margin: 0; }

/* ボタン */
.kb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.3; }
.kb-page a.kb-btn { color: #fff; }
.kb-btn--reserve { background: #e8711c; }
.kb-btn--tel { background: var(--ks-accent); }
.kb-btn--line { background: var(--ks-line-green); }
.kb-btn--sd { background: var(--ks-accent); }

/* 診断の入口 */
.kb-cta-sd { margin: 28px 0; padding: 18px; border: 2px solid var(--ks-accent); border-radius: var(--ks-radius); text-align: center; line-height: 1.7; }
.kb-cta-sd__t { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.kb-cta-sd__d { margin: 0 0 12px; font-size: 14px; color: var(--ks-muted); }

/* 予約・電話・LINE */
.kb-contact { margin: 28px 0; padding: 20px; background: #fff7ef; border-radius: var(--ks-radius); text-align: center; line-height: 1.7; }
.kb-contact__t { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.kb-contact__d { font-size: 14px; color: var(--ks-muted); margin: 0 0 14px; }
.kb-contact__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 出典・案内役・注記 */
.kb-src { margin: 24px 0; font-size: 13px; color: var(--ks-muted); line-height: 1.7; }
.kb-src__h { font-weight: 700; margin: 0 0 4px; }
.kb-src ul { margin: 0 0 0 1.2em; padding: 0; }
.kb-src__checked { margin: 0 0 8px; }
.kb-writer { display: flex; gap: 16px; align-items: flex-start; margin: 24px 0 12px; padding: 16px; border: 1px solid var(--ks-line); border-left: 6px solid var(--kb-c); border-radius: var(--ks-radius); }
.kb-writer__face { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.kb-writer__label { margin: 0; font-size: 12px; color: var(--ks-muted); }
.kb-writer__name { margin: 0 0 6px; font-weight: 700; font-size: 17px; }
.kb-writer__name small { font-weight: 400; font-size: 12px; color: var(--ks-muted); }
.kb-writer__profile { margin: 0; font-size: 14px; line-height: 1.7; }
.kb-disclose { font-size: 12px; color: var(--ks-muted); background: var(--ks-bg-soft); border-radius: 6px; padding: 10px 12px; line-height: 1.7; margin: 12px 0 24px; }

/* 一覧 */
.kb-writers { list-style: none; margin: 0 0 24px; padding: 4px 2px 8px; display: flex; gap: 14px; overflow-x: auto; }
.kb-writers li { flex: none; }
.kb-writers a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 84px; text-decoration: none; font-size: 12px; line-height: 1.35; text-align: center; color: var(--ks-text); }
.kb-page .kb-writers a { color: var(--ks-text); }
.kb-writers img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px var(--kb-c); }
.kb-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.kb-card { border: 1px solid var(--ks-line); border-radius: var(--ks-radius); overflow: hidden; background: #fff; }
.kb-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.kb-page a.kb-card__link { color: var(--ks-text); }
.kb-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--ks-bg-soft); overflow: hidden; }
.kb-card__img img { width: 100%; height: 100%; object-fit: cover; }
.kb-card__img img.kb-card__face { width: 96px; height: 96px; border-radius: 50%; }
.kb-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.kb-card__type { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--ks-accent); background: #eaf2fb; border-radius: 4px; padding: 1px 6px; }
.kb-card__title { font-weight: 700; line-height: 1.5; }
.kb-card__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ks-muted); margin-top: auto; }
.kb-card__meta img { width: 24px; height: 24px; border-radius: 50%; }
.kb-card__meta time { margin-left: auto; }
.kb-more { margin-top: 40px; }
.kb-more__all { text-align: right; font-weight: 700; }

/* ペルソナのページ */
.kb-profile { display: flex; gap: 24px; align-items: flex-start; padding: 20px; border-radius: var(--ks-radius); background: var(--ks-bg-soft); border-top: 6px solid var(--kb-c); }
.kb-profile__face { width: 140px; height: 140px; border-radius: 50%; flex: none; background: #fff; }
.kb-profile__role { margin: 0; font-size: 13px; color: var(--ks-muted); }
.kb-profile__say { font-weight: 700; color: var(--kb-c); margin: 0 0 8px; }
.kb-profile__txt { line-height: 1.8; }

@media (max-width: 640px) {
	.kb-art__h1 { font-size: 21px; }
	.kb-art__body { font-size: 15.5px; }
	.kb-profile { flex-direction: column; align-items: center; text-align: center; }
	.kb-profile__face { width: 110px; height: 110px; }
	.kb-writer { flex-direction: column; align-items: center; text-align: center; border-left-width: 1px; border-top: 6px solid var(--kb-c); }
	.kb-contact__btns .kb-btn { flex: 1 1 100%; }
}
