


*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #eef0f4;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfd;
  --bg-elevated: #ffffff;

  
  --navy-900: #0c1a3a;
  --navy-800: #112244;
  --navy-700: #1a3060;
  --navy-600: #234080;
  --navy-500: #2c5299;
  --navy-400: #3d6ab5;
  --navy-300: #5a85c9;
  --navy-200: #93aed9;
  --navy-100: #c8d6ec;
  --navy-50: #e8edf5;

  
  --gold-600: #8b6914;
  --gold-500: #a67c1a;
  --gold-400: #c49a2a;
  --gold-300: #d4ad3c;
  --gold-200: #e8cc7a;
  --gold-100: #f5e8bc;
  --gold-50: #faf4e0;

  
  --text-primary: #1a1f2e;
  --text-secondary: #4a5068;
  --text-muted: #8890a4;
  --text-light: #b0b6c8;
  --text-white: #ffffff;

  
  --accent-green: #0a8754;
  --accent-green-bg: #e8f5ef;
  --accent-red: #c5342e;
  --accent-red-bg: #fceaea;
  --accent-blue: #1a6bc4;

  
  --border-light: #e2e5ec;
  --border-medium: #cdd2dc;
  --border-gold: rgba(196, 154, 42, 0.3);

  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);

  
  --container-max: 1180px;
  --section-pad: 96px;

  
  --font-serif: 'Playfair Display', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover {
  color: var(--navy-400);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  color: var(--gold-500);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: var(--navy-800);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.04em;
}
.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  color: var(--text-white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: transparent;
  color: var(--navy-800);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid var(--navy-800);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.04em;
}
.btn-outline:hover {
  background: var(--navy-800);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 22px; font-size: 0.78rem; }
.btn-lg { padding: 15px 40px; font-size: 0.9rem; }


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 20px;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-main {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  letter-spacing: 0.18em;
}
.logo-sub {
  display: block;
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


.main-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 4px;
  transition: all 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--navy-800);
  background: var(--bg-secondary);
}
.nav-link.active {
  color: var(--navy-800);
  font-weight: 600;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.stock-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.ticker-label {
  color: var(--text-muted);
  font-weight: 500;
}
.ticker-price {
  color: var(--text-primary);
  font-weight: 600;
}
.ticker-change { font-weight: 600; }
.ticker-change.positive { color: var(--accent-green); }
.ticker-change.negative { color: var(--accent-red); }
.ticker-change.neutral { color: var(--text-muted); }


.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
  transition: all 0.3s var(--ease);
}


.news-ticker {
  margin-top: 68px;
  background: var(--navy-900);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: tickerScroll 90s linear infinite;
  padding-left: 100%;
}
.ticker-item {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.5);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 26, 58, 0.55) 0%,
    rgba(12, 26, 58, 0.45) 50%,
    rgba(255, 255, 255, 0.0) 85%,
    rgba(255, 255, 255, 1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 130px 24px 100px;
  max-width: 780px;
}
.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero-title .gold-text {
  color: var(--gold-200);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-subtitle em {
  color: var(--gold-200);
  font-style: italic;
  font-weight: 400;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 42px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item {
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}
.stat-label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta .btn-primary {
  background: #ffffff;
  color: var(--navy-900);
}
.hero-cta .btn-primary:hover {
  background: var(--gold-100);
  box-shadow: var(--shadow-lg);
}
.hero-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}
.hero-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
}
.hero-scroll-indicator span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.8; }
}


.section {
  padding: var(--section-pad) 0;
}
.section-dark {
  background: var(--bg-primary);
}
.section-gradient {
  background: var(--bg-secondary);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--navy-900);
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-cta {
  text-align: center;
  margin-top: 48px;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 32px 26px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--navy-800);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: 6px 6px 0 0;
}
.feature-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  background: var(--navy-50);
  border-radius: 8px;
}
.feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-900);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


