/* ==========================================================================
   FAシステム 特設ページ「FAST」（/fa-system/）
   本文：03_成果物/html/fa-system-body.html（固定ページのカスタムHTMLブロック）
   案件：10_ウェブサイト/FAシステム特設サイト（仕様と決定の経緯はその CLAUDE.md）

   ・このファイルの指定は、すべて .fast の中か、.fast のあるページ（body:has(.fast)）だけに効く
   ・見た目はコーポレートと分ける（白に近いライトグレー＋黒の文字＋山吹色）。
     コーポレートの赤 #e60012 はこのページでは使わない（2026-10-07 わただ決定）
   ・山吹色 --y は面・線・番号・CTA・選択中だけ。文字色には使わない（白地でコントラスト不足）
   ・工場の絵（Factory View）の縦横比は本文の --fv-ratio で決める（絵と一緒に差し替えるため）
   ========================================================================== */

/* ---- このページだけ Lightning のヘッダー・帯・パンくず・フッターを隠す ------------ */
body:has(.fast){ background: #f3f4f3; }
body:has(.fast) #site-header,
body:has(.fast) .page-header,
body:has(.fast) #breadcrumb,
body:has(.fast) .site-body-bottom,
body:has(.fast) .site-footer,
body:has(.fast) #vk-mobile-nav-menu-btn,
body:has(.fast) #vk-mobile-nav{ display: none !important; }
body:has(.fast) .site-body,
body:has(.fast) .site-body-container,
body:has(.fast) .main-section,
body:has(.fast) .entry,
body:has(.fast) .entry-body{
  padding: 0 !important; margin: 0 !important;
  max-width: none !important; width: 100% !important;
  background: none !important; border: 0 !important;
}
body:has(.fast) .entry-body > p:empty{ display: none !important; }
/* 製品詳細のパネルを開いている間は、Lightning の「ページの先頭へ」ボタンを隠す（パネルの右下に重なるため） */
body:has(.fast.is-sheet) #page_top{ display: none !important; }
/* ヘッダーを画面の上に固定するための解除指定（沿革と同じ。Lightning 側の overflow:hidden が sticky を壊す） */
body:has(.fast),
:where(div, main, section, article):has(.fast){ overflow: visible !important; }
html:has(.fast){ scroll-behavior: smooth; scroll-padding-top: calc(68px + 12px); }

/* ---- 土台 ------------------------------------------------------------------ */
.fast{
  --bg: #f3f4f3;          /* 白に近いライトグレー */
  --paper: #ffffff;
  --ink: #121416;         /* 本文 */
  --sub: #50565b;         /* 補足 */
  --mute: #8a9095;
  --line: #dde0e2;
  --y: #f2b200;           /* FAST の山吹色（面・線・番号・CTA。文字色には使わない） */
  --y-soft: #fff3c4;
  --ext: #9aa0a5;         /* ほかの製品（別サイトへ） */
  --wrap: 1240px;
  --head-h: 68px;
  --head-top: 0px;        /* WordPress にログイン中は管理バーの下に */
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
               "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .fast{ --head-top: 32px; }
.fast, .fast *, .fast *::before, .fast *::after{ box-sizing: border-box; }
/* Lightning の見出し・表・リストの飾りを消す */
.fast :is(h1, h2, h3, h4, h5, h6){
  margin: 0; padding: 0; border: 0; background: none;
  color: inherit; font-family: inherit; letter-spacing: normal; text-align: left;
}
.fast :is(h1, h2, h3, h4, h5, h6)::before,
.fast :is(h1, h2, h3, h4, h5, h6)::after{ content: none; }
.fast :is(p, ul, ol, dl, dt, dd, figure){ margin: 0; padding: 0; }
.fast :is(ul, ol){ list-style: none; }
.fast li{ margin: 0; padding: 0; }
.fast li::before{ content: none; }
.fast :is(table, th, td){ border: 0; background: none; }
.fast a{ color: inherit; }
.fast img{ max-width: 100%; display: block; height: auto; }
.fast :focus-visible{ outline: 3px solid var(--ink); outline-offset: 3px; }
.fast .wrap{ width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.fast .vh{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 要確認の枠（FEATURE・工程の割り当て）。公開前に本文から外す */
.fast .todo{
  border: 1px dashed #b8bdc1; background: #fafafa;
  padding: 12px 14px; font-size: 12.5px; line-height: 1.75; color: var(--sub);
}
.fast .todo b{ color: var(--ink); }

/* ---- ヘッダー ------------------------------------------------------------ */
.fast .hd{
  position: sticky; top: var(--head-top); z-index: 50;
  height: var(--head-h);
  background: rgba(243, 244, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.fast .hd__in{ height: 100%; display: flex; align-items: center; gap: 32px; }
.fast .hd__brand{ display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.fast .hd__mark{ font-size: 26px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.fast .hd__mark i{ font-style: normal; display: inline-block; width: 8px; height: 8px; background: var(--y); margin-left: 3px; }
.fast .hd__by{ font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--sub); }
.fast .hd__nav{ margin-left: auto; display: flex; gap: 28px; font-size: 13.5px; font-weight: 700; }
.fast .hd__nav a{ text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.fast .hd__nav a:hover{ border-bottom-color: var(--y); }
.fast .hd__corp{ font-size: 12px; font-weight: 600; color: var(--sub); text-decoration: none; white-space: nowrap; }
.fast .hd__corp:hover{ color: var(--ink); text-decoration: underline; }
.fast .btn-y{
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--y); color: var(--ink);
  font-weight: 800; font-size: 13.5px; text-decoration: none; line-height: 1.5;
  padding: 11px 18px; border: 0; cursor: pointer; white-space: nowrap;
  transition: background .2s ease;
}
.fast .btn-y:hover{ background: #ffc61a; color: var(--ink); }
.fast .btn-y .ar{ font-weight: 700; }

/* ---- ファーストビュー（Factory View） -------------------------------------- */
/* ファーストビュー（パソコン）は画面の高さ1枚ぶん（ヘッダーの下から）。構図は FV構想イメージ（別AI生成）に合わせる（2026-10-08 わただ）：
   工場の絵がファーストビューの主役。床の方眼は端から端まで敷き、上と下は背景に溶かす。
   コピーは絵の左上の空き（工場のラインは左手前 → 右奥へ流れるので、左上が空く）に重ねる */
.fast .fv{
  position: relative; overflow: hidden;
  height: clamp(440px, calc(100svh - var(--head-h) - var(--head-top)), 980px);
}
.fast .fv::after{ /* 床を上と下で背景に溶かす。番号・コピーより下、絵より上 */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--bg) 0%, rgba(243, 244, 243, 0) 34%),
    linear-gradient(to top, var(--bg) 0%, rgba(243, 244, 243, 0) 14%);
}
.fast .fv > .wrap{ position: absolute; top: 40px; left: 0; right: 0; z-index: 3; pointer-events: none; }
.fast .fv__copy{ position: relative; z-index: 3; max-width: 600px; pointer-events: none; }
.fast .fv__copy > *{ pointer-events: auto; }
.fast .fv__eyebrow{ display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; line-height: 1.6; color: var(--sub); margin-bottom: 18px; }
.fast .fv__eyebrow::before{ content: ""; width: 28px; height: 3px; background: var(--y); }
.fast .fv__title{ font-size: clamp(30px, 3.9vw, 54px); font-weight: 800; line-height: 1.32; letter-spacing: .02em; margin-bottom: 20px; }
.fast .fv__title .fv__eyebrow{ letter-spacing: .2em; }
.fast .fv__lead{ font-size: 15px; line-height: 2; color: var(--sub); font-weight: 500; margin-bottom: 22px; }
.fast .fv__how{ font-size: 12.5px; color: var(--sub); display: flex; align-items: center; gap: 10px; }
.fast .fv__how::before{ content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 5px var(--y-soft); flex: none; }

/* 工場の絵はファーストビューいっぱいに置き、左右の真ん中にそろえる。
   大きさは「高さいっぱい」と「幅に入る」の小さいほう。右の 64px は右端の名札がはみ出す分
   （.fv__stage を container にして cqw／cqh で測る） */
.fast .fv__stage{ position: absolute; inset: 0; container-type: size; }
.fast .fv__scroll{ position: relative; height: 100%; display: flex; justify-content: center; align-items: flex-end; }
.fast .fv__canvas{
  position: relative; flex: none;
  /* 高さは 90%：上の 10% は、絵の上端がヘッダーに詰まらないための空き */
  width: min(calc(100cqw - 128px), calc(90cqh * (var(--fv-ratio, 5 / 3))));
  aspect-ratio: var(--fv-ratio, 5 / 3);
  container: fv-canvas / inline-size;
}
/* 絵が小さいとき（小さい画面）は、名札を名前だけにする（名札どうしが重ならないように） */
@container fv-canvas (max-width: 1100px){
  /* 後ろに書いてある名札の指定より強くするため .fv__canvas を足している */
  .fast .fv__canvas .hs__sub{ display: none; }
  .fast .fv__canvas .hs__card{ padding: 5px 9px 6px; }
  .fast .fv__canvas .hs__name{ font-size: 12px; }
}
/* もっと小さいとき（タブレットの縦・スマホ）は、番号だけにする。名前は押すとパネルで出る */
@container fv-canvas (max-width: 760px){
  .fast .fv__canvas .hs__card{ display: none; }
  .fast .fv__canvas .hs, .fast .fv__canvas .hs--left{ transform: translate(-50%, -50%); }
}
/* 仮の図の印（櫻井さんの絵に差し替えたら、本文から外す） */
.fast .fv__temp{
  position: absolute; right: 0; bottom: 8px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--sub);
  background: rgba(255, 255, 255, .85); border: 1px dashed #b8bdc1; padding: 3px 8px;
}
.fast .fv-svg{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; } /* 床は絵の外まで見せる */
.fast .fv-svg .floor{ fill: #fbfbfb; }
.fast .fv-svg .grid{ stroke: #e6e8e9; stroke-width: .7; }
.fast .fv-svg polygon{ stroke: #60676c; stroke-width: .8; stroke-linejoin: round; transition: fill .25s ease, stroke .25s ease; }
.fast .fv-svg .f-t{ fill: #ffffff; }
.fast .fv-svg .f-l{ fill: #eef0f1; }
.fast .fv-svg .f-r{ fill: #dfe2e4; }
.fast .fv-svg .ln, .fast .fv-svg .frm{ stroke: #60676c; stroke-width: 1.3; }
.fast .fv-svg .reel{ fill: #fff; stroke: #60676c; stroke-width: .9; }
.fast .fv-svg .flow{ fill: none; stroke: var(--y); stroke-width: 3.2; stroke-dasharray: 9 7; animation: fast-flow 1.6s linear infinite; }
@keyframes fast-flow{ to{ stroke-dashoffset: -32; } }
.fast .fv-svg .bg{ opacity: .9; }
.fast .fv-svg .bg polygon{ stroke: #9ba1a6; }
.fast .fv-svg .bg .f-t{ fill: #f6f7f7; }
.fast .fv-svg .prod{ transition: opacity .25s ease; }
/* 製品を選んでいる（ホバー・フォーカス・パネル表示中）とき：ほかを薄く、選んだ製品を山吹色に
   絵の中の製品は data-prod="pallet" などでグループ分けしてある（櫻井さんの絵も同じ名前でそろえる） */
.fast .fv__canvas[data-active] .prod, .fast .fv__canvas[data-active] .bg{ opacity: .28; }
.fast .fv__canvas[data-active="pallet"] [data-prod="pallet"],
.fast .fv__canvas[data-active="container"] [data-prod="container"],
.fast .fv__canvas[data-active="patacon"] [data-prod="patacon"],
.fast .fv__canvas[data-active="conveyor"] [data-prod="conveyor"],
.fast .fv__canvas[data-active="iml"] [data-prod="iml"],
.fast .fv__canvas[data-active="hfd"] [data-prod="hfd"],
.fast .fv__canvas[data-active="takeout"] [data-prod="takeout"],
.fast .fv__canvas[data-active="palletizer"] [data-prod="palletizer"]{ opacity: 1; }
.fast .fv__canvas[data-active="pallet"] [data-prod="pallet"] .f-t,
.fast .fv__canvas[data-active="container"] [data-prod="container"] .f-t,
.fast .fv__canvas[data-active="patacon"] [data-prod="patacon"] .f-t,
.fast .fv__canvas[data-active="conveyor"] [data-prod="conveyor"] .f-t,
.fast .fv__canvas[data-active="iml"] [data-prod="iml"] .f-t,
.fast .fv__canvas[data-active="hfd"] [data-prod="hfd"] .f-t,
.fast .fv__canvas[data-active="hfd"] [data-prod="hfd"] .reel{ fill: var(--y-soft); }
.fast .fv__canvas[data-active="pallet"] [data-prod="pallet"] polygon,
.fast .fv__canvas[data-active="container"] [data-prod="container"] polygon,
.fast .fv__canvas[data-active="patacon"] [data-prod="patacon"] polygon,
.fast .fv__canvas[data-active="conveyor"] [data-prod="conveyor"] polygon,
.fast .fv__canvas[data-active="iml"] [data-prod="iml"] polygon,
.fast .fv__canvas[data-active="hfd"] [data-prod="hfd"] polygon{ stroke: #b88600; stroke-width: 1.2; }

/* ホットスポット（位置は本文の style="left:…%;top:…%"。絵の左上が 0%） */
.fast .hs{
  position: absolute; z-index: 4;
  transform: translate(-14px, -50%);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.fast .hs__no{
  position: relative; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--y); color: var(--ink);
  font-size: 12px; font-weight: 800; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(242, 178, 0, .22);
  transition: box-shadow .2s ease, transform .2s ease;
}
.fast .hs__no::after{ /* 位置を知らせる、ゆっくりした波紋 */
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--y); opacity: 0; animation: fast-ping 2.8s ease-out infinite;
}
@keyframes fast-ping{ 0%{ transform: scale(.8); opacity: .7; } 70%, 100%{ transform: scale(1.7); opacity: 0; } }
.fast .hs__card{
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--y);
  padding: 7px 12px 8px; line-height: 1.4; white-space: nowrap;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fast .hs__name{ display: block; font-size: 13.5px; font-weight: 800; }
.fast .hs__sub{ display: block; font-size: 11px; font-weight: 600; color: var(--sub); margin-top: 2px; }
.fast .hs:hover .hs__card, .fast .hs:focus-visible .hs__card, .fast .hs.is-on .hs__card{ border-color: var(--ink); border-left-color: var(--y); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.fast .hs:hover .hs__no, .fast .hs.is-on .hs__no{ transform: scale(1.08); box-shadow: 0 0 0 7px rgba(242, 178, 0, .3); }
/* ほかの製品（それぞれの特設サイトへ） */
.fast .hs--ext .hs__no{ background: #fff; border: 1.5px solid var(--ext); box-shadow: none; color: var(--sub); font-size: 13px; }
.fast .hs--ext .hs__no::after{ content: none; }
.fast .hs--ext .hs__card{ border-left-color: var(--ext); background: rgba(255, 255, 255, .85); }
.fast .hs--ext .hs__sub::after{ content: " ↗"; }
/* カードを左に出すホットスポット（右端で切れないように） */
.fast .hs--left{ flex-direction: row-reverse; transform: translate(calc(-100% + 14px), -50%); }
.fast .hs--left .hs__card{ border-left: 1px solid var(--line); border-right: 3px solid var(--y); }
.fast .hs--left.hs--ext .hs__card{ border-right-color: var(--ext); }

.fast .fv__hint{ display: none; }

/* ---- 製品ナビ（工場の絵を使わずに製品へ） ----------------------------------- */
.fast .pnav{ position: relative; z-index: 5; margin-top: -40px; padding-bottom: 72px; }
.fast .pnav__head{ display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.fast .pnav__en{ font-size: 12px; font-weight: 800; letter-spacing: .2em; line-height: 1.6; }
.fast .pnav__jp{ font-size: 12.5px; color: var(--sub); font-weight: 600; }
.fast .pnav__list{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.fast .pnav__item{
  display: grid; grid-template-rows: 92px auto; gap: 10px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 12px 12px 14px; text-decoration: none; height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.fast .pnav__item img{ width: 100%; height: 92px; object-fit: contain; }
.fast .pnav__row{ display: flex; align-items: baseline; gap: 8px; }
.fast .pnav__no{ font-size: 18px; font-weight: 800; line-height: 1; padding: 0 4px; background: linear-gradient(transparent 55%, var(--y) 55%); }
.fast .pnav__name{ font-size: 13px; font-weight: 800; line-height: 1.45; }
.fast .pnav__sub{ display: block; font-size: 11px; color: var(--sub); font-weight: 600; margin-top: 2px; }
.fast .pnav__item:hover, .fast .pnav__item.is-on{ border-color: var(--ink); transform: translateY(-2px); }
.fast .pnav__ext{ margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; color: var(--sub); }
.fast .pnav__ext a{ font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ext); }
.fast .pnav__ext a:hover{ border-bottom-color: var(--ink); }

/* ---- 見出し（共通） -------------------------------------------------------- */
.fast .sec{ padding: 96px 0; }
.fast .sec--paper{ background: var(--paper); }
.fast .sec-h{ display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.fast .sec-h__en{ display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .2em; margin-bottom: 10px; }
.fast .sec-h__en::before{ content: ""; width: 10px; height: 10px; background: var(--y); }
.fast .sec-h__jp{ font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.45; }
.fast .sec-h__txt{ font-size: 14.5px; color: var(--sub); line-height: 2; font-weight: 500; max-width: 680px; }

/* ---- 工程から探す ---------------------------------------------------------- */
.fast .proc{ display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.fast .proc__step{ position: relative; padding: 18px 16px 20px 0; }
.fast .proc__step + .proc__step{ padding-left: 16px; border-left: 1px solid var(--line); }
.fast .proc__no{ font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--mute); }
.fast .proc__name{ font-size: 17px; font-weight: 800; line-height: 1.6; margin: 2px 0 12px; }
.fast .proc__step::after{ /* 工程のつながり */
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: var(--y);
  transform: scaleX(0); transform-origin: left; transition: transform .6s ease;
}
.fast .proc.is-in .proc__step::after{ transform: scaleX(1); }
.fast .proc.is-in .proc__step:nth-child(2)::after{ transition-delay: .12s; }
.fast .proc.is-in .proc__step:nth-child(3)::after{ transition-delay: .24s; }
.fast .proc.is-in .proc__step:nth-child(4)::after{ transition-delay: .36s; }
.fast .proc.is-in .proc__step:nth-child(5)::after{ transition-delay: .48s; }
.fast .proc.is-in .proc__step:nth-child(6)::after{ transition-delay: .6s; }
.fast .proc__prods{ display: flex; flex-direction: column; gap: 6px; }
.fast .chip{
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12.5px; font-weight: 700; text-decoration: none; line-height: 1.4; white-space: nowrap;
  padding: 6px 10px; background: var(--paper); border: 1px solid var(--line);
}
.fast .chip b{ display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--y); font-size: 10.5px; }
.fast .chip:hover{ border-color: var(--ink); }
.fast .chip--ext{ color: var(--sub); }
.fast .chip--ext::after{ content: "↗"; }
.fast .proc-note{ margin-top: 20px; }

/* ---- 製品（HTML の本文。検索エンジン・JS なしでも読める） ------------------- */
.fast .prod{ display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); }
.fast .prod:first-of-type{ border-top: 2px solid var(--ink); }
.fast .prod__no{ display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--y); font-size: 16px; font-weight: 800; margin-bottom: 18px; }
.fast .prod__cat{ font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--sub); margin-bottom: 4px; }
.fast .prod__name{ font-size: 26px; font-weight: 800; line-height: 1.4; }
.fast .prod__model{ font-size: 13px; font-weight: 700; color: var(--sub); margin-top: 4px; }
.fast .prod__photo{ margin-top: 24px; background: var(--bg); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 16px; }
.fast .prod__photo img{ width: 100%; height: 100%; object-fit: contain; }
.fast .prod__cap{ font-size: 11px; color: var(--mute); margin-top: 6px; }
.fast .prod__lead{ font-size: 15.5px; line-height: 2; font-weight: 500; margin-bottom: 18px; }
.fast .prod__use{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 12px; }
.fast .prod__use dt{ font-weight: 800; color: var(--sub); margin-right: 4px; }
.fast .prod__use dd{ background: var(--bg); padding: 2px 10px; font-weight: 700; }
.fast .prod__feat{ margin-bottom: 28px; }
.fast .prod__h{ font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.6; margin-bottom: 10px; }
.fast .prod__cta{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fast .btn-line{
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--ink); background: var(--paper);
  font-weight: 800; font-size: 13px; text-decoration: none; padding: 10px 16px;
}
.fast .btn-line:hover{ background: var(--ink); color: #fff; }

/* 型式の表 */
.fast .tbl{ overflow-x: auto; }
.fast .tbl table{ width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; margin: 0; }
.fast .tbl thead th{ text-align: left; font-size: 11.5px; font-weight: 700; line-height: 1.5; color: var(--sub); padding: 0 14px 10px 0; border-bottom: 2px solid var(--ink); white-space: nowrap; vertical-align: bottom; }
.fast .tbl tbody th, .fast .tbl tbody td{ text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: inherit; }
.fast .tbl .num{ text-align: right !important; white-space: nowrap; }
.fast .tbl td.num{ font-size: 19px; font-weight: 800; padding-right: 28px; }
.fast .tbl td.num small{ font-size: 11px; font-weight: 700; color: var(--sub); margin-left: 3px; }
.fast .tbl td.na{ color: #c4c8cb; font-weight: 400; }
.fast .m{ display: block; font-size: 16px; font-weight: 800; }
.fast .m-sub{ display: block; font-size: 11.5px; color: var(--sub); font-weight: 500; line-height: 1.7; margin-top: 2px; }
.fast .doc{
  display: inline-flex; align-items: center; gap: 8px; margin: 0 6px 6px 0;
  border: 1px solid var(--ink); padding: 5px 11px 5px 5px; line-height: 1.5;
  font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; background: var(--paper);
}
.fast .doc b{ background: var(--ink); color: #fff; font-size: 9.5px; padding: 1px 5px; letter-spacing: .06em; }
.fast .doc:hover{ background: var(--ink); color: #fff; }
.fast .doc:hover b{ background: var(--y); color: var(--ink); }
.fast .doc--old{ border-color: #c4c8cb; color: var(--sub); }
.fast .man{ display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 11.5px; margin-top: 2px; }
.fast .man span{ color: var(--sub); font-weight: 600; }
.fast .man a{ font-weight: 800; text-decoration: none; border-bottom: 1px solid #c4c8cb; }
.fast .man a:hover{ border-bottom-color: var(--ink); }

/* ---- 導入事例 -------------------------------------------------------------- */
.fast .case{ border-top: 2px solid var(--ink); margin-bottom: 28px; }
.fast .case li{ border-bottom: 1px solid var(--line); }
.fast .case a{ display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; }
.fast .case small{ display: block; font-size: 11px; color: var(--sub); font-weight: 600; }
.fast .case strong{ font-size: 14.5px; }
.fast .case a:hover strong{ text-decoration: underline; }

/* ---- 相談の導線 ------------------------------------------------------------ */
.fast .ask{ background: var(--ink); color: #fff; padding: 88px 0; }
.fast .ask__in{ display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.fast .ask__q{ font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.45; color: #fff; }
.fast .ask__q span{ background: linear-gradient(transparent 62%, rgba(242, 178, 0, .55) 62%); }
.fast .ask__txt{ font-size: 14.5px; line-height: 2; color: #c9cdd1; margin-top: 14px; }
.fast .ask .btn-y{ font-size: 15px; padding: 18px 26px; }

/* ---- フッター -------------------------------------------------------------- */
.fast .ft{ padding: 40px 0 72px; font-size: 12.5px; color: var(--sub); }
.fast .ft__in{ display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.fast .ft__mark{ font-size: 20px; font-weight: 800; color: var(--ink); }
.fast .ft a{ font-weight: 700; color: var(--ink); text-decoration: none; }
.fast .ft a:hover{ text-decoration: underline; }
.fast .ft__copy{ margin-left: auto; }

/* ---- 製品詳細パネル（下からスライドアップ） ---------------------------------- */
.fast .sheet-bg{ position: fixed; inset: 0; z-index: 60; background: rgba(18, 20, 22, .06); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.fast .sheet{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: min(58vh, 600px);
  background: var(--paper); border-top: 3px solid var(--y);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .12);
  transform: translateY(105%); transition: transform .38s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column;
}
.fast .sheet[hidden], .fast .sheet-bg[hidden]{ display: none; }
.fast.is-sheet .sheet{ transform: translateY(0); }
.fast.is-sheet .sheet-bg{ opacity: 1; pointer-events: auto; }
.fast .sheet__bar{ flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fast .sheet__bar .wrap{ display: flex; align-items: center; gap: 12px; }
.fast .sheet__tabs{ display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.fast .sheet__tab{
  flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 0;
  font: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; padding: 5px 10px; cursor: pointer; color: var(--ink);
}
.fast .sheet__tab[aria-current="true"]{ background: var(--y); border-color: var(--y); }
.fast .sheet__close{
  flex: none; display: inline-flex; align-items: center; gap: 8px; border-radius: 0;
  border: 1px solid var(--ink); background: var(--paper); font: inherit; font-size: 12.5px; font-weight: 800; line-height: 1.5;
  padding: 6px 12px; cursor: pointer; color: var(--ink);
}
.fast .sheet__close:hover{ background: var(--ink); color: #fff; }
.fast .sheet__body{ flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.fast .sheet__body .prod{ border-top: 0 !important; padding: 36px 0 48px; }

/* ---- タブレット ------------------------------------------------------------ */
@media (max-width: 1100px){
  /* タブレットは画面の高さに合わせない（縦長の画面だと絵の上下が大きく空くため）。幅いっぱいにする */
  .fast .fv{ height: auto; padding-top: 40px; }
  .fast .fv::after{ background: linear-gradient(to top, var(--bg) 0%, rgba(243, 244, 243, 0) 14%); }
  .fast .fv > .wrap{ position: static; pointer-events: auto; }
  .fast .fv__stage{ position: relative; inset: auto; margin: 24px auto 0; width: min(var(--wrap), calc(100% - 48px)); container-type: inline-size; }
  .fast .fv__scroll{ height: auto; display: block; }
  .fast .fv__canvas{ width: calc(100cqw - 64px); }
  .fast .pnav{ margin-top: 0; padding-top: 24px; }
  .fast .hd__nav{ display: none; }
  .fast .hd__corp{ margin-left: auto; }
  .fast .pnav__list{ grid-template-columns: repeat(3, 1fr); }
  .fast .proc{ grid-template-columns: repeat(3, 1fr); }
  .fast .proc__step:nth-child(4){ border-left: 0; padding-left: 0; }
  .fast .proc__step:nth-child(n+4){ border-top: 1px solid var(--line); }
  .fast .sec-h{ grid-template-columns: 1fr; gap: 14px; }
  .fast .prod{ grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
}
/* WordPress の管理バーは 782px 以下で高くなり、600px 以下ではスクロールで消える */
@media (max-width: 782px){
  body.admin-bar .fast{ --head-top: 46px; }
}
@media (max-width: 600px){
  body.admin-bar .fast{ --head-top: 0px; }
}
/* ---- スマホ ---------------------------------------------------------------- */
@media (max-width: 760px){
  html:has(.fast){ scroll-padding-top: calc(58px + 12px); }
  .fast{ --head-h: 58px; }
  .fast .wrap{ width: calc(100% - 32px); }
  .fast .hd__by, .fast .hd__corp{ display: none; }
  .fast .hd .btn-y{ margin-left: auto; padding: 9px 12px; font-size: 12.5px; }
  /* スマホは画面の高さに合わせない（工場の絵は縮めず、横に動かして見る） */
  .fast .fv{ padding-top: 28px; }
  .fast .fv__stage{ margin-top: 20px; width: auto; container-type: normal; }
  /* 工場の絵は縮めず、横に動かして見る */
  .fast .fv__scroll{ display: block; height: auto; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fast .fv__canvas{ width: 860px; max-width: none; margin: 0; }
  .fast .hs__card{ display: none; }
  .fast .hs{ transform: translate(-50%, -50%); }
  .fast .hs--left{ transform: translate(-50%, -50%); }
  .fast .hs__no{ width: 34px; height: 34px; font-size: 13px; }
  .fast .fv__hint{ display: block; font-size: 12px; color: var(--sub); text-align: center; padding: 8px 0 0; }
  .fast .pnav{ margin-top: 0; padding-top: 28px; }
  .fast .pnav__list{ grid-template-columns: repeat(2, 1fr); }
  .fast .proc{ grid-template-columns: 1fr; }
  .fast .proc__step, .fast .proc__step + .proc__step{ border-left: 0; padding-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 0 12px; }
  .fast .proc__step:first-child{ border-top: 0; }
  .fast .proc__no{ grid-column: 1; }
  .fast .proc__name{ grid-column: 1; margin: 0; font-size: 15px; }
  .fast .proc__prods{ grid-column: 2; grid-row: 1 / span 2; }
  .fast .sec{ padding: 64px 0; }
  .fast .prod{ grid-template-columns: 1fr; gap: 20px; padding: 48px 0; }
  .fast .prod__name{ font-size: 22px; }
  /* 表は1機種ずつのカードに */
  .fast .tbl table{ min-width: 0; }
  .fast .tbl thead{ display: none; }
  .fast .tbl table, .fast .tbl tbody, .fast .tbl tr, .fast .tbl th, .fast .tbl td{ display: block; }
  .fast .tbl tbody{ border-top: 2px solid var(--ink); }
  .fast .tbl tr{ padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
  .fast .tbl tbody th, .fast .tbl tbody td{ padding: 0; border: 0; }
  .fast .tbl tbody th{ margin-bottom: 8px; }
  .fast .tbl td.num{ display: flex; align-items: baseline; padding: 4px 0; font-size: 16px; text-align: left !important; }
  .fast .tbl td.num::before{ content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--sub); margin-right: auto; }
  .fast .tbl td.na{ display: none; }
  .fast .tbl td:last-child{ padding-top: 8px; }
  .fast .ask__in{ grid-template-columns: 1fr; }
  .fast .ft__copy{ margin-left: 0; }
  /* ボトムシート */
  .fast .sheet{ height: 88vh; }
}
@media (prefers-reduced-motion: reduce){
  html:has(.fast){ scroll-behavior: auto; }
  .fast *, .fast *::before, .fast *::after{ animation: none !important; transition: none !important; }
}
