/* ==========================================================================
   for-business.html (企業の方へ) 専用スタイル
   ========================================================================== */

/* 1. FV (Hero) */
.biz-fv {
  position: relative;
  background-color: #222;
  overflow: hidden;
  min-height: 850px;
  display: flex;
  align-items: center;
  padding: 140px 0 160px;
}

.biz-fv-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  background-color: #1a1a1a;
}

.biz-fv-video {
  width: 85%;
  height: 100%;
  object-fit: cover;
  object-position: right 100%;
}

.biz-fv-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(5,8,16,1) 0%, rgba(5,8,16,1) 35%, rgba(5,8,16,0.5) 65%, rgba(5,8,16,0.1) 100%);
}

.biz-fv-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* 左の余白は 160px 固定だった。これはどこにも揃っておらず、
     1440px でページ本文の左端（133px）とたまたま近いだけの値。
     774px では本文が20pxから始まるのに FV だけ160pxから始まり、
     右余白40pxと合わせてコンテンツが右に寄って見えていた。
     サイト共通の枠（max-width 1200px + 内側20px）と同じ式にし、
     下限40px（右余白と同じ＝中央に見える）／上限160px（従来の見た目）で挟む。
       774px → 40px（本文と揃い、左右とも40pxで中央）
      1440px → 140px（従来160px。本文の133pxに寄る）
      1920px → 160px（従来どおり） */
  padding: 0 40px;
  padding-left: clamp(40px, calc((100vw - 1200px) / 2 + 20px), 160px);
  box-sizing: border-box;
}

.biz-fv-left {
  width: 100%;
  max-width: 1000px;
  color: #fff;
  margin-top: -60px; /* 全体的に上に持ち上げる */
}

.biz-fv-badge {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 25px;
  display: inline-block;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 6px 16px;
  letter-spacing: 0.1em;
}

.biz-fv-title {
  /* 2行目「入社・定着につながる採用へ」の描画幅が 652px で、
     枠の幅 652px とちょうど同じ。余裕がゼロなので、枠が数pxでも
     狭くなると「へ」だけが3行目に落ちる（860px幅で発生）。
     枠が 652px を保てる 1000px 以上では 2.8rem のまま、
     それより狭いところだけ画面幅に追従させる。
     HTML側にあった style="font-size: 2.8rem" はここへ集約した。 */
  font-size: min(2.8rem, 4.9vw);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: 0.12em;
  width: fit-content;
}

.biz-fv-desc {
  font-size: 1.4rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
  font-weight: 500;
}

.highlight-red {
  color: var(--color-primary);
  font-weight: 700;
}

.biz-fv-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.btn-biz-solid, .btn-biz-outline {
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 18px 40px 18px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  min-width: 260px;
  box-sizing: border-box;
}

.btn-biz-solid {
  background-color: #d81b21;
  color: #fff;
}

.btn-biz-solid:hover {
  transform: translateY(-2px);
  background-color: #b5151b;
}

.btn-biz-outline {
  background-color: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.btn-biz-outline:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.icon-svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.btn-text .main {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-text .sub {
  /* 2026-09-03 0.65rem(10.4px) → 0.75rem(12px)。
     BtoBの主要CTAボタンの補足文（「採用課題を相談する」）。
     補足・注記の基準12pxに合わせる。 */
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 4px;
}

.arrow::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

/* 下部：実績バー */
.biz-fv-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(5,8,16,0.95) 0%, rgba(5,8,16,0.7) 60%, rgba(5,8,16,0) 100%);
  padding: 50px 0 30px;
  z-index: 10;
}

.biz-fv-stats-inner {
  width: 100%;
  padding: 0 40px 0 160px;
  box-sizing: border-box;
}

.biz-fv-stats-bar .biz-fv-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.biz-fv-stats-bar .stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33.33%;
  color: #fff;
  position: relative;
}

.stat-box-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-box-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.stat-divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;
  width: 2px;
  background-color: rgba(255,255,255,0.3);
}

