/* =========================================================
   事例の特集の枠（parts/case-feature.php）2026-11-27
   ・トップ／事例一覧／事例詳細（home-care）／静的HTMLの /service/homepage/ で共通
   ・どのページに置いても同じ見た目になるよう、変数も土台の指定もこのファイルの中で完結させる
     （.top-b や各ページの CSS 変数には頼らない。セレクタは .tbf / .tbf-others から始める）
   ・JS無効でも全部見える。見比べの重ね表示は html.tbf-js、出現アニメーションで隠すのは html.tbf-anim のときだけ
   ・トップ専用の「ほかの事例」小カード（.tbf-others）もここに置く
   ========================================================= */
.tbf,.tbf-others{
  --tbf-blue:#479CD9;
  --tbf-deep:#1E5F8C;
  --tbf-ink:#10161b;
  --tbf-muted:#4b5a63;
  --tbf-line:#cddce8;
  --tbf-paper:#f8fbfd;
  --tbf-rule:rgba(16,22,27,.9);
  --tbf-hair:rgba(16,22,27,.16);
  --tbf-sky:#a9d6f5;
  --tbf-hl:#7fc3f0;
  --tbf-en:'Barlow Condensed','Noto Sans JP',sans-serif;
  --tbf-ja:'Noto Sans JP',sans-serif;
  display:block;
  font-family:var(--tbf-ja);font-size:16px;font-weight:400;line-height:1.85;letter-spacing:normal;
  color:var(--tbf-ink);text-align:left;
  -webkit-font-smoothing:antialiased;
}
/* スマホ幅で枠を画面の端まで広げる量（ページの余白に合わせて上書きする。既定は広げない） */
.tbf{--tbf-bleed:0px}
.tbf--top{--tbf-bleed:20px}
/* 事例一覧：.cb-wrap の左右（601〜899px は 24px、600px 以下は 20px）。事例詳細：白い紙面 .ca-sheet の左右の内側余白 */
.tbf--case{--tbf-bleed:24px}
.tbf--detail{--tbf-bleed:clamp(22px, 3.6vw, 52px)}
@media (max-width: 600px){
  .tbf--case{--tbf-bleed:20px}
  .tbf--detail{--tbf-bleed:18px}
}
/* /service/homepage/（静的ページ）：青いセクションの上に置くので端まで広げず、
   濃い青の上部と背景の青が溶け合わないよう、細い白の縁と影を付ける（スマホ幅でも残す） */
.tbf--hps{--tbf-bleed:0px}
.tbf.tbf--hps{box-shadow:0 0 0 1px rgba(255,255,255,.35), 0 40px 80px -40px rgba(0,0,0,.55)}
/* スマホ幅では、ほかのページと同じく画面の端まで広げる（主ボタンの文字が途中で折れないように） */
@media (max-width: 899px){
  .tbf--hps{--tbf-bleed:24px}
}

/* ---------- 土台（ページ側の指定に引きずられないように） ---------- */
.tbf,.tbf *,.tbf *::before,.tbf *::after,
.tbf-others,.tbf-others *,.tbf-others *::before,.tbf-others *::after{box-sizing:border-box}
.tbf h2,.tbf h3,.tbf h4,.tbf p,.tbf ul,.tbf ol,.tbf li,.tbf figure,.tbf figcaption,.tbf blockquote,
.tbf-others h2,.tbf-others h3,.tbf-others h4,.tbf-others p,.tbf-others ul,.tbf-others ol,.tbf-others li,.tbf-others figure,.tbf-others figcaption{margin:0;padding:0}
.tbf h2,.tbf h3,.tbf h4,.tbf-others h2,.tbf-others h3,.tbf-others h4{
  font-family:inherit;font-weight:900;color:inherit;letter-spacing:normal;text-transform:none;
  border:0;background:none;text-align:left
}
.tbf h2::before,.tbf h2::after,.tbf h3::before,.tbf h3::after,.tbf h4::before,.tbf h4::after,
.tbf-others h3::before,.tbf-others h3::after{content:none}
.tbf ul,.tbf ol,.tbf-others ul,.tbf-others ol{list-style:none}
.tbf li::before,.tbf li::marker,.tbf-others li::before,.tbf-others li::marker{content:none}
.tbf blockquote{border:0;background:none;quotes:none;font-style:normal}
.tbf blockquote::before,.tbf blockquote::after{content:none}
.tbf img,.tbf-others img{max-width:100%;height:auto;border:0;vertical-align:middle}
.tbf a,.tbf-others a{color:inherit;text-decoration:none}
.tbf button{margin:0;font:inherit;-webkit-appearance:none;appearance:none}
.tbf b,.tbf strong,.tbf-others b{font-weight:inherit}
.tbf [hidden]{display:none !important}
.tbf-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@supports (word-break:auto-phrase){ .tbf .tbf-ap,.tbf-others .tbf-ap{word-break:auto-phrase} }
.tbf .tbf-kp,.tbf-others .tbf-kp{word-break:keep-all;overflow-wrap:anywhere}

