/* 事業計画ページ（page/company/business-plan.php）専用。余白はPDF版の実寸に合わせている */
.bp { --bp-navy: #21384f; --bp-blue: #0b4a9c; --bp-line: #dcdfe2; --bp-ink: #333; --bp-mute: #666; color: var(--bp-mute); font-size: 14px; line-height: 1.8; letter-spacing: .02em; }
/* テーマの word-break を打ち消し、文節の途中や数字の途中で改行しない。auto-phrase 非対応のブラウザは normal + .bp-nb で補う */
.bp, .bp p, .bp h2, .bp h3, .bp h4, .bp li, .bp dd, .bp dt, .bp td { word-break: normal; word-break: auto-phrase; overflow-wrap: anywhere; line-break: strict; }
.bp-nb { white-space: nowrap; }
.bp p { margin: 0; }
.bp ul, .bp dl { margin: 0; padding: 0; list-style: none; }
.bp dd { margin: 0; }
.bp img { max-width: 100%; height: auto; display: block; }
.bp small { font-size: .55em; font-weight: bold; }

.bp-block { margin-bottom: 104px; }
.bp .bp-eyebrow { margin: 0 0 10px; color: var(--bp-blue); font-size: 11px; line-height: 1.5; letter-spacing: .1em; }
.bp-lead { margin: 0 0 14px; color: var(--bp-navy); font-size: 17px; font-weight: bold; line-height: 1.6; letter-spacing: .02em; }
.bp .bp-note { color: var(--bp-mute); font-size: 11px; line-height: 1.8; }
.bp-sub { margin-top: 64px; }

/* 導入 */
.bp-title { margin: 0 0 18px; color: var(--bp-navy); font-size: 40px; font-weight: normal; line-height: 1.3; letter-spacing: .02em; }
.bp-intro .bp-lead { margin-bottom: 24px; }
.bp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px !important; padding-top: 18px; border-top: 2px solid var(--bp-line); }
.bp-stats li { min-width: 0; }
.bp-stats__num { display: block; color: var(--bp-navy); font-size: 32px; font-weight: bold; line-height: 1.3; }
.bp-stats__label { display: block; margin-top: 6px; color: var(--bp-blue); font-size: 11px; line-height: 1.5; }

/* セクション見出し */
.bp-sec { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 34px; padding-bottom: 12px; border-bottom: 2px solid var(--bp-navy); color: var(--bp-navy); font-size: 20px; font-weight: bold; line-height: 1.4; }
.bp-sec__no { color: var(--bp-blue); font-size: 24px; }
.bp-sec__en { color: var(--bp-blue); font-size: 10px; font-weight: normal; letter-spacing: .14em; }

/* 理念の画像 */
.bp-purpose { width: 360px; max-width: 100%; margin: 44px 0 20px 56px; }

/* 番号付きの行 */
.bp-rows { margin-bottom: 44px !important; border-top: 2px solid var(--bp-line); }
.bp-rows > div { display: grid; grid-template-columns: 246px 1fr; padding: 21px 0; border-bottom: 2px solid var(--bp-line); }
.bp-rows dt { color: var(--bp-navy); font-size: 15px; font-weight: bold; line-height: 1.5; }
.bp-rows dt span { margin-right: 12px; color: var(--bp-blue); font-size: 20px; }
.bp-rows dd { color: var(--bp-ink); font-size: 13px; line-height: 1.8; }
.bp-rows--list { margin: 42px 0 0 !important; border-top-color: var(--bp-navy); }
.bp-rows--list > div { padding: 24px 0; grid-template-columns: 236px 1fr; }
.bp-rows--list dd li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.bp-rows--list dd li:last-child { margin-bottom: 0; }
.bp-rows--list dd li::before { content: ""; position: absolute; top: .75em; left: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--bp-navy); }

