/* ============================================================
   新・じじばばAI反逆軍 LP — サイバー司令部 × ガラスモルフィズム
   ============================================================ */

:root {
  --bg-deep: #05070f;
  --bg-navy: #0a0f1e;
  --gold: #e8b84b;
  --gold-bright: #ffd970;
  --gold-deep: #b8860b;
  --cyan: #39c7d8;
  --text: #e9ecf5;
  --text-dim: #a7afc4;
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;              /* シニア層向けに大きめ基準 */
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.pc-only { display: inline; }

/* ---------- 背景の光演出 ---------- */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, #101a33 0%, var(--bg-deep) 60%); }
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; animation: drift 14s ease-in-out infinite alternate; }
.glow-gold { width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(232,184,75,0.5), transparent 70%); top: -20vw; left: -15vw; }
.glow-cyan { width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(57,199,216,0.4), transparent 70%); bottom: -15vw; right: -10vw; animation-delay: -7s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(4vw, 3vw) scale(1.12); } }

.grid-lines {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 75%);
}

/* ---------- ガラスパネル(共通コンポーネント) ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),      /* 上辺のハイライト = ガラスの反射 */
    inset 0 0 24px rgba(255,255,255,0.03),
    0 24px 60px rgba(0,0,0,0.55);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass:hover {
  transform: translateY(-4px);
  border-color: rgba(232,184,75,0.35);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 30px 70px rgba(0,0,0,0.6),
    0 0 40px rgba(232,184,75,0.12);
}

/* ---------- 見出し・共通 ---------- */
.section { padding: 110px 0; position: relative; }
.section-eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--gold); text-align: center; margin-bottom: 18px;
}
.section-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 800; line-height: 1.55;
  text-align: center; margin-bottom: 56px;
  text-shadow: 0 0 40px rgba(232,184,75,0.15);
}
.section-body { color: var(--text-dim); }
.accent-gold {
  background: linear-gradient(115deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- CTAボタン(ゴールドグロー + シャイン) ---------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-decoration: none; text-align: center;
  padding: 20px 44px; border-radius: 999px;
  font-weight: 700; font-size: 18px; line-height: 1.5;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  color: #1a1206;
  background: linear-gradient(160deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow:
    0 6px 24px rgba(232,184,75,0.35),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow:
    0 12px 40px rgba(232,184,75,0.55),
    0 0 60px rgba(232,184,75,0.35),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
/* 光沢が左から右へ走るシャイン */
.btn-gold::before {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -80%; }
  85%, 100% { left: 130%; }
}
/* 鼓動のようなゴールドパルス */
.btn-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(232,184,75,0.35), 0 0 0 0 rgba(232,184,75,0.45); }
  50%      { box-shadow: 0 6px 24px rgba(232,184,75,0.45), 0 0 0 16px rgba(232,184,75,0); }
}

.btn-label { font-size: 18px; }
.btn-note { font-size: 12.5px; font-weight: 500; opacity: 0.75; }
.btn-inline { margin-top: 28px; }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 18px 36px; font-size: 16px;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

.cta-group { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 40px; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 90px 0 70px;
  position: relative;
}
.hero-inner { text-align: center; }
.hero-emblem {
  width: 108px; margin: 0 auto 28px;
  filter: drop-shadow(0 0 30px rgba(232,184,75,0.5));
  animation: emblemFloat 5s ease-in-out infinite;
}
@keyframes emblemFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-eyebrow {
  display: inline-block;
  font-size: clamp(14px, 2vw, 17px); font-weight: 700;
  color: var(--text-dim); letter-spacing: 0.08em;
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-bottom: 30px;
}
.hero-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(34px, 6.4vw, 64px);
  font-weight: 800; line-height: 1.45;
  margin-bottom: 28px;
  text-shadow: 0 4px 60px rgba(0,0,0,0.8);
}
.hero-sub { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-dim); }
.hero-sub strong { color: var(--text); }
.hero-proof { margin-top: 26px; font-size: 14px; color: var(--text-dim); opacity: 0.85; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,0.3); border-radius: 999px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- MANGA ---------- */
.manga-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.manga-panel { overflow: hidden; padding: 10px; }
.manga-panel img { border-radius: calc(var(--radius) - 8px); width: 100%; height: 100%; object-fit: cover; }

