/* ===== リセット & 基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #0a0508;
  color: #e8d9c0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== カスタムプロパティ ===== */
:root {
  --fire: #e85b20;
  --fire-light: #ff9a4d;
  --fire-dark: #8b1a00;
  --gold: #c9a227;
  --gold-light: #f0d060;
  --water: #1e6fb5;
  --water-light: #5bb8f5;
  --earth: #8b6914;
  --earth-light: #c9a040;
  --thunder: #7b2db5;
  --thunder-light: #c96df0;
  --wind: #1a8b5a;
  --wind-light: #4de0a0;
  --dark1: #0a0508;
  --dark2: #130a0e;
  --dark3: #1e0f15;
  --dark4: #2a1520;
}

/* ===== ナビゲーション ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,5,8,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,162,39,0.2);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10,5,8,0.97);
  border-bottom-color: rgba(201,162,39,0.4);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-logo {
  display: flex; flex-direction: column;
  line-height: 1.1; gap: 1px;
}
.nav-logo-sub {
  font-size: 10px; color: var(--gold); letter-spacing: 0.15em;
  font-family: 'Noto Serif JP', serif;
}
.nav-logo-main {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 14px;
  color: #fff; letter-spacing: 0.08em;
  background: linear-gradient(90deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  padding: 8px 14px; font-size: 13px; border-radius: 6px;
  color: #ccc; transition: all 0.2s;
  font-family: 'Noto Serif JP', serif;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link-cta {
  background: linear-gradient(135deg, var(--fire) 0%, var(--fire-dark) 100%);
  color: #fff !important; border: 1px solid rgba(232,91,32,0.5);
  box-shadow: 0 0 12px rgba(232,91,32,0.3);
  padding: 8px 18px; border-radius: 8px; font-weight: 600;
}
.nav-link-cta:hover {
  background: linear-gradient(135deg, var(--fire-light) 0%, var(--fire) 100%);
  box-shadow: 0 0 20px rgba(232,91,32,0.6);
  transform: translateY(-1px);
}
.nav-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: #ccc; border-radius: 2px; transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 12px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #ccc; font-size: 15px;
}
.mobile-link-cta {
  color: var(--fire-light); font-weight: 700;
}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 64px; overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #2a0d05 0%, #130a0e 40%, #0a0508 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-ember { position: absolute; inset: 0; }

/* 炎のエンバー */
.ember {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: emberFloat linear infinite;
  background: radial-gradient(circle, var(--fire-light) 0%, var(--fire) 40%, transparent 70%);
}
@keyframes emberFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(0.3) translateX(var(--drift)); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 60px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  width: 100%;
}

/* 全幅ヒーローバナー */
.hero-fullbanner {
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero-fullbanner-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
}
.hero-fullbanner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 341;
  object-fit: contain;
  display: block;
}
.hero-fullbanner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 48px 80px;
  background: linear-gradient(to top, rgba(10,5,8,0.92) 0%, rgba(10,5,8,0.6) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  color: #1a0a00; font-size: 11px; font-weight: 800;
  padding: 4px 16px; border-radius: 20px; letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.hero-genre-row {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hero-genre-tag {
  font-size: 11px; padding: 4px 10px; border-radius: 4px;
  background: rgba(232,91,32,0.15); border: 1px solid rgba(232,91,32,0.35);
  color: var(--fire-light); font-weight: 600;
}
.hero-genre-sep { color: var(--gold); font-size: 12px; }
.hero-copy {
  font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700;
  line-height: 1.6; color: #fff; margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(232,91,32,0.4);
  text-align: center;
}
.hero-release {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.hero-release-label {
  font-size: 11px; color: var(--gold); letter-spacing: 0.1em;
  border: 1px solid var(--gold); padding: 3px 10px; border-radius: 4px;
}
.hero-release-date {
  font-family: 'Cinzel', serif; font-size: 22px; font-weight: 700;
  color: var(--gold-light); text-shadow: 0 0 20px rgba(201,162,39,0.5);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--fire) 0%, #c04010 100%);
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(232,91,32,0.5), 0 0 40px rgba(232,91,32,0.2);
  transition: all 0.25s ease;
  border: 1px solid rgba(255,154,77,0.3);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(232,91,32,0.7), 0 0 60px rgba(232,91,32,0.3);
}
.btn-hero-secondary {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.06); color: #ccc;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 15px; padding: 14px 24px; border-radius: 10px;
  transition: all 0.25s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }

.hero-banner-img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 12px 60px rgba(232,91,32,0.3), 0 0 100px rgba(201,162,39,0.1);
  animation: heroBannerFloat 5s ease-in-out infinite;
}
@keyframes heroBannerFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.01); }
}
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(201,162,39,0.5); font-size: 10px; letter-spacing: 0.2em;
  z-index: 2; animation: scrollHintBob 2s ease-in-out infinite;
}
@keyframes scrollHintBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(201,162,39,0.6), transparent);
}

