/* =========================================================================
   SKMT — style.css （参考サイト skmt3 のレイアウト/タイポgrafiを引用）
   ・配色は現行のダーク＋紫を維持（色味そのまま）
   ・フォント/字間/見出しスケール/横幅/情報配置を参考サイト寄りに刷新
   ========================================================================= */

:root {
  --bg:        #08080d;
  --bg-soft:   #0d0d15;
  --surface:   #14141f;
  --surface-2: #1b1b29;
  --line:      rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);

  --violet:      #8a5cff;
  --violet-bright:#a07bff;
  --violet-light:#c4b0ff;
  --violet-deep: #4c2a9e;
  --indigo:      #1a1330;

  --text:  #f3f3f8;
  --muted: #9d9db4;
  --faint: #6c6c83;

  /* paper / light（白背景セクション用） */
  --paper:   #f4f3ef;
  --ink:     #14141f;
  --ink-mid: #4a4a5a;
  --ink-soft:#6a6a7a;
  --paper-line: rgba(20,20,31,.16);

  /* fonts（参考サイト引用：システムフォント＋等幅） */
  --font-jp: "Yu Gothic","YuGothic","Hiragino Kaku Gothic ProN","Meiryo",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  --font-en: "Helvetica Neue",Arial,-apple-system,BlinkMacSystemFont,sans-serif;
  --font-mono: ui-monospace,Menlo,Consolas,monospace;

  --maxw: 1440px;
  --gutter: clamp(18px, 3.6vw, 48px);
  --radius: 12px;
  --header-h: clamp(76px, 6.4vw, 92px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.74;
  font-size: 16px;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--violet-bright); outline-offset: 3px; border-radius: 4px; }

body::before {
  content: ""; position: fixed; inset: 0;
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(138,92,255,.14), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(76,42,158,.16), transparent 55%);
  pointer-events: none; z-index: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(48px, 8vw, 96px); }

/* small overline label */
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 800;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--violet-light);
  display: inline-block; margin: 0 0 18px;
}
.eyebrow--dark { color: var(--violet-deep); }

/* 日本語 大見出し */
.section-title {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.08; font-weight: 900; letter-spacing: 0;
}

/* セクションヘッド（英特大タイトル＋脇注） */
.section-head {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  align-items: end; margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head__title {
  font-family: var(--font-en);
  font-size: clamp(56px, 11vw, 108px);
  line-height: .86; letter-spacing: 0; font-weight: 900;
  margin-top: 14px;
}
.section-head__note {
  color: var(--muted); line-height: 1.95; max-width: 560px;
  font-size: clamp(14px, 2.4vw, 16px);
}
.section-head--light .section-head__title { color: var(--ink); }
.section-head--light .section-head__note { color: var(--ink-soft); }

.section-lead { color: var(--muted); margin-top: 20px; max-width: 720px; font-size: clamp(15px,2.4vw,17px); line-height: 1.95; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h);
  display: flex; align-items: center; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8,8,13,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-en); }
.brand__img { height: clamp(58px, 5.6vw, 78px); width: auto; display: block; }
.brand__tag { font-size: 11px; letter-spacing: .26em; color: var(--muted); display: none; }

.nav { display: none; align-items: center; gap: 38px; font-family: var(--font-en); }
.nav a { font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--muted); transition: color .25s; }
.nav a:hover { color: var(--text); }
.nav__cta {
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  padding: 11px 20px; border-radius: 999px;
  background: var(--violet); color: #fff !important;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.nav__cta:hover { background: var(--violet-bright); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(138,92,255,.4); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(8,8,13,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { font-family: var(--font-en); font-size: 27px; font-weight: 900; letter-spacing: 0; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a small { display: block; font-family: var(--font-jp); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__poster {
  position: absolute; inset: -8%;
  background: url("../assets/video/hero-poster.jpg") center / cover no-repeat;
  transform: scale(1.08);
  animation: heroPosterDrift 18s var(--ease) infinite alternate;
  opacity: .72;
  transition: opacity .7s var(--ease);
}
@keyframes heroPosterDrift {
  from { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
  to { transform: scale(1.16) translate3d(1.5%, 1%, 0); }
}
.hero__bg video, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0; pointer-events: none;
}
.hero__video { opacity: 0; transition: opacity .7s var(--ease); }
.hero.is-video-playing .hero__video { opacity: 1; }
.hero.is-video-playing .hero__poster { opacity: 0; }
.hero__shield { position: absolute; inset: 0; z-index: 1; background: transparent; pointer-events: none; }
/* 起動時だけ全体を自然に隠すカバー（再生開始でフェードアウト） */
.hero__cover {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,13,.76) 0%, rgba(8,8,13,.56) 48%, rgba(8,8,13,.88) 100%);
  opacity: 1;
  transition: opacity .75s var(--ease), visibility .75s var(--ease);
}
.hero.is-video-playing .hero__cover { opacity: 0; visibility: hidden; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,13,.55) 0%, rgba(8,8,13,.35) 40%, rgba(8,8,13,.92) 100%),
    radial-gradient(120% 90% at 70% 20%, rgba(76,42,158,.35), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-top: var(--header-h); width: 100%; }
