/* エリアページ（新しい形）の追加分。テーマの area.css・parts.css の上に足すだけ。色は伐採ナビの実際の色。 */
html { scrollbar-gutter: stable; }
.bm-area-page .bm-gap { margin-top: 28px; }
.bm-area-page .bm-updated { margin: 10px 0 0; font-size: 12px; color: #6B7673; }

/* 絞り込みがある時の2列の中は、その他の一覧を2列にする */
@media (min-width: 861px) {
	.bm-area-page .bf-has-filter .bn-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-area-page .bf-content { min-width: 0; }

/* 業者カードの所在地・営業時間・資格・保険（屋根Navi・外構Naviと同じ形） */
.bm-ci { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 5px; font-size: 13px; }
.bm-ci li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; align-items: start; }
.bm-ci-label { display: inline-flex; align-items: center; gap: 5px; color: #6B7673; font-weight: 700; white-space: nowrap; }
.bm-ci-label svg { width: 14px; height: 14px; flex: none; fill: none; stroke: #1F5134; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bm-ci-value { color: #202723; overflow-wrap: anywhere; }

/* 上位掲載枠（4社目より下の小さいカード） */
.bm-area-page .bn-shop-card.bm-card-top { border: 3px solid #AE8434; background: #FAF3E0; }

/* 読み物（選び方・費用・補助金・よくある質問） */
.bm-ac .bm-ac-h2 { margin-top: 36px; }
.bm-ac .bm-ac-h2:first-child { margin-top: 0; }
.bm-ac-sec { font-size: 15px; line-height: 1.9; color: #202723; }
.bm-ac-sec p { margin: 10px 0; }
.bm-ac-h3 { font-size: 17px; font-weight: 900; margin: 22px 0 6px; padding: 8px 12px; background: #F2F7F3; border-radius: 8px; scroll-margin-top: 16px; }
.bm-ac-points, .bm-ac-steps { margin: 10px 0; padding-left: 1.4em; }
.bm-ac-points li, .bm-ac-steps li { margin: 4px 0; }
.bm-ac-steps b { display: block; }
.bm-ac-table-wrap { overflow-x: auto; }
.bm-ac-table { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.bm-ac-table th, .bm-ac-table td { border: 1px solid #E3E9E4; padding: 9px 12px; text-align: left; }
.bm-ac-table th { background: #F2F7F3; font-weight: 700; }
.bm-ac-table td:last-child { font-weight: 700; white-space: nowrap; }
.bm-ac-note, .bm-ac-src { font-size: 12px !important; color: #6B7673; margin: 6px 0 !important; line-height: 1.7; }
.bm-ac-faqs { margin: 12px 0 0; }
.bm-ac-faq { border: 1px solid #E3E9E4; border-radius: 10px; padding: 14px 16px; margin: 0 0 10px; }
.bm-ac-faq dt { font-weight: 900; margin: 0 0 6px; }
.bm-ac-faq dt::before { content: "Q. "; color: #1F5134; }
.bm-ac-faq dd { margin: 0; font-size: 14px; line-height: 1.8; color: #3C4741; }

/* スマホの下の固定ボタン（外構Naviと同じ形）。PCでは出さない */
.bm-sticky-cta { display: none; }
@media (max-width: 860px) {
	.bm-sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); }
	.bm-sticky-cta a { display: block; text-align: center; background: #1F5134; color: #fff !important; font-weight: 900; font-size: 16px; border-radius: 12px; padding: 13px; text-decoration: none !important; }
	.bm-area-page .site-footer, .bm-area-page footer { padding-bottom: 80px; }
	.bm-ci li { grid-template-columns: 6.5em minmax(0, 1fr); }
}

/* ---- 2026-11-12 れのぼの直し（body.bm-v2 の時だけ） ---- */
/* ヒーローの箱：背景を画面の左右の端まで・角丸なし。中の文字の幅と位置は今のまま。
   100vw で広げると縦のスクロールバーの分だけ横にはみ出すので、影で背景だけを伸ばして左右を切り出す（ページの幅は変わらない）。 */
.bm-v2 .bn-hero { border-radius: 0; box-shadow: 0 0 0 100vmax #F2F7F3; clip-path: inset(0 -100vmax); }
/* 4社目からの小さいカード（見出しなしで、おすすめの区画の続きに並べる） */
.bm-v2 .bm-v2-others { margin-top: 18px; }
/* 業者カードの画像＝業者ページへのリンク（押せると分かるよう指の形） */
.bm-v2 a.bm-card-img { display: block; cursor: pointer; }
/* 選び方（主張の文）：段落の間を少し空け、結論の段だけ薄い緑の地にする */
.bm-ac-shuchou p { margin: 0 0 14px; }
.bm-ac-shuchou .bm-ac-ketsuron { background: #F2F7F3; border-left: 4px solid #1F5134; border-radius: 0 8px 8px 0; padding: 12px 14px; }

/* ---- 2026-11-12 れのぼの直し（続き） ---- */
/* パンくずの上下の空きを詰める（ヘッダーの下 8px・下の箱まで 8px＝帯の高さ約35px。屋根Naviは36px） */
.bm-v2.bm-area-page .site-main { padding-top: 0; }
.bm-v2 .bn-breadcrumb { padding-top: 8px; }
.bm-v2 .bn-breadcrumb + .bn-section { padding-top: 8px; }
/* 1位だけ画像つき：PCは画像を上寄せにして店名と同じ高さにそろえる（スマホはテーマで上寄せ済み） */
@media (min-width: 861px) {
	.bm-v2 .bn-rank-card.bm-card-has-img { align-items: flex-start; }
}
/* 画像の無いカード：スマホで店名が画像の列の分だけ右にずれないようにする */
@media (max-width: 860px) {
	.bm-v2 .bn-rank-card:not(.bm-card-has-img) { column-gap: 0 !important; }
	.bm-v2 .bn-rank-card:not(.bm-card-has-img) .bn-rank-name { grid-column: 1 / -1 !important; }
	/* 所在地・営業時間の欄はカードの幅いっぱい（画像の列を広げて店名を押し出さないように） */
	.bm-v2 .bn-rank-card .bm-ci { grid-column: 1 / -1; }
}
/* よくある質問：答えの頭に「A.」 */
.bm-ac-faq dd::before { content: "A. "; color: #AE8434; font-weight: 900; }
/* 近くのエリア */
.bm-near .bn-city-grid { margin-top: 12px; }
/* カードの一覧で入力の無い項目は「ー」で出す（情報が無いことを見せる） */
.bm-ci-none { color: #9AA3A0; }
/* 市区町村から探す・近くのエリアのタイルを小さく（れのぼ「こんなに場所取らないで」）。PC 6列・スマホ 3列 */
.bm-v2 .bn-city-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.bm-v2 .bn-city-tile { padding: 7px 10px; border-radius: 8px; gap: 4px; }
.bm-v2 .bn-city-tile-name { font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.bm-v2 .bn-city-tile-count { font-size: 11px; }
@media (max-width: 860px) {
	.bm-v2 .bn-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.bm-v2 .bn-city-tile { padding: 6px 8px; }
}
/* 見出し画像（選び方・相場・補助金の調べ方） */
.bm-ac-fig { margin: 12px 0 16px; }
.bm-ac-fig img { display: block; width: 100%; height: auto; border-radius: 8px; }
/* 1位のカード（画像つき）を左詰めに：PCも店名と星だけ画像の横、その下はカードの幅いっぱい（れのぼ「この部分は左詰めに」） */
@media (min-width: 861px) {
	.bm-v2 .bn-rank-card.bm-card-has-img { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 24px; row-gap: 8px; align-items: start; }
	/* 2026-11-12 れのぼ「星の部分の上下のパディングが広すぎ」＝画像の高さの余りを星の行に配らず、一覧の下に回す */
	.bm-v2 .bm-card-has-img .bn-rank-rating { margin: 0 !important; }
	.bm-v2 .bm-card-has-img .bn-rank-body, .bm-v2 .bm-card-has-img .bn-rank-main { display: contents; }
	.bm-v2 .bm-card-has-img .bn-rank-logo { grid-column: 1; grid-row: 1 / span 3; }
	.bm-v2 .bm-card-has-img .bn-rank-name { grid-column: 2; grid-row: 1; margin: 0; }
	.bm-v2 .bm-card-has-img .bn-rank-rating { grid-column: 2; grid-row: 2; align-self: start; }
	/* 2026-11-12 れのぼ「リストのもの（所在地など）は画像の右側でいい」＝一覧は画像の右。札・説明文から下だけ左端から */
	.bm-v2 .bm-card-has-img .bn-rank-main > .bm-ci { grid-column: 2; grid-row: 3; align-self: start; margin-top: 0; }
	.bm-v2 .bm-card-has-img .bn-rank-main > :not(.bn-rank-name):not(.bn-rank-rating):not(.bm-ci),
	.bm-v2 .bm-card-has-img .bn-rank-body > .bn-rank-price { grid-column: 1 / -1; }
}

/* 2026-11-12 れのぼ「店舗名をクリックしたら詳細ページに飛ぶように」＝店名を店のページへのリンクに（色は店名のまま・触れたら下線） */
.bm-v2 a.bm-name-link { color: #1F5134; text-decoration: none; } /* 16:28 れのぼ「店舗名をテーマカラーの緑に」 */
.bm-v2 a.bm-name-link:hover, .bm-v2 a.bm-name-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* 2026-11-12 れのぼ「説明文章は PC・スマホとも2行まで（16:25 に3行→2行）、2行目の最後に『もっと見る』（閉じるは無し）」 */
.bm-v2 .bm-intro3:not(.is-open):not(.is-js) .bn-intro-text { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 「もっと見る」は文の続きに並ぶ文字のリンク（れのぼ「ボタンじゃない、インラインに」） */
.bm-v2 .bm-intro3 a.bm-more { display: inline; margin-left: .3em; font-weight: 700; color: #1F5134; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* 2026-11-12 れのぼ「対応できるもの（作業内容の札）は薄いオレンジにして目立たせる」。対応していない札は前のまま（グレー） */
.bm-v2 .bn-svc-on { background: #FFF1E2; color: #9A4A12; box-shadow: inset 0 0 0 1.5px #E8A15A; font-weight: 700; }
.bm-v2 .bn-svc-on .bn-svc-mark { color: #D9822B; }

/* 2026-11-12 れのぼ「市区町村から探すより下はコンテンツ幅が広すぎる」＝PCは屋根Naviと同じく、左の絞り込みの右の列（一覧と同じ幅・同じ左端）に収める */
@media (min-width: 861px) {
	.bm-v2 .bn-container.bm-narrow { padding-left: 286px; box-sizing: border-box; }
}

/* 2026-11-12 れのぼ「エリアページのヒーローの右側に画像（サムネイル用）」。PCは文の右、スマホは文の下 */
.bm-v2 .bm-hero-fig { margin: 0; }
.bm-v2 .bm-hero-fig img { display: block; width: 100%; height: auto; border-radius: 8px; }
@media (min-width: 861px) {
	.bm-v2 .bn-hero.bm-hero-has-img { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 32px; align-items: center; }
}
@media not all and (min-width: 861px) {
	.bm-v2 .bm-hero-fig { margin-top: 14px; }
}
