/* =============================================================
   製品ページ（AI 帳票読取・結Chat・ファイル共有）の共通の型 — v3（P920・2026-09-28）
   共通の部品は components.css。ここは製品ページだけの形（pd- で始める）。
   ※ 製品の画面（スクリーンショット）は実物なので、画面の中の赤は「ゴールの赤」の決まりの対象外
   ============================================================= */

/* ---------- ヒーロー: 文字の下に、画面を大きく ---------- */
.pd-hero {
  position: relative;
  padding-top: clamp(40px, 5vw, 64px);
  background: #fff;
  overflow: hidden;
}

/* 画面の下半分の後ろに、淡いスチールの帯 */
.pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: var(--lc-steel-50);
  border-top: 1px solid var(--lc-steel-200);
}

.pd-hero__inner {
  position: relative;
  z-index: 1;
}

.pd-hero__copy {
  max-width: 820px;
}

.pd-hero__product {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lc-navy-800);
}

.pd-hero__product small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lc-steel-500);
}

.pd-hero__title {
  font-size: clamp(1.875rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.pd-hero__lead {
  margin-top: 22px;
  font-size: var(--lc-fs-lead);
  font-weight: 500;
  line-height: 2;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pd-hero__screen {
  margin-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.pd-hero__caption {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--lc-steel-500);
  text-align: center;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* ブラウザの枠に入れた画面 */
.pd-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
  box-shadow: var(--lc-shadow-float);
}

.pd-frame::before {
  content: "";
  display: block;
  height: 26px;
  background:
    radial-gradient(circle, var(--lc-steel-300) 3.5px, transparent 4px) 14px 50% / 14px 14px no-repeat,
    radial-gradient(circle, var(--lc-steel-300) 3.5px, transparent 4px) 30px 50% / 14px 14px no-repeat,
    radial-gradient(circle, var(--lc-steel-300) 3.5px, transparent 4px) 46px 50% / 14px 14px no-repeat,
    var(--lc-steel-100);
  border-bottom: 1px solid var(--lc-steel-200);
}

.pd-frame img {
  width: 100%;
}

/* ---------- ページの目次 ---------- */
.pd-toc {
  --toc-cols: 4;
}

@media (max-width: 1023px) {
  .pd-toc {
    --toc-cols: 2;
  }
}

@media (max-width: 767px) {
  .pd-toc {
    --toc-cols: 1;
  }
}

/* ---------- はじめに（事実の一覧） ---------- */
.pd-facts-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--lc-steel-200);
}

.pd-facts-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--lc-steel-200);
}

.pd-facts-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.pd-facts-list h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
}

.pd-facts-list h3 .lc-en {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lc-blue-600);
}

.pd-facts-list p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .pd-facts-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 流れの図（しるしは components.css の lc-actor） ---------- */
.pd-flow .lc-step {
  padding: 18px 16px;
}

.pd-flow .lc-step__no {
  display: flex;
}

/* ---------- 二段構え・仕組みの図 ---------- */
.pd-engine {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 0.7fr);
  align-items: center;
  gap: 10px;
}

.pd-engine__box {
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
  text-align: center;
}

.pd-engine__box--ai {
  background: var(--lc-navy-800);
  border-color: var(--lc-navy-800);
  color: #fff;
}

.pd-engine__label {
  font-family: var(--lc-font-en);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-steel-500);
}

.pd-engine__box--ai .pd-engine__label {
  color: rgba(255, 255, 255, 0.66);
}