.stat-icon {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 2px;
}

.stat-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-unit {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.stat-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 15px;
  text-align: left;
  width: auto;
}



@media (max-width: 1024px) {
  .biz-fv-buttons {
    flex-wrap: wrap;
  }

  /* ボタンが2行に折り返るため、下部の実績バーを固定配置(absolute)から
     通常の流れ(relative)に変更し、ボタンと重ならないようにする */
  .biz-fv {
    display: block;
  }

  .biz-fv-stats-bar {
    position: relative;
    padding: 24px 14px 26px;
    background: rgba(5, 8, 16, 0.94);
  }

  .biz-fv-stats-inner {
    padding: 0;
  }

  .biz-fv-stats-bar .biz-fv-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .biz-fv-stats-bar .stat-box {
    width: auto;
    min-width: 0;
    padding: 0 8px;
  }

  .stat-box-inner,
  .stat-box-top {
    width: 100%;
    align-items: center;
  }

  .stat-box-top {
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }

  .stat-icon {
    width: 34px;
    height: 34px;
  }

  .stat-content {
    align-items: center;
  }

  /* 2026-09-03 実績帯の文字。0.62rem(9.92px)/0.6rem(9.6px) → 0.75rem(12px)。
     日本語で10px未満は基準を大きく下回っていた。
     数字（.stat-value）は 360px で18px。12px との対比 1.5倍は残るので、
     「大きい数字を小さい単位で引き立てる」構図は保たれる。
     3つ横並びのため、幅に収まるかは実測で確認すること。 */
  .stat-title {
    font-size: 0.75rem;
  }

  .stat-value-wrap {
    gap: 2px;
    margin: 0;
  }

  .stat-value {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

  .stat-unit {
    font-size: 0.75rem;
  }

  .stat-sub {
    display: none;
  }

  .stat-divider::after {
    height: 80%;
    width: 1px;
  }
}

@media (max-width: 768px) {
  .biz-fv-container {
    flex-direction: column-reverse;
  }
  .biz-fv-left {
    width: 100%;
    margin-top: 40px;
    text-align: center;
  }
  .biz-fv-buttons {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
  }.biz-fv-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  .biz-fv-right {
    width: 100%;
  }
}

/* 2. お悩み (Pain Points) */
.biz-pain-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.biz-pain-heading {
  margin-top: 10px;
}

.biz-pain-footer-text {
  font-size: 1.4rem;
}

.biz-pain-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.biz-pain-card {
  background: linear-gradient(45deg, transparent 20px, #2a2a2a 0);
  border-radius: 4px;
  padding: 20px 25px;
  width: calc(33.333% - 15px);
  min-width: 250px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  position: relative;
  transition: transform 0.3s ease;
}

.biz-pain-card:hover {
  transform: translateY(-5px);
}

.biz-pain-check {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -15px;
  right: -15px;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.biz-pain-check svg {
  width: 18px;
  height: 18px;
}

.biz-pain-card p {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 768px) {
  .biz-pain-card {
    width: 100%;
  }
}

/* 2.5 私たちの想い (Message) */
.biz-message {
  background-color: rgba(30, 30, 30, 0.92);
  background-image: url('../image/03-business/industry2-car-body.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: multiply;
  text-align: center;
}

.biz-message-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.biz-message-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
  line-height: 1.4;
}



.biz-message-title .highlight {
  color: var(--color-primary);
}

.biz-message-body {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.03em;
}

.biz-message-body strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* font-size は下の .business-main 側（767px以下も含む @media 768px）の
   clamp指定に詳細度で負けて効いていなかったため削除。
   text-align だけは上書きされておらず生きているので残す。 */
@media (max-width: 767px) {
  .biz-message-body {
    text-align: left;
  }
}

/* 3. 選ばれる理由 (Features) */
.biz-features {
}

.biz-features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.biz-feature-item {
  display: flex;
  align-items: stretch;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 180px;
}



.biz-feature-text {
  width: 75%;
  padding: 25px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biz-feature-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(230,0,18,0.1); /* 薄い赤 */
  position: absolute;
  top: -30px;
  left: 20px;
  line-height: 1;
}

.biz-feature-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.biz-feature-text p {
  /* 本文の基準16px（旧1.05rem=16.8px） */
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.biz-feature-image {
  width: 25%;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
}

.biz-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .biz-feature-item{
    flex-direction: column;
  }
  .biz-feature-text, .biz-feature-image {
    width: 100%;
  }
  .biz-feature-image {
    height: 250px;
  }
}

/* 4. 安心と信頼の実績 (Trust) */
.biz-trust {
  background-color: rgba(26, 26, 26, 0.94);
  background-image: url('../image/03-business/industry1-semiconductor.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: multiply;
  color: #fff;
}

.biz-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.biz-trust-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 30px 30px;
  width: calc(50% - 15px);
  min-width: 300px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  text-align: left;
  color: #333;
}

.biz-trust-top {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.biz-trust-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  padding-bottom: 20px; 
  padding-left: 20px;
}

.biz-trust-cat {
  font-size: 0.95rem;
  font-weight: 700;
  color: #666;
  margin-bottom: 5px;
}

.biz-trust-metric {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0;
}

.biz-trust-huge-number {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: -5px;
}

.biz-trust-huge-number span {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 5px;
}

.biz-trust-desc {
  /* 本文の基準16px（旧0.9rem=14.4px） */
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #555;
  text-align: left;
  margin: 0;
}

@media (max-width: 768px) {
  .biz-trust-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
  }
  .biz-trust-huge-number {
    font-size: 3rem;
    margin-bottom: 0;
  }
  .biz-trust-card {
    width: 100%;
  }
}.flow-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}@media (max-width: 768px) {}

/* 5. ユーザー属性インフォグラフィック */
.biz-demographics {
  background-color: #f8f9fa;
}

.biz-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.biz-demo-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.biz-demo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background-color: #111;
  padding: 5px 20px;
  border-radius: 20px;
  margin-bottom: 25px;
  width: 90%;
  text-align: center;
}

