/* ============================================
   Project Higher - V-liver Agency
   Gaming Style Web Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,500;0,600;0,700;1,500;1,700&family=Teko:wght@400;500;600;700&family=Saira:wght@300;400;500;600;700;900&family=Saira+Stencil+One&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --bg-tertiary: #16161b;
  --bg-card: #1a1a20;
  --text-primary: #ffffff;
  --text-secondary: #b8b8c0;
  --text-muted: #6b6b75;
  --accent: #e60012;
  --accent-bright: #ff1f3a;
  --accent-dim: #8a0010;
  --accent-glow: rgba(230, 0, 18, 0.5);
  --border: #2a2a32;
  --border-light: #3a3a44;
  --grid-line: rgba(230, 0, 18, 0.08);

  --font-display: 'Chakra Petch', 'Noto Sans JP', sans-serif;
  --font-heading: 'Teko', 'Noto Sans JP', sans-serif;
  --font-sub: 'Saira', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

/* グリッド背景 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* スキャンライン */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 12, 0.95);
  border-bottom-color: var(--accent-dim);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

.header-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(230, 0, 18, 0.3));
}

.header-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.header-logo-text .accent {
  color: var(--accent-bright);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(230, 0, 18, 0.15) 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav a:hover {
  color: var(--text-primary);
  background: rgba(230, 0, 18, 0.08);
}

.nav a:hover::before {
  opacity: 1;
}

.nav a.active {
  color: var(--accent-bright);
  background: rgba(230, 0, 18, 0.1);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ハンバーガー */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(230, 0, 18, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(230, 0, 18, 0.1) 0%, transparent 50%),
    var(--bg-primary);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 49%, rgba(230, 0, 18, 0.04) 49%, rgba(230, 0, 18, 0.04) 51%, transparent 51%);
  background-size: 30px 30px;
}

.hero-content {
  max-width: 1240px;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 72px;
  text-align: left;
}

.hero-visual {
  flex-shrink: 0;
  width: 380px;
  max-width: 40vw;
}

.hero-info {
  flex: 1;
  min-width: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(230, 0, 18, 0.45));
  animation: float 4s ease-in-out infinite;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-tag {
  display: inline-block;
  padding: 7px 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--accent-bright);
  border: 1px solid var(--accent-dim);
  background: rgba(230, 0, 18, 0.08);
  margin-bottom: 24px;
  text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #c8c8d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-style: italic;
}

.hero-title .accent {
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.4vw, 40px);
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-jp {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero-jp .accent {
  color: var(--accent-bright);
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 0 40px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--accent);
  border: none;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  cursor: pointer;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-bright);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.hero-cta:hover {
  box-shadow: 0 0 30px var(--accent-glow);
}

.hero-cta:hover::before {
  transform: translateX(0);
}

.hero-cta .arrow {
  font-size: 18px;
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============================================
   セクション共通
   ============================================ */
.section {
  position: relative;
  padding: 120px 32px;
  z-index: 2;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
  position: relative;
}

.section-number {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--accent-bright);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-number::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent-bright);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--accent-bright);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* セクション区切り (斜線) */
.section-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  transform: rotate(-1.5deg);
}

/* ============================================
   ABOUT セクション
   ============================================ */
.about {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.about-text h3 .accent {
  color: var(--accent-bright);
  text-shadow: 0 0 20px var(--accent-glow);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 2;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(230, 0, 18, 0.15) 0%, transparent 70%),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255, 255, 255, 0.02) 30px, rgba(255, 255, 255, 0.02) 31px);
}

.about-visual img {
  position: relative;
  width: 70%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(230, 0, 18, 0.5));
  z-index: 1;
}

/* ============================================
   LEAGUE / RANK セクション
   ============================================ */
.league {
  background: var(--bg-primary);
}

/* リーグ進行ライン (全カードを貫く矢印ライン) */
.league-wrapper {
  position: relative;
  margin-top: 48px;
}

.league-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(230, 0, 18, 0.0) 0%,
    rgba(230, 0, 18, 0.2) 20%,
    rgba(230, 0, 18, 0.5) 60%,
    var(--accent-bright) 100%);
  z-index: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.league-progress-line::after {
  content: '►';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-bright);
  font-size: 14px;
  text-shadow: 0 0 12px var(--accent-glow);
}

.league-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
  align-items: end;
}

.league-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  overflow: hidden;
}

/* 階級ごとに高さ・強度を段階的に上昇 */
.league-card[data-tier="1"] { min-height: 240px; }
.league-card[data-tier="2"] { min-height: 270px; }
.league-card[data-tier="3"] { min-height: 300px; }
.league-card[data-tier="4"] {
  min-height: 340px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(230, 0, 18, 0.15) 100%);
  border-color: var(--accent-dim);
  box-shadow: 0 0 30px rgba(230, 0, 18, 0.15);
}