.pd-engine__name {
  margin-top: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-engine__text {
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--lc-steel-500);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-engine__box--ai .pd-engine__text {
  color: rgba(255, 255, 255, 0.8);
}

.pd-engine__arrow {
  width: 22px;
  height: 22px;
  color: var(--lc-steel-500);
}

@media (max-width: 1023px) {
  .pd-engine {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pd-engine__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* ---------- 機能一覧 ---------- */
.pd-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pd-capability {
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.pd-capability h3 {
  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);
}

.pd-capability .lc-checklist {
  gap: 6px;
  font-size: 0.875rem;
}

.pd-capability--future {
  grid-column: 1 / -1;
  background: var(--lc-steel-50);
  border-style: dashed;
}

/* 前の枠の横に並べたいとき（PC だけ 2 列ぶん） */
@media (min-width: 1024px) {
  .pd-capability--span2 {
    grid-column: span 2;
  }
}

.pd-capability--future .pd-future-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-future-list li {
  padding: 4px 12px;
  background: #fff;
  border: 1px dashed var(--lc-steel-300);
  border-radius: 2px;
  font-size: 0.8125rem;
  color: var(--lc-steel-700);
}

@media (max-width: 1023px) {
  .pd-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .pd-capabilities {
    grid-template-columns: 1fr;
  }
}

/* ---------- 数字で見る確かさ ---------- */
.pd-metrics {
  display: grid;
  grid-template-columns: repeat(var(--m, 3), minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.pd-metric {
  padding: 24px 24px 22px;
}

.pd-metric + .pd-metric {
  border-left: 1px solid var(--lc-steel-200);
}

.pd-metric__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--lc-navy-800);
}

.pd-metric__value .lc-en {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1;
}

.pd-metric__unit {
  font-size: 0.9375rem;
  font-weight: 700;
}

.pd-metric__text {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-metrics-note {
  margin-top: 14px;
}

@media (max-width: 767px) {
  .pd-metrics {
    grid-template-columns: 1fr;
  }

  .pd-metric + .pd-metric {
    border-left: none;
    border-top: 1px solid var(--lc-steel-200);
  }
}

/* ---------- 画面イメージ ---------- */
.pd-screens {
  display: grid;
  grid-template-columns: repeat(var(--s, 2), minmax(0, 1fr));
  gap: 28px;
}

.pd-screen figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .pd-screens {
    grid-template-columns: 1fr;
  }
}

/* ---------- スペック表 ---------- */
.pd-spec + .pd-spec {
  margin-top: 36px;
}

.pd-spec__title {
  margin-bottom: 12px;
}

.pd-spec .lc-table tbody th {
  width: 200px;
  white-space: normal;
  background: var(--lc-steel-50);
  color: var(--lc-navy-800);
}

.pd-spec .lc-table td {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-plan {
  display: inline-block;
  margin: 0 2px;
  padding: 0 6px;
  border: 1px dashed var(--lc-steel-500);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lc-steel-700);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .pd-spec .lc-table tbody th {
    width: auto;
    background: none;
    padding-bottom: 4px;
  }
}

/* ---------- セキュリティ（グループごとのカード） ---------- */
.pd-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pd-group {
  padding: 24px 24px 22px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
}

.pd-group--wide {
  grid-column: 1 / -1;
}

.pd-group h3 {
  margin-bottom: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--lc-navy-800);
}

.pd-group .lc-checklist {
  font-size: 0.9375rem;
}

@media (max-width: 767px) {
  .pd-groups {
    grid-template-columns: 1fr;
  }
}

/* ---------- 対応範囲・連携（見出しと中身の対） ---------- */
.pd-dl {
  border-top: 1px solid var(--lc-steel-200);
}

.pd-dl > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--lc-steel-200);
}

.pd-dl dt {
  font-weight: 700;
  color: var(--lc-navy-800);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-dl dd {
  margin: 0;
  color: var(--lc-steel-700);
  line-height: 1.9;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .pd-dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- 中立な整理（類型の並び。本システムの位置に印） ---------- */
.pd-types {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pd-types li {
  position: relative;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-s);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-types .lc-en {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--lc-steel-500);
}

.pd-types .is-ours {
  border: 2px solid var(--lc-blue-600);
  background: var(--lc-blue-50);
  color: var(--lc-navy-800);
}

.pd-types .is-ours::after {
  content: "本システムの位置";
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--lc-blue-600);
  white-space: nowrap;
}

.pd-types-note {
  margin-top: 40px;
}

@media (max-width: 1023px) {
  .pd-types {
    grid-template-columns: 1fr;
  }

  .pd-types .is-ours::after {
    position: static;
    display: block;
    margin-top: 6px;
    transform: none;
  }

  .pd-types-note {
    margin-top: 20px;
  }
}

/* 一般論と、本システムの対比 */
.pd-compare {
  display: grid;
  gap: 12px;
}

.pd-compare li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
  overflow: hidden;
}

