/* =========================================================
   CREATOR EITO  -  static stylesheet
   編集しやすいよう、変数 → ベース → コンポーネント順
   ========================================================= */

:root {
  --ink-50:  #f4f5fb;
  --ink-300: rgba(255,255,255,0.70);
  --ink-500: rgba(255,255,255,0.50);
  --ink-700: rgba(255,255,255,0.10);
  --ink-900: #0a0a14;
  --ink-950: #05050c;

  --accent-1: #7c8cff;
  --accent-2: #00e5ff;
  --accent-3: #c87cff;

  --font-sans:    "Inter", "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Noto Sans JP", system-ui, sans-serif;

  --maxw: 1120px;
}

/* ---------- リセット & ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--ink-950);
  color: var(--ink-50);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; }

::selection { background: rgba(124,140,255,0.4); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 背景レイヤー ---------- */
.bg-aurora,
.bg-spot {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
.bg-aurora {
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(124,140,255,0.25), transparent 60%),
    radial-gradient(50% 50% at 85% 30%, rgba(0,229,255,0.18), transparent 60%),
    radial-gradient(60% 60% at 70% 90%, rgba(200,124,255,0.20), transparent 60%);
  animation: glow-shift 18s ease-in-out infinite;
}
.bg-spot {
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04), transparent 50%);
}
@keyframes glow-shift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50%      { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

/* ---------- グラデーション文字 ---------- */
.grad {
  background: linear-gradient(120deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(5,5,12,0.4);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.25em; }
.nav { display: flex; gap: 28px; font-size: 12px; letter-spacing: 0.18em; color: var(--ink-500); }
.nav a:hover { color: #fff; }

@media (max-width: 700px) {
  .nav { display: none; }
}

/* ---------- ヒーロー ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.3em; color: var(--ink-500); margin: 0 0 12px;
}
.hero-title {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.hero-lead {
  max-width: 640px;
  font-size: 18px;
  color: var(--ink-300);
  margin: 0 0 48px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary { background: #fff; color: var(--ink-950); }
.btn-primary:hover { background: rgba(255,255,255,0.9); }

.btn-ghost { border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }

.btn-grad {
  background: linear-gradient(120deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  color: var(--ink-950);
  padding: 14px 32px;
}
.btn-grad:hover { opacity: 0.9; }

/* ---------- セクション共通 ---------- */
.section { padding: 100px 0; }
.section-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  margin-bottom: 48px;
}
.lead { color: var(--ink-300); max-width: 640px; }
.muted { color: var(--ink-500); font-size: 14px; margin: 4px 0 0; }
.mt-32 { margin-top: 32px; }

/* ---------- グリッド ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 12px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-sm-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- カード ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,140,255,0.4);
  background: linear-gradient(180deg, rgba(124,140,255,0.08), rgba(255,255,255,0.02));
}
.card-num { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-500); margin-bottom: 12px; }
.card h3 { font-size: 20px; font-weight: 600; }
.card-text { font-size: 14px; color: var(--ink-300); margin: 16px 0 0; line-height: 1.7; }
.card-link { display: block; padding: 32px; }
.book-title { font-size: 20px; line-height: 1.4; font-weight: 600; }
.card-cta { display: inline-block; margin-top: 24px; font-size: 14px; color: var(--ink-500); transition: color .25s; }
.card-link:hover .card-cta { color: #fff; }

/* 作品サムネ */
.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1a3a, #0a0a14, #2a0a3a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.work-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 20px; gap: 16px;
}
.tag { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-500); }

/* チャンネルセル */
.ch {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  padding: 0;
}

/* ---------- コンタクト ---------- */
.contact-card { padding: 48px; text-align: center; }
.contact-card p { max-width: 560px; margin: 0 auto 32px; color: var(--ink-300); }

/* ---------- リンク矢印 ---------- */
.link-arrow { font-size: 14px; color: var(--ink-500); }
.link-arrow:hover { color: #fff; }

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px 0;
  margin-top: 60px;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; font-size: 12px; color: var(--ink-500);
}
.social { display: flex; gap: 20px; }
.social a:hover { color: #fff; }

/* ---------- 出現アニメ ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
