/* ==========================================================================
   伴走支援ページ（bpaas.html）専用スタイル（350回目：2026/10/29 全面刷新）
   キャプチャ「A_フェーズ型_v13」をもとに（351回目：イラストを高画質の支給画像に差し替え、枠の比率を絵に合わせて変更）
  、課題 → 初期導入支援（4ステップ）→ 運用支援 → お客様の声 → CTA の構成に。
   読み込み順：テーマCSS → newtop-components.css → newtop-custom.css → newtop-mobilefirst.css → このファイル

   文字サイズ・色は他ページのルールを引き継ぐ
     PC（769px以上）
       ページ見出し 36px ／ ページ名（・伴走支援）18px ／ ページ見出し下の説明文 16px（#222222）
       セクション見出し 32px・行間1.6（362回目：36px・1.5から変更）／ 小見出し 18px ／ 見出し下の説明文 16px（#222222）
       パネルの見出し 18〜22px ／ パネル内の説明文 16px ／ ラベル 14px ／ 注記 12px
       パンくず 14px（newtop-mobilefirst.css「69.」）
     SP（768px以下）
       ページ見出し 22px ／ ページ名 14px ／ ページ見出し下の説明文 14px・行間1.7
       セクション見出し 20px・行間1.6（362回目：22px・1.5から変更）／ 小見出し 16px ／ 見出し下の説明文 13px・行間1.6
       パネルの見出し 16px ／ パネル内の説明文 14px・行間1.7 ／ ラベル・注記 12px・行間1.6
       セクションの見出しまわりは 640px以下で左揃え（TOPの「20.」と同じ）。ページ見出しは中央のまま
     色：文字 #222222 ／ 補足 #63636B ／ 地のグレー #F5F8FA ／ 線 #E3E6EA ／
         赤 #CF1B39（番号・小さい文字・「・」・アイコン・引用符。サイト全体のルール「70.」）／#F32F4C（ボタンなど操作の色）
         画像（図解）の中の赤はTOPの図解と同じ #FB0E36 にそろえている（357回目）
     角丸 6px（全ページ共通）
   旧レイアウトの .bp- のクラスは使っていない（newtop-mobilefirst.css に残る .bp-v2 の指定は効かない）
   ========================================================================== */

.bs-v2 {
  color: #222222;
}
.bs-v2 .v2-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 52px;
  box-sizing: border-box;
}
.bs-v2 ul,
.bs-v2 ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bs-v2 h1,
.bs-v2 h2,
.bs-v2 h3,
.bs-v2 p,
.bs-v2 figure,
.bs-v2 blockquote {
  margin: 0;
}
.bs-v2 img {
  max-width: 100%;
}
.bs-v2 picture {
  display: contents;
}
.bs-v2 .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* PCだけ／SPだけの改行（このページは 768px で切り替える） */
@media (min-width: 769px) {
  html body .bs-v2 br.v2-only-sp { display: none; }
  html body .bs-v2 br.v2-only-pc { display: inline; }
}
@media (max-width: 768px) {
  html body .bs-v2 br.v2-only-pc { display: none; }
  html body .bs-v2 br.v2-only-sp { display: inline; }
}
.bs-v2 .bs-nw {
  white-space: nowrap;
}


/* --------------------------------------------------------------------------
   共通：セクション・見出し
   -------------------------------------------------------------------------- */