/* カード */
.bp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 20px 0 0 !important; }
.bp-cards li { min-width: 0; padding-top: 16px; border-top: 2px solid var(--bp-navy); }
.bp-cards h4 { margin: 0 0 10px; color: var(--bp-navy); font-size: 14px; font-weight: bold; line-height: 1.6; }
.bp-cards h4 span { margin-right: 10px; color: var(--bp-blue); font-size: 19px; }
.bp-cards p { font-size: 12px; line-height: 1.75; }
.bp-cards--num { margin-top: 44px !important; }
.bp-cards__no { display: block; margin-bottom: 8px; color: var(--bp-blue); font-size: 22px; font-weight: bold; line-height: 1.3; }
/* 05は上に1本、各項目の下に線 */
.bp-cards--two { grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin-top: 42px !important; padding-top: 6px; border-top: 2px solid var(--bp-navy); }
.bp-cards--two li { padding: 20px 0 18px; border-top: 0; border-bottom: 2px solid var(--bp-line); }

/* 推移グラフと2032年の目標（2段組み） */
.bp-roadmap { display: grid; grid-template-columns: 1fr 200px; gap: 40px; margin-top: 40px; }
.bp-chart { min-width: 0; margin: 0; }
.bp-chart figcaption { margin-bottom: 12px; color: var(--bp-mute); font-size: 11px; line-height: 1.5; }
.bp-goals .bp-eyebrow { margin-bottom: 14px; }
.bp-goals dl { border-top: 2px solid var(--bp-navy); }
.bp-goals dl > div { padding: 16px 0 18px; border-bottom: 2px solid var(--bp-line); }
.bp-goals dt { margin-bottom: 8px; font-size: 11px; font-weight: normal; line-height: 1.5; }
.bp-goals dd { color: var(--bp-navy); font-size: 22px; font-weight: bold; line-height: 1.4; }
.bp-goals .bp-goals__text { font-size: 14px; line-height: 1.7; }
.bp-goals .bp-note { margin-top: 14px; }

/* 構成比の帯 */
.bp-stack { margin-top: 20px; }
.bp-stack__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; margin-bottom: 8px; }
.bp-stack__label { font-size: 11px; line-height: 1.3; }
.bp-stack__bar { display: flex; height: 28px; }
.bp-stack__bar span { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; font-size: 10px; font-weight: bold; white-space: nowrap; }
.bp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0 64px !important; font-size: 10px; line-height: 1.5; }
.bp-legend li { display: flex; align-items: center; }
.bp-legend i { flex: none; width: 9px; height: 9px; margin-right: 5px; }
/* 業種別：5列の凡例、値は右寄せ、下に線 */
.bp-stack__bar--full { margin: 0; }
.bp-legend--values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 24px 0 0 !important; letter-spacing: 0; }
.bp-legend--values li { align-items: flex-start; min-height: 40px; padding-bottom: 8px; border-bottom: 2px solid var(--bp-line); color: var(--bp-ink); }
.bp-legend--values i { margin-top: 2px; }
.bp-legend--values b { flex: none; margin-left: auto; padding-left: 6px; color: var(--bp-navy); font-size: 12px; }

