/* =============================================================
   事例ページ（case-*.html）の共通の型 — v3（P920・2026-09-28）
   共通の部品は components.css。ここは事例ページだけの形（cs- で始める）。
   ※ 事例の色鉛筆の絵は、採用済みの絵をそのまま使う（赤の数は「ゴールの赤」の決まりの対象外。絵の決まりは ImagePrompts/03）
   ============================================================= */

/* 短い文は文節で折り返す */
.cs-hero__title,
.cs-hero__catch,
.cs-titleblock dd,
.cs-summary__lead,
.cs-summary__text,
.cs-ba__title,
.cs-ba__text,
.cs-highlight__text,
.cs-related__text,
.cs-related__name,
.cs-voice__quote,
.cs-voice__text,
.cs-chain li,
.cs-merge,
.cs-cloud,
.cs-duo__title,
.cs-group__title,
.cs-kind__list li,
.cs-layer__value {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* ---------- ヒーロー: 見出し＋表題欄、その下に絵を本文幅いっぱいに ---------- */
.cs-hero {
  position: relative;
  padding-top: clamp(32px, 4vw, 56px);
  background: #fff;
  overflow: hidden;
}

/* 絵の下半分の後ろに、淡いスチールの帯 */
.cs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: var(--lc-steel-50);
  border-top: 1px solid var(--lc-steel-200);
}

.cs-hero__inner {
  position: relative;
  z-index: 1;
}

.cs-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
}

.cs-hero__title {
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.cs-hero__catch {
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--lc-navy-800);
}

/* 図面の表題欄（業種・お客様・関連する柱・主要技術）
   <div class="cs-titleblock"><p class="cs-titleblock__head">…</p><dl> .cs-titleblock__row … </dl></div> */
.cs-titleblock {
  background: #fff;
  border: 1.5px solid var(--lc-navy-800);
  font-size: 0.875rem;
}

.cs-titleblock dl {
  margin: 0;
}

.cs-titleblock__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  background: var(--lc-navy-800);
  color: #fff;
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.cs-titleblock__row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  border-top: 1px solid var(--lc-steel-200);
}

.cs-titleblock dt {
  padding: 9px 12px;
  background: var(--lc-steel-50);
  border-right: 1px solid var(--lc-steel-200);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lc-steel-700);
}

.cs-titleblock dd {
  margin: 0;
  padding: 9px 14px;
  line-height: 1.7;
}

.cs-titleblock dd small {
  color: var(--lc-steel-500);
}

.cs-hero__figure {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.cs-hero__frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
  box-shadow: var(--lc-shadow-float);
}

.cs-hero__img {
  width: 100%;
}

.cs-hero__caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--lc-steel-500);
  text-align: center;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  .cs-hero__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 639px) {
  .cs-titleblock__row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  /* 「関連する柱」「キーワード」が 2 行に割れないように */
  .cs-titleblock dt {
    padding-inline: 10px;
    white-space: nowrap;
  }
}

/* ---------- このプロジェクトを一言で ---------- */
.cs-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cs-summary--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 52em;
}

.cs-summary__lead {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--lc-navy-800);
}

.cs-summary__text {
  margin-top: 16px;
  color: var(--lc-steel-700);
}

.cs-summary__text + .cs-summary__text {
  margin-top: 12px;
}

.cs-roles {
  padding: 24px 26px;
  background: var(--lc-blue-50);
  border: 1px solid var(--lc-blue-100);
  border-radius: var(--lc-radius-m);
}

.cs-roles__title {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lc-navy-800);
}

@media (max-width: 1023px) {
  .cs-summary {
    grid-template-columns: 1fr;
  }
}

/* 図のまとまり（見出し＋図） */
.cs-figure {
  margin: 0;
}

.cs-figure + .cs-figure {
  margin-top: clamp(40px, 5vw, 56px);
}

.cs-figure__caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.cs-figure__title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lc-navy-800);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-figure__sub {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* 図の説明を左に、図を右に（幅の狭い図で、右側が空かないように。PC だけ） */
@media (min-width: 1024px) {
  .cs-figure--aside {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
    gap: 56px;
    align-items: start;
  }

  .cs-figure--aside .cs-figure__caption {
    margin-bottom: 0;
    padding-top: 6px;
  }
}

/* 図の中の手順（5 つほど並ぶので、少し詰める） */
.cs-figure .lc-step {
  padding: 18px 16px;
}

/* ---------- 前と後（BEFORE → AFTER） ---------- */
.cs-ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
}