/* ---------- 部品の中で使う共通パーツ（ラベル・ボタン・矢印リンク） ---------- */
.tbf .tbf-label,.tbf-others .tbf-label{
  display:flex;align-items:center;gap:12px;
  font-family:var(--tbf-en);font-weight:700;font-size:14px;line-height:1.4;letter-spacing:.26em;color:var(--tbf-deep);
}
.tbf .tbf-label i,.tbf-others .tbf-label i{font-style:normal;color:var(--tbf-blue)}
.tbf .tbf-label .tbf-ja,.tbf-others .tbf-label .tbf-ja{font-family:var(--tbf-ja);letter-spacing:.08em}
.tbf .tbf-label::after,.tbf-others .tbf-label::after{content:"";flex:1 1 auto;height:1px;background:var(--tbf-hair)}
.tbf .tbf-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:58px;padding:14px 28px;border-radius:999px;
  font-family:var(--tbf-ja);font-weight:700;font-size:16px;line-height:1.4;text-decoration:none;text-align:center;
  transition:transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.tbf .tbf-arr,.tbf-others .tbf-arr{display:inline-block;font-family:var(--tbf-en);font-weight:800;font-size:1.15em;line-height:1;transition:transform .2s}
.tbf .tbf-btn:hover .tbf-arr,.tbf-others .tbf-more:hover .tbf-arr{transform:translateX(4px)}
.tbf .tbf-btn--deep{background:var(--tbf-deep);color:#fff;box-shadow:0 12px 26px -14px rgba(30,95,140,.8)}
.tbf .tbf-btn--deep:hover{background:#174e75;color:#fff;transform:translateY(-2px)}
.tbf .tbf-btn--outline{border:1.5px solid var(--tbf-ink);color:var(--tbf-ink);background:#fff;font-size:15px}
.tbf .tbf-btn--outline:hover{background:var(--tbf-paper);color:var(--tbf-ink)}
.tbf .tbf-btn:focus-visible,.tbf-others .tbf-more:focus-visible{outline:3px solid var(--tbf-blue);outline-offset:3px}
.tbf-others .tbf-more{display:inline-flex;align-items:flex-end;gap:10px;min-height:44px;padding-bottom:4px;font-weight:700;font-size:14px;line-height:1.4;color:var(--tbf-deep);border-bottom:1.5px solid currentColor}
.tbf-others .tbf-more:hover{color:var(--tbf-deep)}

/* ---------- 枠全体 ---------- */
.tbf{position:relative;background:#fff;box-shadow:0 0 0 1px var(--tbf-hair), 0 48px 90px -56px rgba(16,40,60,.45)}

/* 上半分：青の紙面（トップのヒーローと同じ刷り） */
.tbf .tbf-top{
  position:relative;overflow:hidden;color:#fff;
  padding:28px 56px 52px;
  background-color:#154a70;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, rgba(255,255,255,0) 1.6px),
    linear-gradient(160deg, #1E5F8C 0%, #154a70 42%, #0b2236 100%);
  background-size:18px 18px, 100% 100%;
}
.tbf .tbf-top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:var(--tbf-blue)}
.tbf .tbf-top > :not(.tbf-bigword){position:relative;z-index:1}
.tbf .tbf-bigword{
  position:absolute;z-index:0;top:64px;right:-.04em;
  font-family:var(--tbf-en);font-weight:900;font-size:min(15vw, 190px);line-height:.8;letter-spacing:.01em;
  white-space:nowrap;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.14);
  pointer-events:none;user-select:none;
}

/* 柱 */
.tbf .tbf-mast{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;
  padding:0 0 11px;border-bottom:1px solid rgba(255,255,255,.55);
  font-family:var(--tbf-en);font-weight:700;font-size:13px;line-height:1.4;letter-spacing:.26em;color:#fff;
}
.tbf .tbf-mast-ja{font-family:var(--tbf-ja);letter-spacing:.2em;padding:3px 14px;background:#fff;color:var(--tbf-deep);border-radius:2px;font-weight:900}
.tbf .tbf-mast-date{text-align:right;font-family:var(--tbf-ja);letter-spacing:.08em;color:rgba(255,255,255,.85)}

/* 大見出し・お客様・リード */
.tbf .tbf-intro{margin-top:36px;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:56px;align-items:end}
.tbf .tbf-title{font-size:clamp(32px, 3.6vw + 8px, 58px);line-height:1.28;letter-spacing:.01em;color:#fff;word-break:keep-all;overflow-wrap:anywhere;text-wrap:wrap}
.tbf .tbf-title .tbf-ln{display:block}
.tbf .tbf-title .tbf-ln--hl{color:var(--tbf-hl);text-shadow:0 0 40px rgba(71,156,217,.45)}
.tbf .tbf-client{display:inline-block;padding:6px 16px;border:1px solid rgba(255,255,255,.66);border-radius:999px;background:rgba(16,40,60,.24);font-size:14px;font-weight:700;line-height:1.6;color:#fff}
.tbf .tbf-lead{margin-top:16px;font-size:15.5px;line-height:2;color:rgba(255,255,255,.88)}

/* ---------- 前後の画面 ---------- */
.tbf .tbf-cmp{margin-top:44px}
.tbf .tbf-ctl{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-bottom:22px}
.tbf .tbf-ctl-b{
  display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:8px 20px;
  border:1.5px solid rgba(255,255,255,.7);border-radius:999px;background:transparent;color:#fff;
  font-family:var(--tbf-ja);font-size:14px;font-weight:700;line-height:1.3;cursor:pointer;
  transition:background-color .2s, color .2s;
}
.tbf .tbf-ctl-b b{font-family:var(--tbf-en);font-weight:800;font-size:15px;letter-spacing:.16em}
.tbf .tbf-ctl-b:hover{background:rgba(255,255,255,.12)}
.tbf .tbf-ctl-b[aria-pressed="true"]{background:#fff;color:var(--tbf-deep)}
.tbf .tbf-ctl-b:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tbf .tbf-ctl-b:nth-child(1){justify-self:start}
.tbf .tbf-ctl-b:nth-child(3){justify-self:end}
.tbf .tbf-cmp-grid{display:grid;grid-template-columns:minmax(0,1fr);row-gap:40px}
.tbf .tbf-unit{min-width:0}
.tbf .tbf-unit--sp{width:100%;max-width:520px;justify-self:center}
.tbf .tbf-dev{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;font-family:var(--tbf-en);font-weight:700;font-size:13px;line-height:1.5;letter-spacing:.22em;color:rgba(255,255,255,.8)}
.tbf .tbf-dev span{font-family:var(--tbf-ja);letter-spacing:.06em;font-size:13px}

/* JSなし：BEFORE と AFTER を横に並べる */
.tbf .tbf-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.tbf .tbf-shot{position:relative;min-width:0}
.tbf .tbf-tag{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:10px;font-size:13px;font-weight:700;line-height:1.5;color:#fff}
.tbf .tbf-tag b{font-family:var(--tbf-en);font-weight:800;font-size:16px;letter-spacing:.18em}
.tbf .tbf-shot--after .tbf-tag b{color:var(--tbf-sky)}
.tbf .tbf-handle{display:none}

/* 画面の枠（パソコン：ブラウザ風、スマホ：黒い縁） */
.tbf .tbf-scr{position:relative;background:#e9eef2;border-radius:8px 8px 4px 4px;padding-top:22px;overflow:hidden;box-shadow:0 30px 60px -28px rgba(0,0,0,.6)}
.tbf .tbf-scr::before{
  content:"";position:absolute;left:0;right:0;top:0;height:22px;
  background:
    radial-gradient(circle at 14px 11px, #c9d1d8 4px, transparent 4.5px),
    radial-gradient(circle at 28px 11px, #c9d1d8 4px, transparent 4.5px),
    radial-gradient(circle at 42px 11px, #c9d1d8 4px, transparent 4.5px),
    #f3f6f8;
}
.tbf .tbf-scr img{display:block;width:100%;height:auto}
.tbf .tbf-unit--sp .tbf-scr{padding:7px;border-radius:28px;background:#0c0e11;box-shadow:0 0 0 1.5px #a7adb4, 0 30px 50px -24px rgba(0,0,0,.6)}
.tbf .tbf-unit--sp .tbf-scr::before{display:none}
.tbf .tbf-unit--sp .tbf-scr img{border-radius:21px}

/* 境目のつまみ（キーボード・支援技術向けの本体） */
.tbf .tbf-range{
  display:block;width:100%;height:44px;margin:10px 0 0;padding:0;border:0;
  background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer;accent-color:#fff;
}
.tbf .tbf-range::-webkit-slider-runnable-track{height:4px;border-radius:99px;background:rgba(255,255,255,.4)}
.tbf .tbf-range::-moz-range-track{height:4px;border-radius:99px;background:rgba(255,255,255,.4)}
.tbf .tbf-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:26px;height:26px;margin-top:-11px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.tbf .tbf-range::-moz-range-thumb{width:26px;height:26px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.35)}
.tbf .tbf-range:focus{outline:none}
.tbf .tbf-range:focus-visible{outline:3px solid #fff;outline-offset:2px;border-radius:999px}

.tbf .tbf-cap{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;margin-top:26px;font-size:13px;line-height:1.7;color:rgba(255,255,255,.78)}
.tbf .tbf-cap b{font-family:var(--tbf-en);font-weight:800;font-size:13px;letter-spacing:.18em;color:#fff}

/* JSあり：同じ場所に重ね、境目を左右に動かして見比べる（左が BEFORE、右が AFTER） */
.tbf-js .tbf .tbf-cmp-grid{grid-template-columns:minmax(0,1fr) 232px;column-gap:40px;align-items:end}
.tbf-js .tbf .tbf-unit--sp{max-width:none}
.tbf-js .tbf .tbf-pair{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"s";gap:0;
  touch-action:pan-y;cursor:ew-resize;user-select:none;-webkit-user-select:none;
}
.tbf-js .tbf .tbf-shot{grid-area:s;z-index:1}
.tbf-js .tbf .tbf-shot--after{z-index:2;clip-path:inset(0 0 0 var(--p, 50%))}
.tbf-js .tbf .tbf-shot img{pointer-events:none;-webkit-user-drag:none}
.tbf-js .tbf .tbf-tag{position:absolute;z-index:2;top:34px;margin:0;padding:4px 10px;border-radius:3px;font-size:12px;box-shadow:0 6px 16px -6px rgba(0,0,0,.45)}
.tbf-js .tbf .tbf-tag b{font-size:13px}
.tbf-js .tbf .tbf-shot--before .tbf-tag{left:10px;background:rgba(16,22,27,.84);color:#fff}
.tbf-js .tbf .tbf-shot--after .tbf-tag{right:10px;background:#fff;color:var(--tbf-deep)}
.tbf-js .tbf .tbf-shot--after .tbf-tag b{color:var(--tbf-deep)}
.tbf-js .tbf .tbf-unit--sp .tbf-tag{top:18px}
.tbf-js .tbf .tbf-unit--sp .tbf-shot--before .tbf-tag{left:16px}
.tbf-js .tbf .tbf-unit--sp .tbf-shot--after .tbf-tag{right:16px}
.tbf-js .tbf .tbf-unit--sp .tbf-tag span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tbf-js .tbf .tbf-handle{display:block;position:absolute;z-index:3;top:0;bottom:0;left:var(--p, 50%);width:0;pointer-events:none}
.tbf-js .tbf .tbf-handle::before{content:"";position:absolute;top:0;bottom:0;left:-1px;width:2px;background:#fff;box-shadow:0 0 0 1px rgba(16,22,27,.25)}
.tbf-js .tbf .tbf-handle::after{
  content:"\2039\00a0\203A";position:absolute;top:50%;left:0;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:44px;height:44px;border-radius:50%;
  background:#fff;color:var(--tbf-deep);font-family:var(--tbf-en);font-weight:800;font-size:20px;line-height:1;
  box-shadow:0 8px 20px -6px rgba(0,0,0,.5);
}
.tbf-js .tbf .tbf-pair.is-anim .tbf-shot--after{transition:clip-path .6s cubic-bezier(.2,.7,.2,1)}
.tbf-js .tbf .tbf-pair.is-anim .tbf-handle{transition:left .6s cubic-bezier(.2,.7,.2,1)}

/* ---------- 見えるところで変えたこと 7つ ---------- */
.tbf .tbf-body{padding:56px 56px 0;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;align-items:start}
.tbf .tbf-pts{margin-top:18px;border-top:2px solid var(--tbf-rule)}
.tbf .tbf-pt{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:8px;padding:16px 0 18px;border-bottom:1px solid var(--tbf-hair)}
.tbf .tbf-pt-no{font-family:var(--tbf-en);font-weight:900;font-size:34px;line-height:1;color:var(--tbf-blue);padding-top:2px}
.tbf .tbf-pt-h{font-size:17px;line-height:1.5;color:var(--tbf-ink)}
.tbf .tbf-pt-d{margin-top:4px;font-size:14.5px;line-height:1.85;color:var(--tbf-muted)}
.tbf .tbf-gal{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:26px 18px;padding-top:4px}
.tbf .tbf-gal figure:first-child{grid-column:1 / -1}
.tbf .tbf-gal-ph{position:relative;overflow:hidden;aspect-ratio:960 / 600;background:#f4f3ef;box-shadow:0 0 0 1px var(--tbf-hair), 0 24px 40px -30px rgba(16,40,60,.5)}
.tbf .tbf-gal-ph img{display:block;width:100%;height:100%;object-fit:cover}
.tbf .tbf-gal-no{position:absolute;left:0;top:0;padding:4px 10px;background:var(--tbf-deep);color:#fff;font-family:var(--tbf-en);font-weight:800;font-size:15px;letter-spacing:.08em;line-height:1.2}
.tbf .tbf-gal figcaption{display:flex;gap:10px;align-items:baseline;margin-top:10px;font-size:12.5px;line-height:1.6;color:var(--tbf-muted)}
.tbf .tbf-gal figcaption b{flex:0 0 auto;font-family:var(--tbf-en);font-weight:800;font-size:12.5px;letter-spacing:.16em;color:var(--tbf-ink)}

/* ---------- 見えないところで入れたこと 2つ（写真なし・淡い青の地の2枚組） ---------- */
.tbf .tbf-behind{margin:52px 56px 0}
.tbf .tbf-bh{margin-top:18px;display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:16px}
.tbf .tbf-bh-i{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:8px;padding:22px 24px 24px;background:var(--tbf-paper);box-shadow:inset 0 0 0 1px var(--tbf-line);border-top:3px solid var(--tbf-deep)}
.tbf .tbf-bh-no{font-family:var(--tbf-en);font-weight:900;font-size:30px;line-height:1;color:transparent;-webkit-text-stroke:1.2px var(--tbf-deep);padding-top:2px}
.tbf .tbf-bh-h{font-size:17px;line-height:1.5;color:var(--tbf-deep)}
.tbf .tbf-bh-d{margin-top:6px;font-size:14.5px;line-height:1.85;color:var(--tbf-muted)}

/* ---------- お客様から聞いた話 ---------- */
.tbf .tbf-voice{margin:52px 56px 0}
.tbf .tbf-voice-in{margin-top:18px;display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:12px;padding:30px 40px 30px 28px;background:#eef6fc;border-left:4px solid var(--tbf-blue)}
.tbf .tbf-voice-q{font-family:var(--tbf-en);font-weight:900;font-size:110px;line-height:.55;height:50px;color:var(--tbf-blue)}
.tbf .tbf-voice blockquote p{font-size:clamp(18px, .7vw + 12px, 22px);font-weight:700;line-height:1.85;color:var(--tbf-ink)}
.tbf .tbf-voice figcaption{margin-top:12px;font-size:13.5px;font-weight:700;line-height:1.6;color:var(--tbf-muted)}

/* ---------- 料金の一言と行き先 ---------- */
.tbf .tbf-foot{margin:48px 56px 0;padding:28px 0 48px;border-top:2px solid var(--tbf-rule);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;align-items:center}
.tbf .tbf-price{font-size:16px;font-weight:700;line-height:1.95;color:var(--tbf-ink)}
.tbf .tbf-price small{display:block;margin-bottom:6px;font-family:var(--tbf-en);font-weight:700;font-size:13px;letter-spacing:.24em;color:var(--tbf-deep)}
.tbf .tbf-price strong{color:var(--tbf-deep);font-weight:900;background:linear-gradient(transparent 62%, rgba(169,214,245,.6) 62%)}
.tbf .tbf-acts{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:12px}
.tbf .tbf-acts .tbf-btn{width:100%;padding-inline:18px}
.tbf .tbf-acts .tbf-main{grid-column:1 / -1;min-height:66px;font-size:17px}
/* 主ボタンの文は <wbr> の位置でだけ折る（「見てもら／う」のように途中で折れないように） */
.tbf .tbf-acts .tbf-main .tbf-btn-in{word-break:keep-all;overflow-wrap:anywhere}
.tbf .tbf-acts--2 .tbf-btn--outline{grid-column:1 / -1}
.tbf .tbf-btn-sub{white-space:nowrap}

/* ---------- ほかの事例（トップ専用の小カード） ---------- */
.tbf-others{margin-top:64px}
.tbf-others .tbf-label{margin-bottom:16px}
.tbf-others .tbf-minis{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));border-top:2px solid var(--tbf-rule)}
.tbf-others .tbf-mini{display:grid;grid-template-columns:168px minmax(0,1fr);column-gap:22px;align-items:start;padding:24px 28px 26px 0;min-width:0}
.tbf-others .tbf-mini + .tbf-mini{padding:24px 0 26px 28px;border-left:1px solid var(--tbf-hair)}
.tbf-others .tbf-mini-media{min-width:0}
.tbf-others .tbf-mini-ph{position:relative;overflow:hidden;aspect-ratio:16 / 10;background:linear-gradient(135deg, #eef3f7 0%, #dfe8ef 100%);box-shadow:0 0 0 1px var(--tbf-hair)}
.tbf-others .tbf-mini-ph img{display:block;width:100%;height:100%;object-fit:cover}
.tbf-others .tbf-mini-fig{position:absolute;z-index:1;left:0;top:0;padding:2px 8px;background:rgba(255,255,255,.92);font-family:var(--tbf-en);font-weight:800;font-size:11px;letter-spacing:.18em;line-height:1.5;color:var(--tbf-muted)}
.tbf-others .tbf-mini-note{margin-top:6px;font-size:11px;line-height:1.5;color:var(--tbf-muted)}
.tbf-others .tbf-mini-body{min-width:0}
.tbf-others .tbf-mini-folio{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-family:var(--tbf-en);font-weight:700;letter-spacing:.2em;line-height:1.4}
.tbf-others .tbf-mini-folio b{font-size:20px;font-weight:900;letter-spacing:.06em;color:var(--tbf-deep)}
.tbf-others .tbf-mini-tag{font-family:var(--tbf-ja);padding:2px 10px;border:1px solid var(--tbf-ink);border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.04em;color:var(--tbf-ink)}
.tbf-others .tbf-mini-cat{margin-top:10px;font-size:12.5px;font-weight:700;line-height:1.6;color:var(--tbf-deep)}
.tbf-others .tbf-mini-title{margin-top:4px;font-size:17px;line-height:1.55;letter-spacing:.02em;color:var(--tbf-ink)}
.tbf-others .tbf-more{margin-top:2px}

/* ---------- 出現アニメーション（case-feature.js が html.tbf-anim を付けたときだけ隠す） ---------- */
@media (prefers-reduced-motion: no-preference){
  .tbf-anim .tbf-rv{opacity:0;transform:translateY(24px);transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d, 0s)}
  .tbf-anim .tbf-rv.is-in{opacity:1;transform:none}
}
@media (prefers-reduced-motion: reduce){
  .tbf *,.tbf *::before,.tbf *::after,.tbf-others *,.tbf-others *::before,.tbf-others *::after{transition:none !important;animation:none !important}
}

/* ---------- 事例詳細（/case/home-care/）：目次の右の本文欄（約870px）に置くので、組みを1段に詰める ---------- */
.tbf--detail .tbf-top{padding-inline:40px}
.tbf--detail .tbf-intro{grid-template-columns:minmax(0,1fr);row-gap:20px}
.tbf--detail .tbf-title{font-size:clamp(28px, 1.8vw + 14px, 44px)}
.tbf-js .tbf--detail .tbf-cmp-grid{grid-template-columns:minmax(0,1fr) 200px;column-gap:28px}
.tbf--detail .tbf-body{padding-inline:40px;grid-template-columns:minmax(0,1fr);row-gap:40px}
.tbf--detail .tbf-behind,.tbf--detail .tbf-voice{margin-inline:40px}
.tbf--detail .tbf-foot{margin-inline:40px;grid-template-columns:minmax(0,1fr);row-gap:22px}

/* ---------- 狭い画面 ---------- */
@media (max-width: 1100px){
  .tbf .tbf-top{padding-inline:40px}
  .tbf .tbf-body{padding-inline:40px;column-gap:40px}
  .tbf .tbf-foot{margin-inline:40px;column-gap:40px}
  .tbf .tbf-behind,.tbf .tbf-voice{margin-inline:40px}
  .tbf-js .tbf .tbf-cmp-grid{grid-template-columns:minmax(0,1fr) 210px;column-gap:32px}
}
@media (max-width: 899px){
  .tbf{margin-inline:calc(var(--tbf-bleed) * -1);box-shadow:none}
  .tbf .tbf-top{padding:22px 20px 40px}
  .tbf .tbf-bigword{top:56px;font-size:24vw}
  .tbf .tbf-mast{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 12px;font-size:12px;letter-spacing:.2em}
  .tbf .tbf-mast-date{flex:1 0 100%;text-align:left;font-size:12.5px}
  .tbf .tbf-intro{margin-top:26px;grid-template-columns:minmax(0,1fr);row-gap:20px}
  .tbf .tbf-title{font-size:clamp(26px, 7.2vw, 44px)}
  .tbf .tbf-client{font-size:13px;padding:5px 14px}
  .tbf .tbf-lead{font-size:15px;line-height:1.95}
  .tbf .tbf-cmp{margin-top:32px}
  /* 3つのボタンを1行に並べ、日本語の部分は途中で折り返さない（狭い枠では文字と余白を少し詰める） */
  .tbf .tbf-ctl{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:stretch;gap:6px;margin-bottom:18px}
  .tbf .tbf-ctl-b{flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:52px;padding:6px 14px;font-size:12.5px;text-align:center}
  .tbf .tbf-ctl-b > span{white-space:nowrap}
  .tbf .tbf-ctl-b b{font-size:14px}
  .tbf .tbf-ctl-x{display:none}
  .tbf .tbf-cmp-grid{row-gap:32px}
  .tbf .tbf-pair{gap:12px}
  .tbf-js .tbf .tbf-cmp-grid{grid-template-columns:minmax(0,1fr);row-gap:36px}
  .tbf-js .tbf .tbf-unit--sp{width:min(260px, 100%)}
  .tbf-js .tbf .tbf-tag span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .tbf .tbf-body{padding:40px 20px 0;grid-template-columns:minmax(0,1fr);row-gap:32px}
  .tbf .tbf-gal{gap:18px 12px}
  .tbf .tbf-gal figcaption{flex-direction:column;gap:0;font-size:12px}
  .tbf .tbf-behind,.tbf .tbf-voice{margin:40px 20px 0}
  .tbf .tbf-bh{grid-template-columns:minmax(0,1fr);gap:12px}
  .tbf .tbf-bh-i{grid-template-columns:40px minmax(0,1fr);padding:18px 18px 20px}
  .tbf .tbf-bh-no{font-size:26px}
  .tbf .tbf-bh-h{font-size:16px}
  .tbf .tbf-voice-in{grid-template-columns:minmax(0,1fr);padding:22px 20px 22px 18px}
  .tbf .tbf-voice-q{font-size:80px;height:34px}
  .tbf .tbf-voice blockquote p{font-size:17px}
  .tbf .tbf-foot{margin:36px 20px 0;padding:24px 0 40px;grid-template-columns:minmax(0,1fr);row-gap:22px}
  .tbf .tbf-acts{grid-template-columns:minmax(0,1fr)}
  .tbf .tbf-acts .tbf-main{min-height:64px;font-size:16px;line-height:1.5}
  .tbf .tbf-btn-sub{display:block;font-size:13px}
  .tbf .tbf-acts .tbf-main .tbf-btn-in{display:block}
  .tbf-others{margin-top:52px}
  .tbf-others .tbf-minis{grid-template-columns:minmax(0,1fr)}
  .tbf-others .tbf-mini,.tbf-others .tbf-mini + .tbf-mini{grid-template-columns:104px minmax(0,1fr);column-gap:14px;padding:18px 0 16px;border-left:0}
  .tbf-others .tbf-mini + .tbf-mini{border-top:1px solid var(--tbf-hair)}
  .tbf-others .tbf-mini-folio b{font-size:18px}
  .tbf-others .tbf-mini-title{font-size:15.5px}
}
@media (max-width: 400px){
  .tbf .tbf-ctl-b{padding:6px 10px;font-size:12px}
}

/* /service/homepage/（静的HTML）の事例欄に特集を置くための調整
   並び: 見出し（.cases-head）→ 特集（.tbf-hps-wrap）→ ピン留めの画面（.cases-pin：小見出し＋メーター＋4枚）
   起点はセクションの目印 .sec-cases--tbf。地域ページと共通の assets の CSS は変えない */
.hps .sec-cases--tbf .cases-head,
.hps .sec-cases--tbf .tbf-hps-wrap{position:relative;z-index:1} /* 背景の縦線（::before）より前に出す */
.hps .sec-cases--tbf .tbf-hps-wrap{margin-bottom:96px}
.hps .sec-cases--tbf .tbf-hps-sub{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;margin-bottom:48px}
.hps .sec-cases--tbf .tbf-hps-sub .sec-eyebrow{margin:0}
.hps .sec-cases--tbf .tbf-hps-sub-ja{font-family:var(--ja);font-size:14px;font-weight:700;letter-spacing:.08em}
/* PC（JS が #hps に .cases-h を付けたとき）：見出しはピン留めの外に出たので、ふつうのセクション見出しの見え方に戻す */
.hps.cases-h .sec-cases.sec-cases--tbf{padding:120px 0 0}
.hps.cases-h .sec-cases--tbf .cases-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"title text";column-gap:64px;margin-bottom:64px}
.hps.cases-h .sec-cases--tbf .cases-head .sec-title{margin-top:16px;font-size:clamp(28px, 2.8vw + 6px, 44px)}
.hps.cases-h .sec-cases--tbf .cases-head .sec-head-text{font-size:16px;line-height:2;max-width:none}
.hps.cases-h .sec-cases--tbf .tbf-hps-wrap{margin-bottom:40px}
.hps.cases-h .sec-cases--tbf .tbf-hps-sub{flex-wrap:nowrap;margin-bottom:28px}
@media (max-height: 820px){
  .hps.cases-h .sec-cases--tbf .tbf-hps-sub{margin-bottom:18px}
}
@media (max-width: 899px){
  .hps .sec-cases--tbf .tbf-hps-wrap{margin-bottom:64px}
  .hps .sec-cases--tbf .tbf-hps-sub{margin-bottom:40px}
}
