/* Asset Quartos 公開ランディング — 最低限の骨格（旧 css 欠落のため再構成） */
:root {
  --bg: #050505;
  --ink: #e8e4d9;
  --muted: #9a9588;
  --gold: #c5a059;
  --teal: #00ffcc;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }

.en {
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
}

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

.gold { color: var(--gold); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(197, 160, 89, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 204, 0.06), transparent 50%),
    linear-gradient(160deg, #0a0a0a 0%, #12100c 45%, #050505 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 20px 72px;
  max-width: 900px;
}

.main-title {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

/* —— Story —— */
.story-section {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, #050505 0%, #0c0b09 100%);
}

.story-para {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: #d5d0c4;
  margin: 0 0 1.6em;
  text-align: center;
}

.story-question {
  text-align: center;
  font-size: clamp(1.25rem, 3.5vw, 1.85rem);
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: var(--gold);
  font-weight: 600;
}

.highlight-box {
  margin: 60px auto 0;
  max-width: 820px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.88)),
    center / cover no-repeat;
}

.highlight-top,
.highlight-middle,
.highlight-bottom {
  padding: 28px 28px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.12);
}

.highlight-bottom { border-bottom: 0; }

.highlight-box .story-para {
  margin: 0;
  font-size: 0.95rem;
  text-align: left;
}

/* —— Premium gateway —— */
.premium-gateway-section {
  padding: 40px 0 100px;
}

.gateway-header {
  text-align: center;
  margin-bottom: 36px;
}

.gateway-label {
  color: var(--gold);
  font-size: 0.75rem;
  margin: 0 0 12px;
}

.gateway-title {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: 0.12em;
  font-weight: 600;
}

.mission-portal-lead { color: var(--muted); }

.js-fade-up {
  animation: fadeIn 0.9s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .highlight-box .story-para { text-align: center; }
}

/* —— 下部 書籍カルーセル —— */
body.has-aq-books {
  padding-bottom: 160px;
}

.aq-book-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(197, 160, 89, 0.35);
  padding: 12px 0 14px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
}

.aq-book-footer-inner {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.aq-book-footer-label {
  flex: 0 0 auto;
  width: 6.5rem;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1.45;
}

.aq-book-footer-label small {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.aq-book-carousel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.aq-book-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: aqBooksScroll 48s linear infinite;
}

.aq-book-carousel:hover .aq-book-track {
  animation-play-state: paused;
}

@keyframes aqBooksScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.aq-book-card {
  flex: 0 0 auto;
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.22);
  background: rgba(20, 18, 14, 0.85);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.aq-book-card:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-3px);
}

.aq-book-cover {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.aq-book-cover-ph {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.aq-book-title {
  font-size: 0.72rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.aq-book-archive {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}

.aq-book-archive:hover {
  background: var(--gold);
  color: #000;
}

@media (max-width: 768px) {
  body.has-aq-books { padding-bottom: 200px; }
  .aq-book-footer-inner { flex-wrap: wrap; gap: 10px; }
  .aq-book-footer-label { width: 100%; text-align: center; }
  .aq-book-archive { margin: 0 auto; }
}