/* ===== 共通セクション ===== */
.section { padding: 100px 0; position: relative; }
.sec-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-label {
  display: inline-block; font-family: 'Cinzel', serif; font-size: 11px;
  letter-spacing: 0.3em; color: var(--gold); margin-bottom: 10px;
  position: relative;
}
.sec-label::before, .sec-label::after {
  content: '―'; margin: 0 8px; color: rgba(201,162,39,0.4);
}
.sec-title {
  font-family: 'Noto Serif JP', serif; font-size: 36px; font-weight: 900;
  color: #fff; margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(201,162,39,0.3);
}
.sec-divider {
  width: 60px; height: 2px; margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sec-sub { color: rgba(232,213,192,0.6); font-size: 14px; }

/* ===== ストーリーセクション ===== */
.story-section {
  background: linear-gradient(180deg, #0a0508 0%, #130a0e 50%, #0a0508 100%);
}
.story-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.story-lead {
  font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700;
  color: #fff; line-height: 1.7; margin-bottom: 24px;
  text-shadow: 0 2px 15px rgba(232,91,32,0.3);
}
.story-body {
  font-size: 15px; line-height: 1.9; color: rgba(232,213,192,0.8);
  margin-bottom: 16px;
}
.story-body strong { color: var(--gold-light); }
.story-img-wrap { position: relative; }
.story-img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 12px 50px rgba(232,91,32,0.25), 0 0 80px rgba(201,162,39,0.08);
}
.story-img-glow {
  position: absolute; inset: -20px; border-radius: 20px;
  background: radial-gradient(ellipse, rgba(232,91,32,0.15) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}

/* ===== システムセクション ===== */
.system-section {
  background: linear-gradient(180deg, #0a0508 0%, #0e080d 100%);
}
.system-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(201,162,39,0.03) 0px, rgba(201,162,39,0.03) 1px, transparent 1px, transparent 60px),
                    repeating-linear-gradient(90deg, rgba(201,162,39,0.03) 0px, rgba(201,162,39,0.03) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.sys-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 60px;
}
.sys-card {
  background: rgba(255,255,255,0.03); border-radius: 16px;
  padding: 32px 24px; border: 1px solid rgba(201,162,39,0.12);
  transition: all 0.3s ease; text-align: center;
  position: relative; overflow: hidden;
}
.sys-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 16px 16px 0 0;
}
.sys-fire::before { background: linear-gradient(90deg, var(--fire), var(--fire-light)); }
.sys-water::before { background: linear-gradient(90deg, var(--water), var(--water-light)); }
.sys-thunder::before { background: linear-gradient(90deg, var(--thunder), var(--thunder-light)); }
.sys-wind::before { background: linear-gradient(90deg, var(--wind), var(--wind-light)); }
.sys-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.3);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.sys-card-icon { font-size: 36px; margin-bottom: 14px; }
.sys-card h3 {
  font-family: 'Noto Serif JP', serif; font-size: 14px; font-weight: 700;
  color: var(--gold-light); margin-bottom: 12px; line-height: 1.4;
}
.sys-card p { font-size: 13px; color: rgba(232,213,192,0.65); line-height: 1.8; }

