/* Kiyobinbo Home — [kb_home] 専用
 * クラスはすべて kbh- で始める。Cocoon の .article h2 などに勝つよう、セレクタは .kbh から書く
 * スマホを基本にし、.kbh の幅が 720px 以上（画面幅でおよそ768px以上）で PC レイアウトにする
 */

.kbh {
	--kbh-accent: #2A62A8;
	--kbh-accent-dark: #1E4B82;
	--kbh-key: #E8A63F;
	--kbh-key-edge: #B8812E;
	--kbh-ink: #1C2330;
	--kbh-ink-2: #3B4452;
	--kbh-ink-3: #505A68;
	--kbh-bg: #EEF1F4;
	--kbh-panel: #DCE2E9;
	--kbh-line: #D3D9E0;
	--kbh-keyline: #B9C2CD;
	--kbh-white: #FFFFFF;
	--kbh-soon: #F7F9FB;
	--kbh-tag: #E4E9EE;
	--kbh-ok: #1E7A4A;

	container: kbh / inline-size;
	color: var(--kbh-ink);
	font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
	font-size: 16px;
	line-height: 1.8;
	/* 背景だけ画面幅いっぱいに塗る（横スクロールは発生しない） */
	border-image: conic-gradient(var(--kbh-bg) 0 0) fill 0 // 0 100vw;
}

/* Cocoon が本文の前後に出す要素を隠す（body.kbh-page は [kb_home] があるページだけに付く）
 * タイトル・日付・パンくず・SNSシェア／フォロー・投稿者・目次・AddToAny のシェアボタン */
body.kbh-page .entry-title,
body.kbh-page .date-tags,
body.kbh-page .breadcrumb,
body.kbh-page .sns-share,
body.kbh-page .sns-follow,
body.kbh-page .author-info,
body.kbh-page .toc,
body.kbh-page .addtoany_share_save_container,
body.kbh-page .a2a_kit {
	display: none !important;
}

.kbh *,
.kbh *::before,
.kbh *::after {
	box-sizing: border-box;
}

/* Cocoon の見出し・段落・リストの装飾を打ち消す
 * html body を付けて .article ol li（0,1,2）より強く、.kbh .kbh-xxx（0,2,0）より弱くしている */
html body .kbh h1,
html body .kbh h2,
html body .kbh h3,
html body .kbh p,
html body .kbh ol,
html body .kbh dl,
html body .kbh dt,
html body .kbh dd,
html body .kbh li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

html body .kbh ol { list-style: none; }

.kbh a {
	color: var(--kbh-accent);
}

.kbh a:hover {
	color: var(--kbh-accent-dark);
}

.kbh a:focus-visible,
.kbh button:focus-visible,
.kbh input:focus-visible {
	outline: 3px solid var(--kbh-key);
	outline-offset: 2px;
}

.kbh [id] {
	scroll-margin-top: 80px;
}

/* 白い帯・青い帯（上下に罫線、左右は画面端まで） */
.kbh .kbh-band {
	border-image: linear-gradient(var(--kbh-line) 0 1px, var(--kbh-white) 0 calc(100% - 1px), var(--kbh-line) 0) fill 0 // 0 100vw;
}

.kbh .kbh-band--accent {
	color: var(--kbh-white);
	border-image: conic-gradient(var(--kbh-accent) 0 0) fill 0 // 0 100vw;
}

/* ---------- キー ---------- */
.kbh .kbh-keys {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
}

.kbh .kbh-plus {
	font-size: 12px;
	color: var(--kbh-ink-3);
}

.kbh .kbh-key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	font-family: inherit;
	font-weight: 700;
	line-height: 1;
	color: var(--kbh-ink);
	white-space: nowrap;
	background: var(--kbh-white);
	border: 1px solid var(--kbh-keyline);
	border-bottom-width: 4px;
	box-shadow: none;
}

.kbh .kbh-key--sm {
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	font-size: 13px;
	border-radius: 6px;
}