.hero__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__tag {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 800; letter-spacing: .2em;
  color: rgba(243,243,248,.7); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 12px; border-radius: 2px;
}
.hero__copy {
  font-size: clamp(48px, 13vw, 136px);
  line-height: .84; font-weight: 900; letter-spacing: 0;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero__copy span { display: block; }
.hero__copy .accent {
  background: none;
  -webkit-background-clip: initial; background-clip: initial; color: #fff;
}
.hero__lead {
  margin-top: 36px; max-width: 880px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
  border-left: 1px solid var(--violet); padding-left: 26px;
}
.hero__lead-label { color: var(--violet-light); font-size: 13.5px; font-weight: 800; letter-spacing: .12em; line-height: 1.8; }
.hero__desc { color: #d9d9e6; font-size: clamp(15px,2.4vw,17px); line-height: 1.95; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid var(--line); padding: 15px 0; overflow: hidden;
}
.hero__ticker-row {
  display: flex; gap: 22px; white-space: nowrap;
  font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .22em;
  color: rgba(243,243,248,.4);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px; font-weight: 800; font-size: 14.5px;
  letter-spacing: .06em; border-radius: 2px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { background: var(--paper); color: var(--ink); }
.btn--primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.btn--ghost { border: 1px solid rgba(255,255,255,.28); color: var(--text); }
.btn--ghost:hover { border-color: var(--violet-light); background: rgba(138,92,255,.12); transform: translateY(-2px); }

.scroll-hint { display: none; }

/* ---------- WHY（白背景・読みやすさ重視） ---------- */
.why { background: var(--paper); color: var(--ink); }
.why__grid2 { display: grid; grid-template-columns: 1fr; gap: clamp(32px,5vw,56px); align-items: start; }
.why__head .eyebrow { color: var(--violet-deep); }
.why__head .section-title { color: var(--ink); }
.why__texts { display: grid; grid-template-columns: 1fr; gap: clamp(24px,4vw,40px); }
.why-strong { font-size: clamp(18px,2.4vw,22px); line-height: 1.95; font-weight: 800; color: var(--ink); }
.why-normal { line-height: 2.1; color: var(--ink-mid); font-weight: 500; font-size: clamp(15px,2.2vw,17px); }

/* ---------- WORKS ---------- */
.works__head { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; margin-bottom: clamp(40px,6vw,60px); }
.works-grid { display: grid; grid-template-columns: 1fr; gap: clamp(16px,2.4vw,24px); }

.work-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  opacity: 0; transform: translateY(26px);
}
.work-card.in-view { opacity: 1; transform: none; }
.work-card:hover { transform: translateY(-6px); border-color: rgba(138,92,255,.5); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.thumb { position: relative; aspect-ratio: 16/9; width: 100%; background: #0c0c14 center/cover no-repeat; cursor: pointer; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.work-card:hover .thumb img { transform: scale(1.06); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,13,.55)); opacity: 0; transition: opacity .4s; }
.work-card:hover .thumb::after { opacity: 1; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(138,92,255,.92); display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(138,92,255,.5); transition: transform .35s var(--ease), background .35s;
}
.play-btn::before { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.thumb:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); background: var(--violet-bright); }
.work-card__body { padding: 22px 22px 26px; }
.work-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.work-card__no { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--violet-light); letter-spacing: .04em; }
.tag {
  font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px; border: 1px solid var(--line);
  color: var(--violet-light); background: rgba(138,92,255,.06);
}
.work-card__title { font-size: clamp(18px,2.6vw,21px); font-weight: 800; line-height: 1.4; letter-spacing: 0; }
.work-card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin-top: 10px; }
.works__more { display: flex; justify-content: center; margin-top: clamp(40px,6vw,60px); }

