/* /business/large-license-subsidy/ 固有スタイル。
   guide-toc / guide-table / guide-callout / guide-cta / guide-note などの
   共通部品は guide-common.css を使い、ここでは bs- プレフィックスの部品だけを定義する。 */

.business-subsidy-layout {
  --bs-navy: #26343a;
  --bs-navy-deep: #1b272c;
  --bs-gold: #e8c66f;
  --bs-blue-pale: #eef5f7;
}

.business-subsidy-page {
  padding-bottom: 84px;
}

/* ---------- ファーストビュー（/car/ogata/ の紺色ヒーローと同系統） ---------- */
.bs-hero {
  position: relative;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  background: var(--bs-navy);
  border-bottom: 0;
}

.bs-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 39, 44, 0.97) 0%, rgba(27, 39, 44, 0.86) 50%, rgba(27, 39, 44, 0.25) 100%);
  content: "";
}

.bs-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: 72% center;
}

.bs-hero__copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 6vw, 54px);
  width: min(74%, 660px);
  transform: translateY(-50%);
  color: #fff;
}

.bs-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--bs-gold);
  font-family: Poppins, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bs-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  line-height: 1.45;
}

/* guide-common.css の .guide-page-header h1 span（#744d56）を打ち消す */
.bs-hero h1 .bs-nowrap {
  display: inline-block;
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
}

.bs-hero h1 span:not(.bs-nowrap) {
  display: block;
  margin-top: 8px;
  color: var(--bs-gold);
  font-size: 0.55em;
  font-weight: 700;
  line-height: 1.6;
}

.bs-hero .bs-hero__lead {
  margin: 14px 0 0;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.8;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.bs-hero .bs-hero__cta {
  margin: 18px 0 0;
}

.bs-hero .bs-hero__cta .guide-button {
  margin: 0;
}

@media (max-width: 720px) {
  .bs-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .bs-hero > img {
    order: -1;
    height: 220px;
    min-height: 0;
    object-position: 64% center;
  }

  .bs-hero::after {
    background: linear-gradient(180deg, rgba(27, 39, 44, 0.2) 0%, rgba(27, 39, 44, 0.95) 200px, rgba(27, 39, 44, 1) 100%);
  }

  .bs-hero__copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: -70px 0 0;
    padding: 0 20px 26px;
    transform: none;
  }

  .bs-hero h1 {
    font-size: 1.5rem;
  }

  .bs-hero .bs-hero__lead {
    font-size: 0.9rem;
  }

  .bs-hero .bs-hero__cta .guide-button {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 要点 ---------- */
.bs-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.bs-meta__category {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bs-blue-pale);
  color: var(--bs-navy);
  font-size: 0.78rem;
  font-weight: 700;
}

.bs-meta__date {
  color: var(--guide-muted);
  font-size: 0.85rem;
}

.bs-conclusion-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(45, 52, 54, 0.05);
}

.bs-conclusion-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-conclusion-card li {
  position: relative;
  padding: 2px 2px 2px 26px;
  color: var(--guide-ink);
  line-height: 1.8;
}

.bs-conclusion-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 9px;
  height: 5px;
  border-left: 3px solid var(--guide-gold-dark);
  border-bottom: 3px solid var(--guide-gold-dark);
  transform: rotate(-45deg);
}

/* ---------- 導入：利用場面 ---------- */
.bs-use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.bs-use-grid article {
  padding: 18px 20px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 14px;
}

.bs-use-grid h3 {
  margin: 0 0 8px;
  color: var(--guide-ink);
  font-size: 1rem;
}