.kbh .kbh-key--md {
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	font-size: 13px;
	border-radius: 6px;
}

/* ---------- ヒーロー ---------- */
.kbh .kbh-hero {
	display: grid;
	gap: 32px;
	padding: 40px 0;
}

.kbh .kbh-hero-main {
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.kbh .kbh-hero-title {
	font-size: 36px;
	font-weight: 900;
	line-height: 1.55;
	letter-spacing: 0.01em;
}

.kbh .kbh-hero-key {
	display: inline-block;
	margin-right: 0.06em;
	padding: 0 0.2em;
	line-height: 1.25;
	background: var(--kbh-key);
	border: 1px solid var(--kbh-key-edge);
	border-bottom-width: 5px;
	border-radius: 9px;
}

.kbh .kbh-hero-lead {
	font-size: 15px;
	line-height: 1.9;
	color: var(--kbh-ink-2);
}

/* 検索 */
.kbh .kbh-search {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.kbh .kbh-search-label {
	font-size: 13px;
	font-weight: 700;
}

.kbh .kbh-search-box {
	position: relative;
}

.kbh .kbh-search-row {
	display: flex;
	gap: 8px;
}

.kbh .kbh-search-input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 50px;
	margin: 0;
	padding: 0 14px;
	font-family: inherit;
	font-size: 16px;
	color: var(--kbh-ink);
	background: var(--kbh-white);
	border: 2px solid var(--kbh-keyline);
	border-radius: 10px;
	box-shadow: none;
}

.kbh .kbh-search-input:focus {
	border-color: var(--kbh-accent);
}

.kbh .kbh-search-btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 50px;
	height: 50px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--kbh-white);
	background: var(--kbh-accent);
	border: none;
	border-radius: 10px;
	cursor: pointer;
}

.kbh .kbh-search-btn:hover {
	background: var(--kbh-accent-dark);
}

.kbh .kbh-search-btn-text {
	display: none;
}

.kbh .kbh-examples {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 13px;
}

.kbh .kbh-examples-label {
	color: var(--kbh-ink-3);
}

/* 検索結果（検索窓の下に重ねて表示） */
.kbh .kbh-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 30;
	max-height: min(420px, 60vh);
	overflow-y: auto;
	background: var(--kbh-white);
	border: 1px solid var(--kbh-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(28, 35, 48, 0.16);
}

.kbh .kbh-results[hidden] {
	display: none;
}

.kbh .kbh-results-head,
.kbh .kbh-results-empty {
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 700;
	color: var(--kbh-ink-3);
}

.kbh .kbh-results-empty {
	padding: 16px 14px;
	font-size: 14px;
}

.kbh .kbh-results-head {
	border-bottom: 1px solid var(--kbh-line);
}

.kbh .kbh-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	padding: 12px 14px;
	color: var(--kbh-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--kbh-bg);
}

.kbh .kbh-result:last-child {
	border-bottom: 0;
}

.kbh a.kbh-result:hover,
.kbh a.kbh-result:focus-visible {
	color: var(--kbh-ink);
	background: var(--kbh-bg);
	outline-offset: -3px;
}

.kbh .kbh-result-meta {
	font-size: 12px;
	color: var(--kbh-ink-3);
}

.kbh .kbh-result-app {
	margin-right: 8px;
	font-weight: 700;
	color: var(--kbh-accent);
}