.cs-ba__panel {
  padding: 22px 22px 24px;
  background: var(--lc-steel-50);
  border: 1px dashed var(--lc-steel-300);
  border-radius: var(--lc-radius-m);
}

.cs-ba__panel--after {
  background: #fff;
  border: 1.5px solid var(--lc-navy-800);
  box-shadow: var(--lc-shadow-card);
}

.cs-ba__label {
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lc-steel-500);
}

.cs-ba__panel--after .cs-ba__label {
  color: var(--lc-blue-600);
}

.cs-ba__title {
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
}

.cs-ba__text {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--lc-steel-700);
}

.cs-ba__panel .lc-checklist {
  margin-top: 14px;
  font-size: 0.875rem;
}

/* BEFORE や「以前の状況」の箇条書きは、チェックではなく小さな点（「できたこと」と見分ける）。
   ほかの場所では <ul class="lc-checklist cs-dots"> で使う */
.cs-ba__panel:not(.cs-ba__panel--after) .lc-checklist li,
.cs-dots li {
  padding-left: 18px;
}

.cs-ba__panel:not(.cs-ba__panel--after) .lc-checklist li::before,
.cs-dots li::before {
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lc-steel-300);
}

.cs-ba__panel:not(.cs-ba__panel--after) .lc-checklist li::after,
.cs-dots li::after {
  display: none;
}

.cs-ba__arrow {
  align-self: center;
  width: 40px;
  height: 40px;
  color: var(--lc-blue-600);
}

@media (max-width: 767px) {
  .cs-ba {
    grid-template-columns: 1fr;
  }

  .cs-ba__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* 拠点の箱（BEFORE: ばらばら／AFTER: 1 つのシステムに） */
.cs-sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.cs-site {
  position: relative;
  padding: 10px 8px;
  background: #fff;
  border: 1px solid var(--lc-steel-300);
  border-radius: var(--lc-radius-s);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.cs-site small {
  display: block;
  margin-top: 2px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--lc-steel-500);
}

.cs-merge {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--lc-steel-300);
  font-size: 0.8125rem;
  text-align: center;
  color: var(--lc-steel-700);
}

.cs-cloud {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--lc-navy-800);
  border-radius: var(--lc-radius-s);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.cs-cloud small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* スマホ: 3 つの拠点の箱が狭いので、文字と余白を詰める（「マレーシア」が割れないように） */
@media (max-width: 639px) {
  .cs-ba__panel {
    padding: 18px 16px 20px;
  }

  .cs-sites {
    gap: 8px;
  }

  .cs-site {
    padding: 8px 2px;
    font-size: 0.75rem;
  }

  .cs-site small {
    font-size: 0.625rem;
  }
}

/* AFTER: 各拠点から雲（1 つのシステム）へ線 */
.cs-sites--connected {
  margin-top: 22px;
}

.cs-sites--connected .cs-site::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -23px;
  height: 22px;
  border-left: 1.5px solid var(--lc-blue-600);
}

/* 縦の流れ（前後比較の中で） */
.cs-chain {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.cs-chain li {
  position: relative;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--lc-steel-300);
  border-radius: var(--lc-radius-s);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
}

.cs-chain li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-right: 1.5px solid var(--lc-steel-500);
  border-bottom: 1.5px solid var(--lc-steel-500);
  transform: rotate(45deg);
}

.cs-chain li small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lc-steel-500);
}

.cs-chain .is-manual {
  background: var(--lc-steel-100);
  border: 1.5px dashed var(--lc-steel-500);
  color: var(--lc-steel-700);
}

.cs-chain .is-system {
  background: var(--lc-navy-800);
  border-color: var(--lc-navy-800);
  color: #fff;
}

.cs-chain .is-system small {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 2 つの箱の対比（必ず守る／できるだけ守る など） ---------- */
.cs-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cs-duo__box {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.cs-duo__box--strong {
  border: 1.5px solid var(--lc-navy-800);
}

.cs-duo__label {
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-blue-600);
}

.cs-duo__title {
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lc-navy-800);
}

.cs-duo__box .lc-checklist {
  margin-top: 12px;
  font-size: 0.9375rem;
}

@media (max-width: 767px) {
  .cs-duo {
    grid-template-columns: 1fr;
  }
}

/* ---------- かけ合わせの式（データ × 理論 → 予測 など） ---------- */
.cs-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr);
  align-items: stretch;
  gap: 14px;
}

