/*
 * 株式会社ビクティ：共通スタイル
 *
 * - 色は明るいエメラルドグリーン（2026-10-18 先方決定。試作のA案・B案・C案からC案を採用）
 * - 想定読者はPCやWebの操作に慣れていない経営者。本文は大きめ・行間は広め・ボタンは高さ56px以上
 * - Lightning のCSSは functions.php で読み込みを外している
 */

/* ===== デザイントークン =====
 * 色の役割は3つに絞る（2026-10-17）
 *   メイン（--main 系）：見出し・アイコン・リンク・フッター
 *   温かさ・強調（--warm 系）：背景を塗るのは強みの帯だけ。お悩みのカードと吹き出しは縁取りのみ
 *   行動を促す（--accent）：お問い合わせのボタンとチェックマークだけ
 * セクションの背景は「白」と「地の色（--bg）」の交互にする
 * 白い文字が乗る --main は白との明暗差 3:1 以上、文字色に使う --main-deep は 4.5:1 以上を確保している
 */
:root {
  --main: #0BA77D; --main-deep: #067D61; --main-dark: #056B53; --main-soft: #D4F5E9; --main-line: rgba(11, 167, 125, 0.3);
  --accent: #D9892A; --accent-deep: #B96F17;
  --bg: #EEFAF5; --text: #1A2B26; --text-sub: #42605A; --line: rgba(11, 120, 90, 0.16);
  --radius: 20px; --radius-sm: 14px; --btn-radius: 999px;
  --warm: #FBF5EC; --warm-strong: #FCEBD9; --warm-line: #F1DCC0;
  --hero-overlay: radial-gradient(ellipse 60% 52% at 50% 50%, rgba(4, 84, 63, 0.66) 0%, rgba(4, 84, 63, 0.12) 100%), linear-gradient(135deg, rgba(20, 200, 150, 0.42) 0%, rgba(8, 150, 112, 0.4) 100%);
}