.bs-v2 .bs-sec {
  padding: 96px 0;
  background: #ffffff;
}
.bs-v2 .bs-sec--gray {
  background: #F5F8FA;
}
.bs-v2 .bs-head {
  text-align: center;
}
.bs-v2 .bs-kicker {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-kicker .dot {
  color: #CF1B39; /* 359回目：サイト全体の「・」・チェック・赤い丸の色（newtop-mobilefirst.css「70.」・326回目）に合わせる */
}
.bs-v2 .bs-ttl {
  font-size: 32px; /* 362回目：36px → 32px */
  font-weight: 700;
  line-height: 1.6; /* 362回目：1.5 → 1.6 */
  color: #222222;
}
.bs-v2 .bs-lead {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #222222;
}
@media (min-width: 769px) and (max-width: 1100px) {
  .bs-v2 .bs-worry__ttl .bs-nw {
    white-space: normal; /* 362回目：3列が狭くなり、1行（最大11文字）がパネルの幅に収まらないため、自然に折り返す */
  }
}
/* ▼（課題→解決、運用支援の各列） */
.bs-v2 .bs-arrow {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 11px solid #222222;
}
.bs-v2 .bs-arrow--lg {
  margin: 48px auto 28px;
  border-left-width: 14px;
  border-right-width: 14px;
  border-top-width: 14px;
}


/* --------------------------------------------------------------------------
   ページ見出し
   -------------------------------------------------------------------------- */
.bs-v2 .bs-hero {
  padding: 72px 0 88px; /* 362回目：上の余白 40px → 72px（機能ページ・セキュリティページの .sec-pagehead と同じ） */
  background: #ffffff;
  text-align: center;
}
.bs-v2 .bs-hero .bs-kicker {
  margin-bottom: 16px;
}
.bs-v2 .bs-hero__ttl {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4; /* 362回目：1.5 → 1.4（機能ページ・セキュリティページのページ見出し .page-ttl と同じ） */
  letter-spacing: 0.02em;
  color: #222222;
}
.bs-v2 .bs-hero__lead {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #222222;
}
.bs-v2 .bs-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
/* ボタン：TOPのFVと同じ大きさ（高さ44px・14px・最小幅250px・角丸5px）。
   ホバーは既存の .home-v2 .v2-btn--dark ／ .v2-btn--outline の指定（1.02倍）に任せ、形と色だけここで決める */
.bs-v2 .bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 250px;
  height: 44px;
  padding: 0 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}
.bs-v2 .bs-btn.v2-btn--dark {
  background-color: #222222;
  color: #ffffff;
  border: 1px solid #222222;
}
.bs-v2 .bs-btn.v2-btn--outline {
  background-color: #ffffff;
  color: #222222;
  border: 1px solid #222222;
}
.bs-v2 .bs-btn:focus-visible {
  outline: 2px solid #222222;
  outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   導入における課題
   -------------------------------------------------------------------------- */
.bs-v2 .bs-worry__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}
/* 362回目：PCはテキストがパネル（白い枠）の外に出ていたため、項目全体を1枚の白いパネルにして、画像と見出しを中に収めた
   （運用支援の作業カード .bs-work と同じ作り：白地・角丸6px・余白 上20px・左右16px・下28px・中央揃え） */