.kbh .kbh-result-action {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.kbh .kbh-result-or {
	font-size: 12px;
	color: var(--kbh-ink-3);
}

/* Ctrl + D のパネル */
.kbh .kbh-ctrld {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px;
	background: var(--kbh-panel);
	border-radius: 18px;
}

.kbh .kbh-ctrld-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.kbh .kbh-ctrld-keys {
	display: flex;
	align-items: center;
	gap: 12px;
}

.kbh .kbh-bigkey {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
	color: var(--kbh-ink);
	background: var(--kbh-white);
	border: 1px solid var(--kbh-keyline);
	border-bottom-width: 7px;
	border-radius: 12px;
	box-shadow: none;
}

.kbh .kbh-bigkey--wide {
	width: 124px;
	font-size: 26px;
}

.kbh .kbh-bigkey--accent {
	background: var(--kbh-key);
	border-color: var(--kbh-key-edge);
}

.kbh .kbh-bigplus {
	font-size: 22px;
	font-weight: 700;
	color: var(--kbh-ink-3);
}

.kbh .kbh-ctrld-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.kbh .kbh-ctrld-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.6;
	background: var(--kbh-white);
	border-radius: 8px;
}

.kbh .kbh-ctrld-row dt {
	font-weight: 700;
}

.kbh .kbh-ctrld-row dd {
	color: var(--kbh-ink-2);
	text-align: right;
}

/* ---------- 探す・覚える・試す ---------- */
.kbh .kbh-ways {
	display: flex;
	flex-direction: column;
	padding: 8px 0;
}

.kbh .kbh-way {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 0;
}

.kbh .kbh-way + .kbh-way {
	border-top: 1px solid var(--kbh-line);
}

.kbh .kbh-way-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.kbh .kbh-way-verb {
	font-size: 30px;
	font-weight: 900;
	line-height: 1.4;
	color: var(--kbh-accent);
}

.kbh .kbh-way-text {
	font-size: 15px;
	line-height: 1.85;
	color: var(--kbh-ink-2);
}

.kbh .kbh-way-link {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 700;
}

.kbh .kbh-badge {
	align-self: flex-start;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--kbh-ink-3);
	background: var(--kbh-bg);
	border-radius: 6px;
}

.kbh .kbh-badge--accent {
	padding: 5px 12px;
	color: var(--kbh-ink);
	background: var(--kbh-key);
}

/* ---------- セクション見出し ---------- */
.kbh .kbh-sec-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kbh .kbh-sec-head-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kbh .kbh-sec-title {
	font-size: 26px;
	font-weight: 900;
	line-height: 1.5;
}

.kbh .kbh-sec-lead {
	font-size: 14px;
	line-height: 1.8;
	color: var(--kbh-ink-2);
}

.kbh .kbh-sec-link {
	align-self: center;
	font-size: 14px;
	font-weight: 700;
}

.kbh .kbh-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 24px;
	font-size: 15px;
	font-weight: 700;
	color: var(--kbh-white);
	text-decoration: none;
	background: var(--kbh-accent);
	border-radius: 10px;
}

.kbh .kbh-btn:hover {
	color: var(--kbh-white);
	background: var(--kbh-accent-dark);
}

/* ---------- ソフトから探す ---------- */
.kbh .kbh-tools {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 56px 0 40px;
}

.kbh .kbh-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kbh .kbh-group-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--kbh-ink-3);
}

.kbh .kbh-tiles {
	display: grid;
	gap: 10px;
}

.kbh .kbh-tile {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 18px;
	color: var(--kbh-ink);
	text-decoration: none;
	background: var(--kbh-white);
	border: 2px solid var(--kbh-accent);
	border-radius: 12px;
}

.kbh a.kbh-tile:hover {
	color: var(--kbh-ink);
	box-shadow: 0 6px 18px rgba(42, 98, 168, 0.18);
}

.kbh .kbh-tile--soon {
	background: var(--kbh-soon);
	border: 1px solid var(--kbh-line);
}

.kbh .kbh-tile-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.kbh .kbh-tile-name {
	font-size: 19px;
	font-weight: 900;
	line-height: 1.4;
}

.kbh .kbh-tile-count {
	font-size: 12px;
	font-weight: 700;
	color: var(--kbh-accent);
}

.kbh .kbh-tag {
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--kbh-ink-3);
	background: var(--kbh-tag);
	border-radius: 4px;
	white-space: nowrap;
}

