/* LEAD_BOOST_2026_11_12 締切の帯（画面の下に固定）と記事の途中の「うちは対象？」の箱。
   HOJOKIN_LOOK_2026_11_26: templates/lead-boost.php の中の <style> からここへ移した（大元 /var/www/shared/hojokin-base/css/lead-boost.css・sync.py で配る）。
   スマホ（768px 以下）は 1 行の細い帯にして、下の相談ボタン（#floatCta）が出ている時はその真上に乗せる（js/lead-boost.js が --lb-bottom を入れる）。 */
.lb-bar{position:fixed;left:0;right:0;bottom:var(--lb-bottom,0px);z-index:900;background:var(--accent-dark,#1d3557);color:var(--hb-white,#fff);box-shadow:0 -2px 12px rgba(0,0,0,.18);transition:bottom .3s ease}
.lb-bar[hidden]{display:none!important}
.lb-in{max-width:72rem;margin:0 auto;display:flex;align-items:center;gap:10px 14px;padding:9px 44px 9px 16px;flex-wrap:wrap;position:relative;font-size:14px;line-height:1.5}
.lb-text{flex:1 1 16rem;min-width:0}
.lb-short{display:none}
.lb-left{font-weight:700;white-space:nowrap}
.lb-btn{display:inline-block;background:var(--hb-white,#fff);color:var(--accent-dark,#1d3557);font-weight:700;border-radius:999px;padding:7px 16px;text-decoration:none;white-space:nowrap}
.lb-btn:hover{opacity:.9}
.lb-btn-short{display:none}
.lb-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:var(--hb-white,#fff);font-size:20px;line-height:1;cursor:pointer;padding:6px}
body.lb-on{padding-bottom:calc(var(--lb-h,52px) + 8px)}
@media (min-width:769px){body.lb-on #floatCta{bottom:calc(24px + var(--lb-h,52px))}}
@media (max-width:768px){
  .lb-in{flex-wrap:nowrap;gap:8px;padding:6px 36px 6px 10px;font-size:12.5px;line-height:1.35}
  .lb-text{flex:1 1 auto}
  .lb-long{display:none}
  .lb-short{display:flex;align-items:baseline;gap:6px;min-width:0}
  .lb-s-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:0 1 auto}
  .lb-s-date{white-space:nowrap;flex:0 0 auto}
  .lb-short .lb-left{flex:0 0 auto}
  .lb-btn{padding:5px 11px;font-size:12px;flex:0 0 auto}
  .lb-btn-long{display:none}
  .lb-btn-short{display:inline}
  .lb-close{right:4px;font-size:18px}
  body.lb-on{padding-bottom:calc(var(--lb-h,40px) + var(--lb-fc-h,0px))}
  body.lb-on .toc-fab{margin-bottom:var(--lb-h,0px)} /* 記事の目次のボタンも帯の上に */
}
.lb-box{border:2px solid var(--accent-primary,#1f4e8c);border-radius:12px;padding:16px 18px;margin:24px 0;background:var(--bg-secondary,#f6f8fb)}
.lb-box-title{font-weight:700;margin:0 0 6px;font-size:16px}
.lb-box p{margin:0 0 10px}
.lb-box .lb-btn{background:var(--accent-primary,#1f4e8c);color:var(--hb-white,#fff)}
.lb-sub{margin-left:12px;font-size:14px}
