:root{
  --bg:#0b0f1a;
  --panel:#0f172a;
  --panel2:#0c1326;
  --text:#e5e7eb;
  --muted:#a1a1aa;
  --line:rgba(255,255,255,.12);
  --accent:#7c3aed;
  --accent2:#22c55e;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(124,58,237,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(34,197,94,.12), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
  padding-bottom: 72px; /* fixed-cta space */
}

a{ color:inherit; text-decoration:none; }
strong{ font-weight:800; }

.container{
  width:min(1040px, 92vw);
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,15,26,.72);
  border-bottom:1px solid var(--line);
}
.topbar .brand{
  display:inline-block;
  padding:14px 16px;
  font-weight:900;
  letter-spacing:.3px;
}
.nav{
  display:flex;
  gap:10px;
  padding:0 16px 14px;
  flex-wrap:wrap;
}
.nav a{
  font-size:14px;
  color:var(--muted);
  padding:6px 10px;
  border:1px solid transparent;
  border-radius:999px;
}
.nav a:hover{
  border-color:var(--line);
  color:var(--text);
}

.hero{
  padding:42px 0 24px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:center;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.15;
}
.lead{
  margin:0 0 16px;
  color:var(--text);
  font-size: clamp(15px, 1.4vw, 18px);
}
.hero-cta .sub{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
}
.tiny{
  margin:8px 0 0;
  color:var(--muted);
  font-size:12px;
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(34,197,94,.9));
  color:white;
  font-weight:800;
  letter-spacing:.2px;
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.14);
  min-width: 220px;
}
.cta:hover{ transform: translateY(-1px); }
.cta.ghost{
  background: transparent;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:none;
}

.hero-media .media-frame{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  min-height: 260px;
  display:grid;
  place-items:center;
  position:relative;
}
.hero-media img{
  width:100%;
  height:auto;
  display:block;
}
.media-frame.placeholder .placeholder-text{
  display:block;
}
.placeholder-text{
  display:none;
  color:var(--muted);
  text-align:center;
  padding:24px;
  font-size:13px;
}

.section{
  padding:42px 0;
}
.section.alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section h2{
  margin:0 0 14px;
  font-size: clamp(20px, 2.2vw, 28px);
}
.muted{ color:var(--muted); margin:0 0 14px; }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  background: rgba(255,255,255,.02);
}
.card h3{
  margin:0 0 6px;
  font-size:16px;
}
.card p{ margin:0; color:var(--muted); }

.center{ text-align:center; }
.mt{ margin-top:18px; }

.video-box{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background: rgba(0,0,0,.22);
  min-height: 260px;
  display:grid;
  place-items:center;
}
.video-box iframe{
  width:100%;
  aspect-ratio: 16/9;
  border:0;
}

.steps{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.steps li{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  background: rgba(255,255,255,.02);
  display:flex;
  gap:10px;
  align-items:center;
}
.step-n{
  width:28px;
  height:28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-weight:900;
  color: #0b0f1a;
  background: rgba(255,255,255,.9);
}

.gallery{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:10px;
}
.gallery img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.bullets{
  margin:12px 0 0;
  padding-left: 18px;
}
.note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:13px;
}
.note a{ text-decoration: underline; }

details{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  background: rgba(255,255,255,.02);
  margin:10px 0;
}
summary{
  cursor:pointer;
  font-weight:700;
}
details p{
  margin:10px 0 0;
  color:var(--muted);
}

.section.final{
  padding:52px 0 60px;
}
.footer{
  border-top:1px solid var(--line);
  padding:18px 0 22px;
  color:var(--muted);
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.footer-links a{ color:var(--muted); }
.footer-links a:hover{ color:var(--text); }
.sep{ opacity:.6; padding:0 6px; }
.copy{ margin:0; font-size:12px; }

.fixed-cta{
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:20;
}
.fixed-cta a{
  display:flex;
  align-items:center;
  justify-content:center;
  height:52px;
  border-radius:16px;
  background: rgba(255,255,255,.92);
  color:#0b0f1a;
  font-weight:900;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.fixed-cta a:hover{ transform: translateY(-1px); }

@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .gallery img{ height: 150px; }
  .nav{ padding-bottom: 12px; }
}