/* ===== リセット・基本 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; font-size: 1.0625rem; line-height: 2; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--main-deep); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.5; font-weight: 700; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bc-wrap { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.bc-nw { display: inline-block; }
.sp-only { display: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bc-skip { position: absolute; left: -9999px; top: 0; z-index: 3000; background: #fff; padding: 0.75rem 1.25rem; }
.bc-skip:focus { left: 1rem; top: 1rem; }


/* ===== ヘッダー ===== */
.bc-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .bc-header { top: 32px; }
.bc-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 2rem; }
.bc-logo { text-decoration: none; color: var(--main-dark); line-height: 1.35; }
.bc-logo-name { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em; }
.bc-logo-sub { display: block; font-size: 0.75rem; color: var(--text-sub); letter-spacing: 0.04em; }
.bc-nav ul { display: flex; align-items: center; gap: 0.5rem; }
.bc-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 0.75rem; font-size: 1rem; font-weight: 600; color: var(--text); text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap; }
.bc-nav a[aria-current="page"] { color: var(--main-deep); background: var(--main-soft); }
/* PC：「サービス・料金」の見出しは出さず、4つのサービスを横に並べる */
.bc-nav-group, .bc-nav-sub { display: flex; align-items: center; gap: 0.25rem; }
.bc-nav-parent { display: none !important; }
.bc-nav a:hover { color: var(--main); background: var(--main-soft); }
.bc-nav .bc-nav-cta a { background: var(--accent); color: #fff; padding: 0 1.5rem; border-radius: var(--btn-radius); margin-left: 0.5rem; }
.bc-nav .bc-nav-cta a:hover { background: var(--accent-deep); color: #fff; }
.bc-menu-btn { display: none; align-items: center; gap: 0.5rem; white-space: nowrap; flex-shrink: 0; min-height: 48px; padding: 0 0.875rem; background: var(--main-soft); color: var(--main-dark); border: none; border-radius: var(--radius-sm); font: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer; }
.bc-menu-icon { display: flex; flex-direction: column; gap: 4px; }
.bc-menu-icon span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.25s ease; }
.bc-menu-btn[aria-expanded="true"] .bc-menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bc-menu-btn[aria-expanded="true"] .bc-menu-icon span:nth-child(2) { opacity: 0; }
.bc-menu-btn[aria-expanded="true"] .bc-menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== ボタン ===== */
.bc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 56px; padding: 0.75rem 2rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; text-decoration: none; text-align: center; border-radius: var(--btn-radius); border: 2px solid transparent; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.bc-btn-lg { min-height: 64px; padding: 0.875rem 2.5rem; font-size: 1.1875rem; }
.bc-btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); }
.bc-btn-accent:hover { background: var(--accent-deep); color: #fff; }
.bc-btn-main { background: var(--main); color: #fff; }
.bc-btn-main:hover { background: var(--main-deep); color: #fff; }
.bc-btn-line { background: #fff; color: var(--main-deep); border-color: var(--main); }
.bc-btn-line:hover { background: var(--main-soft); }
.bc-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.bc-btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ===== セクション共通 ===== */
.bc-sec { padding: 120px 0; }
.bc-sec-white { background: #fff; }
.bc-sec-soft { background: var(--main-soft); }
.bc-sec-band { background: linear-gradient(180deg, var(--warm-strong) 0%, var(--warm) 100%); border-top: 1px solid var(--warm-line); border-bottom: 1px solid var(--warm-line); }
.bc-sec-head { text-align: center; margin-bottom: 4rem; }
/* 同じ地の色の節が続くとき（よくあるご質問 → お問い合わせ）は、細い線で区切る */
.bc-sec-joined { border-top: 1px solid var(--line); }
.bc-en { font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.22em; color: var(--main); text-transform: uppercase; margin-bottom: 0.5rem; }
/* 2026-10-19 試し：見出しの上の小さい英語（Worries・Reason など）を出さない。戻すときはこの行を消す */
.bc-en { display: none; }
.bc-title { font-size: clamp(1.625rem, 3.2vw, 2.125rem); color: var(--main-dark); letter-spacing: 0.04em; }
.bc-lead { margin-top: 1.25rem; color: var(--text-sub); }
.bc-note { font-size: 0.9375rem; color: var(--text-sub); line-height: 1.85; }
.bc-center { text-align: center; }
.bc-mt { margin-top: 2.5rem; }

/* ===== ヒーロー（sample3 のスライドショー＋中央だけ濃くするオーバーレイを踏襲） ===== */
.bc-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bc-hero-slides { position: absolute; inset: 0; }
.bc-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.bc-hero-slide.is-active { opacity: 1; }
.bc-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.bc-hero-overlay { position: absolute; inset: 0; z-index: 1; background: var(--hero-overlay); }
.bc-hero-body { position: relative; z-index: 2; text-align: center; color: #fff; padding: 4.5rem 1.5rem; max-width: 900px; }
.bc-hero-badge { display: inline-block; font-size: 0.9375rem; letter-spacing: 0.08em; padding: 0.375rem 1.25rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; margin-bottom: 1.75rem; line-height: 1.6; }
.bc-hero-title { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: 0.06em; line-height: 1.5; margin-bottom: 1.5rem; }
.bc-hero-sub { font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 2; margin-bottom: 2.5rem; }
.bc-hero-sub strong { border-bottom: 3px solid var(--accent); }
.bc-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.bc-hero-dots { display: flex; gap: 6px; justify-content: center; margin-top: 2.25rem; }
.bc-hero-dot { width: 28px; height: 28px; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.bc-hero-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.bc-hero-dot.is-active::before { background: #fff; }

/* ===== 下層ページの見出し ===== */
.bc-page-hero { background: linear-gradient(120deg, var(--main-dark) 0%, var(--main-deep) 55%, var(--main) 100%); color: #fff; padding: 4rem 0 3.5rem; }
.bc-crumb { font-size: 0.9375rem; margin-bottom: 1rem; opacity: 0.9; }
.bc-crumb a { color: #fff; }
.bc-page-hero[class*="bc-tone-"] { border-bottom: 6px solid var(--svc); }
.bc-page-hero-title { display: flex; align-items: center; gap: 1rem; }
.bc-page-hero-icon { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--svc, var(--main)); border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; display: flex; align-items: center; justify-content: center; }
@media (max-width: 640px) { .bc-page-hero-title { flex-direction: column; align-items: flex-start; gap: 0.75rem; } .bc-page-hero-icon { width: 48px; height: 48px; } .bc-page-hero-icon svg { width: 22px; height: 22px; } }
@media (max-width: 360px) { .bc-page-hero .bc-page-hero-title h1 { font-size: 1.625rem; } } /* 「クラウド会計ソフト」が320pxで1行に収まるように */
.bc-page-hero h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); letter-spacing: 0.05em; }
.bc-page-hero-sub { font-size: 1.0625rem; font-weight: 600; margin-top: 0.25rem; opacity: 0.95; }
.bc-page-hero p.bc-page-lead { max-width: 760px; margin-top: 1.25rem; opacity: 0.95; }
.bc-h2-bar { font-size: clamp(1.375rem, 2.6vw, 1.625rem); color: var(--main-dark); margin: 4.5rem 0 1.5rem; padding-left: 1rem; border-left: 5px solid var(--svc, var(--main)); }
.bc-h2-bar:first-child { margin-top: 0; }

/* ===== お悩み（チェックが入ったカード） ===== */
.bc-worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.bc-worry { display: flex; align-items: center; gap: 1.25rem; background: #fff; border: 2px solid var(--warm-line); border-radius: var(--radius); padding: 1.5rem 1.5rem; box-shadow: 0 8px 24px rgba(160, 110, 50, 0.08); }
/* イラスト入りのカード（試行中）：絵が目印になるのでチェックは出さず、中央そろえで大きく見せる。強調語句（em）だけ色を変える */
.bc-worry:has(.bc-worry-illust) { flex-direction: column; align-items: center; gap: 1.5rem; padding: 2.25rem 1.5rem 2rem; text-align: center; }
.bc-worry-illust { display: block; height: 140px; width: auto; max-width: 100%; }
.bc-worry-body { display: flex; align-items: center; gap: 1.25rem; }
.bc-worry:has(.bc-worry-illust) .bc-worry-side { display: none; }
.bc-worry:has(.bc-worry-illust) p { font-size: 1.25rem; line-height: 1.75; }
.bc-worry p em { font-style: normal; color: var(--accent-deep); }
.bc-worry-side { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.bc-worry-check { color: var(--accent); line-height: 0; }
.bc-worry-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--main-soft); color: var(--main); display: flex; align-items: center; justify-content: center; }
.bc-worry p { font-size: 1.1875rem; font-weight: 700; color: var(--text); line-height: 1.7; }
.bc-worry p span { display: block; white-space: nowrap; }
/* 1語句（全角10文字）が1行に収まる幅だけ列を増やす */
@media (max-width: 1099px) { .bc-worries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 759px) { .bc-worries { grid-template-columns: 1fr; } .bc-goal-illust { height: 120px; } .bc-worry:has(.bc-worry-illust) { padding: 1.75rem 1rem 1.5rem; gap: 1.125rem; } .bc-worry-illust { height: 120px; } }
@media (max-width: 380px) { .bc-worry p { font-size: 1.125rem; } }
@media (max-width: 360px) { .bc-worry { padding: 1.25rem 1rem; gap: 0.875rem; } .bc-worry-icon { width: 48px; height: 48px; } }
.bc-bubble { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3.5rem; }
.bc-bubble-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); flex-shrink: 0; }
.bc-bubble-text { position: relative; background: #fff; border: 2px solid var(--warm-line); border-radius: var(--radius); padding: 1.375rem 1.75rem; font-size: clamp(1.125rem, 2.2vw, 1.3125rem); font-weight: 700; color: var(--main-dark); line-height: 1.75; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.bc-bubble-text::before { content: ''; position: absolute; left: -10px; top: 50%; width: 16px; height: 16px; background: #fff; border-left: 2px solid var(--warm-line); border-bottom: 2px solid var(--warm-line); transform: translateY(-50%) rotate(45deg); }
.bc-down { display: flex; justify-content: center; color: var(--accent); margin-top: 2rem; }
/* お悩みの直後に出すお客様の声（短縮版） */
.bc-pick { margin-top: 3.5rem; padding: 2.5rem 2rem; background: var(--bg); border-radius: var(--radius); }
.bc-pick-title { text-align: center; font-size: clamp(1.25rem, 2.4vw, 1.5rem); color: var(--main-dark); margin-bottom: 1.75rem; }
.bc-pick-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
/* 声の一言を上に、写真と肩書きを下の段にそろえる（一言の長さが違っても下の段の高さがそろう） */
.bc-pick-item { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-sm); padding: 1.5rem 1.5rem 1.25rem; }
.bc-pick-quote { font-size: 1.125rem; font-weight: 700; color: var(--main-dark); line-height: 1.7; margin-bottom: 1rem; }
.bc-pick-who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 0.875rem; border-top: 1px dashed var(--line); }
.bc-pick-who .bc-voice-photo { width: 48px; height: 48px; }
.bc-pick-attr { font-size: 0.9375rem; color: var(--text-sub); line-height: 1.6; }
@media (max-width: 1000px) { .bc-pick-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bc-pick { padding: 1.75rem 1.25rem; } .bc-pick-item { padding: 1.25rem 1.25rem 1rem; } }

/* ===== 強み（帯で一段目立たせる） ===== */
.bc-area { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.75rem 1.25rem; width: fit-content; max-width: 100%; margin: -2rem auto 3rem; background: #fff; border-radius: 999px; padding: 0.625rem 2rem 0.625rem 0.625rem; box-shadow: 0 8px 24px rgba(160, 110, 50, 0.1); }
.bc-area-badge { display: inline-flex; align-items: center; gap: 0.375rem; background: var(--main-deep); color: #fff; border-radius: 999px; padding: 0.5rem 1.375rem 0.5rem 1.125rem; font-size: clamp(1.25rem, 2.6vw, 1.5rem); font-weight: 700; line-height: 1.4; }
.bc-area-text { font-size: 1.0625rem; font-weight: 700; color: var(--main-dark); }
.bc-strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.bc-strength { background: #fff; border-radius: var(--radius); padding: 2.5rem 2rem 2.25rem; text-align: center; box-shadow: 0 12px 32px rgba(160, 110, 50, 0.12); }
.bc-strength-icon { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; align-items: center; justify-content: center; background: var(--main); color: #fff; margin-bottom: 1.25rem; }
.bc-strength h3 { font-size: clamp(1.375rem, 2.4vw, 1.5rem); color: var(--main-dark); line-height: 1.5; margin-bottom: 1rem; }
.bc-strength p { text-align: left; color: var(--text); font-size: 1.0625rem; }

/* ===== 3つの「わかる」 ===== */
.bc-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
/* 3つの「わかる」：「解決」として、カードを緑以外の薄い黄色（クリーム）で塗る（2026-10-21 試行）。
   お悩みのカードは白地にオレンジの枠なので、こちらは地を塗って区別する */
.bc-goal { display: flex; flex-direction: column; align-items: center; background: linear-gradient(180deg, #FFF5CF 0%, #FFFCEF 100%); border: 2px solid rgba(225, 185, 70, 0.35); border-radius: var(--radius); padding: 2.75rem 2.25rem; text-align: center; box-shadow: 0 12px 30px rgba(170, 130, 30, 0.1); }
.bc-goal-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--main-soft); color: var(--main); margin-bottom: 1.25rem; }
.bc-goal-illust { display: block; width: auto; height: 150px; max-width: 100%; margin-bottom: 1.5rem; }
.bc-sec-head .bc-solution-lead { font-size: 1.1875rem; font-weight: 600; color: var(--text); line-height: 1.9; }
.bc-solution-lead strong { color: var(--main-deep); background: linear-gradient(transparent 62%, rgba(255, 213, 79, 0.55) 62%); }
.bc-goal h3 { font-size: 1.375rem; color: var(--main-dark); margin-bottom: 0.75rem; }
.bc-goal p { align-self: stretch; text-align: left; color: var(--text-sub); }
.bc-goal-how { margin-top: auto; padding-top: 1rem; border-top: 1px dashed rgba(200, 160, 60, 0.45); font-size: 0.9375rem; font-weight: 600; color: var(--main-deep); text-align: left; }
.bc-goal p:not(.bc-goal-how) { margin-bottom: 1.25rem; }

/* ===== 社外経理部・比較 ===== */
.bc-concept { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.bc-concept-title { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.75rem; line-height: 1.35; }
.bc-concept-pre { font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: var(--text-sub); font-weight: 700; margin-bottom: 0.5rem; }
.bc-concept-main { font-size: clamp(1.75rem, 3.2vw, 2.375rem); color: var(--main-dark); }
.bc-concept-key { font-size: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--main-dark); white-space: nowrap; }
.bc-concept-mark { font-size: clamp(2rem, 9.5vw, 3.5rem); color: var(--main); letter-spacing: 0.02em; background: linear-gradient(transparent 68%, var(--main-soft) 68%); }
.bc-concept-text p { color: var(--text-sub); margin-bottom: 1rem; }
.bc-concept-compare { max-width: 880px; margin: 4rem auto 0; }
.bc-concept-compare-title { text-align: center; font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--main-dark); margin-bottom: 1.25rem; }
.bc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bc-concept-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14); }
.bc-concept-photo img { width: 100%; height: 100%; object-fit: cover; }
.bc-compare { width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); font-size: 1rem; }
.bc-compare th, .bc-compare td { padding: 1rem 1.125rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.bc-compare thead th { background: #fff; font-size: 0.9375rem; color: var(--text-sub); }
.bc-compare thead th.us { background: var(--main); color: #fff; }
.bc-compare td.us { background: var(--main-soft); color: var(--main-dark); font-weight: 700; }
.bc-compare tbody tr:last-child th, .bc-compare tbody tr:last-child td { border-bottom: none; }
.bc-compare tbody th { white-space: nowrap; color: var(--main-dark); }
/* スマホ：3列の表は1〜2文字ごとに折り返して読めないため、項目ごとのカードにする。
   各セルの前に data-label の列名を出し、ビクティ側は緑で強調する */
@media (max-width: 640px) {
  .bc-compare, .bc-compare tbody, .bc-compare tr, .bc-compare th, .bc-compare td { display: block; width: 100%; }
  .bc-compare { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .bc-compare thead { display: none; }
  .bc-compare tr { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
  .bc-compare tr + tr { margin-top: 1rem; }
  .bc-compare tbody th { font-size: 1.0625rem; padding: 0.875rem 1.125rem; background: var(--bg); border-bottom: 1px solid var(--line); white-space: normal; }
  .bc-compare td { padding: 0.75rem 1.125rem; }
  .bc-compare td::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 700; color: var(--text-sub); margin-bottom: 0.125rem; }
  .bc-compare td.us::before { color: var(--main-deep); }
  .bc-compare tbody tr:last-child th { border-bottom: 1px solid var(--line); }
  .bc-compare tbody tr td:last-child { border-bottom: none; }
}

/* ===== サービス一覧 ===== */
.bc-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
/* サービスごとの色（2026-10-21 試行）：明るさ・鮮やかさをそろえた4色。アイコン・カード上の線・見出しの縦線など小さな目印だけに使う。
   オレンジ系はお問い合わせボタンの色なので使わない */
.bc-tone-bookkeeping { --svc: #0BA77D; }
.bc-tone-backoffice { --svc: #2196D3; }
.bc-tone-cloud-accounting { --svc: #6F8BE8; }
.bc-tone-finance { --svc: #9783E2; }
.bc-svc { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; text-decoration: none; color: var(--text); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.bc-svc { box-shadow: inset 0 5px 0 var(--svc, var(--main)); }
.bc-svc:hover { border-color: var(--svc, var(--main)); box-shadow: inset 0 5px 0 var(--svc, var(--main)), 0 12px 30px rgba(0, 0, 0, 0.08); }
.bc-svc-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--svc, var(--main)); color: #fff; display: flex; align-items: center; justify-content: center; }
.bc-svc-no { font-family: 'Inter', sans-serif; font-size: 0.8125rem; letter-spacing: 0.16em; color: var(--main); font-weight: 700; }
.bc-svc-no { display: none; } /* 2026-10-19 試し：「SERVICE 01」の番号を出さない。戻すときはこの行を消す */
.bc-svc h3 { font-size: 1.375rem; color: var(--main-dark); margin: 0.125rem 0 0.25rem; }
.bc-svc-sub { font-size: 0.9375rem; color: var(--text-sub); margin-bottom: 0.75rem; }
.bc-svc h3 + .bc-svc-text { margin-top: 0.75rem; }
.bc-svc > div { display: flex; flex-direction: column; }
.bc-svc-text { color: var(--text-sub); margin-bottom: 1.25rem; }
.bc-svc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.bc-svc-price { font-size: 1.1875rem; font-weight: 700; color: var(--main-dark); }
.bc-svc-price small { display: block; line-height: 1.5; font-size: 0.875rem; font-weight: 500; color: var(--text-sub); }
/* 詳細ページへの誘導（2026-10-21）：押せる場所だとわかるよう、塗りつぶして矢印を付ける。色が多くなりすぎないよう、4枚ともサイトの緑で統一する */
.bc-svc-more { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 1.25rem 0 1.5rem; border-radius: var(--btn-radius); background: var(--main-deep); color: #fff; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); transition: filter 0.2s ease; }
.bc-svc-arrow { flex-shrink: 0; transition: transform 0.2s ease; }
.bc-svc { transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.bc-svc:hover { transform: translateY(-4px); }
/* 料金の注記の長さでボタンの位置がずれないよう、ボタンは料金の下に横いっぱいで置く */
.bc-svc-foot { flex-direction: column; align-items: stretch; grid-column: 1 / -1; margin-top: 0; }
.bc-svc { grid-template-rows: 1fr auto; align-items: start; }
.bc-svc-foot .bc-svc-more { justify-content: center; }
.bc-svc:hover .bc-svc-more { filter: brightness(0.92); }
.bc-svc:hover .bc-svc-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .bc-svc, .bc-svc-arrow { transition: none; } .bc-svc:hover, .bc-svc:hover .bc-svc-arrow { transform: none; } }

/* ===== お客様像・実績 ===== */
.bc-clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bc-client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.bc-client h3 { font-size: 1.1875rem; color: var(--main-dark); margin-bottom: 0.75rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--main-soft); }
.bc-client li { position: relative; padding-left: 1.25rem; margin-bottom: 0.375rem; line-height: 1.75; }
.bc-client li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--main); }
/* 業種の囲み：地の色に薄い緑の枠。見出しは小見出しより大きく、セクションの見出しより小さく */
.bc-works-panel { margin-top: 4.5rem; background: var(--bg); border: 2px solid var(--main-line); border-radius: calc(var(--radius) + 8px); padding: 3rem 2.5rem 2.5rem; }
.bc-works-title { text-align: center; font-size: clamp(1.5rem, 3vw, 1.875rem); color: var(--main-dark); }
.bc-works-lead { text-align: center; color: var(--text-sub); margin: 0.5rem 0 2rem; }
.bc-works-note { text-align: center; font-weight: 700; color: var(--main-dark); margin-top: 1.75rem; }
@media (max-width: 640px) { .bc-works-panel { margin-top: 3rem; padding: 2rem 1rem 1.5rem; } }
/* 業種：上の段に大きい2分野、下の段に3分野（6列の格子を2列分・3列分ずつ使う） */
.bc-works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
.bc-works-card { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.75rem; }
.bc-works-card:nth-child(-n+2) { grid-column: span 3; }
.bc-works-card h4 { display: flex; align-items: center; gap: 0.625rem; font-size: 1.1875rem; color: var(--main-dark); margin-bottom: 1rem; padding-bottom: 0.875rem; border-bottom: 2px solid var(--main-soft); }
.bc-works-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--main); color: #fff; display: flex; align-items: center; justify-content: center; }
.bc-works-card ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bc-works-card li { background: var(--bg); border: 1px solid var(--main-line); border-radius: 999px; padding: 0.25rem 0.875rem; font-size: 0.9375rem; line-height: 1.7; color: var(--main-dark); }

/* ===== お客様の声（カルーセル） ===== */
.bc-voice-carousel { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; column-gap: 1rem; align-items: center; }
.bc-voice-carousel.is-static { grid-template-columns: minmax(0, 1fr); }
.bc-voice-carousel.is-static .bc-voice-btn, .bc-voice-carousel.is-static .bc-voice-dots { display: none; }
.bc-voices { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0.25rem; overscroll-behavior-x: contain; scrollbar-width: none; padding: 0.5rem 0.25rem 1.25rem; margin: 0 -0.25rem; }
.bc-voices::-webkit-scrollbar { display: none; }
.bc-voice { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.bc-voice-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.bc-voice-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--main-soft); color: var(--main); display: flex; align-items: center; justify-content: center; }
.bc-voice-photo img { width: 100%; height: 100%; object-fit: cover; }
.bc-voice-attr { font-size: 0.9375rem; color: var(--text-sub); line-height: 1.6; }
.bc-voice h3 { font-size: 1.125rem; color: var(--main-dark); line-height: 1.65; margin-bottom: 0.625rem; }
.bc-voice-text { font-size: 1rem; color: var(--text-sub); line-height: 1.9; }
.bc-voice-text p + p { margin-top: 0.75rem; }
.bc-voice-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--main-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
.bc-voice-btn:hover:not(:disabled) { background: var(--main); color: #fff; }
.bc-voice-btn:disabled { opacity: 0.3; cursor: default; }
.bc-voice-dots { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem; }
.bc-voice-dot { width: 32px; height: 32px; padding: 0; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bc-voice-dot::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--main-dark); opacity: 0.2; }
.bc-voice-dot[aria-current="true"]::before { opacity: 1; }

/* ===== よくあるご質問（開閉なしで、すべて見えるようにする） ===== */
.bc-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.bc-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.bc-faq dt, .bc-faq dd { display: flex; gap: 0.875rem; align-items: flex-start; }
.bc-faq dt { font-size: 1.125rem; font-weight: 700; color: var(--main-dark); line-height: 1.7; padding-bottom: 0.875rem; margin-bottom: 0.875rem; border-bottom: 1px dashed var(--line); }
.bc-faq dd { color: var(--text); line-height: 1.9; }
.bc-faq-mark { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--main); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1; }
.bc-faq-mark.is-a { background: var(--main-soft); color: var(--main-deep); }
@media (max-width: 900px) { .bc-faq { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bc-faq-item { padding: 1.25rem; } }
.bc-voice-empty { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 2.5rem 2rem; color: var(--text-sub); max-width: 720px; margin: 0 auto; }

/* ===== ご依頼の流れ ===== */
.bc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: flow; }
.bc-flow li { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--line); }
.bc-flow li:not(:last-child)::after { content: ''; position: absolute; right: -1.05rem; top: 50%; width: 0.7rem; height: 0.7rem; border-top: 3px solid var(--main); border-right: 3px solid var(--main); transform: translateY(-50%) rotate(45deg); }
.bc-flow-step { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--main); letter-spacing: 0.14em; font-size: 0.875rem; }
.bc-flow h3 { font-size: 1.1875rem; color: var(--main-dark); margin: 0.5rem 0; }
.bc-flow p { font-size: 1rem; color: var(--text-sub); line-height: 1.8; }

/* ===== 記帳は、融資への第一歩（2026-10-28） =====
 * 先方の要となる考え方なので、ページの中でここだけ濃い緑の帯にする。強調の色は「3つのわかる」と同じ黄色系
 * 4つのステップは「ご依頼の流れ」の部品を使い、ゴールの融資だけ黄色で塗る。下に「作業だけでも歓迎」の2枚を並べる */
.bc-sec-key { background: linear-gradient(135deg, var(--main-dark) 0%, var(--main-deep) 55%, #089A73 100%); color: #fff; }
.bc-key-eyebrow { display: inline-block; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; color: var(--main-dark); background: #FFE07A; border-radius: 999px; padding: 0.25rem 1.25rem; margin-bottom: 1rem; }
.bc-sec-key .bc-title { color: #fff; font-size: clamp(1.875rem, 4.4vw, 2.875rem); }
.bc-key-mark { color: #FFE07A; }
.bc-sec-key .bc-lead { color: rgba(255, 255, 255, 0.92); font-size: 1.125rem; font-weight: 600; }
.bc-road li { border: none; padding: 2.25rem 1.25rem 2rem; box-shadow: 0 14px 30px rgba(0, 40, 30, 0.22); }
.bc-road li:not(:last-child)::after { border-color: #fff; }
.bc-road-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--main-soft); color: var(--main-deep); margin-bottom: 0.75rem; }
.bc-road h3 { font-size: 1.375rem; }
.bc-road li.is-goal { background: linear-gradient(180deg, #FFF5CF 0%, #FFFCEF 100%); outline: 3px solid #FFD55A; outline-offset: -3px; }
.bc-road li.is-goal .bc-road-icon { background: #FFD55A; color: var(--main-dark); }
.bc-start { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 880px; margin: 3.5rem auto 0; }
.bc-start-card { background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 2rem; box-shadow: 0 14px 30px rgba(0, 40, 30, 0.22); }
.bc-start-card.is-next { border: 3px solid #FFD55A; }
.bc-start-label { display: inline-block; font-size: 0.875rem; font-weight: 700; color: var(--main-deep); background: var(--main-soft); border-radius: 999px; padding: 0.125rem 0.875rem; margin-bottom: 0.625rem; }
.bc-start-card h3 { font-size: 1.25rem; color: var(--main-dark); margin-bottom: 0.75rem; }
.bc-start-card li { display: flex; gap: 0.5rem; align-items: flex-start; line-height: 1.75; margin-bottom: 0.25rem; }
.bc-start-card svg { color: var(--main); flex-shrink: 0; margin-top: 0.25rem; width: 20px; height: 20px; }
.bc-start-note { text-align: center; font-size: clamp(1.125rem, 2.2vw, 1.375rem); font-weight: 700; color: #fff; margin-top: 2rem; }

/* ===== 顧問税理士の変更は不要（2026-10-28）。トップの「流れ」の下と、記帳代行ページ ===== */
.bc-taxadv { max-width: 880px; margin: 3.5rem auto 0; background: var(--bg); border: 2px solid var(--main-line); border-radius: var(--radius); padding: 2rem 2.25rem; text-align: center; }
.bc-taxadv-title { font-size: clamp(1.25rem, 2.4vw, 1.5rem); color: var(--main-dark); }
.bc-taxadv-lead { color: var(--text-sub); margin: 0.25rem 0 1.25rem; }
.bc-taxadv-text { color: var(--text-sub); margin-bottom: 1.5rem; }
.bc-taxadv-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: left; }
.bc-taxadv-points li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.125rem 1.25rem; }
.bc-taxadv-points b { display: block; color: var(--main-dark); font-size: 1.0625rem; margin-bottom: 0.25rem; }
.bc-taxadv-points span { display: block; font-size: 0.9375rem; color: var(--text-sub); line-height: 1.75; }
.bc-taxadv-more { margin-top: 1.25rem; font-size: 0.9375rem; font-weight: 700; }
@media (max-width: 760px) { .bc-start, .bc-taxadv-points { grid-template-columns: 1fr; } .bc-taxadv { padding: 1.5rem 1.25rem; text-align: left; } }

/* ===== 代表・会社概要 ===== */
.bc-ceo { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
.bc-ceo-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); }
.bc-ceo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bc-ceo-role { color: var(--main); font-weight: 700; }
.bc-ceo-name { font-size: 2rem; color: var(--main-dark); letter-spacing: 0.12em; margin-bottom: 1.25rem; }
.bc-ceo-name small { font-size: 0.875rem; color: var(--text-sub); letter-spacing: 0.08em; margin-left: 0.75rem; font-weight: 500; }
.bc-ceo-catch { font-size: 1.3125rem; font-weight: 700; color: var(--main-dark); line-height: 1.7; margin-bottom: 1.25rem; }
.bc-ceo-text p { margin-bottom: 1.125rem; }
.bc-profile { margin-top: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.bc-profile h3 { font-size: 1.125rem; color: var(--main-dark); margin-bottom: 0.75rem; }
.bc-profile dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 0.5rem 1rem; font-size: 1rem; line-height: 1.75; }
.bc-profile dt { font-weight: 700; color: var(--main-deep); }
.bc-company { width: 100%; max-width: 880px; margin: 0 auto; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.bc-company th, .bc-company td { padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.bc-company tr:last-child th, .bc-company tr:last-child td { border-bottom: none; }
.bc-company th { width: 10em; background: var(--main-soft); color: var(--main-dark); font-weight: 700; }

/* ===== お問い合わせフォーム（Contact Form 7） ===== */
.bc-contact-lead { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; }
.bc-bubble-contact { margin: 0 auto 2.5rem; max-width: 820px; }
.bc-form { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 3rem; border: 1px solid var(--line); }
.bc-form .wpcf7-form > p, .bc-form .bc-field { margin: 0 0 1.75rem; }
.bc-form label { display: block; font-weight: 700; color: var(--main-dark); font-size: 1.0625rem; }
.bc-form .wpcf7-form-control-wrap { display: block; margin-top: 0.5rem; }
.bc-req, .bc-opt { display: inline-block; font-size: 0.8125rem; line-height: 1.6; border-radius: 4px; padding: 0 8px; margin-left: 0.5rem; vertical-align: 2px; font-weight: 700; }
.bc-req { background: #B3412F; color: #fff; }
.bc-opt { background: var(--bg); color: var(--text-sub); border: 1px solid var(--line); }
.bc-form .bc-hint { display: block; font-size: 0.875rem; font-weight: 400; color: var(--text-sub); margin-top: 0.125rem; }
.bc-form input[type="text"], .bc-form input[type="email"], .bc-form input[type="tel"], .bc-form select, .bc-form textarea {
  width: 100%; min-height: 56px; padding: 0.75rem 1rem; border: 2px solid rgba(0, 0, 0, 0.18); border-radius: var(--radius-sm); font: inherit; font-size: 1.0625rem; color: var(--text); background: #fff;
}
.bc-form input:focus, .bc-form select:focus, .bc-form textarea:focus { border-color: var(--main); outline: none; box-shadow: 0 0 0 4px var(--main-soft); }
.bc-form textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.bc-form .wpcf7-acceptance { display: block; background: var(--bg); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }
.bc-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 600; cursor: pointer; }
.bc-form .wpcf7-acceptance input[type="checkbox"] { width: 24px; height: 24px; margin-top: 0.3rem; flex-shrink: 0; accent-color: var(--main); }
.bc-form .wpcf7-turnstile { margin: 1.5rem 0; }  /* Cloudflare Turnstile（迷惑送信対策）。CF7 の連携設定にキーを入れると表示される */
.bc-form .wpcf7-list-item { margin: 0; }
.bc-form .bc-label { display: block; font-weight: 700; color: var(--main-dark); font-size: 1.0625rem; }
/* ご相談のサービス：押しやすいよう1行ずつの大きな枠にする */
.bc-form .wpcf7-checkbox { display: grid; gap: 0.5rem; }
.bc-form .wpcf7-checkbox label { display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.625rem 1rem; border: 2px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--text); cursor: pointer; }
.bc-form .wpcf7-checkbox label:has(input:checked) { border-color: var(--main); background: var(--main-soft); }
.bc-form .wpcf7-checkbox input[type="checkbox"] { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--main); }
.bc-form input[type="submit"] { display: block; width: 100%; max-width: 420px; min-height: 64px; margin: 0 auto; background: var(--accent); color: #fff; border: none; border-radius: var(--btn-radius); font: inherit; font-size: 1.1875rem; font-weight: 700; letter-spacing: 0.08em; cursor: pointer; }
.bc-form input[type="submit"]:hover { background: var(--accent-deep); }
.bc-form .wpcf7-spinner { display: block; margin: 0.75rem auto 0; }
.bc-form .wpcf7-not-valid-tip { font-size: 0.9375rem; color: #B3412F; font-weight: 700; margin-top: 0.375rem; }
.bc-form .wpcf7-response-output { border: none !important; border-radius: var(--radius-sm) !important; padding: 1rem 1.25rem !important; margin: 1.5rem 0 0 !important; background: #FBEDEA; color: #8E2F21; font-weight: 700; }
.bc-form .wpcf7-form.init .wpcf7-response-output { display: none; }
/* 開発中（blog_public 0）は送信不可。判定は functions.php の sakuway_form_locked() */
.bc-form.is-locked input[type="submit"], .bc-form.is-locked input[type="submit"]:hover { background: #9AA3A0; cursor: not-allowed; }
.bc-form-locked-note { text-align: center; font-size: 0.9375rem; color: var(--text-sub); margin-top: 0.75rem; }

/* ===== 料金プラン（サービスページ） ===== */
.bc-fit { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bc-fit li { display: flex; gap: 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.125rem 1.375rem; font-weight: 600; line-height: 1.75; }
.bc-fit svg { color: var(--main); flex-shrink: 0; margin-top: 0.25rem; }
.bc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.bc-plans.cols-2 { grid-template-columns: repeat(2, 1fr); }
.bc-plans.cols-1 { grid-template-columns: 1fr; max-width: 720px; }
.bc-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem 1.75rem 1.75rem; display: flex; flex-direction: column; }
.bc-plan.is-featured { border: 3px solid var(--main); }
.bc-plan-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--main); color: #fff; font-size: 0.875rem; font-weight: 700; padding: 0.25rem 1.125rem; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.bc-plan-type { font-size: 0.9375rem; color: var(--main); font-weight: 700; }
.bc-plan h3 { font-size: 1.5rem; color: var(--main-dark); }
.bc-plan-target { font-size: 0.9375rem; color: var(--text-sub); margin: 0.25rem 0 1rem; line-height: 1.7; }
.bc-price { background: var(--bg); border-radius: var(--radius-sm); padding: 1rem 1.125rem; margin-bottom: 1.25rem; }
.bc-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.bc-price-row + .bc-price-row { border-top: 1px dashed var(--line); margin-top: 0.625rem; padding-top: 0.625rem; }
.bc-price-row > span { font-size: 0.9375rem; color: var(--text-sub); }
.bc-price-row b { font-family: 'Inter', 'Noto Sans JP', sans-serif; font-size: 1.75rem; color: var(--main-dark); text-align: right; line-height: 1.25; }
.bc-price-row b small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text-sub); }
.bc-price-note { font-size: 0.875rem; color: var(--text-sub); margin-top: 0.5rem; line-height: 1.7; }
.bc-plan ul { flex: 1; }
.bc-plan li { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; line-height: 1.7; }
.bc-plan li svg { flex-shrink: 0; color: var(--main); margin-top: 0.3rem; }
.bc-plan li.is-sub { color: var(--text-sub); font-size: 0.9375rem; }
.bc-plan-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--text-sub); line-height: 1.7; }
.bc-plan-foot b { display: block; color: var(--text); }
/* カードの中の段（種類・名前・料金・内容・補足）の高さを、横に並ぶカード同士でそろえる */
.bc-plans.is-aligned > .bc-plan { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
.bc-plans.is-aligned .bc-plan h3 { margin-bottom: 0.75rem; }

/* 記帳代行：ミニマムを大きく見せ、スタンダード・プレミアムは小さく併記する */
.bc-plan-main { border: 3px solid var(--main); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding: 2.75rem 2.5rem 2.25rem; box-shadow: 0 14px 36px rgba(6, 125, 97, 0.14); }
.bc-plan-main .bc-plan-badge { left: 2.5rem; transform: none; font-size: 1rem; padding: 0.25rem 1.5rem; }
.bc-plan-main h3 { font-size: clamp(1.875rem, 3.4vw, 2.25rem); line-height: 1.3; }
.bc-plan-main .bc-plan-target { font-size: 1.0625rem; font-weight: 700; color: var(--main-dark); }
.bc-plan-main .bc-price { margin-bottom: 0; padding: 1.25rem 1.375rem; }
.bc-plan-main .bc-price-row b { font-size: clamp(2rem, 3.6vw, 2.5rem); }
.bc-plan-main-body { display: flex; flex-direction: column; }
.bc-plan-main-label { font-weight: 700; color: var(--main-dark); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--main-soft); }
.bc-plan-main li { font-size: 1.0625rem; }
.bc-plans-more-title { margin: 3rem 0 1rem; font-weight: 700; color: var(--text-sub); }
.bc-plan.is-compact { padding: 1.5rem 1.5rem 1.25rem; background: #fff; }
.bc-plan.is-compact .bc-plan-type { font-size: 0.875rem; }
.bc-plan.is-compact h3 { font-size: 1.25rem; }
.bc-plan.is-compact .bc-plan-target { font-size: 0.875rem; margin-bottom: 0.75rem; }
.bc-plan.is-compact .bc-price { padding: 0.625rem 1rem; margin-bottom: 0.875rem; }
.bc-plan.is-compact .bc-price-row b { font-size: 1.375rem; }
.bc-plan.is-compact li { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.bc-plan.is-compact .bc-plan-foot { font-size: 0.875rem; margin-top: 0.875rem; padding-top: 0.75rem; }
@media (max-width: 760px) {
  .bc-plan-main { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 1.25rem 1.5rem; }
  .bc-plan-main .bc-plan-badge { left: 1.25rem; }
}
.bc-opt-table { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bc-opt-table th, .bc-opt-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.75; }
.bc-opt-table thead th { background: var(--main-soft); color: var(--main-dark); font-size: 0.9375rem; }
.bc-opt-table tbody th { font-weight: 700; }
.bc-opt-table td.price { font-weight: 700; color: var(--main-deep); white-space: nowrap; }
.bc-contract-notes { max-width: 880px; margin: 2rem auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.5rem; color: var(--text-sub); }
.bc-contract-notes.is-left { margin-left: 0; }
.bc-contract-scope { color: var(--main-dark); font-weight: 700; }
/* サービスページ：料金のすぐ下の相談ボタン（控えめな枠線のボタン） */
.bc-svc-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; padding: 1.5rem 1.75rem; background: #fff; border: 2px solid var(--main-line); border-radius: var(--radius); }
.bc-svc-ask p { flex: 1 1 280px; font-weight: 700; color: var(--main-dark); line-height: 1.8; }
.bc-svc-ask p small { display: block; font-size: 0.9375rem; font-weight: 400; color: var(--text-sub); }
@media (max-width: 640px) { .bc-svc-ask { padding: 1.25rem; } .bc-svc-ask .bc-btn { width: 100%; } }
.bc-contract-notes h3 { font-size: 0.9375rem; color: var(--text); margin-bottom: 0.375rem; }
.bc-contract-notes li { position: relative; padding-left: 1.1em; font-size: 0.875rem; line-height: 1.8; }
.bc-contract-notes li::before { content: '・'; position: absolute; left: 0; top: 0; }
@media (max-width: 640px) { .bc-contract-notes { padding: 0.875rem 1rem; } }
.bc-notes { margin-top: 1.5rem; background: #fff; border-left: 5px solid var(--main); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.125rem 1.5rem; font-size: 0.9375rem; color: var(--text-sub); line-height: 1.85; }
.bc-terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bc-terms div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.125rem 1.375rem; }
.bc-terms dt { font-weight: 700; color: var(--main-dark); }
.bc-terms-yomi { font-size: 0.875rem; font-weight: 500; color: var(--text-sub); }
.bc-terms dd { font-size: 1rem; color: var(--text-sub); line-height: 1.8; }
.bc-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bc-related a { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.5rem 1.5rem 1.25rem; text-decoration: none; color: var(--text-sub); line-height: 1.6; box-shadow: inset 0 4px 0 var(--svc, var(--main)); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.bc-related a:hover { border-color: var(--svc, var(--main)); box-shadow: inset 0 4px 0 var(--svc, var(--main)), 0 10px 24px rgba(0, 0, 0, 0.07); transform: translateY(-3px); }
.bc-related-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--svc, var(--main)); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.bc-related a b { display: block; color: var(--main-dark); font-size: 1.0625rem; line-height: 1.5; margin-bottom: 0.5rem; }
.bc-related-price { font-size: 0.9375rem; font-weight: 700; color: var(--main-dark); }
.bc-related-price small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text-sub); }
.bc-related-more { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: auto; padding-top: 1rem; font-size: 0.9375rem; font-weight: 700; color: var(--main-deep); }
.bc-related-more svg { transition: transform 0.2s ease; }
.bc-related a:hover .bc-related-more svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .bc-related a, .bc-related-more svg { transition: none; } .bc-related a:hover, .bc-related a:hover .bc-related-more svg { transform: none; } }
.bc-back { text-align: center; margin-top: 3.5rem; }

/* ===== 本文（プライバシーポリシー・送信完了） ===== */
.bc-prose { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 3rem; border: 1px solid var(--line); }
.bc-prose h2 { font-size: 1.3125rem; color: var(--main-dark); margin: 2.5rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--main-soft); }
.bc-prose h2:first-child { margin-top: 0; }
.bc-prose p, .bc-prose ul, .bc-prose ol { margin-bottom: 1rem; }
.bc-prose ul { list-style: disc; padding-left: 1.5em; }
.bc-prose ol { list-style: decimal; padding-left: 1.5em; }
.bc-prose .bc-tbc { background: #FFF3CD; color: #7A5200; padding: 0 0.25em; border-radius: 3px; font-weight: 700; }
.bc-thanks { text-align: center; }
.bc-thanks-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--main-soft); color: var(--main); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.bc-thanks h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); color: var(--main-dark); margin-bottom: 1.25rem; border: none; padding: 0; }

/* ===== CTA帯・フッター ===== */
.bc-cta-band { background: linear-gradient(120deg, var(--main-dark) 0%, var(--main-deep) 60%, var(--main) 100%); color: #fff; padding: 88px 0; text-align: center; }
.bc-cta-band h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 1rem; }
.bc-cta-band p { margin-bottom: 2rem; opacity: 0.95; }
.bc-footer { background: var(--main-dark); color: #fff; padding: 4rem 0 2rem; }
.bc-footer-inner { display: grid; grid-template-columns: 1.1fr 2fr; gap: 3rem; }
.bc-footer-name { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em; }
.bc-footer-info { font-size: 0.9375rem; opacity: 0.9; margin-top: 1rem; line-height: 2; }
.bc-footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 2rem; }
.bc-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; opacity: 0.9; text-decoration: none; font-size: 1rem; }
.bc-footer-nav a:hover { opacity: 1; text-decoration: underline; }
.bc-footer-copy { text-align: center; font-size: 0.8125rem; opacity: 0.7; margin-top: 3rem; }

/* ===== レスポンシブ ===== */
@media (max-width: 1000px) {
  .bc-goals, .bc-strengths, .bc-clients, .bc-plans { grid-template-columns: 1fr 1fr; }
  .bc-works { grid-template-columns: 1fr 1fr; }
  .bc-works-card, .bc-works-card:nth-child(-n+2) { grid-column: auto; }
  .bc-works-card:last-child { grid-column: 1 / -1; }
  .bc-voice { flex-basis: calc((100% - 1.5rem) / 2); }
  .bc-flow { grid-template-columns: 1fr 1fr; }
  .bc-flow li:nth-child(2)::after { display: none; }
}
/* スマホ：画面下に常に出すお問い合わせの帯。最初のボタン・フォーム・誘導帯が見えている間は隠す */
.bc-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.bc-sp-cta { display: none; }
@media (max-width: 900px) {
  .bc-sp-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08); padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px)); transition: transform 0.25s ease, visibility 0.25s; }
  .bc-sp-cta .bc-btn { width: 100%; }
  .bc-sp-cta.is-hidden, .bc-menu-open .bc-sp-cta { transform: translateY(110%); visibility: hidden; }
  .bc-footer-copy { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .bc-sp-cta { transition: none; } }
/* メニューが1行に収まらない幅（1100px以下）では「メニュー」ボタンにまとめる */
@media (max-width: 1100px) {
  .bc-menu-btn { display: inline-flex; }
  .bc-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); max-height: calc(100vh - 80px); overflow-y: auto; }
  .bc-nav.is-open { display: block; }
  .bc-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.25rem; }
  .bc-nav .bc-nav-group, .bc-nav .bc-nav-sub { display: block; }
  .bc-nav-parent { display: flex !important; }
  .bc-nav-sub a { padding-left: 2rem; }
  .bc-nav a { min-height: 56px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .bc-nav-sub a { font-size: 1rem; }
  .bc-nav .bc-nav-cta a { justify-content: center; margin: 1rem 0 0; border-radius: var(--btn-radius); border-bottom: none; }
}
@media (max-width: 900px) {
  .bc-concept, .bc-ceo { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .bc-ceo-photo { max-width: 320px; margin: 0 auto; }
  .bc-services, .bc-related, .bc-plans.cols-2 { grid-template-columns: 1fr; }
  .bc-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .sp-only { display: inline; }
  .bc-wrap { padding: 0 1.25rem; }
  .bc-header-inner { padding: 0.625rem 1.25rem; }
  .bc-logo-name { font-size: 1.125rem; }
  .bc-sec { padding: 80px 0; }
  .bc-sec-head { margin-bottom: 2.5rem; }
  .bc-works { grid-template-columns: 1fr; }
  .bc-works-card:last-child { grid-column: auto; }
  .bc-worries, .bc-goals, .bc-strengths, .bc-clients, .bc-plans, .bc-fit, .bc-terms, .bc-flow { grid-template-columns: 1fr; }
  .bc-worry { padding: 1.25rem 1.5rem; }
  .bc-bubble { flex-direction: column; gap: 1rem; text-align: center; }
  .bc-bubble-photo { width: 104px; height: 104px; }
  .bc-bubble-text::before { left: 50%; top: -10px; border-left: 2px solid var(--warm-line); border-top: 2px solid var(--warm-line); border-bottom: none; transform: translateX(-50%) rotate(45deg); }
  .bc-area { margin: -1.5rem auto 2rem; border-radius: var(--radius); padding: 1rem 1.25rem; flex-direction: column; gap: 0.5rem; text-align: center; }
  .bc-flow li::after { display: none; }
  .bc-road { gap: 2rem; }
  .bc-road li:not(:last-child)::after { display: block; right: auto; left: 50%; top: auto; bottom: -1.45rem; transform: translateX(-50%) rotate(135deg); }
  /* スマホ：アイコンを左、文字を右に並べてカードを低くする */
  .bc-road li { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; align-items: center; padding: 1.25rem 1.25rem; }
  .bc-road-icon { grid-row: 1 / 4; width: 56px; height: 56px; margin-bottom: 0; }
  .bc-road h3 { margin: 0.125rem 0; }
  .bc-voice-carousel { grid-template-columns: minmax(0, 1fr); }
  .bc-voice-btn { display: none; }
  .bc-voice { flex-basis: 88%; }
  .bc-svc { grid-template-columns: 1fr; padding: 1.5rem; }
  .bc-svc-more { width: 100%; justify-content: center; }
  .bc-hero-actions .bc-btn { width: 100%; }
  .bc-btn-lg { width: 100%; padding: 0.875rem 1.25rem; }
  .bc-form, .bc-prose { padding: 1.75rem 1.25rem; }
  .bc-company th, .bc-company td { display: block; width: 100%; }
  .bc-company th { padding-bottom: 0.5rem; }
  .bc-company td { padding-top: 0.5rem; }
  .bc-opt-table, .bc-opt-table tbody, .bc-opt-table tr, .bc-opt-table th, .bc-opt-table td { display: block; width: 100%; }
  .bc-opt-table thead { display: none; }
  .bc-opt-table tr { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
  .bc-opt-table th, .bc-opt-table td { border: none; padding: 0.25rem 1.25rem; }
  .bc-profile dl { grid-template-columns: 1fr; gap: 0; }
  .bc-profile dd { margin-bottom: 0.625rem; }
  .bc-footer-nav { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
  .admin-bar .bc-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bc-hero-slide { transition: none; }
}

/* 320px前後のスマホ：ロゴを1行に収める */
@media (max-width: 360px) {
  .bc-header-inner { gap: 0.5rem; }
  .bc-logo-name { font-size: 1.0625rem; letter-spacing: 0.02em; white-space: nowrap; }
  .bc-logo-sub { font-size: 0.6875rem; letter-spacing: 0; white-space: nowrap; }
  .bc-menu-btn { padding: 0 0.625rem; }
}

/* スマホ：3行以上に折り返す説明文は左揃えにする（見出しは中央のまま。PCでは1〜2行に収まるので中央のまま） */
@media (max-width: 640px) {
  .bc-sec-head .bc-lead, .bc-works-lead, p.bc-note.bc-center, .bc-contact-lead, .bc-cta-band p, .bc-thanks p, .bc-bubble-text, .bc-flow li { text-align: left; }
  .bc-cta-band p br, .bc-sec-head .bc-lead br, .bc-contact-lead br { display: none; }
}