.kbh .kbh-tile-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 11px;
}

.kbh .kbh-tile-caption {
	display: none;
	font-size: 12px;
	font-weight: 700;
	color: var(--kbh-ink-3);
}

.kbh .kbh-tile-action {
	font-size: 14px;
	line-height: 1.6;
}

.kbh .kbh-tile--soon .kbh-tile-action {
	color: var(--kbh-ink-2);
}

/* ---------- 広告 ---------- */
.kbh .kbh-ad {
	display: flex;
	justify-content: center;
	padding: 0 0 48px;
}

.kbh .kbh-ad > * {
	max-width: 100%;
}

/* ---------- はじめての5つ ---------- */
.kbh .kbh-first {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 56px 0;
}

.kbh .kbh-five {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kbh .kbh-five-item {
	display: grid;
	grid-template-areas:
		"name keys"
		"text text";
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 18px;
	background: var(--kbh-bg);
	border-radius: 12px;
}

.kbh .kbh-five-item .kbh-keys {
	grid-area: keys;
	flex-wrap: nowrap;
}

.kbh .kbh-five-name {
	grid-area: name;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.kbh .kbh-five-text {
	grid-area: text;
	font-size: 13px;
	line-height: 1.8;
	color: var(--kbh-ink-2);
}

/* ---------- テスト予告 ---------- */
.kbh .kbh-test {
	display: grid;
	gap: 28px;
	padding: 56px 0;
}

.kbh .kbh-test-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kbh .kbh-test-title {
	font-size: 28px;
	font-weight: 900;
	line-height: 1.5;
	color: var(--kbh-white);
}

/* 単語の途中で折り返さない */
.kbh .kbh-nowrap {
	white-space: nowrap;
}

.kbh .kbh-test-lead {
	font-size: 15px;
	line-height: 1.9;
}

.kbh .kbh-quiz {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
	color: var(--kbh-ink);
	background: var(--kbh-white);
	border-radius: 16px;
}

.kbh .kbh-quiz-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
}

.kbh .kbh-quiz-count {
	color: var(--kbh-ink-3);
}

.kbh .kbh-quiz-bar {
	height: 6px;
	background: var(--kbh-tag);
	border-radius: 3px;
}

.kbh .kbh-quiz-bar span {
	display: block;
	width: 30%;
	height: 100%;
	background: var(--kbh-accent);
	border-radius: inherit;
}

.kbh .kbh-quiz-q {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.kbh .kbh-quiz-answer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 20px 12px;
	border: 2px dashed var(--kbh-keyline);
	border-radius: 12px;
}

.kbh .kbh-quiz-keys {
	display: flex;
	align-items: center;
	gap: 6px;
}

.kbh .kbh-quizkey {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	margin: 0;
	padding: 0 10px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	color: var(--kbh-ink);
	background: var(--kbh-white);
	border: 1px solid var(--kbh-keyline);
	border-bottom-width: 5px;
	border-radius: 8px;
	box-shadow: none;
}

.kbh .kbh-quizkey--accent {
	min-width: 52px;
	background: var(--kbh-key);
	border-color: var(--kbh-key-edge);
}

.kbh .kbh-quiz-plus {
	font-size: 14px;
	color: var(--kbh-ink-3);
}

.kbh .kbh-quiz-ok {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: var(--kbh-ok);
}

.kbh .kbh-quiz-next {
	height: 52px;
	margin: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--kbh-white);
	background: var(--kbh-ink);
	border: none;
	border-radius: 10px;
	cursor: default;
	opacity: 1;
}

/* ---------- スマホだけ／PCだけ ---------- */
@container kbh (max-width: 719.98px) {
	.kbh .kbh-pc-only { display: none !important; }
}