.c-showa { background: #21384f; color: #fff; }
.c-aoyama { background: #5e7d97; color: #fff; }
.c-rise { background: #c0975a; color: #21384f; }
.c-daitetsu { background: #7e9469; color: #15222f; }
.c-ma { background: #a7b4c2; color: #21384f; }
.c-ind1 { background: #21384f; }
.c-ind2 { background: #3b5570; }
.c-ind3 { background: #7f95a8; }
.c-ind4 { background: #bcc8d3; }
.c-ind5 { background: #dfe6ed; }

/* 売上の表 */
.bp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0 20px; }
.bp-table { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 2px solid #111; border-bottom: 2px solid #111; color: var(--bp-ink); font-size: 12px; }
.bp-table th, .bp-table td { padding: 11px 8px; border-bottom: 2px solid var(--bp-line); text-align: right; vertical-align: top; white-space: nowrap; line-height: 1.4; }
.bp-table th:first-child { padding-left: 6px; color: var(--bp-navy); font-weight: bold; text-align: left; }
.bp-table thead th { padding-top: 12px; padding-bottom: 12px; border-bottom: 2px solid #111; color: var(--bp-navy); font-weight: bold; }
.bp-table small { display: block; margin-top: 4px; color: var(--bp-mute); font-size: 9px; font-weight: normal; }
.bp-table .is-target { color: var(--bp-navy); font-weight: bold; }
.bp-table tfoot th, .bp-table tfoot td { padding-top: 13px; padding-bottom: 13px; border-bottom: 0; color: var(--bp-navy); font-weight: bold; }

/* グループ各社の表 */
.bp-group { width: 100%; margin-top: 18px; border-collapse: collapse; color: var(--bp-mute); font-size: 12px; line-height: 1.75; }
.bp-group th { padding: 9px 11px; background: var(--bp-navy); color: #fff; font-size: 11px; font-weight: bold; text-align: left; white-space: nowrap; }
.bp-group td { padding: 14px 11px; border-bottom: 2px solid var(--bp-line); text-align: left; vertical-align: top; }
.bp-group th:nth-child(1), .bp-group td:nth-child(1) { width: 156px; }
.bp-group th:nth-child(2), .bp-group td:nth-child(2) { width: 110px; }
.bp-group th:nth-child(3), .bp-group td:nth-child(3) { width: 220px; }
.bp-group .bp-group__co { color: var(--bp-navy); }
.bp-group__co img { width: 48px; height: 40px; margin-bottom: 8px; object-fit: contain; object-position: left center; }
.bp-group__co img.is-wide { width: 130px; }
.bp-group__co b { display: block; font-size: 12px; font-weight: bold; line-height: 1.5; }
.bp-group__co small { display: block; margin-top: 4px; color: var(--bp-mute); font-size: 10px; font-weight: normal; }

/* 結び */
.bp-closing { padding-top: 52px; border-top: 2px solid var(--bp-line); }
.bp-closing .bp-lead { margin-bottom: 10px; }
.bp .bp-closing__sub { color: var(--bp-blue); font-size: 12px; }
.bp .bp-closing__rule { margin-top: 28px; padding-top: 16px; border-top: 2px solid var(--bp-line); }
.bp .bp-closing__rule + .bp-note { margin-top: 8px; }

@media (max-width: 767px) {
  .bp-block { margin-bottom: 72px; }
  .bp-title { font-size: 32px; }
  .bp-lead { font-size: 17px; }
  .bp-sec { font-size: 19px; }
  .bp-stats { grid-template-columns: 1fr; gap: 14px; }
  .bp-stats__num { font-size: 28px; }
  .bp-purpose { margin: 28px auto 12px; }
  .bp-rows > div, .bp-rows--list > div { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .bp-cards, .bp-cards--two { grid-template-columns: 1fr; gap: 18px; }
  .bp-cards--two { gap: 0; }
  .bp-roadmap { grid-template-columns: 1fr; gap: 28px; }
  .bp-sub { margin-top: 48px; }
  .bp-legend--values { grid-template-columns: 1fr; gap: 8px; }
  .bp-legend--values li { min-height: 0; }
  .bp-stack__bar span { font-size: 9px; letter-spacing: 0; }
  .bp-stack__bar .is-narrow { font-size: 0; }
  .bp-group, .bp-group tbody, .bp-group tr, .bp-group td { display: block; width: 100% !important; }
  .bp-group thead { display: none; }
  .bp-group { border-top: 2px solid var(--bp-navy); }
  .bp-group tr { padding: 16px 0; border-bottom: 2px solid var(--bp-line); }
  .bp-group td { padding: 0 0 8px; border-bottom: 0; }
  .bp-group td[data-label]::before { content: attr(data-label); display: block; color: var(--bp-blue); font-size: 11px; font-weight: bold; }
}