.bs-v2 .bs-worry__item {
  box-sizing: border-box;
  padding: 20px 16px 28px;
  border-radius: 6px;
  background: #ffffff;
}
.bs-v2 .bs-worry__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  aspect-ratio: 2 / 1;
  padding: 4px 12px; /* パネルが白地になったため、絵の周りの余白は小さく（353回目の 上下24px・左右32px は画像だけの白枠のときの値） */
  overflow: hidden;
}
.bs-v2 .bs-worry__visual img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.bs-v2 .bs-worry__ttl {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: #222222;
}
/* 「kpiee なら、初期導入から運用までまるっと支援」 */
.bs-v2 .bs-solve {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0; /* 「、」に空きがあるため、「なら、」と続きの文の間は詰める */
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.bs-v2 .bs-solve__logo {
  display: block;
  flex: 0 0 auto;
  width: 99px; /* 355回目：ピンのアイコンを外した黒いロゴ（viewBox 65.72 0 174.28 74。他ページのロゴと同じ切り出し） */
  height: 42px;
  fill: #222222;
  /* 行の中心合わせだと高く見えるため少し下げる（中間CTAのロゴと同じ考え方） */
  position: relative;
  top: 2px;
}
.bs-v2 .bs-solve__head {
  display: inline-flex;
  align-items: center;
  gap: 0.08em; /* 362回目：12px → 0.08em（「kpieeをご利用いただいた」の見出しの .bs-ttl__logo の右余白と同じ。PC約2.2px・SP約1.6px） */
  white-space: nowrap;
  color: #222222;
}
.bs-v2 .bs-solve__strong {
  font-weight: 700;
  color: #222222; /* 355回目：赤 → 黒 */
}


/* --------------------------------------------------------------------------
   初期導入支援（4ステップ）
   番号の下の縦線で、01〜04が順に進む流れであることを示す
   -------------------------------------------------------------------------- */
.bs-v2 .bs-steps {
  max-width: 1048px;
  margin: 56px auto 0;
}
.bs-v2 .bs-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 300px;
  -webkit-column-gap: 32px;
  column-gap: 32px;
  align-items: start;
  padding-bottom: 56px;
}
.bs-v2 .bs-step:last-child {
  padding-bottom: 0;
}
/* 縦線：番号の下から、次の番号の手前まで */
.bs-v2 .bs-step::before {
  content: "";
  position: absolute;
  top: 52px;
  bottom: 12px;
  left: 28px;
  width: 1px;
  background: #E3E6EA;
}
.bs-v2 .bs-step:last-child::before {
  bottom: 0;
}
.bs-v2 .bs-step__num {
  display: block;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #CF1B39;
  font-feature-settings: "tnum";
}
.bs-v2 .bs-step__ttl {
  padding-top: 2px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-step__txt {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #222222;
}
.bs-v2 .bs-step__sub {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.bs-v2 .bs-chips li {
  margin: 0;
  padding: 6px 12px;
  border-radius: 6px;
  background: #F5F8FA;
  font-size: 14px;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-step__visual {
  box-sizing: border-box;
  aspect-ratio: 3 / 2;
  padding: 28px 44px; /* 354回目：14px → 上下28px・左右44px（枠に対して絵を小さく） */
  border: 1px solid #E3E6EA;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}
.bs-v2 .bs-step__visual img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}


/* --------------------------------------------------------------------------
   運用支援
   PC：3列。「変えたいこと」→ ▼ → 帯（3列にまたがる）→「対応する作業」が縦にそろう
   -------------------------------------------------------------------------- */
.bs-v2 .bs-ops__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  -webkit-column-gap: 20px;
  column-gap: 20px;
  margin-top: 40px;
}
.bs-v2 .bs-need {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 28px 20px 26px;
  border-radius: 6px;
  background: #ffffff;
  text-align: center;
}
.bs-v2 .bs-need__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F5F8FA;
  color: #222222;
}
.bs-v2 .bs-need__ico svg {
  width: 20px;
  height: 20px;
}
.bs-v2 .bs-need__ttl {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #222222;
}
.bs-v2 .bs-need__txt {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.7;
  color: #63636B;
}
.bs-v2 .bs-ops__arrow {
  margin: 20px auto 16px;
}
/* 帯：白いカードに歯車のアイコン＋「kpieeの運用代行サービス（BPaaS）」（補足）＋見出し（357回目に変更、358回目に文字・アイコンを小さく） */
.bs-v2 .bs-ops__band {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 6px;
  background: #ffffff;
}
.bs-v2 .bs-ops__band-ico {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F5F8FA;
  color: #CF1B39; /* 359回目：「70.」に合わせる */
}
.bs-v2 .bs-ops__band-ico svg {
  width: 22px;
  height: 22px;
}
.bs-v2 .bs-ops__band-txt {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.bs-v2 .bs-ops__band-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #63636B;
}
.bs-v2 .bs-ops__band-main {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-work {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 20px 16px 28px;
  border-radius: 6px;
  background: #ffffff;
  text-align: center;
}
.bs-v2 .bs-work__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 168px;
  padding: 14px 32px; /* 361回目：図版がカードの幅いっぱいで大きかったため、高さ180px → 枠168px＋内側の余白（上下14px・左右32px）で一回り小さく */
}
.bs-v2 .bs-work__visual img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}
.bs-v2 .bs-work__body {
  margin-top: 16px;
}
.bs-v2 .bs-work__ttl {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-work__txt {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #222222;
}
.bs-v2 .bs-note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
  color: #63636B;
}


/* --------------------------------------------------------------------------
   見出しの中の kpiee ロゴ（黒・ピンなし。文字の大きさに合わせて em で指定）
   -------------------------------------------------------------------------- */
.bs-v2 .bs-ttl__logo {
  display: inline-block;
  width: 3.06em;
  height: 1.3em;
  margin-right: 0.08em;
  vertical-align: -0.36em;
  fill: #222222;
}


/* --------------------------------------------------------------------------
   導入企業の声
   -------------------------------------------------------------------------- */