.biz-demo-chart-wrap {
  width: 140px;
  height: 140px;
  margin-bottom: 25px;
}.biz-demo-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
}

.biz-demo-legend li {
  font-size: 0.85rem;
  color: #444;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.biz-demo-legend .legend-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.biz-demo-area .biz-demo-chart-wrap {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  padding: 0 10px;
}

.biz-demo-legend-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
  text-align: left;
  width: 100%;
}

/* 5.1 Diverse Chart Styles */
.colspan-2 {
  grid-column: span 2;
}
.colspan-3 {
  grid-column: span 3;
}

.area-map-wrap {
  flex: 1;
  max-width: 350px;
}

.biz-area-strong {
  font-size: 1.4rem;
}

.biz-demo-title-area {
  width: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.biz-demo-gender {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 20px 0;
}
.gender-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gender-item.male { color: #e60012; }
.gender-item.female { color: #222222; }
.gender-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}
.gender-pct {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
}
.gender-pct span { font-size: 1.1rem; }
.gender-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
}

.donut-wrap {
  position: relative;
}
.biz-demo-donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.biz-demo-donut::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  height: 55%;
  background-color: #fff;
  border-radius: 50%;
}
.donut-center-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

.biz-demo-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  height: 100%;
  padding: 10px 0;
}
.demo-bar-item {
  display: flex;
  align-items: center;
  width: 100%;
}
.demo-bar-item .bar-label {
  width: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
  text-align: right;
  margin-right: 15px;
  flex-shrink: 0;
}
.demo-bar-item .bar-track {
  flex-grow: 1;
  height: 28px;
  background-color: #f5f5f5;
  border-radius: 4px;
  position: relative;
}
.demo-bar-item .bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}
.demo-bar-item .bar-value {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 10px;
  color: #333;
  font-size: 0.9rem;
  font-weight: 700;
}