.pd-compare__general,
.pd-compare__ours {
  padding: 18px 20px;
  font-size: 0.9375rem;
  line-height: 1.85;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-compare__general {
  color: var(--lc-steel-700);
}

.pd-compare__ours {
  background: var(--lc-blue-50);
  border-left: 1px solid var(--lc-blue-100);
  color: var(--lc-navy-800);
}

.pd-compare__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--lc-font-en);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-steel-500);
}

.pd-compare__ours .pd-compare__label {
  color: var(--lc-blue-600);
}

@media (max-width: 767px) {
  .pd-compare li {
    grid-template-columns: 1fr;
  }

  .pd-compare__ours {
    border-left: none;
    border-top: 1px solid var(--lc-blue-100);
  }
}

/* ---------- なぜ、この設計にしたのか（読み物） ---------- */
.pd-article {
  max-width: 52em;
}

.pd-article section + section {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--lc-steel-200);
}

.pd-article h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.pd-article .lc-prose {
  margin-top: 16px;
  color: var(--lc-steel-700);
}

.pd-voice {
  margin: 8px 0;
  padding: 16px 20px;
  background: var(--lc-steel-50);
  border-left: 3px solid var(--lc-steel-300);
  font-weight: 500;
  color: var(--lc-ink);
}

/* ---------- 関連ページ ---------- */
.pd-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pd-related a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 22px 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);
}

.pd-related a:hover {
  border-color: var(--lc-blue-200);
  box-shadow: var(--lc-shadow-card);
  transform: translateY(-2px);
  text-decoration: none;
}

.pd-related__label {
  font-family: var(--lc-font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-steel-500);
}

.pd-related__name {
  margin-top: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
}

.pd-related__text {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.pd-related .lc-link-arrow {
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 1023px) {
  .pd-related {
    grid-template-columns: 1fr;
  }
}

.pd-note-text {
  margin-top: 24px;
  max-width: 52em;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* ---------- 余白の調整（製品ページの各セクション） ---------- */
.pd-toc-section {
  padding-block: clamp(48px, 6vw, 72px);
}

.pd-toc-section .lc-label {
  margin-bottom: 16px;
}

.pd-flow-figure {
  margin-top: clamp(40px, 5vw, 56px);
}

.pd-engine-figure {
  margin-bottom: clamp(32px, 4vw, 44px);
}

.pd-scenes-title,
.pd-metrics-title,
.pd-types-title {
  margin: clamp(32px, 4vw, 48px) 0 14px;
}

.pd-feature-note {
  margin-top: 8px;
}

.pd-compare-list {
  margin-top: 14px;
}

/* =============================================================
   結Chat ページだけの形（yc- で始める）
   ============================================================= */

/* 結Chat は 結Knowledge の上に立っている（積み重ねの図） */
.yc-stack {
  display: grid;
  gap: 8px;
}

.yc-stack__layer {
  padding: 18px 22px;
  border-radius: var(--lc-radius-m);
}

.yc-stack__layer--chat {
  margin-inline: 12%;
  background: #fff;
  border: 1.5px solid var(--lc-navy-800);
}

.yc-stack__layer--knowledge {
  background: var(--lc-navy-800);
  color: #fff;
}

.yc-stack__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--lc-steel-500);
}

.yc-stack__layer--knowledge .yc-stack__label {
  color: rgba(255, 255, 255, 0.66);
}

.yc-stack__name {
  margin-top: 4px;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.yc-stack__role {
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.yc-stack__layer--knowledge .yc-stack__role {
  color: rgba(255, 255, 255, 0.82);
}

.yc-stack__base {
  padding: 14px 18px;
  background: var(--lc-steel-100);
  border-radius: var(--lc-radius-s);
  box-shadow: inset 0 -5px 0 var(--lc-steel-200);
}

.yc-stack__base-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--lc-navy-800);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.yc-stack__base-text {
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.yc-stack__caption {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--lc-steel-500);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.yc-knowledge-points {
  margin-top: clamp(40px, 5vw, 56px);
}

/* こんな場面で（いま → 結で） */
.yc-scenes .pd-compare__general strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lc-ink);
}

.yc-scenes .pd-compare__ours {
  font-weight: 700;
}