/* tier 番号 */
.league-card .tier-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.league-card[data-tier="2"] .tier-num { color: rgba(255, 100, 100, 0.7); }
.league-card[data-tier="3"] .tier-num { color: rgba(255, 60, 90, 0.85); }
.league-card[data-tier="4"] .tier-num { color: var(--accent-bright); }

.league-card .tier-num::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* 進行メーター */
.tier-meter {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.tier-meter::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 8px var(--accent-glow);
}

.league-card[data-tier="1"] .tier-meter::after { width: 25%; }
.league-card[data-tier="2"] .tier-meter::after { width: 50%; }
.league-card[data-tier="3"] .tier-meter::after { width: 75%; }
.league-card[data-tier="4"] .tier-meter::after { width: 100%; }

/* TOP バッジ (ICONのみ) */
.league-card .top-badge {
  display: none;
}

.league-card[data-tier="4"] .top-badge {
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 3px;
  z-index: 2;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  box-shadow: 0 0 12px var(--accent-glow);
}

.league-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-6px);
}

.league-card[data-tier="4"]:hover {
  box-shadow: 0 0 40px rgba(230, 0, 18, 0.3);
}

.league-card h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  color: var(--text-primary);
  line-height: 1;
}

.league-card[data-tier="4"] h4 {
  color: var(--accent-bright);
  text-shadow: 0 0 16px rgba(230, 0, 18, 0.4);
  font-size: 42px;
}

.league-card .tier-jp {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.league-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.league-caption {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.league-caption .accent {
  color: var(--accent-bright);
  font-weight: 700;
}

/* ============================================
   SNS セクション
   ============================================ */
.sns {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

/* SNS シングル (X のみ) */
.sns-single {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.sns-card-large {
  max-width: 560px;
  width: 100%;
  padding: 32px 36px;
  gap: 24px;
}

.sns-card-large .sns-icon {
  width: 64px;
  height: 64px;
}

.sns-card-large .sns-icon svg {
  width: 30px;
  height: 30px;
}

.sns-card-large .sns-card-label {
  font-size: 12px;
  letter-spacing: 4px;
}

.sns-card-large .sns-card-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.sns-card-arrow {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent-bright);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.sns-card-large:hover .sns-card-arrow {
  transform: translateX(6px);
}

.sns-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  position: relative;
  overflow: hidden;
}

.sns-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 0, 18, 0.15));
  transition: width 0.3s ease;
}

.sns-card:hover {
  border-color: var(--accent-dim);
  transform: translateX(4px);
}

.sns-card:hover::before {
  width: 50%;
}

.sns-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 0, 18, 0.1);
  border: 1px solid var(--accent-dim);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.sns-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-bright);
}

.sns-card-info {
  position: relative;
  z-index: 1;
}

.sns-card-label {
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sns-card-name {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.05em;
}

/* ============================================
   CONTACT セクション
   ============================================ */
.contact {
  background: var(--bg-primary);
  text-align: center;
}

.contact-box {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 64px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.contact-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(230, 0, 18, 0.08) 0%, transparent 50%),
    radial-gradient(circle at bottom left, rgba(230, 0, 18, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-box h3 {
  font-family: var(--font-heading);
  font-size: 52px;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  position: relative;
}

.contact-box p {
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  position: relative;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--font-sub);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  background: var(--bg-tertiary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.contact-email:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 32px 32px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 36px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
}

.footer-copy {
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================
   MEMBER ページ
   ============================================ */
.page-hero {
  position: relative;
  padding: 180px 32px 80px;
  text-align: center;
  z-index: 2;
  background:
    radial-gradient(ellipse at top, rgba(230, 0, 18, 0.15) 0%, transparent 60%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #6b6b75 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.page-hero .sub {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--accent-bright);
  text-transform: uppercase;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.member-card.coming {
  opacity: 0.55;
}

.member-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-dim);
  box-shadow: 0 20px 40px rgba(230, 0, 18, 0.2);
}

.member-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.member-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(230, 0, 18, 0.04) 40px, rgba(230, 0, 18, 0.04) 41px);
  z-index: 1;
}

.member-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 12, 0.9) 100%);
  z-index: 2;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.member-card:hover .member-image img {
  transform: scale(1.05);
}

.member-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--text-muted);
  font-weight: 900;
  letter-spacing: 4px;
}

.member-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(230, 0, 18, 0.9);
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 3;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.member-badge.coming {
  background: rgba(80, 80, 90, 0.9);
}

.member-info {
  padding: 24px;
  position: relative;
}

.member-rank {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent-bright);
  margin-bottom: 8px;
}

.member-name {
  font-family: var(--font-heading);
  font-size: 36px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  line-height: 1.1;
}