.biz-demo-flex-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  height: 100%;
}
.biz-demo-flex-layout .biz-demo-chart-wrap {
  margin-bottom: 0;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .biz-demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .colspan-3 {
    grid-column: span 2;
  }

  /* 希望寮費：1024px以下だけ全幅＋ドーナツと凡例を横並びにする。
     縦積みのままだと高くなりすぎるため。
     PCは4列グリッドの1列ぶん・縦積み（2026-08-27にPC側を元に戻した） */
  .biz-demo-dorm {
    grid-column: span 2;
  }
  .biz-demo-dorm-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: left;
  }
  .biz-demo-dorm-layout .biz-demo-chart-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .biz-demo-dorm-layout .biz-demo-legend {
    width: auto;
  }
}

@media (max-width: 600px) {
  .biz-demo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .colspan-2, .colspan-3 {
    grid-column: span 2;
  }
  .biz-demo-card {
    padding: 18px 14px;
  }
  .biz-demo-title {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }
  .biz-demo-chart-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }
  .biz-demo-flex-layout {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .biz-demo-dorm-layout {
    gap: 16px;
  }

  .area-map-wrap {
    max-width: 120px;
  }

  .biz-demo-legend-text {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .biz-area-strong {
    font-size: 1.1rem;
  }

  .biz-demo-title-area {
    width: 90%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .biz-demo-gender {
    flex-direction: column;
    gap: 20px;
    padding: 8px 0;
  }

  .biz-demo-title-narrow {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .demo-bar-item .bar-label {
    width: 80px;
  }
  .gender-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }
  .gender-pct {
    font-size: 1.4rem;
  }
  .gender-pct span {
    font-size: 0.85rem;
  }
  .gender-label {
    font-size: 0.8rem;
  }
}

/* 6. 募集できる職種 (Job Types) */
.biz-jobs {
}

.biz-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .biz-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .biz-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.biz-job-card {
  background-color: #fff;
  color: #333;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.biz-job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: transparent;
}

.job-img {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}
.job-img::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

.job-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-title {
  padding: 15px;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
}

@media (max-width: 767px) {
  .job-title {
    padding: 10px;
    font-size: 0.75rem;
  }
}.bar-fill {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 10px;
}@media (max-width: 768px) {}

/* 8. よくある質問 (FAQ) */
.biz-faq {
}/* 9. 利用の流れ (Flow) */
.biz-flow {
}

.biz-flow-steps {
  display: flex;
  flex-direction: row;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.biz-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fdfdfd;
  box-shadow: 0 0 0 1px #eee;
  border-top: 4px solid var(--color-primary);
  border-radius: 4px;
  padding: 30px 20px;
  position: relative;
  text-align: center;
}

.biz-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  border-left: 12px solid var(--color-primary);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  z-index: 2;
}

.biz-flow-step::before {
  display: none;
}

.step-num {
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 5px;
  line-height: 1;
}

.biz-flow-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.step-icon {
  font-size: 3rem;
  color: #999;
  margin-bottom: 15px;
}

.biz-flow-step p {
  /* 本文の基準16px（旧0.85rem=13.6px） */
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  text-align: left;
}

@media (max-width: 767px) {
  .biz-flow-steps {
    flex-direction: column;
    gap: 14px;
  }
  .biz-flow-step {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 8px;
    align-items: center;
    padding: 16px 18px;
    text-align: left;
  }
  .biz-flow-step:not(:last-child)::after {
    top: auto;
    bottom: -11px;
    right: 50%;
    transform: translateX(50%);
    border-top: 8px solid var(--color-primary);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: none;
  }
  .step-num {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.25rem;
    margin-bottom: 0;
    white-space: nowrap;
  }
  .biz-flow-step h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.92rem;
    margin-bottom: 0;
    white-space: nowrap;
  }
  .step-icon {
    grid-column: 1 / 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-top: -8px;
    margin-left: 32px;
    opacity: 0.22;
    position: relative;
    z-index: 0;
  }
  .step-num,
  .biz-flow-step h3 {
    position: relative;
    z-index: 1;
  }
  .step-icon svg {
    width: 40px;
    height: 40px;
  }
  .biz-flow-step p {
    grid-column: 3;
    grid-row: 1 / 3;
    /* モバイル本文の基準15px（旧0.78rem=12.5px） */
    font-size: 0.9375rem;
    text-align: left;
  }
}/* Floating CTA for Strong Version */
.biz-floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.biz-floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.biz-floating-cta .floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.biz-floating-cta .floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-floating-cta .floating-btn-solid {
  background-color: #e60012;
  color: #fff;
}
.biz-floating-cta .floating-btn-solid:hover {
  background-color: #c00010;
  transform: translateY(-2px);
}@media screen and (max-width: 768px) {
  .biz-floating-cta {
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: row;
    gap: 0;
  }
  .biz-floating-cta .floating-btn {
    flex: 1;
    border-radius: 0;
    padding: 15px 10px;
    font-size: 1rem;
    box-shadow: none;
  }
  .biz-floating-cta .floating-btn-solid {
    border-right: 1px solid rgba(255,255,255,0.2);
  }
}

