/* ============================================================
   制作会社向けポートフォリオ v4（pro-v4.html 専用。v3 からの差分は末尾）2026-09-29
   色：墨・白・黒＋青1色（guidelines/kimura-works-brand.md）／文字：Inter・Noto Sans JP・JetBrains Mono
   組み方：区画ごとに変える。裁ち落としの黒い帯／帯からはみ出す要素／帯の縁にまたがる見出し／横に流れる見本／画面いっぱいの言葉
   動き：画面に入ったら1回だけ・短く。速い繰り返し・明滅は使わない
   ============================================================ */
.v {
  --ink: #111214; --ink2: #5b606a; --ink3: #9aa0aa; --line: #e3e5ea;
  --paper: #fff; --soft: #f2f3f5;
  --dk: #0b0b0c; --dk2: #141416; --dk3: #1b1c1f; --dk-line: rgba(255,255,255,.1); --dk-ink2: #b9bcc4; --dk-ink3: #7d818b;
  --blue: #e08a1e; --blue2: #f7c46b; --blue-soft: #eaf0ff;
  --w: min(1240px, calc(100% - 2 * var(--gutter)));
  --gap: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2,.8,.2,1);
  background: var(--soft); color: var(--ink); font-family: var(--f-sans); line-height: 1.7; overflow-x: clip;
}
.v :where(a) { color: inherit; }
.v :where(h1, h2, h3, h4, p, ol, ul, dl, dd, figure) { margin: 0; }
.v :where(ol, ul) { padding: 0; list-style: none; }
.v .lab { font: 600 12px var(--f-mono); letter-spacing: .12em; color: var(--blue); margin-bottom: 12px; }
.br-pc { display: none; } @media (min-width: 761px) { .br-pc { display: inline; } }
.nw { display: inline-block; white-space: nowrap; }
.v :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.in { width: var(--w); margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.kh { position: fixed; inset: 0 0 auto; z-index: 60; height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  color: #fff; transition: transform .5s var(--ease), background .3s, color .3s; }
.kh.is-solid { background: rgba(242,243,245,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); }
.kh.is-hide { transform: translateY(-100%); }
.kh__logo { font: 900 21px/1 var(--f-sans); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.kh__logo span { color: var(--blue2); margin-left: 6px; } .kh.is-solid .kh__logo span { color: var(--blue); }
.kh__nav { display: flex; gap: 28px; margin-left: auto; font-weight: 700; font-size: 15px; }
.kh__nav a { position: relative; text-decoration: none; opacity: .72; transition: opacity .25s; }
.kh__nav a:hover, .kh__nav a.is-on { opacity: 1; }
.kh__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.kh__nav a:hover::after, .kh__nav a.is-on::after { transform: scaleX(1); transform-origin: left; }
.kh__cta { text-decoration: none; background: #fff; color: var(--ink) !important; font-weight: 800; font-size: 15px; padding: 12px 22px; border-radius: 999px; white-space: nowrap; transition: background .3s, color .3s; }
.kh.is-solid .kh__cta { background: var(--ink); color: #fff !important; }
.kh__cta:hover { background: var(--blue) !important; color: #fff !important; }
.hd-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@media (max-width: 1140px) { .kh__nav { gap: 20px; font-size: 14px; } .kh__nav a:last-child { white-space: nowrap; } }
@media (max-width: 1000px) { .kh__nav { display: none; } .kh__cta { margin-left: auto; } }

/* ---------- 丸いボタン ---------- */
.pill { display: inline-flex; align-items: center; border: 0; cursor: pointer; text-decoration: none; font: 700 14px var(--f-sans);
  background: #fff; color: var(--ink); height: 48px; padding: 0 0 0 26px; border-radius: 999px; transition: background .3s, color .3s; white-space: nowrap; }
.pill i { font-style: normal; display: grid; place-items: center; width: 48px; height: 48px; margin-left: 18px; border-radius: 50%; overflow: hidden; background: inherit; box-shadow: -1px 0 0 rgba(0,0,0,.08); }
.pill i .ar { display: inline-block; }
.pill:hover i .ar { animation: kArrow .7s cubic-bezier(.7,0,.2,1); }
@keyframes kArrow { 0% { transform: translateX(0); } 45% { transform: translateX(180%); } 46% { transform: translateX(-180%); } 100% { transform: translateX(0); } }
.pill--dark { background: var(--ink); color: #fff; } .pill--dark i { box-shadow: -1px 0 0 rgba(255,255,255,.18); }
.pill--dark:hover { background: var(--blue); }
.pill--white { background: #fff; color: var(--ink); } .pill--white:hover { background: var(--blue); color: #fff; }
.pill--lg { height: 62px; font-size: clamp(15px, 2vw, 19px); padding-left: 32px; } .pill--lg i { width: 62px; height: 62px; }
.rl { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; vertical-align: middle; }
.rl > span { display: block; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.rl > span::after { content: attr(data-t); display: block; }
.pill:hover .rl > span, .kh__cta:hover .rl > span { transform: translateY(-50%); }

/* ---------- 入ってくる動き（1回だけ・短く。画面に入った要素はすぐ出す） ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.rv.is-in { opacity: 1; transform: none; }
.mr { clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.77,0,.18,1); }
.mr.is-in { clip-path: inset(0 0 0 0); }
.mr > img, .mr > video { transition: transform 1.4s var(--ease); }
.mr:not(.is-in) > img, .mr:not(.is-in) > video { transform: scale(1.08); }
.sp .ch { display: inline-block; overflow: visible; clip-path: inset(-.4em -.4em 0 -.4em); vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.sp .ch i { display: inline-block; font-style: normal; transform: translateY(112%); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.sp.is-in .ch i { transform: none; }
/* 生きている文字：出そろったら枠を外し、JSが位置を動かす */
.sp.is-live .ch { clip-path: none; }
.sp.is-live .ch i { transition: none; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .rv, .mr, .sp .ch i, .mr > * { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; } }

/* ---------- ページ自身が作りを注釈する小さなラベル ---------- */
.note { position: absolute; z-index: 3; font: 500 10.5px/1 var(--f-mono); letter-spacing: .06em; color: var(--blue2); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(-6px); transition: opacity .7s 1.4s, transform .9s 1.4s var(--ease); }
.is-in .note, .is-in > .note { opacity: 1; transform: none; }
@media (max-width: 1000px) { .note { display: none; } }

/* ---------- マウスの後を追う輪 ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cur.is-on { opacity: 1; }
.cur::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #fff; transition: transform .45s var(--ease), background .3s; }
.cur.is-link::before { transform: scale(1.6); background: #fff; }
.cur.is-label::before { transform: scale(2.6); }
.cur span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; font: 800 12px var(--f-sans); color: #000; white-space: nowrap; transition: opacity .3s, transform .45s var(--ease); }
.cur.is-label span { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cur-dot { position: fixed; left: -3px; top: -3px; z-index: 201; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); pointer-events: none; }
/* 開いた直後、マウスがまだ動いていないときに左上の角に出てしまうので隠す。
   JS が transform を付けた＝位置が決まった時点で見せる（2026-11-02） */
.cur-dot { opacity: 0; }
.cur-dot[style*="transform"] { opacity: 1; }
@media (pointer: coarse) { .cur, .cur-dot { display: none; } }

/* ---------- 共通：見出し・区切り ---------- */
.sec { margin-top: var(--gap); scroll-margin-top: 90px; }
.sh { margin-bottom: clamp(28px, 4vw, 44px); }
.sh__en { font: 800 clamp(48px, 7.4vw, 108px)/.92 var(--f-sans); letter-spacing: -.05em; color: #2a2b2f; }
.sh--dark .sh__en { color: #fff; }
.sh__ja { font-weight: 800; font-size: 15px; color: var(--blue); margin-top: 12px; }
.sh--dark .sh__ja { color: var(--blue2); }
.sh__lead { margin-top: 18px; color: #3b3e45; line-height: 1.9; max-width: 720px; font-size: 15.5px; }
.sh__lead b { color: var(--ink); }
.sh--dark .sh__lead { color: var(--dk-ink2); } .sh--dark .sh__lead b { color: #fff; }
.sh--tight { margin-top: 6px; }
/* 黒い帯の縁にまたがる見出し：白い文字を「差」で合成すると、明るい地では黒く、黒い帯では白く */
.sh__en--blend { position: relative; z-index: 2; color: #fff; mix-blend-mode: difference; margin-top: -.52em; }
/* 裁ち落としの黒い帯 */
.band { position: relative; background: var(--dk); color: #fff; margin-top: calc(var(--gap) + .5em); padding: 0 0 clamp(56px, 7vw, 96px); scroll-margin-top: 90px; }
.band > .in { display: flow-root; }
.band--pr { margin-top: var(--gap); padding-top: clamp(56px, 7vw, 96px); }
.mos-wrap + .band { margin-top: calc(24px + .5em); }

/* ============================================================
   一番上：裁ち落としの黒。見出しは写真の上に重なる。文字は生きている
   ============================================================ */
.hero { position: relative; background: var(--dk); color: #fff; min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; }
.hero__in { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 112px 0 40px; min-height: 100svh; }
.hero__photo { position: absolute; right: 0; top: 104px; width: 36%; aspect-ratio: 4 / 5; max-height: calc(100svh - 150px); border-radius: 28px; overflow: hidden; background: var(--dk3); z-index: 1; transform-style: preserve-3d; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.hero__cap span + span::before { content: " / "; white-space: pre; }
.hero__cap { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 4px 0; font: 600 10.5px var(--f-mono); letter-spacing: .16em; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,0.28); }
.hero__txt { position: relative; z-index: 2; max-width: 100%; }
.hero__kicker { font: 600 12px var(--f-mono); letter-spacing: .14em; color: var(--blue2); margin-bottom: 28px; }
.hero__ttl { position: relative; font-weight: 900; font-size: clamp(40px, 9.2vw, 136px); letter-spacing: -.045em; line-height: 1; white-space: nowrap; width: max-content; max-width: 100%; }
.hero__l { display: block; }
.hero__ttl em { font-style: normal; color: var(--blue2); font-variant-numeric: tabular-nums; }
.hero__hint { margin-top: 18px; font: 500 11px var(--f-mono); letter-spacing: .06em; color: var(--dk-ink3); }
.hero__lead { margin-top: 26px; color: var(--dk-ink2); line-height: 1.95; font-size: 15.5px; max-width: 600px; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__link { text-decoration: none; font-weight: 700; font-size: 14px; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.hero__link span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); font-size: 13px; transition: background .3s, border-color .3s, transform .5s var(--ease); }
.hero__link:hover span { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(3px); }
.hero__who { position: relative; z-index: 2; margin-top: clamp(44px, 7vh, 80px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; color: var(--dk-ink2); }
.hero__who b { font-size: 18px; color: #fff; font-weight: 900; letter-spacing: .02em; }
.hero__who span:not(.hero__monk) { font: 600 12px var(--f-mono); letter-spacing: .06em; color: var(--blue2); }
.hero__monk { position: relative; padding-left: 14px; }
.hero__monk::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: rgba(255,255,255,.3); transform: translateY(-50%); }

/* 黒からはみ出す白い帯 */
.glance { position: relative; z-index: 3; margin-top: -46px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 38px rgba(11,11,12,0.12); }
.glance > div { padding: 20px 24px; border-left: 1px solid var(--line); min-width: 0; }
.glance > div:first-child { border-left: 0; }
.glance dt { font: 600 11px var(--f-mono); letter-spacing: .12em; color: var(--blue); margin-bottom: 6px; }
.glance dd { font-size: 13.5px; font-weight: 600; line-height: 1.7; color: var(--ink); }
.glance dd b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.glance dd small { display: block; font-weight: 500; font-size: 12px; color: var(--ink2); }

/* ============================================================
   実績：裁ち落としの黒い舞台 → 白い面。スマホは黒からはみ出して白に落ちる
   ============================================================ */
.wk { margin-top: 28px; }
.wk:first-of-type { margin-top: 0; }
.wk__stage { position: relative; overflow-x: clip; overflow-y: visible; background: var(--dk2); color: #fff; padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 7vw, 96px); }
.wk--motion .wk__stage { background: var(--dk); }
.wk__stage > .in { position: relative; }
.wk__hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.wk__cat { font: 600 12px var(--f-mono); letter-spacing: .12em; color: var(--blue2); margin-bottom: 14px; }
.wk__ttl { font-weight: 900; font-size: clamp(32px, 5.6vw, 76px); letter-spacing: -.035em; line-height: 1.05; }
.wk__hd .pill { flex-shrink: 0; }
.dev { position: relative; padding-right: 12%; }
.wk--rev .dev { padding-right: 0; padding-left: 12%; }
.dev__pc { position: relative; border-radius: 12px 12px 0 0; overflow: hidden; background: #1e1f23; border: 1px solid rgba(255,255,255,.08); border-bottom: 0; box-shadow: 0 18px 38px rgba(0,0,0,0.28); }
.dev__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #2a2b30; }
.dev__bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4c54; }
.dev__bar span { margin-left: 10px; flex: 1; text-align: center; font: 500 10.5px var(--f-mono); letter-spacing: .04em; color: #9a9ea8; background: #1e1f23; border-radius: 12px; height: 18px; line-height: 18px; padding: 0 10px; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev__pc video { display: block; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: top; background: #fff; }
.dev__sp { position: absolute; right: 0; bottom: -26%; width: 21%; aspect-ratio: 390 / 844; border-radius: 28px; overflow: hidden; border: 6px solid #17181b; background: #17181b; box-shadow: 0 18px 38px rgba(0,0,0,0.28); z-index: 3; }
.wk--rev .dev__sp { right: auto; left: 0; }
.dev__sp::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 5px; border-radius: 5px; background: #17181b; z-index: 2; }
.dev__sp video { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; background: #fff; }
/* 幕：PC画面は下から、スマホは遅れて右下（左下）から滑り込む */
.dev.mr { clip-path: none; transition: none; }
.dev.mr .dev__pc { clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.77,0,.18,1); }
.dev.mr.is-in .dev__pc { clip-path: inset(0 0 0 0); }
.dev.mr .dev__pc video { transform: scale(1.06); transition: transform 1.4s var(--ease); } .dev.mr.is-in .dev__pc video { transform: none; }
.dev.mr .dev__sp { opacity: 0; transform: translate(36px, 48px) rotate(4deg); transition: opacity .6s .5s, transform 1s .5s var(--ease); }
.wk--rev .dev.mr .dev__sp { transform: translate(-36px, 48px) rotate(-4deg); }
.dev.mr.is-in .dev__sp { opacity: 1; transform: none; }
.dev__again { position: absolute; left: 0; bottom: -56px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.28); background: rgba(11,11,12,.6); backdrop-filter: blur(8px); color: #fff; font: 700 12px var(--f-sans); padding: 9px 14px; border-radius: 99px; cursor: pointer; transition: background .3s; }
.wk--rev .dev__again { left: auto; right: 0; }
.dev__again i { font-style: normal; font-size: 14px; }
.dev__again:hover { background: var(--blue); border-color: var(--blue); }
.dev__again[hidden] { display: none; }
.note--stage { right: 0; top: -28px; }
.wk__body { position: relative; background: #fff; border-radius: 0 0 28px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(36px, 4vw, 56px); }
.wk__body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.wk__main { padding-top: 0; }
.wk__pull { min-height: clamp(110px, 13vw, 190px); padding-right: clamp(190px, 21vw, 290px); display: flex; flex-direction: column; justify-content: flex-start; }
.wk__pull .lab { margin-bottom: 8px; }
.wk__pullTxt { font-weight: 900; font-size: clamp(22px, 2.1vw, 29px); letter-spacing: -.02em; line-height: 1.35; color: var(--ink); }
.wk--rev .wk__pull { padding-right: 0; padding-left: clamp(190px, 21vw, 290px); }
@media (min-width: 761px) { .wk__spec > .sp-only { display: none; } }
.wk__care { margin-top: 8px; }
.wk--rev .wk__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.wk--rev .wk__side { order: 2; } .wk--rev .wk__main { order: 1; }
.wk__spec { border-top: 1.5px solid var(--ink); }
.wk__spec > div { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.wk__spec dt { font: 600 12px/1.9 var(--f-mono); letter-spacing: .1em; color: var(--ink3); }
.wk__spec dd { font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.wk__spec dd a { text-decoration: none; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s cubic-bezier(.7,0,.2,1); }
.wk__spec dd a:hover { background-size: 100% 1px; }
.wk__think { margin-top: 32px; }
.wk__think p:not(.lab) { font-size: 16.5px; line-height: 1.95; font-weight: 500; color: var(--ink); }
.wk__care li { position: relative; padding: 15px 0 15px 30px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.85; color: #3b3e45; }
.wk__care li:last-child { border-bottom: 1px solid var(--line); }
.wk__care li::before { content: ""; position: absolute; left: 0; top: 27px; width: 16px; height: 1.5px; background: var(--blue); }
.more { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; border-radius: 12px; border: 1.5px solid var(--ink); text-decoration: none; transition: background .3s; }
.more span { font-size: 13px; color: var(--ink2); line-height: 1.7; } .more b { display: block; font-size: 17px; color: var(--ink); }
.more code { font-family: var(--f-mono); font-weight: 600; color: var(--ink); background: #e9ebef; padding: 1px 7px; border-radius: 5px; }
.more i { font-style: normal; font-size: 20px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); flex-shrink: 0; transition: background .3s, color .3s; }
.more:hover { background: var(--ink); } .more:hover span, .more:hover b, .more:hover i { color: #fff; } .more:hover i { border-color: #fff; } .more:hover code { background: #33363c; color: #fff; }

/* ============================================================
   動きの見本：縦に読むと横に流れる（PC）。スマホは縦に並ぶ
   ============================================================ */
.mos-wrap { position: relative; margin-top: var(--gap); scroll-margin-top: 0; }
.mos-sticky { position: relative; }
.mos__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 20px clamp(28px, 4vw, 56px); margin-bottom: 30px; }
.mos__head .sh__lead { margin-top: 0; }
.mos-track { display: flex; gap: 18px; }
.mo { position: relative; flex: 0 0 auto; width: clamp(300px, 35vw, 520px); aspect-ratio: 16 / 10; border: 0; border-radius: 12px; overflow: hidden; background: #1e1f23; cursor: pointer; padding: 0; text-align: left; text-decoration: none; color: #fff; }
.mo .of { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.mo > span { position: absolute; left: 12px; bottom: 12px; z-index: 2; font: 700 12px var(--f-sans); color: var(--ink); background: #fff; padding: 6px 12px; border-radius: 99px; }
.mo::after { content: "↗"; position: absolute; right: 12px; top: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 14px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--ease); }
.mo:hover::after, .mo:focus-visible::after { opacity: 1; transform: none; }
.mo--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px; background: var(--ink); }
.mo--end::after { content: "→"; opacity: 1; transform: none; }
.mo--end b { font: 800 clamp(56px, 6vw, 88px)/1 var(--f-sans); letter-spacing: -.04em; color: var(--blue2); }
.mo--end > span { position: static; background: none; color: #fff; padding: 0; margin-top: 12px; font-size: 14px; }
.mos__note { position: static; display: block; margin-top: 14px; color: var(--ink3); transition-delay: 0s; opacity: 1; transform: none; }
@media (min-width: 1001px) {
  .mos-wrap { height: 300vh; margin-top: var(--gap); }
  .mos-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .mos-track { width: max-content; padding-right: var(--gutter); will-change: transform; }
  .mos__note { width: var(--w); margin-inline: auto; }
}
@media (max-width: 1000px) {
  .mos-wrap + .band { margin-top: calc(var(--gap) + .5em); }
  .mos__head { grid-template-columns: 1fr; align-items: start; }
  .mos-track { flex-direction: column; width: var(--w); margin-inline: auto; }
  .mo { width: 100%; }
}

/* ============================================================
   サービス：黒い帯にカード、上に小さな図（コードで描く。画面に入ったら1回だけ動く）
   ============================================================ */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc__card { display: flex; flex-direction: column; background: #17181b; border: 1px solid var(--dk-line); border-radius: 28px; overflow: hidden; }
.svc__card--wide { grid-column: 1 / -1; flex-direction: row; }
.svc__card--wide .fig { flex: 0 0 52%; height: auto; min-height: 300px; }
.svc__card--wide .svc__txt { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.fig { position: relative; height: 250px; flex-shrink: 0; background: var(--dk); overflow: hidden; display: grid; place-items: center; padding: 24px; }
.fig__cap { position: absolute; left: 20px; bottom: 14px; font: 600 10.5px var(--f-mono); letter-spacing: .1em; color: var(--dk-ink3); }
.svc__txt { padding: 28px 32px 32px; }
.svc__txt h3 { font-weight: 900; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.01em; margin-bottom: 12px; }
.svc__txt p { color: var(--dk-ink2); font-size: 14.5px; line-height: 1.9; }
.svc__kw { margin-top: 16px !important; font: 600 11.5px var(--f-mono) !important; letter-spacing: .04em; color: var(--dk-ink3) !important; line-height: 1.8 !important; }
/* 図はゆっくり動き続ける（現行 pro.html と同じ「常に動いている」見せ方）。1周7〜9秒、消えるときもなめらか。速い繰り返し・明滅なし */
@keyframes figIn { 0%, 6% { opacity: 0; transform: translateY(8px); } 14%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(8px); } }
/* LP：ブラウザの窓の中でページが組み上がり、横にコードの行 */
.fig--lp { padding: 34px 32px 0; align-items: end; }
.win { position: relative; width: min(72%, 440px); margin-right: auto; background: #fff; border-radius: 12px 12px 0 0; overflow: hidden; margin-top: auto; transform: translateY(2px); }
.win__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: #eceef1; }
.win__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9ccd3; }
.win__bar span { margin-left: 10px; flex: 1; max-width: 200px; height: 12px; border-radius: 4px; background: #fff; }
.win__pg { padding: 14px 18px 0; }
.win__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.win__nav b { width: 46px; height: 8px; border-radius: 3px; background: var(--ink); }
.win__nav em { width: 22px; height: 5px; border-radius: 3px; background: #d5d8de; }
.win__nav em:first-of-type { margin-left: auto; }
.win__nav u { width: 40px; height: 12px; border-radius: 99px; background: var(--blue); }
.win__hero { position: relative; display: grid; grid-template-columns: 1fr 40%; gap: 6px 18px; align-items: start; padding: 4px 0 14px; }
.win__hero span { display: block; height: 8px; border-radius: 3px; background: var(--ink); }
.win__hero .t1 { width: 86%; height: 12px; } .win__hero .t2 { width: 64%; height: 12px; } .win__hero .t3 { width: 70%; height: 5px; background: #c9ccd3; margin-top: 6px; }
.win__hero .bt { width: 58px; height: 14px; border-radius: 99px; background: var(--blue); margin-top: 8px; }
.win__hero .im { grid-column: 2; grid-row: 1 / 5; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--blue-soft); }
.win__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 8px; }
.cd { padding: 8px; border-radius: 12px; background: #f2f3f5; display: grid; gap: 5px; }
.cd i { display: block; height: 22px; border-radius: 4px; background: #dfe2e8; }
.cd span { display: block; height: 4px; border-radius: 3px; background: #c9ccd3; width: 80%; } .cd span + span { width: 55%; }
.win__code { position: absolute; right: 24px; bottom: 28px; display: grid; gap: 6px; font: 500 10.5px/1 var(--f-mono); color: #fff; background: rgba(27,28,31,.92); border: 1px solid var(--dk-line); border-radius: 12px; padding: 12px 14px; }
.win__code .in2 { padding-left: 12px; color: var(--blue2); } .win__code .in3 { padding-left: 24px; color: var(--dk-ink2); }
.fig--lp .win__nav, .fig--lp .win__hero > *, .fig--lp .win__row > *, .win__code span { animation: figIn 8s ease-in-out infinite; animation-delay: var(--t, 0s); }
.fig--lp .win__nav { --t: 0s; } .fig--lp .win__hero .t1 { --t: .25s; } .fig--lp .win__hero .t2 { --t: .4s; } .fig--lp .win__hero .t3 { --t: .55s; } .fig--lp .win__hero .bt { --t: .7s; } .fig--lp .win__hero .im { --t: .5s; }
.fig--lp .win__row > :nth-child(1) { --t: .9s; } .fig--lp .win__row > :nth-child(2) { --t: 1.05s; } .fig--lp .win__row > :nth-child(3) { --t: 1.2s; }
.win__code span:nth-child(1) { --t: .3s; } .win__code span:nth-child(2) { --t: .7s; } .win__code span:nth-child(3) { --t: 1.1s; }
/* WordPress：管理画面。入力欄が上から埋まり、「公開」が青くなり、しばらくして戻る */
.adm { display: grid; grid-template-columns: 44px 1fr; width: min(100%, 300px); height: 192px; background: #fff; border-radius: 12px; overflow: hidden; color: var(--ink); }
.adm__side { background: #1e1f23; padding: 14px 0; display: grid; align-content: start; gap: 12px; justify-items: center; }
.adm__side i { width: 16px; height: 16px; border-radius: 5px; background: #3a3c44; } .adm__side i.on { background: var(--blue); }
.adm__main { padding: 14px 18px; display: grid; align-content: start; gap: 8px; }
.adm__main p { font-weight: 800; font-size: 13px; margin-bottom: 2px; }
.f { display: block; height: 20px; border-radius: 5px; border: 1px solid #d5d8de; background: #fff; position: relative; overflow: hidden; }
.f::after { content: ""; position: absolute; left: 8px; top: 50%; height: 5px; border-radius: 3px; background: var(--ink); transform: translateY(-50%); width: 0; }
@keyframes wpFill { 0%, 8% { width: 0; } 24%, 84% { width: var(--w, 60%); } 94%, 100% { width: 0; } }
@keyframes wpPub { 0%, 40% { background: #c9ccd3; } 48%, 84% { background: var(--blue); } 92%, 100% { background: #c9ccd3; } }
.f--t::after { --w: 60%; animation: wpFill 8s ease-in-out infinite; }
.f:not(.f--t):not(.f--img)::after { --w: 78%; animation: wpFill 8s ease-in-out infinite; animation-delay: .6s; }
.f--img { height: 34px; background: #f2f3f5; border-style: dashed; } .f--img::after { display: none; }
.adm__pub { justify-self: start; font-style: normal; font: 800 11px var(--f-sans); color: #fff; background: #c9ccd3; padding: 6px 14px; border-radius: 99px; margin-top: 2px; animation: wpPub 8s ease-in-out infinite; }
/* 改修：Before / After。仕切りがゆっくり右から中央へ、少し止まって、戻る */
.ba { position: relative; width: min(100%, 300px); height: 190px; border-radius: 12px; overflow: hidden; background: #fff; }
.ba__a, .ba__b { position: absolute; inset: 0; padding: 22px 20px; display: grid; align-content: start; gap: 8px; }
.ba__a { background: #e6e8ec; } .ba__b { background: #fff; animation: baClip 9s ease-in-out infinite; }
@keyframes baClip { 0%, 6% { clip-path: inset(0 0 0 100%); } 34%, 66% { clip-path: inset(0 0 0 50%); } 94%, 100% { clip-path: inset(0 0 0 100%); } }
@keyframes baBar { 0%, 6% { left: 100%; } 34%, 66% { left: 50%; } 94%, 100% { left: 100%; } }
.ba b { display: block; height: 14px; width: 55%; border-radius: 4px; background: #b9bcc4; } .ba__b b { background: var(--ink); width: 62%; }
.ba__a > span, .ba__b > span { display: block; height: 6px; width: 90%; border-radius: 3px; background: #c9ccd3; } .ba__b > span { background: #dfe2e8; }
.ba__a > span.w, .ba__b > span.w { width: 42%; height: 36px; display: inline-block; margin-right: 6%; border-radius: 12px; background: #d5d8de; } .ba__b > span.w { background: var(--blue-soft); }
.ba__b > span.w:first-of-type { background: var(--blue); }
.ba__bar { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: var(--ink); animation: baBar 9s ease-in-out infinite; }
.ba__bar em { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 11px/26px var(--f-sans); text-align: center; font-style: normal; }
.ba__l, .ba__r { position: absolute; bottom: 10px; text-decoration: none; font: 600 10px var(--f-mono); letter-spacing: .08em; padding: 3px 8px; border-radius: 99px; }
.ba__l { left: 10px; background: #fff; color: var(--ink2); } .ba__r { right: 10px; background: var(--ink); color: #fff; }
/* ディレクション：サイトマップの線が引かれ、箱が順に現れ、また消える */
.fig--dir { padding: 20px 24px 34px; }
.tree { width: min(100%, 320px); height: auto; display: block; }
@keyframes treeLn { 0%, 5% { stroke-dashoffset: 700; } 30%, 82% { stroke-dashoffset: 0; } 94%, 100% { stroke-dashoffset: 700; } }
@keyframes treeNd { 0%, 4% { opacity: 0; transform: translateY(6px); } 12%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(6px); } }
.tree__ln path { fill: none; stroke: var(--blue2); stroke-width: 1.5; stroke-dasharray: 700; stroke-dashoffset: 700; animation: treeLn 9s ease-in-out infinite; }
.tree__nd rect { fill: #24262b; stroke: rgba(255,255,255,.14); stroke-width: 1; opacity: 0; animation: treeNd 9s ease-in-out infinite; animation-delay: var(--t, 0s); }
.tree__nd rect.top { fill: #fff; }
.tree__lb text { font: 700 12px var(--f-sans); fill: #fff; text-anchor: middle; opacity: 0; animation: treeNd 9s ease-in-out infinite; animation-delay: var(--t, 0s); }
.tree__lb text:first-child { fill: var(--ink); }
.tree__nd rect:nth-child(1), .tree__lb text:nth-child(1) { --t: 0s; }
.tree__nd rect:nth-child(2), .tree__lb text:nth-child(2) { --t: .9s; } .tree__nd rect:nth-child(3), .tree__lb text:nth-child(3) { --t: 1.05s; } .tree__nd rect:nth-child(4), .tree__lb text:nth-child(4) { --t: 1.2s; }
.tree__nd rect:nth-child(n+5) { --t: 1.8s; }
/* マーケ：レポートの棒が順に伸び、しばらくして戻る */
.fig--mk { padding: 20px 24px 34px; }
.rep { width: min(100%, 300px); background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 16px 12px; }
.rep__hd { display: flex; justify-content: space-between; align-items: baseline; font: 600 11px var(--f-mono); letter-spacing: .06em; color: var(--ink2); }
.rep__hd em { font: 800 16px var(--f-sans); letter-spacing: -.02em; color: var(--blue); font-style: normal; }
.rep__chart { display: flex; align-items: end; gap: 8px; height: 96px; margin-top: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
@keyframes barUp { 0%, 4% { transform: scaleY(0); } 18%, 82% { transform: none; } 94%, 100% { transform: scaleY(0); } }
.rep__chart i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: #dfe2e8; transform: scaleY(0); transform-origin: bottom; animation: barUp 8s ease-in-out infinite; animation-delay: var(--t, 0s); }
.rep__chart i:last-child { background: var(--blue); }
.rep__chart i:nth-child(1) { --t: 0s; } .rep__chart i:nth-child(2) { --t: .12s; } .rep__chart i:nth-child(3) { --t: .24s; } .rep__chart i:nth-child(4) { --t: .36s; } .rep__chart i:nth-child(5) { --t: .48s; } .rep__chart i:nth-child(6) { --t: .6s; } .rep__chart i:nth-child(7) { --t: .72s; }
.rep__ft { display: flex; justify-content: space-between; margin-top: 8px; font: 600 9.5px var(--f-mono); letter-spacing: .06em; color: var(--ink3); }
@media (prefers-reduced-motion: reduce) { .fig *, .fig *::after { animation: none !important; opacity: 1 !important; transform: none !important; } .ba__b { clip-path: inset(0 0 0 50%); } .ba__bar { left: 50%; } .tree__ln path { stroke-dashoffset: 0; } .f--t::after { width: 60%; } .f:not(.f--t):not(.f--img)::after { width: 78%; } .adm__pub { background: var(--blue); } }

/* ============================================================
   進め方：黒の続き。3本の柱（上流・制作・公開後）に縦の線。動画は黒からはみ出す
   ============================================================ */
.process { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--dk-line); scroll-margin-top: 90px; }
.flow { position: relative; }
.flow__lg { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--dk-ink2); margin-bottom: 30px; }
.flow__lg span { display: inline-flex; align-items: center; gap: 8px; }
.flow__lg i { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.flow__lg i.team { background: transparent; border: 2px solid var(--blue2); box-sizing: border-box; }
.note--flow { right: 0; top: 4px; }
.flow__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.flow__grp { position: relative; padding: 26px 28px 30px; border-radius: 12px; background: #141416; border: 1px solid var(--dk-line); }
.flow__gh { display: flex; align-items: baseline; gap: 12px; font: 800 22px var(--f-sans); letter-spacing: -.01em; margin-bottom: 22px; }
.flow__gh small { font: 500 13px var(--f-sans); color: var(--dk-ink3); }
.flow__grp ol { position: relative; padding-left: 30px; }
.flow__grp ol::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--dk-line); }
.flow__grp ol::after { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--blue2); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease); }
.flow__grp:nth-child(2) ol::after { transition-delay: .5s; } .flow__grp:nth-child(3) ol::after { transition-delay: 1s; }
.is-in .flow__grp ol::after { transform: none; }
.flow__grp li { position: relative; padding: 0 0 22px; }
.flow__grp li:last-child { padding-bottom: 0; }
.flow__grp li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); border: 2px solid var(--blue); box-sizing: border-box; transform: scale(0); transition: transform .5s var(--ease); }
.flow__grp li.team::before { background: #141416; border-color: var(--blue2); }
.is-in .flow__grp li::before { transform: none; }
.is-in .flow__grp:nth-child(1) li:nth-child(1)::before { transition-delay: .15s; } .is-in .flow__grp:nth-child(1) li:nth-child(2)::before { transition-delay: .4s; } .is-in .flow__grp:nth-child(1) li:nth-child(3)::before { transition-delay: .65s; }
.is-in .flow__grp:nth-child(2) li:nth-child(1)::before { transition-delay: .65s; } .is-in .flow__grp:nth-child(2) li:nth-child(2)::before { transition-delay: .9s; } .is-in .flow__grp:nth-child(2) li:nth-child(3)::before { transition-delay: 1.15s; } .is-in .flow__grp:nth-child(2) li:nth-child(4)::before { transition-delay: 1.4s; }
.is-in .flow__grp:nth-child(3) li:nth-child(1)::before { transition-delay: 1.15s; } .is-in .flow__grp:nth-child(3) li:nth-child(2)::before { transition-delay: 1.4s; } .is-in .flow__grp:nth-child(3) li:nth-child(3)::before { transition-delay: 1.65s; }
.flow__grp b { display: block; font-weight: 800; font-size: 17px; line-height: 1.45; }
.flow__grp small { display: block; margin-top: 4px; font-size: 13px; color: var(--dk-ink3); line-height: 1.7; }
.flow__grp li.team b { color: var(--blue2); } .flow__grp li.team small { color: var(--blue2); opacity: .85; }
/* 動画：黒い帯の下の縁からはみ出して、次の面に半分落ちる */
.reel-wrap { margin-top: clamp(40px, 5vw, 64px); margin-bottom: calc(-1 * clamp(56px, 7vw, 96px) - clamp(120px, 16vw, 220px)); position: relative; z-index: 2; }
.reel { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 18px 38px rgba(11,11,12,0.28); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__btn { position: absolute; right: 16px; bottom: 16px; height: 44px; font-size: 13px; padding-left: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.reel__btn i { width: 44px; height: 44px; margin-left: 12px; }
.reel__cap { margin-top: 14px; font-size: 13.5px; color: var(--ink2); line-height: 1.8; }

/* ============================================================
   強み：画面いっぱいの言葉。左に写真を固定
   ============================================================ */
.sec--st { padding-top: clamp(120px, 16vw, 220px); margin-top: clamp(56px, 7vw, 96px); }
.st__big { font-weight: 900; font-size: clamp(30px, 5.4vw, 74px); letter-spacing: -.035em; line-height: 1.15; margin: -8px 0 clamp(36px, 5vw, 64px); max-width: 1100px; }
.st { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.st__vis { position: sticky; top: 92px; border-radius: 28px; overflow: hidden; background: var(--dk3); aspect-ratio: 4 / 5; max-height: calc(100vh - 120px); }
.st__vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.st__cap { position: absolute; left: 22px; bottom: 18px; font: 600 11px var(--f-mono); letter-spacing: .16em; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,0.28); }
.st__lead { font-size: 16.5px; line-height: 1.95; color: #3b3e45; max-width: 640px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.st__list li { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.st__list h4 { font-weight: 900; font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.st__list p { font-size: 14.5px; line-height: 1.9; color: #3b3e45; }
.st__link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 13px; color: var(--blue); }
.st__mini { width: 200px; min-height: 124px; border-radius: 12px; background: #fff; padding: 14px; font-size: 11px; color: var(--ink); overflow: hidden; }
.st__mini--sheet { display: grid; gap: 5px; align-content: start; }
.st__mini--sheet p { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 12px; padding: 4px 8px; font-weight: 700; }
.st__mini--sheet em { font-style: normal; white-space: nowrap; font: 600 8.5px var(--f-mono); color: #fff; background: var(--blue); padding: 2px 6px; border-radius: 99px; opacity: 0; transition: opacity .4s; }
.is-in .st__mini--sheet p:nth-child(1) em { opacity: 1; transition-delay: .3s; } .is-in .st__mini--sheet p:nth-child(2) em { opacity: 1; transition-delay: .6s; }
.st__mini--sheet p:nth-child(3) em { background: #fff; color: var(--ink2); border: 1px solid var(--line); } .is-in .st__mini--sheet p:nth-child(3) em { opacity: 1; transition-delay: .9s; }
.st__mini--week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; align-content: start; }
.st__mini--week span { text-align: center; font-weight: 800; font-size: 10.5px; padding: 8px 0; border-radius: 5px; background: var(--blue); color: #fff; }
.st__mini--week span.we { background: var(--ink); }
.st__mini--week p { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 9px var(--f-mono); color: var(--ink2); }
.st__mini--week p i { flex: 1; height: 4px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.st__mini--week p i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.is-in .st__mini--week p i::after { transform: none; }
.st__mini--check { display: grid; gap: 7px; align-content: start; }
.st__mini--check p { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.st__mini--check i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--blue); position: relative; flex-shrink: 0; transition: background .3s; }
.st__mini--check i::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: 0; }
.is-in .st__mini--check p i { background: var(--blue); } .is-in .st__mini--check p i::after { opacity: 1; }
.is-in .st__mini--check p:nth-child(1) i { transition-delay: .2s; } .is-in .st__mini--check p:nth-child(2) i { transition-delay: .45s; } .is-in .st__mini--check p:nth-child(3) i { transition-delay: .7s; } .is-in .st__mini--check p:nth-child(4) i { transition-delay: .95s; }
.st__mini--flow { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 14px 10px; }
.st__mini--flow span { font-weight: 800; font-size: 10px; padding: 6px 5px; flex-shrink: 0; border-radius: 12px; border: 1.5px solid var(--ink); white-space: nowrap; }
.st__mini--flow i { flex: 1; height: 1.5px; background: var(--line); position: relative; overflow: hidden; min-width: 6px; }
.st__mini--flow i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.is-in .st__mini--flow i::after { transform: none; }
.is-in .st__mini--flow i:nth-of-type(1)::after { transition-delay: .2s; } .is-in .st__mini--flow i:nth-of-type(2)::after { transition-delay: .6s; } .is-in .st__mini--flow i:nth-of-type(3)::after { transition-delay: 1s; }
.st__mini--line { padding: 14px; height: 124px; }
.st__mini--line svg { width: 100%; height: 100%; display: block; }
.st__mini--line .ar { fill: var(--blue-soft); opacity: 0; transition: opacity .8s .8s; }
.st__mini--line .ln { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.is-in .st__mini--line .ln { stroke-dashoffset: 0; } .is-in .st__mini--line .ar { opacity: 1; }

/* ============================================================
   料金：左に見出しを固定、右に大きな数字
   ============================================================ */
.pr-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pr-grid__head { position: static; }
.pr-grid__head .sh { margin-bottom: 0; }
.pr { position: relative; border-top: 1px solid var(--dk-line); }
.note--pr { right: 0; top: -26px; }
.pr__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--dk-line); }
.pr__row dt { font-weight: 800; font-size: 18px; }
.pr__row dt small { display: block; font: 500 12.5px var(--f-sans); color: var(--dk-ink3); margin-top: 3px; }
.pr__row dd { text-align: right; white-space: nowrap; }
.pr__row dd b { font: 800 clamp(32px, 3.6vw, 48px)/1 var(--f-sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pr__row dd b em { font-style: normal; font-size: .55em; margin: 0 .1em; color: var(--dk-ink2); }
.pr__row dd span { font-weight: 700; font-size: 14px; color: var(--dk-ink2); margin-left: 6px; }
.pr__row--main dt { font-size: clamp(20px, 2vw, 26px); }
.pr__row--main dd b { font-size: clamp(44px, 5.6vw, 80px); color: var(--blue2); }

/* ============================================================
   略歴
   ============================================================ */
.quote { font-weight: 900; font-size: clamp(30px, 5vw, 68px); letter-spacing: -.03em; line-height: 1.2; margin: -8px 0 clamp(32px, 4vw, 48px); }
.quote em { font-style: normal; color: var(--blue); display: block; }
.quote__sub { color: #3b3e45; line-height: 1.9; font-size: 15.5px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.yr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.yr__fix { position: sticky; top: 92px; }
.yr__num { position: relative; height: clamp(90px, 11vw, 150px); overflow: hidden; margin-bottom: 18px; }
.yr__num span { position: absolute; left: 0; top: 0; font: 800 clamp(84px, 11vw, 150px)/1 var(--f-sans); letter-spacing: -.06em; color: var(--ink); font-variant-numeric: tabular-nums; transform: translateY(105%); transition: transform .8s cubic-bezier(.7,0,.2,1), opacity .5s; opacity: 0; }
.yr__num span.is-on { transform: none; opacity: 1; }
.yr__num span.is-out { transform: translateY(-105%); opacity: 0; }
.note--yr { position: static; display: block; margin-top: 12px; color: var(--ink3); opacity: 1; transform: none; transition-delay: 0s; }
.yr__list { padding-top: clamp(20px, 3vw, 40px); }
.yr__it { min-height: 42vh; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.yr__it:first-child { border-top: 0; padding-top: 0; min-height: 32vh; }
.yr__it b { display: block; font: 600 13px var(--f-mono); letter-spacing: .1em; color: var(--blue); margin-bottom: 12px; }
.yr__it h3 { font-weight: 900; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.01em; line-height: 1.35; margin-bottom: 12px; color: #b0b4bc; transition: color .5s; }
.yr__it p { font-size: 15px; line-height: 1.9; color: #b0b4bc; max-width: 480px; transition: color .5s; }
.yr__it.is-on h3 { color: var(--ink); } .yr__it.is-on p { color: #3b3e45; }
.prof { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.prof__movie { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.prof__movie video { width: 100%; height: 100%; object-fit: cover; display: block; }
.snd { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink); font: 800 13px var(--f-sans); padding: 11px 16px; border-radius: 99px; transition: background .3s, color .3s; }
.snd__ic { width: 18px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><path d='M1 6h4l6-5v16l-6-5H1z'/><path d='M15 5a5 5 0 0 1 0 8M18 2a9 9 0 0 1 0 14' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><path d='M1 6h4l6-5v16l-6-5H1z'/><path d='M15 5a5 5 0 0 1 0 8M18 2a9 9 0 0 1 0 14' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") center / contain no-repeat; }
.snd[aria-pressed="true"] { background: var(--blue); color: #fff; }
.tl li { position: relative; padding: 0 0 24px 30px; border-left: 2px solid var(--line); margin-left: 6px; font-weight: 700; font-size: 15.5px; }
.tl li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.tl li:last-child { padding-bottom: 0; }
.tl b { display: block; font: 600 13px var(--f-mono); color: var(--blue); letter-spacing: .06em; margin-bottom: 4px; }
.tl small { display: block; font-weight: 500; font-size: 13px; color: var(--ink2); margin-top: 2px; }

/* ============================================================
   お問い合わせ：ページの締め。画面いっぱいのメールアドレス
   ============================================================ */
.ct { margin-top: var(--gap); background: var(--dk); color: #fff; padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 8vw, 100px); min-height: 92svh; display: flex; align-items: center; scroll-margin-top: 0; }
.ct__k { font: 600 12px var(--f-mono); letter-spacing: .14em; color: var(--blue2); margin-bottom: 22px; }
.ct__lead { font-size: clamp(15px, 1.4vw, 18px); line-height: 1.9; color: var(--dk-ink2); max-width: 720px; }
.ct__mail { display: block; width: 100%; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; }
.ct__mailTxt { display: block; font: 800 clamp(30px, 6.5vw, 100px)/1 var(--f-sans); letter-spacing: -.05em; white-space: nowrap; width: max-content; max-width: 100%; }
.ct__copy { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 600 12px var(--f-mono); letter-spacing: .1em; color: var(--dk-ink3); border: 1px solid var(--dk-line); padding: 8px 14px; border-radius: 99px; transition: color .3s, border-color .3s, background .3s; }
.ct__copy i { font-style: normal; font-size: 14px; }
.ct__mail:hover .ct__copy { color: #fff; border-color: #fff; }
.ct__mail.is-done .ct__copy { background: var(--blue); border-color: var(--blue); color: #fff; }
.ct__toast { height: 22px; margin-top: 10px; font: 600 12.5px var(--f-mono); letter-spacing: .08em; color: var(--blue2); opacity: 0; transition: opacity .3s; }
.ct__toast.is-on { opacity: 1; }
.ct__row { display: grid; grid-template-columns: auto 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--dk-line); }
.ct__send { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.ct__send li { position: relative; padding-left: 20px; font-weight: 700; font-size: 14px; }
.ct__send li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 3px; background: var(--blue); }
.ct__send li:first-child { padding-left: 0; flex-basis: 100%; font: 600 12px var(--f-mono); letter-spacing: .1em; color: var(--dk-ink3); } .ct__send li:first-child::before { display: none; }
.ct__send small { display: block; font-weight: 500; font-size: 12px; color: #8b8f98; }
.ct__note { margin-top: 26px; font-size: 13px; color: var(--dk-ink3); }
.kf { background: var(--dk); color: var(--dk-ink3); padding: 26px var(--gutter) 34px; text-align: center; font-size: 12px; border-top: 1px solid var(--dk-line); }
.kf p { margin: 0; }

/* ---------- 大きく見るための窓 ---------- */
.kmodal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; }
.kmodal[hidden] { display: none; }
.kmodal__box { width: min(1200px, 100%); border-radius: 12px; overflow: hidden; background: #111; }
.kmodal__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; color: #fff; font: 600 14px var(--f-sans); }
.kmodal__bar button { font-size: 26px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
.kmodal__stage { position: relative; aspect-ratio: 16 / 9; background: #000; }
.kmodal__stage video, .kmodal__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   タブレット・スマホ
   ============================================================ */
@media (max-width: 1100px) {
  .flow__track { grid-template-columns: 1fr; gap: 16px; }
  .flow__grp:nth-child(2) ol::after { transition-delay: .3s; } .flow__grp:nth-child(3) ol::after { transition-delay: .6s; }
  .is-in .flow__grp li::before { transition-delay: .25s !important; }
  .pr-grid { grid-template-columns: 1fr; } .pr-grid__head { position: static; } .pr-grid__head .sh { margin-bottom: 8px; }
}
@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero__in { min-height: 0; padding: 96px 0 40px; }
  .hero__photo { position: relative; top: auto; right: auto; width: 100%; max-height: none; aspect-ratio: 4 / 3; margin-bottom: 28px; }
  .hero__photo img { object-position: 50% 26%; }
  .hero__ttl { white-space: normal; width: auto; font-size: clamp(38px, 9.4vw, 72px); }
  .hero__hint { display: none; }
  .glance { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .glance > div:nth-child(3) { border-left: 0; } .glance > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .wk__main { padding-top: 0; }
  .dev__sp { bottom: -12%; }
  .wk__stage { padding-bottom: clamp(72px, 12vw, 110px); }
  .svc { grid-template-columns: 1fr; }
  .svc__card--wide { flex-direction: column; } .svc__card--wide .fig { flex-basis: auto; min-height: 0; height: 280px; }
  .st { grid-template-columns: 1fr; }
  .st__vis { position: relative; top: auto; aspect-ratio: 16 / 10; max-height: none; }
  .st__vis img { object-position: 50% 22%; }
  .prof { grid-template-columns: 1fr; }
  .yr { grid-template-columns: 1fr; }
  .yr__fix { position: static; }
  .yr__num, .note--yr { display: none; }
  .yr__list { padding-top: 8px; }
  .yr__it { min-height: 0; padding: 26px 0; justify-content: flex-start; }
  .yr__it:first-child { min-height: 0; padding-top: 26px; border-top: 1px solid var(--line); }
  .yr__it b { font: 800 40px/1 var(--f-sans); letter-spacing: -.04em; color: var(--ink); margin-bottom: 10px; }
  .yr__it h3, .yr__it p { color: var(--ink); } .yr__it p { color: #3b3e45; }
  .ct__row { grid-template-columns: 1fr; }
  .ct { min-height: 0; }
}
@media (max-width: 760px) {
  .kh { gap: 14px; height: 64px; } .kh__logo { font-size: 19px; } .kh__cta { font-size: 14px; padding: 10px 16px; }
  .hero__in { padding-top: 88px; }
  .hero__ttl { font-size: clamp(34px, 10.5vw, 48px); }
  .hero__cta .pill .rl { max-width: calc(100vw - 2 * var(--gutter) - 130px); overflow: hidden; text-overflow: ellipsis; }
  .glance { grid-template-columns: 1fr; margin-top: -24px; }
  .glance > div { border-left: 0 !important; border-top: 1px solid var(--line); } .glance > div:first-child { border-top: 0; }
  .sh__en { font-size: clamp(44px, 14vw, 64px); }
  .sh__en--blend { margin-top: 0; mix-blend-mode: normal; color: #fff; }
  .band { margin-top: var(--gap); padding-top: clamp(48px, 10vw, 64px); }
  .mos-wrap + .band { margin-top: var(--gap); }
  .wk__pull { display: none; }
  .hero__cap span + span::before { content: ""; } .hero__cap span { flex-basis: 100%; }
  .wk__hd { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wk__ttl { font-size: clamp(28px, 8vw, 40px); }
  .dev { padding-right: 16%; } .wk--rev .dev { padding-left: 16%; padding-right: 0; }
  .dev__sp { width: 27%; bottom: -10%; border-width: 3px; border-radius: 12px; }
  .dev__bar { height: 22px; gap: 4px; padding: 0 8px; } .dev__bar i { width: 6px; height: 6px; } .dev__bar span { font-size: 8px; height: 14px; line-height: 14px; }
  .dev__again { bottom: -40px; font-size: 11px; padding: 7px 12px; }
  .wk__body { grid-template-columns: 1fr; gap: 26px; padding: 30px 18px 32px; border-radius: 0 0 12px 12px; }
  .wk--rev .wk__body { grid-template-columns: 1fr; } .wk--rev .wk__side { order: 1; } .wk--rev .wk__main { order: 2; }
  .wk__spec > div { grid-template-columns: 60px 1fr; }
  .more { padding: 18px 20px; }
  .fig { height: 240px; padding: 18px; }
  .fig--mk, .fig--dir { padding-bottom: 36px; } .rep__chart { height: 72px; } .rep { padding: 12px 14px 10px; }
  .svc__card--wide .fig { height: 240px; }
  .fig--lp { padding: 22px 18px 0; } .win { width: 100%; }
  .win__code { display: none; }
  .svc__txt { padding: 22px 20px 26px; }
  .flow__grp { padding: 22px 20px 24px; }
  .reel-wrap { margin-bottom: calc(-1 * clamp(56px, 7vw, 96px) - 70px); }
  .sec--st { padding-top: 100px; }
  .reel__btn { height: 36px; font-size: 12px; padding-left: 14px; right: 10px; bottom: 10px; } .reel__btn i { width: 36px; height: 36px; margin-left: 8px; }
  .st__list li { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .st__mini { width: 100%; max-width: 220px; }
  .pr__row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 0; }
  .pr__row dd { text-align: left; }
  .ct__mailTxt { white-space: nowrap; width: auto; font-size: clamp(22px, 6.9vw, 30px); letter-spacing: -.045em; line-height: 1.1; }
  .ct .pill--lg { height: 54px; font-size: 14px; padding-left: 20px; } .ct .pill--lg i { width: 54px; height: 54px; margin-left: 10px; }
  .kmodal { padding: 12px; }
}

/* ============================================================
   2026-09-29 木村さん「実績同士がくっついて見にくい」
   → 1作品＝1つの角丸の箱（黒い舞台と白い説明を同じ枠に）。作品と作品の間を大きく空ける
   ============================================================ */
.wk { width: var(--w); margin: clamp(110px, 11vw, 150px) auto 0; border-radius: 28px; overflow: clip; background: #fff; box-shadow: 0 1px 2px rgba(11,11,12,.04), 0 18px 38px rgba(11,11,12,0.06); }
.wk:first-of-type { margin-top: 0; }
.wk__stage > .in { width: auto; padding-inline: clamp(28px, 4.5vw, 64px); }
.wk > .wk__body { width: auto; border-radius: 0; }
.more { margin-top: clamp(64px, 7vw, 96px); }
@media (max-width: 760px) {
  .wk { margin-top: 90px; border-radius: 12px; }
  .wk:first-of-type { margin-top: 0; }
  .wk__stage > .in { padding-inline: 18px; }
  .more { margin-top: 56px; }
}

/* 2026-09-29 木村さん「見切れてない？」（強みの小さな図）
   → ブラウザの最小フォントサイズ等で文字が大きくなると、11px 前提の図が枠からはみ出していた。
     文字は 12px 以上に、枠は中身に合わせて伸びる・流れ図は折り返せる作りに */
.st__list li { grid-template-columns: 230px 1fr; }
.st__mini { width: 230px; min-height: 124px; height: auto; overflow: visible; font-size: 12px; }
.st__mini--sheet em { font-size: 10px; padding: 2px 7px; }
.st__mini--week span { font-size: 12px; }
.st__mini--week p { font-size: 10px; }
.st__mini--flow { flex-wrap: wrap; justify-content: center; align-content: center; row-gap: 8px; column-gap: 4px; }
.st__mini--flow span { font-size: 12px; padding: 6px 7px; }
.st__mini--flow i { flex: 0 0 12px; min-width: 12px; }
@media (max-width: 760px) {
  .st__list li { grid-template-columns: 1fr; }
  .st__mini { width: 100%; max-width: 260px; }
}

/* 2026-09-29 木村さん「スマホの時にハンバーガー押したら若干右にカクっとなる」
   → メニューを開くとスクロールを止める（html.is-menu { overflow: hidden }）ため、スクロールバーの幅だけ中身が右へずれていた。スクロールバーの場所を常に確保する */
html { scrollbar-gutter: stable; }

/* 2026-09-29 最初の画面：AIっぽい型（等幅の英字・巨大な数字・写真の上の英字）をやめ、本人のあいさつに */
.hero__hello { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; color: var(--dk-ink2); margin-bottom: 18px; }
.hero__ttl2 { font-weight: 900; font-size: clamp(34px, 5vw, 72px); line-height: 1.3; letter-spacing: -.01em; max-width: 60%; }
.hero__who span:not(.hero__monk) { font: 700 13px var(--f-sans); letter-spacing: 0; color: var(--dk-ink2); }
@media (max-width: 900px) { .hero__ttl2 { max-width: none; font-size: clamp(30px, 8.4vw, 48px); } }

/* 2026-10-24 たなはるさん #9「具体的な返信目安（24時間以内など）が書けると、より相談しやすい」 */
.contact__reply{display:inline-block;margin-top:8px;font-weight:800;color:#fff;border-bottom:2px solid #e08a1e;padding-bottom:2px}

/* .cur は画面左上に貼りついて動かない（transform が効いていない）。
   マウスを追う飾りのつもりが、ただの白い弧として残り続けるので消す。
   オレンジの点（.cur-dot）は正しく動いているので残す（2026-11-02） */
.cur { display: none !important; }

/* 2026-11-07 フッターに所在地・電話・メールを1行で足した（地域検索のため。木村さんの判断で番地は出さない）。
   .kf__copy の真上。既存の余白は動かさず、この行の分だけ下に 10px 空ける。
   ※ 親の .kf でくくっているのは、pro.css の「.k p」リセット（詳細度 0,1,1）が
   　 「.kf__nap」（0,1,0）に勝って margin を 0 に潰すため（2026-11-07 実際に潰れた） */
.kf .kf__nap { margin: 0 0 10px; font-size: 13px; color: #9aa0a8; line-height: 1.7; }
.kf .kf__nap a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.22); }
.kf .kf__nap a:hover { color: #fff; border-bottom-color: #fff; }
.kf__sep { opacity: .45; padding: 0 .6em; }
@media (max-width: 600px) { .kf__nap .kf__sep { display: block; height: 0; overflow: hidden; padding: 0; } }