.characters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  text-align: center;
}
.char-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.char-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: all 0.4s var(--ease);
}
.char-card:hover .char-img {
  transform: scale(1.04);
  filter: saturate(1);
}
.char-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: var(--navy-900);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.1em;
}
.char-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 18px 14px 4px;
}
.char-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.char-quote {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-style: italic;
  padding: 8px 14px;
}
.char-ability {
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 8px 14px 18px;
  line-height: 1.8;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 36px 30px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.service-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy-50);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.service-card em {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.service-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--navy-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.ir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.ir-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 26px 22px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.ir-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.ir-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.ir-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.ir-change {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.ir-change.positive { color: var(--accent-green); }
.ir-change.negative { color: var(--accent-red); }
.ir-change.neutral { color: var(--text-muted); }
.ir-note {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
  font-style: italic;
}


.disclaimer-box {
  background: var(--accent-red-bg);
  border: 1px solid rgba(197, 52, 46, 0.15);
  border-radius: 6px;
  padding: 22px 26px;
  text-align: center;
}
.disclaimer-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.disclaimer-box strong {
  color: var(--accent-red);
}


.specs-table-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s var(--ease);
}
.specs-table tr:last-child {
  border-bottom: none;
}
.specs-table tr:hover {
  background: var(--bg-secondary);
}
.specs-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
}
.spec-label {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem !important;
  width: 180px;
}
.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 500;
}


.anthem-container {
  max-width: 800px;
  margin: 0 auto;
}
.anthem-player-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}
.player-visual {
  width: 80px;
  height: 80px;
  background: var(--navy-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}
.record-spin {
  animation: spin 8s linear infinite;
  animation-play-state: paused;
}
.record-spin.spinning {
  animation-play-state: running;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.player-info {
  flex-grow: 1;
}
.player-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.player-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.custom-audio {
  width: 100%;
  height: 40px;
  outline: none;
}
.lyrics-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.lyrics-header {
  background: var(--navy-900);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lyrics-header h4 {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 0;
}
.confidential-tag {
  background: var(--accent-red);
  color: #ffffff;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.15em;
}
.lyrics-content {
  padding: 32px 40px;
  max-height: 400px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-secondary);
  background: #fafbfd;
}
.lyrics-content::-webkit-scrollbar {
  width: 6px;
}
.lyrics-content::-webkit-scrollbar-track {
  background: var(--border-light);
}
.lyrics-content::-webkit-scrollbar-thumb {
  background: var(--navy-200);
  border-radius: 3px;
}
.lyric-section-title {
  color: var(--navy-500);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}
.lyrics-content p:first-child {
  margin-top: 0;
}


.page-hero {
  padding: 140px 0 64px;
  background: var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 18px 0 18px;
  color: var(--navy-900);
}
.page-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 10px;
  line-height: 1.7;
}
.page-hero-small {
  font-size: 0.82rem;
  color: var(--text-muted);
}


.exec-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}
.exec-profile:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}
.exec-profile.reverse {
  grid-template-columns: 1fr 300px;
}
.exec-profile.reverse .exec-portrait {
  order: 2;
}
.exec-profile.reverse .exec-info {
  order: 1;
}

.exec-portrait {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-tertiary);
}
.exec-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.exec-badge-wrap {
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.exec-role-badge {
  padding: 5px 14px;
  background: var(--navy-900);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.15em;
}

.exec-header-row {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.exec-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy-900);
}
.exec-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.exec-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--navy-600);
  padding-left: 18px;
  border-left: 3px solid var(--navy-200);
  margin-bottom: 18px;
  line-height: 1.5;
}
.exec-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}
.exec-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.exec-stat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 6px;
}
.stat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.exec-stat strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 3px;
  color: var(--navy-900);
}
.exec-stat p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.exec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.meta-item {
  padding: 5px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  font-size: 0.72rem;
  color: var(--text-muted);
}


.npc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.npc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.npc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.npc-ally {
  border-left: 4px solid var(--navy-400);
}
.npc-enemy {
  border-left: 4px solid var(--accent-red);
}
.npc-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.npc-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-medium);
}
.npc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.npc-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--navy-900);
}
.npc-role {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.npc-affiliation {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 9px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 3px;
  font-size: 0.65rem;
  color: var(--navy-600);
  letter-spacing: 0.05em;
  font-weight: 600;
}
.npc-quote {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-secondary);
  padding-left: 14px;
  border-left: 3px solid var(--navy-100);
  margin-bottom: 14px;
  line-height: 1.5;
}
.npc-desc p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
.npc-abilities {
  margin-top: 18px;
}
.npc-abilities h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.npc-abilities ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.npc-abilities li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 1px solid var(--border-light);
}
.npc-special {
  margin-top: 20px;
  padding: 18px;
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  border-radius: 6px;
}
.npc-special h4 {
  font-size: 0.85rem;
  color: var(--gold-600);
  margin-bottom: 8px;
}
.npc-special p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}
.npc-reaction {
  color: var(--text-muted) !important;
  font-style: italic;
  font-size: 0.78rem !important;
}


