/* 柏市残置物回収110番 下層ページ（front.css の色・部品を使う。SWELL の上に重ねる） */

/* ---- 共通：.kz を付けた要素だけ TOP と同じ文字設定 ---- */
.kz { font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: var(--kz-text); line-height: 1.8; }
.kz ul { margin: 0; padding: 0; list-style: none; }
.kz p { margin: 0; }
.kz a { text-decoration: none; }
.kz-skip { position: absolute; left: -999px; top: 0; z-index: 1000; background: #fff; padding: 8px 12px; }
.kz-skip:focus { left: 8px; }

/* ---- ヘッダー（SWELLの外に出しているので管理バー分は自前で） ---- */
.kz-header.kz-ab { top: 46px; }
@media (min-width: 783px) { .kz-header.kz-ab { top: 32px; } }
@media (max-width: 600px) { .kz-header.kz-ab { top: 0; } }
.kz-nav a { color: var(--kz-text); }

/* ---- スマホ固定CTAの分だけ下を空ける ---- */
body { padding-bottom: var(--kz-fixed-h); }
.p-fixBtnWrap { bottom: calc(var(--kz-fixed-h) + 12px) !important; }
.l-footer { padding-bottom: 0 !important; } /* 旧固定ボタン用の余白（style.css）を打ち消す */

/* ---- 固定ページの見出しエリア ---- */
.kz-phero { display: grid; gap: 18px; margin: 0 0 40px; padding: 22px 18px; border-radius: 18px; background: linear-gradient(150deg, var(--kz-green-l) 0%, #fff 70%); border: 1px solid var(--kz-border); box-shadow: var(--kz-shadow); }
.kz-phero__en { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .2em; color: #fff; background: var(--kz-orange); border-radius: 999px; padding: 2px 14px; }
.kz-phero__title { margin: 10px 0 0; font-size: 24px; line-height: 1.45; font-weight: 900; color: var(--kz-green); letter-spacing: .01em; }
.kz-phero__lead { margin-top: 12px !important; font-size: 15px; font-weight: 500; }
.kz-phero__pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px !important; }
.kz-phero__pts li { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; font-weight: 900; font-size: 12px; line-height: 1.35; background: #fff; border-radius: 10px; padding: 8px 4px; border: 2px solid var(--kz-green-l); }
.kz-phero__pts li span { width: 34px; height: 34px; border-radius: 50%; background: var(--kz-green); color: var(--kz-yellow); display: grid; place-items: center; flex: none; }
.kz-phero__pts .kz-ic { width: 19px; height: 19px; }
.kz-phero__cta { display: grid; gap: 10px; margin-top: 16px; }
.kz-pbtn { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 16px; border-radius: 12px; color: #fff !important; box-shadow: 0 4px 0 rgba(0,0,0,.18); transition: transform .15s, box-shadow .15s; }
.kz-pbtn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.kz-pbtn .kz-ic { width: 28px; height: 28px; }
.kz-pbtn span { display: flex; flex-direction: column; line-height: 1.25; }
.kz-pbtn small { font-size: 12px; }
.kz-pbtn b { font-size: 18px; font-weight: 900; white-space: nowrap; }
.kz-pbtn b.kz-num { font-size: 21px; }
.kz-pbtn--tel { background: var(--kz-orange); }
.kz-pbtn--line { background: var(--kz-line); }
.kz-phero__img { margin: 0; order: -1; }
.kz-phero__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }

/* ---- 本文の見出し ---- */
.post_content h2.kz-h2x { position: relative; margin: 3.2em 0 1.2em; padding: 14px 16px 14px 62px; border: 0 !important; border-radius: 12px; background: var(--kz-green) !important; color: #fff !important; font-size: 20px; font-weight: 900; line-height: 1.5; box-shadow: 0 4px 0 var(--kz-green-d); }
.post_content h2.kz-h2x::before, .post_content h2.kz-h2x::after { content: none !important; display: none !important; }
.post_content h2.kz-h2x * { color: inherit !important; background: none !important; }
.post_content h2.kz-h2x .kz-h2ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--kz-yellow) !important; color: var(--kz-green-d) !important; display: grid; place-items: center; }
.post_content h2.kz-h2x .kz-h2ic svg { width: 21px; height: 21px; }
.post_content h3:not([class*="kz-"]):not(.faq_q):not(.swell-block-faq__q) { position: relative; margin: 2.4em 0 1em; padding: 10px 14px 10px 18px; border: 0; border-left: 6px solid var(--kz-orange); border-radius: 6px; background: var(--kz-tint); font-size: 18px; font-weight: 900; line-height: 1.5; color: var(--kz-text); }
.post_content h3:not([class*="kz-"]):not(.faq_q):not(.swell-block-faq__q)::before, .post_content h3:not([class*="kz-"]):not(.faq_q):not(.swell-block-faq__q)::after { content: none; }

/* ---- 見出しの内容に合わせて差し込んだ写真・イラスト ---- */
.post_content .kz-secimg { margin: 0 auto 1.6em; max-width: 600px; }
.post_content .kz-secimg__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.10); }

/* ---- 本文中のCTA ---- */
.post_content .kz-incta { margin: 2.4em 0; }
.post_content .kz-incta .kz-cta { margin: 0; }
.post_content .kz-incta p, .post_content .kz-incta small, .post_content .kz-incta b { margin: 0; line-height: 1.3; }
.post_content .kz-incta .kz-cta__lead { margin-bottom: 14px; line-height: 1.6; }
.post_content .kz-incta a { text-decoration: none !important; }

/* ---- 本文の旧ブロック（カスタムHTMLの cb-* 枠。CSSが無く素の文字だけになっていた）をTOPと同じ見た目に ---- */
.post_content .cb { margin: 2.4em 0; }
.post_content .cb > section + section { margin-top: 2em; }
.post_content .cb-sec.bl { background: var(--kz-tint); border: 1px solid var(--kz-border); border-radius: 16px; padding: 20px 16px; }
.post_content .cb h2.cb-ttl { position: relative; margin: 0 0 1em; padding: 14px 16px 14px 62px; border: 0 !important; border-radius: 12px; background: var(--kz-green) !important; color: #fff !important; font-size: 20px; font-weight: 900; line-height: 1.5; box-shadow: 0 4px 0 var(--kz-green-d); }
.post_content .cb h2.cb-ttl::after { content: none !important; display: none !important; }
.post_content .cb h2.cb-ttl::before { content: "" !important; display: block !important; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0 !important; border-radius: 50%; background: var(--kz-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308543c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center / 21px no-repeat !important; }
.post_content .cb .cb-sub { margin: 0 0 1.2em; font-weight: 500; }
.post_content .cb .cb-sec h3:not([class]) { background: #fff; text-align: left; }
.post_content .cb .cb-note { margin-top: .8em; font-size: 13px; color: var(--kz-muted); }
.post_content .cb .cb-num { display: inline-block; margin-bottom: 6px; padding: 1px 12px; border-radius: 999px; background: var(--kz-orange); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
/* 料金表 */
.post_content .cb .cb-table { width: 100%; margin: 0 0 .6em; border-collapse: collapse; background: #fff; font-size: 14px; border-radius: 12px; overflow: hidden; box-shadow: var(--kz-shadow); }
.post_content .cb .cb-table th, .post_content .cb .cb-table td { padding: 10px 8px; border: 1px solid var(--kz-border); text-align: center; vertical-align: middle; line-height: 1.5; }
.post_content .cb .cb-table thead th { background: var(--kz-green); color: #fff; font-weight: 900; }
.post_content .cb .cb-table tbody th, .post_content .cb .cb-table tbody td:first-child { background: var(--kz-green-l); font-weight: 900; }
.post_content .cb .cb-table td b, .post_content .cb .cb-table td strong { color: var(--kz-orange-d); font-size: 1.08em; }
/* カード */
.post_content .cb .cb-grid { display: grid; gap: 14px; margin: 0; }
.post_content .cb .cb-card { margin: 0; background: #fff; border: 1px solid var(--kz-border); border-radius: 14px; overflow: hidden; box-shadow: var(--kz-shadow); display: flex; flex-direction: column; }
.post_content .cb .cb-card > img, .post_content .cb .cb-card > a > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; border-radius: 0; }
.post_content .cb .cb-card .cb-card-b { padding: 14px 16px 16px; }
.post_content .cb .cb-card .cb-card-b > h3 { margin: 0 0 6px; padding: 0; border: 0; background: none; font-size: 17px; color: var(--kz-green); }
.post_content .cb .cb-card .cb-card-b > p { margin: 0 0 .5em; font-size: 14px; line-height: 1.7; }
.post_content .cb .cb-card a { color: var(--kz-green); font-weight: 700; }
.post_content .cb .cb-card a.more, .post_content .cb .cb-card .more a { display: inline-block; margin-top: 4px; padding: 4px 14px; border-radius: 999px; background: var(--kz-green); color: #fff !important; font-size: 13px; text-decoration: none !important; }
/* 手順・特長・悩み・よくある質問 */
.post_content .cb .cb-steps { counter-reset: kzst; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.post_content .cb .cb-steps > li { counter-increment: kzst; position: relative; margin: 0; padding: 12px 14px 12px 60px; background: #fff; border: 1px solid var(--kz-border); border-radius: 12px; }
.post_content .cb .cb-steps > li::before { content: counter(kzst); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--kz-orange); color: #fff; font-weight: 900; display: grid; place-items: center; }
.post_content .cb .cb-pts, .post_content .cb .cb-worry ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.post_content .cb .cb-pts > li, .post_content .cb .cb-worry li { position: relative; margin: 0; padding: 10px 12px 10px 40px; background: #fff; border-radius: 10px; border: 1px solid var(--kz-border); font-weight: 700; }
.post_content .cb .cb-pts > li::before, .post_content .cb .cb-worry li::before { content: "✓"; position: absolute; left: 12px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--kz-green); color: #fff; font-size: 12px; display: grid; place-items: center; }
.post_content .cb .cb-worry li::before { content: "？"; background: var(--kz-orange); }
.post_content .cb .cb-worry img { display: block; max-width: 240px; margin: 0 auto 12px; border-radius: 12px; }
.post_content .cb .cb-faq details { margin: 0 0 10px; background: #fff; border: 1px solid var(--kz-border); border-radius: 12px; overflow: hidden; }
.post_content .cb .cb-faq summary { cursor: pointer; padding: 12px 14px; font-weight: 900; background: var(--kz-green-l); }
.post_content .cb .cb-faq .a { padding: 12px 14px; }
/* 本文中の相談枠（cb-cta） */
.post_content .cb .cb-cta { padding: 22px 16px; border-radius: 16px; background: linear-gradient(150deg, var(--kz-green) 0%, var(--kz-green-d) 100%); color: #fff; text-align: center; box-shadow: var(--kz-shadow); }
.post_content .cb .cb-cta .cb-in > h3 { margin: 0 0 6px; padding: 0; border: 0; background: none; color: var(--kz-yellow); font-size: 20px; text-align: center; }
.post_content .cb .cb-cta .cb-in > p { margin: 0 0 14px; color: #fff; font-weight: 500; }
.post_content .cb .cb-cta-btns { display: grid; gap: 10px; }
.post_content .cb .cb-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 8px 12px; border-radius: 12px; color: #fff !important; font-weight: 900; font-size: 16px; line-height: 1.3; text-decoration: none !important; box-shadow: 0 4px 0 rgba(0,0,0,.2); transition: transform .15s, box-shadow .15s; }
.post_content .cb .cb-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.post_content .cb .cb-btn small { font-size: 11px; font-weight: 700; }
.post_content .cb .cb-btn b { font-size: 21px; font-weight: 900; white-space: nowrap; }
.post_content .cb .cb-btn.tel { background: var(--kz-orange); }
.post_content .cb .cb-btn.mail { background: var(--kz-blue); }
.post_content .cb .cb-btn.line { background: var(--kz-line); }

@media (min-width: 600px) {
	.post_content .cb .cb-grid.g3, .post_content .cb .cb-grid.g4 { grid-template-columns: repeat(2, 1fr); }
	.post_content .cb-sec.bl { padding: 28px 24px; }
	.post_content .cb .cb-cta { padding: 28px 24px; }
}
@media (min-width: 900px) {
	.post_content .cb .cb-grid.g3 { grid-template-columns: repeat(3, 1fr); }
	.post_content .cb .cb-grid.g4 { grid-template-columns: repeat(4, 1fr); }
	.post_content .cb .cb-cta-btns { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 600px) {
	.kz-phero__cta { grid-template-columns: 1fr 1fr; }
	.kz-phero__pts { gap: 8px; }
	.kz-phero__pts li { gap: 6px; font-size: 14px; line-height: 1.4; padding: 10px 8px; }
	.post_content .kz-incta .kz-cta__btns { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
	body { padding-bottom: 0; }
	.kz-phero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 32px; padding: 36px 36px; margin-top: 8px; }
	.kz-phero__img { order: 0; }
	.kz-phero__photo { aspect-ratio: 4 / 3; }
	.kz-phero__title { font-size: 32px; }
	.kz-pbtn b.kz-num { font-size: 19px; }
	.kz-phero__lead { font-size: 16px; }
	.post_content h2.kz-h2x { font-size: 24px; padding: 18px 22px 18px 72px; }
	.post_content h2.kz-h2x .kz-h2ic { left: 16px; width: 44px; height: 44px; }
	.post_content h2.kz-h2x .kz-h2ic svg { width: 24px; height: 24px; }
	.post_content h3:not([class*="kz-"]):not(.faq_q):not(.swell-block-faq__q) { font-size: 20px; }
	.post_content .cb h2.cb-ttl { font-size: 24px; padding: 18px 22px 18px 72px; }
	.post_content .cb h2.cb-ttl::before { left: 16px; width: 44px; height: 44px; background-size: 24px !important; }
}