/* ========== PC（.kbh の幅 720px 以上） ========== */
@container kbh (min-width: 720px) {
	.kbh .kbh-sp-only { display: none !important; }

	.kbh .kbh-plus { font-size: 13px; }

	.kbh .kbh-key--sm {
		min-width: 34px;
		height: 34px;
		padding: 0 9px;
		font-size: 14px;
		border-radius: 7px;
	}

	.kbh .kbh-key--md {
		min-width: 40px;
		height: 40px;
		padding: 0 11px;
		font-size: 15px;
		border-bottom-width: 5px;
		border-radius: 8px;
	}

	/* ヒーロー */
	.kbh .kbh-hero {
		gap: 56px;
		padding: 72px 0 88px;
	}

	.kbh .kbh-hero-main { gap: 28px; }

	.kbh .kbh-hero-title {
		font-size: 48px;
		line-height: 1.5;
	}

	.kbh .kbh-hero-key {
		padding: 0 0.22em;
		border-bottom-width: 7px;
		border-radius: 12px;
	}

	.kbh .kbh-hero-lead { font-size: 18px; }

	.kbh .kbh-search { gap: 10px; }
	.kbh .kbh-search-label { font-size: 14px; }
	.kbh .kbh-search-row { gap: 10px; }

	.kbh .kbh-search-input {
		height: 56px;
		padding: 0 18px;
		font-size: 17px;
	}

	.kbh .kbh-search-btn {
		width: auto;
		height: 56px;
		padding: 0 26px;
	}

	.kbh .kbh-search-btn-text { display: inline; }

	.kbh .kbh-examples {
		gap: 8px 16px;
		font-size: 14px;
	}

	.kbh .kbh-result {
		grid-template-columns: minmax(10em, 1fr) minmax(0, auto);
		align-items: center;
		column-gap: 16px;
	}

	.kbh .kbh-result-meta { grid-column: 1 / -1; }

	.kbh .kbh-result .kbh-keys { justify-content: flex-end; }

	.kbh .kbh-ctrld {
		gap: 28px;
		padding: 44px;
		border-radius: 22px;
	}

	.kbh .kbh-ctrld-title { font-size: 22px; }
	.kbh .kbh-ctrld-keys { gap: 18px; }

	.kbh .kbh-bigkey {
		width: 116px;
		height: 116px;
		font-size: 44px;
		border-bottom-width: 9px;
		border-radius: 16px;
	}

	.kbh .kbh-bigkey--wide {
		width: 200px;
		font-size: 40px;
	}

	.kbh .kbh-bigplus { font-size: 32px; }
	.kbh .kbh-ctrld-list { gap: 8px; }

	.kbh .kbh-ctrld-row {
		gap: 16px;
		padding: 16px 20px;
		font-size: 16px;
		border-radius: 10px;
	}

	/* 探す・覚える・試す */
	.kbh .kbh-ways {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding: 72px 0;
	}

	.kbh .kbh-way {
		gap: 18px;
		padding: 0 28px;
	}

	.kbh .kbh-way + .kbh-way {
		border-top: 0;
		border-left: 1px solid var(--kbh-line);
	}

	.kbh .kbh-way-verb { font-size: 34px; }
	.kbh .kbh-way-text { font-size: 16px; }
	.kbh .kbh-way-link { font-size: 15px; }

	.kbh .kbh-way .kbh-key--sm {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
	}

	.kbh .kbh-badge {
		padding: 5px 12px;
		font-size: 13px;
	}

	/* セクション見出し */
	.kbh .kbh-sec-head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 24px;
	}

	.kbh .kbh-sec-head-text { gap: 12px; }

	.kbh .kbh-sec-title {
		font-size: 32px;
		line-height: 1.4;
	}

	.kbh .kbh-sec-lead { font-size: 16px; }

	.kbh .kbh-sec-link {
		flex: 0 0 auto;
		font-size: 15px;
	}

	.kbh .kbh-btn {
		display: inline-flex;
		flex: 0 0 auto;
	}

	/* ソフトから探す */
	.kbh .kbh-tools {
		gap: 40px;
		padding: 88px 0 72px;
	}

	.kbh .kbh-group { gap: 12px; }
	.kbh .kbh-group-title { font-size: 16px; }

	.kbh .kbh-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.kbh .kbh-tile {
		gap: 22px;
		padding: 24px;
		border-radius: 14px;
	}

	.kbh .kbh-tile-name { font-size: 22px; }
	.kbh .kbh-tile-count { font-size: 13px; }

	.kbh .kbh-tag {
		padding: 3px 8px;
		font-size: 12px;
	}

	.kbh .kbh-tile-body {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 10px;
	}

	.kbh .kbh-tile-caption { display: block; }
	.kbh .kbh-tile-action { font-size: 15px; }

	.kbh .kbh-ad { padding-bottom: 72px; }

	/* はじめての5つ */
	.kbh .kbh-first {
		gap: 44px;
		padding: 88px 0;
	}

	.kbh .kbh-five {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
		gap: 20px;
	}

	.kbh .kbh-five-item {
		grid-template-areas:
			"keys"
			"name"
			"text";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		align-items: start;
		gap: 16px;
		padding: 28px 22px;
		border-radius: 14px;
	}

	.kbh .kbh-five-item .kbh-keys {
		flex-wrap: wrap;
		gap: 6px;
		min-height: 42px;
	}

	.kbh .kbh-five-item .kbh-plus { font-size: 14px; }
	.kbh .kbh-five-name { font-size: 18px; }
	.kbh .kbh-five-text { font-size: 14px; }

	/* テスト予告 */
	.kbh .kbh-test {
		gap: 48px;
		padding: 88px 0;
	}

	.kbh .kbh-test-text { gap: 24px; }

	.kbh .kbh-test-title {
		font-size: 36px;
		line-height: 1.45;
	}

	.kbh .kbh-test-lead { font-size: 17px; }

	.kbh .kbh-badge--accent { padding: 6px 14px; }

	.kbh .kbh-quiz {
		gap: 24px;
		padding: 36px;
		border-radius: 20px;
	}

	.kbh .kbh-quiz-head { font-size: 15px; }

	.kbh .kbh-quiz-bar {
		height: 8px;
		border-radius: 4px;
	}

	.kbh .kbh-quiz-q { font-size: 22px; }

	.kbh .kbh-quiz-answer {
		gap: 16px;
		padding: 28px;
		border-radius: 14px;
	}

	.kbh .kbh-quiz-keys { gap: 10px; }

	.kbh .kbh-quizkey {
		min-width: 56px;
		height: 56px;
		padding: 0 14px;
		font-size: 20px;
		border-bottom-width: 6px;
		border-radius: 10px;
	}

	.kbh .kbh-quizkey--accent { min-width: 64px; }
	.kbh .kbh-quiz-plus { font-size: 18px; }
	.kbh .kbh-quiz-ok { gap: 8px; font-size: 16px; }
}

/* ========== 広いPC（.kbh の幅 960px 以上）：2カラム ========== */
@container kbh (min-width: 960px) {
	.kbh .kbh-hero {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		gap: 72px;
		padding: 88px 0 104px;
	}

	.kbh .kbh-hero-title { font-size: 60px; }

	.kbh .kbh-ways { padding: 72px 0; }

	.kbh .kbh-way { padding: 0 40px; }

	.kbh .kbh-way-verb { font-size: 40px; }

	.kbh .kbh-sec-title { font-size: 36px; }

	.kbh .kbh-tools { padding: 96px 0 72px; }

	.kbh .kbh-group {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		align-items: start;
		gap: 32px;
	}

	.kbh .kbh-group-title { padding-top: 22px; }

	.kbh .kbh-test {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		gap: 72px;
		padding: 96px 0;
	}

	.kbh .kbh-test-title { font-size: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
	.kbh a.kbh-tile {
		transition: box-shadow 0.15s ease;
	}
}