/* 点検の結果 */
.yc-callout-text {
  margin-top: 12px;
  color: var(--lc-steel-700);
}

.yc-check-lead {
  max-width: 52em;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.yc-check-table {
  margin-top: 20px;
}

.yc-check-table tbody th {
  width: 56px;
  text-align: center;
  font-family: var(--lc-font-en);
}

.yc-judge {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 2px;
  background: var(--lc-steel-100);
  color: var(--lc-steel-700);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.yc-judge--ok {
  background: var(--lc-blue-100);
  color: var(--lc-navy-800);
}

.yc-limit {
  margin-top: 24px;
}

/* 画面イメージ（大きい 1 枚 ＋ 2 枚） */
.yc-screen-main {
  margin-bottom: 28px;
}

.yc-screen-main .pd-frame {
  max-width: 960px;
  margin-inline: auto;
}

.yc-screen-main figcaption {
  text-align: center;
}

/* セキュリティ（知識源の安全設計をいちばん上に） */
.yc-group-key {
  background: var(--lc-blue-50);
  border-color: var(--lc-blue-200);
}

.yc-group-text {
  color: var(--lc-steel-700);
  line-height: 1.95;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.yc-group-text + .yc-group-text {
  margin-top: 12px;
}

/* =============================================================
   ファイル共有ページだけの形（fs- で始める）
   ============================================================= */

/* 受け取りの 4 つの関門 → 受け取れる */
.fs-gates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 24px;
}

.fs-gate {
  position: relative;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--lc-steel-200);
  border-top: 3px solid var(--lc-navy-800);
  border-radius: var(--lc-radius-s);
}

/* 関門と関門の間は「×（かつ）」 */
.fs-gate + .fs-gate::before {
  content: "×";
  position: absolute;
  left: -19px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--lc-font-en);
  font-weight: 600;
  color: var(--lc-steel-500);
}

.fs-gate--goal {
  border-top-color: var(--lc-steel-200);
  background: var(--lc-navy-800);
  color: #fff;
}

.fs-gate--goal::before {
  content: "＝" !important;
}

.fs-gate__no {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--lc-blue-600);
}

.fs-gate__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lc-red);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.fs-gate__name {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.fs-gate__text {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.fs-gate--goal .fs-gate__text {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1023px) {
  .fs-gates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .fs-gate + .fs-gate::before {
    display: none;
  }

  .fs-gate--goal {
    grid-column: 1 / -1;
  }
}

.fs-tech-title {
  margin: clamp(36px, 5vw, 48px) 0 16px;
}

.fs-facts {
  max-width: 60em;
}

.fs-compare td:last-child {
  background: var(--lc-blue-50);
  color: var(--lc-navy-800);
  font-weight: 500;
}

.fs-compare-note {
  margin-top: 16px;
  max-width: 60em;
}

.fs-redesign {
  margin-top: 20px;
}

/* 三階層と二層の期限の図 */
.fs-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(40px, 5vw, 56px);
}

.fs-model__caption {
  display: block;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.fs-model__caption .lc-en {
  display: block;
  margin-bottom: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--lc-blue-600);
}

.fs-nest,
.fs-nest__box {
  padding: 12px 14px 14px;
  border: 1.5px solid var(--lc-navy-800);
  border-radius: var(--lc-radius-s);
  background: #fff;
}

.fs-nest__box {
  margin-top: 10px;
  border-color: var(--lc-blue-600);
  background: var(--lc-blue-50);
}

.fs-nest__box .fs-nest__box {
  border-style: dashed;
  background: #fff;
}

.fs-nest__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lc-navy-800);
}

.fs-nest__files {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.fs-nest__files span {
  flex: 1;
  padding: 8px 10px;
  background: var(--lc-steel-100);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lc-steel-700);
  text-align: center;
}

.fs-expiry__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.fs-expiry__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lc-navy-800);
}

.fs-expiry__track {
  position: relative;
  height: 20px;
  border-radius: 10px;
  background: var(--lc-steel-100);
}

.fs-expiry__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 10px;
}

.fs-expiry__bar--project {
  width: 100%;
  background: var(--lc-blue-200);
}

.fs-expiry__bar--file {
  width: 56%;
  background: var(--lc-navy-800);
}