.member-name-en {
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.member-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.member-links a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.member-links a:hover {
  background: rgba(230, 0, 18, 0.1);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.member-links svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.iriam-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.iriam-link:hover .iriam-icon {
  filter: brightness(0) saturate(100%) invert(13%) sepia(95%) saturate(7000%) hue-rotate(350deg) brightness(100%);
  opacity: 1;
}

/* ============================================
   RECRUIT ページ
   ============================================ */
.recruit-intro {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.recruit-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 19px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.recruit-intro p + p {
  margin-top: 24px;
}

.recruit-intro .highlight {
  color: var(--accent-bright);
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.benefit-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 20px var(--accent-glow);
}

.benefit-card h4 {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.audition-box {
  margin-top: 64px;
  padding: 64px 40px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(230, 0, 18, 0.1) 100%);
  border: 1px solid var(--accent-dim);
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.audition-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.2) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.audition-box .label {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--accent-bright);
  margin-bottom: 16px;
  text-transform: uppercase;
  position: relative;
}

.audition-box h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  position: relative;
  text-transform: uppercase;
}

.audition-box p {
  max-width: 480px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  position: relative;
}

.audition-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.audition-cta:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

/* FAQ */
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.faq-q::before {
  content: 'Q';
  font-family: var(--font-display);
  color: var(--accent-bright);
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.faq-q::after {
  content: '+';
  margin-left: auto;
  font-size: 24px;
  color: var(--accent-bright);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-q:hover {
  background: rgba(230, 0, 18, 0.05);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a-inner {
  padding: 0 24px 20px 56px;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 1024px) {
  .league-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .league-progress-line {
    display: none;
  }

  .league-card[data-tier="1"],
  .league-card[data-tier="2"],
  .league-card[data-tier="3"],
  .league-card[data-tier="4"] {
    min-height: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-content {
    gap: 48px;
  }

  .hero-visual {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 12px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: 280px;
    height: calc(100vh - 70px);
    background: var(--bg-secondary);
    border-left: 1px solid var(--accent-dim);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    padding: 14px 20px;
    justify-content: flex-start;
    clip-path: none;
    border: 1px solid var(--border);
  }

  .section {
    padding: 80px 20px;
  }

  .hero {
    padding: 110px 20px 60px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-visual {
    width: 220px;
    max-width: 60vw;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .audition-box {
    padding: 48px 24px;
  }

  .audition-cta {
    padding: 16px 32px;
    font-size: 14px;
    letter-spacing: 2px;
  }

  .member-links {
    flex-direction: column;
    gap: 6px;
  }

  .member-links a {
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: 1px;
    justify-content: center;
  }

  /* ヒーロー説明文：スマホで自然な改行に */
  .hero-desc {
    font-size: 15px;
    line-height: 1.9;
    word-break: auto-phrase;
  }

  /* セクションサブタイトルのフォントサイズ縮小 */
  .section-subtitle {
    font-size: 16px;
    line-height: 1.7;
  }

  /* コンタクトボックスの本文フォントサイズ縮小 */
  .contact-box p {
    font-size: 16px;
    line-height: 1.85;
  }

  /* リクルートページの説明文フォントサイズ縮小 */
  .recruit-intro p {
    font-size: 16px;
    line-height: 1.85;
  }

  /* ベネフィットカードの本文 */
  .benefit-card p {
    font-size: 15px;
  }

  /* SNSカード「X / TWITTER」が折り返さないように */
  .sns-card-large .sns-card-name {
    font-size: 20px;
    white-space: nowrap;
  }

  .sns-card-large .sns-card-label {
    letter-spacing: 2px;
  }

  /* ROOKIE→NEXT→RISING→ICONが折り返さないように */
  .league-caption {
    font-size: 11px;
    letter-spacing: 2px;
  }

  /* メールアドレスが画面からはみ出さないように */
  .contact-email {
    font-size: 13px;
    padding: 14px 20px;
    word-break: break-all;
    text-align: center;
  }

  /* リーグカード：ROOKIEなどがはみ出さないように */
  .league-card {
    padding: 18px 14px;
  }

  .league-card h4 {
    font-size: 20px;
    letter-spacing: 0.02em;
  }

  .league-card[data-tier="4"] h4 {
    font-size: 24px;
  }

  /* TOP TIERバッジをシンプルに */
  .league-card[data-tier="4"] .top-badge {
    background: transparent;
    border: 1px solid var(--accent-dim);
    color: var(--accent-bright);
    box-shadow: none;
    font-size: 8px;
    padding: 3px 7px;
  }

  /* メンバー名「エイゲン・テトラ」が折り返さないように */
  .member-name {
    font-size: 30px;
  }

  /* 「Project Higher」が途中で折り返さないように */
  .recruit-intro .highlight {
    white-space: nowrap;
  }
}

/* ============================================
   フェードイン アニメーション
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
