/* 合同会社zzz — 共通スタイル */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0d17;
  --bg-soft:   #12162a;
  --surface:   rgba(255,255,255,.035);
  --border:    rgba(255,255,255,.10);
  --fg:        #eef1f8;
  --fg-muted:  #99a1bd;
  --accent:    #7c8cff;
  --accent-2:  #c9a3ff;
  --maxw:      1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:       #fbfbfd;
    --bg-soft:  #f2f3f9;
    --surface:  rgba(12,16,40,.028);
    --border:   rgba(12,16,40,.10);
    --fg:       #12162a;
    --fg-muted: #5b6480;
    --accent:   #4a5bd4;
    --accent-2: #8a5fd6;
  }
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
               -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
  overflow-x: hidden;
}

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

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand {
  font-size: 1.35rem; font-weight: 700; letter-spacing: .16em;
  text-decoration: none; color: var(--fg); white-space: nowrap;
}
.brand span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav ul { display: flex; gap: 28px; list-style: none; font-size: .875rem; }
.nav a { color: var(--fg-muted); text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--fg); }
@media (max-width: 760px) { .nav ul { gap: 18px; font-size: .8125rem; } }
@media (max-width: 560px) { .nav ul { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(80px, 16vw, 160px) 0 clamp(64px, 11vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 130%;
  background:
    radial-gradient(48% 40% at 22% 18%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 68%),
    radial-gradient(42% 38% at 78% 34%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 66%);
  filter: blur(46px); pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero--sub { padding: clamp(56px, 10vw, 96px) 0 clamp(32px, 5vw, 48px); }

.eyebrow {
  display: inline-block; font-size: .75rem; letter-spacing: .22em;
  color: var(--fg-muted); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 32px;
  background: var(--surface);
}
h1 {
  font-size: clamp(2rem, 6.4vw, 3.75rem); line-height: 1.4;
  font-weight: 700; letter-spacing: .01em; margin-bottom: 28px;
}
.hero--sub h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); margin-bottom: 16px; }
h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1rem, 2.1vw, 1.125rem); color: var(--fg-muted); max-width: 44em; }

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; text-decoration: none;
  font-size: .9rem; font-weight: 600; transition: transform .2s, opacity .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: var(--fg); background: var(--surface); }

/* ---------- sections ---------- */
section { padding: clamp(64px, 11vw, 112px) 0; }
section + section { border-top: 1px solid var(--border); }
.sec-head { margin-bottom: 52px; }
.sec-label {
  font-size: .72rem; letter-spacing: .26em; color: var(--accent);
  text-transform: uppercase; font-weight: 700; margin-bottom: 14px;
}
h2 { font-size: clamp(1.5rem, 3.6vw, 2.125rem); font-weight: 700; line-height: 1.5; }
.sec-head p { color: var(--fg-muted); margin-top: 16px; max-width: 46em; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 32px 28px;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.card .ico { font-size: 1.75rem; line-height: 1; margin-bottom: 18px; display: block; }
.card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 12px; }
.card p { font-size: .9rem; color: var(--fg-muted); }

/* ---------- coming soon ---------- */
.soon-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.soon {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.soon:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.soon figure { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: var(--bg-soft); }
.soon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soon figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, color-mix(in srgb, var(--bg) 72%, transparent));
}
.soon .tag {
  position: absolute; z-index: 1; left: 16px; top: 16px;
  font-size: .6875rem; letter-spacing: .18em; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}
.soon .body { padding: 24px 26px 28px; }
.soon h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.soon .genre { font-size: .75rem; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
.soon p { font-size: .875rem; color: var(--fg-muted); }

/* ---------- table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .9375rem; }
th, td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { width: 30%; color: var(--fg-muted); font-weight: 600; white-space: nowrap; }

/* ---------- contact ---------- */
.contact-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: clamp(32px, 6vw, 56px); text-align: center;
}
.contact-box h2 { margin-bottom: 16px; }
.contact-box p { color: var(--fg-muted); margin-bottom: 32px; }
.mail {
  font-size: clamp(1.0625rem, 3.2vw, 1.5rem); font-weight: 700; letter-spacing: .02em;
  text-decoration: none; word-break: break-all;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.foot {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  font-size: .8125rem; color: var(--fg-muted);
}
.foot a { color: var(--fg-muted); text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* ---------- reveal ----------
   JSが動いているときだけ隠す。JS無効・スクリプトエラー時は最初から見える。 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .soon:hover { transform: none; }
}