/* フロー */
.flow-wrap {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(201,162,39,0.1);
  border-radius: 20px; padding: 40px;
}
.flow-title {
  font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700;
  color: var(--gold-light); text-align: center; margin-bottom: 32px;
}
.flow-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.flow-step {
  background: rgba(201,162,39,0.08); border: 1px solid rgba(201,162,39,0.2);
  border-radius: 14px; padding: 24px 20px; text-align: center;
  flex: 1; min-width: 160px;
}
.flow-num {
  font-family: 'Cinzel', serif; font-size: 28px; font-weight: 900;
  color: var(--gold); margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(201,162,39,0.4);
}
.flow-step h4 {
  font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.flow-step p { font-size: 12px; color: rgba(232,213,192,0.55); line-height: 1.6; }
.flow-arr { color: var(--gold); font-size: 20px; opacity: 0.5; flex-shrink: 0; }

/* ===== キャラクターセクション ===== */
.char-section {
  background: linear-gradient(180deg, #0a0508 0%, #100812 50%, #0a0508 100%);
}
.char-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 32px; flex-wrap: wrap;
}
.char-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(232,213,192,0.6); font-size: 14px;
  cursor: pointer; transition: all 0.25s;
  font-family: 'Noto Serif JP', serif;
}
.char-tab:hover { background: rgba(255,255,255,0.08); color: #fff; }
.char-tab.active {
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(201,162,39,0.08));
  border-color: var(--gold);
  color: var(--gold-light); font-weight: 700;
  box-shadow: 0 0 16px rgba(201,162,39,0.15);
}
.char-tab span { font-size: 18px; }

