/* =========================================================
   Team Luminize — public site（白基調・ロゴカラー）
   ロゴの4色: 紫 / 黄 / オレンジ / 青
   ========================================================= */
:root {
  --paper: #ffffff;        /* 背景 */
  --paper-2: #f6f4fb;      /* 面（うっすら紫みの白） */
  --ink: #17141f;          /* 本文 */
  --sub: #686378;          /* 補助テキスト */
  --line: rgba(23, 20, 31, 0.1);

  --violet: #9b4dea;
  --violet-soft: #d08bff;
  --yellow: #ffcc2e;
  --orange: #ff7a2f;
  --blue: #3d7bf5;

  /* ロゴの流れ（紫→黄→オレンジ→青） */
  --bolt: linear-gradient(110deg, var(--violet-soft) 0%, var(--violet) 28%, var(--orange) 64%, var(--blue) 100%);
  --bolt-full: linear-gradient(110deg, var(--violet) 0%, var(--yellow) 38%, var(--orange) 62%, var(--blue) 100%);

  --f-display: 'Dela Gothic One', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --f-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 16px;
  --shadow: 0 18px 40px -24px rgba(60, 30, 110, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 17px; letter-spacing: 0.04em; }
.brand-mark { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 99px; color: var(--sub);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.nav-cta { color: #fff; background: var(--ink); margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--violet); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 28px;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav a { font-size: 16px; padding: 12px; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 110px 0 clamp(48px, 8vh, 96px); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60vmax 50vmax at 100% 0%, rgba(208,139,255,.18), transparent 60%),
    radial-gradient(50vmax 40vmax at 0% 100%, rgba(61,123,245,.10), transparent 60%),
    var(--paper);
}
/* ロゴのスピード線（斜めのストローク） */
.streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.streaks i {
  position: absolute; height: 10px; border-radius: 99px; transform: rotate(-28deg); transform-origin: left center; opacity: .9;
  animation: streak 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.streaks i:nth-child(1) { width: 34vw; left: 52%; top: 18%; background: linear-gradient(90deg, transparent, var(--violet-soft)); animation-delay: .15s; }
.streaks i:nth-child(2) { width: 22vw; left: 66%; top: 30%; height: 6px; background: linear-gradient(90deg, transparent, var(--yellow)); animation-delay: .3s; }
.streaks i:nth-child(3) { width: 40vw; left: 46%; top: 82%; height: 8px; background: linear-gradient(90deg, transparent, var(--blue)); animation-delay: .45s; }
.streaks i:nth-child(4) { width: 18vw; left: 4%; top: 70%; height: 6px; background: linear-gradient(90deg, transparent, var(--orange)); animation-delay: .6s; }
@keyframes streak { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-logo { width: 100%; height: auto; max-width: 480px; justify-self: center; filter: drop-shadow(0 30px 40px rgba(120, 60, 200, .18)); animation: pop .9s cubic-bezier(.2,.9,.25,1.2) both; }
@keyframes pop { from { opacity: 0; transform: translate(-14px, 14px) scale(.94); } }
.hero-word {
  font-family: var(--f-display); font-weight: 400; line-height: .92; margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(56px, 10vw, 148px); letter-spacing: -0.01em;
  background: var(--bolt); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: skewX(-8deg); transform-origin: left bottom;
}
.hero-team { display: block; font-size: .26em; letter-spacing: .04em; color: var(--ink); -webkit-text-fill-color: var(--ink); margin-bottom: .25em; }
.hero-title { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.5; margin: 0 0 10px; font-weight: 700; letter-spacing: .04em; }
.hero-sub { margin: 0 0 32px; color: var(--sub); max-width: 32em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero { align-items: flex-start; min-height: auto; padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 240px; justify-self: start; }
  .streaks i:nth-child(3), .streaks i:nth-child(4) { display: none; }
  .streaks i:nth-child(1) { left: 40%; top: 9%; }
  .streaks i:nth-child(2) { left: 62%; top: 16%; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px;
  border-radius: 99px; text-decoration: none; font-weight: 700; font-size: 15px; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: scale(.98); }
.btn-glow { background: var(--bolt); border-color: transparent; color: #fff; box-shadow: 0 14px 30px -14px rgba(155,77,234,.75); }
.btn-glow:hover { background: var(--bolt); color: #fff; box-shadow: 0 18px 36px -12px rgba(255,122,47,.6); }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 136px) 0; position: relative; }
.section.alt { background: var(--paper-2); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.sec-title {
  margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 7vw, 80px); line-height: 1;
  position: relative; padding-left: .52em;
}
/* 見出し横の稲妻スラッシュ */
.sec-title::before {
  content: ''; position: absolute; left: 0; top: .08em; width: .2em; height: .86em; border-radius: 3px;
  background: var(--bolt-full); transform: skewX(-18deg);
}
.sec-title > span { display: inline-block; transform: skewX(-8deg); }
.sec-title small { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 700; color: var(--sub); letter-spacing: .1em; margin-top: 14px; }
.more { color: var(--sub); text-decoration: none; font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.more:hover { color: var(--ink); border-color: var(--orange); }

.empty { color: var(--sub); border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 32px; text-align: center; background: var(--paper); }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.about-lead { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.55; margin: 0; font-weight: 700; }
.about-body p { margin: 0 0 1.2em; color: #3b3747; max-width: 38em; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

/* News list */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: 110px 120px 1fr; gap: 16px; align-items: baseline;
  padding: 22px 8px; text-decoration: none; transition: background .2s;
}
.news-list a:hover { background: var(--paper-2); }
.news-list a:hover .news-t { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.news-date { color: var(--sub); font-size: 14px; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: rgba(155,77,234,.1); color: #7a32c9; white-space: nowrap; justify-self: start; }
.news-t { font-weight: 500; }
@media (max-width: 640px) {
  .news-list a { grid-template-columns: auto 1fr; row-gap: 6px; }
  .news-t { grid-column: 1 / -1; }
}

/* Creators */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 32px); }
.creator-card { text-decoration: none; display: block; --c: var(--violet); }
.creator-card .ring {
  position: relative; aspect-ratio: 1; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 210deg, var(--c), color-mix(in srgb, var(--c) 15%, white) 45%, var(--c) 85%);
  transition: box-shadow .35s, transform .35s;
}
.creator-card .ring img, .creator-card .ring .avatar-fallback { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--paper-2); border: 5px solid var(--paper); }
.creator-card:hover .ring, .creator-card:focus-visible .ring { box-shadow: 0 22px 44px -18px var(--c); transform: translateY(-4px); }
.creator-card h3 { margin: 18px 0 2px; font-size: 20px; line-height: 1.4; }
.creator-card .en { color: var(--sub); font-size: 13px; letter-spacing: .08em; }
.creator-card .role { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 70%, black); }
.avatar-fallback {
  display: grid; place-items: center; font-family: var(--f-display); font-size: 56px; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, white), var(--c) 60%, color-mix(in srgb, var(--c) 70%, black)) !important;
}

/* Movie */
.movie-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.movie-grid .video:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: end; }
.movie-grid .video:first-child .v-title { font-size: clamp(18px, 2vw, 24px); -webkit-line-clamp: 4; }
@media (max-width: 860px) { .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .movie-grid .video:first-child { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 540px) { .movie-grid { grid-template-columns: 1fr; } }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #e9e5f2;
  border: 0; padding: 0; width: 100%; cursor: pointer; display: block; box-shadow: var(--shadow);
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.player:hover img { transform: scale(1.03); }
.player .play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(23,20,31,.55); backdrop-filter: blur(6px); display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.player:hover .play { background: var(--orange); transform: scale(1.06); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.v-meta { padding-top: 12px; }
.v-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v-by { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--sub); text-decoration: none; }
.v-by i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--violet)); }
a.v-by:hover { color: var(--ink); }