.sec-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-red);
  border-radius: 8px;
  padding: 36px;
}
.sec-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.sec-icon {
  font-size: 2.2rem;
}
.sec-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-900);
}
.sec-subtitle {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.sec-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.sec-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sec-stat {
  text-align: center;
  padding: 18px;
  background: var(--accent-red-bg);
  border: 1px solid rgba(197, 52, 46, 0.1);
  border-radius: 6px;
}
.sec-stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.sec-stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-red);
}


.org-chart-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 36px 0;
}
.org-tier {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.org-node {
  text-align: center;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  min-width: 120px;
  transition: all 0.25s var(--ease);
}
.org-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.org-emoji {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.org-node-name {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.org-node-title {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.org-node-host {
  border-color: var(--navy-200);
  background: var(--navy-50);
}
.org-node-bank {
  border-color: var(--gold-200);
  background: var(--gold-50);
}
.org-node-player {
  border-color: var(--navy-100);
}
.org-node-threat {
  border-color: rgba(197, 52, 46, 0.2);
  background: var(--accent-red-bg);
}
.org-node-chaos {
  border-color: rgba(234, 134, 46, 0.25);
  background: #fff8ef;
}
.org-connector {
  width: 2px;
  height: 28px;
  background: var(--border-medium);
  margin: 0 auto;
}
.org-connector-multi {
  width: 55%;
  height: 2px;
  background: var(--border-medium);
  margin: 0 auto;
  position: relative;
}
.org-connector-multi::before,
.org-connector-multi::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 22px;
  background: var(--border-medium);
}
.org-connector-multi::before {
  top: -22px;
  left: 50%;
}
.org-connector-multi::after {
  bottom: -22px;
  left: 50%;
  display: none;
}


.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand .logo-main {
  color: #ffffff;
}
.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.4);
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-links a,
.footer-links p {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 9px;
  transition: color 0.25s var(--ease);
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 3px;
}
.footer-fine-print {
  font-size: 0.65rem !important;
  color: rgba(255, 255, 255, 0.2) !important;
}


@media (max-width: 1024px) {
  /* Collapse the nav to a hamburger on tablets / narrow laptops so the
     header never overflows (English nav labels are wide). */
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-actions { margin-left: auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .characters-row { grid-template-columns: repeat(2, 1fr); }
  .ir-grid { grid-template-columns: repeat(2, 1fr); }
  .npc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .exec-profile,
  .exec-profile.reverse {
    grid-template-columns: 1fr;
  }
  .exec-profile.reverse .exec-portrait { order: 0; }
  .exec-profile.reverse .exec-info { order: 0; }
  .exec-portrait { max-width: 300px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .main-nav { display: none; }
  .header-actions .stock-ticker { display: none; }
  .mobile-menu-btn { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .characters-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .ir-grid { grid-template-columns: 1fr 1fr; }
  .sec-stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-value { font-size: 1.3rem; }
  .exec-profile { padding: 22px; gap: 20px; }
  .org-tier-exec { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 280px; }
  .hero-stats { gap: 14px; }
  .characters-row { grid-template-columns: 1fr; }
  .ir-grid { grid-template-columns: 1fr; }
}


.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Mobile nav panel. NOTE: position must be absolute, not fixed — the header's
   backdrop-filter turns it into the containing block for fixed descendants,
   which collapsed the old fixed panel to zero height. The header itself is
   position: fixed, so an absolute panel anchored to its bottom edge behaves
   like a fixed full-screen sheet. */
@media (max-width: 1024px) {
  body.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 16px 32px rgba(12, 26, 58, 0.10);
    padding: 16px 24px 28px;
    gap: 4px;
  }
}
body.nav-open .nav-link {
  font-size: 1rem;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}
body.nav-open .mobile-menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
body.nav-open .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}
body.nav-open .mobile-menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


.steam-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 58, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.steam-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.steam-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s var(--ease);
}
.steam-modal-overlay.visible .steam-modal {
  transform: translateY(0) scale(1);
}
.steam-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}
.steam-modal-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
}
.steam-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s var(--ease);
}
.steam-modal-close:hover {
  color: var(--accent-red);
}
.steam-modal-body {
  padding: 24px;
}
.steam-modal-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}
.steam-modal-body p:last-child {
  margin-bottom: 0;
}
.steam-modal-body strong {
  color: var(--navy-900);
}
.steam-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-secondary);
  border-radius: 0 0 8px 8px;
}