.cs-equation__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.cs-equation__box--result {
  background: var(--lc-navy-800);
  border-color: var(--lc-navy-800);
  color: #fff;
}

.cs-equation__label {
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-blue-600);
}

.cs-equation__box--result .cs-equation__label {
  color: var(--lc-blue-200);
}

.cs-equation__title {
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-equation__text {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-equation__box--result .cs-equation__text {
  color: rgba(255, 255, 255, 0.82);
}

.cs-equation__op {
  align-self: center;
  justify-self: center;
  font-family: var(--lc-font-en);
  font-size: 1.625rem;
  font-weight: 300;
  line-height: 1;
  color: var(--lc-steel-500);
}

.cs-equation__arrow {
  align-self: center;
  width: 34px;
  height: 34px;
  color: var(--lc-blue-600);
}

@media (max-width: 767px) {
  .cs-equation {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cs-equation__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* ---------- フェーズの並び（検定の 8 フェーズなど。4 列で折り返す） ---------- */
.cs-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 30px;
  counter-reset: none;
}

.cs-phase {
  position: relative;
  padding: 18px 16px 18px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.cs-phase + .cs-phase::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border-top: 1.5px solid var(--lc-steel-500);
  border-right: 1.5px solid var(--lc-steel-500);
  transform: rotate(45deg);
}

/* 各行の先頭には、左の矢印を付けない（前の行の終わりから、次の行の先頭へ） */
.cs-phase:nth-child(4n + 1)::before {
  display: none;
}

.cs-phase__no {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lc-font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--lc-blue-600);
}

.cs-phase__name {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-phase__text {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-phase--key {
  border: 1.5px solid var(--lc-blue-600);
  background: var(--lc-blue-50);
}

.cs-phase--goal .cs-phase__no::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lc-red);
  box-shadow: 0 0 0 4px var(--lc-red-soft);
}

/* 大事なフェーズの小さな札（凡例を使わずに、箱の中で意味を言う） */
.cs-phase__chip {
  margin-left: auto;
  padding: 1px 8px;
  background: #fff;
  border: 1px solid var(--lc-blue-200);
  border-radius: 2px;
  font-family: var(--lc-font-ja);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lc-blue-600);
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .cs-phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-phase:nth-child(4n + 1)::before {
    display: block;
  }

  .cs-phase:nth-child(2n + 1)::before {
    display: none;
  }
}

@media (max-width: 639px) {
  .cs-phases {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cs-phase + .cs-phase::before,
  .cs-phase:nth-child(2n + 1)::before {
    display: block;
    left: 50%;
    top: -19px;
    margin: 0 0 0 -5px;
    transform: rotate(135deg);
  }
}

/* ---------- 小さなタグの組（試験のレベル・受験者の種類など） ---------- */
.cs-kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 44px);
}

.cs-kind {
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.cs-kinds--flush {
  margin-top: 0;
}

.cs-kind__label {
  margin-bottom: 4px;
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-blue-600);
}

.cs-kind__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--lc-navy-800);
}

.cs-kind__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cs-kind__list li {
  padding: 4px 12px;
  background: var(--lc-blue-50);
  border: 1px solid var(--lc-blue-100);
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .cs-kinds {
    grid-template-columns: 1fr;
  }
}

/* ---------- 機能のまとまり（見出し＋チェックリストの箱） ---------- */
.cs-groups {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 20px;
}

.cs-group {
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.cs-group__title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lc-steel-100);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lc-navy-800);
}

.cs-group .lc-checklist {
  gap: 6px;
  font-size: 0.875rem;
}

.cs-group__text {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  .cs-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .cs-groups {
    grid-template-columns: 1fr;
  }
}

/* ---------- 技術の積み重ね（上＝使う人に近い側、下＝土台） ---------- */
.cs-layers {
  display: grid;
  gap: 6px;
  max-width: 760px;
}

.cs-layer {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-s);
}

.cs-layer__name {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--lc-navy-800);
  color: #fff;
  font-family: var(--lc-font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.cs-layer__value {
  padding: 12px 16px;
  font-weight: 500;
}

.cs-layer:last-child {
  box-shadow: inset 0 -4px 0 var(--lc-steel-200);
}

@media (max-width: 639px) {
  .cs-layer {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

/* ---------- お客様の評価（実際にいただいたお言葉） ---------- */
.cs-voice {
  position: relative;
  margin: 0;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-left: 3px solid var(--lc-blue-600);
  border-radius: 0 var(--lc-radius-m) var(--lc-radius-m) 0;
}

.cs-voice__quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--lc-navy-800);
}

.cs-voice__text {
  margin-top: 14px;
  color: var(--lc-steel-700);
}

/* ---------- ハイライト（大きな番号＋ひとこと） ---------- */
.cs-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--lc-steel-200);
}

