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

/* ---------- 基本 ---------- */
: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 .9s 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;
  z-index: 2;
  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 .7s var(--ease), transform .7s var(--ease); }
html.motion.is-open .hero__h1, html.motion.is-open .hero__biz { opacity: 1; transform: none; transition-delay: .2s; }
html.motion.is-open .hero__biz { transition-delay: .65s; }
html.motion .hero__mark .sp .ch { --d: 80ms; transition-duration: .8s, .3s; transition-delay: calc(var(--i) * 32ms + var(--d, 0ms)); }
html.motion .hero__mark .ln:nth-child(2) .sp .ch { --d: 240ms; }

/* ---------- 区画の見出し ---------- */
.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; }

/* ---------- 制作の流れ（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__steps { --g: clamp(28px, 3vw, 56px); }
.fl__steps::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 16px; background: radial-gradient(circle at 8px 50%, #fff 7.5px, rgba(255, 255, 255, 0) 8px), radial-gradient(circle at calc((100% + var(--g)) * .25 + 8px) 50%, #fff 7.5px, rgba(255, 255, 255, 0) 8px), radial-gradient(circle at calc((100% + var(--g)) * .5 + 8px) 50%, #fff 7.5px, rgba(255, 255, 255, 0) 8px), radial-gradient(circle at calc((100% + var(--g)) * .75 + 8px) 50%, #fff 7.5px, rgba(255, 255, 255, 0) 8px); }
.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; }

/* ---------- お問い合わせ ---------- */
.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; }
}

/* ==========================================================
   ここから下: 想い・3つの事業・お取引先・制作実績・できること・強み・ニュース／コラム
   ========================================================== */