/* Works */
.works-list { display: grid; border-top: 1px solid var(--line); }
.work { display: grid; grid-template-columns: 200px 1fr auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.work-thumb { aspect-ratio: 16/10; border-radius: var(--r-sm); overflow: hidden; background: linear-gradient(135deg, rgba(208,139,255,.35), rgba(255,204,46,.25) 50%, rgba(61,123,245,.3)); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work h3 { margin: 6px 0 4px; font-size: 18px; line-height: 1.5; }
.work p { margin: 0; color: var(--sub); font-size: 14px; }
.work-side { text-align: right; color: var(--sub); font-size: 13px; }
.work-side a { display: inline-block; margin-top: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.work-people { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.work-people a { font-size: 12px; text-decoration: none; padding: 1px 9px; border-radius: 99px; border: 1px solid var(--line); }
.work-people a:hover { border-color: var(--violet); color: var(--violet); }
@media (max-width: 760px) { .work { grid-template-columns: 1fr; gap: 12px; } .work-side { text-align: left; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 80px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-note { color: #3b3747; margin: 0; }
.form { display: grid; gap: 20px; background: var(--paper); border-radius: var(--r-md); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field label .req { color: var(--orange); font-weight: 700; margin-left: 6px; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper-2); border: 1.5px solid transparent;
  border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); border-color: var(--violet); box-shadow: 0 0 0 4px rgba(155,77,234,.15); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--sub); }
.form-status { padding: 14px 16px; border-radius: var(--r-sm); font-size: 15px; }
.form-status.ok { background: #e9f8f0; color: #17643f; }
.form-status.ng { background: #fff0ec; color: #a8340f; }

/* ---------- Creator page ---------- */
.profile { padding: 140px 0 80px; position: relative; isolation: isolate; overflow: hidden; --c: var(--violet); }
.profile::before {
  content: ''; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -25vmax; top: -38vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent 75%);
}
.profile-grid { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 760px) { .profile-grid { grid-template-columns: 1fr; } .profile .ring { max-width: 280px; } }
.profile .ring { aspect-ratio: 1; border-radius: 50%; padding: 6px; background: conic-gradient(from 210deg, var(--c), color-mix(in srgb, var(--c) 15%, white) 45%, var(--c) 85%); box-shadow: 0 40px 80px -40px var(--c); }
.profile .ring img, .profile .ring .avatar-fallback { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 7px solid var(--paper); }
.profile .ring .avatar-fallback { font-size: 120px; }
.crumb { font-size: 13px; color: var(--sub); margin-bottom: 18px; }
.crumb a { color: var(--sub); }
.profile h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6.5vw, 80px); line-height: 1.1; margin: 0; }
.profile .en { color: var(--sub); letter-spacing: .12em; margin-top: 6px; }
.profile .role { display: inline-block; margin-top: 16px; padding: 3px 14px; border-radius: 99px; font-weight: 700; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 70%, black); font-size: 14px; }
.profile .catch { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; margin: 24px 0 0; }
.sns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.sns a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 99px;
  border: 1.5px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 700; background: var(--paper); transition: border-color .2s, color .2s;
}
.sns a:hover { border-color: var(--c, var(--violet)); color: color-mix(in srgb, var(--c, var(--violet)) 80%, black); }
.sns svg { width: 18px; height: 18px; flex: none; }
.bio { max-width: 42em; white-space: pre-wrap; color: #3b3747; margin: 0; }
.others { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: thin; }
.others .creator-card { flex: 0 0 140px; }
.others .creator-card h3 { font-size: 15px; margin-top: 12px; }
.others .creator-card .role, .others .creator-card .en { display: none; }

/* プロフィール項目 */
.profile-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.profile-body > :only-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .profile-body { grid-template-columns: 1fr; } }
.prof-list { margin: 0; border-top: 1px solid var(--line); }
.prof-list div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.prof-list dt { font-weight: 700; color: var(--sub); font-size: 14px; }
.prof-list dd { margin: 0; white-space: pre-wrap; }

/* News detail */
.article { padding: 140px 0 100px; }
.article .wrap { max-width: 820px; }
.article h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.5; margin: 14px 0 32px; }
.article .meta { display: flex; gap: 14px; align-items: center; color: var(--sub); font-size: 14px; }
.article .thumb { border-radius: var(--r-md); overflow: hidden; margin-bottom: 32px; }
.article .body { white-space: pre-wrap; color: #2f2b3a; }
.article .body a { color: var(--violet); }
.back { display: inline-block; margin-top: 56px; }

.page-head { padding: 150px 0 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c4d6; padding: 56px 0 40px; font-size: 14px; position: relative; }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--bolt-full); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer .brand { color: #fff; }
.site-footer .sns { margin: 0; }
.site-footer .sns a { height: 40px; background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.site-footer .sns a:hover { border-color: var(--yellow); color: var(--yellow); }

.loading { min-height: 40vh; display: grid; place-items: center; color: var(--sub); }

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