/* =========================================================
   カドル メインスタイル（モバイル基準 → PC は min-width:960px）
   ========================================================= */

/* ---------- ベース / リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--kd-font-body);
	color: var(--kd-ink);
	background: var(--kd-ground);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, p, dl, dd, dt, figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.kd-ico { display: block; flex: none; }
:focus-visible { outline: 2px solid var(--kd-orange); outline-offset: 2px; border-radius: 4px; }

.kd-skip { position: absolute; left: -9999px; }
.kd-skip:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--kd-shadow-md); }

.kd-container {
	width: 100%;
	max-width: calc(var(--kd-container) + 40px);
	margin-inline: auto;
	padding-inline: var(--kd-gutter);
}

/* 固定ヘッダー分、アンカー位置をずらす */
#quiz, #ranking, #compare, #category, #explain { scroll-margin-top: 72px; }

/* ---------- ボタン ---------- */
.kd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--kd-font-head); font-weight: 700; line-height: 1; white-space: nowrap;
	border-radius: var(--kd-r-pill); padding: 13px 22px; font-size: 15px;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.kd-btn:hover { transform: translateY(-1px); }
.kd-btn:active { transform: translateY(0); }
.kd-btn--cta { background: var(--kd-orange); color: #fff; box-shadow: var(--kd-shadow-cta); }
.kd-btn--cta:hover { background: var(--kd-orange-dark); }
.kd-btn--blue { background: var(--kd-blue); color: #fff; box-shadow: var(--kd-shadow-blue); }
.kd-btn--blue:hover { background: var(--kd-blue-dark); }
.kd-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }
.kd-btn--ghost:hover { background: rgba(255,255,255,.22); }
.kd-btn--outline { background: var(--kd-surface); color: var(--kd-blue); border: 1.5px solid var(--kd-blue); }
.kd-btn--outline:hover { background: var(--kd-blue-tint); }
.kd-btn--lg { padding: 16px 28px; font-size: 16px; }
.kd-btn--sm { padding: 10px 18px; font-size: 14px; }
.kd-btn--mini { padding: 8px 16px; font-size: 12.5px; gap: 5px; }
.kd-btn--block { width: 100%; }

/* ---------- ピル / バッジ / タグ ---------- */
.kd-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--kd-r-pill); font-family: var(--kd-font-head); font-weight: 700; font-size: 12px; }
.kd-pill--blue { background: var(--kd-blue-soft); color: var(--kd-blue-dark); }
.kd-pill--orange { background: var(--kd-orange-soft); color: var(--kd-orange-dark); }
.kd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--kd-r-pill); font-family: var(--kd-font-body); font-weight: 700; font-size: 12.5px; }
.kd-badge--onblue { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.kd-badge--onblue .kd-ico { color: var(--kd-star); }
.kd-tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--kd-r-pill); font-family: var(--kd-font-head); font-weight: 700; font-size: 10.5px; line-height: 1.3; }
.kd-tag--orange { background: var(--kd-orange); color: #fff; }
.kd-tag--green { background: var(--kd-green-soft); color: var(--kd-green); }
.kd-tag--mini { font-size: 9.5px; padding: 2px 7px; margin-left: 6px; }

/* ---------- セクション見出し ---------- */
.kd-quiz, .kd-ranking, .kd-compare, .kd-category, .kd-explain { padding: var(--kd-section-y) 0; }
.kd-sec-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; margin-bottom: 18px; }
.kd-sec-title { font-family: var(--kd-font-head); font-weight: 800; font-size: 21px; color: var(--kd-ink); letter-spacing: .01em; }
.kd-sec-sub { font-size: 13px; color: var(--kd-ink-2); }

/* ---------- ★評価 ---------- */
.kd-stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.kd-stars__base { display: inline-flex; color: var(--kd-line); }
.kd-stars__fill { position: absolute; left: 0; top: 0; display: inline-flex; color: var(--kd-star); overflow: hidden; white-space: nowrap; }

/* ---------- ロゴ ---------- */
.kd-logo { display: inline-flex; align-items: center; gap: 9px; }
.kd-logo__text { font-family: var(--kd-font-head); font-weight: 800; font-size: 21px; color: var(--kd-blue); }
.kd-logo__mark { position: relative; width: 30px; height: 21px; border-radius: 6px; background: var(--kd-blue); box-shadow: 0 3px 7px rgba(37,99,235,.27); flex: none; }
.kd-logo__chip { position: absolute; left: 5px; top: 7px; width: 8px; height: 6px; border-radius: 2px; background: var(--kd-star); }
.kd-logo__stripe { position: absolute; left: 5px; top: 15px; width: 19px; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.6); }
.kd-logo--light .kd-logo__text { color: #fff; }
.kd-logo--light .kd-logo__mark { background: #fff; }
.kd-logo--light .kd-logo__stripe { background: var(--kd-blue); }

/* ---------- ヘッダー ---------- */
.kd-header { position: sticky; top: 0; z-index: 50; background: var(--kd-surface); border-bottom: 1px solid var(--kd-line); }
.kd-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 13px; gap: 12px; }
.kd-nav { display: none; }
.kd-header__cta { display: none; }
.kd-header__actions { display: flex; align-items: center; gap: 10px; }
.kd-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: var(--kd-ink-2); }
.kd-iconbtn:hover { background: var(--kd-blue-tint); color: var(--kd-blue); }
.kd-menu-toggle { color: var(--kd-ink); }

