/* =========================================================
   法人ページ（ちょい真面目風）― bash.css の上に重ねる
   相手 : 総務・施設管理・不動産管理のご担当者。仕事は「安心して見積りを依頼してもらう」こと。
   色   : 紙（背景）／インク（文字）／深いBASH紫（見出し・ボタン）。黄色とずらし影は使わない。
   書体 : 本文も見出しも BIZ UDPゴシック。ロゴだけ Unbounded。
   配置 : 左揃え・書類のような構成。カードを並べず、表と罫線で整理する。
   主役 : ヒーロー右の「会社概要シート」（見積書のような体裁＋BASHの社印）。他は静かに。
   ========================================================= */
body.biz {
  --b-paper: #faf9fd;
  --b-band: #f1edf9;
  --b-ink: #1c1636;
  --b-sub: #5f587a;
  --b-rule: #ded7ee;
  --b-purple: #4a1fa6;
  --b-purple-soft: #e9e2f8;
  background: var(--b-paper);
  color: var(--b-ink);
  color-scheme: light;
}
body.biz header.site, body.biz .mockbar { color: #f5f1ff; }
body.biz h1, body.biz h2, body.biz h3 { font-family: var(--f-body); font-weight: 700; }
body.biz .ph { color: var(--b-sub); border-width: 1.5px; }
body.biz .todo { color: #9a3a0e; background: #fff1e8; border-color: #9a3a0e; }
body.biz :focus-visible { outline-color: var(--b-purple); }

/* ボタン */
.b-btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 8px 24px; border-radius: 8px; font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.3; border: 2px solid var(--b-purple); cursor: pointer; }
.b-btn small { display: block; font-size: 12px; font-weight: 400; }
.b-btn i { font-style: normal; display: inline-block; }
.b-btn-main { background: var(--b-purple); color: #ffffff; }
.b-btn-main:hover { background: #3a1785; border-color: #3a1785; }
.b-btn-sub { background: #ffffff; color: var(--b-purple); }
.b-btn-sub:hover { background: var(--b-purple-soft); }
.b-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* セクション */
.b-sec { padding-block: 64px; border-top: 1px solid var(--b-rule); }
.b-sec.band { background: var(--b-band); }
.b-head { display: grid; gap: 12px; margin-bottom: 28px; max-width: 720px; }
.b-head h2 { font-size: clamp(24px, 3.4vw, 32px); padding-left: 14px; border-left: 6px solid var(--b-purple); line-height: 1.35; }

/* ヒーロー */
.b-hero { padding-block: 48px 56px; }
.b-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .b-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.b-hero .lead { display: grid; gap: 16px; min-width: 0; }
.b-hero .for { font-weight: 700; color: var(--b-purple); }
.b-hero .b-catch { font-family: var(--f-body); font-weight: 700; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.35; letter-spacing: .02em; color: var(--b-ink); }
.b-hero .b-sub { font-size: 17px; line-height: 1.8; color: var(--b-sub); max-width: 34em; }

/* 会社概要シート（見積書のような体裁） */
.sheet { position: relative; background: #ffffff; border: 1px solid var(--b-rule); border-radius: 6px; box-shadow: 0 1px 0 var(--b-rule), 0 18px 40px -24px rgba(74, 31, 166, .45); overflow: hidden; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--b-purple); color: #ffffff; padding: 12px 18px; }
.sheet-top b { font-size: 16px; letter-spacing: .08em; }
.sheet-top span { font-family: var(--f-logo); font-weight: 900; font-size: 18px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sheet th, .sheet td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--b-rule); vertical-align: top; }
.sheet th { width: 34%; color: var(--b-sub); font-weight: 700; white-space: nowrap; }
.sheet td { font-variant-numeric: tabular-nums; }
.sheet td .ph { display: inline-grid; padding: 2px 8px; font-size: 13px; }
.sheet tr:last-child th, .sheet tr:last-child td { border-bottom: 0; }
.sheet tr:last-child td { padding-right: 100px; }
.seal { position: absolute; right: 14px; bottom: 12px; width: 84px; height: 84px; border: 3px solid rgba(74, 31, 166, .55); border-radius: 50%; display: grid; place-items: center; transform: rotate(-12deg); color: rgba(74, 31, 166, .6); }
.seal svg { width: 50px; height: auto; color: inherit; --boar-w: 36px; margin-top: -10px; }
.seal::after { content: "BASH"; position: absolute; bottom: 10px; font-family: var(--f-logo); font-weight: 900; font-size: 10px; letter-spacing: .1em; }
/* スマホでは項目名を上、内容を下に並べる */
@media (max-width: 520px) { .seal { width: 64px; height: 64px; } .seal svg { width: 42px; } .sheet th, .sheet td { display: block; width: auto; padding: 10px 14px; } .sheet th { padding-bottom: 0; border-bottom: 0; font-size: 12px; } .sheet td { padding-top: 2px; } .sheet tr:last-child td { padding-right: 76px; } }

/* 対応できる作業（罫線のリスト） */
.b-works { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--b-ink); }
@media (max-width: 760px) { .b-works { grid-template-columns: 1fr; } }
.b-works li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--b-rule); }
.b-works h3 { font-size: 19px; }

/* 請求書（インボイス）の表 */
.b-table-wrap { overflow-x: auto; }
.b-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #ffffff; border: 1px solid var(--b-rule); }
.b-table th, .b-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--b-rule); vertical-align: top; }
.b-table th { width: 26%; background: var(--b-band); font-weight: 700; }
.b-table .reg { font-weight: 700; font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* エリア別の実績（表） */
.b-area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
@media (max-width: 760px) { .b-area { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .b-table { min-width: 0; } .b-table th, .b-table td { display: block; width: auto; padding: 10px 14px; } .b-table td { border-top: 0; } .b-table .reg { font-size: 16px; } }
.b-area .big { font-size: clamp(24px, 3vw, 30px); font-weight: 700; line-height: 1.4; }
.area-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 24px; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--b-ink); }
.area-list li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--b-rule); font-variant-numeric: tabular-nums; }
.area-list li b { color: var(--b-purple); }
.area-list li b { white-space: nowrap; }
.area-list li small { display: block; font-size: 12px; color: var(--b-sub); }