/* ---------- BEFORE / AFTER ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.ba-card { padding: 40px 34px; }
.ba-card h3 { font-family: "Shippori Mincho", serif; font-size: 22px; line-height: 1.6; margin: 16px 0 20px; }
.ba-card ul { list-style: none; }
.ba-card li { color: var(--text-dim); padding-left: 1.5em; position: relative; margin-bottom: 12px; font-size: 16px; }
.ba-before li::before { content: "✕"; position: absolute; left: 0; color: #7c8296; }
.ba-after li::before { content: "◎"; position: absolute; left: 0; color: var(--gold); }
.ba-before { filter: saturate(0.55); }
.ba-after { border-color: rgba(232,184,75,0.4); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 24px 60px rgba(0,0,0,0.55), 0 0 50px rgba(232,184,75,0.12); }
.ba-tag { font-size: 12px; font-weight: 900; letter-spacing: 0.25em; color: var(--text-dim); border: 1px solid var(--glass-border); border-radius: 999px; padding: 6px 16px; }
.ba-tag-gold { color: #1a1206; background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep)); border: none; }
.ba-arrow { align-self: center; font-size: 40px; color: var(--gold); text-shadow: 0 0 24px rgba(232,184,75,0.8); animation: pulse-text 2s ease-in-out infinite; }
@keyframes pulse-text { 0%,100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.18); } }

/* ---------- CONCEPT ---------- */
.concept-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.concept-grid .section-eyebrow, .concept-grid .section-title { text-align: left; }
.concept-grid .section-title { margin-bottom: 28px; }
.concept-visual { padding: 12px; }
.concept-visual img { border-radius: calc(var(--radius) - 8px); }

/* ---------- ROADMAP ---------- */
.roadmap-visual { padding: 12px; margin-bottom: 48px; }
.roadmap-visual img { border-radius: calc(var(--radius) - 8px); width: 100%; }
.roadmap-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; counter-reset: step; }
.step-card { padding: 30px 26px; }
.step-num { font-size: 13px; font-weight: 900; letter-spacing: 0.22em; color: var(--gold); }
.step-card h3 { font-family: "Shippori Mincho", serif; font-size: 21px; margin: 10px 0 12px; }
.step-card p { font-size: 15px; color: var(--text-dim); line-height: 1.8; }

/* ---------- PRICING ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.price-card { padding: 46px 40px; display: flex; flex-direction: column; text-align: center; }
.price-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.15em; color: var(--text-dim); border: 1px solid var(--glass-border); border-radius: 999px; padding: 7px 18px; align-self: center; }
.price-tag-gold { color: #1a1206; background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep)); border: none; }
.price-card h3 { font-family: "Shippori Mincho", serif; font-size: 24px; line-height: 1.6; margin: 22px 0 14px; }
.price-num { font-size: 34px; font-weight: 900; color: var(--gold-bright); margin-bottom: 22px; }
.price-num span { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.price-card ul { list-style: none; text-align: left; margin-bottom: 32px; flex-grow: 1; }
.price-card li { color: var(--text-dim); font-size: 16px; padding-left: 1.6em; position: relative; margin-bottom: 12px; }
.price-card li::before { content: "⚡"; position: absolute; left: 0; color: var(--gold); }
.price-card-featured {
  border-color: rgba(232,184,75,0.5);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 24px 60px rgba(0,0,0,0.55), 0 0 60px rgba(232,184,75,0.16);
  transform: scale(1.02);
}
.price-card-featured:hover { transform: scale(1.02) translateY(-4px); }

/* ---------- FINAL CTA ---------- */
.final-cta { padding-bottom: 140px; }
.final-panel { padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.final-panel::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(232,184,75,0.14), transparent 55%);
  pointer-events: none;
}
.final-emblem { width: 84px; margin: 0 auto 24px; filter: drop-shadow(0 0 24px rgba(232,184,75,0.5)); }
.final-title { font-family: "Shippori Mincho", serif; font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin-bottom: 20px; }
.final-sub { color: var(--text-dim); }
.final-sub strong { color: var(--gold-bright); }

/* ---------- FOOTER ---------- */
.footer { text-align: center; padding: 36px 0 120px; color: var(--text-dim); font-size: 13px; opacity: 0.7; }

/* ---------- モバイル固定CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5,7,15,0.75);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  transform: translateY(110%); transition: transform 0.4s ease;
  display: none;
}
.sticky-cta.is-shown { transform: translateY(0); }
.btn-sticky { width: 100%; padding: 16px 20px; }

/* ---------- スクロール出現アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .glow, .btn-pulse, .btn-gold::before, .hero-emblem, .ba-arrow { animation: none !important; }
}

/* ============================================================
   レスポンシブ(タブレット/スマホ)
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .manga-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .concept-grid { grid-template-columns: 1fr; gap: 36px; }
  .concept-grid .section-eyebrow, .concept-grid .section-title { text-align: center; }
  .btn-inline { display: flex; margin-left: auto; margin-right: auto; max-width: 420px; }
  .roadmap-steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .price-card-featured { transform: none; }
  .price-card-featured:hover { transform: translateY(-4px); }
  .pc-only { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .container { padding: 0 18px; }
  .hero { padding: 70px 0 90px; }
  .roadmap-steps { grid-template-columns: 1fr; }
  .btn { width: 100%; max-width: 420px; }
  .cta-group { flex-direction: column; }
  .final-panel { padding: 52px 24px; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 100px; }
}