.bs-use-grid p {
  margin: 0 0 10px;
  color: var(--guide-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.bs-use-grid a {
  color: var(--guide-gold-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- 対象条件チェック ---------- */
.bs-check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.bs-check-list li {
  position: relative;
  padding: 12px 14px 12px 52px;
  border-radius: 12px;
  background: var(--guide-soft);
  color: var(--guide-ink);
  line-height: 1.7;
}

.bs-check-list__num {
  position: absolute;
  left: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bs-navy);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- 助成率表・所持免許表 ---------- */
.bs-subsidy-table caption,
.bs-license-table caption,
.bs-plan-table caption {
  padding: 0 0 10px;
  color: var(--guide-muted);
  font-size: 0.82rem;
  text-align: left;
}

.bs-subsidy-table td,
.bs-license-table td {
  text-align: left;
  line-height: 1.75;
}

.bs-subsidy-table__num {
  white-space: nowrap;
  font-weight: 700;
  color: var(--guide-ink);
}

.bs-license-table td {
  white-space: nowrap;
}

/* ---------- 章内CTA ---------- */
.bs-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 0;
  padding: 18px 20px;
  background: var(--bs-blue-pale);
  border-radius: 14px;
}

.bs-inline-cta p {
  flex: 1 1 280px;
  margin: 0;
  color: var(--guide-ink);
  font-size: 0.92rem;
  line-height: 1.75;
}

.bs-inline-cta .guide-button {
  margin: 0;
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .bs-inline-cta .guide-button {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 助成額の考え方 ---------- */
.bs-formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}

.bs-formula {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(45, 52, 54, 0.05);
}

.bs-formula h3 {
  margin: 0 0 10px;
  color: var(--guide-ink);
  font-size: 1rem;
}

.bs-formula__expr {
  margin: 0 0 10px !important;
  padding: 10px 14px;
  background: var(--guide-gold-pale);
  border-radius: 10px;
  color: var(--guide-ink) !important;
  font-weight: 700;
  line-height: 1.7;
}

.bs-formula p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.bs-subhead {
  margin: 26px 0 8px;
  color: var(--guide-ink);
  font-size: 1.05rem;
}

.bs-x-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.bs-x-list li {
  position: relative;
  padding: 10px 14px 10px 38px;
  border-radius: 12px;
  background: var(--guide-soft);
  color: var(--guide-ink);
  line-height: 1.7;
}

.bs-x-list li::before,
.bs-x-list li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 12px;
  height: 2px;
  background: var(--guide-red);
  transform: rotate(45deg);
}

.bs-x-list li::after {
  transform: rotate(-45deg);
}

.bs-callout {
  margin-top: 20px;
}

/* ---------- 法人対応校 ---------- */
.bs-school-list {
  display: grid;
  gap: 20px;
  margin: 18px 0 0;
}

.bs-school {
  /* grid の子は min-width:auto なので、中の表がはみ出すと記事幅ごと広がる。ここで抑える */
  min-width: 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(45, 52, 54, 0.05);
}

.bs-school__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.bs-school__head img {
  flex: 0 0 220px;
  width: 220px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.bs-school__head > div {
  flex: 1 1 260px;
}

.bs-school__pref {
  margin: 0 0 4px !important;
  color: var(--guide-muted) !important;
  font-size: 0.82rem;
}

.bs-school h3 {
  margin: 0;
  color: var(--guide-ink);
  font-size: 1.2rem;
  line-height: 1.5;
}

.bs-school__license {
  display: inline-block;
  margin: 8px 0 0 !important;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bs-blue-pale);
  color: var(--bs-navy) !important;
  font-size: 0.8rem;
  font-weight: 700;
}

.bs-school__feature {
  margin: 16px 0 0 !important;
  line-height: 1.85;
}

.bs-school__campus {
  margin: 8px 0 0 !important;
  color: var(--guide-muted) !important;
  font-size: 0.88rem;
}

.bs-school .guide-table-scroll {
  margin-top: 16px;
}

.bs-plan-table__price {
  white-space: nowrap;
  font-weight: 700;
  color: var(--guide-ink);
}

.bs-school__info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.bs-school__info dt {
  color: var(--guide-muted);
  font-weight: 700;
}

.bs-school__info dd {
  margin: 0;
  color: var(--guide-ink);
  line-height: 1.75;
}

@media (max-width: 600px) {
  .bs-school {
    padding: 18px 16px;
  }

  .bs-school__head img {
    flex-basis: 100%;
    width: 100%;
  }

  .bs-school__info {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .bs-school__info dd {
    margin-bottom: 8px;
  }
}

.bs-school__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 14px 0 0 !important;
}

.bs-school__links a {
  color: var(--guide-gold-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- 合宿を利用する理由 ---------- */
.bs-merit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.bs-merit-list li {
  padding: 18px 20px;
  background: var(--guide-soft);
  border: 1px solid var(--guide-border);
  border-radius: 14px;
}

.bs-merit-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--guide-ink);
}

.bs-merit-list p {
  margin: 0;
  color: var(--guide-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- 申請から取得までの流れ ---------- */
.bs-flow-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bs-flow {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(45, 52, 54, 0.05);
}

.bs-flow__label {
  margin: 0 0 6px !important;
  color: var(--guide-gold-dark) !important;
  font-family: Poppins, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bs-flow__title {
  margin: 0 0 10px;
  color: var(--guide-ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.bs-flow dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 0.92rem;
}

.bs-flow dt {
  color: var(--guide-muted);
  font-weight: 700;
}

.bs-flow dd {
  margin: 0;
  color: var(--guide-ink);
  line-height: 1.75;
}

@media (max-width: 600px) {
  .bs-flow dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .bs-flow dd {
    margin-bottom: 8px;
  }
}

/* ---------- 担当範囲 ---------- */
.bs-role-table th[scope="row"] {
  white-space: nowrap;
}

.bs-role-table td {
  text-align: left;
  line-height: 1.75;
}

@media (max-width: 600px) {
  .bs-role-table th[scope="row"] {
    white-space: normal;
  }
}

/* ---------- 公式情報・関連 ---------- */
.bs-official-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.bs-official-list li {
  padding: 12px 14px;
  border: 1px solid var(--guide-border);
  border-radius: 12px;
  background: #fff;
  line-height: 1.7;
}

.bs-official-list a {
  color: var(--guide-ink);
  font-weight: 700;
  text-decoration: underline;
}

.bs-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}

.bs-related-card {
  display: block;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--guide-border);
  border-radius: 14px;
  color: var(--guide-ink);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(45, 52, 54, 0.05);
}

.bs-related-card:hover {
  border-color: var(--guide-gold);
}

.bs-related-card strong {
  display: block;
  margin-bottom: 6px;
}

.bs-related-card span {
  display: block;
  color: var(--guide-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- 最終CTA ---------- */
.bs-cta-tel {
  margin: 14px 0 0 !important;
  font-size: 0.9rem;
}

.bs-cta-tel a {
  color: var(--guide-ink);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: underline;
}
