/* 025 NOVARC ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #ffffff;
  --c-dark: #120d1f;
  --c-violet: #7c3aed;
  --c-lilac: #c4b5fd;
  --c-accent-text: #6d28d9;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #e4e4e7;
  /* 進め方の4色（白→灰→濃い灰→黒） */
  --p1-bg: #ffffff; --p1-fg: #120d1f; --p1-sub: #374151; --p1-acc: #6d28d9;
  --p2-bg: #e4e4e7; --p2-fg: #18181b; --p2-sub: #3f3f46; --p2-acc: #5b21b6;
  --p3-bg: #52525b; --p3-fg: #ffffff; --p3-sub: #e4e4e7; --p3-acc: #ddd6fe;
  --p4-bg: #120d1f; --p4-fg: #ffffff; --p4-sub: #d4d4d8; --p4-acc: #c4b5fd;
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Syne", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.95; letter-spacing: .03em; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1080px) { .wrap { padding: 0 56px; } }
.kicker { font-family: var(--font-en); font-weight: 600; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 8px; }
.kicker--light { color: var(--c-lilac); }
.h2 { font-family: var(--font); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.45; color: var(--c-dark); }
.note { margin-top: 16px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .3s, color .3s; }
.btn--violet { background: var(--c-violet); color: #fff; }
.btn--violet:hover { background: var(--c-accent-text); }
.btn--line { border: 1px solid var(--c-lilac); color: #fff; }
.btn--line:hover { background: rgba(196, 181, 253, .15); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 17px; }

/* ===== ヘッダー ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .4s; }
.header.is-scrolled { background: rgba(18, 13, 31, .92); }
.header__inner { display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 8px 0 20px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: center; min-height: 48px; font-family: var(--font-en); font-weight: 800; font-size: 24px; letter-spacing: .08em; text-decoration: none; white-space: nowrap; flex: none; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; }
@media (min-width: 1080px) {
  .header__inner { height: 84px; padding: 0 56px; }
  .gnav { display: flex; gap: 32px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-family: var(--font-en); font-weight: 600; font-size: 15px; letter-spacing: .08em; }
  .header__btn { margin-left: 0; }
}

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-dark); padding: 8px 20px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: #fff; text-decoration: none; border-bottom: 1px solid #2e2541; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①（A11）：破片の文字 ===== */
.hero { position: relative; height: 100vh; min-height: 600px; background: var(--c-dark); color: #fff; overflow: hidden; display: grid; place-items: center; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(124, 58, 237, .28), transparent 60%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.is-motion .hero__canvas { display: block; }
.hero__inner { position: relative; z-index: 1; padding: 0 20px; pointer-events: none; }
.hero__word { font-family: var(--font-en); font-weight: 800; font-size: clamp(40px, 11vw, 190px); line-height: 1; letter-spacing: .02em; white-space: nowrap; color: var(--c-lilac); }
.is-motion .hero__word { opacity: 0; }
.hero__title { margin-top: 32px; font-weight: 700; font-size: clamp(24px, 3vw, 36px); letter-spacing: .14em; }
.hero__lead { margin-top: 12px; color: #e4e4e7; }
.hero__scroll { position: absolute; z-index: 1; left: 50%; bottom: 24px; transform: translateX(-50%); font-family: var(--font-en); font-size: 15px; letter-spacing: .3em; color: #d4d4d8; }

/* ===== 私たちについて ===== */
.about { padding: 112px 0; }
.about__inner { display: grid; gap: 32px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; border-top: 1px solid var(--c-line); padding-top: 24px; }
.nums__v { font-family: var(--font-en); font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.1; color: var(--c-dark); }
.nums__v small { font-family: var(--font); font-size: 15px; margin-left: 2px; }
.nums li p:last-child { font-size: 15px; color: var(--c-sub); }
@media (min-width: 1080px) { .about { padding: 180px 0; } .about__inner { grid-template-columns: 1fr 1.2fr; gap: 96px; } }

/* ===== 演出②（C03）：進め方 ===== */
.proc { --bg: var(--p1-bg); --fg: var(--p1-fg); --sub: var(--p1-sub); --acc: var(--p1-acc); background: var(--bg); color: var(--fg); padding: 0 0 0; }
.proc__head { padding-bottom: 40px; }
.proc__head .h2 { color: var(--fg); }
.proc__head .kicker { color: var(--acc); }
.proc__track { display: grid; }
.panel { display: grid; gap: 24px; padding: 48px 20px 64px; background: var(--pbg); color: var(--pfg); }
.panel--1 { --pbg: var(--p1-bg); --pfg: var(--p1-fg); --psub: var(--p1-sub); --pacc: var(--p1-acc); }
.panel--2 { --pbg: var(--p2-bg); --pfg: var(--p2-fg); --psub: var(--p2-sub); --pacc: var(--p2-acc); }
.panel--3 { --pbg: var(--p3-bg); --pfg: var(--p3-fg); --psub: var(--p3-sub); --pacc: var(--p3-acc); }
.panel--4 { --pbg: var(--p4-bg); --pfg: var(--p4-fg); --psub: var(--p4-sub); --pacc: var(--p4-acc); }
.panel__photo { overflow: hidden; border-radius: 6px; }
.panel__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.panel__no { font-family: var(--font-en); font-weight: 800; font-size: 56px; line-height: 1; color: var(--pacc); }
.panel h3 { font-weight: 700; font-size: 28px; margin-top: 12px; color: var(--pfg); }
.panel__en { font-family: var(--font-en); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--psub); margin-bottom: 12px; }
.panel__body > p:last-child { color: var(--psub); }
.proc__meter { display: none; }
@media (min-width: 768px) { .panel { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 64px 40px; } }
/* 動く版（PCだけ）：画面を止めて横に流し、区切り全体の色を変える */
.is-motion-pc .proc { height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.is-motion-pc .proc__head { padding-bottom: 24px; width: 100%; }
.is-motion-pc .proc__track { display: flex; width: max-content; gap: 6vw; padding: 0 56px; }
.is-motion-pc .panel { width: 64vw; max-width: 980px; padding: 0; background: transparent; --pfg: var(--fg); --psub: var(--sub); --pacc: var(--acc); }
.is-motion-pc .panel__photo img { aspect-ratio: 4 / 3; max-height: 56vh; }
.is-motion-pc .proc__meter { display: flex; align-items: center; gap: 16px; padding: 32px 56px 0; font-family: var(--font-en); font-weight: 600; font-size: 16px; color: var(--fg); }
.proc__line { position: relative; width: 200px; height: 2px; background: color-mix(in srgb, var(--fg) 25%, transparent); }
.proc__line span { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(0); }

/* ===== 演出③（G03）：実績の一覧 ===== */
.cases { position: relative; padding: 112px 0; }
.cases__lead { margin: 16px 0 32px; }
.rows { border-top: 1px solid var(--c-dark); }
.row { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.row__thumb { grid-row: span 3; width: 96px; height: 72px; object-fit: cover; border-radius: 4px; }
.row__kind { font-size: 15px; color: var(--c-sub); }
.row__title { font-weight: 700; font-size: 18px; line-height: 1.6; color: var(--c-dark); }
.row__result { font-size: 15px; color: var(--c-text); }
.row__result strong { font-family: var(--font-en); font-weight: 800; font-size: 20px; color: var(--c-accent-text); }
.float { display: none; }
@media (min-width: 1080px) {
  .cases { padding: 180px 0; }
  .row { grid-template-columns: 96px 200px 1fr 200px; align-items: center; padding: 28px 0; }
  .row__thumb { grid-row: auto; }
  .row__title { font-size: 22px; }
  .row__result { text-align: right; }
}
/* マウスが使えるPC：小さな写真は隠し、行の上に大きな写真を浮かべる */
.is-hover .row { grid-template-columns: 200px 1fr 200px; padding: 36px 16px; cursor: default; transition: background-color .3s, padding-left .4s; }
.is-hover .row__thumb { display: none; }
.is-hover .row:hover { background: #f5f3ff; padding-left: 32px; }
.is-hover .float { display: block; position: fixed; z-index: 30; left: 0; top: 0; width: 340px; height: 230px; object-fit: cover; border-radius: 8px; pointer-events: none; opacity: 0; transform: translate(32px, -50%) scale(.85); transition: opacity .3s, transform .3s; box-shadow: 0 30px 60px rgba(18, 13, 31, .35); }
.is-hover .float.is-on { opacity: 1; transform: translate(32px, -50%) scale(1); }

/* ===== ご相談 ===== */
.contact { background: var(--c-dark); color: #e4e4e7; padding: 112px 0; }
.contact__title { font-weight: 700; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.4; color: #fff; margin: 8px 0 20px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.contact__btns .btn { flex: 1 1 260px; max-width: 360px; }
@media (min-width: 1080px) { .contact { padding: 180px 0; } }

/* ===== フッター ===== */
.footer { background: #0a0712; color: #d4d4d8; padding: 64px 20px 32px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-en); font-weight: 800; font-size: 32px; color: #fff; letter-spacing: .08em; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