.bs-v2 .bs-head--left {
  max-width: 1048px;
  margin: 0 auto;
  text-align: left;
}
.bs-v2 .bs-voice__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1048px;
  margin: 40px auto 0;
}
.bs-v2 .bs-quote {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0;
  padding: 32px 28px 28px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 10px 30px -14px rgba(20, 30, 60, 0.18), 0 1px 3px rgba(20, 30, 60, 0.06);
}
.bs-v2 .bs-quote__fig {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.bs-v2 .bs-quote__mark {
  display: block;
  width: 30px;
  height: 23px;
  fill: #CF1B39; /* 359回目：「70.」に合わせる */
}
.bs-v2 .bs-quote__body {
  flex: 1 1 auto;
  margin-top: 20px;
  padding: 0;
  border: 0;
}
.bs-v2 .bs-quote__ttl {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #222222;
}
.bs-v2 .bs-quote__txt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #63636B;
}
.bs-v2 .bs-quote__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #E3E6EA;
}
.bs-v2 .bs-quote__photo {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}
.bs-v2 .bs-quote__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bs-v2 .bs-quote__co {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #222222;
}
.bs-v2 .bs-quote__role,
.bs-v2 .bs-quote__ind {
  font-size: 12px;
  line-height: 1.6;
  color: #63636B;
}
/* 「事例を読む」：押せる高さ44pxを確保しつつ、見た目の位置はカードの右下 */
.bs-v2 .bs-quote__link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 8px 0 -10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #CF1B39;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bs-v2 .bs-quote__link:visited {
  color: #CF1B39;
}
@media (hover: hover) {
  .bs-v2 .bs-quote__link:hover {
    text-decoration: none;
  }
}
.bs-v2 .bs-quote__link:focus-visible {
  outline: 2px solid #222222;
  outline-offset: 2px;
}


/* --------------------------------------------------------------------------
   CTA（下層ページ共通の中間CTA .sec-midcta を使い、見出し下の説明文を足す）
   ボタンの色は .sec-midcta の既存の指定（資料DL＝白、相談＝黒地に白枠）
   -------------------------------------------------------------------------- */
.bs-v2 .bs-cta .midcta-ttl {
  color: #ffffff;
  text-align: center;
}
.bs-v2 .bs-cta .bs-cta__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  color: #C7CCD4; /* #222222 の地で約10:1 */
}
.bs-v2 .bs-cta .v2-cta-row {
  margin-top: 32px;
}


/* ==========================================================================
   SP（768px以下）
   ========================================================================== */
