/* ==========================================================
   トップページ
   ========================================================== */

/* ---------- 基本 ---------- */
:root {
  --ink: #0a1232;
  --paper: #f2f4f8;
  --white: #ffffff;
  --tx: #10142e;
  --tx2: #3b4060;
  --on2: #dfe3f0;
  --violet: #6a1bff;
  --rule: #d3d8e4;
  --rule-d: #2a3566;
  --gut: clamp(24px, 4.4vw, 84px);
  --u: min(1vw, 1.6vh);
  --en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --min: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wipe: cubic-bezier(.7, 0, .2, 1);
  --fluid:
    linear-gradient(to top, #0a1232 16%, rgba(10, 18, 50, 0) 66%),
    radial-gradient(60% 70% at 16% 18%, #6a1bff 0, rgba(106, 27, 255, 0) 70%),
    radial-gradient(50% 60% at 60% 8%, #ea12e8 0, rgba(234, 18, 232, 0) 70%),
    radial-gradient(45% 55% at 88% 44%, #27c8f0 0, rgba(39, 200, 240, 0) 70%),
    #5b3fe6;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--tx);
  font-family: var(--jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
main { position: relative; display: block; }

.nb { white-space: nowrap; }
.hero__h1, .st__h2, .st__tx h3, .ct__h2, .ct__tx, .mf__sub, .wk__ttl, .fl__step h3, .sh__jp h2, .bz__catch, .bz__name { white-space: nowrap; }
.mincho { font-family: var(--min); font-weight: 800; }
.grad {
  color: #fff;
  background: linear-gradient(100deg, #27e3ff 0%, #8c9cf2 30%, #ea12e8 62%, #f59ad4 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.motion .grad { animation: gradmove 9s ease-in-out infinite alternate; }
@keyframes gradmove { to { background-position: 100% 0; } }

/* ---------- 流体の背景（WebGL）と幕 ---------- */
.gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
html.no-gl .gl { display: none; }
main, .ft { position: relative; z-index: 2; }

.curtain { display: none; }
html.motion .curtain {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s var(--wipe);
}
html.motion.is-open .curtain { clip-path: inset(0 0 100% 0); }

/* ---------- 一文字ずつ出す文字 ---------- */
.sp { display: inline-block; white-space: nowrap; }
.sp .ch { display: inline-block; transform: translateY(var(--sy, 0)); }
html.motion .sp .ch {
  opacity: 0;
  transform: translateY(calc(var(--sy, 0em) + 0.9em));
  transition:
    transform .9s var(--ease) calc(var(--i) * 45ms + var(--d, 0ms)),
    opacity .35s linear calc(var(--i) * 45ms + var(--d, 0ms));
}
html.motion .on .sp .ch {
  opacity: 1;
  transform: translateY(var(--sy, 0em));
}

/* ---------- 画面に入ったら出す要素 ---------- */
html.motion .rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--rd, 0ms);
}
html.motion .rv.in { opacity: 1; transform: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .4s;
}
.btn--light { background: #fff; color: var(--tx); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--line { background: #fff; color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--tx); }
.btn--xl { min-height: 76px; padding: 0 64px; font-size: 19px; }
.btn:hover { transform: translateY(-3px); }
.btn--light:hover { box-shadow: 0 14px 40px rgba(39, 227, 255, .35), 0 6px 24px rgba(234, 18, 232, .3); }
.btn--dark:hover { box-shadow: 0 14px 34px rgba(106, 27, 255, .4); }
.btn--line:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- 上部の帯 ---------- */
.hd {
  position: fixed;
  top: 16px;
  left: var(--gut);
  right: var(--gut);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: rgba(10, 18, 50, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  transition: transform .5s cubic-bezier(.33, 0, .15, 1), opacity .3s;
}
html.motion:not(.is-ready) .hd { opacity: 0; transform: translateY(-24px); }
.hd.is-away { opacity: 0; transform: translateY(-90px); }
.hd__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.hd__logo img { width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.hd__logo span { font-family: var(--en); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.hd__nav { display: flex; gap: 30px; font-size: 15px; font-weight: 700; }
.hd__nav a { position: relative; padding: 6px 0; }
.hd__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd__cta { min-height: 44px; padding: 0 24px; font-size: 15px; }
.hd__menu { display: none; }

/* ---------- カーソルの丸（細かく指せる端末で動きありのときだけ） ---------- */
.cur-dot, .cur-lab { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; border-radius: 50%; opacity: 0; }
.cur-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.cur-dot i { position: absolute; inset: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; transition: transform .4s var(--ease); }
.cur-lab {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1.5px #fff;
}
.cur-lab span { transform: scale(0); transition: transform .45s var(--ease); }
html.has-cur .cur-dot { opacity: 1; }
html.has-cur .cur-dot.is-link i { transform: scale(2.4); box-shadow: 0 0 0 1px #fff; }
html.has-cur .cur-dot.is-label { opacity: 0; }
.cur-lab { transform-origin: 50% 50%; clip-path: circle(0% at 50% 50%); transition: clip-path .45s var(--ease); }
html.has-cur .cur-lab { opacity: 1; }
html.has-cur .cur-lab.is-label { clip-path: circle(50% at 50% 50%); }
html.has-cur .cur-lab.is-label span { transform: none; }
html.has-cur, html.has-cur a, html.has-cur button, html.has-cur [tabindex] { cursor: none; }

/* ---------- 文字のリンク（細い下線。合わせると線が引き直される） ---------- */
.tl {
  display: inline-block;
  padding-bottom: 6px;
  font-weight: 700;
  background:
    linear-gradient(currentColor, currentColor) 100% 100% / 0 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), opacity .3s;
}
.tl:hover { background-size: 100% 2px, 100% 1px; background-position: 0 100%, 0 100%; }

/* ---------- 画像の枠（まっすぐ置く。比率は種類ごとに1つ。合わせると中の画像だけ少し寄る） ---------- */
.shot__in { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 10; background: #e4e8f0; }
.shot--wide .shot__in { aspect-ratio: 15 / 8; }
.shot__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease); }
.shot:hover .shot__in img { transform: scale(1.03); }
.shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--tx2); }


/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding: 104px var(--gut) 40px;
  color: #fff;
  overflow: hidden;
}
html.no-gl .hero { background: var(--fluid); }
.hero__type { position: relative; font-size: min(16.2vw, 26vh); }
.hero__mark {
  position: relative;
  font-family: var(--en);
  font-weight: 800;
  font-size: 1em;
  line-height: .88;
  letter-spacing: -.035em;
  color: #fff;
}
.hero__mark .ln { display: block; padding-top: .04em; }
.hero__mark .bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.ninja { width: auto; }

/* 忍者は全身で、社名の文字の上に立つ（位置は読み込み後に測って決める） */
.hero__nin {
  position: absolute;
  left: 4.1em;
  top: .06em;
  width: .84em;
  aspect-ratio: 608 / 752;
  pointer-events: none;
}
.hero__nin img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; visibility: hidden; }
.hero__nin[data-pose="stand"] img[data-pose="stand"],
.hero__nin[data-pose="surprised"] img[data-pose="surprised"],
.hero__nin[data-pose="jump"] img[data-pose="jump"] { visibility: visible; }
.hero__nin img[data-pose="surprised"] { transform: translateY(-2.9%); }
.hero__nin img[data-pose="jump"] { transform: translateY(-5.4%); }
html.motion:not(.no-pt) .hero__nin { opacity: 0; transition: opacity .16s linear; }
html.motion:not(.no-pt) .hero__nin.is-solid { opacity: 1; }
html.motion.no-pt .hero__nin { opacity: 0; transition: opacity .5s linear; }
html.motion.no-pt .hero__nin.is-solid { opacity: 1; }
html:not(.no-gl):not(.no-pt) .ct__ninja { opacity: 0; }

.hero__foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 4vh;
}
.hero__h1 { font-size: clamp(22px, 2.3vw, 44px); font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.hero__biz { display: flex; gap: clamp(24px, 2.6vw, 48px); padding-bottom: .5em; }
.hero__biz a {
  display: inline-block;
  padding-bottom: 8px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  background:
    linear-gradient(#fff, #fff) 100% 100% / 0 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.hero__biz a:hover { background-size: 100% 2px, 100% 1px; background-position: 0 100%, 0 100%; }

/* 表示の順番（紺の幕の上に社名が1文字ずつ立ち、幕が上がる） */
html.motion .hero__h1, html.motion .hero__biz { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.motion.is-open .hero__h1, html.motion.is-open .hero__biz { opacity: 1; transform: none; transition-delay: .5s; }
html.motion.is-open .hero__biz { transition-delay: .65s; }
html.motion .hero__mark .sp .ch { --d: 200ms; transition-duration: 1.1s, .35s; }
html.motion .hero__mark .ln:nth-child(2) .sp .ch { --d: 470ms; }

/* ---------- 想い（画面に入ると約3秒で1度だけ再生し、全文に落ち着く） ---------- */
.mf {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 96px var(--gut);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.mf__rest { padding-left: 9vw; }
.mf__lead { font-size: clamp(24px, 3.3vw, 60px); font-weight: 700; line-height: 1.7; letter-spacing: .03em; }
.mf__lead .mk > span { white-space: nowrap; }
.mf__sub { margin-top: 2.2em; font-size: clamp(16px, 1.3vw, 22px); color: var(--on2); line-height: 2; }
.mk { display: block; overflow: hidden; }
.mk > span { display: block; }

.mf__show { display: none; }
html.motion .mf__show { display: block; position: absolute; inset: 0; pointer-events: none; }
.mf__b {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: start;
  padding: 0 var(--gut);
  font-weight: 900;
  line-height: 1.15;
  opacity: 0;
}
.mf__b1 { font-size: 3.9vw; letter-spacing: .02em; }
.mf__b2 { font-size: 10.5vw; }
.mf__b2 .mk:nth-child(2) { margin-left: 2.2em; font-family: var(--min); font-weight: 800; }
.mf__b3 { justify-items: center; font-size: 27vw; line-height: 1; }
.mf__zoom { display: inline-block; }
html.motion .mf__b1 .sp .ch { transform: none; transition: none; opacity: 0; }
html.motion .mf__b2 .mk > span,
html.motion .mf__rest .mk > span { transform: translateY(108%); }
html.motion .mf__sub { opacity: 0; }

/* 1拍目: 1文字ずつ打つ → 2拍目: 下から滑り込む → 3拍目: 大きく寄る → 全文が行ごとに上がる */
html.motion .mf.play .mf__b1 { animation: mfwin 1.02s linear both; }
html.motion .mf.play .mf__b1 .sp .ch { animation: mfon 1ms linear calc(var(--i) * 36ms + 80ms) both; }
html.motion .mf.play .mf__b2 { animation: mfwin .82s linear 1.02s both; }
html.motion .mf.play .mf__b2 .mk > span { animation: mfup .5s var(--ease) 1.04s both; }
html.motion .mf.play .mf__b2 .mk:nth-child(2) > span { animation-delay: 1.16s; }
html.motion .mf.play .mf__b3 { animation: mfwin .74s linear 1.84s both; }
html.motion .mf.play .mf__zoom { animation: mfzoom .74s cubic-bezier(.16, .9, .3, 1) 1.84s both; }
html.motion .mf.play .mf__rest .mk > span { animation: mfup .85s var(--ease) both; }
html.motion .mf.play .mf__rest .mk:nth-child(1) > span { animation-delay: 2.5s; }
html.motion .mf.play .mf__rest .mk:nth-child(2) > span { animation-delay: 2.6s; }
html.motion .mf.play .mf__rest .mk:nth-child(3) > span { animation-delay: 2.7s; }
html.motion .mf.play .mf__rest .mk:nth-child(4) > span { animation-delay: 2.8s; }
html.motion .mf.play .mf__sub { animation: mffade .7s linear 3.1s both; }
@keyframes mfwin { 0% { opacity: 0; } 4% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mfon { to { opacity: 1; } }
@keyframes mfup { from { transform: translateY(108%); } to { transform: none; } }
@keyframes mfzoom { from { transform: scale(.22); } to { transform: scale(1); } }
@keyframes mffade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 3つの事業（縦に流れる3つの区画） ---------- */
.bz { background: var(--paper); }
.bz__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding: 140px var(--gut) 0;
}
.bz__h2 { font-size: clamp(40px, 5vw, 92px); font-weight: 900; line-height: 1.15; letter-spacing: .02em; }
.bz__idx { display: flex; gap: clamp(28px, 3vw, 56px); padding-bottom: 1em; }
.bz__idx a {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 700;
  white-space: nowrap;
  background:
    linear-gradient(var(--tx), var(--tx)) 100% 100% / 0 2px no-repeat,
    linear-gradient(var(--tx), var(--tx)) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.bz__idx a:hover { background-size: 100% 2px, 100% 1px; background-position: 0 100%, 0 100%; }
.bz__idx span { font-family: var(--en); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--violet); }

.bz__one {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px clamp(48px, 5.6vw, 110px);
  align-items: center;
  padding: 110px var(--gut) 130px;
}
.bz__one--mr { background: #fff; padding-top: 130px; }
.bz__one--dev { background: var(--ink); color: #fff; align-items: start; padding-top: 130px; }
.bz__no { font-family: var(--en); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: .06em; color: var(--violet); }
.bz__one--mr .bz__no { color: #1355cd; }
.bz__one--dev .bz__no { color: #7fe9ff; }
.bz__name { margin-top: 22px; font-size: clamp(36px, 4vw, 74px); font-weight: 900; line-height: 1.2; letter-spacing: .02em; }
.bz__catch { margin-top: 28px; font-size: clamp(21px, 1.85vw, 34px); font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.bz__tx { margin-top: 20px; max-width: 34em; font-size: clamp(16px, 1.15vw, 19px); line-height: 2; }
.bz__one--dev .bz__tx { color: var(--on2); }
.bz__btns { display: flex; gap: 14px; margin-top: 36px; }
.bz__one--cr .bz__btns .btn { min-width: 184px; }

/* まるっとAI（まるっとAIのロゴ・キャラクター・職種ごとの写真と色） */
.mr__logo { margin-top: 22px; }
.mr__logo img { width: clamp(240px, 23vw, 400px); height: auto; }
.mr__btn { background: #1355cd; color: #fff; }
.mr__btn:hover { box-shadow: 0 14px 34px rgba(19, 85, 205, .34); }
.mr__chara { width: min(100%, 30vw); height: auto; margin-top: 48px; }
.mr__tabs { display: flex; gap: clamp(20px, 2.2vw, 40px); margin-bottom: 20px; }
.mr__tabs button {
  padding: 6px 0 10px;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 700;
  color: var(--tx2);
  white-space: nowrap;
  background: linear-gradient(#1355cd, #1355cd) 0 100% / 0 3px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.mr__tabs button.is-current, .mr__tabs button:hover { color: #1355cd; background-size: 100% 3px; }
.mr__frame img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s linear; }
.mr__frame img.is-current { opacity: 1; }
.mr__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}
.mr__facts > div { padding-top: 22px; border-top: 2px solid var(--tx); }
.mr__facts dt { font-size: 15px; font-weight: 700; color: var(--tx); }
.mr__facts dd { margin-top: 6px; font-size: clamp(30px, 3vw, 56px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; color: #1355cd; white-space: nowrap; }
.mr__facts small { font-size: .42em; font-weight: 700; color: var(--tx); letter-spacing: .02em; }

/* AI駆動開発（実物の画面を同じ比率で並べる） */
.dev__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.dev__main { grid-column: 1 / -1; }
.bz__one--dev .shot figcaption { color: var(--on2); }
.dev__lang { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule-d); }
.dev__lang h4 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.dev__lang ul { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 12px; font-family: var(--en), var(--jp); font-weight: 700; font-size: 15px; line-height: 1.9; color: var(--on2); }
.dev__lang li { white-space: nowrap; }

/* ---------- お取引先 ---------- */
.cl { display: flex; align-items: center; gap: clamp(40px, 5vw, 96px); padding: 76px var(--gut); background: #fff; }
.cl__h2 { flex: none; font-size: 16px; font-weight: 900; letter-spacing: .08em; color: var(--tx); }
.cl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 34px clamp(36px, 3.6vw, 64px); zoom: 1.12; }
.cl__row img { width: var(--w); height: auto; max-width: none; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .86; }

/* ---------- 区画の見出し ---------- */
.sh {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 3vw, 56px);
  padding: 130px var(--gut) 56px;
  color: var(--tx);
}
.sh__en { font-family: var(--en); font-weight: 800; font-size: clamp(52px, 6.4vw, 118px); line-height: .84; letter-spacing: -.03em; }
.sh__jp { padding-bottom: .2em; }
.sh__jp h2 { font-size: clamp(20px, 1.7vw, 30px); font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.sh__jp p { margin-top: 4px; font-size: 16px; line-height: 1.7; color: inherit; }
.sh--dark { color: #fff; }

/* ---------- 制作実績（横に送る。つかんで動かすか、前へ・次へで送る） ---------- */
.wk { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-bottom: 72px; background: var(--ink); color: #fff; }
.wk .sh { padding-top: 104px; padding-bottom: 40px; }
.wk__ctl { display: flex; gap: 10px; }
.wk__btn { min-width: 84px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--tx); font-size: 15px; font-weight: 700; transition: transform .4s var(--ease), opacity .3s; }
.wk__btn:hover { transform: translateY(-2px); }
.wk__btn[disabled] { opacity: .38; cursor: default; transform: none; }
.wk__track {
  display: flex;
  gap: clamp(28px, 2.8vw, 48px);
  padding: 0 var(--gut);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-left: var(--gut);
  scrollbar-width: none;
  cursor: grab;
  outline-offset: 6px;
}
.wk__track::-webkit-scrollbar { display: none; }
.wk__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.wk__track.is-drag * { pointer-events: none; }
.wk__card { flex: none; width: min(54vw, 96vh); scroll-snap-align: start; user-select: none; }
.wk .shot__in, .bz__one--dev .shot__in { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.wk__ttl { margin-top: 22px; font-size: clamp(20px, 1.7vw, 30px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.wk__meta { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 6px; font-size: 15px; line-height: 1.8; color: var(--on2); }
.wk__meta span:first-child { font-weight: 700; color: #fff; }
.wk__card--more { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; width: min(30vw, 480px); padding-left: 2vw; }
.wk__card--more p { font-size: clamp(18px, 1.5vw, 26px); font-weight: 700; line-height: 1.8; white-space: nowrap; }

/* ---------- クリエイティブ制作でできること ---------- */
.sv { background: var(--paper); padding-bottom: 150px; }
.sv__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 84px clamp(28px, 2.8vw, 48px); padding: 0 var(--gut); }
.sv__it { grid-column: span 4; }
.sv__tx { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-items: baseline; margin-top: 24px; }
.sv__no { font-family: var(--en); font-weight: 800; font-size: 16px; letter-spacing: .06em; color: var(--violet); }
.sv__name { font-size: clamp(24px, 2.1vw, 34px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.sv__desc { grid-column: 2; margin-top: 12px; font-size: 16px; line-height: 1.95; color: var(--tx); }

/* 誌面の組み: 1つ目は横いっぱい、次の3つは3列、開発の2つは2列 */
.sv__it--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 4.4vw, 84px); align-items: center; }
.sv__it--lead .sv__tx { margin-top: 0; }
.sv__it--lead .sv__name { font-size: clamp(28px, 2.6vw, 42px); }
.sv__it--lead .sv__desc { font-size: clamp(16px, 1.15vw, 19px); line-height: 2; }
.sv__it:nth-child(n+5) { grid-column: span 6; }

/* 画像の無い項目は、同じ番号・名前・説明の並びを横1行に組む */
.sv__rows { margin: 0 var(--gut); border-top: 1px solid var(--tx); }
.sv__grid + .sv__rows { margin-top: 84px; }
.sv__row { display: grid; grid-template-columns: 2.6em minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(24px, 2.4vw, 44px); align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--rule); }
.sv__row .sv__no { grid-column: 1; }
.sv__row .sv__name { grid-column: 2; margin: 0; }
.sv__row .sv__desc { grid-column: 3; margin-top: 0; }
/* 制作の前後の支援: 左に見出し、右に同じ並びの行 */
.sv__more { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 4.4vw, 84px); align-items: start; margin: 130px var(--gut) 0; }
.sv__more-h { font-size: clamp(28px, 3vw, 54px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.sv__more .sv__rows { margin: 0; }
.sv__more .sv__row { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); padding: 30px 0; }
.sv__more .sv__name { grid-column: 1; font-size: clamp(20px, 1.6vw, 26px); }
.sv__more .sv__desc { grid-column: 2; }

/* ---------- 強み（1項目＝主張1つと絵1つ） ---------- */
.st { background: #fff; padding: 150px var(--gut) 150px; color: var(--tx); }
.st__head { display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); gap: clamp(48px, 5vw, 96px); align-items: end; padding-bottom: 84px; }
.st__h2 { font-size: clamp(28px, 3.1vw, 58px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.st__lead { font-size: clamp(16px, 1.15vw, 19px); line-height: 2; }
.st__item { display: grid; grid-template-columns: 5em minmax(0, 1fr) clamp(220px, 24vw, 420px); gap: 0 clamp(24px, 3vw, 56px); align-items: center; padding: 72px 0; border-top: 1px solid var(--rule); }
.st__no { align-self: start; padding-top: .5em; font-family: var(--en); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .04em; color: var(--violet); }
.st__tx h3 { font-size: clamp(26px, 2.75vw, 50px); font-weight: 900; line-height: 1.45; letter-spacing: .02em; }
.st__tx p { margin-top: 22px; max-width: 42em; font-size: clamp(16px, 1.15vw, 19px); line-height: 2; }
.st__link { margin-top: 30px; }
.st__img { justify-self: center; width: auto; height: clamp(180px, 17vw, 300px); }
.st__img--wide { width: 100%; height: auto; }

/* ---------- 制作の流れ（4段階を1画面で見渡す） ---------- */
.fl { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-bottom: 110px; background: var(--ink); color: #fff; }
.fl__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 56px); margin: 24px var(--gut) 0; padding-top: 44px; border-top: 2px solid #fff; }
.fl__step { position: relative; }
.fl__step::before { content: ""; position: absolute; left: 0; top: -53px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.fl__no {
  font-family: var(--en);
  font-weight: 800;
  font-size: clamp(64px, 6.6vw, 124px);
  line-height: .9;
  letter-spacing: -.03em;
  color: #fff;
  background: linear-gradient(100deg, #27e3ff 0%, #8c9cf2 45%, #f59ad4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fl__step h3 { display: flex; align-items: flex-end; min-height: 3.1em; margin-top: 26px; font-size: clamp(19px, 1.6vw, 28px); font-weight: 900; line-height: 1.5; letter-spacing: .02em; }
.fl__tx { margin-top: 16px; font-size: 16px; line-height: 1.95; color: var(--on2); }
.fl__step:nth-child(2) { --rd: 90ms; }
.fl__step:nth-child(3) { --rd: 180ms; }
.fl__step:nth-child(4) { --rd: 270ms; }

/* ---------- メンバー ---------- */
.mb { background: #fff; padding-bottom: 170px; }
.mb__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(40px, 5.4vw, 110px); margin: 0 var(--gut); align-items: start; }
.mb__ph { overflow: hidden; border-radius: 8px; background: var(--paper); }
.mb__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% var(--py, 18%); transition: transform 1.2s var(--ease); }
.mb__lead:hover .mb__ph img, .mb__one:hover .mb__ph img { transform: scale(1.04); }
.mb__lead { position: sticky; top: 110px; }
.mb__role { margin-top: 20px; font-size: 14px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; color: var(--violet); }
.mb__name { margin-top: 4px; font-family: var(--en); font-weight: 800; font-size: clamp(18px, 1.5vw, 27px); line-height: 1.3; letter-spacing: .01em; }
.mb__lead .mb__name { font-family: var(--jp); font-weight: 900; font-size: clamp(34px, 3.6vw, 66px); letter-spacing: .04em; }
.mb__lead .mb__name span { display: block; margin-top: 8px; font-family: var(--en); font-weight: 800; font-size: clamp(16px, 1.3vw, 22px); letter-spacing: .04em; }
.mb__bio { margin-top: 12px; font-size: clamp(15px, 1.08vw, 18px); line-height: 1.9; color: var(--tx); }
.mb__lead .mb__bio { margin-top: 20px; font-size: clamp(16px, 1.2vw, 20px); line-height: 2; }
.mb__others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px clamp(22px, 2.4vw, 44px); }
.mb__one:nth-child(3n+2) { margin-top: 84px; --rd: 120ms; }
.mb__one:nth-child(3n) { --rd: 240ms; }

/* ---------- ニュース（文字の一覧）とコラム（サムネイルのカード） ---------- */
.nw { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 120px); padding: 150px var(--gut); background: var(--paper); color: var(--tx); }
.nw__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 24px; }
.nw__en { grid-column: 1 / -1; font-family: var(--en); font-weight: 800; font-size: clamp(44px, 5vw, 92px); line-height: .9; letter-spacing: -.03em; }
.nw__head h2 { font-size: clamp(20px, 1.7vw, 30px); font-weight: 900; letter-spacing: .04em; line-height: 1.4; }
.nw__all { font-size: 15px; }
.nw__list { margin-top: 36px; border-bottom: 1px solid var(--rule); min-height: 80px; }
.nw__item { border-top: 1px solid var(--rule); }
.nw__link { display: block; padding: 22px 0; }
.nw__date { display: block; font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--tx2); }
.nw__ttl { display: block; margin-top: 2px; font-size: clamp(16px, 1.2vw, 19px); font-weight: 700; line-height: 1.7; }
.nw__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(22px, 2.2vw, 36px); margin-top: 36px; min-height: 200px; }
.nw__card a { display: block; }
.nw__thumb { overflow: hidden; border-radius: 8px; aspect-ratio: 1200 / 630; background: #e4e8f0; }
.nw__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nw__card a:hover .nw__thumb img { transform: scale(1.04); }
.nw__meta { display: flex; gap: 14px; margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--tx2); }
.nw__meta time { font-family: var(--en); font-weight: 700; }
.nw__card .nw__ttl { margin-top: 6px; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; display: inline; transition: background-size .5s var(--ease); }
.nw__card a:hover .nw__ttl { background-size: 100% 1px; }
.nw__ns { margin-top: 20px; }
.nw__ns a { text-decoration: underline; }

/* ---------- お問い合わせ ---------- */
.ct {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh;
  padding: 110px var(--gut) 11vh;
  text-align: center;
  color: #fff;
}
html.no-gl .ct { background: var(--fluid); }
.ct__ninja { height: min(30vh, 21vw); width: auto; margin-bottom: 3vh; }
.ct__h2 { font-size: clamp(36px, 5.4vw, 104px); font-weight: 900; line-height: 1.25; letter-spacing: .01em; }
.ct__tx { margin: 2.4vh 0 4vh; font-size: clamp(16px, 1.3vw, 22px); line-height: 2; color: #fff; }

/* ---------- フッター ---------- */
.ft { background: #fff; color: var(--tx); padding: 96px var(--gut) 44px; }
.ft__top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 72px; border-bottom: 1px solid var(--rule); }
.ft__logo { display: flex; align-items: center; gap: 16px; }
.ft__logo img { width: 60px; height: 60px; }
.ft__logo span { font-family: var(--en); font-weight: 800; font-size: clamp(24px, 2.6vw, 44px); letter-spacing: -.01em; line-height: 1; }
.ft__nav { display: flex; gap: clamp(48px, 6vw, 110px); }
.ft__nav h2 { font-size: 15px; font-weight: 900; letter-spacing: .06em; }
.ft__nav ul { margin-top: 14px; }
.ft__nav li + li { margin-top: 6px; }
.ft__nav a { font-size: 16px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.ft__nav a:hover { background-size: 100% 1.5px; }
.ft__btm { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 36px; font-size: 15px; }
.ft__addr strong { display: block; font-size: 17px; font-weight: 900; }
.ft__copy { white-space: nowrap; }

/* ---------- 幅1024px未満（静止版で表示） ---------- */
@media (max-width: 1023px) {
  .hd { gap: 12px; }
  .hd__nav {
    position: fixed;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-radius: 24px;
    background: var(--ink);
    font-size: 17px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility 0s linear .3s;
  }
  .hd__nav a { padding: 14px 0; border-bottom: 1px solid var(--rule-d); }
  .hd.is-open .hd__nav { visibility: visible; opacity: 1; transition: opacity .3s; }
  .hd__menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 14px; font-weight: 700; }
  .hd__logo span { font-size: 13px; }
  .hero__h1, .st__h2, .st__tx h3, .ct__h2, .ct__tx, .mf__sub, .mf__lead .mk > span, .wk__ttl, .fl__step h3, .sh__jp h2, .bz__catch, .bz__name, .wk__card--more p, .mr__facts dd { white-space: normal; }
  .hero__foot, .bz__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__biz, .bz__idx, .bz__btns, .mr__tabs { flex-wrap: wrap; }
  .mf__rest { padding-left: 0; }
  .sh, .bz__one, .st__head, .st__item, .mb__grid, .nw, .sv__it--lead, .sv__row, .sv__more .sv__row { grid-template-columns: minmax(0, 1fr); }
  .sv__row .sv__no, .sv__row .sv__name, .sv__row .sv__desc, .sv__more .sv__name, .sv__more .sv__desc { grid-column: 1; }
  .sv__more { grid-template-columns: minmax(0, 1fr); }
  .sv__it, .sv__it:nth-child(n+5) { grid-column: 1 / -1; }
  .mr__facts, .fl__steps, .nw__cards, .mb__others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mr__chara { width: 70%; }
  .dev__shots { grid-template-columns: minmax(0, 1fr); }
  .cl { flex-direction: column; align-items: flex-start; }
  .wk, .fl { min-height: 0; }
  .wk__card { width: 82vw; }
  .wk__card--more { width: 70vw; }
  .st__img { height: 160px; justify-self: start; }
  .st__img--wide { width: 70%; height: auto; }
  .mb__lead { position: static; }
  .mb__one:nth-child(3n+2) { margin-top: 0; }
  .ft__top, .ft__btm, .ft__nav { flex-direction: column; align-items: flex-start; }
}