.lang-btn.active {
  color: var(--navy-900) !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* --- Language visibility: show only the active language --- */
html[lang="en"] .lang-ja,
html[lang="ja"] .lang-en {
  display: none;
}

/* --- Header: keep it on one line at every width & language --- */
.nav-link { white-space: nowrap; }
.header-actions .btn-primary { white-space: nowrap; }
/* The stock ticker (decorative) and the header wishlist CTA (duplicated in the
   hero) are the widest header items and only fit on wide screens. Below the
   container width, hide them so logo + nav + language switch never overflow. */
@media (max-width: 1200px) {
  .header-actions .stock-ticker,
  .header-actions #btn-open-account { display: none; }
}

/* Japanese Typography & Layout Adjustments */
html[lang="ja"] body {
  word-break: auto-phrase;
  line-height: 1.8;
}
html[lang="ja"] .logo-main,
html[lang="ja"] .section-title,
html[lang="ja"] .page-hero-title,
html[lang="ja"] .hero-title,
html[lang="ja"] .char-name,
html[lang="ja"] .npc-name,
html[lang="ja"] .sec-header h3,
html[lang="ja"] .service-number {
  font-family: var(--font-serif);
}

html[lang="ja"] .logo-main { letter-spacing: 0.1em; }
html[lang="ja"] .logo-sub { letter-spacing: 0.05em; font-size: 0.5rem; }
html[lang="ja"] .section-tag,
html[lang="ja"] .stat-label,
html[lang="ja"] .hero-badge,
html[lang="ja"] .char-badge,
html[lang="ja"] .service-tag,
html[lang="ja"] .ir-label,
html[lang="ja"] .sec-stat-label,
html[lang="ja"] .footer-links h4,
html[lang="ja"] .exec-role-badge,
html[lang="ja"] .exec-role,
html[lang="ja"] .npc-role,
html[lang="ja"] .spec-label {
  letter-spacing: 0.05em;
}

html[lang="ja"] .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html[lang="ja"] .page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html[lang="ja"] .section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

html[lang="ja"] .btn-primary,
html[lang="ja"] .btn-outline {
  letter-spacing: 0.02em;
  font-weight: 700;
}

@media (max-width: 768px) {
  .header-actions { gap: 10px; }
  .header-actions #btn-open-account { display: none; } /* Hide large button on mobile to prevent overflow */
}

/* Bilingual lyrics — English + Japanese shown together, section by section */
.lyric-block {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border-light);
}
.lyric-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.lyric-block .lyric-section-title {
  margin-top: 0;
}
.lyric-section-sub {
  margin-left: 10px;
  font-weight: 500;
  font-size: 0.82em;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.lyric-en {
  color: var(--text-primary);
  margin-bottom: 10px;
}
.lyric-ja {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  font-size: 0.92em;
  line-height: 1.7;
  padding-left: 12px;
  border-left: 2px solid var(--border-medium);
}

/* English mode: show the English lyrics only (the Japanese translation and
   Japanese section labels are an aid for JP readers, shown only in JA mode). */
html[lang="en"] .lyric-ja,
html[lang="en"] .lyric-section-sub {
  display: none;
}

/* --- Corporate quality pass ---------------------------------------------- */

/* Language switcher (was inline styles in the HTML) */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 10px;
}
.lang-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 2px 4px;
  font: inherit;
}

/* Steam CTA inside the mobile nav panel (hidden in the desktop nav row) */
.mobile-nav-cta {
  display: none;
}
@media (max-width: 1024px) {
  body.nav-open .main-nav .mobile-nav-cta {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
  }
}

/* Visible keyboard focus for interactive elements */
.nav-link:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.lang-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.steam-modal-close:focus-visible {
  outline: 2px solid var(--navy-400);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Very small phones: keep the one-line header intact */
@media (max-width: 400px) {
  .header-inner { padding: 0 16px; gap: 12px; }
  .logo-sub { display: none; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-content,
  .record-spin,
  .scroll-arrow {
    animation: none;
  }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Twitter follow CTAs -------------------------------------------------- */

/* Hero (dark background): glassy pill */
.hero-follow {
  margin-top: 24px;
}
.hero-follow a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.hero-follow a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}
.hero-follow-icon { font-size: 1rem; }

/* Executives page hero (light background): navy pill */
.page-hero-follow {
  margin-top: 18px;
}
.page-hero-follow a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--navy-100);
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}
.page-hero-follow a:hover {
  background: var(--navy-100);
  border-color: var(--navy-200);
  color: var(--navy-900);
  transform: translateY(-1px);
}

/* Twitter link inside the mobile nav panel */
.mobile-nav-social { display: none; }
@media (max-width: 1024px) {
  body.nav-open .main-nav .mobile-nav-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-600);
  }
  body.nav-open .main-nav .mobile-nav-social:hover { color: var(--navy-900); }
}
