/* ============================================================
   制作実績（一覧 /works と詳細 /works/<slug>）
   中身は content/works/*.md が正本。HTML は tools/build-works-e.mjs が作る
   幅の帯: 〜672 スマホ／673〜1080 折りたたみを開いた画面・タブレット（タッチ）／1081〜 PC
   ホバーでしか出ないものは作らない（ホバーは @media (hover:hover) and (pointer:fine) の飾りだけ）
   ============================================================ */
.wk-page { --wk-r: 24px; --wk-ok: #0F7A4F; --wk-ok-bg: #E3F6EC; --wk-prep: #8A4B00; --wk-prep-bg: #FFF1DC; }
.wk-page :is(h1, h2, h3, p, li, dt, dd, figcaption, strong) { word-break: auto-phrase; overflow-wrap: anywhere; }
.wk-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 共通: 札・分類 ---------- */
.wk-st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--wk-ok-bg); color: var(--wk-ok); font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.wk-st::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wk-st.is-prep { background: var(--wk-prep-bg); color: var(--wk-prep); }
.wk-st--lg { font-size: 13px; padding: 5px 14px; }
.wk-st--on { position: absolute; left: 14px; bottom: 12px; z-index: 1; box-shadow: 0 6px 16px -8px rgba(20,27,56,.45); }
.wk-cat { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; background: #fff; border: 1px solid rgba(42,111,245,.22); color: var(--e-ink); font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
/* 作った道具の名前とロゴの札（Claude Code・Wix Studio・Wix。2026-11-03）。公式ロゴは形と色を変えずに置く */
.wk-cat--logo { gap: 6px; padding-left: 8px; color: var(--e-fg); }
.wk-cat--logo img { display: block; width: 16px; height: 16px; flex: none; }
.wk-cat--logo img.is-word { width: 28px; height: 28px; margin: -7px -2px; }   /* Wix の文字のロゴは正方形の枠の中で小さいので枠を大きくする（字の高さ約11px） */
.wk-cat--word { padding-right: 8px; }   /* Wix はロゴだけ（名前は alt） */
.wk-cat--logo img.is-wide { width: auto; height: 11px; }   /* STUDIO の横長の文字のロゴ（80×17）。字の高さを Wix とそろえる（2026-11-07） */
/* 絞り込みの Wix も、ロゴ（WIX の文字）を名前にする。読み上げ用の名前は見えない文字で持つ（基準はボタン） */
.wk-fbtn { position: relative; }
.wk-fbtn-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 共通: 見出し ---------- */
.wk-h1 { margin: 0; font-size: clamp(30px, calc(2.2vw + 18px), 52px); line-height: 1.28; letter-spacing: -.01em; text-wrap: balance; }
.wk-lead { margin: 0; font-size: clamp(15px, calc(.3vw + 13px), 17px); line-height: 1.95; color: var(--e-fg-2); max-width: 36em; text-wrap: pretty; }
.wk-h2 { margin: 0; font-size: clamp(24px, calc(1.6vw + 15px), 40px); font-weight: 900; line-height: 1.38; letter-spacing: -.01em; color: var(--e-fg); text-wrap: balance; }
.wk-sec-k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--e-ink); }
.wk-sec-en { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--e-fg-3); }