/* ---------- CLIENT（白背景・細め・枠なし） ---------- */
.clients { background: #ffffff; color: var(--ink); }
.client-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(22px,3.6vw,44px);
  margin-top: clamp(28px,4vw,44px);
  background: none; border: none;
}
.client-cell {
  background: none; border: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
  width: clamp(118px,12vw,158px); height: clamp(54px,6vw,70px); flex: 0 0 auto;
  overflow: visible;
}
.client-cell img {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain;
}
.client-cell img[src$="tomica.webp"],
.client-cell img[src$="tenga.webp"] { transform: scale(1.55); }
.clients__note { margin-top: clamp(26px,4vw,40px); text-align: center; color: #a3a3b0; font-size: 12.5px; letter-spacing: .06em; }

/* ---------- SERVICE（枠線グリッド・大番号） ---------- */
.service-grid {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  margin-top: clamp(36px,5vw,52px);
}
.service-item {
  border-bottom: 1px solid var(--line);
  padding: clamp(28px,3.4vw,40px) clamp(4px,2vw,28px);
  transition: background .35s var(--ease); position: relative;
  min-height: 220px; display: flex; flex-direction: column;
}
.service-item:hover { background: rgba(138,92,255,.05); }
.service-item__no { font-family: var(--font-mono); font-size: 14px; letter-spacing: .04em; color: var(--violet); }
.service-item__title { font-size: clamp(21px,2.6vw,30px); font-weight: 900; letter-spacing: 0; line-height: 1.2; margin: 34px 0 0; word-break: keep-all; }
.service-item__desc { color: var(--muted); font-size: 15px; line-height: 1.95; margin-top: 18px; }

/* ---------- CREATORS ---------- */
.creators { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.creators__intro { max-width: 820px; margin-bottom: clamp(40px,6vw,60px); }
.creators__intro .lead { font-size: clamp(24px,4.6vw,40px); font-weight: 900; line-height: 1.18; letter-spacing: 0; margin-top: 8px; }
.creators__intro .lead .accent { color: var(--violet-light); }
.creators__intro .body { color: #cfcfe0; margin-top: 22px; line-height: 2.05; font-size: clamp(15px,2.4vw,17px); }
.creators__intro .body .close { color: var(--text); font-weight: 700; }

.creators-grid { display: grid; grid-template-columns: 1fr; gap: clamp(18px,2.6vw,24px); }
.creator-card { opacity: 0; transform: translateY(24px); border: 1px solid var(--line); background: var(--surface); padding: 16px; }
.creator-card.in-view { opacity: 1; transform: none; }
.creator-card__media {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--indigo));
}
.creator-card__media img, .creator-card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.creator-card:hover .creator-card__media img { transform: scale(1.05); }
.creator-card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-en); font-size: 64px; font-weight: 900; letter-spacing: 0;
  -webkit-text-stroke: 1px rgba(196,176,255,.34); color: transparent;
}
.creator-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,8,13,.7)); }
.creator-card__no { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--violet-light); }
.creator-card__info { padding: 18px 6px 6px; }
.creator-card__role { font-family: var(--font-en); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--violet-light); }
.creator-card__name { font-size: clamp(23px,3vw,31px); font-weight: 900; letter-spacing: 0; margin: 8px 0 12px; }
.creator-card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.95; }