.cs-highlight {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--lc-steel-200);
}

.cs-highlight:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--lc-steel-200);
}

.cs-highlight__no {
  font-family: var(--lc-font-en);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--lc-blue-600);
}

.cs-highlight__text {
  line-height: 1.9;
  color: var(--lc-steel-700);
}

.cs-highlight__text strong {
  color: var(--lc-ink);
}

@media (max-width: 767px) {
  .cs-highlights {
    grid-template-columns: 1fr;
  }

  .cs-highlight,
  .cs-highlight:nth-child(even) {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 20px 0;
    border-left: none;
  }

  .cs-highlight__no {
    font-size: 1.75rem;
  }
}

/* ---------- 関連（柱・サービス・事例） ---------- */
.cs-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cs-related a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 24px 20px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
  color: var(--lc-ink);
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--lc-ease);
}

.cs-related a:hover {
  border-color: var(--lc-blue-200);
  box-shadow: var(--lc-shadow-card);
  transform: translateY(-2px);
  text-decoration: none;
}

.cs-related__label {
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-steel-500);
}

.cs-related__name {
  margin-top: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.cs-related__text {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--lc-steel-700);
}

.cs-related .lc-link-arrow {
  margin-top: auto;
  padding-top: 14px;
}

.cs-related-foot {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .cs-related {
    grid-template-columns: 1fr;
  }
}

/* ---------- 前後の事例へ ---------- */
.cs-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--lc-steel-200);
  border-bottom: 1px solid var(--lc-steel-200);
}

.cs-pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 8px;
  color: var(--lc-ink);
  text-decoration: none;
}

.cs-pager a:hover {
  background: var(--lc-blue-50);
  text-decoration: none;
}

.cs-pager__dir {
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-blue-600);
}

.cs-pager__name {
  font-weight: 700;
  line-height: 1.6;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-pager__next {
  align-items: flex-end;
  text-align: right;
  border-left: 1px solid var(--lc-steel-200);
}

.cs-pager__all {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ---------- 事例一覧: ヒーローの図「業種の広がり」（製図の紙の上の目次） ----------
   文字の見出しを先に読んでもらうため、HTML は文字 → 図の順。PC では図を左に置く */
@media (min-width: 1024px) {
  .cs-list-hero .lc-page-hero__media {
    order: -1;
  }
}

.cs-map {
  padding: clamp(8px, 1.6vw, 20px);
}

.cs-map__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--lc-navy-800);
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-navy-800);
}

.cs-map__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.cs-map__group {
  padding: 16px 18px 18px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.cs-map__group--wide {
  grid-column: 1 / -1;
  border: 1.5px solid var(--lc-navy-800);
}

.cs-map__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lc-navy-800);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-map__name small {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lc-steel-500);
}

.cs-map__cases {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.cs-map__group--wide .cs-map__cases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.cs-map__cases a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--lc-ink);
  text-decoration: none;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.cs-map__cases a:hover {
  color: var(--lc-blue-600);
  text-decoration: underline;
}

.cs-map__cases .lc-en {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--lc-blue-600);
}

@media (max-width: 639px) {
  .cs-map__groups,
  .cs-map__group--wide .cs-map__cases {
    grid-template-columns: 1fr;
  }
}

/* 事例一覧: はじめの一言と、3 つの約束ごと */
.cs-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cs-intro__title {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--lc-navy-800);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media (max-width: 1023px) {
  .cs-intro {
    grid-template-columns: 1fr;
  }
}

/* 事例一覧: 一覧の末尾の注記 */
.cs-list-foot {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

/* ---------- 細かな余白 ---------- */
.cs-summary-figure,
.cs-legacy-voice {
  margin-top: clamp(40px, 5vw, 56px);
}

.cs-role-list {
  margin-top: 12px;
  color: var(--lc-steel-700);
}

.cs-feature-list {
  margin-top: 10px;
  font-size: 0.9375rem;
}

.cs-role-text {
  margin-top: 14px;
  color: var(--lc-steel-700);
}

.cs-pager-wrap {
  margin-top: clamp(48px, 6vw, 72px);
}