.kd-drawer { border-top: 1px solid var(--kd-line); background: #fff; padding: 8px 20px 18px; }
.kd-drawer[hidden] { display: none; }
.kd-drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-family: var(--kd-font-head); font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--kd-line); color: var(--kd-ink); }
.kd-drawer__link .kd-ico { color: var(--kd-ink-muted); }
.kd-drawer__cta { width: 100%; margin-top: 14px; }

/* ---------- ヒーロー ---------- */
.kd-hero { background: var(--kd-grad-blue); color: #fff; overflow: hidden; }
.kd-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 30px 0 42px; }
.kd-hero__visual { order: 1; position: relative; width: min(260px, 72vw); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.kd-hero__glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.4), rgba(255,255,255,0) 68%); }
.kd-hero__char { width: 100%; position: relative; z-index: 1; filter: drop-shadow(0 14px 22px rgba(0,0,0,.18)); }
.kd-hero__copy { order: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.kd-hero__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 24px; line-height: 1.45; }
.kd-hero__sub { font-size: 13.5px; line-height: 1.7; color: #E3ECFF; }
.kd-hero__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.kd-hero__actions .kd-btn { width: 100%; max-width: 330px; }
.kd-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.kd-hero__trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #DCE7FF; }
.kd-hero__trust .kd-ico { color: #9DC0FF; }

.kd-chip { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; background: #fff; color: var(--kd-ink); border-radius: var(--kd-r-pill); font-family: var(--kd-font-head); font-weight: 700; font-size: 11.5px; box-shadow: 0 6px 16px rgba(30,58,138,.22); z-index: 2; white-space: nowrap; }
.kd-chip--a { left: -6%; bottom: 16%; } .kd-chip--a .kd-ico { color: var(--kd-green); }
.kd-chip--b { right: -2%; top: 18%; } .kd-chip--b .kd-ico { color: var(--kd-blue); }
.kd-chip--c { right: 2%; bottom: 6%; } .kd-chip--c .kd-ico { color: var(--kd-orange-dark); }

/* ---------- カドル診断 ---------- */
.kd-quiz__card { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-2xl); box-shadow: var(--kd-shadow-lg); overflow: hidden; display: flex; flex-direction: column; max-width: 540px; margin-inline: auto; }
.kd-quiz__panel { background: var(--kd-blue-tint); padding: 16px; display: flex; flex-direction: column; gap: 5px; }
.kd-quiz__avatar { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; box-shadow: var(--kd-shadow-sm); background: #fff; object-fit: contain; }
.kd-quiz__who { font-family: var(--kd-font-head); font-weight: 700; font-size: 11.5px; color: var(--kd-blue); }
.kd-quiz__q { font-family: var(--kd-font-head); font-weight: 700; font-size: 15.5px; line-height: 1.4; color: var(--kd-ink); }
.kd-quiz__progress { margin-top: 9px; display: flex; flex-direction: column; gap: 8px; }
.kd-quiz__progress-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.kd-quiz__progress-row span:first-child { font-family: var(--kd-font-head); font-weight: 700; color: var(--kd-ink-2); }
.kd-quiz__progress-row span:last-child { font-weight: 600; color: var(--kd-ink-muted); }
.kd-quiz__track { height: 8px; border-radius: 99px; background: #D6E2FB; overflow: hidden; }
.kd-quiz__bar { display: block; height: 100%; border-radius: 99px; background: var(--kd-blue); transition: width .35s ease; }
.kd-quiz__main { padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.kd-quiz__options { display: flex; flex-direction: column; gap: 12px; }
.kd-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 13px; border: 1.5px solid var(--kd-line); border-radius: var(--kd-r-lg); background: #fff; transition: all .12s; }
.kd-opt:hover { border-color: var(--kd-blue); background: var(--kd-blue-tint); }
.kd-opt.is-selected { border-color: var(--kd-blue); border-width: 2px; background: #EFF6FF; }
.kd-opt__ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--kd-blue-tint); color: var(--kd-blue); flex: none; transition: all .12s; }
.kd-opt:hover .kd-opt__ico, .kd-opt.is-selected .kd-opt__ico { background: var(--kd-blue); color: #fff; }
.kd-opt__label { flex: 1; font-family: var(--kd-font-head); font-weight: 700; font-size: 14px; color: var(--kd-ink); }
.kd-opt__chev { color: var(--kd-ink-muted); flex: none; }
.kd-opt.is-selected .kd-opt__chev { color: var(--kd-blue); }
.kd-quiz__foot { display: flex; justify-content: space-between; align-items: center; }
.kd-quiz__hint { font-size: 11.5px; color: var(--kd-ink-muted); }
.kd-quiz__restart { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--kd-ink-muted); }
.kd-quiz__restart:hover { color: var(--kd-blue); }
.kd-quiz__restart[hidden] { display: none; }

/* 診断結果 */
.kd-quiz__card.is-result .kd-quiz__panel,
.kd-quiz__card.is-result .kd-quiz__main { display: none; }
.kd-result { padding: 26px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; animation: kd-pop .35s ease; }
@keyframes kd-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kd-result__lead { font-family: var(--kd-font-head); font-weight: 700; font-size: 14px; color: var(--kd-ink-2); }
.kd-result__card { width: 168px; height: 104px; border-radius: 12px; position: relative; color: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.18); overflow: hidden; }
.kd-result__banner { display: block; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 22px rgba(0,0,0,.16); line-height: 0; transition: transform .15s ease; }
.kd-result__banner:hover { transform: translateY(-2px); }
.kd-result__banner-img { width: 100%; height: auto; display: block; }
.kd-result__card-type { position: absolute; right: 12px; top: 11px; font-family: var(--kd-font-head); font-weight: 700; font-size: 10px; opacity: .85; letter-spacing: .06em; }
.kd-result__card-chip { position: absolute; left: 14px; top: 16px; width: 20px; height: 15px; border-radius: 3px; }
.kd-result__card-name { position: absolute; left: 14px; bottom: 28px; font-family: var(--kd-font-head); font-weight: 800; font-size: 15px; }
.kd-result__card-no { position: absolute; left: 14px; bottom: 12px; font-size: 9px; opacity: .8; }
.kd-result__name { font-family: var(--kd-font-head); font-weight: 800; font-size: 22px; color: var(--kd-ink); }
.kd-result__catch { font-size: 12.5px; font-weight: 600; color: var(--kd-ink-2); margin-top: -6px; }
.kd-result__stats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.kd-result__stats span { background: var(--kd-blue-tint); color: var(--kd-blue-dark); font-family: var(--kd-font-head); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 99px; }
.kd-result__point { display: flex; gap: 8px; align-items: flex-start; text-align: left; background: var(--kd-orange-soft); border-radius: var(--kd-r-md); padding: 11px 13px; font-size: 12px; font-weight: 600; line-height: 1.55; color: #92560B; }
.kd-result__point .kd-ico { color: var(--kd-orange-dark); flex: none; margin-top: 1px; }
.kd-result .kd-btn { width: 100%; max-width: 360px; margin-top: 4px; }
.kd-result__again { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--kd-ink-muted); }
.kd-result__again:hover { color: var(--kd-blue); }

/* ---------- 評価基準バブル ---------- */
.kd-criteria { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); padding: 11px 13px; margin-bottom: 16px; }
.kd-criteria__avatar { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--kd-blue-soft); background: var(--kd-blue-tint); object-fit: contain; flex: none; }
.kd-criteria__text { font-size: 11.5px; line-height: 1.55; color: var(--kd-ink-2); }

/* ---------- ランキング ---------- */
.kd-ranking__grid { display: flex; flex-direction: column; gap: 14px; }
.kd-rankcard { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-2xl); box-shadow: var(--kd-shadow-md); overflow: hidden; display: flex; flex-direction: column; }
.kd-rankcard__banner { position: relative; height: 132px; overflow: hidden; }
.kd-rankcard__banner::after { content: ""; position: absolute; right: -12%; top: -22%; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.1); }
.kd-rankcard__banner--thumb { background: var(--kd-blue-tint); height: 250px; }
.kd-rankcard__banner--thumb::after { display: none; }
.kd-rankcard__banner--ad { height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--kd-blue-tint); }
.kd-rankcard__banner--ad::after { display: none; }
.kd-rankcard__banner--ad img, .kd-rankcard__banner--ad iframe { max-width: 100%; max-height: 100%; }
.kd-rankcard__thumb { width: 100%; height: 100%; object-fit: contain; display: block; }
.kd-rankcard__rank { position: absolute; left: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--kd-font-head); font-weight: 800; font-size: 18px; color: #fff; box-shadow: 0 3px 7px rgba(0,0,0,.25); z-index: 2; }
.kd-rankcard__rank[data-rank="1"] { background: linear-gradient(135deg, #FBBF24, #D97706); }
.kd-rankcard__rank[data-rank="2"] { background: linear-gradient(135deg, #CBD5E1, #94A3B8); }
.kd-rankcard__rank[data-rank="3"] { background: linear-gradient(135deg, #D8A07A, #B27243); }
.kd-rankcard__type { position: absolute; right: 16px; top: 16px; font-family: var(--kd-font-head); font-weight: 700; font-size: 11px; color: rgba(255,255,255,.82); letter-spacing: .05em; z-index: 2; }
.kd-rankcard__chip { position: absolute; left: 22px; top: 72px; width: 22px; height: 17px; border-radius: 3px; z-index: 2; }
.kd-rankcard__cardname { position: absolute; left: 50px; top: 71px; font-family: var(--kd-font-head); font-weight: 800; font-size: 15px; color: #fff; z-index: 2; }
.kd-rankcard__cardno { position: absolute; left: 22px; top: 101px; font-size: 10px; color: rgba(255,255,255,.72); z-index: 2; }
.kd-rankcard__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.kd-rankcard__head { display: flex; flex-direction: column; gap: 5px; }
.kd-rankcard__name { font-family: var(--kd-font-head); font-weight: 800; font-size: 18px; }
.kd-rankcard__catch { font-size: 11.5px; font-weight: 600; color: var(--kd-ink-2); }
.kd-rankcard__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }

.kd-stats { display: flex; background: var(--kd-blue-tint); border-radius: var(--kd-r-lg); padding: 13px 6px; }
.kd-stats__cell { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; }
.kd-stats__cell + .kd-stats__cell::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 26px; background: #C7D8F5; }
.kd-stats__val { font-family: var(--kd-font-head); font-weight: 800; font-size: 15px; color: var(--kd-blue-dark); }
.kd-stats__label { font-size: 10.5px; font-weight: 600; color: var(--kd-ink-2); }
/* ランキングカード内のスタッツは縦並び（付帯保険など長い値でも崩れない） */
.kd-rankcard .kd-stats { flex-direction: column; padding: 4px 14px; }
.kd-rankcard .kd-stats__cell { flex: none; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; text-align: right; }
.kd-rankcard .kd-stats__cell + .kd-stats__cell::before { display: none; }
.kd-rankcard .kd-stats__cell + .kd-stats__cell { border-top: 1px solid #C7D8F5; }
.kd-rankcard .kd-stats__label { white-space: nowrap; }

.kd-point { display: flex; gap: 8px; align-items: flex-start; background: var(--kd-orange-soft); border-radius: var(--kd-r-md); padding: 11px 13px; font-size: 12px; font-weight: 600; line-height: 1.55; color: #92560B; }
.kd-point .kd-ico { color: var(--kd-orange-dark); flex: none; margin-top: 1px; }

/* ---------- 比較表 ---------- */
.kd-table { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-2xl); overflow: hidden; box-shadow: var(--kd-shadow-md); }
.kd-table__head { display: flex; align-items: center; background: var(--kd-blue); color: #fff; padding: 13px 12px; }
.kd-th { display: flex; align-items: center; justify-content: center; font-family: var(--kd-font-head); font-weight: 700; font-size: 11.5px; }
.kd-th--name { flex: 1; justify-content: flex-start; font-size: 12px; }
.kd-tr { display: flex; align-items: center; padding: 12px; border-bottom: 1px solid var(--kd-line); }
.kd-tr:last-child { border-bottom: 0; }
.kd-tr.is-popular { background: var(--kd-blue-tint); }
.kd-td { display: flex; align-items: center; justify-content: center; font-family: var(--kd-font-head); font-weight: 700; font-size: 12.5px; text-align: center; }
.kd-td--name { flex: 1; justify-content: flex-start; gap: 10px; }
.kd-dot { width: 19px; height: 13px; border-radius: 4px; flex: none; }
.kd-td__namewrap { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kd-td__name { font-family: var(--kd-font-head); font-weight: 800; font-size: 12px; color: var(--kd-ink); display: inline-flex; align-items: center; flex-wrap: wrap; }
.kd-td__tag { font-family: var(--kd-font-body); font-weight: 500; font-size: 10px; color: var(--kd-ink-muted); }
.kd-col--fee { width: 78px; }
.kd-col--fee.is-free { color: var(--kd-green); }
.kd-col--rate { width: 60px; color: var(--kd-blue-dark); font-weight: 800; }
.kd-col--insurance, .kd-col--issue, .kd-col--action { display: none; }
.kd-col--issue.is-fast { color: var(--kd-green); }

.kd-compare__foot { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 14px; }
.kd-note { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; color: var(--kd-ink-muted); line-height: 1.5; }
.kd-note .kd-ico { flex: none; margin-top: 1px; }

/* ---------- 目的別 ---------- */
.kd-category__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.kd-cat { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); padding: 12px; box-shadow: var(--kd-shadow-sm); transition: transform .12s, box-shadow .12s, border-color .12s; }
.kd-cat:hover { transform: translateY(-2px); box-shadow: var(--kd-shadow-md); border-color: var(--kd-blue-soft); }
.kd-cat__ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; flex: none; }
.kd-cat__tw { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.kd-cat__label { font-family: var(--kd-font-head); font-weight: 700; font-size: 12.5px; color: var(--kd-ink); }
.kd-cat__count { font-size: 10px; font-weight: 600; color: var(--kd-ink-muted); }
.kd-cat__chev { color: var(--kd-ink-muted); flex: none; }

/* ---------- カドル解説 ---------- */
.kd-explain { background: var(--kd-blue-tint); }
.kd-explain__list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.kd-qa { display: flex; gap: 9px; align-items: flex-start; }
.kd-qa__avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; background: var(--kd-blue-tint); object-fit: contain; flex: none; box-shadow: var(--kd-shadow-sm); }
.kd-qa__bubble { background: #fff; border: 1px solid var(--kd-line); border-radius: 16px; border-top-left-radius: 4px; padding: 13px 14px; box-shadow: var(--kd-shadow-sm); flex: 1; }
.kd-qa__q { display: flex; gap: 6px; font-family: var(--kd-font-head); font-weight: 700; font-size: 13.5px; line-height: 1.4; color: var(--kd-ink); margin-bottom: 5px; }
.kd-qa__a { display: flex; gap: 6px; font-size: 12.5px; line-height: 1.65; color: var(--kd-ink-2); }
.kd-qa__mark { font-family: var(--kd-font-head); font-weight: 800; flex: none; }
.kd-qa__mark--q { color: var(--kd-orange); }
.kd-qa__mark--a { color: var(--kd-blue); }

/* ---------- 再CTA ---------- */
.kd-cta2 { background: var(--kd-grad-blue-diag); color: #fff; overflow: hidden; padding: 38px 0 42px; }
.kd-cta2__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; }
.kd-cta2__char { position: relative; width: 140px; height: 126px; display: flex; align-items: center; justify-content: center; flex: none; }
.kd-cta2__char img { width: 122px; height: 122px; position: relative; z-index: 1; filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); }
.kd-cta2__glow { position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), rgba(255,255,255,0) 68%); }
.kd-cta2__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 22px; line-height: 1.4; }
.kd-cta2__sub { font-size: 13px; line-height: 1.65; color: #E3ECFF; }
.kd-cta2__actions { display: flex; flex-direction: column; align-items: center; gap: 9px; margin-top: 4px; }
.kd-cta2__actions .kd-btn { width: 100%; max-width: 330px; }
.kd-cta2__micro { font-size: 11.5px; color: rgba(255,255,255,.8); }

/* ---------- フッター ---------- */
.kd-footer { background: var(--kd-blue-deep); color: #E0E7FF; padding: 34px 0 26px; }
.kd-footer__top { display: flex; flex-direction: column; gap: 26px; }
.kd-footer__brand { display: flex; flex-direction: column; gap: 11px; }
.kd-footer__tagline { font-size: 12.5px; line-height: 1.7; color: #C7D2FE; }
.kd-footer__sns { display: flex; gap: 10px; margin-top: 4px; }
.kd-footer__sns a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .12s; }
.kd-footer__sns a:hover { background: rgba(255,255,255,.22); }
.kd-footer__cols { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.kd-footer__col { min-width: 130px; }
.kd-footer__coltitle { font-family: var(--kd-font-head); font-weight: 700; font-size: 12px; color: #93C5FD; margin-bottom: 11px; }
.kd-footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.kd-footer__col a { font-size: 12.5px; color: #E0E7FF; }
.kd-footer__col a:hover { color: #fff; }
.kd-footer__divider { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 24px 0; }
.kd-footer__operator { font-size: 11px; font-weight: 600; color: #A5B4FC; margin-bottom: 7px; }
.kd-footer__legal { font-size: 10.5px; line-height: 1.7; color: #9AA6D4; }
.kd-footer__bottom { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.kd-footer__copy { font-size: 11px; color: #7E8BC4; }
.kd-footer__legal-links { display: flex; gap: 16px; }
.kd-footer__legal-links a { font-size: 11px; color: #9AA6D4; }
.kd-footer__legal-links a:hover { color: #fff; }

/* ---------- 一般ページ（フォールバック） ---------- */
.kd-page { padding: 40px 0 60px; }
.kd-page__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 26px; margin-bottom: 20px; }
.kd-page__item { padding: 18px 0; border-bottom: 1px solid var(--kd-line); }
.kd-page__item h2 { font-family: var(--kd-font-head); font-size: 18px; }

/* =========================================================
   PC レイアウト（min-width: 960px）
   ========================================================= */
@media (min-width: 960px) {
	.kd-quiz, .kd-ranking, .kd-compare, .kd-category, .kd-explain { padding: var(--kd-section-y-pc) 0; }
	.kd-sec-head { gap: 12px; margin-bottom: 34px; }
	.kd-sec-title { font-size: 32px; }
	.kd-sec-sub { font-size: 15px; }

	/* ヘッダー */
	.kd-nav { display: block; }
	.kd-nav__list { display: flex; gap: 26px; }
	.kd-nav__list a { font-weight: 600; font-size: 14.5px; color: var(--kd-ink-2); }
	.kd-nav__list a:hover { color: var(--kd-blue); }
	.kd-header__actions { gap: 14px; }
	.kd-header__cta { display: inline-flex; }
	.kd-menu-toggle, .kd-drawer { display: none !important; }

	/* ヒーロー */
	.kd-hero__inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 56px; padding: 72px 0 88px; }
	.kd-hero__copy { order: 1; align-items: flex-start; text-align: left; gap: 22px; flex: 1; }
	.kd-hero__visual { order: 2; width: 440px; max-width: 46%; }
	.kd-hero__title { font-size: 46px; line-height: 1.32; }
	.kd-hero__sub { font-size: 16.5px; line-height: 1.75; }
	.kd-hero__actions { flex-direction: row; width: auto; }
	.kd-hero__actions .kd-btn { width: auto; }
	.kd-chip { font-size: 14px; padding: 10px 15px; }

	/* 診断 */
	.kd-quiz__card { flex-direction: row; max-width: 960px; align-items: stretch; }
	.kd-quiz__panel { width: 360px; flex: none; padding: 32px; justify-content: center; }
	.kd-quiz__avatar { width: 74px; height: 74px; border-width: 3px; }
	.kd-quiz__who { font-size: 13px; }
	.kd-quiz__q { font-size: 23px; }
	.kd-quiz__main { flex: 1; padding: 28px; }
	.kd-quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
	.kd-opt { padding: 16px 15px; }
	.kd-opt__ico { width: 40px; height: 40px; }
	.kd-opt__label { font-size: 14.5px; }
	.kd-quiz__card.is-result { display: block; }
	.kd-result { max-width: 560px; margin-inline: auto; }

	/* 評価基準バブル */
	.kd-criteria { justify-content: center; max-width: 680px; margin: 0 auto 18px; border-radius: 99px; padding: 12px 18px; }
	.kd-criteria__avatar { width: 34px; height: 34px; }
	.kd-criteria__text { font-size: 13px; }

	/* ランキング */
	.kd-ranking__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
	.kd-rankcard { flex: 1; }
	.kd-rankcard__name { font-size: 18px; }

	/* 比較表（7列） */
	.kd-table__head, .kd-tr { padding: 15px 20px; }
	.kd-th, .kd-td { font-size: 13px; }
	.kd-td__name { font-size: 14.5px; }
	.kd-col--fee { width: 140px; } .kd-col--rate { width: 120px; }
	.kd-col--insurance { display: flex; width: 152px; }
	.kd-col--issue { display: flex; width: 120px; }
	.kd-col--action { display: flex; width: 148px; }
	.kd-compare__foot { flex-direction: row; justify-content: space-between; }
	.kd-note { font-size: 11.5px; }

	/* 目的別（3列） */
	.kd-category__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.kd-cat { padding: 18px; }
	.kd-cat__ico { width: 48px; height: 48px; }
	.kd-cat__label { font-size: 16px; }
	.kd-cat__count { font-size: 11.5px; }

	/* 解説（3列・カードを縦積み） */
	.kd-explain__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.kd-qa { flex: 1; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-xl); padding: 24px; box-shadow: var(--kd-shadow-sm); }
	.kd-qa__bubble { border: 0; border-radius: 0; padding: 0; box-shadow: none; }
	.kd-qa__q { font-size: 16px; }
	.kd-qa__a { font-size: 13.5px; line-height: 1.7; }

	/* 再CTA */
	.kd-cta2 { padding: 64px 0; }
	.kd-cta2__inner { flex-direction: row; justify-content: center; text-align: left; gap: 50px; }
	.kd-cta2__char { width: 230px; height: 216px; }
	.kd-cta2__char img { width: 200px; height: 200px; }
	.kd-cta2__copy { max-width: 560px; }
	.kd-cta2__title { font-size: 36px; line-height: 1.34; }
	.kd-cta2__sub { font-size: 16px; }
	.kd-cta2__actions { flex-direction: row; align-items: center; gap: 16px; }
	.kd-cta2__actions .kd-btn { width: auto; }

	/* フッター */
	.kd-footer { padding: 56px 0 30px; }
	.kd-footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 48px; }
	.kd-footer__brand { width: 380px; }
	.kd-footer__cols { gap: 64px; flex-wrap: nowrap; }
	.kd-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* タブレット微調整：診断の選択肢を2列に（PC手前から） */
@media (min-width: 600px) and (max-width: 959px) {
	.kd-quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; }
	.kd-btn:hover, .kd-cat:hover { transform: none; }
	.kd-result { animation: none; }
}

/* ---------- 広告（PR）表記 ---------- */
.kd-tag--pr { background: #E2E8F0; color: #475569; letter-spacing: .04em; }
.kd-adnote {
	display: flex; gap: 6px; align-items: flex-start;
	font-size: 11px; line-height: 1.55; color: var(--kd-ink-muted);
	background: #F1F5F9; border-radius: var(--kd-r-md); padding: 9px 12px;
	margin: 0 auto 16px; max-width: 680px;
}
.kd-adnote .kd-ico { flex: none; margin-top: 1px; }

/* ---------- 広告ガイドライン対応（規制カード） ---------- */
/* ファーストビューのPR/広告バー */
.kd-prbar { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; background: #1E293B; color: #CBD5E1; padding: 6px 16px; font-size: 11px; line-height: 1.45; text-align: center; }
.kd-prbar__tag { flex: none; background: #475569; color: #fff; font-family: var(--kd-font-head); font-weight: 700; font-size: 10px; letter-spacing: .04em; padding: 2px 8px; border-radius: var(--kd-r-pill); }

/* ニュートラル券面（自作バナー回避） */
.kd-rankcard__banner--neutral { background: var(--kd-blue-tint); display: flex; align-items: center; padding-left: 20px; }
.kd-rankcard__banner--neutral::after { display: none; }
.kd-rankcard__neutral { display: flex; flex-direction: column; gap: 3px; }
.kd-rankcard__neutralname { font-family: var(--kd-font-head); font-weight: 800; font-size: 15px; color: var(--kd-ink); }
.kd-rankcard__brands { font-size: 11px; font-weight: 600; color: var(--kd-ink-2); }

/* 承認メリット / デメリット */
.kd-merits { display: flex; flex-direction: column; gap: 7px; }
.kd-merits li { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--kd-ink); }
.kd-merits .kd-ico { color: var(--kd-green); flex: none; margin-top: 1px; }
.kd-demerits { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--kd-line); }
.kd-demerits li { position: relative; padding-left: 16px; font-size: 11.5px; line-height: 1.5; color: var(--kd-ink-2); }
.kd-demerits li::before { content: "−"; position: absolute; left: 4px; color: var(--kd-ink-muted); }

/* 必須注釈（逐語） */
.kd-disclaimer { margin-top: 14px; background: #F8FAFC; border: 1px solid var(--kd-line); border-radius: var(--kd-r-md); padding: 12px 14px; }
.kd-disclaimer__title { font-family: var(--kd-font-head); font-weight: 700; font-size: 11.5px; color: var(--kd-ink-2); margin-bottom: 6px; }
.kd-disclaimer__list { display: flex; flex-direction: column; gap: 4px; }
.kd-disclaimer__list li { font-size: 10.5px; line-height: 1.6; color: var(--kd-ink-muted); }

/* ---------- カード詳細ページ ---------- */
.kd-detail__inner { max-width: 840px; padding-top: 20px; padding-bottom: 50px; display: flex; flex-direction: column; gap: 18px; }
.kd-detail__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--kd-ink-muted); }
.kd-detail__crumbs a { color: var(--kd-ink-2); }
.kd-detail__hero { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-2xl); box-shadow: var(--kd-shadow-md); padding: 20px; align-items: center; text-align: center; }
.kd-detail__visual { position: relative; width: 200px; height: 126px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 18px rgba(0,0,0,.18); flex: none; }
.kd-detail__banner { display: block; width: 300px; max-width: 100%; aspect-ratio: 300 / 250; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 18px rgba(0,0,0,.14); flex: none; line-height: 0; }
.kd-detail__banner-img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--kd-blue-tint); }
a.kd-detail__banner { transition: transform .15s ease, box-shadow .15s ease; }
a.kd-detail__banner:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.kd-detail__banner--ad { width: auto; aspect-ratio: auto; overflow: visible; border-radius: 0; box-shadow: none; text-align: center; line-height: 0; }
.kd-detail__banner--ad img, .kd-detail__banner--ad iframe { max-width: 100%; }
.kd-detail__type { position: absolute; right: 12px; top: 11px; font-family: var(--kd-font-head); font-weight: 700; font-size: 10px; color: rgba(255,255,255,.85); }
.kd-detail__chip { position: absolute; left: 16px; top: 18px; width: 22px; height: 17px; border-radius: 3px; }
.kd-detail__cardname { position: absolute; left: 16px; bottom: 30px; font-family: var(--kd-font-head); font-weight: 800; font-size: 16px; color: #fff; }
.kd-detail__cardno { position: absolute; left: 16px; bottom: 12px; font-size: 10px; color: rgba(255,255,255,.75); }
.kd-detail__head { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.kd-detail__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.kd-detail__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 22px; color: var(--kd-ink); line-height: 1.35; }
.kd-detail__catch { font-size: 13px; font-weight: 600; color: var(--kd-ink-2); }
.kd-detail__brands { font-size: 12.5px; font-weight: 600; color: var(--kd-ink-2); }
.kd-detail__cta { width: 100%; max-width: 360px; margin-top: 4px; }
.kd-detail__sec { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-xl); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kd-detail__h2 { display: flex; align-items: center; gap: 8px; font-family: var(--kd-font-head); font-weight: 800; font-size: 16px; color: var(--kd-ink); }
.kd-detail__h2 .kd-ico { color: var(--kd-blue); }
.kd-detail__h2:not(:first-child) { margin-top: 6px; }
.kd-detail__kadoru { display: flex; gap: 10px; align-items: flex-start; }
.kd-detail__avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: var(--kd-blue-tint); object-fit: contain; flex: none; box-shadow: var(--kd-shadow-sm); }
.kd-detail__point { font-size: 13px; line-height: 1.6; color: var(--kd-ink); }
.kd-spectable { display: flex; flex-direction: column; }
.kd-spectable__row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--kd-line); }
.kd-spectable__row:last-child { border-bottom: 0; }
.kd-spectable__row dt { flex: none; width: 38%; font-family: var(--kd-font-head); font-weight: 700; font-size: 12.5px; color: var(--kd-ink-2); }
.kd-spectable__row dd { flex: 1; font-size: 12.5px; line-height: 1.55; color: var(--kd-ink); margin: 0; }
.kd-detail__campaign { font-size: 13px; line-height: 1.7; color: var(--kd-ink); }
.kd-detail__content { line-height: 1.8; font-size: 14px; color: var(--kd-ink); overflow-wrap: anywhere; word-break: break-word; }
.kd-detail__content > * { min-width: 0; margin: 0; }
.kd-detail__content p { margin: 0; }
.kd-detail__ctafoot { display: flex; justify-content: center; }
.kd-detail__ctafoot .kd-btn { width: 100%; max-width: 420px; }
.kd-detail__backwrap { text-align: center; }
.kd-detail__back { font-size: 13px; font-weight: 600; color: var(--kd-blue); }
@media (min-width: 760px) {
  .kd-detail__hero { flex-direction: row; text-align: left; gap: 28px; padding: 28px; }
  .kd-detail__visual { width: 240px; height: 150px; }
  .kd-detail__head { align-items: flex-start; }
  .kd-detail__tags { justify-content: flex-start; }
  .kd-detail__title { font-size: 26px; }
  .kd-detail__cta { width: auto; }
}

/* ===== カドル紹介ページ（固定ページ template-kadoru.php） ===== */
.kd-about__hero { background: var(--kd-blue-tint); border-bottom: 1px solid var(--kd-line); padding: 32px 0; }
.kd-about__hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.kd-about__avatar { width: 180px; height: 180px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 18px rgba(37,99,235,.18)); }
.kd-about__hero-text { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kd-about__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 26px; line-height: 1.4; color: var(--kd-ink); }
.kd-about__lead { font-size: 14px; line-height: 1.85; color: var(--kd-ink-2); max-width: 640px; }
.kd-about__inner { display: flex; flex-direction: column; gap: 22px; padding-top: 28px; padding-bottom: 8px; }
.kd-about__sec { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-xl); box-shadow: var(--kd-shadow-sm); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.kd-about__p { font-size: 14px; line-height: 1.9; color: var(--kd-ink); }
.kd-about__roles { display: grid; grid-template-columns: 1fr; gap: 14px; }
.kd-about__role { background: var(--kd-blue-tint); border-radius: var(--kd-r-lg); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.kd-about__role-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--kd-blue); box-shadow: var(--kd-shadow-sm); margin-bottom: 4px; }
.kd-about__role-title { font-family: var(--kd-font-head); font-weight: 800; font-size: 16px; color: var(--kd-ink); }
.kd-about__role p { font-size: 13px; line-height: 1.7; color: var(--kd-ink-2); }
.kd-about__promise-list li { font-size: 14px; }
.kd-about__profile dt { width: 30%; }
.kd-about__cta { background: var(--kd-grad-blue-diag, var(--kd-blue)); color: #fff; border-radius: var(--kd-r-2xl); padding: 32px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; box-shadow: var(--kd-shadow-md); }
.kd-about__cta-avatar { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.2)); }
.kd-about__cta-title { font-family: var(--kd-font-head); font-weight: 800; font-size: 20px; color: #fff; }
.kd-about__cta-btns { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px; }
.kd-about__cta-btns .kd-btn { width: 100%; }
@media (min-width: 760px) {
  .kd-about__hero { padding: 48px 0; }
  .kd-about__hero-inner { flex-direction: row; text-align: left; gap: 36px; }
  .kd-about__avatar { width: 220px; height: 220px; }
  .kd-about__hero-text { align-items: flex-start; }
  .kd-about__title { font-size: 32px; }
  .kd-about__sec { padding: 28px; }
  .kd-about__roles { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .kd-about__cta-btns { flex-direction: row; max-width: none; width: auto; }
  .kd-about__cta-btns .kd-btn { width: auto; }
}

/* ===== 情報ページ（運営者情報・プライバシー・調査概要 template-legal.php） ===== */
.kd-legal__inner { max-width: 820px; padding-top: 24px; padding-bottom: 56px; }
.kd-legal__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 24px; color: var(--kd-ink); margin: 12px 0 18px; }
.kd-legal__body { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-xl); box-shadow: var(--kd-shadow-sm); padding: 22px; font-size: 14px; line-height: 1.9; color: var(--kd-ink); overflow-wrap: anywhere; word-break: break-word; }
.kd-legal__body h2 { font-family: var(--kd-font-head); font-weight: 800; font-size: 18px; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--kd-blue-tint); color: var(--kd-ink); }
.kd-legal__body h2:first-child { margin-top: 0; }
.kd-legal__body h3 { font-family: var(--kd-font-head); font-weight: 700; font-size: 15px; margin: 18px 0 6px; color: var(--kd-ink); }
.kd-legal__body p { margin: 0 0 12px; }
.kd-legal__body ul { margin: 0 0 12px; padding-left: 1.3em; list-style: disc; }
.kd-legal__body li { margin-bottom: 5px; }
.kd-legal__body a { color: var(--kd-blue); text-decoration: underline; }
.kd-legal__table { width: 100%; border-collapse: collapse; margin: 0 0 14px; }
.kd-legal__table th, .kd-legal__table td { border: 1px solid var(--kd-line); padding: 10px 12px; text-align: left; font-size: 13.5px; line-height: 1.7; vertical-align: top; }
.kd-legal__table th { background: var(--kd-blue-tint); width: 34%; font-weight: 700; color: var(--kd-ink); }
@media (min-width: 760px) {
  .kd-legal__title { font-size: 28px; }
  .kd-legal__body { padding: 32px; }
}

/* ===== 記事一覧（コラム template-articles.php） ===== */
.kd-articles__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
.kd-articlecard { background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-xl); overflow: hidden; box-shadow: var(--kd-shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.kd-articlecard:hover { transform: translateY(-3px); box-shadow: var(--kd-shadow-md); }
.kd-articlecard__link { display: flex; gap: 14px; color: inherit; }
.kd-articlecard__thumb { flex: none; width: 116px; background: var(--kd-blue-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kd-articlecard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kd-articlecard__noimg { color: var(--kd-blue); opacity: .5; }
.kd-articlecard__body { flex: 1; min-width: 0; padding: 14px 16px 14px 0; display: flex; flex-direction: column; gap: 6px; }
.kd-articlecard__cat { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--kd-blue-dark); background: var(--kd-blue-tint); border-radius: var(--kd-r-pill); padding: 3px 9px; }
.kd-articlecard__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 15px; line-height: 1.45; color: var(--kd-ink); }
.kd-articlecard__excerpt { font-size: 12.5px; line-height: 1.6; color: var(--kd-ink-2); overflow-wrap: anywhere; }
.kd-articlecard__date { font-size: 11px; color: var(--kd-ink-muted); margin-top: auto; }
.kd-articles__nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.kd-articles__nav .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--kd-line); border-radius: var(--kd-r-md); background: #fff; color: var(--kd-ink); font-weight: 700; font-size: 13px; }
.kd-articles__nav .page-numbers.current { background: var(--kd-blue); color: #fff; border-color: var(--kd-blue); }
.kd-articles__nav a.page-numbers:hover { background: var(--kd-blue-tint); }
.kd-articles__empty { padding: 40px 0; text-align: center; color: var(--kd-ink-2); }
.kd-homeposts { padding: var(--kd-section-y) 0; }
.kd-homeposts__grid { margin-top: 18px; }
.kd-homeposts__more { display: flex; justify-content: center; margin-top: 22px; }

/* ===== 単一記事（single.php） ===== */
.kd-article__inner { max-width: 760px; padding-top: 20px; padding-bottom: 56px; }
.kd-article__head { margin: 14px 0 18px; }
.kd-article__cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--kd-blue-dark); background: var(--kd-blue-tint); border-radius: var(--kd-r-pill); padding: 4px 11px; margin-bottom: 10px; }
.kd-article__title { font-family: var(--kd-font-head); font-weight: 800; font-size: 24px; line-height: 1.4; color: var(--kd-ink); }
.kd-article__date { display: block; margin-top: 10px; font-size: 12.5px; color: var(--kd-ink-muted); }
.kd-article__hero { border-radius: var(--kd-r-xl); overflow: hidden; margin: 0 0 22px; box-shadow: var(--kd-shadow-sm); }
.kd-article__hero img { width: 100%; height: auto; display: block; }
.kd-article__body { font-size: 15px; line-height: 1.95; color: var(--kd-ink); overflow-wrap: anywhere; word-break: break-word; }
.kd-article__body > * { min-width: 0; }
.kd-article__body h2 { font-family: var(--kd-font-head); font-weight: 800; font-size: 20px; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--kd-blue-tint); }
.kd-article__body h3 { font-family: var(--kd-font-head); font-weight: 700; font-size: 16px; margin: 22px 0 8px; }
.kd-article__body p { margin: 0 0 16px; }
.kd-article__body ul, .kd-article__body ol { margin: 0 0 16px; padding-left: 1.4em; }
.kd-article__body li { margin-bottom: 6px; }
.kd-article__body a { color: var(--kd-blue); text-decoration: underline; }
.kd-article__body img { max-width: 100%; height: auto; border-radius: var(--kd-r-md); }
.kd-article__note { margin-top: 26px; padding: 12px 14px; background: var(--kd-blue-tint); border-radius: var(--kd-r-md); font-size: 12px; line-height: 1.7; color: var(--kd-ink-2); }
.kd-article__backwrap { text-align: center; margin-top: 26px; }
@media (min-width: 760px) {
  .kd-articles__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .kd-homeposts { padding: var(--kd-section-y-pc) 0; }
  .kd-homeposts__grid { grid-template-columns: repeat(3, 1fr); }
  .kd-articlecard__thumb { width: 150px; }
  .kd-article__title { font-size: 30px; }
  .kd-article__body { font-size: 16px; }
}