/* 実績カードの絵（担当：濱岡。トップ・実績ページで使う）
   2026-11-16 濱岡さん「単調すぎて、ざこHPに見える。クオリティを上げて」を受けて作り直した。
   先方の掲載の許可が出るまでは、社名やロゴの入った実物の画面は使わず、「どんな形の制作物か」を
   画面の見本（再生画面・縦型スマホ・LP・映画風の画面）で見せる。許可が出たら、画面の中を実物の1コマに差し替える。
   色・書体は common.css の変数を使う。 */

.card__media.wk {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  color: var(--c-on-dark);
  background: var(--c-ink);
}
/* 方眼の地（Goodpatch の整理感）。端に向かって消える */
.wk::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
}
/* 光のにじみ */
.wk::after {
  content: "";
  position: absolute; inset: -20%; z-index: -2;
  background:
    radial-gradient(40% 40% at 78% 22%, color-mix(in srgb, var(--c-blue) 60%, transparent), transparent 70%),
    radial-gradient(36% 36% at 18% 86%, color-mix(in srgb, var(--c-green) 50%, transparent), transparent 70%);
  filter: blur(8px);
  transition: transform 1.2s var(--ease);
}
.card:hover .wk::after { transform: scale(1.08) rotate(4deg); }

/* 大きな番号（白抜き） */
.wk__no {
  position: absolute; right: 16px; bottom: 4px; z-index: 0;
  font-family: var(--f-en); font-weight: 800;
  font-size: clamp(64px, 7.5vw, 112px); line-height: 1; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
  pointer-events: none;
}
/* 種類のラベル */
.wk__kind {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; line-height: 1;
}
.wk__kind::before { content: ""; width: 3px; height: 12px; border-radius: 0; background: var(--grad-brand-v); }
/* 画面の外に浮くラベル */
.wk__chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 0;
  background: var(--grad-brand-strong);
  color: var(--c-white);
  font-size: .75rem; font-weight: 700; line-height: 1; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  animation: wk-float 4s ease-in-out infinite;
}
.wk__chip svg { width: 16px; height: 16px; flex: none; }
@keyframes wk-float { 50% { transform: translateY(-6px); } }

/* ---------- 1. 横型の再生画面（動画） ---------- */
.wk-player {
  position: relative; z-index: 2;
  width: 80%;
  border-radius: 0;
  background: #101318;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: rotate(-3deg) translateY(4%);
  transition: transform .8s var(--ease);
  overflow: hidden;
}
.card:hover .wk-player { transform: rotate(-1deg) translateY(1%); }
.wk-player__scene {
  position: relative;
  aspect-ratio: 16 / 9;
  /* やわらかな挿絵の店先（色の面だけで描く） */
  background:
    radial-gradient(30% 40% at 26% 38%, rgba(255, 214, 170, .95), transparent 70%),
    radial-gradient(40% 50% at 74% 30%, rgba(255, 190, 200, .7), transparent 70%),
    radial-gradient(60% 60% at 50% 110%, rgba(170, 210, 190, .9), transparent 70%),
    linear-gradient(180deg, #FFF4E6, #F6E3D4);
}
/* 店の形 */
.wk-player__scene::before {
  content: "";
  position: absolute; left: 50%; bottom: 18%;
  width: 46%; height: 46%;
  transform: translateX(-50%);
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 12%, rgba(255, 255, 255, .85) 12% 44%, transparent 44% 56%, rgba(255, 255, 255, .85) 56% 88%, transparent 88%) 0 62% / 100% 38% no-repeat,
    repeating-linear-gradient(90deg, #E9A6A0 0 10%, #FFF 10% 20%) 0 0 / 100% 22% no-repeat,
    #C98E6E;
  box-shadow: 0 6px 0 rgba(120, 80, 60, .25);
}
.wk-player__sub {
  position: absolute; left: 50%; bottom: 7%;
  transform: translateX(-50%);
  padding: 3px 10px; border-radius: 0;
  background: rgba(16, 19, 24, .72);
  color: var(--c-white);
  font-size: clamp(.5625rem, .8vw, .6875rem); font-weight: 700; white-space: nowrap;
}
.wk-player__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  font-family: var(--f-en); font-size: .625rem; font-weight: 700; color: var(--c-on-dark-muted);
}
.wk-player__bar::before {
  content: ""; flex: none;
  border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--c-white);
}
.wk-player__track { position: relative; flex: 1; height: 3px; border-radius: 0; background: rgba(255, 255, 255, .18); overflow: hidden; }
.wk-player__track::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-brand);
  transform-origin: left; transform: scaleX(.35);
  animation: wk-progress 8s linear infinite;
}
@keyframes wk-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wk--a .wk__chip { right: 7%; bottom: 13%; }