/* フローティングCTAに隠れてしまうため、
   このページのみページトップボタンをCTAの上に逃がす。

   2026-09-03 資料請求ボタンを削除してCTAが1つになったため、
   180px では間が 92px 空きすぎていた。CTAの実測から積み上げ直す。
     CTAの下端 30px ＋ CTAの高さ 58px ＋ 間のあき 16px ＝ 104px

   right も CTA に合わせる。共通の 20px のままだと CTA（30px）より
   10px 外に出る。92px 離れていたときは分からなかったが、
   16px まで寄せると縦のラインの不揃いが見えるため揃える */
.page-top-btn,
.page-top-btn.show {
  bottom: 104px;
  right: 30px;
}

@media screen and (max-width: 768px) {
  /* モバイルはCTAが全幅バー（下端0・高さ56px）。90px で間のあき 34px。
     PCと違い横に並ばず真上に重なるため、この程度は空けておく。

     right も書き戻すこと。business.css は style_v2.css より後に読まれ、
     メディアクエリは詳細度を上げないため、上のPC用 right:30px が
     style_v2.css のモバイル指定 right:12px に勝ってしまう */
  .page-top-btn,
  .page-top-btn.show {
    bottom: 90px;
    right: 12px;
  }
}

/* 【余白ルール】背景が同系色で続く境界は余白を詰める（PC）
   ・色が変わる境界 … 100px + 100px（既定）。色の切り替わり自体が区切りになる
   ・同系色が続く境界 … 70px + 70px。区切りが余白しかないため、
     200px のままだと「何もない空白帯」に見える
   for-business.html の同系色の境界（2026-08-27時点）
     JOBS(#eee) → FAQ(#eee) ／ FLOW(白) → PRE-CTA(白)
   PRE-CTA(白) → BOTTOM-CTA(白) も同色。ただし .bottom-cta は style_v2.css の
   全ページ共通指定のため触らず、PRE-CTA 側の下余白だけを 70px にして 170px にしている
   （直後が赤いカードで区切りは成立しているため、気持ち詰める程度に留める） */
.biz-jobs.section-padding {
  padding-bottom: 70px;
}
.biz-faq.section-padding {
  padding-top: 70px;
}
.biz-flow.section-padding {
  padding-bottom: 70px;
}
.biz-pre-cta.section-padding {
  padding-top: 70px;
  /* BOTTOM-CTA の上余白は共通指定の100pxのため、こちらを40pxにして合計140px。
     ページ内の他の同色境界（JOBS→FAQ／FLOW→PRE-CTA）と同じ値に揃えている */
  padding-bottom: 40px;
}

/* REASON セクションの見出し下の余白（PC）
   「01」の数字（64px）がカード上端より30px上にはみ出すため、
   構造上は他セクションと同じ60pxでも、見た目は30pxしかない。
   リストの上余白を90pxにして、数字の上端が見出しから60pxになるよう揃える */