/* ---------- CONTACT ---------- */
.contact { position: relative; overflow: hidden; }
.contact__panel {
  position: relative; border: 1px solid rgba(138,92,255,.3); border-radius: 16px;
  padding: clamp(40px,7vw,84px) clamp(24px,5vw,72px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(138,92,255,.18), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg-soft));
  overflow: hidden;
}
.contact__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at -10% 110%, rgba(76,42,158,.35), transparent 60%); }
.contact__inner { position: relative; z-index: 1; max-width: 760px; }
.contact__title { font-size: clamp(32px,6vw,66px); font-weight: 900; line-height: 1.05; letter-spacing: 0; }
.contact__title .accent { background: linear-gradient(100deg,var(--violet-bright),var(--violet-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.contact__lead { color: #cfcfe0; margin-top: 24px; font-size: clamp(15px,2.4vw,18px); line-height: 1.95; }
.contact__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.contact__list li { font-size: 13.5px; font-weight: 700; color: var(--violet-light); border: 1px solid rgba(138,92,255,.3); padding: 8px 15px; border-radius: 2px; }
.contact__cta { margin-top: 36px; }

/* ---------- COMPANY / ACCESS（白背景） ---------- */
.company { background: linear-gradient(180deg, #ffffff 0%, #f4f3ef 100%); color: var(--ink); }
.company__panel { max-width: 920px; margin-inline: auto; }
.company__head { margin-bottom: clamp(30px,5vw,46px); }
.company__head .eyebrow { color: var(--violet-deep); }
.company__title { color: var(--ink); }
.company__table { border-top: 1px solid var(--paper-line); }
.company__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 2px; border-bottom: 1px solid var(--paper-line); }
.company__row dt { font-weight: 800; color: var(--ink); font-size: 14px; letter-spacing: .06em; }
.company__row dd { color: var(--ink-mid); font-size: 16px; line-height: 1.8; }
.company__row dd a { color: var(--violet-deep); text-decoration: underline; text-underline-offset: 3px; }
.access { margin-top: clamp(44px,7vw,72px); }
.access .eyebrow { color: var(--violet-deep); }
.access__body { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 20px; }
.access__addr { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.75; }
.access__route { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }
.access__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--paper-line); aspect-ratio: 16/10; background: #eee; }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(40px,6vw,60px); background: var(--bg); position: relative; z-index: 1; }
.site-footer .container { display: flex; flex-direction: column; gap: 28px; }
.footer__top { display: flex; flex-direction: column; gap: 18px; }
.footer__brand { display: inline-flex; align-items: center; width: fit-content; }
.footer__brand-img { height: 62px; width: auto; display: block; }
.footer__tag { color: var(--muted); font-size: 14px; margin-top: 8px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 16px 26px; }
.footer__nav a { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); transition: color .25s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 22px; color: var(--faint); font-size: 12px; font-family: var(--font-en); letter-spacing: .14em; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--gutter); background: rgba(4,4,8,.85); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog { width: min(960px, 100%); position: relative; transform: scale(.96); transition: transform .35s var(--ease); }
.modal.is-open .modal__dialog { transform: none; }
.modal__frame { aspect-ratio: 16/9; width: 100%; border-radius: 8px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.modal__frame.is-short { aspect-ratio: 9/16; max-width: 380px; margin-inline: auto; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .25s, transform .25s; }
.modal__close:hover { background: rgba(138,92,255,.3); transform: rotate(90deg); }
.modal__close::before, .modal__close::after { content: ""; position: absolute; width: 18px; height: 2px; background: #fff; }
.modal__close::before { transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }
body.modal-open { overflow: hidden; }

/* ---------- WORKS 一覧ページ ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(56px,10vw,120px)); padding-bottom: clamp(36px,6vw,60px); position: relative; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(138,92,255,.16), transparent 55%); z-index: -1; }
.page-hero__title { font-family: var(--font-en); font-size: clamp(58px,14vw,132px); font-weight: 900; letter-spacing: 0; line-height: .9; }
.page-hero__lead { color: var(--muted); margin-top: 20px; max-width: 640px; line-height: 1.95; }
.breadcrumb { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--faint); margin-bottom: 22px; display: flex; gap: 8px; }
.breadcrumb a { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px,5vw,46px); }
.filter-btn { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 9px 18px; border-radius: 2px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.02); transition: all .25s var(--ease); }
.filter-btn:hover { color: var(--text); border-color: var(--violet-light); }
.filter-btn.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.works-empty { color: var(--muted); padding: 40px 0; text-align: center; grid-column: 1 / -1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (min-width: 600px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { border-right: 1px solid var(--line); }
  .creators-grid { grid-template-columns: repeat(3, 1fr); }
  .company__row { grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
  .access__body { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .section-head { grid-template-columns: 1fr auto; }
  .section-head__note { text-align: right; }
  .works__head { grid-template-columns: 1fr auto; }
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .brand__tag { display: block; }
  .why__grid2 { grid-template-columns: .82fr 1.18fr; }
  .why__texts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 920px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .hero__lead { grid-template-columns: .85fr 1.15fr; align-items: start; }
}

@media (max-width: 480px) {
  .hero__copy { font-size: 42px; line-height: .9; }
  .hero__copy .accent { white-space: nowrap; }
  .hero__tags { gap: 8px; margin-bottom: 22px; }
  .hero__tag { font-size: 10px; padding: 7px 10px; }
}

@media (max-width: 360px) {
  .hero__copy { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .work-card, .creator-card { opacity: 1 !important; transform: none !important; }
  .hero__cover, .hero__shield::before { display: none; }
}