/* ---------- 縦型スマホ（共通） ---------- */
.wk-phone {
  position: relative; z-index: 2;
  height: 84%;
  aspect-ratio: 9 / 18.5;
  padding: 5px;
  border-radius: 0;
  background: #0E1014;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .14);
  transform: translateY(8%) rotate(4deg);
  transition: transform .8s var(--ease);
}
.card:hover .wk-phone { transform: translateY(4%) rotate(1deg); }
.wk-phone__screen {
  position: relative;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

/* ---------- 2. 縦型の採用動画 ---------- */
.card__media.wk--b { background: linear-gradient(160deg, var(--c-blue-ink), var(--c-green-ink)); }
.wk--b::after {
  background:
    radial-gradient(40% 40% at 80% 20%, rgba(255, 255, 255, .22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255, 255, 255, .12), transparent 70%);
}
.wk-reel {
  background:
    radial-gradient(70% 45% at 50% 30%, rgba(255, 236, 214, 1), transparent 75%),
    linear-gradient(180deg, #FFE9D6 0%, #FCD9C4 55%, #F4C3A8 100%);
}
.wk-reel__steps { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; gap: 3px; }
.wk-reel__steps span { flex: 1; height: 2px; border-radius: 0; background: rgba(16, 19, 24, .18); overflow: hidden; }
.wk-reel__steps span:first-child { background: rgba(16, 19, 24, .7); }
.wk-reel__steps span:nth-child(2)::after {
  content: ""; display: block; height: 100%;
  background: rgba(16, 19, 24, .7);
  transform-origin: left;
  animation: wk-progress 5s linear infinite;
}
.wk-reel__clock {
  position: absolute; left: 50%; top: 40%;
  width: 58%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.wk-reel__clock circle { fill: var(--c-white); stroke: #F0A57E; stroke-width: 4; }
.wk-reel__clock .tick { stroke: #E7B49A; stroke-width: 3; stroke-linecap: round; }
.wk-reel__clock .h, .wk-reel__clock .m { stroke: #3A2A24; stroke-linecap: round; transform-origin: 50px 50px; }
.wk-reel__clock .h { stroke-width: 5; animation: wk-turn 24s linear infinite; }
.wk-reel__clock .m { stroke-width: 3.5; animation: wk-turn 2s linear infinite; }
@keyframes wk-turn { to { transform: rotate(360deg); } }
.wk-reel__cap {
  position: absolute; left: 0; right: 0; top: 66%;
  text-align: center;
  color: #3A2A24; font-size: .625rem; font-weight: 700; line-height: 1.5;
}
.wk-reel__btn {
  position: absolute; left: 12%; right: 12%; bottom: 7%;
  padding: 6px 0; border-radius: 0;
  background: var(--grad-brand-strong);
  color: var(--c-white); text-align: center;
  font-size: .625rem; font-weight: 700;
}
.wk--b .wk__chip { left: 8%; bottom: 16%; background: var(--c-white); color: var(--c-ink); animation-delay: -1.5s; }

/* ---------- 3. LP の画面 ---------- */
.card__media.wk--c { background: var(--c-paper); color: var(--c-text); }
.wk--c::before {
  background-image: radial-gradient(rgba(30, 31, 34, .14) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
}
.wk--c::after {
  background:
    radial-gradient(40% 40% at 80% 18%, color-mix(in srgb, var(--c-blue) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 14% 88%, color-mix(in srgb, var(--c-green) 22%, transparent), transparent 70%);
}
.wk--c .wk__no { -webkit-text-stroke-color: rgba(30, 31, 34, .14); }
.wk--c .wk__kind { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
.wk-lp { background: var(--c-white); }
.wk-lp__scroll { animation: wk-scroll 14s ease-in-out infinite; }
@keyframes wk-scroll { 0%, 12% { transform: translateY(0); } 50%, 62% { transform: translateY(-48%); } 100% { transform: translateY(0); } }
.wk-lp__hero {
  height: 74px; margin: 6px; border-radius: 0;
  background:
    radial-gradient(50% 60% at 80% 30%, rgba(255, 255, 255, .7), transparent 70%),
    linear-gradient(135deg, #CFE6FF, #D8F3EC);
  position: relative;
}
.wk-lp__hero::after {
  content: ""; position: absolute; left: 10px; top: 14px;
  width: 58%; height: 26px;
  background:
    linear-gradient(#1E1F22, #1E1F22) 0 0 / 100% 8px no-repeat,
    linear-gradient(#1E1F22, #1E1F22) 0 14px / 70% 8px no-repeat;
  border-radius: 0;
}
.wk-lp__line { height: 6px; margin: 8px 10px 0; border-radius: 0; background: var(--c-line); }
.wk-lp__line--s { width: 52%; }
.wk-lp__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 8px 0; }
.wk-lp__cards span { height: 44px; border-radius: 0; background: var(--c-paper); box-shadow: inset 0 0 0 1px var(--c-line); }
.wk-lp__photo { height: 58px; margin: 10px 8px 0; border-radius: 0; background: linear-gradient(135deg, #F7E3C8, #E8D2F0); }
/* 下に固定された3つの入口 */
.wk-lp__dock {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 6px 6px 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 -1px 0 var(--c-line);
}
.wk-lp__dock span {
  padding: 5px 0; border-radius: 0;
  color: var(--c-white); text-align: center;
  font-size: .5625rem; font-weight: 700; line-height: 1.2;
}
.wk-lp__dock span:nth-child(1) { background: var(--c-green-ink); }
.wk-lp__dock span:nth-child(2) { background: var(--c-blue-ink); }
.wk-lp__dock span:nth-child(3) { background: var(--c-ink); }
.wk--c .wk-phone { transform: translateY(8%) rotate(-4deg); }
.card:hover .wk--c .wk-phone { transform: translateY(4%) rotate(-1deg); }
.wk--c .wk__chip { right: 8%; top: 34%; animation-delay: -2.5s; }

/* ---------- 4. 映画風の画面（実写ドラマ） ---------- */
.wk--d::after {
  background:
    radial-gradient(36% 40% at 30% 30%, rgba(255, 170, 90, .45), transparent 70%),
    radial-gradient(36% 36% at 80% 80%, color-mix(in srgb, var(--c-blue) 40%, transparent), transparent 70%);
}
.wk-cine {
  position: relative; z-index: 2;
  width: 86%;
  aspect-ratio: 16 / 9;
  display: grid; align-items: center;
  border-radius: 0;
  background: #050607;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1);
  overflow: hidden;
  transition: transform .8s var(--ease);
}
.card:hover .wk-cine { transform: scale(1.03); }
.wk-cine__scene {
  position: relative;
  aspect-ratio: 2.39 / 1;
  /* 夕方の部屋の灯り */
  background:
    radial-gradient(18% 50% at 28% 40%, rgba(255, 196, 120, .95), transparent 70%),
    radial-gradient(40% 80% at 72% 70%, rgba(60, 70, 90, .9), transparent 70%),
    linear-gradient(180deg, #3B2B22, #1B1714);
  animation: wk-light 6s ease-in-out infinite;
}
/* 人の影 */
.wk-cine__scene::before, .wk-cine__scene::after {
  content: "";
  position: absolute; bottom: 0;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  background: #0D0B0A;
}
.wk-cine__scene::before { left: 52%; width: 16%; height: 74%; }
.wk-cine__scene::after { left: 70%; width: 13%; height: 62%; opacity: .9; }
@keyframes wk-light { 50% { filter: brightness(1.12); } }
.wk-cine__sub {
  position: absolute; left: 0; right: 0; bottom: 6%;
  text-align: center; color: #FFF6E5;
  font-size: clamp(.5625rem, .8vw, .6875rem); font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}
.wk--d .wk__chip { left: 8%; bottom: 12%; animation-delay: -1s; }

/* 動きを減らす設定の人には止める */
@media (prefers-reduced-motion: reduce) {
  .wk *, .wk *::before, .wk *::after, .wk::after { animation: none !important; transition: none !important; }
}
