/*
Theme Name: BuzzBot LP
Author: LAMP株式会社
Description: BuzzBot の紹介ページ（buzzbot.tokyo）用のブロックテーマ。
Version: 1.6.9
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: buzzbot-lp
*/

/* BuzzBot の LP・ヘルプ共通の見た目。WordPress のブロック（wp-block-…）にも、プレビューの素の HTML にも効くように書く。 */
:root {
  --bb-ink: #1c2533;      /* ロゴの文字色 */
  --bb-sub: #556274;
  --bb-cyan: #25a8d4;     /* ロゴの吹き出し */
  --bb-deep: #14699c;     /* 文字・リンク用の濃い青（白地で読める濃さ） */
  --bb-wash: #eef7fb;     /* 交互の面 */
  --bb-orange: #f6a43c;   /* ロゴのアクセント・相談ボタン */
  --bb-line: #dfe9f1;
  --bb-bg: #ffffff;
  --bb-font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif; /* 本文（ECBUZZ の LP と同じ） */
  --bb-head: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif; /* 見出し */
  --bb-wide: 1120px;
  --bb-text: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bb-bg); color: var(--bb-ink); font-family: var(--bb-font); font-size: 16px; line-height: 1.85; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--bb-deep); text-underline-offset: 3px; }
a:hover { color: var(--bb-ink); }
:focus-visible { outline: 3px solid var(--bb-orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { overflow-wrap: anywhere; font-weight: 900; line-height: 1.35; letter-spacing: .01em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
/* WordPress は段落などの間を blockGap（1em）で空ける。セクション・横並びの間には空けない */
main.bb-main > * { margin-block-start: 0; }
.bb-header > *, .bb-help-groups > *, .bb-footer-nav > *, .wp-block-buttons > * { margin-block: 0 !important; }

/* ---- 共通の枠 */
.bb-header, .bb-sec, .bb-hero, .bb-cta, .bb-footer, .bb-help-hero, .bb-help-groups, .bb-article {
  padding-inline: max(16px, calc((100% - var(--bb-wide)) / 2));
}

/* ---- ヘッダー */
.bb-header { display: flex; align-items: center; gap: 24px; min-height: 72px; border-bottom: 1px solid var(--bb-line); background: #fff; position: sticky; top: 0; z-index: 10; }
.bb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bb-ink); }
.bb-logo img { display: block; width: 150px; height: auto; }
.bb-logo-sub { font-weight: 700; font-size: 15px; padding-left: 10px; border-left: 1px solid var(--bb-line); }
.bb-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 500; }
.bb-nav a { color: var(--bb-ink); text-decoration: none; }
.bb-nav a:hover { color: var(--bb-deep); text-decoration: underline; }
.bb-header .wp-block-buttons { margin: 0; }
/* スマホ：メニューはヘッダーの下に1行で並べ、はみ出す分は横にスクロール */
@media (max-width: 860px) {
  .bb-header { flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .bb-header-cta { margin-left: auto !important; }
  .bb-nav { order: 3; flex-basis: 100%; margin: 0 -16px !important; padding: 8px 16px 10px; gap: 18px; font-size: 13px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .bb-nav::-webkit-scrollbar { display: none; }
  .bb-header .bb-nav:last-child { order: 0; flex-basis: auto; margin: 0 0 0 auto !important; padding: 0; }
}
/* WordPress にログイン中は、上の管理バーの下にヘッダーを止める */
.admin-bar .bb-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .bb-header { top: 0; } }

/* ---- ボタン */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.wp-block-button__link { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.4; border: 2px solid transparent; cursor: pointer; }
.bb-btn-main .wp-block-button__link { background: var(--bb-orange); color: var(--bb-ink); }
.bb-btn-main .wp-block-button__link:hover { background: #f8b65a; color: var(--bb-ink); }
.bb-btn-line .wp-block-button__link { background: #fff; color: var(--bb-deep); border-color: var(--bb-deep); }
.bb-btn-line .wp-block-button__link:hover { background: var(--bb-wash); }
.bb-btn-small .wp-block-button__link { padding: 8px 18px; font-size: 14px; background: var(--bb-orange); color: var(--bb-ink); }

/* ---- 段組み（WordPress の段組みと同じ動き。プレビューでも効くように自前で書く） */
.wp-block-columns { display: flex; gap: 40px; margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
/* スマホでは縦に積む。WordPress の段組みの「flex-basis: 100% !important」が縦並びだと高さとして効いてしまう（中身の何倍もの空白になる）ので、ここで打ち消す */
@media (max-width: 781px) {
  .wp-block-columns.wp-block-columns { flex-direction: column; flex-wrap: nowrap !important; gap: 24px; }
  /* 見出しの大きさを段の幅で決めている段（container-type）は、幅をはっきり決めておく（決めないと高さの計算で幅0として扱われる） */
  .bb-hero-cols > .wp-block-column:first-child { width: 100%; }
  .wp-block-columns.wp-block-columns.wp-block-columns > .wp-block-column { flex-basis: auto !important; flex-grow: 0; }
}

/* ---- ファーストビュー */
.bb-hero { padding-block: 64px 72px; }
.bb-hero-cols { align-items: center; }
.bb-hero-cols > .wp-block-column:first-child { flex: 1 1 auto; container-type: inline-size; }
/* 見出しは段の幅に合わせて大きさを決める（「売れるチャットに。」の9文字が1行に収まる大きさ） */
/* 見本の電話は、水色の台の上に置く */
.bb-hero-cols > .wp-block-column:last-child { flex: 0 0 420px; padding: 40px 28px; border-radius: 32px; background: var(--bb-wash); }
@media (max-width: 780px) { .bb-hero-cols > .wp-block-column:first-child { align-self: stretch; } .bb-hero-cols > .wp-block-column:last-child { flex-basis: auto; padding: 28px 16px; } }
.bb-hero-title { font-size: clamp(30px, 10.4cqi, 60px); line-height: 1.25; margin-bottom: 24px; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.bb-hero-title .bb-nowrap { white-space: nowrap; }
.bb-lead { font-size: 17px; max-width: 34em; }
.bb-note { font-size: 14px; color: var(--bb-sub); }

/* チャットの見本：このサイトでいちばん目立たせるところ。読み込み時に一度だけ順に出す */
.bb-phone { width: min(340px, 100%); margin-inline: auto; background: #fff; border: 1px solid var(--bb-line); border-radius: 28px; box-shadow: 0 24px 48px -24px rgba(20, 105, 156, .35); overflow: hidden; }
.bb-phone-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-size: 13px; font-weight: 700; color: #fff; background: var(--bb-deep); }
.bb-phone-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bb-orange); }
.bb-talk { list-style: none; margin: 0; padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.bb-talk li { max-width: 82%; padding: 10px 14px; border-radius: 16px; opacity: 0; transform: translateY(6px); animation: bb-in .35s ease-out forwards; }
.bb-talk .bot { align-self: flex-start; background: var(--bb-wash); border-top-left-radius: 4px; }
.bb-talk .me { align-self: flex-end; background: var(--bb-cyan); color: #fff; font-weight: 700; border-top-right-radius: 4px; }
.bb-talk .ask { align-self: flex-start; white-space: nowrap; background: #fff; border: 1px dashed var(--bb-deep); color: var(--bb-deep); font-size: 13px; font-weight: 700; }
.bb-talk .ask span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--bb-deep); color: #fff; font-size: 12px; }
.bb-talk li:nth-child(1) { animation-delay: .2s; }
.bb-talk li:nth-child(2) { animation-delay: .9s; }
.bb-talk li:nth-child(3) { animation-delay: 1.5s; }
.bb-talk li:nth-child(4) { animation-delay: 2.3s; }
.bb-talk li:nth-child(5) { animation-delay: 2.9s; }
.bb-talk li:nth-child(6) { animation-delay: 3.5s; }
.bb-talk li:nth-child(7) { animation-delay: 4.1s; }
/* 丁目の候補（押して選べるボタンの見本） */
.bb-talk .pick { align-self: flex-start; max-width: 100%; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bb-talk .pick span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--bb-deep); color: var(--bb-deep); background: #fff; font-size: 13px; font-weight: 700; }
.bb-talk .pick span:first-child { background: var(--bb-deep); color: #fff; }
@keyframes bb-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bb-talk li { animation: none; opacity: 1; transform: none; } }

/* ---- セクション */
.bb-sec { padding-block: 96px; }
.bb-tint { background: var(--bb-wash); }
.bb-sec > h2 { font-size: clamp(25px, 3.4vw, 38px); max-width: 22em; margin-bottom: 16px; }
.bb-sec-lead { max-width: var(--bb-text); color: var(--bb-sub); margin-bottom: 44px; font-size: 16.5px; }
/* リードのない見出しのすぐ下は、少し空けてから中身 */
.bb-sec > h2 + figure, .bb-sec > h2 + ol, .bb-sec > h2 + details, .bb-sec > h2 + .wp-block-columns { margin-top: 36px !important; }
.bb-sub { font-size: 20px; margin-top: 56px; }
.bb-three > .wp-block-column { padding: 28px 26px 12px; border: 1px solid var(--bb-line); border-radius: 18px; background: #fff; }
.bb-three h3 { font-size: 21px; }
.bb-num { font-size: 13px; font-weight: 900; letter-spacing: .12em; color: var(--bb-cyan); margin-bottom: 6px; }
@media (max-width: 780px) {
  .bb-sec { padding-block: 64px; }
  .bb-hero { padding-block: 28px 56px; }
  .bb-sec-lead { margin-bottom: 32px; }
}

/* 起動のしかた：小さな見取り図（LP とチャットの関係だけを示す） */
.bb-mini { position: relative; height: 150px; margin-bottom: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--bb-line); overflow: hidden; }
.bb-mini-lp { position: absolute; inset: 18px 18px auto; height: 114px; background: repeating-linear-gradient(180deg, var(--bb-line) 0 8px, transparent 8px 20px); opacity: .9; }
.bb-mini-chat { position: absolute; right: 16px; bottom: 14px; width: 42%; height: 110px; border-radius: 12px; background: var(--bb-deep); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); }
.bb-mini-chat::before, .bb-mini-chat::after { content: ""; position: absolute; left: 10px; height: 14px; border-radius: 7px; background: #fff; }
.bb-mini-chat::before { top: 14px; width: 60%; }
.bb-mini-chat::after { top: 38px; left: auto; right: 10px; width: 40%; background: var(--bb-cyan); }
.bb-mini-btn { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 28px; border-radius: 999px; background: var(--bb-orange); font-weight: 700; font-size: 14px; }

/* チェックの付いた箇条書き */
.bb-checks { list-style: none; padding: 0; margin: 0; }
.bb-checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.bb-checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 3px solid var(--bb-cyan); border-bottom: 3px solid var(--bb-cyan); transform: rotate(-45deg); }

/* 手順（順番に意味があるものだけ番号を付ける） */
.bb-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; max-width: 860px; }
.bb-steps li { counter-increment: step; position: relative; padding: 0 0 28px 64px; }
.bb-steps li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--bb-deep); color: #fff; font-weight: 900; font-size: 18px; }
.bb-steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 2px; background: var(--bb-line); }
.bb-steps strong { display: block; font-size: 18px; }

/* 表 */
.wp-block-table { margin: 0; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; min-width: 640px; }
figure.wp-block-table th, figure.wp-block-table td { text-align: left; vertical-align: top; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--bb-line); }
figure.wp-block-table thead th { background: var(--bb-deep); color: #fff; font-weight: 700; }
figure.wp-block-table td:first-child { font-weight: 700; white-space: nowrap; }
.bb-table-functions td:first-child { color: var(--bb-deep); width: 7.5em; }
.bb-table-compare td:first-child { width: 9em; }
.bb-table-price table { min-width: 0; max-width: 820px; }
.bb-table-price td:last-child { font-weight: 700; white-space: nowrap; }
.bb-small-list { font-size: 14px; color: var(--bb-sub); margin-top: 20px; padding-left: 1.2em; }

/* よくある質問 */
.bb-faq { max-width: 860px; border-bottom: 1px solid var(--bb-line); }
.bb-faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 17px; list-style: none; position: relative; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "＋"; position: absolute; right: 4px; color: var(--bb-deep); }
.bb-faq[open] summary::after { content: "－"; }
.bb-faq > p { padding-bottom: 12px; }

/* 最後の呼びかけ */
.bb-cta { padding-block: 80px; background: var(--bb-deep); color: #fff; text-align: center; }
.bb-cta h2 { font-size: clamp(24px, 3.2vw, 34px); }
.bb-cta .wp-block-buttons { justify-content: center; }

/* フッター */
.bb-footer { padding-block: 48px; background: var(--bb-ink); color: #e6ecf2; font-size: 14px; }
.bb-footer a { color: #fff; }
.bb-footer-logo { width: 130px; display: block; margin-bottom: 16px; }
.bb-footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.bb-copy { color: #b3bfcb; font-size: 13px; margin: 0; }

.bb-placeholder { padding: 16px; border: 2px dashed var(--bb-orange); border-radius: 8px; }

/* ---- ヘルプ */
.bb-help-hero { padding-block: 64px 48px; background: var(--bb-wash); }
.bb-help-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.bb-search, .wp-block-search { max-width: 640px; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__input { flex: 1; min-width: 0; padding: 14px 16px; font: inherit; border: 2px solid var(--bb-line); border-radius: 10px; background: #fff; }
.wp-block-search__input:focus { border-color: var(--bb-deep); outline: none; }
.wp-block-search__button { padding: 0 24px; font: inherit; font-weight: 700; border: 0; border-radius: 10px; background: var(--bb-deep); color: #fff; cursor: pointer; }
.bb-help-groups { padding-block: 56px 80px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px 56px; }
.bb-help-group h2 { font-size: 21px; margin-bottom: 4px; }
.bb-help-note { font-size: 14px; color: var(--bb-sub); margin-bottom: 12px; }
.bb-help-list, .bb-related { list-style: none; padding: 0; margin: 0; }
.bb-help-list li, .bb-related li { border-top: 1px solid var(--bb-line); }
.bb-help-list a, .bb-related a { display: block; padding: 11px 0; text-decoration: none; font-weight: 500; }
.bb-help-list a:hover, .bb-related a:hover { text-decoration: underline; }

.bb-article { padding-block: 48px 88px; }
/* 読む幅の列を真ん中に（2026-11-11 #74：規約・プライバシーポリシーの文が左に寄っていた） */
.bb-article > *, .bb-article .bb-legal > *, .bb-article .wp-block-post-content > * { max-width: var(--bb-text); margin-inline: auto; }
.bb-article .bb-legal, .bb-article .wp-block-post-content { max-width: none; }
.bb-crumbs { font-size: 14px; color: var(--bb-sub); margin-bottom: 16px; }
.bb-crumbs a { color: var(--bb-sub); }
.bb-article h1, .bb-article .wp-block-post-title { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 28px; }
.bb-article .wp-block-post-content p { font-size: 17px; }
.bb-related-title { font-size: 18px; margin-top: 48px; }
.bb-help-contact { margin-top: 40px; padding: 18px 20px; border-radius: 10px; background: var(--bb-wash); font-size: 15px; }
.bb-help-contact p { margin: 0; }
.bb-results .wp-block-post-title { font-size: 19px; margin: 0 0 4px; }
.bb-results .wp-block-post { padding: 18px 0; border-top: 1px solid var(--bb-line); list-style: none; }
.bb-results .wp-block-post-template { padding: 0; margin: 0; }
.bb-results .wp-block-post-excerpt { color: var(--bb-sub); font-size: 15px; }

/* ---- お問い合わせフォーム */
.bb-contact { max-width: 640px; margin-top: 32px; }
.bb-field { margin-bottom: 22px; }
.bb-field label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.bb-req, .bb-opt { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 4px; }
.bb-req { background: var(--bb-orange); color: var(--bb-ink); }
.bb-opt { background: var(--bb-wash); color: var(--bb-sub); }
.bb-field input, .bb-field textarea { width: 100%; padding: 12px 14px; font: inherit; color: var(--bb-ink); background: #fff; border: 2px solid var(--bb-line); border-radius: 10px; }
.bb-field input:focus, .bb-field textarea:focus { border-color: var(--bb-deep); outline: none; }
.bb-field [aria-invalid="true"] { border-color: #c2410c; }
.bb-field-note { font-size: 13px; color: var(--bb-sub); margin: 6px 0 0; }
.bb-field-error { font-size: 14px; color: #b42318; font-weight: 700; margin: 6px 0 0; }
.bb-contact-alert { padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #8a1c12; font-weight: 700; }
.bb-contact-done { padding: 28px; border-radius: 16px; background: var(--bb-wash); }
.bb-contact-done:focus { outline: none; }
.bb-contact button[disabled] { opacity: .6; cursor: wait; }
.bb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- フローティングボタン（LP のトップだけ。PC は右下に浮かぶカード、スマホは画面の下のバー） */
.bb-sticky-cta { position: fixed; z-index: 30; right: 24px; bottom: 24px; display: grid; grid-template-columns: auto auto; gap: 8px; align-items: stretch; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .97); border: 1px solid var(--bb-line); box-shadow: 0 24px 48px -20px rgba(8, 52, 92, .45); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.bb-sticky-cta.is-shown { transform: none; visibility: visible; transition: transform .3s ease; }
.bb-sticky-note { grid-column: 1 / -1; margin: 0 4px 2px; font-size: 12px; font-weight: 700; color: var(--bb-sub); line-height: 1.4; }
.bb-sticky-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 54px; padding: 8px 22px; border-radius: 14px; background: var(--bb-orange); color: var(--bb-ink); font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; transition: background .15s, transform .15s; }
.bb-sticky-btn:hover { background: #f8b65a; color: var(--bb-ink); transform: translateY(-1px); }
.bb-sticky-btn small { font-size: 11px; font-weight: 500; opacity: .8; }
.bb-sticky-sub { flex-direction: row; gap: 6px; background: #fff; color: var(--bb-deep); border: 2px solid var(--bb-deep); }
.bb-sticky-sub:hover { background: var(--bb-wash); color: var(--bb-deep); }
.bb-sticky-sub .bb-ic { width: 22px; height: 22px; margin: 0; background: none; color: inherit; }
.bb-sticky-sub .bb-ic svg { width: 20px; height: 20px; }
@media (max-width: 780px) {
  .bb-sticky-cta { left: 0; right: 0; bottom: 0; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -8px 24px -12px rgba(8, 52, 92, .35); }
  .bb-sticky-note { display: none; }
  .bb-sticky-btn { min-height: 52px; padding: 6px 10px; font-size: 15px; border-radius: 12px; }
  .bb-footer { padding-bottom: calc(48px + 72px); }
}
@media (prefers-reduced-motion: reduce) { .bb-sticky-cta, .bb-sticky-btn { transition: none; } }

/* ---- 日本語の改行：文節で折り返す（対応していないブラウザは keep-all で句読点のあとで折り返す）、行頭・行末の禁則は厳しめ */
body { line-break: strict; }
h1, h2, h3, summary, .bb-sticky-note, .bb-help-note, th { word-break: auto-phrase; }
h1, h2, h3 { text-wrap: balance; }
/* 文節で折り返せないブラウザ（Safari など）で keep-all にすると、句読点のない見出しは1つの塊になり、
   はみ出した所で文字の途中から折り返されて改行位置が不自然だった（検査票 #84）。ふつうの折り返し＋行の長さをそろえる */
@supports not (word-break: auto-phrase) {
  h1, h2, h3 { word-break: normal; overflow-wrap: anywhere; }
}
p, li, td { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ---- ヘルプ：ヘッダーの検索・よく見られている説明・検索結果 */
.bb-hsearch { flex: 1 1 260px; max-width: 360px; margin-left: 16px !important; }
.bb-hsearch input { width: 100%; padding: 9px 14px; font: inherit; font-size: 14px; border: 2px solid var(--bb-line); border-radius: 999px; background: var(--bb-wash); }
.bb-hsearch input:focus { outline: none; border-color: var(--bb-deep); background: #fff; }
.home .bb-hsearch { visibility: hidden; }
@media (max-width: 860px) {
  .bb-hsearch { order: 3; flex-basis: 100%; max-width: none; margin: 4px 0 10px !important; }
  .home .bb-hsearch { display: none; }
}
.bb-help-popular { padding-block: 40px 0; padding-inline: max(16px, calc((100% - var(--bb-wide)) / 2)); }
.bb-popular-title { font-size: 19px; margin-top: 40px; }
.bb-help-popular .bb-popular-title { margin-top: 0; }
.bb-popular { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bb-popular li { margin: 0; }
.bb-popular a { display: inline-block; padding: 8px 16px; border: 1px solid var(--bb-line); border-radius: 999px; text-decoration: none; font-size: 15px; background: #fff; }
.bb-popular a:hover { border-color: var(--bb-deep); background: var(--bb-wash); }
.bb-result-cat { font-size: 13px; color: var(--bb-sub); margin: 2px 0 4px; }
.bb-result-cat a { color: var(--bb-sub); }
/* LP のスマホでは、ヘッダーは固定しない（下の相談ボタンと二重にしない・読む場所を広く取る） */
@media (max-width: 780px) { .bb-header:has(.bb-header-cta) { position: static; } }

/* ---- 規約類のページ */
.bb-footer-legal { font-size: 13px; gap: 16px; }
.bb-footer-legal a { color: #cbd5df; }
.bb-legal h2 { font-size: 19px; margin-top: 40px; }
.bb-legal h3 { font-size: 16px; margin-top: 20px; }
.bb-legal p, .bb-legal li { font-size: 15.5px; }
.bb-legal ol, .bb-legal ul { padding-left: 1.4em; }
.bb-legal li { margin-bottom: 6px; }
.bb-legal-date { color: var(--bb-sub); font-size: 14px; margin-top: 40px; }
figure.wp-block-table.bb-legal-table table { min-width: 0; }
figure.wp-block-table.bb-legal-table th { width: 11em; background: var(--bb-wash); color: var(--bb-ink); white-space: nowrap; }
@media (max-width: 600px) { figure.wp-block-table.bb-legal-table th, figure.wp-block-table.bb-legal-table td { display: block; width: auto; } figure.wp-block-table.bb-legal-table th { border-bottom: 0; padding-bottom: 4px; } }

.bb-credit { font-size: 11px; opacity: .7; margin: 4px 0 0; }
.bb-credit a { color: inherit; }

/* ---- LP：見出しの上の小さなラベル・ファーストビューの要点 */
.bb-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--bb-deep); }
.bb-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 2px; background: var(--bb-orange); }
.bb-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.bb-chips li { position: relative; padding: 4px 12px 4px 27px; border-radius: 999px; background: var(--bb-wash); color: var(--bb-deep); font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.bb-chips li::before { content: ""; position: absolute; left: 11px; top: .62em; width: 8px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.bb-hero .wp-block-buttons { margin-top: 24px; }
@media (max-width: 480px) {
  .bb-hero .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
  .bb-hero .wp-block-button__link { display: block; text-align: center; }
}

/* ---- LP：カードの並び（購入までの流れ） */
.bb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
@media (max-width: 980px) { .bb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bb-cards { grid-template-columns: 1fr; gap: 14px; } }
.bb-cards > * { margin: 0 !important; }
.bb-card { padding: 24px 24px 8px; border-radius: 18px; background: #fff; border: 1px solid var(--bb-line); }
.bb-card h3 { font-size: 18px; margin-bottom: 8px; }
.bb-card p:last-child { font-size: 15px; color: var(--bb-sub); line-height: 1.8; }
.bb-card-tag { display: inline-block; margin: 0 0 12px; padding: 2px 10px; border-radius: 6px; background: var(--bb-wash); color: var(--bb-deep); font-size: 12px; font-weight: 700; }
.bb-center { text-align: center; }

/* ---- LP：途中の呼びかけの帯 */
.bb-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 36px; padding-inline: max(16px, calc((100% - var(--bb-wide)) / 2)); background: var(--bb-ink); color: #fff; }
.bb-band > * { margin: 0 !important; }
.bb-band-text { font-weight: 700; font-size: 17px; max-width: 36em; }

/* ---- ヘルプ：トップの「やりたいことから探す」と分類のカード */
.bb-help-tasks { padding-block: 48px 0; padding-inline: max(16px, calc((100% - var(--bb-wide)) / 2)); }
.bb-help-tasks .bb-popular-title { margin-top: 0; }
.bb-task-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.bb-task-grid li { margin: 0; }
.bb-task-grid a { display: block; height: 100%; padding: 16px 44px 16px 18px; position: relative; border: 1px solid var(--bb-line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--bb-ink); transition: border-color .15s, box-shadow .15s; }
.bb-task-grid a::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--bb-deep); font-weight: 700; }
.bb-task-grid a:hover { border-color: var(--bb-deep); box-shadow: 0 6px 18px -12px rgba(20, 105, 156, .5); }
.bb-task-grid strong { display: block; font-size: 15.5px; line-height: 1.5; color: var(--bb-deep); }
.bb-task-grid span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--bb-sub); line-height: 1.6; }
.bb-help-group { padding: 24px 24px 12px; border-radius: 16px; background: var(--bb-wash); }
.bb-help-groups { gap: 20px; }
.bb-help-group .bb-help-list li { border-top-color: #d3e3e9; }

/* ---- ヘルプ：記事の中（画面の場所・手順・注意・URL の付け足し） */
.bb-where { display: block; box-sizing: border-box; padding: 8px 14px; border-radius: 10px; background: var(--bb-wash); font-size: 14px; color: var(--bb-sub); }
/* #100：inline-block だと本文の幅（WordPress の constrained）の左寄せが効かず、広い画面で左に飛び出していた。ブロックにして本文と同じ幅・位置に */
.bb-where strong { color: var(--bb-deep); }
.bb-article .bb-doc-lead { font-size: 17.5px; font-weight: 500; }
.bb-article .bb-doc-h { font-size: 21px; margin-top: 44px; padding-bottom: 8px; border-bottom: 2px solid var(--bb-wash); }
.bb-steps-sm { margin: 20px 0 8px; }
.bb-steps-sm li { padding: 0 0 18px 46px; font-size: 16px; }
.bb-steps-sm li::before { width: 30px; height: 30px; top: -1px; font-size: 14px; }
.bb-steps-sm li:not(:last-child)::after { left: 14px; top: 32px; }
.bb-doc-list { padding-left: 1.3em; }
.bb-doc-list li { margin-bottom: 10px; font-size: 16px; }
.bb-doc-note { padding: 12px 16px; border-left: 4px solid var(--bb-orange); background: #fff8ea; border-radius: 0 8px 8px 0; font-size: 15px !important; }
main code { padding: 1px 6px; border-radius: 4px; background: #f1f4f5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; overflow-wrap: anywhere; word-break: break-all; }

/* ---- LP：機能と比較の表は、スマホでは1行ずつ縦に積む（横スクロールさせない） */
@media (max-width: 680px) {
  .bb-table-functions table, .bb-table-compare table { min-width: 0; }
  .bb-table-functions thead, .bb-table-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bb-table-functions tr, .bb-table-compare tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--bb-line); }
  figure.bb-table-functions td, figure.bb-table-compare td { display: block; width: auto !important; padding: 0; border: 0; white-space: normal; }
  figure.bb-table-functions td:first-child { display: inline-block; margin-bottom: 4px; padding: 0 8px; border-radius: 4px; background: var(--bb-wash); font-size: 12px; }
  figure.bb-table-functions td:nth-child(2) { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
  figure.bb-table-functions td:nth-child(3) { font-size: 14px; color: var(--bb-sub); }
  figure.bb-table-compare td:first-child { font-size: 16px; color: var(--bb-deep); margin-bottom: 6px; }
  figure.bb-table-compare td:nth-child(2), figure.bb-table-compare td:nth-child(3) { font-size: 14.5px; margin-bottom: 8px; }
  figure.bb-table-compare td:nth-child(2)::before, figure.bb-table-compare td:nth-child(3)::before { display: block; font-size: 12px; font-weight: 700; color: var(--bb-sub); }
  figure.bb-table-compare td:nth-child(2)::before { content: "BuzzBot"; }
  figure.bb-table-compare td:nth-child(3)::before { content: "確かめていただきたい点"; }
}
/* スマホの手順：番号の丸を小さくして、本文の幅を広く取る */
@media (max-width: 600px) {
  .bb-steps li { padding-left: 50px; }
  .bb-steps li::before { width: 34px; height: 34px; font-size: 15px; top: 0; }
  .bb-steps li:not(:last-child)::after { left: 16px; top: 38px; }
  .bb-steps-sm li { padding-left: 42px; }
  .bb-steps-sm li::before { width: 28px; height: 28px; font-size: 13px; }
  .bb-steps-sm li:not(:last-child)::after { left: 13px; top: 30px; }
}

/* =====================================================================
   LP（2026-11 作り直し）：「進化する、チャットカート。」
   動画（実際の画面）を主役に、文と動画を交互に並べる。スマホは1列。
   ===================================================================== */
:root { --bb-shadow: 0 30px 60px -30px rgba(20, 105, 156, .45); }

/* ---- 端末の枠（動画を入れる） */
.bb-demo { margin: 0; }
.bb-demo figcaption { margin-top: 10px; font-size: 12px; color: var(--bb-sub); text-align: center; }
.bb-device { position: relative; overflow: hidden; background: #111; box-shadow: var(--bb-shadow); }
.bb-video { display: block; width: 100%; height: auto; background: #f4f7f8; }
.bb-device-phone { width: min(300px, 100%); margin-inline: auto; padding: 10px; border-radius: 42px; }
.bb-device-phone .bb-video { border-radius: 32px; aspect-ratio: 600 / 1300; object-fit: cover; object-position: top; }
.bb-device-pc { border-radius: 12px; background: #e8eef1; border: 1px solid var(--bb-line); }
.bb-device-bar { display: flex; gap: 6px; padding: 9px 12px; background: #e8eef1; }
.bb-device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c7d3d8; }
.bb-device-bar i:first-child { background: #f0a08f; }
.bb-device-bar i:nth-child(2) { background: #ffd27a; }

/* ---- ファーストビュー */
.bb-hero-v2 { position: relative; overflow: hidden; padding-block: 56px 80px; background: radial-gradient(1100px 520px at 85% 10%, var(--bb-wash), transparent 70%), linear-gradient(180deg, #fff, #fff); }
.bb-hero-v2::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 164, 60, .16), transparent 65%); pointer-events: none; }
.bb-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.bb-hero-v2 .bb-hero-title span { display: inline-block; white-space: nowrap; }
.bb-hero-v2 .bb-hero-title { font-size: clamp(34px, 5.4vw, 68px); line-height: 1.15; margin-bottom: 26px; letter-spacing: .02em; }
.bb-hero-v2 .bb-hero-title { background: linear-gradient(90deg, var(--bb-ink) 0 55%, var(--bb-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-hero-v2 .bb-lead strong { color: var(--bb-deep); background: linear-gradient(transparent 62%, rgba(246, 164, 60, .35) 0); }
.bb-hero-visual { position: relative; padding: 10px 60px; }
.bb-hero-visual .bb-device-phone { width: min(290px, 100%); }
.bb-float { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px; width: 200px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .97); border: 1px solid var(--bb-line); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .35); font-size: 12px; line-height: 1.5; animation: bb-float 6s ease-in-out infinite; }
.bb-float b { font-size: 13.5px; }
.bb-float small { color: var(--bb-sub); font-size: 11.5px; }
.bb-float-tag { align-self: flex-start; padding: 1px 8px; border-radius: 6px; background: var(--bb-deep); color: #fff; font-size: 11px; font-weight: 700; }
.bb-tag-orange { background: var(--bb-orange); color: var(--bb-ink); }
.bb-tag-ink { background: var(--bb-ink); }
.bb-float-bar { display: block; height: 6px; margin: 4px 0 2px; border-radius: 3px; background: var(--bb-line); overflow: hidden; }
.bb-float-bar i { display: block; height: 100%; width: 30%; border-radius: 3px; background: linear-gradient(90deg, var(--bb-cyan), var(--bb-deep)); animation: bb-grow 3.2s ease-in-out infinite alternate; }
.bb-float-1 { top: 6%; left: -6px; }
.bb-float-2 { top: 42%; right: -10px; animation-delay: -2s; }
.bb-float-3 { bottom: 8%; left: -14px; animation-delay: -4s; }
@keyframes bb-float { 50% { transform: translateY(-8px); } }
@keyframes bb-grow { to { width: 82%; } }
@media (max-width: 900px) {
  .bb-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bb-hero-v2 { padding-block: 28px 56px; }
  .bb-hero-visual { padding: 0 8px; max-width: 420px; margin-inline: auto; }
  .bb-float { width: 168px; padding: 9px 11px; }
  .bb-float-1 { left: -4px; top: 4%; }
  .bb-float-2 { right: -4px; }
  .bb-float-3 { left: -4px; bottom: 6%; }
}
@media (max-width: 420px) { .bb-float { width: 150px; } .bb-float small { display: none; } .bb-hero-visual .bb-device-phone { width: 240px; } }
@media (prefers-reduced-motion: reduce) { .bb-float, .bb-float-bar i { animation: none; } }

/* ---- 対応カート（文字の帯） */
.bb-carts { padding-block: 26px; padding-inline: max(16px, calc((100% - var(--bb-wide)) / 2)); border-block: 1px solid var(--bb-line); background: #fff; text-align: center; }
.bb-carts-lead { font-size: 13px; color: var(--bb-sub); margin: 0 auto 12px; max-width: 46em; }
.bb-cart-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0; padding: 0; }
.bb-cart-list li { padding: 6px 14px; border-radius: 8px; border: 1px solid var(--bb-line); font-size: 14px; font-weight: 700; color: var(--bb-sub); background: #fafcfd; }

/* ---- 課題 */
.bb-problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bb-problems > div { position: relative; padding: 22px 22px 14px 58px; border-radius: 16px; background: #fff; border: 1px solid var(--bb-line); }
.bb-problems > div::before { content: "!"; position: absolute; left: 18px; top: 20px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff1dd; color: #e07b00; font-weight: 900; }
.bb-problems b { display: block; font-size: 17px; margin-bottom: 4px; }
.bb-problems p { font-size: 14.5px; color: var(--bb-sub); margin: 0; line-height: 1.75; }
@media (max-width: 900px) { .bb-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bb-problems { grid-template-columns: 1fr; gap: 10px; } .bb-problems > div { padding: 16px 16px 12px 52px; } .bb-problems > div::before { top: 15px; left: 14px; } }

/* ---- 3つの柱 */
.bb-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 72px; }
.bb-pillar { position: relative; display: block; padding: 28px 24px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--bb-line); color: var(--bb-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.bb-pillar:hover { transform: translateY(-3px); box-shadow: var(--bb-shadow); color: var(--bb-ink); }
.bb-pillar-no { display: block; font-size: 34px; font-weight: 900; line-height: 1; color: var(--bb-cyan); margin-bottom: 14px; }
.bb-pillar b { display: block; font-size: 21px; margin-bottom: 8px; }
.bb-pillar p { font-size: 14.5px; color: var(--bb-sub); line-height: 1.8; }
.bb-pillar-more { font-size: 13px; font-weight: 700; color: var(--bb-deep); }
.bb-pillar-more::after { content: " ↓"; }
@media (max-width: 900px) { .bb-pillars { grid-template-columns: 1fr; gap: 12px; margin-bottom: 48px; } .bb-pillar { padding: 20px 20px 16px 76px; } .bb-pillar-no { position: absolute; left: 20px; top: 22px; font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .bb-pillar { transition: none; } }

/* ---- 文と動画の2段 */
.bb-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; margin-block: 0 88px; }
.bb-feature:last-child { margin-bottom: 0; }
.bb-feature.bb-flip .bb-feature-text { order: 2; }
.bb-feature:has(.bb-demo-phone) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.bb-feature-text h3 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 16px; }
.bb-feature-text > p:not(.bb-point) { color: var(--bb-sub); margin-bottom: 20px; }
.bb-point { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--bb-deep); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.bb-feature .bb-checks li { font-size: 15px; margin-bottom: 8px; }
@media (max-width: 900px) {
  .bb-feature, .bb-feature:has(.bb-demo-phone) { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .bb-feature.bb-flip .bb-feature-text { order: 0; }
  .bb-feature h3 br { display: none; }
}

/* ---- 2列（図と手順など） */
.bb-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-bottom: 40px; }
@media (max-width: 900px) { .bb-two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---- 進化モードの図 */
.bb-evo { display: flex; flex-direction: column; gap: 18px; }
.bb-evo-gen { padding: 22px 22px 18px; border-radius: 20px; background: var(--bb-ink); color: #fff; box-shadow: var(--bb-shadow); }
.bb-evo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 700; }
.bb-evo-n { font-size: 26px; margin: 0 2px; color: var(--bb-orange); display: inline-block; animation: bb-gen 9s steps(1) infinite; }
.bb-evo-live { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.bb-evo-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #5fd38d; animation: bb-blink 1.4s ease-in-out infinite; }
.bb-evo-row { display: grid; grid-template-columns: 6em 1fr; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.bb-evo-track { height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bb-evo-track i { display: block; height: 100%; border-radius: 7px; width: 0; animation: bb-race 9s ease-in-out infinite; }
.bb-evo-a { background: #9fb3ba; --to: 62%; }
.bb-evo-b { background: linear-gradient(90deg, var(--bb-cyan), #5fd38d); --to: 84%; }
.bb-evo-verdict { height: 30px; margin-top: 6px; }
.bb-evo-win { display: inline-block; padding: 4px 12px; border-radius: 8px; background: var(--bb-orange); color: var(--bb-ink); font-size: 13px; font-weight: 700; opacity: 0; animation: bb-win 9s ease infinite; }
.bb-evo-loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: evo; }
.bb-evo-loop li { position: relative; padding: 12px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--bb-line); text-align: center; font-size: 12px; line-height: 1.5; color: var(--bb-sub); }
.bb-evo-loop b { display: block; font-size: 15px; color: var(--bb-deep); }
.bb-evo-loop li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--bb-cyan); font-weight: 900; }
.bb-evo-loop li:last-child::after { content: "↺"; position: absolute; right: 6px; top: 4px; color: var(--bb-orange); font-weight: 900; }
@keyframes bb-race { 0%, 8% { width: 0; } 55%, 100% { width: var(--to); } }
@keyframes bb-win { 0%, 58% { opacity: 0; transform: translateY(4px); } 64%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bb-gen { 0% { content: ""; } }
@keyframes bb-blink { 50% { opacity: .3; } }
@media (max-width: 480px) { .bb-evo-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bb-evo-loop li:nth-child(2)::after { content: none; } }
@media (prefers-reduced-motion: reduce) { .bb-evo-track i { animation: none; width: var(--to); } .bb-evo-win { animation: none; opacity: 1; } .bb-evo-live::before { animation: none; } }
.bb-evo-kinds { padding: 22px 24px; border-radius: 18px; background: var(--bb-wash); margin-bottom: 20px; }
.bb-evo-kinds-title { font-weight: 700; margin-bottom: 12px; }
.bb-evo-kinds ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.bb-evo-kinds li { padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--bb-deep); }

/* ---- カゴ落ちの時間の流れ */
.bb-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.bb-timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--bb-orange), var(--bb-cyan)); }
.bb-timeline li { position: relative; padding: 0 0 22px 40px; }
.bb-timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--bb-cyan); }
.bb-timeline li:first-child::before { border-color: var(--bb-orange); }
.bb-tl-time { display: inline-block; padding: 1px 10px; border-radius: 6px; background: var(--bb-ink); color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.bb-timeline b { display: block; font-size: 17px; }
.bb-timeline li > span:last-child { display: block; font-size: 14px; color: var(--bb-sub); line-height: 1.7; }

/* ---- カードの並び（4つ・3つ） */
.bb-cards4, .bb-cards3 { display: grid; gap: 14px; margin-bottom: 24px; }
.bb-cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.bb-cards4 > div, .bb-cards3 > div { padding: 20px 20px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--bb-line); }
.bb-cards4 b, .bb-cards3 b { display: block; font-size: 16.5px; margin-bottom: 6px; }
.bb-cards4 p, .bb-cards3 p { font-size: 14px; color: var(--bb-sub); line-height: 1.75; margin: 0 0 8px; }
.bb-safe > div { border-top: 4px solid var(--bb-cyan); }
@media (max-width: 980px) { .bb-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bb-cards3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .bb-cards4 { grid-template-columns: 1fr; gap: 10px; } }

/* ---- AI の約束ごと */
.bb-guard { list-style: none; margin: 8px 0 0; padding: 18px 20px; border-radius: 14px; border: 1px dashed var(--bb-deep); display: grid; gap: 6px; font-size: 14px; }
.bb-guard li { position: relative; padding-left: 24px; }
.bb-guard li::before { content: "✓"; position: absolute; left: 0; color: var(--bb-deep); font-weight: 900; }

/* ---- 画面で見る（スマホの画面を横に並べる。スマホでは横にすべらせる） */
.bb-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin-bottom: 88px; }
.bb-screen { margin: 0; }
.bb-screen-media { margin-bottom: 18px; }
.bb-screen .bb-device-phone { width: min(250px, 100%); }
.bb-screen h3 { font-size: 19px; margin-bottom: 6px; }
.bb-screen p:last-child { font-size: 14.5px; color: var(--bb-sub); line-height: 1.75; }
@media (max-width: 900px) {
  .bb-screens { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 18px; margin-bottom: 56px; scrollbar-width: thin; }
  .bb-screen { flex: 0 0 76%; max-width: 300px; scroll-snap-align: center; }
  .bb-screen .bb-device-phone { width: 100%; }
}

/* ---- 料金 */
.bb-prices { display: grid; grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; margin-bottom: 8px; }
.bb-price { position: relative; display: flex; flex-direction: column; padding: 26px 22px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--bb-line); }
.bb-price-main { border: 2px solid var(--bb-deep); box-shadow: var(--bb-shadow); }
.bb-price b { font-size: 18px; margin-top: 10px; }
.bb-price-badge { align-self: flex-start; padding: 2px 10px; border-radius: 6px; background: var(--bb-deep); color: #fff; font-size: 12px; font-weight: 700; }
.bb-badge-line { background: #fff; color: var(--bb-deep); border: 1px solid var(--bb-deep); }
.bb-price-num { margin: 6px 0 0; font-size: 28px; font-weight: 900; color: var(--bb-deep); line-height: 1.3; }
.bb-price-num small { font-size: 15px; }
.bb-price-unit { font-size: 12.5px; color: var(--bb-sub); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--bb-line); }
.bb-price .bb-checks li { font-size: 14px; margin-bottom: 6px; }
@media (max-width: 980px) { .bb-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bb-prices { grid-template-columns: 1fr; } }

/* ---- 導入の流れ */
.bb-intro { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bb-intro li { position: relative; padding: 22px 20px 14px; border-radius: 18px; background: var(--bb-wash); }
.bb-intro li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 34px; z-index: 1; border: 8px solid transparent; border-left-color: var(--bb-cyan); }
.bb-intro-no { display: block; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--bb-cyan); }
.bb-intro b { display: block; font-size: 17px; margin: 4px 0 8px; }
.bb-intro p { font-size: 14px; color: var(--bb-sub); line-height: 1.75; margin: 0; }
.bb-intro code { font-size: 12.5px; padding: 1px 5px; border-radius: 4px; background: #fff; }
@media (max-width: 900px) { .bb-intro { grid-template-columns: 1fr; gap: 12px; } .bb-intro li:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -15px; border-left-color: transparent; border-top-color: var(--bb-cyan); } }

/* ---- 最後の呼びかけ（3つの入口） */
.bb-cta-v2 { padding-block: 88px; background: linear-gradient(135deg, var(--bb-deep), #0f4c5e); }
.bb-cta-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; margin: 32px auto 0; text-align: left; }
.bb-cta-card { display: block; padding: 22px 22px 14px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; transition: background .2s; }
.bb-cta-card:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.bb-cta-card span { font-size: 12.5px; opacity: .8; }
.bb-cta-card b { display: block; font-size: 19px; margin: 2px 0 6px; }
.bb-cta-card b::after { content: " →"; }
.bb-cta-card p { font-size: 13.5px; opacity: .85; line-height: 1.7; margin: 0 0 8px; }
.bb-cta-card-main { background: var(--bb-orange); border-color: var(--bb-orange); color: var(--bb-ink); }
.bb-cta-card-main:hover { background: #f8b65a; color: var(--bb-ink); }
.bb-cta-card-main span, .bb-cta-card-main p { opacity: 1; }
@media (max-width: 760px) { .bb-cta-cards { grid-template-columns: 1fr; } .bb-cta-v2 { padding-block: 64px; } }

/* ---- フッター（段組み） */
.bb-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: 28px; }
.bb-footer-brand p { margin: 0 0 6px; font-size: 13px; color: #cbd5df; }
.bb-footer-copy-lead { font-weight: 700; color: #fff !important; font-size: 15px !important; }
.bb-footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.bb-footer-col b { color: #fff; font-size: 13px; letter-spacing: .06em; margin-bottom: 2px; }
.bb-footer-col a { color: #dce4ec; text-decoration: none; }
.bb-footer-col a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .bb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bb-footer-brand { grid-column: 1 / -1; } }

/* ---- アイコン（文字だけの塊にしない） */
.bb-ic { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bb-wash); color: var(--bb-deep); margin-bottom: 12px; }
.bb-ic svg { width: 24px; height: 24px; }
.bb-ic-lg { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--bb-cyan), var(--bb-deep)); color: #fff; }
.bb-ic-lg svg { width: 28px; height: 28px; }
.bb-problems > div { padding: 22px 20px 16px; }
.bb-problems > div::before { content: none; }
.bb-problems .bb-ic { background: #fff1dd; color: #e07b00; }
.bb-pillar .bb-ic-lg { position: absolute; right: 22px; top: 24px; margin: 0; }
.bb-cards3 > div .bb-ic { display: grid; }
.bb-cards3 .bb-card-tag { display: block; width: fit-content; }
.bb-intro .bb-ic-lg { margin-bottom: 10px; }
.bb-safe .bb-ic { background: #e6f4ee; color: #217a53; }

/* ---- 機能のタイル */
.bb-func-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bb-func-grid li { display: flex; flex-direction: column; padding: 18px 16px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--bb-line); }
.bb-func-grid b { font-size: 15.5px; line-height: 1.45; }
.bb-func-grid span:last-child { font-size: 12.5px; color: var(--bb-sub); margin-top: 2px; }
.bb-compare-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bb-compare-points li { display: flex; flex-direction: column; padding: 20px 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--bb-line); }
.bb-compare-points b { font-size: 16px; }
.bb-compare-points span:last-child { font-size: 13px; color: var(--bb-sub); line-height: 1.7; margin-top: 4px; }
details.bb-more { border: 1px solid var(--bb-line); border-radius: 14px; background: #fff; padding: 0 18px; }
details.bb-more > summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--bb-deep); list-style: none; }
details.bb-more > summary::-webkit-details-marker { display: none; }
details.bb-more > summary::after { content: "＋"; float: right; }
details.bb-more[open] > summary::after { content: "－"; }
details.bb-more[open] { padding-bottom: 16px; }
@media (max-width: 900px) { .bb-func-grid, .bb-compare-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- スマホ：カードは2列のタイルにして、アイコン＋見出しで目に入るように */
@media (max-width: 600px) {
  .bb-problems, .bb-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bb-problems > div, .bb-cards4 > div { padding: 14px 12px 10px; border-radius: 14px; }
  .bb-problems b, .bb-cards4 b { font-size: 14.5px; line-height: 1.45; margin-bottom: 4px; }
  .bb-problems p, .bb-cards4 p { font-size: 12.5px; line-height: 1.65; }
  .bb-ic { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 8px; }
  .bb-ic svg { width: 21px; height: 21px; }
  .bb-cards3 > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 14px 14px 8px; }
  .bb-cards3 > div .bb-ic { grid-row: span 3; margin: 0; }
  .bb-pillar { padding: 18px 18px 14px; }
  .bb-pillar-no { position: static; font-size: 24px; margin-bottom: 6px; }
  .bb-pillar .bb-ic-lg { right: 16px; top: 16px; width: 44px; height: 44px; }
  .bb-func-grid li, .bb-compare-points li { padding: 14px 12px 10px; }
  .bb-func-grid b { font-size: 14px; }
  .bb-compare-points b { font-size: 14.5px; }
  .bb-compare-points span:last-child { font-size: 12px; }
  .bb-intro li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 16px; }
  .bb-intro .bb-ic-lg { grid-row: span 3; margin: 0; }
  .bb-hero-v2 .bb-hero-title { font-size: clamp(30px, 8.6vw, 40px); }
}

/* ---- スマホのファーストビュー：見出しのすぐ後に画面（動画）を出し、文字が続かないようにする */
@media (max-width: 900px) {
  .bb-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .bb-hero-copy > .bb-eyebrow { align-self: flex-start; }
  .bb-hero-copy { display: contents; }
  .bb-hero-copy > .bb-eyebrow { order: 1; }
  .bb-hero-copy > .bb-hero-title { order: 2; margin-bottom: 18px; }
  .bb-hero-visual { order: 3; margin-bottom: 26px; }
  .bb-hero-copy > .bb-lead { order: 4; }
  .bb-hero-copy > .wp-block-buttons { order: 5; }
  .bb-hero-copy > .bb-chips { order: 6; }
}
@media (max-width: 600px) { .bb-hero-visual .bb-device-phone { width: 230px; } .bb-hero-v2 .bb-lead { font-size: 15px; } }

/* ---- 見出しの書体（ECBUZZ の LP と同じ組み合わせ：見出し Zen Kaku Gothic New・本文 Noto Sans JP） */
h1, h2, h3, .bb-hero-title, .bb-pillar b, .bb-pillar-no, .bb-price-num, .bb-intro-no, .bb-evo-n, .bb-cta-card b, .bb-problems b, .bb-cards4 b, .bb-cards3 b, .bb-func-grid b, .bb-compare-points b, .bb-timeline b, .bb-screen h3, .bb-faq summary, details.bb-more > summary, .bb-point, .bb-eyebrow { font-family: var(--bb-head); }

/* ---- A社・B社との比較表 */
.bb-vs-wrap { overflow-x: auto; margin: 8px 0 12px; border-radius: 18px; border: 1px solid var(--bb-line); background: #fff; -webkit-overflow-scrolling: touch; }
.bb-vs { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.bb-vs th, .bb-vs td { padding: 14px 14px; border-bottom: 1px solid var(--bb-line); vertical-align: top; text-align: left; line-height: 1.6; }
.bb-vs tbody tr:last-child > * { border-bottom: 0; }
.bb-vs thead th { font-family: var(--bb-head); font-size: 15px; background: #f6f8f9; text-align: center; }
.bb-vs tbody th { width: 20%; font-family: var(--bb-head); font-size: 14.5px; background: #fafbfc; }
.bb-vs td { width: 26.6%; color: var(--bb-sub); }
.bb-vs .bb-vs-us { background: var(--bb-wash); color: var(--bb-ink); }
.bb-vs thead .bb-vs-us { background: var(--bb-deep); color: #fff; font-size: 17px; }
.bb-vs td b { display: block; font-size: 14.5px; color: var(--bb-ink); }
.bb-vs td small { display: block; font-size: 12.5px; color: var(--bb-sub); }
.bb-mark { display: block; font-size: 22px; line-height: 1.1; font-weight: 900; color: var(--bb-cyan); margin-bottom: 4px; }
.bb-mark-best { color: var(--bb-orange); }
.bb-mark-none { color: #b8c3c8; }
.bb-vs-note { font-size: 12px; color: var(--bb-sub); line-height: 1.7; margin: 0 0 36px; }
.bb-vs-sub { font-family: var(--bb-head); font-weight: 700; margin: 0 0 12px; }
@media (max-width: 600px) {
  .bb-vs { min-width: 560px; font-size: 13px; }
  .bb-vs th, .bb-vs td { padding: 11px 10px; }
  .bb-vs tbody th { position: sticky; left: 0; z-index: 1; width: 88px; font-size: 13px; }
  .bb-vs-wrap::after { content: "横にスクロールできます →"; display: block; padding: 6px 12px; font-size: 11px; color: var(--bb-sub); text-align: right; position: sticky; left: 0; }
}

/* ---- お問い合わせ・資料請求フォーム（EFO） */
.bb-contact { max-width: 680px; }
.bb-contact-form { padding: 28px 28px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--bb-line); box-shadow: 0 20px 40px -30px rgba(20, 105, 156, .35); }
.bb-kinds { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.bb-kinds legend, .bb-label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 10px; padding: 0; }
.bb-kind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bb-kind { position: relative; display: flex; cursor: pointer; }
.bb-kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bb-kind-box { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center; flex: 1; min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--bb-line); background: #fff; transition: border-color .15s, background .15s; }
.bb-kind-box .bb-ic { grid-row: span 2; width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.bb-kind-box b { font-size: 15px; line-height: 1.4; }
.bb-kind-box small { font-size: 12px; color: var(--bb-sub); line-height: 1.4; }
.bb-kind input:checked + .bb-kind-box { border-color: var(--bb-deep); background: var(--bb-wash); }
.bb-kind input:checked + .bb-kind-box .bb-ic { background: var(--bb-deep); color: #fff; }
.bb-kind input:focus-visible + .bb-kind-box { outline: 3px solid rgba(20, 105, 156, .35); outline-offset: 2px; }
.bb-kind-lead { margin: 4px 0 22px; padding: 10px 14px; border-radius: 10px; background: #f6f8f9; font-size: 14px; color: var(--bb-sub); }
.bb-field[hidden] { display: none; }
.bb-input { position: relative; }
.bb-field input, .bb-field textarea, .bb-cart-other input { width: 100%; min-height: 50px; padding: 12px 42px 12px 14px; font: inherit; font-size: 16px; color: var(--bb-ink); background: #fff; border: 2px solid var(--bb-line); border-radius: 12px; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.bb-field textarea { padding-right: 14px; min-height: 120px; resize: vertical; }
.bb-field input::placeholder, .bb-field textarea::placeholder { color: #a6b1b6; }
.bb-field input:focus, .bb-field textarea:focus, .bb-cart-other input:focus { border-color: var(--bb-deep); box-shadow: 0 0 0 4px rgba(20, 105, 156, .12); outline: none; }
.bb-ok { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #2e9e6a; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; pointer-events: none; }
.bb-ok::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bb-field.is-ok .bb-ok { opacity: 1; transform: none; }
.bb-field.is-ok input { border-color: #9fd3b8; }
.bb-field textarea + .bb-ok { display: none; }
.bb-field [aria-invalid="true"] { border-color: #d0452b !important; background: #fff8f6; }
.bb-field-error { display: flex; gap: 6px; align-items: center; }
.bb-field-error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #d0452b; color: #fff; font-size: 12px; font-weight: 900; }
.bb-field-error[hidden] { display: none; }
.bb-field-hint { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff6e5; font-size: 14px; }
.bb-suggest { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--bb-deep); text-decoration: underline; cursor: pointer; }
.bb-cart-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-chip { position: relative; cursor: pointer; }
.bb-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bb-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--bb-line); background: #fff; font-size: 14px; font-weight: 700; color: var(--bb-sub); transition: all .15s; }
.bb-chip input:checked + span { border-color: var(--bb-deep); background: var(--bb-deep); color: #fff; }
.bb-chip input:focus-visible + span { outline: 3px solid rgba(20, 105, 156, .35); outline-offset: 2px; }
.bb-cart-other { margin-top: 10px; }
.bb-cart-other input { padding-right: 14px; }
.bb-submit { margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--bb-line); text-align: center; }
.bb-submit .wp-block-buttons { justify-content: center; }
.bb-submit .wp-block-button, .bb-submit .wp-block-button__link { width: 100%; max-width: 420px; }
.bb-submit .wp-block-button__link { min-height: 58px; font-size: 18px; }
.bb-remain { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #e07b00; }
.bb-remain.is-ready { color: #2e9e6a; }
.bb-done-mark { display: block; color: #2e9e6a; margin-bottom: 8px; }
.bb-contact-done { text-align: center; padding: 40px 24px; }
.bb-contact-done .wp-block-buttons { justify-content: center; margin-top: 18px; }
@media (max-width: 600px) {
  .bb-contact-form { padding: 20px 16px 16px; border-radius: 16px; margin-inline: -4px; }
  .bb-kind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  /* 3つの高さをそろえる（文字が2行になる「LP でプレビュー」に合わせ、アイコンは上にそろえる） */
  .bb-kind-box { grid-template-columns: 1fr; align-content: start; padding: 12px 6px; text-align: center; justify-items: center; row-gap: 2px; }
  .bb-kind-box b { word-break: keep-all; overflow-wrap: anywhere; }
  .bb-kind-box .bb-ic { grid-row: auto; width: 36px; height: 36px; margin-bottom: 2px; }
  .bb-kind-box b { font-size: 13.5px; }
  .bb-kind-box small { display: none; }
  .bb-chip span { min-height: 38px; padding: 5px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .bb-ok, .bb-kind-box, .bb-chip span { transition: none; } }
.bb-header-cta { gap: 8px; margin: 0; flex-wrap: nowrap; }
.bb-btn-ghost .wp-block-button__link { background: #fff; color: var(--bb-deep); border-color: var(--bb-deep); }
.bb-btn-ghost .wp-block-button__link:hover { background: var(--bb-wash); color: var(--bb-deep); }
@media (max-width: 420px) { .bb-header-cta .wp-block-button__link { padding: 7px 12px; font-size: 13px; } }

/* ---- お問い合わせ・資料請求のページ（左に案内・右にフォームの2列。ECBUZZ の資料請求と同じ組み方） */
.bb-cp-page { background: linear-gradient(180deg, #f4f8f9, #fff 70%); padding: 48px max(16px, calc((100% - 1120px) / 2)) 88px; }
.bb-cp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.bb-cp-aside { position: sticky; top: 96px; }
.admin-bar .bb-cp-aside { top: 128px; }
.bb-cp-title { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.35; margin: 6px 0 16px; }
.bb-cp-title em { font-style: normal; color: var(--bb-deep); }
.bb-cp-lead { font-size: 15.5px; color: var(--bb-sub); line-height: 1.9; margin-bottom: 20px; }
.bb-cp-box { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--bb-line); margin-bottom: 20px; }
.bb-cp-box-title { font-size: 13px; font-weight: 700; color: var(--bb-sub); margin: 0 0 10px; }
.bb-cp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bb-cp-checks li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.6; }
.bb-cp-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--bb-wash); }
.bb-cp-checks li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--bb-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bb-cp-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bb-cp-trust li { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--bb-sub); line-height: 1.5; }
.bb-cp-trust .bb-ic { width: 40px; height: 40px; margin: 0; }
.bb-cp-trust b { display: block; font-size: 14.5px; color: var(--bb-ink); font-family: var(--bb-head); }
.bb-cp-main .bb-contact { max-width: none; margin: 0; }
.bb-cp-main .bb-contact-form { padding: 36px 36px 28px; border-radius: 24px; }
.bb-cp-form-title { font-size: 20px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--bb-line); }
.bb-cp-main .bb-kind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-cp-main .bb-kind-box { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; padding: 14px 8px; min-height: 104px; }
.bb-cp-main .bb-kind-box .bb-ic { grid-row: auto; }
.bb-cp-main .bb-kind-box b { font-size: 14px; }
.bb-cp-main .bb-kind-box small { font-size: 11px; }
@media (min-width: 901px) {
  /* 2つの欄を横に並べる（お名前・会社名） */
  .bb-cp-main .bb-contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .bb-cp-main .bb-contact-form > * { grid-column: 1 / -1; }
  .bb-cp-main .bb-contact-form > [data-field="name"], .bb-cp-main .bb-contact-form > [data-field="company"] { grid-column: auto; }
  .bb-cp-main .bb-contact-form > [data-field="company"] { order: 0; }
}
@media (max-width: 900px) {
  .bb-cp-page { padding-top: 24px; padding-bottom: 56px; }
  .bb-cp { grid-template-columns: 1fr; gap: 20px; }
  .bb-cp-aside { position: static; }
  .bb-cp-title { font-size: 26px; margin-bottom: 8px; }
  .bb-cp-title br { display: none; }
  .bb-cp-lead { font-size: 14px; margin-bottom: 0; }
  .bb-cp-box, .bb-cp-trust { display: none; }
  .bb-cp-main .bb-kind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .bb-cp-main .bb-kind-box { min-height: 0; padding: 12px 8px; }
  .bb-cp-main .bb-kind-box small { display: none; }
  .bb-cp-main .bb-contact-form { padding: 20px 16px 16px; border-radius: 18px; margin: 0; }
  .bb-cp-form-title { font-size: 17px; margin-bottom: 16px; }
}

/* ---- スマホのメニュー（ハンバーガー）：LP のヘッダーだけ（ヘルプのヘッダーは横スクロールのまま） */
.bb-menu-btn { display: none; }
.bb-nav-cta { display: none; }
@media (max-width: 900px) {
  .bb-header:has(.bb-menu-btn) { flex-wrap: nowrap; gap: 10px; padding-top: 0; min-height: 60px; }
  .bb-header:has(.bb-menu-btn) .bb-logo img { width: 128px; height: auto; }
  .bb-header:has(.bb-menu-btn) .bb-header-cta { margin-left: auto !important; gap: 6px; }
  .bb-header:has(.bb-menu-btn) .bb-header-contact { display: none; }
  .bb-menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 46px; height: 46px; margin-right: -6px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--bb-ink); font: inherit; cursor: pointer; }
  .bb-menu-bars { position: relative; display: block; width: 22px; height: 16px; }
  .bb-menu-bars i { position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
  .bb-menu-bars i:nth-child(1) { top: 0; } .bb-menu-bars i:nth-child(2) { top: 7px; } .bb-menu-bars i:nth-child(3) { top: 14px; }
  .bb-menu-label { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
  .is-menu-open .bb-menu-bars i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .is-menu-open .bb-menu-bars i:nth-child(2) { opacity: 0; }
  .is-menu-open .bb-menu-bars i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  /* メニューを開いたとき：ヘッダーの下に全画面で、リンクを大きく1行ずつ */
  .bb-header:has(.bb-menu-btn) .bb-nav { display: none; position: fixed; left: 0; right: 0; top: 60px; bottom: 0; z-index: 9; margin: 0 !important; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); flex-direction: column; gap: 0; overflow-y: auto; background: #fff; font-size: 17px; font-weight: 700; white-space: normal; order: 0; flex-basis: auto; }
  .admin-bar .bb-header:has(.bb-menu-btn) .bb-nav { top: calc(60px + var(--wp-admin--admin-bar--height, 46px)); }
  .bb-header.is-menu-open .bb-nav { display: flex; }
  .bb-header:has(.bb-menu-btn) .bb-nav > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--bb-line); }
  .bb-header:has(.bb-menu-btn) .bb-nav > a::after { content: "›"; color: var(--bb-sub); font-size: 22px; font-weight: 400; }
  .bb-header:has(.bb-menu-btn) .bb-nav > a:hover { text-decoration: none; }
  .bb-nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .bb-nav-btn { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--bb-orange); color: var(--bb-ink); font-size: 16px; text-decoration: none; }
  .bb-nav-btn-line { background: #fff; color: var(--bb-deep); border: 2px solid var(--bb-deep); }
}
html.bb-no-scroll, html.bb-no-scroll body { overflow: hidden; }
@media (max-width: 380px) { .bb-header:has(.bb-menu-btn) .bb-logo img { width: 108px; } }
@media (prefers-reduced-motion: reduce) { .bb-menu-bars i { transition: none; } }

/* ---- 最後の呼びかけ：資料請求・お問い合わせの2つ */
.bb-cta-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 760px) { .bb-cta-cards { grid-template-columns: 1fr; } }

/* ---- 動画の拡大ボタンと、拡大した画面 */
.bb-demo-wrap { position: relative; }
.bb-demo-phone .bb-demo-wrap { width: fit-content; max-width: 100%; margin-inline: auto; }
.bb-zoom { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px 7px 10px; border: 0; border-radius: 999px; background: rgba(24, 32, 46, .82); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); transition: background .15s, transform .15s; }
.bb-zoom:hover { background: var(--bb-deep); transform: translateY(-1px); }
.bb-zoom:focus-visible { outline: 3px solid var(--bb-orange); outline-offset: 2px; }
.bb-demo-phone .bb-zoom { right: 18px; bottom: 18px; }
.bb-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; background: rgba(10, 16, 24, .88); }
.bb-lightbox[hidden] { display: none; }
.bb-lightbox-body { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.bb-lightbox video { display: block; max-width: min(1400px, 100%); max-height: 100%; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.bb-lightbox[data-kind="phone"] video { max-width: min(430px, 100%); border-radius: 24px; }
.bb-lightbox-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.bb-lightbox-close:hover { background: rgba(255, 255, 255, .26); }
@media (max-width: 600px) {
  /* スマホで管理画面の動画を見るときは、横向きに回すと大きく見られる */
  .bb-lightbox[data-kind="pc"] .bb-lightbox-body::after { content: "横向きにすると大きく見られます"; position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; color: rgba(255, 255, 255, .7); font-size: 12px; }
}

/* ---- 料金：スマホは横に並べてスクロール（縦に長くならないように） */
.bb-price-num { font-size: clamp(22px, 2.4vw, 28px); }
@media (max-width: 760px) {
  .bb-prices { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 6px 16px 18px; scrollbar-width: thin; }
  .bb-price { flex: 0 0 78%; max-width: 300px; scroll-snap-align: center; padding: 20px 18px 12px; }
  .bb-price-main { flex-basis: 82%; }
  .bb-price b { font-size: 16px; margin-top: 8px; }
  .bb-price-num { font-size: 24px; }
  .bb-price-unit { font-size: 12px; margin-bottom: 10px; padding-bottom: 10px; }
  .bb-price .bb-checks li { font-size: 13.5px; margin-bottom: 4px; }
  .bb-prices + .bb-small-list::before { content: "横にスクロールすると、オプションも見られます →"; display: block; margin-bottom: 6px; font-size: 12px; color: var(--bb-sub); }
}

/* ---------- 料金：長い価格表記 ---------- */
.bb-price-num.bb-price-num-sm { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.35; }
@media (max-width: 760px) { .bb-price-num.bb-price-num-sm { font-size: 19px; } }

/* ---------- フッター（強化版） ---------- */
.bb-footer { position: relative; overflow: hidden; padding-block: 0 28px; background: radial-gradient(120% 80% at 100% 0%, rgba(37, 168, 212, .22), transparent 60%), linear-gradient(180deg, #143f5e 0%, #0a2438 100%); color: #d7e6eb; }
.bb-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--bb-cyan), var(--bb-orange)); }
.bb-footer > * { position: relative; z-index: 1; }
.bb-sp-br { display: none; }
.bb-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 0 36px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.bb-footer-logo { width: 150px; margin-bottom: 18px; }
.bb-footer-copy-lead { margin: 0 0 6px; font-family: var(--bb-head); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px) !important; line-height: 1.35; color: #fff !important; letter-spacing: .02em; }
.bb-footer-desc { margin: 0; font-size: 14px; color: #a9c4dc !important; }
.bb-footer-cta { display: flex; gap: 12px; flex-shrink: 0; }
.bb-footer-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; padding: 15px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s, transform .2s; }
.bb-footer-btn:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.bb-footer-btn-main { background: var(--bb-orange); border-color: var(--bb-orange); color: #3a2a06 !important; box-shadow: 0 10px 24px -10px rgba(246, 164, 60, .8); }
.bb-footer-btn-main:hover { background: #f8b65a; }
.bb-footer-btn span { transition: transform .2s; }
.bb-footer-btn:hover span { transform: translateX(3px); }
.bb-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 40px 0 36px; }
.bb-footer-col { gap: 12px; font-size: 14px; }
.bb-footer-col b { display: flex; align-items: center; gap: 8px; font-family: var(--bb-head); font-size: 12px; letter-spacing: .14em; color: var(--bb-cyan); margin-bottom: 4px; }
.bb-footer-col b::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.bb-footer-col a { color: #e3eef1; }
.bb-footer-col a:hover { color: #fff; text-decoration: none; opacity: .75; }
.bb-footer-bottom { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.bb-footer-bottom .bb-copy { color: #93b2cc; font-size: 12.5px; }
.bb-footer-company { margin: 0 auto 0 0; font-size: 12.5px; color: #93b2cc; }
.bb-footer-totop { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff !important; text-decoration: none; font-weight: 700; transition: background .2s; }
.bb-footer-totop:hover { background: rgba(255, 255, 255, .2); }
.bb-footer-mark { margin: 18px 0 -0.32em !important; font-family: var(--bb-head); font-weight: 900; font-style: italic; font-size: clamp(64px, 15vw, 200px); line-height: 1; letter-spacing: -.02em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(37, 168, 212, .22), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }
@media (max-width: 900px) {
  .bb-footer-top { flex-direction: column; align-items: flex-start; padding-top: 44px; }
  .bb-footer-cta { width: 100%; }
  .bb-footer-btn { flex: 1; min-width: 0; }
  .bb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (max-width: 560px) {
  .bb-sp-br { display: inline; }
  .bb-footer-cta { flex-direction: column; }
  .bb-footer-btn { padding: 16px 20px; }
  .bb-footer-bottom { flex-wrap: wrap; gap: 6px 14px; }
  .bb-footer-bottom .bb-copy { order: 2; width: 100%; }
  .bb-footer-company { order: 1; }
  .bb-footer-totop { order: 1; margin-left: auto; }
}
@media (max-width: 780px) { .bb-footer { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom)); } }

/* 3つの仕組みのカード：番号とタイトルを1行に並べ、アイコンは右に大きめに（番号のあとで改行していた） */
.bb-pillar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "no title icon" "text text text" "more more more"; column-gap: 12px; align-items: center; padding: 24px 22px 20px; }
.bb-pillar-no { grid-area: no; position: static; margin: 0; font-size: 34px; }
.bb-pillar b { grid-area: title; margin: 0; }
.bb-pillar .bb-ic-lg { grid-area: icon; position: static; width: 64px; height: 64px; border-radius: 18px; }
.bb-pillar .bb-ic-lg svg { width: 34px; height: 34px; }
.bb-pillar p { grid-area: text; margin: 14px 0 10px; }
.bb-pillar-more { grid-area: more; }
@media (max-width: 900px) {
  .bb-pillar { padding: 18px 18px 16px; }
  .bb-pillar-no { font-size: 28px; }
  .bb-pillar .bb-ic-lg { width: 58px; height: 58px; }
  .bb-pillar .bb-ic-lg svg { width: 32px; height: 32px; }
}

/* アイコン付きのカード（悩み・カゴ落ち・AI・安全）：スマホではアイコンとタイトルを1行に並べ、説明はその下に（アイコンのあとで改行していた） */
@media (max-width: 760px) {
  .bb-problems, .bb-cards4, .bb-cards3 { grid-template-columns: 1fr; gap: 10px; }
  .bb-problems > div, .bb-cards4 > div, .bb-cards3 > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: center; padding: 14px 16px; }
  .bb-problems > div > .bb-ic, .bb-cards4 > div > .bb-ic, .bb-cards3 > div > .bb-ic { grid-column: 1; width: 40px; height: 40px; margin: 0; }
  .bb-problems > div > b, .bb-cards4 > div > b, .bb-cards3 > div > b { grid-column: 2; margin: 0; font-size: 15.5px; }
  .bb-problems > div > p, .bb-cards4 > div > p, .bb-cards3 > div > p, .bb-cards3 .bb-card-tag { grid-column: 1 / -1; }
  .bb-cards3 .bb-card-tag { order: 2; justify-self: start; margin: 0; }
  .bb-cards3 > div > p { order: 3; }
  .bb-problems p, .bb-cards4 p, .bb-cards3 p { font-size: 13.5px; }
}

/* 料金：「月額」は小さく、金額に目が行くように。税抜は金額の横に */
.bb-price-num .bb-price-pre { font-size: 15px; margin-right: 3px; }
.bb-price-num .bb-price-tax { font-size: 12px; font-weight: 700; color: var(--bb-sub); margin-left: 2px; }
.bb-price-num:has(+ .bb-checks) { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--bb-line); }
@media (max-width: 760px) { .bb-price-num:has(+ .bb-checks) { margin-bottom: 10px; padding-bottom: 10px; } }

/* 色を明るく（2026-11-10：全体にくすんで見えた）。メインのボタンはオレンジのグラデーションと影で目立たせる */
.bb-btn-main .wp-block-button__link, .bb-btn-small .wp-block-button__link, .bb-footer-btn-main, .bb-sticky-btn:not(.bb-sticky-sub) {
  background: linear-gradient(135deg, #fbb552 0%, #f2963a 100%); border-color: transparent; color: #2a1600 !important; box-shadow: 0 10px 22px -12px rgba(236, 140, 40, .85);
}
.bb-btn-main .wp-block-button__link:hover, .bb-btn-small .wp-block-button__link:hover, .bb-footer-btn-main:hover, .bb-sticky-btn:not(.bb-sticky-sub):hover { background: linear-gradient(135deg, #fcc06a 0%, #f5a24d 100%); }

/* ボタンの色の決まり（2026-11-10）：資料請求は青、お問い合わせはオレンジ（ページのどこでも同じ） */
:root { --bb-doc-grad: linear-gradient(135deg, #3ca5d9 0%, #14699c 100%); --bb-doc-grad-hover: linear-gradient(135deg, #4fb0e0 0%, #1a76ad 100%); --bb-cv-grad: linear-gradient(135deg, #fbb552 0%, #f2963a 100%); --bb-cv-grad-hover: linear-gradient(135deg, #fcc06a 0%, #f5a24d 100%); }
.wp-block-button .wp-block-button__link[href*="type=doc"], .bb-sticky-btn[href*="type=doc"], .bb-footer-btn[href*="type=doc"], .bb-nav-cta a[href*="type=doc"], .bb-cta-card[href*="type=doc"] {
  background: var(--bb-doc-grad); border-color: transparent; color: #fff !important; box-shadow: 0 10px 22px -12px rgba(20, 105, 156, .9);
}
.wp-block-button .wp-block-button__link[href*="type=doc"]:hover, .bb-sticky-btn[href*="type=doc"]:hover, .bb-footer-btn[href*="type=doc"]:hover, .bb-nav-cta a[href*="type=doc"]:hover, .bb-cta-card[href*="type=doc"]:hover { background: var(--bb-doc-grad-hover); color: #fff !important; }
.wp-block-button .wp-block-button__link[href*="type=consult"], .bb-sticky-btn[href*="type=consult"], .bb-footer-btn[href*="type=consult"], .bb-nav-cta a[href*="type=consult"], .bb-cta-card[href*="type=consult"] {
  background: var(--bb-cv-grad); border-color: transparent; color: #2a1600 !important; box-shadow: 0 10px 22px -12px rgba(236, 140, 40, .85);
}
.wp-block-button .wp-block-button__link[href*="type=consult"]:hover, .bb-sticky-btn[href*="type=consult"]:hover, .bb-footer-btn[href*="type=consult"]:hover, .bb-nav-cta a[href*="type=consult"]:hover, .bb-cta-card[href*="type=consult"]:hover { background: var(--bb-cv-grad-hover); color: #2a1600 !important; }
.bb-sticky-btn[href*="type=doc"] svg, .bb-sticky-btn[href*="type=doc"] .bb-ic { color: #fff; }
.bb-cta-card[href*="type=doc"] span, .bb-cta-card[href*="type=doc"] p, .bb-cta-card[href*="type=consult"] span, .bb-cta-card[href*="type=consult"] p { opacity: 1; }

/* 対応カートのロゴ（2026-11-10） */
.bb-cart-logos { gap: 10px; max-width: 720px; margin-inline: auto; }
.bb-cart-logos li { display: grid; place-items: center; gap: 2px; width: 168px; height: 72px; padding: 10px 14px; background: #fff; border: 1px solid var(--bb-line); border-radius: 12px; }
.bb-cart-logos img { display: block; max-width: 100%; max-height: 36px; width: auto; height: auto; object-fit: contain; }
.bb-cart-logos small { font-size: 10.5px; font-weight: 400; color: var(--bb-sub); line-height: 1; }
@media (max-width: 600px) {
  .bb-cart-logos { display: grid; grid-template-columns: repeat(2, 1fr); }
  .bb-cart-logos li { width: auto; height: 64px; }
  .bb-cart-logos img { max-height: 30px; }
}

/* ヘルプ：記事の画面の写真と操作の動画（2026-11-11） */
.bb-shot{margin:16px 0 20px;display:grid;gap:6px}
.bb-shot img,.bb-shot video{display:block;width:100%;height:auto;border:1px solid #e3e7ea;border-radius:10px;box-shadow:0 8px 24px -16px rgba(31,35,40,.35);background:#f6f8fa}
.bb-shot figcaption{font-size:12px;color:#6b7280}
.bb-shot-video video{aspect-ratio:16/10;object-fit:contain}
/* ヘルプ：検索の候補 */
.bb-suggest-list{position:absolute;left:0;right:0;top:100%;z-index:30;margin:6px 0 0;padding:6px;list-style:none;background:#fff;border:1px solid #dfe9f1;border-radius:12px;box-shadow:0 18px 40px -20px rgba(20,105,156,.45);text-align:left}
.bb-suggest-list li a{display:block;padding:8px 10px;border-radius:8px;color:#1c2533;text-decoration:none;font-size:14px;line-height:1.5}
.bb-suggest-list li a small{display:block;font-size:11.5px;color:#6b7280}
.bb-suggest-list li a:hover,.bb-suggest-list li.on a{background:#eef7fb}

/* ヘルプ：障害・メンテナンス情報・サポート・よく探されている言葉（2026-11-11） */
.bb-status{max-width:var(--bb-wide);margin:28px auto 8px;padding:16px 20px;border:1px solid #cfe9d9;border-left:6px solid #2f9e5b;border-radius:12px;background:#f3fbf6}
.bb-status.is-alert{border-color:#f2c9a8;border-left-color:#e07a1f;background:#fff7ef}
.bb-status h2{font-size:16px;margin:0 0 6px}
.bb-status ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.bb-status li{display:flex;gap:12px;flex-wrap:wrap;font-size:14px}
.bb-status time{color:#6b7280;font-variant-numeric:tabular-nums}
.bb-status-ok{margin:0;font-size:14px;color:#1f6b3d}
.bb-status-more{margin:8px 0 0;font-size:12.5px}
.bb-hot-words{display:flex;flex-wrap:wrap;gap:6px 8px;justify-content:flex-start;align-items:center;margin:14px 0 0;font-size:13px}
.bb-hot-words span{color:#6b7280}
.bb-hot-words a{padding:3px 12px;border-radius:999px;background:#fff;border:1px solid #dfe9f1;color:#14699c;text-decoration:none}
.bb-hot-words a:hover{background:#eef7fb}
.bb-help-support{max-width:var(--bb-wide);margin:28px auto 32px;padding:20px 24px;border-radius:14px;background:#eef7fb;display:flex;gap:16px 24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.bb-help-support h2{font-size:18px;margin:0 0 4px}
.bb-help-support p{margin:0;font-size:14px;color:#556274;max-width:640px}
.bb-btn-support{display:inline-block;padding:10px 20px;border-radius:999px;background:#f6a43c;color:#fff !important;font-weight:700;text-decoration:none;white-space:nowrap}
.bb-btn-support:hover{filter:brightness(.95)}
.bb-btn-status{display:inline-block;padding:10px 18px;border-radius:999px;border:1px solid #dfe9f1;color:#14699c;text-decoration:none;white-space:nowrap}
.bb-help-contact-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.bb-nav .bb-nav-support{padding:6px 14px;border-radius:999px;background:#f6a43c;color:#fff !important;font-weight:700}
@media (max-width:600px){.bb-help-support{padding:16px}.bb-btn-support,.bb-btn-status{width:100%;text-align:center}}
@media (max-width:1240px){.bb-status,.bb-help-support{margin-left:16px;margin-right:16px}}
.bb-status-list{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.bb-status-list li{display:grid;gap:2px;font-size:14px}
.bb-status-list li>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bb-status-list p{margin:2px 0 0;font-size:13px;color:#556274;white-space:pre-wrap}
.bb-status-tag{font-size:11.5px;font-weight:700;padding:1px 8px;border-radius:999px;background:#fdecea;color:#b42318}
.bb-status-tag.maintenance{background:#fff4e5;color:#8a5300}.bb-status-tag.info{background:#eef7fb;color:#14699c}
.bb-status-state{font-size:12px;color:#b42318}.bb-status-state.done{color:#1f6b3d}

/* ヘルプの余白（検査票 #85・#86：WordPress のブロックの余白で上下が詰まり、ボタンや枠がくっついていた） */
.bb-help-tasks { padding-bottom: 8px !important; }
.bb-help-tasks .bb-popular-title { margin-bottom: 20px !important; }
.bb-help-tasks + .bb-help-support, .bb-help-support { margin-top: 40px !important; margin-bottom: 40px !important; }
.bb-related-title { margin-bottom: 12px !important; }
.bb-related { margin-bottom: 0 !important; }
.bb-related + .bb-help-contact, .bb-help-contact { margin-top: 40px !important; }
/* 送信後の画面：資料請求・相談の方に、その場でデモ・相談の予約もご案内（2026-11-13） */
.bb-done-book { margin: 20px 0 8px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--bb-line); text-align: left; }
.bb-done-book p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--bb-sub); }
.bb-done-book p b { display: block; font-size: 16px; color: var(--bb-ink); }
.bb-done-book .bb-btn-orange .wp-block-button__link { background: var(--bb-orange); color: #fff; border-color: var(--bb-orange); }
.bb-done-book .wp-block-buttons { margin: 0; }

/* ---- ヘルプのヘッダー（#101）：文字を折り返さない。1100px 以下はメニュー（ハンバーガー）にしまい、検索はロゴの下の1行に */
.bb-nav a, .bb-logo-sub { white-space: nowrap; }
.bb-nav { align-items: center; }
@media (max-width: 1100px) {
  .bb-header.bb-help-header { flex-wrap: wrap; gap: 10px; padding-top: 0; min-height: 60px; }
  .bb-header.bb-help-header .bb-logo { min-height: 60px; }
  .bb-header.bb-help-header .bb-logo img { width: 128px; height: auto; }
  .bb-header.bb-help-header .bb-menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 46px; height: 46px; margin: 0 -6px 0 auto !important; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--bb-ink); font: inherit; cursor: pointer; order: 2; }
  .bb-header.bb-help-header .bb-menu-bars { position: relative; display: block; width: 22px; height: 16px; }
  .bb-header.bb-help-header .bb-menu-bars i { position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
  .bb-header.bb-help-header .bb-menu-bars i:nth-child(1) { top: 0; } .bb-header.bb-help-header .bb-menu-bars i:nth-child(2) { top: 7px; } .bb-header.bb-help-header .bb-menu-bars i:nth-child(3) { top: 14px; }
  .bb-header.bb-help-header .bb-menu-label { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
  .bb-header.bb-help-header.is-menu-open .bb-menu-bars i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .bb-header.bb-help-header.is-menu-open .bb-menu-bars i:nth-child(2) { opacity: 0; }
  .bb-header.bb-help-header.is-menu-open .bb-menu-bars i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .bb-header.bb-help-header .bb-hsearch { order: 3; flex: 1 1 100%; max-width: none; margin: 0 0 10px !important; }
  .home .bb-header.bb-help-header .bb-hsearch { display: none; }
  .bb-header.bb-help-header .bb-nav, .bb-header.bb-help-header .bb-nav:last-child { display: none; position: fixed; left: 0; right: 0; top: 60px; bottom: 0; z-index: 9; margin: 0 !important; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); flex-direction: column; gap: 0; overflow-y: auto; background: #fff; font-size: 17px; font-weight: 700; white-space: normal; order: 4; flex-basis: auto; }
  .admin-bar .bb-header.bb-help-header .bb-nav { top: calc(60px + var(--wp-admin--admin-bar--height, 46px)); }
  .bb-header.bb-help-header.is-menu-open .bb-nav { display: flex; align-items: stretch; }
  .bb-header.bb-help-header .bb-nav > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--bb-line); }
  .bb-header.bb-help-header .bb-nav > a::after { content: "›"; color: var(--bb-sub); font-size: 22px; font-weight: 400; }
  .bb-header.bb-help-header .bb-nav > a.bb-nav-support { justify-content: center; margin-top: 20px; min-height: 54px; border: 0; border-radius: 999px; padding: 0 16px; }
  .bb-header.bb-help-header .bb-nav > a.bb-nav-support::after { content: none; }
}

/* ヘルプ：困ったときの道順（2026-11-15） */
.bb-help-trouble{max-width:var(--bb-wide);margin:28px auto 8px;padding:24px;border-radius:18px;background:linear-gradient(180deg,#f4f9fc,#fff);border:1px solid #dfe9f1}
.bb-trouble-head h2{margin:0 0 4px;font-size:20px}
.bb-trouble-head p{margin:0 0 16px;font-size:14px;color:#556274}
.bb-trouble-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bb-trouble-steps a{position:relative;display:flex;flex-direction:column;gap:6px;height:100%;padding:16px 16px 18px;border-radius:14px;background:#fff;border:1px solid #dfe9f1;color:#1c2533;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.bb-trouble-steps a:hover{transform:translateY(-2px);border-color:#9fd3e8;box-shadow:0 14px 30px -18px rgba(20,105,156,.5)}
.bb-trouble-steps strong{font-size:15px;line-height:1.45}
.bb-trouble-steps a>span:last-child{font-size:13px;line-height:1.6;color:#556274}
.bb-trouble-no{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e4f3f9;color:#14699c;font-weight:800;font-size:14px}
.bb-trouble-steps .is-main a{background:#14699c;border-color:#14699c;color:#fff}
.bb-trouble-steps .is-main a>span:last-child{color:#d6ebf5}
.bb-trouble-steps .is-main .bb-trouble-no{background:#f6a43c;color:#3a2a06}
.bb-help-trouble .bb-status{margin:16px 0 0}
@media (max-width:900px){.bb-trouble-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.bb-help-trouble{padding:18px 16px;border-radius:14px}.bb-trouble-steps{grid-template-columns:1fr}.bb-trouble-steps a{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:10px}.bb-trouble-steps strong{flex:1}.bb-trouble-steps a>span:last-child{flex-basis:100%}}

/* ヘルプ：検索の候補の見出しと「すべての記事から探す」 */
.bb-suggest-list .bb-suggest-head{padding:6px 10px 4px;font-size:11.5px;font-weight:700;letter-spacing:.06em;color:#6b7280}
.bb-suggest-list .bb-suggest-all{margin-top:4px;border-top:1px solid #eef2f5;padding-top:4px}
.bb-suggest-list .bb-suggest-all a{color:#14699c;font-weight:700}

/* ヘルプ：画面写真のライトボックス */
.bb-shot a{cursor:zoom-in}
html.bb-lb-open{overflow:hidden}
.bb-lb{position:fixed;inset:0;z-index:1000;background:rgba(10,22,34,.95);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 16px 16px;animation:bb-lb-in .18s ease-out}
.bb-lb[hidden]{display:none}
@keyframes bb-lb-in{from{opacity:0}to{opacity:1}}
.bb-lb-stage{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;overflow:auto}
.bb-lb-stage img{max-width:min(1280px,100%);max-height:100%;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 30px 80px -30px rgba(0,0,0,.7);cursor:zoom-in}
.bb-lb.is-zoom .bb-lb-stage{display:block}
.bb-lb.is-zoom .bb-lb-stage img{max-width:none;max-height:none;cursor:zoom-out}
.bb-lb-cap{margin:12px 0 0;color:#e3eef1;font-size:13px;text-align:center;display:flex;gap:12px;align-items:center}
.bb-lb-cap small{color:#93b2cc;font-variant-numeric:tabular-nums}
.bb-lb-close,.bb-lb-nav{position:absolute;display:grid;place-items:center;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;border-radius:50%;cursor:pointer;font:inherit;line-height:1}
.bb-lb-close{top:12px;right:12px;width:40px;height:40px;font-size:22px}
.bb-lb-nav{top:50%;width:44px;height:44px;margin-top:-22px;font-size:28px}
.bb-lb-prev{left:12px}.bb-lb-next{right:12px}
.bb-lb-close:hover,.bb-lb-nav:hover{background:rgba(255,255,255,.24)}
.bb-lb-nav[hidden]{display:none}
@media (max-width:560px){.bb-lb-nav{display:none}}