/* 流れ（番号つきの手順） */
.b-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; position: relative; }
.b-flow::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--b-rule); }
.b-flow li { counter-increment: s; display: grid; gap: 10px; justify-items: start; position: relative; padding-right: 12px; }
.b-flow li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: #ffffff; border: 2px solid var(--b-purple); color: var(--b-purple); font-weight: 700; font-size: 18px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.b-flow b { font-size: 17px; }
@media (max-width: 760px) {
  .b-flow { grid-template-columns: 1fr; gap: 14px; }
  .b-flow::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .b-flow li { grid-template-columns: 44px 1fr; align-items: center; gap: 14px; }
}

/* よくある質問 */
.b-faq { border-top: 2px solid var(--b-ink); }
.b-faq details { border-bottom: 1px solid var(--b-rule); }
.b-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; }
.b-faq details .ph { margin-bottom: 16px; }

/* フォーム */
.b-form { display: grid; gap: 16px; background: #ffffff; border: 1px solid var(--b-rule); border-top: 4px solid var(--b-purple); border-radius: 6px; padding: 26px; max-width: 860px; }
.b-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.b-form .req { display: inline-block; margin-left: 8px; font-size: 11px; color: #ffffff; background: var(--b-purple); border-radius: 3px; padding: 0 6px; vertical-align: 2px; }
.b-form input, .b-form select, .b-form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #bfb5da; border-radius: 6px; background: #ffffff; color: var(--b-ink); width: 100%; }
.b-form input:focus, .b-form select:focus, .b-form textarea:focus { outline: 2px solid var(--b-purple); outline-offset: 0; border-color: var(--b-purple); }
.b-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .b-form .two { grid-template-columns: 1fr; } }
.b-form .done { background: var(--b-purple-soft); border-radius: 6px; padding: 10px 12px; font-weight: 700; }
.b-form .note { font-size: 13px; color: var(--b-sub); }

/* 最後の問い合わせ */
.b-contact { background: var(--b-ink); color: #ffffff; }
.b-contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .b-contact .wrap { grid-template-columns: 1fr; } }
.b-contact .ph { color: #cdbaff; }
.b-contact .tel { font-size: clamp(28px, 5vw, 40px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.b-contact .b-btn-sub { background: transparent; color: #ffffff; border-color: #ffffff; }

body.biz footer { color: var(--b-sub); }
body.biz .fixed { background: #ffffff; border-top: 1px solid var(--b-rule); }
body.biz .fixed .b-btn { min-height: 50px; }

/* 上へ戻るボタン：法人ページは白地に紫の細い枠 */
body.biz .to-top { border: 1px solid var(--b-purple); background: #ffffff; color: var(--b-purple); box-shadow: 0 2px 10px rgba(18, 6, 40, .15); border-radius: 8px; }
body.biz .to-top:hover { background: var(--b-purple); color: #ffffff; }
body.biz .to-top:active { transform: translateY(1px); box-shadow: 0 1px 4px rgba(18, 6, 40, .2); }

body.biz .back-home { padding-top: 32px; border-top: 1px solid var(--b-rule); }
body.biz .back-home .b-btn { border: 1px solid var(--b-purple); min-width: 260px; }

/* LINE のボタン（法人ページ） */
.b-btn-line { background: #06c755; color: #ffffff; border-color: #06c755; }
.b-btn-line:hover { filter: brightness(1.05); }
