/* レンタル借金執事神威 LP — 仮 */
:root {
  --bg: #0a0608;
  --bg-dark: #050304;
  --fg: #ece6dd;
  --fg-dim: #b8a98c;
  --gold: #c9a96a;
  --gold-light: #e3c98a;
  --crimson: #8b1a1a;
  --crimson-dark: #5a0a0a;
  --border: rgba(201, 169, 106, 0.18);
}

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

body {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.15em;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--fg-dim); font-size: 0.92rem; }
.nav-cta {
  padding: 8px 20px; border: 1px solid var(--gold);
  border-radius: 2px; color: var(--gold) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139, 26, 26, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(90, 10, 10, 0.6) 0%, transparent 55%),
    linear-gradient(180deg, #0a0608 0%, #1a0808 50%, #0a0608 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(10, 6, 8, 0.7) 80%);
}
.hero-content { position: relative; z-index: 1; max-width: 850px; padding: 0 24px; }
.hero-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem; letter-spacing: 0.3em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 24px;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: 0.08em;
  color: var(--fg);
  text-shadow:
    0 0 20px rgba(139, 26, 26, 0.6),
    0 0 40px rgba(0, 0, 0, 0.8);
  margin-bottom: 24px;
  line-height: 1.3;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--gold-light);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.hero-tagline {
  font-size: 1.05rem; color: var(--fg-dim);
  margin-bottom: 48px;
  letter-spacing: 0.03em;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--crimson); color: var(--fg);
  border: 1px solid var(--crimson);
}
.btn-primary:hover {
  background: transparent; color: var(--crimson);
  border-color: var(--gold);
}
.btn-secondary {
  background: transparent; color: var(--fg);
  border: 1px solid var(--fg-dim);
}
.btn-secondary:hover {
  border-color: var(--gold); color: var(--gold);
}

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--fg-dim); font-size: 0.8rem; letter-spacing: 0.2em;
}
.scroll-line {
  width: 1px; height: 40px; background: var(--gold-light);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-family: 'Cinzel', serif; font-size: 2.5rem;
  text-align: center; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: 8px;
}
.section-subtitle {
  text-align: center; color: var(--fg-dim);
  font-size: 0.95rem; margin-bottom: 48px;
  letter-spacing: 0.2em;
}

/* Story */
.story-text {
  max-width: 750px; margin: 0 auto 64px;
  text-align: center; font-size: 1.05rem; line-height: 2.2;
  color: var(--fg);
}
.story-text p { margin-bottom: 24px; }
.quote-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15rem;
  color: var(--crimson);
  margin-top: 32px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Chapters */
.chapter-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.chapter {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--crimson);
  border-radius: 0 4px 4px 0;
  transition: all .25s;
}
.chapter:hover {
  background: rgba(139, 26, 26, 0.08);
  border-left-color: var(--gold);
}
.chapter-no {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
}
.chapter h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 8px;
}
.chapter p {
  color: var(--fg-dim);
  font-size: 0.92rem;
  line-height: 1.8;
  grid-column: 2;
}

/* Characters */
.char-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1000px; margin: 0 auto;
}
.char-card {
  text-align: center; padding: 40px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all .3s;
}
.char-card:hover {
  border-color: var(--crimson);
  background: rgba(139, 26, 26, 0.06);
  transform: translateY(-4px);
}
.char-icon { font-size: 2.5rem; margin-bottom: 16px; }
.char-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.char-role {
  color: var(--crimson); font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px !important;
  font-family: 'Cinzel', serif;
}
.char-card p:last-child { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.8; }

/* World */
.world-text {
  max-width: 700px; margin: 0 auto;
  text-align: center;
  font-size: 1rem; line-height: 2.2;
}
.world-text p { margin-bottom: 16px; }
.world-text strong { color: var(--gold); letter-spacing: 0.05em; }

/* Status */
.status-card {
  max-width: 700px; margin: 0 auto;
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.status-label {
  text-align: center; color: var(--fg-dim);
  font-size: 0.85rem; letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.status-phase {
  text-align: center;
  font-family: 'Noto Serif JP', serif; font-size: 1.3rem;
  color: var(--gold); letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.status-list { list-style: none; padding: 0; max-width: 500px; margin: 0 auto 24px; }
.status-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-size: 0.95rem;
}
.status-list li:last-child { border-bottom: none; }
.status-note {
  text-align: center; color: var(--fg-dim);
  font-size: 0.85rem; font-style: italic;
}

.cta-block {
  display: flex; gap: 16px; justify-content: center;
  margin-top: 48px; flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem; color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.footer-copy {
  color: var(--fg-dim); font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 64px 0; }
  .section-title { font-size: 2rem; }
  .status-card { padding: 24px; }
  .chapter { grid-template-columns: 1fr; gap: 8px; }
  .chapter p { grid-column: 1; }
}