.vh { color: #fff; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- ボタンの文字 ---------- */
.btn { min-height: 60px; padding: 0 36px; font-family: "Noto Sans JP", var(--jp); font-weight: 700; font-size: 16px; letter-spacing: .08em; font-feature-settings: normal; }
.btn--xl { min-height: 80px; padding: 0 68px; font-size: 19px; }
.btn--ghost { background: rgba(255, 255, 255, 0); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ghost:hover { background: #fff; color: var(--tx); }
.hd__cta { min-height: 48px; padding: 0 28px; font-size: 15px; }

/* ---------- 下からせり上がる大きな文字 ---------- */
.lm { display: block; }
.lm > span { display: block; }
html.motion .lm { overflow: hidden; padding-block: .06em; margin-block: -.06em; }
html.motion .lm > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
html.motion .lm.in > span { transform: none; }

/* ---------- 裏返るカード（合わせると0.7秒で裏返る） ---------- */
.fl3 { position: relative; width: 100%; height: 100%; border-radius: inherit; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4, .1, .2, 1); }
.fl3__f, .fl3__b { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fl3__b { transform: rotateY(180deg); }
.fc:hover .fl3, .fc:focus-visible .fl3, .wk__card:hover .fl3, .wk__card:focus-visible .fl3 { transform: rotateY(180deg); }

/* ---------- 流れる帯 ---------- */
.mq { overflow: hidden; }
.mq__in { display: flex; align-items: center; flex-wrap: wrap; }
html.motion .mq__in { flex-wrap: nowrap; width: max-content; animation: mq var(--mqd, 60s) linear infinite; }
html.motion .mq--rev .mq__in { animation-direction: reverse; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- 切り替わる画像 ---------- */
.rot { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: var(--ink); box-shadow: 0 40px 90px rgba(4, 8, 30, .45); }
.rot--wide { aspect-ratio: 15 / 8; }
.rot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; clip-path: inset(0 0 0 100%); transform: scale(1.08); transition: clip-path .9s var(--wipe), transform 1.8s var(--ease); }
.rot img.is-prev { clip-path: inset(0 0 0 0); z-index: 1; }
.rot img.is-current { clip-path: inset(0 0 0 0); transform: none; z-index: 2; }

/* ---------- 想い（画面に入ると約4秒の動く文字が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(17px, 1.4vw, 24px); color: #fff; line-height: 2; }
.mk { display: block; overflow: hidden; }
.mk > span { display: block; }
.mf__show { display: none; }
html.gs .mf__show { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.mf__s { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); visibility: hidden; overflow: hidden; }
.mf__s p { white-space: nowrap; }
.mf__s1 { background: var(--ink); }
.mf__type { font-size: calc(var(--u) * 3); font-weight: 700; letter-spacing: .06em; }
.mf__big { position: relative; align-self: flex-start; margin-top: calc(var(--u) * 1.2); overflow: hidden; font-size: calc(var(--u) * 6.5); font-weight: 900; line-height: 1.3; }
.mf__bigin { display: inline-block; }
.mf__bigin .ch { display: inline-block; }
.mf__strike { position: absolute; left: 0; right: 0; top: 50%; height: calc(var(--u) * .7); margin-top: calc(var(--u) * -.35); background: linear-gradient(90deg, #27e3ff, #ea12e8); transform-origin: 0 50%; }
.mf__not { align-self: flex-end; margin-top: calc(var(--u) * 1.4); overflow: hidden; font-size: calc(var(--u) * 7.4); line-height: 1.3; }
.mf__not span { display: block; }
.mf__s2 { background: #5b1bff; }
.mf__w { font-size: calc(var(--u) * 14); font-weight: 900; line-height: 1.15; }
.mf__w2 { align-self: flex-end; font-size: calc(var(--u) * 15); }
.mf__s3 { align-items: center; background: linear-gradient(120deg, #2a3cf0 0%, #6a1bff 38%, #d011c9 78%, #ea12e8 100%); }
.mf__seika { font-size: calc(var(--u) * 34); font-weight: 900; line-height: 1; letter-spacing: .02em; }
.mf__s3t { margin-top: calc(var(--u) * .6); font-size: calc(var(--u) * 3.6); font-weight: 900; letter-spacing: .06em; }

/* ---------- 3つの事業（1事業＝1画面。次の事業が上に重なって入る） ---------- */
.bz { position: relative; background: var(--ink); }
.bzs { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; color: #fff; }
.bzs + .bzs { box-shadow: 0 -30px 80px rgba(4, 8, 30, .45); }
.bzs--cr { background: radial-gradient(60% 80% at 88% 100%, #d011c9 0, rgba(208, 17, 201, 0) 70%), #5b1bff; }
.bzs--mr { background: radial-gradient(70% 90% at 0 100%, #0a2fb8 0, rgba(10, 47, 184, 0) 70%), #1554f6; }
.bzs--dv { background: radial-gradient(60% 80% at 100% 0, #3a1ba8 0, rgba(58, 27, 168, 0) 70%), var(--ink); }
.bzs__word { position: absolute; left: var(--gut); top: 10vh; margin-left: -.05em; font-family: var(--en); font-weight: 900; font-size: calc(var(--u) * 16.6); line-height: .86; letter-spacing: -.045em; white-space: nowrap; color: #fff; }
.bzs__word--jp { top: 8.5vh; font-family: var(--jp); font-size: calc(var(--u) * 15.6); line-height: 1.05; letter-spacing: -.02em; }
.bzs--dv .bzs__word { font-size: calc(var(--u) * 16.2); }
.bzs__info { position: absolute; left: var(--gut); bottom: 7vh; z-index: 3; width: calc(var(--u) * 33); }
.bzs__no { font-family: var(--en); font-weight: 800; font-size: calc(var(--u) * 1.25); line-height: 1; letter-spacing: .06em; }
.bzs__name { margin-top: calc(var(--u) * .9); font-size: calc(var(--u) * 3.3); font-weight: 900; line-height: 1.25; letter-spacing: .02em; white-space: nowrap; }
.bzs__catch { margin-top: calc(var(--u) * 1.1); font-size: calc(var(--u) * 1.6); font-weight: 700; line-height: 1.6; white-space: nowrap; }
.bzs__tx { margin-top: calc(var(--u) * 1); font-size: max(15px, calc(var(--u) * 1.14)); line-height: 1.9; }
.bzs__btns { display: flex; gap: 14px; margin-top: calc(var(--u) * 2); }
.bzs__stage { position: absolute; right: var(--gut); top: calc(10vh + var(--u) * 15.4); z-index: 2; width: calc(var(--u) * 56); }
.bzs__tabs { display: flex; flex-wrap: wrap; gap: 2px calc(var(--u) * 1.8); margin-top: calc(var(--u) * 1.2); }
.bzs__tabs button { padding: 6px 0; font-size: max(14px, calc(var(--u) * 1.08)); font-weight: 700; line-height: 1.5; color: #fff; opacity: .6; background: linear-gradient(#fff, #fff) 0 100% / 0 2px no-repeat; transition: opacity .3s, background-size .5s var(--ease); }
.bzs__tabs button:hover, .bzs__tabs button.is-current { opacity: 1; }
.bzs__tabs button.is-current { background-size: 100% 2px; }
.bzs--mr .bzs__stage { left: var(--gut); right: auto; top: calc(8.5vh + var(--u) * 16.8); width: calc(var(--u) * 47); }
.bzs--mr .bzs__info { left: auto; right: var(--gut); bottom: calc(6vh + var(--u) * 8.5); width: calc(var(--u) * 38); }
.bzs__facts { position: absolute; left: calc(100% - var(--gut) - var(--u) * 38); right: var(--gut); bottom: 6vh; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: calc(var(--u) * 1.5); }
.bzs__facts dt { font-size: max(14px, calc(var(--u) * 1.05)); font-weight: 700; line-height: 1.4; }
.bzs__facts dd { margin-top: calc(var(--u) * .3); font-size: calc(var(--u) * 1.4); font-weight: 900; line-height: 1; white-space: nowrap; }
.bzs__facts b { font-size: calc(var(--u) * 2.6); font-weight: 900; }
.bzs__facts div:nth-child(-n+2) b { font-family: var(--en); font-size: calc(var(--u) * 4.8); letter-spacing: -.03em; }
.bzs__facts small { font-size: max(13px, calc(var(--u) * 1)); font-weight: 700; }
.bzs--dv .bzs__info { bottom: calc(5vh + var(--u) * 5.5); width: calc(var(--u) * 36); }
.bzs--dv .bzs__stage { top: calc(10vh + var(--u) * 14.6); width: calc(var(--u) * 42); }
.bzs__lang { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; height: calc(var(--u) * 5.5); background: #fff; color: var(--ink); }
.bzs__langh { flex: none; padding: 0 calc(var(--u) * 2.4) 0 var(--gut); font-size: max(14px, calc(var(--u) * 1.1)); font-weight: 900; white-space: nowrap; }
.bzs__lang .mq { flex: 1; min-width: 0; }
.bzs__lang li { padding: 0 calc(var(--u) * 1.8); font-family: var(--en); font-weight: 800; font-size: calc(var(--u) * 1.9); line-height: 1; white-space: nowrap; }

/* ---------- お取引先（ロゴが2段で左右に流れる） ---------- */
.cl { position: relative; padding: 56px 0; background: #fff; color: var(--tx); overflow: hidden; }
.cl__h { margin-bottom: 60px; padding: 0 var(--gut); font-size: clamp(30px, 2.8vw, 54px); font-weight: 900; line-height: 1.3; letter-spacing: .04em; }
.mq--logo li { flex: none; display: flex; align-items: center; height: 58px; padding: 0 2.6vw; }
.mq--logo img { max-width: none; zoom: .58; }
.mq--logo + .mq--logo { margin-top: 10px; }
.mq--logo { --mqd: 70s; }

/* ---------- 制作実績（画面を固定して横に送る。合わせると裏返る） ---------- */
.wk { position: relative; background: var(--ink); color: #fff; }
.wk__pin { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
html.no-gl .wk__pin { overflow-x: auto; }
.wk__head { position: absolute; left: var(--gut); top: 11vh; display: flex; align-items: flex-end; gap: calc(var(--u) * 2.4); }
.wk__en { margin-left: -.05em; font-family: var(--en); font-weight: 900; font-size: calc(var(--u) * 10); line-height: .86; letter-spacing: -.04em; }
.wk__jp { padding-bottom: calc(var(--u) * .5); }
.wk__jp h2 { font-size: calc(var(--u) * 1.9); font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.wk__jp p { font-size: max(15px, calc(var(--u) * 1.14)); line-height: 1.7; }
.wk__track { position: absolute; left: 0; top: 31vh; display: flex; gap: calc(var(--u) * 2.6); width: max-content; padding: 0 var(--gut); will-change: transform; }
.wk__card { flex: none; perspective: 2200px; outline: 0; }
.wk__card .fl3 { width: auto; height: 50vh; aspect-ratio: 15 / 8; border-radius: 14px; }
.wk__card .fl3__f { background: #1a2350; }
.wk__card .fl3__f img { width: 100%; height: 100%; object-fit: cover; }
.wk__card .fl3__b { display: flex; flex-direction: column; justify-content: center; padding: 0 calc(var(--u) * 5); background: linear-gradient(125deg, #6a1bff 0%, #3a1ba8 55%, #14206a 100%); }
.wk__kind { font-size: calc(var(--u) * 1.3); font-weight: 700; line-height: 1.4; letter-spacing: .08em; }
.wk__bt { margin-top: calc(var(--u) * .6); font-size: calc(var(--u) * 3.4); font-weight: 900; line-height: 1.3; }
.wk__dl { margin-top: calc(var(--u) * 2.2); font-size: max(15px, calc(var(--u) * 1.2)); line-height: 1.8; }
.wk__dl div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); }
.wk__dl dt { font-weight: 900; }
.wk__cap { display: flex; align-items: baseline; gap: calc(var(--u) * 1.2); margin-top: 2.2vh; }
.wk__n { font-family: var(--en); font-weight: 800; font-size: calc(var(--u) * 1.25); letter-spacing: .04em; }
.wk__ttl { font-size: calc(var(--u) * 1.7); font-weight: 700; line-height: 1.4; }
.wk__more { flex: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4vh; height: 50vh; padding: 0 5vw 0 3vw; }
.wk__more p { font-size: calc(var(--u) * 1.8); font-weight: 700; line-height: 1.8; white-space: nowrap; }
.wk__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 5vh; height: 3px; background: var(--rule-d); }
.wk__bar i { display: block; height: 100%; background: linear-gradient(90deg, #27e3ff, #ea12e8); transform: scaleX(0); transform-origin: 0 50%; }
html.no-gl .wk__bar { display: none; }

/* ---------- クリエイティブ制作でできること（色面のカード。合わせると裏返って説明が出る） ---------- */
.sv { padding: 0 var(--gut) 150px; background: #fff; color: var(--tx); }
.sv__head { display: flex; align-items: flex-end; gap: 3vw; padding: 140px 0 60px; }
.sv__en { margin-left: -.05em; font-family: var(--en); font-weight: 900; font-size: clamp(80px, 11.5vw, 230px); line-height: .86; letter-spacing: -.04em; color: var(--ink); }
.sv__jp { padding-bottom: .9vw; }
.sv__jp h2 { font-size: clamp(22px, 2vw, 38px); font-weight: 900; line-height: 1.4; letter-spacing: .04em; white-space: nowrap; }
.sv__jp p { margin-top: 4px; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.7; }
.sv__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: max(17.2vw, 240px);
  gap: 1.2vw;
  grid-template-areas:
    "lp lp lp lp lp lp lp hp hp hp hp hp"
    "lp lp lp lp lp lp lp mv mv mv mv mv"
    "ec ec ec ec ec ec ec bn bn bn bn bn"
    "wb wb wb wb wb wb ap ap ap ap ap ap";
}
.fc { position: relative; border-radius: 18px; perspective: 2000px; color: #fff; outline: 0; }
.fc--lp { grid-area: lp; --c: #2563ff; --ca: rgba(37, 99, 255, .9); --im: url(../img/sv-lp.webp); }
.fc--hp { grid-area: hp; --c: #6a1bff; --ca: rgba(106, 27, 255, .9); --im: url(../img/work-beruf-fv.webp); }
.fc--mv { grid-area: mv; --c: #c814b8; --ca: rgba(200, 20, 184, .9); --im: url(../img/sv-movie.webp); }
.fc--ec { grid-area: ec; --c: #0a77a8; --ca: rgba(10, 119, 168, .92); --im: url(../img/sv-ec.webp); }
.fc--bn { grid-area: bn; --c: #6a1bff; --ca: rgba(106, 27, 255, .9); --im: none; }
.fc--wb { grid-area: wb; --c: #0a1232; --ca: rgba(10, 18, 50, .9); --im: url(../img/sv-magic.webp); }
.fc--ap { grid-area: ap; --c: #4a2cf0; --ca: rgba(74, 44, 240, .9); --im: url(../img/sv-app.webp); }
.fc .fl3__f { padding: 1.9vw 2.1vw; background: var(--c); box-shadow: 0 18px 40px rgba(10, 18, 50, .16); }
.fc--bn .fl3__f { background: linear-gradient(110deg, #6a1bff 0%, #d011c9 100%); }
.fc__en { font-family: var(--en); font-weight: 800; font-size: clamp(26px, 2.7vw, 52px); line-height: 1; letter-spacing: -.02em; }
.fc__jp { margin-top: .6em; font-size: clamp(15px, 1.2vw, 20px); font-weight: 700; line-height: 1.4; }
.fc__img { position: absolute; left: 44%; right: 0; top: 1.9vw; bottom: 0; overflow: hidden; border-radius: 12px 0 0 0; background: #fff; }
.fc--lp .fc__img { left: 2.1vw; top: 7.6vw; }
.fc__img img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.fc--bn .fc__en { position: absolute; left: 2.1vw; bottom: 1.2vw; font-size: clamp(60px, 8.4vw, 170px); line-height: .86; letter-spacing: -.04em; }
.fc--bn .fc__jp { margin-top: 0; font-size: clamp(18px, 1.6vw, 28px); font-weight: 900; }
.fc .fl3__b { display: flex; flex-direction: column; justify-content: center; padding: 1.4vw 2.4vw; background: linear-gradient(rgba(10, 18, 50, .3), rgba(10, 18, 50, .3)), linear-gradient(var(--ca), var(--ca)), var(--im) 50% 0 / cover no-repeat, var(--c); box-shadow: 0 18px 40px rgba(10, 18, 50, .16); }
.fc__bt { font-size: clamp(20px, 1.8vw, 34px); font-weight: 900; line-height: 1.4; }
.fc__tx { margin-top: .5em; font-size: clamp(15px, 1.12vw, 19px); line-height: 1.8; }
.fc__ex { margin-top: .6em; font-size: clamp(13px, .95vw, 16px); font-weight: 700; line-height: 1.5; }
.fc--lp .fl3__b { padding: 3vw 4vw; }
.fc--lp .fc__bt { font-size: clamp(28px, 2.8vw, 54px); }
.fc--lp .fc__tx { font-size: clamp(17px, 1.4vw, 24px); line-height: 2; }

/* 制作の前後の支援（同じ裏返るカードを文字だけで組む） */
.sv__more { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; gap: 3vw; margin-top: 120px; }
.sv__moreh { font-size: clamp(34px, 3.8vw, 72px); font-weight: 900; line-height: 1.35; letter-spacing: .02em; white-space: nowrap; }
.sv__sup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2vw; }
.sv__sup .fc { height: max(15vw, 210px); }
.sv__sup .fl3__f { display: flex; align-items: flex-end; }
.fc--s1 { --c: #0a1232; --ca: rgba(10, 18, 50, 0); --im: none; }
.fc--s2 { --c: #0a1232; --ca: rgba(10, 18, 50, 0); --im: none; }
.fc--s3 { --c: #0a1232; --ca: rgba(10, 18, 50, 0); --im: none; }
.fc--s1 .fl3__f { background: radial-gradient(90% 110% at 100% 0, #6a1bff 0, rgba(106, 27, 255, 0) 70%), var(--ink); }
.fc--s2 .fl3__f { background: radial-gradient(90% 110% at 100% 0, #d011c9 0, rgba(208, 17, 201, 0) 70%), var(--ink); }
.fc--s3 .fl3__f { background: radial-gradient(90% 110% at 100% 0, #1554f6 0, rgba(21, 84, 246, 0) 70%), var(--ink); }
.fc__st { font-size: clamp(22px, 2vw, 38px); font-weight: 900; line-height: 1.4; }
.sv__sup .fc__bt { font-size: clamp(17px, 1.3vw, 24px); }
.sv__sup .fc__tx { font-size: clamp(15px, 1.15vw, 20px); }

/* ---------- 強み（大きな数字に忍者が重なる） ---------- */
.st { position: relative; padding: 160px var(--gut) 170px; color: #fff; overflow: hidden; background: radial-gradient(50% 36% at 100% 12%, #d011c9 0, rgba(208, 17, 201, 0) 70%), radial-gradient(60% 40% at 0 62%, #1554f6 0, rgba(21, 84, 246, 0) 70%), radial-gradient(50% 30% at 100% 100%, #d011c9 0, rgba(208, 17, 201, 0) 70%), #5b1bff; }
.st__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4vw; }
.st__h2 { font-size: clamp(32px, 3.7vw, 72px); font-weight: 900; line-height: 1.35; letter-spacing: .01em; }
.st__lead { font-size: clamp(16px, 1.2vw, 20px); line-height: 2; }
.st__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 5vw; margin-top: 110px; }
.st__row--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.st__row--rev .st__vis { order: 2; }
.st__vis { position: relative; height: 23vw; }
.st__no { position: absolute; left: -.05em; top: 50%; margin-top: -.43em; font-family: var(--en); font-weight: 900; font-size: 25vw; line-height: .86; letter-spacing: -.05em; color: #fff; white-space: nowrap; }
.st__nin { position: absolute; right: 0; bottom: 0; width: auto; height: 21vw; }
.st__nin--team { height: 13.5vw; bottom: 1.5vw; }
.st__tx h3 { font-size: clamp(22px, 2.15vw, 42px); font-weight: 900; line-height: 1.5; }
.st__tx p { margin-top: 1.4em; font-size: clamp(16px, 1.2vw, 20px); line-height: 2; }
.st__tx .st__btn { margin-top: 2.2em; }

/* ---------- ニュース（文字の一覧）とコラム（サムネイル付きのカードを横に送る） ---------- */
.nw { padding: 160px 0 170px; background: #fff; color: var(--tx); overflow: hidden; }
.nw__news { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4vw; padding: 0 var(--gut); }
.nw__en { margin-left: -.05em; font-family: var(--en); font-weight: 900; font-size: clamp(64px, 8.6vw, 170px); line-height: .86; letter-spacing: -.04em; color: var(--ink); }
.nw__head h2 { margin-top: .5em; font-size: clamp(20px, 1.8vw, 34px); font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.nw__all { margin-top: 1.4em; font-size: 16px; }
.nw__list { border-top: 2px solid var(--ink); }
.nw__item { border-bottom: 1px solid var(--rule); }
.nw__link { position: relative; display: grid; grid-template-columns: 8.5em minmax(0, 1fr); align-items: baseline; padding: 30px 22px; transition: color .35s; }
.nw__link::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.nw__link > * { position: relative; }
.nw__item:hover .nw__link { color: #fff; }
.nw__item:hover .nw__link::before { transform: scaleY(1); }
.nw__date { font-family: var(--en); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.nw__ttl { font-size: clamp(18px, 1.5vw, 26px); font-weight: 700; line-height: 1.6; }
.nw__column { margin-top: 160px; }
.nw__head--col { display: flex; align-items: flex-end; gap: 2.4vw; padding: 0 var(--gut); }
.nw__head--col h2 { margin: 0 0 .5vw; }
.nw__head--col .nw__all { margin: 0 0 .9vw; }
.nw__ctl { display: flex; gap: 12px; margin: 0 0 .5vw auto; }
.nw__btn { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; font-family: "Noto Sans JP", var(--jp); font-size: 15px; font-weight: 700; letter-spacing: .06em; transition: transform .4s var(--ease), background-color .3s; }
.nw__btn:hover { transform: scale(1.08); background: var(--violet); }
.nw__btn:disabled { background: #dfe3ee; color: #10142e; transform: none; }
html.no-gl .nw__ctl { display: none; }
.nw__view { margin-top: 56px; padding-left: var(--gut); overflow: hidden; }
html.no-gl .nw__view { overflow-x: auto; }
.nw__cards { display: flex; gap: 2.2vw; width: max-content; padding-right: var(--gut); will-change: transform; user-select: none; -webkit-user-select: none; }
html.motion .nw__cards { cursor: grab; }
html.motion .nw__cards.is-drag { cursor: grabbing; }
.nw__card { flex: none; width: 33vw; }
.nw__card a { display: block; -webkit-user-drag: none; }
.nw__thumb { overflow: hidden; border-radius: 14px; aspect-ratio: 1200 / 630; background: #e4e8f0; }
.nw__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.nw__card a:hover .nw__thumb img { transform: scale(1.05); }
.nw__meta { display: flex; gap: 16px; margin-top: 20px; font-size: 15px; line-height: 1.6; }
.nw__meta time { font-family: var(--en); font-weight: 700; }
.nw__card .nw__ttl { display: block; margin-top: 8px; font-size: clamp(18px, 1.45vw, 25px); line-height: 1.65; }
.nw__ns { margin-top: 20px; padding: 0 var(--gut); }
.nw__ns a { text-decoration: underline; }

.sv__en, .nw__en, .wk__en { white-space: nowrap; }
.st__row:nth-of-type(2) .st__nin { height: 19vw; }

.bzs__facts dt { white-space: nowrap; }

/* ---------- 制作物の見せ方（ノートパソコン・スマートフォン・ブラウザの窓・四角でない形） ---------- */
.dev { position: relative; padding: 0 6.5%; }
.mac__scr { padding: 1.3% 1.3% 1.7%; border-radius: 16px 16px 0 0; background: #0b0d16; box-shadow: 0 40px 90px rgba(4, 8, 30, .45); }
.mac__scr .rot { border-radius: 5px; aspect-ratio: 15 / 8; box-shadow: none; background: #fff; }
.mac__base { position: relative; height: calc(var(--u) * 1.05); margin: 0 -7.4%; border-radius: 0 0 16px 16px; background: linear-gradient(#eef0f6 0, #c3c8d6 55%, #8d93a8 100%); }
.mac__base::after { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 36%; border-radius: 0 0 8px 8px; background: #9aa0b4; transform: translateX(-50%); }
.ph { position: absolute; right: 1%; bottom: -9%; z-index: 3; width: 17.5%; padding: .55%; border-radius: calc(var(--u) * 1.9); background: #0b0d16; box-shadow: 0 26px 60px rgba(4, 8, 30, .5); }
.ph .rot { border-radius: calc(var(--u) * 1.5); aspect-ratio: 9 / 18.6; box-shadow: none; background: #fff; }
.bzs--cr .bzs__tabs { margin-top: calc(var(--u) * 1.6); padding-right: 24%; }
.win { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.win__bar { display: flex; align-items: center; gap: 8px; height: calc(var(--u) * 2.5); min-height: 30px; padding: 0 16px; background: #e9ecf3; }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #b9bfce; }
.win .rot { border-radius: 0; box-shadow: none; background: #fff; }
.rot--leaf { border-radius: calc(var(--u) * 13) 14px calc(var(--u) * 13) 14px; }
.wk__card .fl3__f { display: flex; flex-direction: column; background: #fff; }
.wk__card .fl3__f::before { content: ""; flex: none; height: 32px; background: radial-gradient(circle at 20px 50%, #b9bfce 5.5px, rgba(185, 191, 206, 0) 6px), radial-gradient(circle at 39px 50%, #b9bfce 5.5px, rgba(185, 191, 206, 0) 6px), radial-gradient(circle at 58px 50%, #b9bfce 5.5px, rgba(185, 191, 206, 0) 6px), #e9ecf3; }
.wk__card .fl3__f img { flex: 1; min-height: 0; object-position: 50% 0; }

/* ---------- できること: 制作物はブラウザの窓・スマートフォンの枠に入れて見せる ---------- */
.fc__img { left: 50%; top: 2.2vw; border-radius: 12px 0 0 0; box-shadow: 0 20px 50px rgba(6, 10, 40, .32); }
.fc--ec .fc__img, .fc--wb .fc__img { left: 46%; }
.fc__img--win { display: flex; flex-direction: column; }
.fc__img--win::before { content: ""; flex: none; height: max(1.7vw, 22px); background: radial-gradient(circle at 16px 50%, #b9bfce 4.5px, rgba(185, 191, 206, 0) 5px), radial-gradient(circle at 32px 50%, #b9bfce 4.5px, rgba(185, 191, 206, 0) 5px), radial-gradient(circle at 48px 50%, #b9bfce 4.5px, rgba(185, 191, 206, 0) 5px), #e9ecf3; }
.fc__img--win img { flex: 1; min-height: 0; }
.fc__img--round { left: 42%; top: 1.6vw; border-radius: 9vw 0 0 0; }
.fc__img--round img { object-position: 60% 30%; }
.fc__phs { position: absolute; right: 2.4vw; top: 0; bottom: 0; display: flex; align-items: flex-start; gap: 1.3vw; }
.pm { flex: none; width: 12.4vw; padding: .36vw; border-radius: 2vw; background: #0b0d16; box-shadow: 0 24px 54px rgba(6, 10, 40, .4); }
.pm img { width: 100%; aspect-ratio: 9 / 18.4; object-fit: cover; object-position: 50% 0; border-radius: 1.66vw; background: #fff; }
.pm:nth-child(1) { margin-top: 8.6vw; }
.pm:nth-child(2) { margin-top: 1.8vw; }
.pm:nth-child(3) { margin-top: 5.2vw; }

/* ---------- まるっとAI（白地にロゴ。仕事が流れてきて、青い面に入ると済みになる） ---------- */
.bzs--mr { margin-bottom: 70vh; background: #fff; color: var(--ink); }
.bzs--mr::before { content: ""; position: absolute; left: -10%; right: -10%; top: -10%; bottom: -10%; background: radial-gradient(32% 44% at 82% 80%, rgba(21, 84, 246, .42) 0, rgba(21, 84, 246, 0) 70%), radial-gradient(24% 34% at 97% 40%, rgba(229, 36, 95, .3) 0, rgba(229, 36, 95, 0) 70%), radial-gradient(24% 30% at 56% 106%, rgba(255, 106, 31, .3) 0, rgba(255, 106, 31, 0) 70%), radial-gradient(20% 30% at 104% 96%, rgba(14, 159, 119, .3) 0, rgba(14, 159, 119, 0) 70%); }
html.motion .bzs--mr::before { animation: mhGlow 14s ease-in-out infinite alternate; }
@keyframes mhGlow { from { transform: translate3d(-3%, 2%, 0) scale(1); } to { transform: translate3d(3%, -3%, 0) scale(1.12); } }
.bzs__logo { position: absolute; left: var(--gut); top: calc(10vh + var(--u) * 1); z-index: 3; width: calc(var(--u) * 24); }
.bzs__logo img { width: 100%; height: auto; }
.mh { position: absolute; left: var(--gut); top: calc(10vh + var(--u) * 10.6); z-index: 3; margin-left: -.04em; font-size: calc(var(--u) * 7.4); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; color: #0a1232; }
.mh__gl { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
html:not(.motion) .mh__gl { display: none; }
.mh__a, .mh__b { display: block; }
.mh__tx { color: #1554f6; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mh__tx { background: linear-gradient(90deg, #ff6a1f 0, #e5245f 25%, #7a4cf0 50%, #1554f6 75%, #0e9f77 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
  html.motion .mh__tx { animation: mhFlow 5s linear infinite alternate; }
}
@keyframes mhFlow { to { background-position: 100% 0; } }
.mh__c { display: none; }
html.motion .mh__c { display: inline-block; width: .06em; height: .92em; margin: 0 .06em; vertical-align: -.1em; background: #1554f6; animation: mhCaret 1s steps(1) infinite; }
@keyframes mhCaret { 50% { opacity: 0; } }
.bzs--mr .bzs__info { left: var(--gut); right: auto; bottom: 11vh; width: calc(var(--u) * 46); }
.bzs--mr .bzs__facts { bottom: 11vh; }
.bzs--mr .bzs__catch { margin-top: 0; font-size: calc(var(--u) * 1.9); }
.bzs--mr .btn--light { background: #0a1232; color: #fff; }

/* ---------- AI駆動開発: 画面を3枚重ねて、名前に合わせると手前に出る ---------- */
.stk { position: relative; aspect-ratio: 1320 / 880; margin: calc(var(--u) * 3.4) 0 0 9%; }
.stk .win { position: absolute; left: 0; right: 0; top: 0; transform-origin: 50% 0; transition: transform .9s var(--ease), filter .9s var(--ease); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.stk .win img { width: 100%; height: auto; }
.stk .win[data-pos="0"] { z-index: 3; }
.stk .win[data-pos="1"] { z-index: 2; transform: translate(-6.5%, -6.5%) scale(.93); filter: brightness(.72); }
.stk .win[data-pos="2"] { z-index: 1; transform: translate(-13%, -12.5%) scale(.86); filter: brightness(.5); }
.vh--ink { color: #10142e; }
.bzs--dv { box-shadow: none; }
.bzs--mr + .bzs--dv { box-shadow: none; }
.fc__img--win { right: 1.9vw; top: 50%; bottom: auto; translate: 0 -50%; border-radius: 10px; }
.fc__img--win img { flex: none; height: auto; }
.fc--ec .fc__img--win { left: 52%; }

/* ---------- 読み込み中の画面 ---------- */
.ld { display: none; }
html.motion .ld { display: block; position: fixed; left: 0; top: 0; z-index: 90; width: 100%; height: 100%; background: var(--ink); transition: opacity .45s linear; }
html.ld-out .ld { opacity: 0; pointer-events: none; }
html.ld-end .ld { display: none; }
html.ld-snap .hero__mark .sp .ch { transition: none !important; opacity: 1 !important; transform: translateY(var(--sy, 0em)) !important; }

/* ---------- ファーストビュー: 中央の忍者の後ろを、大きな社名が横に流れる ---------- */
.hero--v2 .hero__type { position: absolute; inset: 0; z-index: 2; font-size: 10vh; pointer-events: none; }
.hero--v2 .hero__mark { position: absolute; visibility: hidden; }
.hero__band { position: absolute; left: 0; right: 0; top: 47%; z-index: 1; overflow: hidden; translate: 0 -50%; pointer-events: none; }
.hero__bandin { display: flex; width: max-content; font-family: var(--en); font-weight: 800; font-size: min(36vh, 25vw); line-height: 1.02; letter-spacing: -.035em; white-space: nowrap; animation: heroBand 52s linear infinite; }
.hero__bandin span { padding-right: .34em; }
@keyframes heroBand { to { transform: translateX(-33.3333%); } }
html.motion .hero__band { opacity: 0; transform: translateX(7vw); transition: opacity 1.2s var(--ease), transform 1.8s var(--ease); }
html.motion.is-open .hero__band { opacity: 1; transform: none; transition-delay: .1s; }
.hero--v2 .hero__foot { z-index: 3; margin-top: 0; }
.hero--v2 .hero__h1 { font-size: clamp(15px, 1.2vw, 22px); font-weight: 500; line-height: 1.95; letter-spacing: .06em; }
.hero__cap { font-size: clamp(12px, .86vw, 15px); font-weight: 500; line-height: 2; letter-spacing: .1em; text-align: right; }
html.motion .hero__cap { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) .65s, transform .7s var(--ease) .65s; }
html.motion.is-open .hero__cap { opacity: 1; transform: none; }