.char-panels { position: relative; }
.char-panel {
  display: none; animation: charFadeIn 0.5s ease;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(201,162,39,0.12);
  position: relative;
}
.char-panel.active { display: block; }
@keyframes charFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.char-panel-bg {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.9;
}
.fire-bg { background: radial-gradient(ellipse at 70% 50%, #2a0d05 0%, #180808 60%, #0d0506 100%); }
.water-bg { background: radial-gradient(ellipse at 70% 50%, #041830 0%, #081220 60%, #050a12 100%); }
.earth-bg { background: radial-gradient(ellipse at 70% 50%, #1e1004 0%, #150c04 60%, #0c0802 100%); }
.thunder-bg { background: radial-gradient(ellipse at 70% 50%, #150820 0%, #100818 60%, #08050e 100%); }
.wind-bg { background: radial-gradient(ellipse at 70% 50%, #041a0e 0%, #051510 60%, #030c08 100%); }

.char-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 0; min-height: 560px;
}
.char-img-col {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.char-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.5s ease;
}
.char-panel:hover .char-img { transform: scale(1.03); }
.char-glow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; border-radius: 50%;
  pointer-events: none; filter: blur(40px); opacity: 0.5;
}
.fire-glow { background: var(--fire); }
.water-glow { background: var(--water-light); }
.earth-glow { background: var(--earth-light); }
.thunder-glow { background: var(--thunder-light); }
.wind-glow { background: var(--wind-light); }

.char-info {
  padding: 40px 40px 40px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.char-el-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px;
  letter-spacing: 0.06em;
}
.fire-badge { background: rgba(232,91,32,0.15); border: 1px solid rgba(232,91,32,0.4); color: var(--fire-light); }
.water-badge { background: rgba(30,111,181,0.15); border: 1px solid rgba(91,184,245,0.4); color: var(--water-light); }
.earth-badge { background: rgba(139,105,20,0.15); border: 1px solid rgba(201,160,64,0.4); color: var(--earth-light); }
.thunder-badge { background: rgba(123,45,181,0.15); border: 1px solid rgba(201,109,240,0.4); color: var(--thunder-light); }
.wind-badge { background: rgba(26,139,90,0.15); border: 1px solid rgba(77,224,160,0.4); color: var(--wind-light); }

.char-name {
  font-family: 'Noto Serif JP', serif; font-size: 30px; font-weight: 900;
  color: #fff; line-height: 1.2;
  text-shadow: 0 2px 20px rgba(201,162,39,0.3);
}
.char-en { font-family: 'Cinzel', serif; font-size: 13px; color: rgba(201,162,39,0.7); letter-spacing: 0.12em; }
.char-nick { font-size: 13px; color: rgba(232,213,192,0.7); }
.char-nick strong { color: var(--gold-light); }
.char-nick small { font-size: 11px; color: rgba(201,162,39,0.45); }

.char-stats { display: flex; flex-direction: column; gap: 6px; }
.char-stat {
  display: flex; align-items: center; gap: 0;
  padding: 7px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.stat-l {
  font-size: 12px; color: rgba(232,213,192,0.55); min-width: 100px;
}
.stat-v { font-size: 13px; font-weight: 600; color: #fff; }

.char-desc { font-size: 13px; color: rgba(232,213,192,0.7); line-height: 1.9; }
.char-feats { display: flex; flex-direction: column; gap: 8px; }
.char-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(232,213,192,0.7); line-height: 1.6;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.char-feat span { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.char-quote {
  font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700;
  line-height: 1.7; padding: 16px 20px; border-radius: 10px;
  margin-top: 4px; border-left: 3px solid;
}
.fire-quote  { background: rgba(232,91,32,0.08); border-color: var(--fire); color: #ffb080; }
.water-quote { background: rgba(30,111,181,0.08); border-color: var(--water-light); color: #80d0ff; }
.earth-quote { background: rgba(139,105,20,0.08); border-color: var(--earth-light); color: #d4aa60; }
.thunder-quote { background: rgba(123,45,181,0.08); border-color: var(--thunder-light); color: #d090ff; }
.wind-quote  { background: rgba(26,139,90,0.08); border-color: var(--wind-light); color: #80eeaa; }

/* ===== 購入セクション ===== */
.purchase-section {
  background: linear-gradient(180deg, #0a0508 0%, #150a0e 100%);
  overflow: hidden;
}
.purchase-fire-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pf1, .pf2 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(120px); opacity: 0.06;
}
.pf1 { background: var(--fire); top: -200px; left: -100px; }
.pf2 { background: var(--gold); bottom: -200px; right: -100px; }

.purchase-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: stretch;
}
.purchase-layout-single {
  display: flex; justify-content: center;
}
.purchase-layout-single .purchase-card {
  max-width: 600px; width: 100%;
}
.purchase-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(201,162,39,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.purchase-card-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.purchase-rel { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.purchase-rel-label {
  font-size: 11px; border: 1px solid var(--gold); color: var(--gold);
  padding: 3px 10px; border-radius: 4px; letter-spacing: 0.08em;
}
.purchase-rel-date {
  font-family: 'Cinzel', serif; font-size: 24px; font-weight: 700;
  color: var(--gold-light); text-shadow: 0 0 20px rgba(201,162,39,0.4);
}
.purchase-title {
  font-family: 'Cinzel', serif; font-size: 26px; font-weight: 700;
  color: #fff; line-height: 1.3; margin-bottom: 20px;
}
.purchase-title span { font-size: 20px; color: var(--gold-light); }
.purchase-platforms { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.plat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 6px 16px; font-size: 13px; color: #ccc;
}
.purchase-note { font-size: 12px; color: rgba(232,213,192,0.4); margin-bottom: 24px; }
.purchase-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 8px;
}
.btn-dlsite {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #e05020 0%, #a02800 100%);
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(224,80,32,0.4);
  transition: all 0.25s;
}
.btn-dlsite:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(224,80,32,0.6); }
.btn-fanza {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #2060c0 0%, #103080 100%);
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px; border-radius: 12px;
  box-shadow: 0 4px 20px rgba(32,96,192,0.4);
  transition: all 0.25s;
}
.btn-fanza:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(32,96,192,0.6); }

/* ===== スペックカード ===== */
.spec-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,162,39,0.08);
  display: flex; flex-direction: column;
}
.spec-icon-wrap {
  width: 100%;
  padding: 32px 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(201,162,39,0.15);
}
.spec-icon-img {
  width: 200px; height: 200px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 15px rgba(232,91,32,0.15);
  display: block;
}
.spec-block {
  padding: 28px 32px 32px;
  flex: 1;
}
.spec-label {
  font-family: 'Cinzel', serif; font-size: 10px;
  letter-spacing: 0.3em; color: var(--gold); margin-bottom: 4px;
}
.spec-title {
  font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700;
  color: #fff; margin-bottom: 20px;
  border-bottom: 1px solid rgba(201,162,39,0.2); padding-bottom: 12px;
}
.spec-table {
  width: 100%; border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.spec-table th {
  font-size: 12px; color: var(--gold); font-weight: 600;
  padding: 10px 0; white-space: nowrap; width: 80px;
  vertical-align: top; padding-right: 16px;
  font-family: 'Noto Serif JP', serif; letter-spacing: 0.05em;
}
.spec-table td {
  font-size: 13px; color: rgba(232,213,192,0.85);
  padding: 10px 0; line-height: 1.7;
}
.purchase-circle { display: flex; align-items: center; gap: 14px; }
.circle-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.circle-name { font-size: 14px; font-weight: 700; color: var(--gold-light); }
.circle-sub { font-size: 12px; color: rgba(232,213,192,0.4); }

.other-works {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,162,39,0.1);
  border-radius: 20px; padding: 32px;
}
.other-works h3 {
  font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700;
  color: var(--gold-light); margin-bottom: 20px;
}
.other-list { display: flex; flex-direction: column; gap: 12px; }
.other-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s;
}
a.other-item:hover { background: rgba(255,255,255,0.07); transform: translateX(4px); }
.other-icon { font-size: 24px; }
.other-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.other-status { font-size: 12px; color: rgba(232,213,192,0.45); }
.other-current { border-color: rgba(201,162,39,0.25); background: rgba(201,162,39,0.05); }
.other-coming { color: var(--gold-light) !important; font-weight: 600; }

/* ===== フッター ===== */
.footer {
  background: #050305;
  border-top: 1px solid rgba(201,162,39,0.15);
  padding: 40px 0 28px;
}
.footer-in {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  text-align: center;
}
.footer-circle-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-circle-link:hover { opacity: 0.75; }
.footer-circle {
  font-family: 'Noto Serif JP', serif; font-size: 14px; font-weight: 700;
  color: var(--gold);
}
.footer-circle-sub {
  font-size: 10px; letter-spacing: 0.1em;
  color: rgba(201,162,39,0.5); margin-top: 2px;
}
.footer-game {
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.1em;
  color: rgba(201,162,39,0.4);
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 13px; color: rgba(232,213,192,0.4); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-copy { font-size: 12px; color: rgba(232,213,192,0.3); }
.footer-note { font-size: 11px; color: rgba(232,213,192,0.2); display: block; margin-top: 6px; }

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .sys-cards { grid-template-columns: repeat(2, 1fr); }
  .char-layout { grid-template-columns: 1fr 1.6fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { order: -1; }
  .hero-copy { font-size: 18px; }
  .hero-logo-img { width: min(240px, 100%); }
  .hero-fullbanner-img { /* アスペクト比維持のため高さ指定不要 */ }
  .hero-fullbanner-overlay { padding: 32px 24px 60px; }
  .story-layout { grid-template-columns: 1fr; }
  .sys-cards { grid-template-columns: 1fr 1fr; }
  .char-layout { grid-template-columns: 1fr; min-height: auto; }
  .char-img { max-height: 340px; object-fit: cover; object-position: top center; }
  .char-info { padding: 28px 20px; }
  .char-name { font-size: 24px; }
  .flow-steps { flex-direction: column; }
  .flow-arr { transform: rotate(90deg); }
  .purchase-layout { grid-template-columns: 1fr; }
  .sec-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .hero-genre-row { gap: 4px; }
  .hero-genre-tag { font-size: 10px; padding: 3px 7px; }
  .char-tabs { gap: 6px; }
  .char-tab { padding: 8px 14px; font-size: 12px; }
  .sys-cards { grid-template-columns: 1fr; }
}

/* ===== 立ち絵最適化 ===== */
.char-img-col {
  background: transparent !important;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 0 0 20px;
}
.char-img {
  width: auto !important;
  max-width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
  mix-blend-mode: normal;
}
/* 属性ごとの立ち絵グロー */
[data-el="fire"] .char-img {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(232,91,32,0.25));
}
[data-el="water"] .char-img {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(91,184,245,0.25));
}
[data-el="earth"] .char-img {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(201,160,64,0.25));
}
[data-el="thunder"] .char-img {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(201,109,240,0.25));
}
[data-el="wind"] .char-img {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(77,224,160,0.25));
}
/* ホバーアニメーション */
.char-panel:hover .char-img {
  transform: scale(1.02) translateY(-4px);
  transition: transform 0.5s ease;
}
@media (max-width: 768px) {
  .char-img { height: 300px; }
}

/* ===== PV（プロモーションビデオ）セクション ===== */
.pv-section {
  padding: 48px 0;
  background: var(--dark2);
  position: relative;
}
.pv-video-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}
.pv-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(232, 91, 32, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.15);
  background: #000;
}
.pv-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