@media (max-width: 768px) {
  .bs-v2 .v2-container {
    padding: 0 32px;
  }
  .bs-v2 .bs-sec {
    padding: 56px 0;
  }
  .bs-v2 .bs-kicker {
    margin-bottom: 12px;
    font-size: 16px;
  }
  .bs-v2 .bs-ttl {
    font-size: 20px; /* 362回目：22px → 20px */
    line-height: 1.6; /* 362回目：1.5 → 1.6 */
  }
  /* 362回目：課題の見出しは SP でも2行（「ツールを導入しても、／こんなお悩みが残っていませんか？」）。
     2行目（16文字）が収まらない狭い画面では、改行位置は変えずに文字を少し縮める（20px → 320px幅で約16.5px） */
  .bs-v2 .bs-ttl--worry {
    font-size: min(20px, calc((100vw - 50px) / 16.4));
    white-space: nowrap;
  }
  .bs-v2 .bs-lead {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.7; /* 362回目：1.6 → 1.7（TOP・機能ページの見出し下の説明文と同じ） */
  }

  /* ページ見出し：中央のまま（機能ページ・セキュリティページと同じ）。説明文も中央揃え（362回目：左揃え → 中央揃え。機能ページ・セキュリティページのSPと同じ） */
  .bs-v2 .bs-hero {
    padding: 40px 0 56px; /* 362回目：上の余白 24px → 40px（機能ページ・セキュリティページと同じ） */
  }
  .bs-v2 .bs-hero .bs-kicker {
    margin-bottom: 10px;
    font-size: 14px;
  }
  .bs-v2 .bs-hero__ttl {
    font-size: 22px;
  }
  .bs-v2 .bs-hero__lead {
    margin-top: 12px;
    font-size: min(14px, 3.9vw); /* 362回目：320px幅でも各行が収まるように（機能ページの説明文と同じ考え方）。改行位置は HTML の <br class="v2-only-sp"> で指定し、行の中では折り返さない */
    line-height: 1.7;
    text-align: center;
    white-space: nowrap;
  }
  .bs-v2 .bs-hero__cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
  }
  .bs-v2 .bs-btn {
    width: 300px;
    max-width: 100%;
    min-width: 0;
    height: 48px;
    font-size: 16px;
  }

  /* 課題：画像（左）＋見出し（右）の横並び */
  .bs-v2 .bs-worry__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
  .bs-v2 .bs-worry__item {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    -webkit-column-gap: 14px;
    column-gap: 14px;
    padding: 12px 12px 12px 10px;
    border-radius: 6px;
    background: #ffffff;
  }
  .bs-v2 .bs-worry__ttl {
    margin-top: 0;
    font-size: 16px;
    text-align: left;
  }
  .bs-v2 .bs-worry__visual {
    aspect-ratio: 16 / 9;
    padding: 0;
  }
  .bs-v2 .bs-arrow--lg {
    margin: 32px auto 20px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 12px;
  }
  .bs-v2 .bs-solve {
    font-size: 20px;
  }
  /* 362回目：ロゴと「なら、」の間は PC と同じ 0.08em（SPだけ 8px にしていた指定を削除） */
  /* 362回目：「kpieeなら、」が中央からずれて見える問題の修正。
     「、」は右側が約0.7文字分の空白で、SPでは「、」が行末になる（2行目を折り返すため）。空白ごと中央に置くため、見えている部分が約7px左に寄っていた
     （390px幅で、1行目のインクの中心 187.8px ／ 矢印・2行目は約195px）。その空白分（0.72em）だけ右の余白を詰めて、見えている部分を中央にそろえる */
  .bs-v2 .bs-solve__nara {
    margin-right: -0.72em;
  }
  /* 「初期導入から運用までまるっと支援」は2行目に */
  .bs-v2 .bs-solve__strong {
    flex: 0 0 100%;
  }
  .bs-v2 .bs-solve__logo {
    width: 75px;
    height: 32px;
  }

  /* 初期導入支援：番号の列（40px）＋本文。図解は本文の下に */
  .bs-v2 .bs-steps {
    margin-top: 32px;
  }
  .bs-v2 .bs-step {
    grid-template-columns: 40px minmax(0, 1fr);
    -webkit-column-gap: 12px;
    column-gap: 12px;
    padding-bottom: 40px;
  }
  .bs-v2 .bs-step::before {
    top: 40px;
    bottom: 8px;
    left: 20px;
  }
  .bs-v2 .bs-step__num {
    grid-row: 1 / span 2;
    font-size: 24px;
  }
  .bs-v2 .bs-step__body {
    grid-column: 2;
    grid-row: 1;
  }
  .bs-v2 .bs-step__visual {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: 300px; /* 352回目：横幅いっぱいだと大きすぎるため、PCの図解と同じ幅まで */
    margin-top: 16px;
    padding: 26px 40px; /* 354回目：10px → 上下26px・左右40px */
  }
  .bs-v2 .bs-step__ttl {
    padding-top: 1px;
    font-size: 18px;
  }
  .bs-v2 .bs-step__txt {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.7;
  }
  .bs-v2 .bs-step__sub {
    margin-top: 14px;
    font-size: 13px;
  }
  .bs-v2 .bs-chips {
    gap: 6px;
    margin-top: 8px;
  }
  .bs-v2 .bs-chips li {
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.6;
  }

  /* 運用支援：1列。変えたいこと（3つ）→ ▼ → 帯 → 対応する作業（3つ） */
  .bs-v2 .bs-ops__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
    margin-top: 24px;
  }
  .bs-v2 .bs-need {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    -webkit-column-gap: 14px;
    column-gap: 14px;
    align-items: center;
    padding: 16px;
    text-align: left;
  }
  .bs-v2 .bs-need__ico {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
  }
  .bs-v2 .bs-need__ttl {
    margin-top: 0;
    font-size: 16px;
  }
  .bs-v2 .bs-need__txt {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.7;
  }
  .bs-v2 .bs-ops__arrow {
    margin: 8px auto 0;
  }
  .bs-v2 .bs-ops__arrow + .bs-ops__arrow {
    display: none;
  }
  .bs-v2 .bs-ops__band {
    justify-content: flex-start;
    gap: 12px;
    margin-top: 4px;
    padding: 14px 16px;
  }
  .bs-v2 .bs-ops__band-ico {
    width: 40px;
    height: 40px;
  }
  .bs-v2 .bs-ops__band-ico svg {
    width: 20px;
    height: 20px;
  }
  .bs-v2 .bs-ops__band-sub {
    font-size: 12px;
  }
  .bs-v2 .bs-ops__band-main {
    font-size: 16px;
  }
  .bs-v2 .bs-work {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    -webkit-column-gap: 16px;
    column-gap: 16px;
    margin-top: 0;
    padding: 16px;
    text-align: left;
  }
  .bs-v2 .bs-work__visual {
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0; /* SPは画像の列が狭いため余白なし（従来どおり） */
  }
  .bs-v2 .bs-work__body {
    margin-top: 0;
  }
  .bs-v2 .bs-work__ttl {
    font-size: 16px;
  }
  .bs-v2 .bs-work__txt {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.7;
  }
  .bs-v2 .bs-note {
    margin-top: 12px;
    text-align: left;
  }

  /* 導入企業の声：1列 */
  .bs-v2 .bs-voice__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .bs-v2 .bs-quote {
    padding: 24px 20px 20px;
  }
  .bs-v2 .bs-quote__mark {
    width: 24px;
    height: 18px;
  }
  .bs-v2 .bs-quote__body {
    margin-top: 14px;
  }
  .bs-v2 .bs-quote__ttl {
    font-size: 16px;
  }
  .bs-v2 .bs-quote__ttl br {
    display: none;
  }
  .bs-v2 .bs-quote__txt {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
  }
  .bs-v2 .bs-quote__who {
    margin-top: 16px;
    padding-top: 16px;
  }
  .bs-v2 .bs-quote__photo {
    width: 48px;
    height: 48px;
  }
  .bs-v2 .bs-quote__co {
    font-size: 14px;
  }

  /* CTA */
  .bs-v2 .bs-cta .bs-cta__lead {
    margin-top: 12px;
    font-size: 14px;
  }
  .bs-v2 .bs-cta .v2-cta-row {
    margin-top: 24px;
  }
}