@media (min-width: 769px) {
  .biz-features .biz-features-list {
    margin-top: 90px;
  }
}

/* ========================================================================
   Mobile polish (for-business only)
   Desktop declarations above remain unchanged.
   ======================================================================== */
@media (max-width: 768px) {
  /* 2026-08-31 中村様のご指摘「スマホ版でTRUST＆NUMBERが縦に長い」。
     セクション上下が64pxで、career等の他ページ（40px）より広かった。
     揃えることで、9セクション分×48px＝約430px縮む。
     .business-main 限定の指定なので for-business.html にのみ効く。 */
  .business-main .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* 見出し群とカード群の間 50px → 32px（mt-50 は for-business のみ9箇所） */
  .business-main .mt-50 {
    margin-top: 32px;
  }

  .business-main .biz-faq.section-padding {
    padding-top: 32px;
  }

  .business-main .biz-pre-cta.section-padding {
    padding-top: 32px;
  }

  /* Hero */
  .business-main .biz-fv {
    min-height: 0;
    display: block;
    padding: 0;
  }

  .business-main .biz-fv-bg {
    height: 100%;
  }

  .business-main .biz-fv-video {
    width: 100%;
    object-position: 62% center;
  }

  .business-main .biz-fv-overlay {
    background: linear-gradient(90deg, rgba(5, 8, 16, 0.85) 0%, rgba(5, 8, 16, 0.55) 60%, rgba(5, 8, 16, 0.25) 100%);
  }

  .business-main .biz-fv-container {
    display: block;
    padding: 72px 20px 44px;
  }

  .business-main .biz-fv-left {
    width: 100%;
    max-width: none;
    margin-top: 0;
    text-align: left;
  }

  .business-main .biz-fv-badge {
    margin-bottom: 20px;
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .business-main .c-section-header__ja {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }

  .biz-pain-subtitle {
    margin-bottom: 0;
  }

  .biz-pain .c-section-header__ja {
    font-size: clamp(1.05rem, 5vw, 1.3rem);
    white-space: nowrap;
    margin-top: 2px;
  }

  .biz-pain .c-section-header {
    margin-bottom: 48px;
  }

  .biz-pain-footer-text {
    font-size: clamp(1.05rem, 5vw, 1.3rem);
  }

  .business-main .biz-fv-title {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 22px;
    font-size: clamp(1.4rem, 6.5vw, 1.7rem) !important;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .business-main .biz-fv-title > span {
    margin-top: 16px !important;
    font-size: clamp(1.05rem, 5vw, 1.25rem) !important;
    line-height: 1.5;
  }

  .business-main .biz-fv-desc {
    margin-bottom: 28px;
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .business-main .biz-fv-buttons {
    gap: 10px;
    margin: 0;
  }

  .business-main .btn-biz-solid,
  .business-main .btn-biz-outline {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding: 13px 38px 13px 16px;
  }

  /* Content cards */
  .business-main .biz-pain-grid {
    gap: 16px;
  }

  .business-main .biz-pain-card {
    min-width: 0;
    height: auto;
    min-height: 92px;
    padding: 18px 22px;
  }

  .business-main .biz-pain-check {
    top: -10px;
    right: -6px;
    width: 30px;
    height: 30px;
  }

  .business-main .biz-message-box {
    padding: 34px 22px;
  }

  .business-main .biz-message-title {
    margin-bottom: 26px;
    font-size: clamp(1.28rem, 6.5vw, 1.55rem);
  }

  .business-main .biz-message-title-oneline {
    display: block;
    font-size: clamp(1rem, 5vw, 1.25rem);
    white-space: nowrap;
  }

  .business-main .biz-message-body {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .business-main .biz-features-list {
    gap: 28px;
  }

  .business-main .biz-feature-item{
    height: auto;
    overflow: hidden;
  }

  .business-main .biz-feature-image {
    height: 190px;
    border-radius: 12px 12px 0 0;
  }

  .business-main .biz-feature-text {
    padding: 30px 22px 26px;
  }

  .business-main .biz-feature-num {
    top: -6px;
    left: 16px;
    font-size: 3.5rem;
  }

  .business-main .biz-feature-text h3 {
    font-size: 1.25rem;
    line-height: 1.45;
  }

  .business-main .biz-feature-text p {
    /* モバイル本文の基準15px（旧0.92rem=14.7px） */
    font-size: 0.9375rem;
    line-height: 1.8;
  }

  .business-main .biz-trust-grid {
    gap: 14px;
  }

  .business-main .biz-trust-card {
    min-width: 0;
    /* 2026-08-31 縦を詰めるため 26/18/18 → 18/16/16 */
    padding: 18px 16px 16px;
  }

  /* 数字と説明文の区切り。padding-bottom 20 + margin-bottom 20 = 40px あった */
  .business-main .biz-trust-top {
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .business-main .biz-trust-top {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  /* 数字は見出しの右側・下端揃えにする */
  .business-main .biz-trust-top-left {
    min-width: 0;
    flex: 0 0 auto;
  }

  .business-main .biz-trust-huge-number {
    flex-shrink: 0;
    line-height: 1;
    margin-bottom: 0;
  }

  .business-main .biz-trust-huge-number {
    font-size: clamp(1.5rem, 7.5vw, 1.8rem);
  }

  .business-main .biz-trust-huge-number span {
    font-size: 1.05rem;
  }

  /* 先頭に付く語（例：「全国」46都道府県）は左余白を詰める */
  .business-main .biz-trust-huge-number span:first-child {
    margin-left: 0;
    margin-right: 8px;
  }

  .business-main .biz-trust-badge {
    width: 56px;
    height: 56px;
    font-size: 1.05rem;
    padding-bottom: 14px;
    padding-left: 14px;
  }

  .business-main .biz-trust-cat {
    font-size: 0.85rem;
  }

  .business-main .biz-trust-metric {
    font-size: 1.1rem;
  }

  .business-main .biz-trust-desc {
    /* モバイル本文の基準15px（旧0.85rem=13.6px） */
    font-size: 0.9375rem;
  }

  .business-main .lp-faq-q {
    font-size: 0.92rem;
  }}

@media (max-width: 380px) {
  .business-main .biz-fv-container {
    padding-inline: 16px;
  }
}

/* 年代グラフの凡例の色（2026-08-31 HTMLから移動） */
.legend-red { background: #e60012; }
.legend-dark { background: #222222; }

/* 画像の伸ばし方（2026-08-31 HTMLから移動） */
.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================================================
   横棒グラフ（2026-08-31）
   もとは HTML に width と色を直接書いていた。
   同じ割合の数字が bar-fill（棒の長さ）と bar-value（数字の位置）の
   2箇所に書かれており、片方を直し忘れるとずれる状態だった。

   割合は「データ」なので HTML に残すが、変数 --bar として1回だけ書き、
   棒と数字の両方がそれを見る。色は「デザイン」なので CSS に置く。

     <div class="bar-track" style="--bar: 44.4%">
       <div class="bar-fill bar-fill--1"></div>
       <span class="bar-value">44.4%</span>
     </div>
   ================================================== */
.bar-fill {
  width: var(--bar, 0%);
}
.bar-value {
  left: var(--bar, 0%);
}

/* 割合の大きい順に濃さを落としていく */
.bar-fill--1 { background: #e60012; }
.bar-fill--2 { background: #222222; }
.bar-fill--3 { background: #555555; }
.bar-fill--4 { background: #888888; }
.bar-fill--5 { background: #aaaaaa; }
.bar-fill--6 { background: #cccccc; }
.bar-fill--7 { background: #bbbbbb; }

/* 棒が極端に短いとき（1%前後）の数字。
   通常より近づけて、色を薄くする。
   もとは該当2箇所に style="margin-left:5px; color:#666" と書かれていた。 */
.demo-bar-item .bar-value--small {
  margin-left: 5px;
  color: #666;
}