/* ---------- 共通: 最後の相談 ---------- */
.wk-cta { padding: clamp(52px, 6vw, 76px) 0; }
.wk-cta-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: var(--e-deep); color: #fff; box-shadow: 0 30px 60px -30px rgba(42,85,230,.6); position: relative; overflow: clip; --sl-fg: #fff; --sl-fg-2: rgba(255,255,255,.95); --e-ink: #fff; }
.wk-cta-card::after { content: ''; position: absolute; right: -12%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,200,255,.35), transparent 65%); pointer-events: none; }
.wk-cta-card > * { position: relative; z-index: 1; min-width: 0; }
.wk-cta-card h2 { margin: 0; font-size: clamp(22px, calc(1.4vw + 14px), 34px); line-height: 1.4; color: #fff; text-wrap: balance; }
.wk-cta-card p { margin: 12px 0 0; color: rgba(255,255,255,.95); line-height: 1.9; font-size: 15px; max-width: 36em; }
.wk-cta-card .sl-btn { justify-self: start; min-height: 52px; }
@media (min-width: 884px) { .wk-cta-card { grid-template-columns: minmax(0, 1fr) auto; } .wk-cta-card .sl-btn { justify-self: end; } }

/* ============================================================
   一覧 /works
   ============================================================ */
.ph.wk-hero { position: relative; }
/* 頭（2026-11-24）: トップの「制作実績」の区画と同じ three.js の3D（section.w3）。見た目は assets/pages/works3d.css、動きは assets/pages/works3d.js（どちらもトップと共通）。
   それまでのスマートフォンの画面3枚（.wk-lh-vis）は外した。ここに書くのは、頭だけの違い:
   ・区画の上下の余白は無し（舞台 .w3-stage が区画いっぱい）。下の一覧が角丸で重なる（e.js が付ける .e-rise。40px・672px 以下は 28px）
   ・パンくずと h1（canvas の上の HTML）。文字を上に置く幅（縦に積む幅）では、パンくずを今までと同じ所（上から 118〜156px。ほかの下層ページと同じ）に置き、
     固定のヘッダーと重ねない。横に並べる幅（800px 以上で横長）はトップと同じく上下の真ん中
   ・舞台を止めて流す長さ（区画の高さ − 舞台の高さ 100svh）は 40svh（区画の高さ 140svh）。トップは 70svh（170svh）。
     2026-11-24 にホイールで送って比べた: 一覧の頭が見え始めるまで トップと同じ 70svh はホイール6回（1280x800 で 600px）、40svh は3回（300px）。
     舞台が止まっている間に板が流れ切る割合は、ゆっくり送って 0.86（70svh は 0.78）・ふつうに送って 0.61（同 0.68）で、ほぼ同じに見える。
     25svh まで縮めると、止まっている間が 0.2〜0.4 秒しかなく、引っかかったように見える
   ・板を置かない上の帯 --w3-safe-top（works3d.js が読む）: 開いた時（スクロール0）のヘッダーは透明なので、ロゴ・メニュー・相談ボタンの後ろに
     板が来ないようにする（ヘッダーの高さ 72〜80px ＋ 板が漂う・マウスで視点が動く分）。トップの区画は、舞台が止まっている間ヘッダーが白いピルなので 0 のまま
   ・e.js が .ph に足すぼかし円（.e-ph-blobs）は、舞台の地の下に隠れるだけなので出さない */
.ph.wk-hero--list { padding: 0; }
.wk-hero--list > .e-ph-blobs { display: none; }
.wk-hero--list .w3-stage { --w3-safe-top: 100px; padding-top: clamp(118px, 12vw, 156px); }
.wk-hero--list .w3-copy-in { gap: 22px; }
@media (min-width: 800px) and (min-aspect-ratio: 11/10) { .wk-hero--list .w3-stage { padding-top: 0; } }
@media (prefers-reduced-motion: no-preference) { .wk-hero--list.w3 { height: 140vh; height: 140svh; } }

.wk-list { padding: clamp(48px, 5vw, 72px) 0; }

/* 絞り込み: 大きなボタンを並べる（タブにはしない）。JS が無いときは出さず、全件を見せる */
.wk-filter { display: none; }
.e-js .wk-filter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.wk-fbtn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; padding: 8px 16px 8px 10px; border-radius: 18px; border: 1px solid rgba(42,111,245,.2); background: #fff; color: var(--e-fg); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 12px 26px -22px rgba(30,60,140,.6); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.wk-fbtn-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--e-sky); color: #2A6FF5; }
.wk-fbtn-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wk-fbtn-t { display: grid; gap: 2px; min-width: 0; }
.wk-fbtn-t strong { font-size: 15px; font-weight: 900; line-height: 1.45; word-break: auto-phrase; }
.wk-fbtn-t small { display: none; font-size: 12px; line-height: 1.5; color: var(--e-fg-3); }
.wk-fbtn-n { font-family: var(--font-en); font-weight: 800; font-size: 20px; line-height: 1; color: var(--e-fg); white-space: nowrap; }
.wk-fbtn-n small { margin-left: 2px; font-family: var(--font-jp); font-size: 11px; font-weight: 700; color: var(--e-fg-3); }
.wk-fbtn[aria-pressed="true"] { background: var(--e-grad-ink); border-color: transparent; color: #fff; box-shadow: 0 16px 30px -18px rgba(42,85,230,.7); }
.wk-fbtn[aria-pressed="true"] .wk-fbtn-i { background: rgba(255,255,255,.18); color: #fff; }
/* ロゴの絞り込み（Claude Code・Wix）: 公式ロゴの後ろに台を敷かない決まりなので、アイコンの地を外して直に置く（色も変えない） */
.wk-fbtn-i.is-logo, .wk-fbtn[aria-pressed="true"] .wk-fbtn-i.is-logo { background: none; }
.wk-fbtn-i img { display: block; width: 24px; height: 24px; }
.wk-fbtn-i img.is-word { width: 40px; height: 40px; }
.wk-fbtn[aria-pressed="true"] :is(.wk-fbtn-t small, .wk-fbtn-n, .wk-fbtn-n small) { color: #fff; }
.wk-fbtn:focus-visible { outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .wk-fbtn[aria-pressed="false"]:hover { border-color: rgba(42,111,245,.55); } }
@media (min-width: 673px) {
  .e-js .wk-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .wk-fbtn-t small { display: block; }
  .wk-fbtn { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; align-content: start; gap: 12px 10px; min-height: 0; padding: 14px 16px 16px; }
  .wk-fbtn-i { grid-row: 1; grid-column: 1; }
  .wk-fbtn-n { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
  .wk-fbtn-t { grid-row: 2; grid-column: 1 / -1; }
}
@media (min-width: 1081px) { .e-js .wk-filter { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.wk-count { display: none; margin: 16px 0 0; font-size: 13px; color: var(--e-fg-3); }
.e-js .wk-count { display: block; }
.wk-count span { font-family: var(--font-en); font-weight: 800; color: var(--e-fg); }

/* カード: 写真を大きく。PC は2列で、先頭の1件は横に広げる */
.wk-grid { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 673px) { .wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk-card.is-feature { grid-column: 1 / -1; } }
.wk-card { min-width: 0; display: grid; }
.wk-card[hidden] { display: none; }
.wk-card-a { display: grid; grid-template-rows: auto 1fr; min-width: 0; border-radius: var(--wk-r); background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); overflow: clip; color: var(--e-fg); text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease; }
.wk-card-ph { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--e-sky); border-bottom: var(--e-card-line); overflow: clip; }
.wk-card-ph img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--e-ease); }
.wk-card-b { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 28px) clamp(20px, 2.4vw, 28px); min-width: 0; }
.wk-card-k { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--e-ink); }
.wk-card-t { margin: 0; text-wrap: inherit; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: clamp(18px, calc(.6vw + 14px), 22px); font-weight: 900; line-height: 1.45; }
.wk-card-d { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }
.wk-card-cats, .wk-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-card-tags span { padding: 3px 10px; border-radius: 8px; background: var(--e-sky); color: var(--e-fg-2); font-size: 12px; font-weight: 500; line-height: 1.6; }
.wk-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--e-ink); }
.wk-card-more::after { content: '→'; font-family: var(--font-en); transition: transform .3s var(--e-ease); }
@media (hover: hover) and (pointer: fine) {
  a.wk-card-a:hover { border-color: rgba(42,111,245,.45); box-shadow: 0 22px 44px -24px rgba(30,60,140,.5); }
  a.wk-card-a:hover .wk-card-ph img { transform: scale(1.03); }
  a.wk-card-a:hover .wk-card-more::after { transform: translateX(4px); }
}
@media (min-width: 884px) {
  .wk-card.is-feature .wk-card-a { grid-template-rows: none; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .wk-card.is-feature .wk-card-ph { aspect-ratio: auto; min-height: clamp(320px, 30vw, 440px); border-bottom: 0; border-right: var(--e-card-line); }
  .wk-card.is-feature .wk-card-ph img { position: absolute; inset: 0; }
  .wk-card.is-feature .wk-card-b { align-content: center; padding: clamp(28px, 3vw, 44px); gap: 14px; }
  .wk-card.is-feature .wk-card-t { font-size: clamp(24px, 1.2vw + 14px, 32px); }
  .wk-card.is-feature .wk-card-d { font-size: 15px; }
}
.wk-empty { margin: 24px 0 0; padding: 24px; border-radius: 18px; background: var(--e-sky); color: var(--e-fg-2); text-align: center; }

/* 自社で使う道具 */
.wk-own { padding: clamp(48px, 5vw, 68px) 0; }
.wk-own-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.wk-own-txt { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.wk-own-txt .wk-sec-k { margin: 0; }
.wk-own-txt p { margin: 0; font-size: 15px; line-height: 1.95; color: var(--e-fg-2); }
.wk-own-txt .sl-btn { min-height: 52px; }
.wk-own-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wk-own-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #fff; border: var(--e-card-line); font-size: 15px; font-weight: 700; line-height: 1.6; }
.wk-own-list li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--e-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%232A6FF5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (min-width: 1081px) { .wk-own-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

/* ============================================================
   詳細 /works/<slug>（2026-11-17 作り替え。長い文章は書かない）
   題名・リード・サイトへのボタン → パソコンとスマートフォンの最初の画面 → 概要の表 → 画面 → 前後の実績
   ============================================================ */
.ph.wk-hero:not(.wk-hero--list) { padding: clamp(118px, 12vw, 150px) 0 calc(var(--e-r) + clamp(24px, 3vw, 40px)); }
.wk-hero-in { display: grid; gap: clamp(28px, 4vw, 48px); max-width: none; }
.wk-hero-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: end; min-width: 0; }
.wk-hero-copy { display: grid; gap: 20px; min-width: 0; justify-items: start; }
.wk-hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.wk-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.wk-btns .sl-btn { min-height: 52px; }
.wk-site-btn { gap: 10px; }
.wk-ext { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.wk-ext svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* PC はボタンを題名の右下に寄せる（折りたたみを開いた幅とタブレットは、リードの下に置く） */
@media (min-width: 1081px) { .wk-hero-head { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; } .wk-btns { justify-content: flex-end; } }

/* 最初の大きな画面: パソコンとスマートフォンを横に並べる（重ねない） */
.wk-shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: end; }
.wk-shot-sp { width: min(56%, 240px); justify-self: center; }
.wk-shot-cap { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--e-fg-3); text-align: center; }
@media (min-width: 673px) {
  .wk-shots { grid-template-columns: minmax(0, 3.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
  .wk-shot-sp { width: 100%; justify-self: stretch; }
}

/* 区画の見出し（英字の札＋名前） */
.wk-ov, .wk-scr { padding: clamp(56px, 6vw, 92px) 0; }
.wk-sec-head { display: grid; gap: 0; min-width: 0; margin-bottom: clamp(24px, 3vw, 40px); }
.wk-sec-head .wk-sec-k { margin-bottom: 10px; }

/* 概要: 線で区切った表（項目名を左、中身を右）。PC は見出しを左の列に置く */
.wk-ov-in { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
@media (min-width: 1081px) { .wk-ov-in { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 56px; align-items: start; } .wk-ov-in .wk-sec-head { margin-bottom: 0; } }
.wk-spec { margin: 0; display: grid; border-top: 1px solid rgba(20,27,56,.16); min-width: 0; }
.wk-spec > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 0; border-bottom: 1px solid rgba(20,27,56,.1); min-width: 0; }
.wk-spec dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; color: var(--e-fg-3); }
.wk-spec dd { margin: 0; font-size: 15px; line-height: 1.85; color: var(--e-fg); min-width: 0; }
.wk-spec dd > .wk-st { vertical-align: 1px; }
.wk-spec-note { display: block; margin-top: 8px; font-size: 13px; line-height: 1.75; color: var(--e-fg-2); }
@media (min-width: 673px) { .wk-spec > div { grid-template-columns: 9em minmax(0, 1fr); gap: 24px; padding: 20px 0; } .wk-spec dt { padding-top: 2px; } }

/* 使用ツール: 公式ロゴ（台を敷かない）・名前・何に使ったか */
.wk-credit { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 32px; }
@media (min-width: 884px) { .wk-credit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wk-credit li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; min-width: 0; }
.wk-credit.has-wide li { grid-template-columns: 66px minmax(0, 1fr); }   /* 横長の文字のロゴがある一覧は、どの行も名前の書き出しをそろえる（STUDIO を高さ14pxにした幅） */
.wk-credit-mark { display: grid; place-items: center; width: 32px; height: 32px; }
.wk-credit-mark img { display: block; width: 28px; height: 28px; object-fit: contain; }
.wk-credit-mark img.is-word { width: 32px; height: 32px; }   /* Wix の文字のロゴは正方形の中で字が小さいので、枠いっぱいに置く */
.wk-credit-mark.is-wide { width: auto; min-width: 32px; }
.wk-credit-mark img.is-wide { width: auto; height: 14px; }   /* STUDIO・Uberall の横長の文字のロゴは高さでそろえる */
.wk-credit-ph { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--e-sky); color: #2A6FF5; font-family: var(--font-en); font-weight: 800; font-size: 13px; }
.wk-credit-b { display: grid; gap: 1px; min-width: 0; padding-top: 2px; }
.wk-credit-b strong { font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--e-fg); }
.wk-credit-b span { font-size: 13px; line-height: 1.7; color: var(--e-fg-2); }

/* URL と関連サービス（押せる所は 44px 以上） */
.wk-url { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-block: -8px; font-weight: 700; color: var(--e-ink); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.wk-svcs { display: flex; flex-wrap: wrap; gap: 8px; }
.wk-svc { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(42,111,245,.28); background: #fff; color: var(--e-ink); font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.wk-svc::after { content: '→'; font-family: var(--font-en); transition: transform .3s var(--e-ease); }
@media (hover: hover) and (pointer: fine) { .wk-svc:hover { border-color: rgba(42,111,245,.6); background: var(--e-sky); } .wk-svc:hover::after { transform: translateX(3px); } }

/* 画面: 横長はブラウザの枠で2列（数が奇数なら1枚目を横いっぱい）、スマートフォンの画面は最後に並べる。下に画面の名前 */
.wk-fig { margin: 0; min-width: 0; }
.wk-frame { display: block; position: relative; overflow: clip; background: #fff; border: 1px solid rgba(42,111,245,.16); box-shadow: 0 26px 50px -30px rgba(30,60,140,.55); }
.wk-frame img { display: block; width: 100%; height: auto; }
.wk-browser .wk-frame { border-radius: 16px; }
.wk-frame-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #F1F4FB; border-bottom: 1px solid rgba(42,111,245,.1); }
.wk-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D2E8; }
.wk-phone .wk-frame { border-radius: 26px; border: 6px solid #141B38; box-shadow: 0 26px 50px -28px rgba(20,27,56,.6); }
.wk-scr-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row dense; gap: clamp(32px, 4vw, 48px) clamp(20px, 2.6vw, 32px); }
/* is-full: 16:10 でない画像と、2列に余る1枚（build が付ける）。dense で、横いっぱいの1枚の前に空いた欄を後ろの1枚が埋める */
@media (min-width: 884px) { .wk-scr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wk-scr-grid > .wk-fig.is-full { grid-column: 1 / -1; } }
.wk-scr-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(32px, 5vw, 64px); }
.wk-scr-grid + .wk-scr-phones { margin-top: clamp(44px, 5vw, 64px); }
.wk-scr-phones .wk-phone { width: min(100%, 280px); }
.wk-scr-cap { display: grid; gap: 4px; margin-top: 14px; }
.wk-scr-t { font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--e-fg); }
.wk-scr-note { font-size: 12.5px; line-height: 1.75; color: var(--e-fg-3); }

/* 前後の実績のカードの画像は 16:10、一覧へのボタン */
.wk-rel-work img { aspect-ratio: 16 / 10 !important; object-position: top center; }
/* 673〜768px は、ほかの区画（.sl-wrap の左右32px）と前後の実績の左端をそろえる（e.css の .e-related-block はこの帯だけ左右24px） */
@media (min-width: 673px) and (max-width: 768px) { .wk-page .e-related .e-related-block { width: calc(100% - 64px); } }
.wk-back { margin: clamp(24px, 3vw, 36px) 0 0; }
.wk-back .sl-btn { min-height: 52px; }

/* スマホ（〜672px）の本文は PC より1px 小さく（common.css の最後と同じ決まり。2026-11-02） */
@media (max-width: 672px) {
  .wk-lead, .wk-cta-card p, .wk-own-txt p { font-size: 14px; line-height: 1.85; }
  .wk-spec dd, .wk-credit-b strong { font-size: 14px; }
  .wk-scr-t { font-size: 14px; }
  .wk-scr-phones .wk-phone { width: min(78%, 280px); }
}

/* ---- 2026-11-12 目視点検の直し ---- */
/* ツールの札の高さを、ロゴの形（Wix Studio・WIX・STUDIO の文字のロゴ）に関係なくそろえる */
.wk-cat { min-height: 28px; }
/* 説明文の行数が違っても、隣のカードと「詳しく見る」の高さをそろえる（余った高さは説明文の段が受ける） */
.wk-card:not(.is-feature) .wk-card-b { grid-template-rows: auto auto 1fr; align-content: stretch; }

/* ============================================================
   一覧の画像がスクロールでしなる（2026-11-18。見本 I＝docs/threejs-1117/i-works-list-bend.html を入れた。動きは assets/pages/works-bend.js）
   ・works-bend.js が一覧の区画（#list）の頭に canvas の入れ物（.wk-gl）を足し、カードの下に敷く。
     WebGL で描いているカード（data-gl）だけ、画像の所を透かす。文字・札・ロゴは今の HTML のまま上に重なる
   ・.wk-gl に区画の角丸（border-radius）を付けない: 角丸で切り抜くと、WebGL の面に毎フレーム型抜きが掛かり、
     GPU の弱い環境でスクロールの最中に 250〜980ms 止まった（見本の計測。外すと最大 40ms 前後）。
     板はカードの画像の所にしか描かないので、角には何も出ない
   ・WebGL で描いている画像は、ホバーの 1.03 倍の拡大の代わりに波紋が出る（拡大はしない）
   ・#list に is-gl が付かないとき（WebGL が無い・動きを減らす設定・three が届かない・描画の場所を失った）は、今のまま
   ============================================================ */
.wk-list > .sl-wrap { position: relative; z-index: 1; }
.wk-gl { position: absolute; inset: 0; z-index: 0; overflow: hidden; overflow: clip; pointer-events: none; }
.wk-canvas { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 1px; pointer-events: none; will-change: transform; }
.wk-list:not(.is-gl) .wk-canvas { visibility: hidden; }
@media screen {
  .wk-list.is-gl .wk-card[data-gl] .wk-card-a { background: transparent; }
  /* 画像の枠の地（--e-sky）は透かす。枠の下（大きいカードは右）の線は、今と同じ色（地の --e-sky に --e-card-line を重ねた色）で引く */
  .wk-list.is-gl .wk-card[data-gl] .wk-card-ph { background: transparent; border-color: rgb(214 229 254); }
  .wk-list.is-gl .wk-card[data-gl] .wk-card-ph img { opacity: 0; transform: none !important; transition: none !important; }   /* 見えなくするだけ（alt は読み上げに残る） */
}
@media print { .wk-gl { display: none; } }