/* 640px以下：左右の余白は newtop-mobilefirst.css「21.」の25px。
   セクションの見出しまわりは左揃え（TOPの「20.」と同じ） */
@media (max-width: 640px) {
  .bs-v2 .bs-head {
    text-align: left;
  }
  /* 362回目：「kpieeなら、初期導入から運用までまるっと支援」は中央揃えのまま（上の▼と軸をそろえ、結論としてメリハリをつける）。
     以前は見出しと同じく左揃えにしていた */
}

/* 390px未満：作業内容の画像の列を少し狭め、見出しが3行に折れにくくする */
@media (max-width: 389px) {
  .bs-v2 .bs-work {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    -webkit-column-gap: 12px;
    column-gap: 12px;
  }
}

/* 390px未満：課題パネルの見出しは1行（最大10文字）が列に収まらないため、まとまりでの改行指定を外す */
@media (max-width: 389px) {
  .bs-v2 .bs-worry__ttl .bs-nw {
    white-space: normal;
  }
}

/* 390px未満（320px幅など）：改行位置の手前で折り返さないよう、見出しを画面幅に応じて少し縮める
   （機能ページの見出しと同じ考え方）。ボタンは左右の余白を詰めて文言を1行に */
@media (max-width: 389px) {
  .bs-v2 .bs-hero__ttl {
    font-size: min(22px, 5.6vw);
  }
  .bs-v2 .bs-solve {
    font-size: min(20px, 5.2vw);
  }
  .bs-v2 .bs-btn,
  .bs-v2 .bs-cta .v2-btn {
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
  }
}

/* 362回目：PC（769px以上）の見出しまわりの揃え（SPは従来どおり）
   ・初期導入支援・運用支援：見出し＋説明文を左揃え（下の4ステップ・カードの左端と同じ位置から）
   ・導入企業の声：小見出し（・導入企業の声）と見出し（kpieeをご利用いただいたお客様の声）を中央揃えに（以前は左揃え）
   ・導入における課題：小見出し（・導入における課題）を戻した。SP（768px以下）では引き続き出さない */
@media (min-width: 769px) {
  .bs-v2 .bs-phase .bs-head,
  .bs-v2 .bs-ops .bs-head {
    text-align: left;
  }
  .bs-v2 .bs-voice .bs-head--left {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .bs-v2 .bs-worry .bs-kicker {
    display: none;
  }
}

/* 動きを減らす設定：スクロールでの表示演出をなくす */
@media (prefers-reduced-motion: reduce) {
  .bs-v2 .scrollanime {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