.fs-expiry__end {
  position: absolute;
  left: 56%;
  top: 100%;
  margin-top: 4px;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--lc-navy-800);
  white-space: nowrap;
}

.fs-expiry__axis {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 0 124px;
  padding-top: 6px;
  border-top: 1px solid var(--lc-steel-300);
  font-size: 0.6875rem;
  color: var(--lc-steel-500);
}

@media (max-width: 767px) {
  .fs-models {
    grid-template-columns: 1fr;
  }

  .fs-expiry__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fs-expiry__axis {
    margin-left: 0;
  }
}

.fs-last {
  margin-top: clamp(40px, 5vw, 56px);
}

/* =============================================================
   KEMARIBA（service-kemariba.html・段階 12・2026-10-26〜）
   ============================================================= */

/* 見出しが「「」で始まるとき、かぎかっこを半文字ぶん左へ出して、本文の左端にそろえる（2 行とも「「」始まり） */
.pd-hero__title--kagi {
  margin-left: -0.5em;
}

/* 4 枚を 2 列に（PC だけ。タブレットの 2 列・スマホの 1 列は components.css のまま） */
.pd-features--2 {
  --cols: 2;
}

.pd-after-note {
  margin-top: 20px;
}

/* はじめ方: ボタンと、ご相談の一言 */
.pd-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* 事実の一覧の見出しで、文に折り返せない英語（KEMARIBA など）があっても、番号を縮ませない */
.pd-facts-list h3 .lc-en {
  flex-shrink: 0;
}

.pd-start__note {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--lc-steel-700);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* =============================================================
   kemariba のページを「Leapcom から見た kemariba」に（段階 16・2026-11-10〜）
   ============================================================= */

/* ヒーロー: kemariba のロゴ（紺）と「Leapcom のサービス」の札 */
.pd-hero__product--logo {
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 22px;
}

.pd-hero__logo {
  display: block;
  width: auto;
  height: clamp(30px, 3vw, 38px);
}

.pd-hero__badge {
  padding: 4px 12px 5px;
  border: 1px solid var(--lc-navy-800);
  border-radius: 999px;
  font-size: var(--lc-fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--lc-navy-800);
}

/* 02 使っている: kemariba の上の 2 つのプロジェクト（お客様と一緒／社内） */
.km-lanes {
  margin: 0 0 clamp(36px, 4vw, 48px);
}

.km-lanes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.km-lane {
  padding: 26px 28px 28px;
  border: 1px solid var(--lc-steel-200);
  border-radius: var(--lc-radius-m);
  background: #fff;
  box-shadow: var(--lc-shadow-card);
}

.km-lane__tag {
  display: inline-block;
  padding: 3px 12px 4px;
  border-radius: 999px;
  background: var(--lc-blue-50);
  font-size: var(--lc-fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lc-blue-600);
}

.km-lane__who {
  margin-top: 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lc-navy-800);
}

.km-lane__flow {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  counter-reset: km-step;
}

.km-lane__flow li {
  position: relative;
  padding-left: 40px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--lc-steel-700);
  counter-increment: km-step;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.km-lane__flow li::before {
  content: counter(km-step);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lc-blue-50);
  font-family: var(--lc-font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lc-blue-600);
}

.km-lane__flow strong {
  color: var(--lc-navy-800);
}

.km-lanes__cap {
  margin-top: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--lc-navy-800);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.km-ext {
  margin-top: 10px;
}

/* 03 確かめる: システム開発の 4 つのお約束と、kemariba で確かめられること（2026-11-10 の 5 回目に見出しから「触れて」を外した） */
.km-promise .lc-table thead th:first-child {
  width: 40%;
}

.km-promise .lc-table tbody th {
  white-space: normal;
  color: var(--lc-navy-800);
}

.km-promise__no {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--lc-steel-500);
}

.km-promise .lc-table td {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.km-quality-actions {
  margin-top: 28px;
}

.km-onprem {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .km-lanes__grid {
    grid-template-columns: 1fr;
  }

  .km-lane {
    padding: 22px 20px 24px;
  }

  .km-lanes__cap {
    text-align: left;
  }

  .km-promise .lc-table td[data-label]::before {
    display: block;
  }
}
