@charset "UTF-8";
/* =========================================================
   QDT47 — QUALIFY OR DIE TRYING
   鋼鉄の魔上 CYBER STEEL DEMON DESIGN SYSTEM
   ※ css/style.css はこのファイルから自動生成されます。
     直接 css/style.css を編集せず、このファイルを編集して
     ビルド(再コンパイル)してください。
========================================================= */
/* ===== CSS VARIABLES ===== */
:root {
  --bg-base: #060912;
  --bg-mid: #0b1227;
  --bg-card: rgba(8, 14, 34, 0.88);
  --bg-card2: rgba(10, 18, 46, 0.95);
  --bg-input: rgba(4, 8, 22, 0.9);
  --neon-red: #ff1e3c;
  --neon-red-dim: rgba(255, 30, 60, 0.15);
  --neon-blue: #00c8ff;
  --neon-blue-dim: rgba(0, 200, 255, 0.1);
  --neon-cyan: #00fff7;
  --text-main: #ddeeff;
  --text-sub: #4e6a8e;
  --text-dim: #263549;
  --border-soft: rgba(0, 200, 255, 0.14);
  --border-red: rgba(255, 30, 60, 0.35);
  --glow-red:
    0 0 8px rgba(255, 30, 60, 0.9), 0 0 30px rgba(255, 30, 60, 0.4),
    0 0 80px rgba(255, 30, 60, 0.1);
  --glow-blue:
    0 0 8px rgba(0, 200, 255, 0.9), 0 0 30px rgba(0, 200, 255, 0.3),
    0 0 80px rgba(0, 200, 255, 0.1);
  --glow-cyan: 0 0 8px rgba(0, 255, 247, 0.9), 0 0 30px rgba(0, 255, 247, 0.3);
  /* backward compat aliases */
  --flame-red: var(--neon-red);
  --flame-orange: var(--neon-blue);
  --flame-gold: var(--neon-cyan);
  --flame-deep: var(--bg-mid);
  --bg-dark: var(--bg-base);
  --bg-dark2: var(--bg-mid);
  --shadow-flame: var(--glow-red);
  --success: #00ff88;
  --warn: #ffcc00;
  --danger: var(--neon-red);
  --radius: 2px;
  --header-h: 64px;
}

/* ===== RESET ===== */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background: linear-gradient(160deg, #060912 0%, #070d1e 60%, #06091a 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* グリッド背景 + 点滅 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 200, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 200, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  -webkit-animation: gridFlicker 9s ease-in-out infinite;
  animation: gridFlicker 9s ease-in-out infinite;
}

@-webkit-keyframes gridFlicker {
  0%, 44%, 56%, 77%, 83%, 100% {
    opacity: 1;
  }
  48% {
    opacity: 0.25;
  }
  52% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.1;
  }
  80% {
    opacity: 0.4;
  }
}
@keyframes gridFlicker {
  0%, 44%, 56%, 77%, 83%, 100% {
    opacity: 1;
  }
  48% {
    opacity: 0.25;
  }
  52% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.1;
  }
  80% {
    opacity: 0.4;
  }
}
/* 右から左へ流れるビーム */
body::after {
  content: "";
  position: fixed;
  right: 0;
  width: 180px;
  height: 2px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, var(--neon-blue)), color-stop(70%, var(--neon-cyan)), to(transparent));
  background: linear-gradient(90deg, transparent, var(--neon-blue) 50%, var(--neon-cyan) 70%, transparent);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  -webkit-animation: beamRTL 14s linear infinite;
  animation: beamRTL 14s linear infinite;
}

@-webkit-keyframes beamRTL {
  /* 1本目 */
  0% {
    top: 22%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  }
  3% {
    opacity: 0.75;
  }
  42% {
    opacity: 0.75;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 22%;
  }
  44% {
    opacity: 0;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 22%;
  }
  45% {
    top: 67%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  } /* 瞬間リセット */
  /* 2本目 */
  48% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 67%;
  }
  92% {
    opacity: 0;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 67%;
  }
  94% {
    top: 22%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  } /* 次サイクルへ */
  100% {
    top: 22%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  }
}
@keyframes beamRTL {
  /* 1本目 */
  0% {
    top: 22%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  }
  3% {
    opacity: 0.75;
  }
  42% {
    opacity: 0.75;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 22%;
  }
  44% {
    opacity: 0;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 22%;
  }
  45% {
    top: 67%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  } /* 瞬間リセット */
  /* 2本目 */
  48% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 67%;
  }
  92% {
    opacity: 0;
    -webkit-transform: translateX(-115vw);
    transform: translateX(-115vw);
    top: 67%;
  }
  94% {
    top: 22%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  } /* 次サイクルへ */
  100% {
    top: 22%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 0;
  }
}
a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 0.5em;
}

.accent-text {
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-red)), color-stop(50%, var(--text-main)), to(var(--neon-blue)));
  background: linear-gradient(90deg, var(--neon-red), var(--text-main) 50%, var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p {
  line-height: 1.8;
  color: var(--text-sub);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===================== ヘッダー ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(6, 9, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--neon-blue);
  -webkit-box-shadow: 0 0 24px rgba(0, 200, 255, 0.18), 0 2px 40px rgba(0, 0, 0, 0.9);
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.18), 0 2px 40px rgba(0, 0, 0, 0.9);
}

.site-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-logo .logo-mark {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-filter: drop-shadow(0 0 6px rgba(255, 30, 60, 0.7));
  filter: drop-shadow(0 0 6px rgba(255, 30, 60, 0.7));
  -webkit-animation: markPulse 4s ease-in-out infinite;
  animation: markPulse 4s ease-in-out infinite;
}

.site-logo .logo-text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 2px;
}

.site-logo .logo-qdt {
  font-family: "Kaushan Script", cursive;
  font-size: 1.35em;
  background: -webkit-gradient(linear, left top, right top, from(#88c4e8), color-stop(50%, #ddeeff), to(#aad4ff));
  background: linear-gradient(90deg, #88c4e8 0%, #ddeeff 50%, #aad4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.5));
  filter: drop-shadow(0 0 6px rgba(0, 200, 255, 0.5));
  letter-spacing: 0.04em;
  -webkit-animation: numFlicker 5s ease-in-out infinite 1.3s;
  animation: numFlicker 5s ease-in-out infinite 1.3s;
}

.site-logo .logo-sep {
  font-family: "Kaushan Script", cursive;
  color: var(--neon-blue);
  opacity: 0.4;
  font-size: 1.1em;
  padding: 0 1px;
}

.site-logo .logo-num {
  font-family: "Kaushan Script", cursive;
  font-size: 1.35em;
  color: var(--neon-red);
  text-shadow: 0 0 8px rgba(255, 30, 60, 0.95), 0 0 24px rgba(255, 30, 60, 0.5), 0 0 48px rgba(255, 30, 60, 0.2);
  letter-spacing: 0.02em;
  -webkit-animation: numFlicker 4s ease-in-out infinite;
  animation: numFlicker 4s ease-in-out infinite;
}

.site-logo:hover .logo-qdt {
  -webkit-filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.9));
  filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.9));
}

@-webkit-keyframes markPulse {
  0%, 100% {
    -webkit-filter: drop-shadow(0 0 5px rgba(255, 30, 60, 0.6));
    filter: drop-shadow(0 0 5px rgba(255, 30, 60, 0.6));
  }
  50% {
    -webkit-filter: drop-shadow(0 0 12px rgb(255, 30, 60)) drop-shadow(0 0 24px rgba(255, 30, 60, 0.4));
    filter: drop-shadow(0 0 12px rgb(255, 30, 60)) drop-shadow(0 0 24px rgba(255, 30, 60, 0.4));
  }
}
@keyframes markPulse {
  0%, 100% {
    -webkit-filter: drop-shadow(0 0 5px rgba(255, 30, 60, 0.6));
    filter: drop-shadow(0 0 5px rgba(255, 30, 60, 0.6));
  }
  50% {
    -webkit-filter: drop-shadow(0 0 12px rgb(255, 30, 60)) drop-shadow(0 0 24px rgba(255, 30, 60, 0.4));
    filter: drop-shadow(0 0 12px rgb(255, 30, 60)) drop-shadow(0 0 24px rgba(255, 30, 60, 0.4));
  }
}
@-webkit-keyframes numFlicker {
  0%, 80%, 100% {
    opacity: 1;
  }
  83% {
    opacity: 0.35;
  }
  85% {
    opacity: 1;
  }
  87% {
    opacity: 0.55;
  }
  89% {
    opacity: 1;
  }
}
@keyframes numFlicker {
  0%, 80%, 100% {
    opacity: 1;
  }
  83% {
    opacity: 0.35;
  }
  85% {
    opacity: 1;
  }
  87% {
    opacity: 0.55;
  }
  89% {
    opacity: 1;
  }
}
/* backward compat: .flame が残っているページ用 */
.site-logo .flame {
  font-size: 1.3rem;
  -webkit-filter: drop-shadow(0 0 8px rgba(255, 30, 60, 0.9));
  filter: drop-shadow(0 0 8px rgba(255, 30, 60, 0.9));
  -webkit-animation: redFlicker 2.5s infinite ease-in-out;
  animation: redFlicker 2.5s infinite ease-in-out;
}

@-webkit-keyframes redFlicker {
  0%, 100% {
    -webkit-transform: scale(1) rotate(-2deg);
    transform: scale(1) rotate(-2deg);
    -webkit-filter: drop-shadow(0 0 6px rgba(255, 30, 60, 0.8));
    filter: drop-shadow(0 0 6px rgba(255, 30, 60, 0.8));
  }
  50% {
    -webkit-transform: scale(1.12) rotate(3deg);
    transform: scale(1.12) rotate(3deg);
    -webkit-filter: drop-shadow(0 0 16px rgb(255, 30, 60));
    filter: drop-shadow(0 0 16px rgb(255, 30, 60));
  }
}
@keyframes redFlicker {
  0%, 100% {
    -webkit-transform: scale(1) rotate(-2deg);
    transform: scale(1) rotate(-2deg);
    -webkit-filter: drop-shadow(0 0 6px rgba(255, 30, 60, 0.8));
    filter: drop-shadow(0 0 6px rgba(255, 30, 60, 0.8));
  }
  50% {
    -webkit-transform: scale(1.12) rotate(3deg);
    transform: scale(1.12) rotate(3deg);
    -webkit-filter: drop-shadow(0 0 16px rgb(255, 30, 60));
    filter: drop-shadow(0 0 16px rgb(255, 30, 60));
  }
}
/* backward compat */
@-webkit-keyframes flicker {
  0%, 100% {
    -webkit-transform: scale(1) rotate(-2deg);
    transform: scale(1) rotate(-2deg);
  }
  50% {
    -webkit-transform: scale(1.12) rotate(3deg);
    transform: scale(1.12) rotate(3deg);
  }
}
@keyframes flicker {
  0%, 100% {
    -webkit-transform: scale(1) rotate(-2deg);
    transform: scale(1) rotate(-2deg);
  }
  50% {
    -webkit-transform: scale(1.12) rotate(3deg);
    transform: scale(1.12) rotate(3deg);
  }
}
.main-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-sub);
  -webkit-transition: 0.2s;
  transition: 0.2s;
  position: relative;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.main-nav a:hover {
  color: var(--neon-blue);
  background: rgba(0, 200, 255, 0.07);
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.6);
}

.main-nav a.active {
  color: #fff;
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-red)), to(rgba(180, 0, 24, 0.7)));
  background: linear-gradient(90deg, var(--neon-red), rgba(180, 0, 24, 0.7));
  text-shadow: var(--glow-red);
}

.hamburger-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 10px;
  cursor: pointer;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border-soft);
  padding: 6px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neon-blue);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-shadow: 0 0 6px rgba(0, 200, 255, 0.7);
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.7);
}

.hamburger-btn.open span:nth-child(1) {
  -webkit-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  -webkit-transform: translateY(-7px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== 全ページメニュー (ハンバーガー) ===================== */
.site-drawer {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: 190;
  width: min(300px, 86vw);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-y: auto;
  padding: 10px 0 24px;
  background: rgba(6, 9, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--neon-blue);
  -webkit-box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  visibility: hidden;
  -webkit-transition: transform 0.3s ease, visibility 0.3s;
  -webkit-transition: visibility 0.3s, -webkit-transform 0.3s ease;
  transition: visibility 0.3s, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, visibility 0.3s;
  transition: transform 0.3s ease, visibility 0.3s, -webkit-transform 0.3s ease;
}

.site-drawer.show {
  -webkit-transform: none;
  transform: none;
  visibility: visible;
}

.site-drawer a {
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(0, 200, 255, 0.07);
  -webkit-transition: color 0.2s, background 0.2s, padding-left 0.2s;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}

.site-drawer a:hover {
  color: var(--neon-blue);
  background: rgba(0, 200, 255, 0.07);
  padding-left: 30px;
}

.site-drawer a.active {
  color: #fff;
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-red)), to(rgba(180, 0, 24, 0.5)));
  background: linear-gradient(90deg, var(--neon-red), rgba(180, 0, 24, 0.5));
  text-shadow: var(--glow-red);
}

.site-drawer-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 180;
  background: rgba(6, 9, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s, visibility 0.3s;
  transition: opacity 0.3s, visibility 0.3s;
}

.site-drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* スマホではヘッダーのメニューを隠し、ハンバーガーだけにする */
@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .hamburger-btn {
    margin-left: auto;
  }
}
/* ===================== フッター ===================== */
.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 26px 16px 30px;
  color: var(--text-dim);
  font-size: 0.82rem;
  background: rgba(6, 9, 18, 0.85);
  border-top: 1px solid var(--border-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.site-footer .footer-flame {
  font-size: 1rem;
  margin-bottom: 6px;
  opacity: 0.6;
}

/* ===================== レイアウト共通 ===================== */
.page-main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 60px;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 6px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-blue)), color-stop(var(--neon-red)), color-stop(var(--neon-cyan)), to(var(--neon-blue)));
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-red), var(--neon-cyan), var(--neon-blue));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  -webkit-animation: titleShimmer 5s linear infinite;
  animation: titleShimmer 5s linear infinite;
}

@-webkit-keyframes titleShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes titleShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
.page-sub {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 32px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ===================== カードパネル ===================== */
.card-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--neon-blue);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding: 28px;
  position: relative;
  -webkit-box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(0, 200, 255, 0.04);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(0, 200, 255, 0.04);
  -webkit-transition: -webkit-box-shadow 0.3s;
  transition: -webkit-box-shadow 0.3s;
  transition: box-shadow 0.3s;
  transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
}

.card-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 22px;
  height: 2px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, var(--neon-blue)), to(transparent));
  background: linear-gradient(90deg, transparent, var(--neon-blue) 50%, transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  opacity: 0.9;
  -webkit-animation: dataFlow 3.5s linear infinite;
  animation: dataFlow 3.5s linear infinite;
  pointer-events: none;
}

@-webkit-keyframes dataFlow {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}
@keyframes dataFlow {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}
/* ===================== ボタン ===================== */
.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 26px;
  border: none;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  position: relative;
  cursor: pointer;
}

.btn:active {
  -webkit-transform: scale(0.96);
  transform: scale(0.96);
}

.btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  -webkit-transform: none;
  transform: none;
  -webkit-filter: none !important;
  filter: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-red)), to(#aa001a));
  background: linear-gradient(90deg, var(--neon-red), #aa001a);
  color: #fff;
  border: none;
}

.btn-primary:hover:not(:disabled) {
  -webkit-box-shadow: var(--glow-red);
  box-shadow: var(--glow-red);
  background: -webkit-gradient(linear, left top, right top, from(#ff3555), to(var(--neon-red)));
  background: linear-gradient(90deg, #ff3555, var(--neon-red));
}

.btn-stop {
  background: -webkit-gradient(linear, left top, right top, from(#1e2535), to(#161e30));
  background: linear-gradient(90deg, #1e2535, #161e30);
  color: var(--text-sub);
  border: 1px solid rgba(80, 100, 140, 0.3);
}

.btn-stop:hover:not(:disabled) {
  color: var(--text-main);
  border-color: rgba(80, 100, 140, 0.6);
}

.btn-reset {
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
}

.btn-reset:hover:not(:disabled) {
  -webkit-box-shadow: var(--glow-cyan);
  box-shadow: var(--glow-cyan);
  background: rgba(0, 255, 247, 0.07);
}

.btn-small {
  padding: 6px 14px;
  font-size: 0.74rem;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.5);
  -webkit-box-shadow: 0 0 14px rgba(0, 200, 255, 0.12);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.12);
}

.btn-outline.active {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  background: rgba(0, 200, 255, 0.07);
  -webkit-box-shadow: inset 0 0 12px rgba(0, 200, 255, 0.05), 0 0 14px rgba(0, 200, 255, 0.12);
  box-shadow: inset 0 0 12px rgba(0, 200, 255, 0.05), 0 0 14px rgba(0, 200, 255, 0.12);
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid var(--neon-red);
  color: var(--neon-red);
}

.btn-danger-outline:hover {
  background: rgba(255, 30, 60, 0.08);
  -webkit-box-shadow: 0 0 14px rgba(255, 30, 60, 0.25);
  box-shadow: 0 0 14px rgba(255, 30, 60, 0.25);
}

.btn-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/* ===================== カウント表示 ===================== */
.count-display,
.count-display-wrap {
  text-align: center;
  margin: 24px 0;
}

.interval-current {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.interval-current b {
  color: var(--neon-cyan);
  font-weight: 900;
}

.count-number,
#count-number {
  display: block;
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: -webkit-gradient(linear, left top, left bottom, from(var(--neon-blue)), to(var(--neon-cyan)));
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-animation: numberGlow 2s ease-in-out infinite;
  animation: numberGlow 2s ease-in-out infinite;
  letter-spacing: -0.02em;
}

@-webkit-keyframes numberGlow {
  0%, 100% {
    -webkit-filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.4));
    filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.4));
  }
  50% {
    -webkit-filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.8));
    filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.8));
  }
}
@keyframes numberGlow {
  0%, 100% {
    -webkit-filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.4));
    filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.4));
  }
  50% {
    -webkit-filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.8));
    filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.8));
  }
}
.count-status {
  color: var(--text-sub);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ===================== インターバル ===================== */
.interval-row,
.control-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0;
}

#interval-label,
.interval-label {
  color: var(--neon-cyan);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

#interval-grid,
.interval-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.interval-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  letter-spacing: 0.06em;
  font-family: inherit;
  text-transform: uppercase;
}

.interval-btn:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.interval-btn.active {
  border-color: var(--neon-red);
  color: var(--neon-red);
  background: rgba(255, 30, 60, 0.07);
  -webkit-box-shadow: 0 0 12px rgba(255, 30, 60, 0.18);
  box-shadow: 0 0 12px rgba(255, 30, 60, 0.18);
}

.interval-custom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.interval-custom label,
.interval-custom-unit {
  color: var(--text-sub);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.interval-custom input[type=number] {
  width: 90px;
  text-align: center;
}

.interval-custom-error {
  text-align: center;
  color: var(--warn);
  font-size: 0.8rem;
  min-height: 1em;
}

/* ===================== 個人励ましモード ===================== */
.hagemashi-warning {
  color: var(--warn);
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--warn);
  background: rgba(255, 204, 0, 0.08);
}

.hagemashi-names {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.hagemashi-names > div {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 140px;
  flex: 1 1 140px;
  max-width: 220px;
}

.hagemashi-note {
  text-align: center;
  color: var(--text-sub);
  font-size: 0.75rem;
  margin: 6px 0 4px;
}

/* ===================== メニュー ===================== */
.menu-card {
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--text-main);
}

.menu-card-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
}

.menu-card-title {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.menu-card-time {
  color: var(--text-sub);
  font-size: 0.78rem;
}

.menu-modal-box {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
}

.menu-modal-title {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 40px 12px 0;
}

.menu-detail {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 16px;
  padding: 10px 14px 10px 2em;
  background: var(--neon-blue-dim);
  border-left: 3px solid var(--neon-blue);
}

.menu-detail li::marker {
  color: var(--neon-blue);
}

.menu-run {
  text-align: center;
  margin-bottom: 16px;
}

.menu-time {
  font-size: clamp(3rem, 14vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text-main);
}

.menu-phase {
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-top: 4px;
}

.menu-next {
  color: var(--text-sub);
  font-size: 0.82rem;
  margin-top: 6px;
  min-height: 1.2em;
}

/* ===================== 掲示板 ===================== */
.board-required {
  color: var(--neon-red);
  font-size: 0.68rem;
  margin-left: 4px;
}

.board-error {
  color: var(--warn);
  font-size: 0.8rem;
  min-height: 1em;
  margin-top: 6px;
}

.board-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
}

.board-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--neon-blue);
  padding: 14px 16px;
}

.board-item.editing {
  border-left-color: var(--neon-red);
}

.board-item.editing textarea {
  margin-bottom: 4px;
}

.board-item.editing input[type=text] {
  margin-bottom: 10px;
}

.board-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 4px 12px;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  margin-bottom: 8px;
}

.board-author {
  color: var(--neon-cyan);
  font-weight: 800;
}

.board-date {
  color: var(--text-sub);
  font-size: 0.78rem;
}

.board-message {
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 10px;
}

.board-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

/* カウントアップ: 他モードへのリンク */
.mode-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 20px;
}

.mode-link {
  --mode: var(--neon-blue);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #0a0d18;
  background: -webkit-gradient(linear, left top, left bottom, from(color-mix(in srgb, var(--mode) 100%, #fff 25%)), to(var(--mode)));
  background: linear-gradient(180deg, color-mix(in srgb, var(--mode) 100%, #fff 25%), var(--mode));
  border-radius: 6px;
  -webkit-box-shadow: 0 4px 0 color-mix(in srgb, var(--mode) 55%, #000), 0 6px 16px color-mix(in srgb, var(--mode) 35%, transparent);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--mode) 55%, #000), 0 6px 16px color-mix(in srgb, var(--mode) 35%, transparent);
  -webkit-transition: transform 0.12s, -webkit-box-shadow 0.12s, filter 0.2s;
  -webkit-transition: -webkit-transform 0.12s, -webkit-box-shadow 0.12s, -webkit-filter 0.2s;
  transition: -webkit-transform 0.12s, -webkit-box-shadow 0.12s, -webkit-filter 0.2s;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.2s;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.2s, -webkit-transform 0.12s, -webkit-box-shadow 0.12s, -webkit-filter 0.2s;
}

.mode-link:hover {
  -webkit-filter: brightness(1.08);
          filter: brightness(1.08);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 0 color-mix(in srgb, var(--mode) 55%, #000), 0 10px 24px color-mix(in srgb, var(--mode) 50%, transparent);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--mode) 55%, #000), 0 10px 24px color-mix(in srgb, var(--mode) 50%, transparent);
}

/* 押したときに沈む */
.mode-link:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  -webkit-box-shadow: 0 1px 0 color-mix(in srgb, var(--mode) 55%, #000);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--mode) 55%, #000);
}

.mode-hagemashi {
  --mode: #ff8a3d;
}

.mode-honban {
  --mode: #ffd76a;
}

.mode-jikkyo {
  --mode: var(--neon-cyan);
}

/* ===================== 実況モード ===================== */
.jikkyo-desc {
  text-align: center;
  color: var(--text-main);
  font-size: 0.9rem;
  margin: 0 0 12px;
}

.jikkyo-caption {
  min-height: 2.6em;
  margin: 8px 0 16px;
  text-align: center;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  opacity: 0;
  -webkit-transform: scale(0.92);
  transform: scale(0.92);
  -webkit-transition: opacity 0.25s, -webkit-transform 0.25s;
  transition: opacity 0.25s, -webkit-transform 0.25s;
  transition: opacity 0.25s, transform 0.25s;
  transition: opacity 0.25s, transform 0.25s, -webkit-transform 0.25s;
}

.jikkyo-caption.show {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* ===================== スタット ===================== */
.stat-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.stat-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}

.stat-group-boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-group-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  display: inline-block;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
}

.stat-group-label--month {
  background: rgba(0, 200, 255, 0.12);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 200, 255, 0.35);
}

.stat-group-label--year {
  background: rgba(255, 30, 60, 0.1);
  color: var(--neon-red);
  border: 1px solid rgba(255, 30, 60, 0.35);
}

.stat-group-divider {
  width: 1px;
  background: var(--border-soft);
  margin: 24px 4px 0;
  -webkit-align-self: stretch;
  -ms-flex-item-align: stretch;
  align-self: stretch;
}

.stat-box.stat-box--year {
  border-color: rgba(255, 30, 60, 0.4);
  border-top: 2px solid var(--neon-red);
  background: rgba(255, 30, 60, 0.05);
}

.stat-box.stat-box--year .stat-num {
  color: var(--neon-red);
  text-shadow: 0 0 14px rgba(255, 30, 60, 0.55);
}

.stat-box.stat-box--year .stat-label {
  color: rgba(255, 30, 60, 0.7);
}

.stat-box {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--neon-blue);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  padding: 16px 22px;
  text-align: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 130px;
  position: relative;
  -webkit-animation: statPulse 4s ease-in-out infinite;
  animation: statPulse 4s ease-in-out infinite;
}

@-webkit-keyframes statPulse {
  0%, 100% {
    -webkit-box-shadow: 0 0 0 rgba(0, 200, 255, 0);
    box-shadow: 0 0 0 rgba(0, 200, 255, 0);
  }
  50% {
    -webkit-box-shadow: 0 0 18px rgba(0, 200, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.1);
  }
}
@keyframes statPulse {
  0%, 100% {
    -webkit-box-shadow: 0 0 0 rgba(0, 200, 255, 0);
    box-shadow: 0 0 0 rgba(0, 200, 255, 0);
  }
  50% {
    -webkit-box-shadow: 0 0 18px rgba(0, 200, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.1);
  }
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 14px rgba(0, 200, 255, 0.6);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  opacity: 0.7;
}

/* ===================== カウントダウンオーバーレイ ===================== */
.countdown-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 18, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 600;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.countdown-overlay.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.countdown-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 30, 60, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 30, 60, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

#countdown-num {
  font-size: clamp(8rem, 25vw, 14rem);
  font-weight: 900;
  background: -webkit-gradient(linear, left top, left bottom, from(var(--neon-red)), to(#660010));
  background: linear-gradient(180deg, var(--neon-red), #660010);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-animation: countPulse 1s ease-in-out infinite;
  animation: countPulse 1s ease-in-out infinite;
  line-height: 1;
  letter-spacing: -0.05em;
}

.countdown-num {
  font-size: clamp(8rem, 25vw, 14rem);
  font-weight: 900;
  background: -webkit-gradient(linear, left top, left bottom, from(var(--neon-red)), to(#660010));
  background: linear-gradient(180deg, var(--neon-red), #660010);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-animation: countPulse 1s ease-in-out infinite;
  animation: countPulse 1s ease-in-out infinite;
  line-height: 1;
  letter-spacing: -0.05em;
}

@-webkit-keyframes countPulse {
  0%, 100% {
    -webkit-filter: drop-shadow(0 0 20px rgba(255, 30, 60, 0.5));
    filter: drop-shadow(0 0 20px rgba(255, 30, 60, 0.5));
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-filter: drop-shadow(0 0 60px rgb(255, 30, 60));
    filter: drop-shadow(0 0 60px rgb(255, 30, 60));
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
@keyframes countPulse {
  0%, 100% {
    -webkit-filter: drop-shadow(0 0 20px rgba(255, 30, 60, 0.5));
    filter: drop-shadow(0 0 20px rgba(255, 30, 60, 0.5));
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-filter: drop-shadow(0 0 60px rgb(255, 30, 60));
    filter: drop-shadow(0 0 60px rgb(255, 30, 60));
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
}
.countdown-label {
  color: var(--text-sub);
  margin-top: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown-cancel-btn {
  margin-top: 48px;
  padding: 10px 40px;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-size: 0.88rem;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  -webkit-transition: 0.2s;
  transition: 0.2s;
  font-family: inherit;
  font-weight: 700;
}

.countdown-cancel-btn:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  -webkit-box-shadow: 0 0 14px rgba(0, 200, 255, 0.2);
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.2);
}

/* ===================== テーブル ===================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  position: relative;
  margin-bottom: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.data-table thead tr {
  background: rgba(0, 200, 255, 0.05);
  border-bottom: 1px solid var(--neon-blue);
}

.data-table th {
  padding: 11px 14px;
  text-align: center;
  font-weight: 900;
  color: var(--neon-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
  border-right: 1px solid rgba(0, 200, 255, 0.12);
}

.data-table th:last-child {
  border-right: none;
}

.data-table td {
  padding: 10px 12px;
  text-align: center;
  color: var(--text-main);
  border-bottom: 1px solid rgba(0, 200, 255, 0.18);
  border-right: 1px solid rgba(0, 200, 255, 0.12);
}

.data-table td:last-child {
  border-right: none;
}

/* ---- 進捗バー（stat-box内） ---- */
.stat-prog {
  margin-top: 10px;
  width: 100%;
  text-align: left;
}

.sp-goal-text {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-bottom: 5px;
}

.sp-bar-wrap {
  position: relative;
  margin-bottom: 4px;
}

.sp-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.sp-bar-fill {
  height: 100%;
  border-radius: 3px;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}

.sp-bar-fill--month {
  background: var(--neon-blue);
  -webkit-box-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
          box-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
}

.sp-bar-fill--year {
  background: var(--neon-red);
  -webkit-box-shadow: 0 0 6px rgba(255, 30, 60, 0.5);
          box-shadow: 0 0 6px rgba(255, 30, 60, 0.5);
}

.sp-bar-fill--day {
  background: rgba(255, 255, 255, 0.35);
}

.sp-bar-label {
  font-size: 0.7rem;
  color: var(--text-sub);
  width: 2em;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.sp-bar-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.sp-bar-row .sp-bar-track {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.sp-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.sp-pct {
  font-size: 0.72rem;
  color: var(--text-sub);
}

.sp-status {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.sp-status--easy {
  color: var(--neon-blue);
}

.sp-status--good {
  color: #00e87a;
}

.sp-status--exact {
  color: #ffd700;
}

.sp-status--behind {
  color: #ff8c00;
}

.sp-status--danger {
  color: var(--neon-red);
}

/* ---- 目標設定パネル ---- */
.record-goal-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--neon-blue);
  padding: 16px 20px;
  margin-top: 8px;
  margin-bottom: 28px;
}

.record-goal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 14px;
}

.record-goal-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
}

.record-goal-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 200px;
}

.record-goal-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
}

.record-goal-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.record-goal-item > span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.record-goal-item input {
  width: 90px;
}

.sortable-th {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
}

.sortable-th::after {
  content: " ↕";
  opacity: 0.3;
  font-size: 0.75em;
}

.sortable-th.sort-asc::after {
  content: " ↑";
  opacity: 1;
  color: var(--neon-cyan);
}

.sortable-th.sort-desc::after {
  content: " ↓";
  opacity: 1;
  color: var(--neon-cyan);
}

.data-table tbody tr {
  -webkit-transition: background 0.15s, border-left 0.15s;
  transition: background 0.15s, border-left 0.15s;
}

.data-table tbody tr:hover {
  background: rgba(0, 200, 255, 0.03);
  border-left: 2px solid var(--neon-blue);
}

.data-table tbody tr.row-today {
  background: rgba(255, 30, 60, 0.04);
  border-left: 2px solid var(--neon-red);
}

.data-table tfoot tr.tfoot-total td {
  border-top: 1px solid var(--border);
  background: rgba(0, 200, 255, 0.04);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
  padding: 6px 10px;
}

.td-actions {
  vertical-align: middle;
  text-align: center;
}

.td-actions-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
}

/* ===================== フォーム要素 ===================== */
label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}

input[type=text],
input[type=number],
input[type=date],
input[type=search],
textarea,
select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(0, 200, 255, 0.12);
  border-bottom: 1px solid rgba(0, 200, 255, 0.35);
  color: var(--text-main);
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: 0;
  outline: none;
  -webkit-transition: border-color 0.2s, background 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, background 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, -webkit-box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--neon-blue);
  -webkit-box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.25), 0 0 14px rgba(0, 200, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.25), 0 0 14px rgba(0, 200, 255, 0.08);
  background: rgba(0, 200, 255, 0.03);
}

input[type=date]::-webkit-calendar-picker-indicator {
  -webkit-filter: invert(0.6) sepia(1) hue-rotate(180deg) brightness(1.2);
  filter: invert(0.6) sepia(1) hue-rotate(180deg) brightness(1.2);
}

select option {
  background: var(--bg-mid);
}

/* ===================== フィルター ===================== */
.filter-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 14px;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-bottom: 16px;
}

.filter-row label {
  margin-bottom: 4px;
}

/* ===================== トグルロー ===================== */
.toggle-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/* ===================== セクション見出し ===================== */
.section-heading {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.4);
}

/* ===================== バッジ ===================== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.badge-done {
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid #00ff88;
  color: #00ff88;
}

.badge-mid {
  background: rgba(255, 204, 0, 0.08);
  border: 1px solid #ffcc00;
  color: #ffcc00;
}

.badge-low {
  background: rgba(255, 30, 60, 0.08);
  border: 1px solid var(--neon-red);
  color: var(--neon-red);
}

/* ===================== 優先度 ===================== */
.priority-high {
  color: var(--neon-red);
  font-weight: 900;
  text-shadow: 0 0 8px rgba(255, 30, 60, 0.5);
}

.priority-mid {
  color: #ffcc00;
  font-weight: 700;
}

.priority-low {
  color: var(--text-sub);
  font-weight: 600;
}

/* ===================== スター ===================== */
.stars {
  color: #ffcc00;
  letter-spacing: 2px;
}

/* ===================== 空状態 ===================== */
.empty-note {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  border: 1px dashed rgba(0, 200, 255, 0.1);
}

/* ===================== ゴールカード ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
.goal-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--neon-blue);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: 18px;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  position: relative;
}

.goal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 16px;
  height: 1px;
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-blue)), to(transparent));
  background: linear-gradient(90deg, var(--neon-blue), transparent);
}

.goal-card:hover {
  border-left-color: var(--neon-red);
  -webkit-box-shadow: 0 0 24px rgba(0, 200, 255, 0.12), -3px 0 0 var(--neon-red);
  box-shadow: 0 0 24px rgba(0, 200, 255, 0.12), -3px 0 0 var(--neon-red);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* ===================== モーダル ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 18, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 500;
}

.modal-overlay.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal-box {
  background: var(--bg-card2);
  border: 1px solid var(--neon-blue);
  border-top: 2px solid var(--neon-blue);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  padding: 32px;
  max-width: 90vw;
  width: 90vw;
  -webkit-box-shadow: var(--glow-blue);
  box-shadow: var(--glow-blue);
  position: relative;
}

.modal-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  margin-top: 28px;
  margin-bottom: 16px;
}

.modal-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.modal-close:hover {
  border-color: var(--neon-red);
  color: var(--neon-red);
  -webkit-box-shadow: 0 0 10px rgba(255, 30, 60, 0.3);
  box-shadow: 0 0 10px rgba(255, 30, 60, 0.3);
}

.modal-nav-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 24px;
}

.modal-counter {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

/* ===================== フォームグリッド ===================== */
.input-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.input-form-grid select,
.input-form-grid input[type=text],
.input-form-grid input[type=date],
.input-form-grid input[type=number],
.input-form-grid textarea {
  width: 100%;
}

.input-form-grid .field-wide {
  grid-column: 1/-1;
}

.record-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.record-form-grid select,
.record-form-grid input[type=text],
.record-form-grid input[type=date],
.record-form-grid input[type=number],
.record-form-grid textarea {
  width: 100%;
}

.record-form-grid .field-wide {
  grid-column: 1/-1;
}

/* ===================== 名言・動画 ===================== */
/* quote-card */
.quote-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--neon-red);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: 28px 24px 22px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  -webkit-transition: opacity 0.85s ease-out, border-left-color 0.25s, -webkit-transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), -webkit-box-shadow 0.25s;
  transition: opacity 0.85s ease-out, border-left-color 0.25s, -webkit-transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), -webkit-box-shadow 0.25s;
  transition: opacity 0.85s ease-out, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-left-color 0.25s;
  transition: opacity 0.85s ease-out, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-left-color 0.25s, -webkit-transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), -webkit-box-shadow 0.25s;
  /* 方向別初期状態 (8方向 + 大回転 + 画面外) */
}

.quote-card--from-left {
  -webkit-transform: translateX(-120vw) rotate(-55deg) scale(0.7);
  transform: translateX(-120vw) rotate(-55deg) scale(0.7);
}

.quote-card--from-right {
  -webkit-transform: translateX(120vw) rotate(55deg) scale(0.7);
  transform: translateX(120vw) rotate(55deg) scale(0.7);
}

.quote-card--from-bottom {
  -webkit-transform: translateY(100vh) rotate(40deg) scale(0.7);
  transform: translateY(100vh) rotate(40deg) scale(0.7);
}

.quote-card--from-top {
  -webkit-transform: translateY(-100vh) rotate(-40deg) scale(0.7);
  transform: translateY(-100vh) rotate(-40deg) scale(0.7);
}

.quote-card--from-top-left {
  -webkit-transform: translateX(-80vw) translateY(-80vh) rotate(-70deg) scale(0.65);
  transform: translateX(-80vw) translateY(-80vh) rotate(-70deg) scale(0.65);
}

.quote-card--from-top-right {
  -webkit-transform: translateX(80vw) translateY(-80vh) rotate(70deg) scale(0.65);
  transform: translateX(80vw) translateY(-80vh) rotate(70deg) scale(0.65);
}

.quote-card--from-btm-left {
  -webkit-transform: translateX(-80vw) translateY(80vh) rotate(65deg) scale(0.65);
  transform: translateX(-80vw) translateY(80vh) rotate(65deg) scale(0.65);
}

.quote-card--from-btm-right {
  -webkit-transform: translateX(80vw) translateY(80vh) rotate(-65deg) scale(0.65);
  transform: translateX(80vw) translateY(80vh) rotate(-65deg) scale(0.65);
}

.quote-card.visible {
  opacity: 1;
  -webkit-transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  transform: translateX(0) translateY(0) rotate(0deg) scale(1);
}

.quote-card {
  /* data-flow top line */
}

.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 16px;
  height: 2px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, var(--neon-red)), to(transparent));
  background: linear-gradient(90deg, transparent, var(--neon-red) 50%, transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  -webkit-animation: dataFlowRed 4s linear infinite;
  animation: dataFlowRed 4s linear infinite;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.quote-card {
  /* hover shimmer */
}

.quote-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 30, 60, 0.04) 50%, transparent 70%);
  -webkit-transform: translateX(-120%);
  transform: translateX(-120%);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  pointer-events: none;
}

.quote-card:hover {
  border-left-color: var(--neon-red);
  -webkit-box-shadow: 0 0 32px rgba(255, 30, 60, 0.14), -2px 0 0 var(--neon-red), 0 10px 48px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 32px rgba(255, 30, 60, 0.14), -2px 0 0 var(--neon-red), 0 10px 48px rgba(0, 0, 0, 0.5);
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.quote-card:hover::before {
  opacity: 1;
}

.quote-card:hover::after {
  -webkit-transform: translateX(120%);
  transform: translateX(120%);
}

.quote-card:hover .quote-num {
  color: var(--neon-red);
  text-shadow: 0 0 10px rgba(255, 30, 60, 0.5);
}

@-webkit-keyframes dataFlowRed {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}
@keyframes dataFlowRed {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}
/* 番号バッジ */
.quote-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  -webkit-transition: color 0.2s, text-shadow 0.2s;
  transition: color 0.2s, text-shadow 0.2s;
}

/* 名言テキスト */
.quote-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.9;
  letter-spacing: 0.025em;
  margin-bottom: 18px;
}

/* 著者フッター */
.quote-footer {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 30, 60, 0.18);
  margin-bottom: 10px;
}

.quote-author {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--neon-blue);
  letter-spacing: 0.06em;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.3);
}

/* メモ */
.quote-memo {
  font-size: 0.73rem;
  color: var(--text-sub);
  line-height: 1.75;
}

/* movie-card (変更なし) */
.movie-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--neon-red);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  padding: 20px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  position: relative;
}

.movie-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 14px;
  height: 1px;
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-red)), to(transparent));
  background: linear-gradient(90deg, var(--neon-red), transparent);
}

.movie-card:hover {
  -webkit-box-shadow: 0 0 24px rgba(255, 30, 60, 0.1), -2px 0 0 var(--neon-red);
  box-shadow: 0 0 24px rgba(255, 30, 60, 0.1), -2px 0 0 var(--neon-red);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.movie-card .movie-title {
  font-size: 1rem;
  font-weight: 800;
}

.movie-thumb-wrap {
  position: relative;
  overflow: hidden;
}

.movie-thumb-wrap img {
  width: 100%;
  display: block;
}

.movie-thumb-wrap .play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 18, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.movie-card:hover .play-overlay {
  opacity: 1;
}

/* ===================== スクロールバー ===================== */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-blue);
  -webkit-box-shadow: 0 0 6px rgba(0, 200, 255, 0.6);
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.6);
}

/* ===================== ネオンアニメーション ===================== */
@-webkit-keyframes neonPulseRed {
  0%, 100% {
    -webkit-box-shadow: 0 0 5px rgba(255, 30, 60, 0.4), 0 0 15px rgba(255, 30, 60, 0.1);
    box-shadow: 0 0 5px rgba(255, 30, 60, 0.4), 0 0 15px rgba(255, 30, 60, 0.1);
  }
  50% {
    -webkit-box-shadow: 0 0 15px rgba(255, 30, 60, 0.9), 0 0 40px rgba(255, 30, 60, 0.3);
    box-shadow: 0 0 15px rgba(255, 30, 60, 0.9), 0 0 40px rgba(255, 30, 60, 0.3);
  }
}
@keyframes neonPulseRed {
  0%, 100% {
    -webkit-box-shadow: 0 0 5px rgba(255, 30, 60, 0.4), 0 0 15px rgba(255, 30, 60, 0.1);
    box-shadow: 0 0 5px rgba(255, 30, 60, 0.4), 0 0 15px rgba(255, 30, 60, 0.1);
  }
  50% {
    -webkit-box-shadow: 0 0 15px rgba(255, 30, 60, 0.9), 0 0 40px rgba(255, 30, 60, 0.3);
    box-shadow: 0 0 15px rgba(255, 30, 60, 0.9), 0 0 40px rgba(255, 30, 60, 0.3);
  }
}
@-webkit-keyframes neonPulseBlue {
  0%, 100% {
    -webkit-box-shadow: 0 0 5px rgba(0, 200, 255, 0.4), 0 0 15px rgba(0, 200, 255, 0.1);
    box-shadow: 0 0 5px rgba(0, 200, 255, 0.4), 0 0 15px rgba(0, 200, 255, 0.1);
  }
  50% {
    -webkit-box-shadow: 0 0 15px rgba(0, 200, 255, 0.9), 0 0 40px rgba(0, 200, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.9), 0 0 40px rgba(0, 200, 255, 0.3);
  }
}
@keyframes neonPulseBlue {
  0%, 100% {
    -webkit-box-shadow: 0 0 5px rgba(0, 200, 255, 0.4), 0 0 15px rgba(0, 200, 255, 0.1);
    box-shadow: 0 0 5px rgba(0, 200, 255, 0.4), 0 0 15px rgba(0, 200, 255, 0.1);
  }
  50% {
    -webkit-box-shadow: 0 0 15px rgba(0, 200, 255, 0.9), 0 0 40px rgba(0, 200, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.9), 0 0 40px rgba(0, 200, 255, 0.3);
  }
}
/* ===================== レスポンシブ ===================== */
@media (max-width: 768px) {
  .countdown-num,
  #countdown-num {
    font-size: 7rem;
  }
  .record-form-grid {
    grid-template-columns: 1fr;
  }
  .stat-row {
    gap: 8px;
  }
  .stat-box {
    min-width: 100px;
    padding: 12px 14px;
  }
  .card-panel {
    clip-path: none;
  }
  .card-panel::before {
    display: none;
  }
}
/* ===================== トップページ (index.html) ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(255, 30, 60, 0.07) 0%, transparent 65%), radial-gradient(ellipse 35% 40% at 85% 12%, rgba(0, 200, 255, 0.1) 0%, transparent 60%), radial-gradient(ellipse 28% 32% at 12% 82%, rgba(0, 200, 255, 0.07) 0%, transparent 58%);
  pointer-events: none;
  -webkit-animation: heroBg 9s ease-in-out infinite alternate;
  animation: heroBg 9s ease-in-out infinite alternate;
}

@-webkit-keyframes heroBg {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1.3;
  }
}
@keyframes heroBg {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 1.3;
  }
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: -webkit-gradient(linear, left top, right top, color-stop(5%, transparent), color-stop(30%, rgba(0, 200, 255, 0.7)), color-stop(50%, rgba(0, 255, 247, 0.9)), color-stop(70%, rgba(0, 200, 255, 0.7)), color-stop(95%, transparent));
  background: linear-gradient(90deg, transparent 5%, rgba(0, 200, 255, 0.7) 30%, rgba(0, 255, 247, 0.9) 50%, rgba(0, 200, 255, 0.7) 70%, transparent 95%);
  top: 0;
  -webkit-animation: heroScan 5s ease-in-out infinite 1.5s;
  animation: heroScan 5s ease-in-out infinite 1.5s;
  pointer-events: none;
  opacity: 0;
}

@-webkit-keyframes heroScan {
  0% {
    top: 0;
    opacity: 0;
  }
  4% {
    opacity: 0.9;
  }
  96% {
    opacity: 0.9;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
@keyframes heroScan {
  0% {
    top: 0;
    opacity: 0;
  }
  4% {
    opacity: 0.9;
  }
  96% {
    opacity: 0.9;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
.hero-bracket {
  position: absolute;
  width: 52px;
  height: 52px;
  pointer-events: none;
}

.hero-bracket--tl {
  top: 44px;
  left: 28px;
  border-top: 2px solid var(--neon-blue);
  border-left: 2px solid var(--neon-blue);
  -webkit-animation: fadeIn 0.8s ease-out 0.4s both;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.hero-bracket--tr {
  top: 44px;
  right: 28px;
  border-top: 2px solid var(--neon-blue);
  border-right: 2px solid var(--neon-blue);
  -webkit-animation: fadeIn 0.8s ease-out 0.5s both;
  animation: fadeIn 0.8s ease-out 0.5s both;
}

.hero-bracket--bl {
  bottom: 74px;
  left: 28px;
  border-bottom: 2px solid var(--neon-red);
  border-left: 2px solid var(--neon-red);
  -webkit-animation: fadeIn 0.8s ease-out 0.6s both;
  animation: fadeIn 0.8s ease-out 0.6s both;
}

.hero-bracket--br {
  bottom: 74px;
  right: 28px;
  border-bottom: 2px solid var(--neon-red);
  border-right: 2px solid var(--neon-red);
  -webkit-animation: fadeIn 0.8s ease-out 0.7s both;
  animation: fadeIn 0.8s ease-out 0.7s both;
}

.hero-hud {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 2.4;
  -webkit-animation: fadeIn 1s ease-out 1.2s both;
  animation: fadeIn 1s ease-out 1.2s both;
}

.hero-hud--left {
  left: 36px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: left;
}

.hero-hud--right {
  right: 36px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: right;
}

.hero-hud .val {
  color: var(--text-sub);
}

.hero-hud .live {
  color: var(--neon-blue);
  -webkit-animation: hudBlink 2s ease-in-out infinite;
  animation: hudBlink 2s ease-in-out infinite;
}

@-webkit-keyframes hudBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
@keyframes hudBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
.hero-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(0, 200, 255, 0.22);
  color: var(--neon-blue);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
  -webkit-animation: fadeInDown 0.8s ease-out 0.2s both;
  animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  -webkit-box-shadow: 0 0 8px var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  -webkit-animation: dotBlink 1.4s ease-in-out infinite;
  animation: dotBlink 1.4s ease-in-out infinite;
}

@-webkit-keyframes dotBlink {
  0%, 100% {
    opacity: 1;
    -webkit-box-shadow: 0 0 8px var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
  }
  50% {
    opacity: 0.1;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}
@keyframes dotBlink {
  0%, 100% {
    opacity: 1;
    -webkit-box-shadow: 0 0 8px var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
  }
  50% {
    opacity: 0.1;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}
.hero-logo {
  padding-bottom: 45px;
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin: 0 0 6px;
  background: linear-gradient(150deg, #ffffff 0%, var(--neon-blue) 50%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  -webkit-animation: logoEntrance 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards, logoGlitch 9s ease-in-out 5s infinite;
  animation: logoEntrance 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards, logoGlitch 9s ease-in-out 5s infinite;
}

@-webkit-keyframes logoEntrance {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.82) translateY(-22px);
    transform: scale(0.82) translateY(-22px);
    -webkit-filter: blur(20px);
    filter: blur(20px);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.02) translateY(0);
    transform: scale(1.02) translateY(0);
    -webkit-filter: blur(0) drop-shadow(0 0 80px rgba(0, 200, 255, 0.6));
    filter: blur(0) drop-shadow(0 0 80px rgba(0, 200, 255, 0.6));
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
    filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
  }
}
@keyframes logoEntrance {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.82) translateY(-22px);
    transform: scale(0.82) translateY(-22px);
    -webkit-filter: blur(20px);
    filter: blur(20px);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.02) translateY(0);
    transform: scale(1.02) translateY(0);
    -webkit-filter: blur(0) drop-shadow(0 0 80px rgba(0, 200, 255, 0.6));
    filter: blur(0) drop-shadow(0 0 80px rgba(0, 200, 255, 0.6));
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    -webkit-filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
    filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
  }
}
@-webkit-keyframes logoGlitch {
  0%, 87%, 100% {
    -webkit-transform: none;
    transform: none;
  }
  88% {
    -webkit-transform: translate(-5px, 0) skewX(-3deg);
    transform: translate(-5px, 0) skewX(-3deg);
    -webkit-filter: drop-shadow(5px 0 0 rgba(255, 30, 60, 0.9)) drop-shadow(-5px 0 0 rgba(0, 200, 255, 0.9));
    filter: drop-shadow(5px 0 0 rgba(255, 30, 60, 0.9)) drop-shadow(-5px 0 0 rgba(0, 200, 255, 0.9));
  }
  89% {
    -webkit-transform: translate(4px, 0);
    transform: translate(4px, 0);
  }
  90% {
    -webkit-transform: translate(-2px, 1px);
    transform: translate(-2px, 1px);
  }
  91% {
    -webkit-transform: none;
    transform: none;
    -webkit-filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
    filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
  }
  92% {
    -webkit-transform: translate(3px, 0) skewX(1deg);
    transform: translate(3px, 0) skewX(1deg);
  }
  93% {
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes logoGlitch {
  0%, 87%, 100% {
    -webkit-transform: none;
    transform: none;
  }
  88% {
    -webkit-transform: translate(-5px, 0) skewX(-3deg);
    transform: translate(-5px, 0) skewX(-3deg);
    -webkit-filter: drop-shadow(5px 0 0 rgba(255, 30, 60, 0.9)) drop-shadow(-5px 0 0 rgba(0, 200, 255, 0.9));
    filter: drop-shadow(5px 0 0 rgba(255, 30, 60, 0.9)) drop-shadow(-5px 0 0 rgba(0, 200, 255, 0.9));
  }
  89% {
    -webkit-transform: translate(4px, 0);
    transform: translate(4px, 0);
  }
  90% {
    -webkit-transform: translate(-2px, 1px);
    transform: translate(-2px, 1px);
  }
  91% {
    -webkit-transform: none;
    transform: none;
    -webkit-filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
    filter: drop-shadow(0 0 50px rgba(0, 200, 255, 0.3));
  }
  92% {
    -webkit-transform: translate(3px, 0) skewX(1deg);
    transform: translate(3px, 0) skewX(1deg);
  }
  93% {
    -webkit-transform: none;
    transform: none;
  }
}
.hero-tagline-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 8px;
}

.hero-tagline-wrap::before,
.hero-tagline-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(var(--neon-red)), to(transparent));
  background: linear-gradient(90deg, transparent, var(--neon-red), transparent);
  opacity: 0;
  -webkit-animation: fadeIn 0.3s ease-out 2.4s forwards;
  animation: fadeIn 0.3s ease-out 2.4s forwards;
}

.hero-tagline-wrap::before {
  top: -8px;
}

.hero-tagline-wrap::after {
  bottom: -8px;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2.2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--neon-red);
  text-shadow: 0 0 20px rgba(255, 30, 60, 0.55), 0 0 60px rgba(255, 30, 60, 0.2);
  clip-path: inset(0 100% 0 0);
  -webkit-animation: taglineReveal 1s cubic-bezier(0.77, 0, 0.175, 1) 1.2s forwards;
  animation: taglineReveal 1s cubic-bezier(0.77, 0, 0.175, 1) 1.2s forwards;
}

@-webkit-keyframes taglineReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0% 0 0);
  }
}
@keyframes taglineReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0% 0 0);
  }
}
.hero-sub {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.95;
  margin: 20px 0 44px;
  max-width: 480px;
  -webkit-animation: fadeInUp 0.8s ease-out 2s both;
  animation: fadeInUp 0.8s ease-out 2s both;
}

.hero-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: none;
  gap: 40px;
  -webkit-animation: fadeInUp 0.8s ease-out 2.2s both;
  animation: fadeInUp 0.8s ease-out 2.2s both;
}

.hero-stat {
  text-align: center;
  min-width: 120px;
}

.hero-stat .stat-prog {
  text-align: left;
  margin-top: 8px;
}

.hero-stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
}

.hero-stat-label {
  display: block;
  font-size: 0.62rem;
  color: var(--text-sub);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-animation: fadeIn 1s ease-out 3.2s both;
  animation: fadeIn 1s ease-out 3.2s both;
}

.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: -webkit-gradient(linear, left top, left bottom, from(var(--neon-blue)), to(transparent));
  background: linear-gradient(180deg, var(--neon-blue), transparent);
  -webkit-animation: scrollPulse 1.8s ease-in-out infinite;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@-webkit-keyframes scrollPulse {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
/* ===================== トップ: ニュース (ブログ新着) ===================== */
.news-section {
  padding: 0 20px 90px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.news-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--neon-blue);
  padding: 8px 24px 18px;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  border-bottom: 1px solid rgba(0, 200, 255, 0.08);
  opacity: 0;
  -webkit-transform: translateX(-16px);
  transform: translateX(-16px);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-transition-delay: calc(var(--i, 0) * 0.08s);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.news-section.is-visible .news-item {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.news-link {
  --cat: var(--neon-blue);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px 16px;
  padding: 14px 4px;
  text-decoration: none;
  -webkit-transition: background 0.2s, padding-left 0.2s;
  transition: background 0.2s, padding-left 0.2s;
}

.news-link:hover {
  background: rgba(0, 200, 255, 0.05);
  padding-left: 12px;
}

.news-date {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
}

.news-cat {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  min-width: 6.5em;
  text-align: center;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--cat);
  border: 1px solid var(--cat);
  background: color-mix(in srgb, var(--cat) 12%, transparent);
}

.news-title {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 260px;
  flex: 1 1 260px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.news-link:hover .news-title {
  color: var(--neon-blue);
}

.news-badges {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: 4px;
}

.news-new {
  display: block;
  text-align: center;
  padding: 1px 6px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--neon-red);
  -webkit-animation: newBlink 1.6s ease-in-out infinite;
  animation: newBlink 1.6s ease-in-out infinite;
}

@-webkit-keyframes newBlink {
  50% {
    opacity: 0.55;
  }
}

@keyframes newBlink {
  50% {
    opacity: 0.55;
  }
}
.news-more {
  display: block;
  margin-top: 14px;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--neon-blue);
  text-decoration: none;
}

.news-more:hover {
  color: var(--neon-cyan);
}

@media (prefers-reduced-motion: reduce) {
  .news-item {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: none;
    transition: none;
  }
  .news-new {
    -webkit-animation: none;
    animation: none;
  }
}
.nav-section {
  padding: 60px 20px 90px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.nav-section-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 32px;
}

/* 左右に光るライン */
.nav-section-label::before,
.nav-section-label::after {
  content: "";
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 1px;
}

.nav-section-label::before {
  background: -webkit-gradient(linear, left top, right top, from(transparent), to(var(--neon-blue)));
  background: linear-gradient(90deg, transparent, var(--neon-blue));
}

.nav-section-label::after {
  background: -webkit-gradient(linear, left top, right top, from(var(--neon-blue)), to(transparent));
  background: linear-gradient(90deg, var(--neon-blue), transparent);
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.nav-card {
  display: block;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-left: 2px solid transparent;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  padding: 26px 24px 22px;
  text-decoration: none;
  color: inherit;
  -webkit-transition: border-left-color 0.25s, -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  transition: border-left-color 0.25s, -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  transition: transform 0.25s, box-shadow 0.25s, border-left-color 0.25s;
  transition: transform 0.25s, box-shadow 0.25s, border-left-color 0.25s, -webkit-transform 0.25s, -webkit-box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.nav-card.visible {
  -webkit-animation: cardEntrance 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation: cardEntrance 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 18px;
  height: 2px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, var(--neon-blue)), to(transparent));
  background: linear-gradient(90deg, transparent, var(--neon-blue) 50%, transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  -webkit-animation: dataFlowNav 3.5s linear infinite;
  animation: dataFlowNav 3.5s linear infinite;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.nav-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(0, 200, 255, 0.05) 50%, transparent 70%);
  -webkit-transform: translateX(-120%);
  transform: translateX(-120%);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  pointer-events: none;
}

.nav-card:hover {
  border-left-color: var(--neon-blue);
  -webkit-box-shadow: 0 0 30px rgba(0, 200, 255, 0.1), -2px 0 0 var(--neon-blue), 0 10px 48px rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.1), -2px 0 0 var(--neon-blue), 0 10px 48px rgba(0, 0, 0, 0.55);
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}

.nav-card:hover::before {
  opacity: 1;
}

.nav-card:hover::after {
  -webkit-transform: translateX(120%);
  transform: translateX(120%);
}

.nav-card:hover .nav-card-icon {
  -webkit-filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.85));
  filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.85));
}

.nav-card:hover .nav-card-cta {
  color: var(--neon-red);
  text-shadow: 0 0 12px rgba(255, 30, 60, 0.5);
}

@-webkit-keyframes cardEntrance {
  from {
    opacity: 0;
    -webkit-transform: translateY(24px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes cardEntrance {
  from {
    opacity: 0;
    -webkit-transform: translateY(24px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes dataFlowNav {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}
@keyframes dataFlowNav {
  0% {
    background-position: -50% 0;
  }
  100% {
    background-position: 150% 0;
  }
}
.nav-card-icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: block;
  -webkit-filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.35));
  filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.35));
  -webkit-transition: -webkit-filter 0.25s;
  transition: -webkit-filter 0.25s;
  transition: filter 0.25s;
  transition: filter 0.25s, -webkit-filter 0.25s;
}

.nav-card-en {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--neon-blue);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.nav-card-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.nav-card-desc {
  font-size: 0.79rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin: 0;
}

.nav-card-cta {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  -webkit-transition: color 0.2s, text-shadow 0.2s;
  transition: color 0.2s, text-shadow 0.2s;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(-14px);
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translateY(-14px);
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@media (max-width: 1080px) {
  .hero-hud {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 90px 16px 70px;
  }
  .hero-tagline {
    letter-spacing: 0.12em;
  }
  .hero-bracket {
    display: none;
  }
  .hero-stats {
    gap: 22px;
  }
  .hero-stat-num {
    font-size: 1.9rem;
  }
  .nav-cards {
    grid-template-columns: 1fr;
  }
}
/* ===================== ログインUI ===================== */
.login-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 40vh;
  gap: 20px;
}

.login-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--neon-blue);
  padding: 40px 48px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.login-box p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.google-login-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 2px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow 0.2s;
  transition: -webkit-box-shadow 0.2s;
  transition: box-shadow 0.2s;
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.google-login-btn:hover {
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.google-login-btn svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.user-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.user-bar-name {
  color: var(--text-sub);
}

.user-bar-logout {
  background: none;
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  padding: 3px 10px;
  font-size: 0.72rem;
  cursor: pointer;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.user-bar-logout:hover {
  border-color: var(--neon-red);
  color: var(--neon-red);
}

/* ===================== Hero Flash ===================== */
@-webkit-keyframes hero-bolt {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  22% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes hero-bolt {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  22% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes hero-flash-in {
  0% {
    opacity: 0;
    -webkit-filter: brightness(6);
            filter: brightness(6);
  }
  10% {
    opacity: 1;
    -webkit-filter: brightness(3);
            filter: brightness(3);
  }
  20% {
    opacity: 0.2;
  }
  30% {
    opacity: 1;
    -webkit-filter: brightness(2);
            filter: brightness(2);
  }
  45% {
    opacity: 1;
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  100% {
    opacity: 0;
  }
}
@keyframes hero-flash-in {
  0% {
    opacity: 0;
    -webkit-filter: brightness(6);
            filter: brightness(6);
  }
  10% {
    opacity: 1;
    -webkit-filter: brightness(3);
            filter: brightness(3);
  }
  20% {
    opacity: 0.2;
  }
  30% {
    opacity: 1;
    -webkit-filter: brightness(2);
            filter: brightness(2);
  }
  45% {
    opacity: 1;
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  100% {
    opacity: 0;
  }
}
.hero-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.hero-flash__bolt {
  position: absolute;
  inset: 0;
  background: rgba(200, 240, 255, 0.6);
  opacity: 0;
}

.hero-flash__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  -webkit-filter: brightness(1);
          filter: brightness(1);
}

.hero-flash.active .hero-flash__bolt {
  -webkit-animation: hero-bolt 0.25s ease-out forwards;
          animation: hero-bolt 0.25s ease-out forwards;
}

.hero-flash.active .hero-flash__img {
  -webkit-animation: hero-flash-in 1s ease-in-out forwards;
          animation: hero-flash-in 1s ease-in-out forwards;
}

/* ===================== Circle Slider ===================== */
.circle-slider-section {
  padding: 60px 0 50px;
  overflow: hidden;
}

.cs-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0.65;
}

.circle-slider {
  position: relative;
  height: 360px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-perspective: 1100px;
          perspective: 1100px;
}

.cs-track {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.cs-item {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: opacity 0.6s ease, width 0.6s ease, height 0.6s ease, -webkit-transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.6s ease;
  transition: opacity 0.6s ease, width 0.6s ease, height 0.6s ease, -webkit-transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.6s ease;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease, box-shadow 0.6s ease, width 0.6s ease, height 0.6s ease;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease, box-shadow 0.6s ease, width 0.6s ease, height 0.6s ease, -webkit-transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), -webkit-box-shadow 0.6s ease;
}

.cs-item-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.cs-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.cs-item.pos-0 {
  width: 290px;
  height: 290px;
  -webkit-transform: translateX(0) rotateY(0deg);
          transform: translateX(0) rotateY(0deg);
  opacity: 1;
  z-index: 10;
  -webkit-box-shadow: 0 0 0 3px var(--neon-blue), 0 0 30px rgba(0, 200, 255, 0.6), 0 0 70px rgba(0, 200, 255, 0.22);
          box-shadow: 0 0 0 3px var(--neon-blue), 0 0 30px rgba(0, 200, 255, 0.6), 0 0 70px rgba(0, 200, 255, 0.22);
}

.cs-item.pos-n1 {
  width: 200px;
  height: 200px;
  -webkit-transform: translateX(-240px) rotateY(30deg);
          transform: translateX(-240px) rotateY(30deg);
  opacity: 0.55;
  z-index: 8;
  -webkit-box-shadow: 0 0 0 1.5px rgba(0, 200, 255, 0.3);
          box-shadow: 0 0 0 1.5px rgba(0, 200, 255, 0.3);
}

.cs-item.pos-p1 {
  width: 200px;
  height: 200px;
  -webkit-transform: translateX(240px) rotateY(-30deg);
          transform: translateX(240px) rotateY(-30deg);
  opacity: 0.55;
  z-index: 8;
  -webkit-box-shadow: 0 0 0 1.5px rgba(0, 200, 255, 0.3);
          box-shadow: 0 0 0 1.5px rgba(0, 200, 255, 0.3);
}

.cs-item.pos-n2 {
  width: 130px;
  height: 130px;
  -webkit-transform: translateX(-390px) rotateY(45deg);
          transform: translateX(-390px) rotateY(45deg);
  opacity: 0.25;
  z-index: 6;
}

.cs-item.pos-p2 {
  width: 130px;
  height: 130px;
  -webkit-transform: translateX(390px) rotateY(-45deg);
          transform: translateX(390px) rotateY(-45deg);
  opacity: 0.25;
  z-index: 6;
}

.cs-item.pos-hidden {
  width: 80px;
  height: 80px;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-transform: translateX(0) scale(0.1);
          transform: translateX(0) scale(0.1);
}

.cs-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: rgba(0, 200, 255, 0.06);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--neon-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  line-height: 1;
}

.cs-btn:hover {
  background: rgba(0, 200, 255, 0.18);
  -webkit-box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
          box-shadow: 0 0 12px rgba(0, 200, 255, 0.4);
}

.cs-prev {
  left: 12px;
}

.cs-next {
  right: 12px;
}

.cs-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.cs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.2);
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.cs-dot.active {
  background: var(--neon-blue);
  -webkit-box-shadow: 0 0 8px var(--neon-blue);
          box-shadow: 0 0 8px var(--neon-blue);
  -webkit-transform: scale(1.4);
          transform: scale(1.4);
}

@media (max-width: 600px) {
  .circle-slider {
    height: 280px;
  }
  .cs-item.pos-0 {
    width: 200px;
    height: 200px;
  }
  .cs-item.pos-n1 {
    width: 130px;
    height: 130px;
    -webkit-transform: translateX(-160px) rotateY(25deg);
            transform: translateX(-160px) rotateY(25deg);
  }
  .cs-item.pos-p1 {
    width: 130px;
    height: 130px;
    -webkit-transform: translateX(160px) rotateY(-25deg);
            transform: translateX(160px) rotateY(-25deg);
  }
  .cs-item.pos-n2, .cs-item.pos-p2 {
    opacity: 0;
    pointer-events: none;
  }
}
/* ===================== パララックスバナー ===================== */
.parallax-banner {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.parallax-banner__img {
  width: 100%;
  height: 100%;
  background-image: url("../img/genger08.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .parallax-banner {
    height: 380px;
  }
  .parallax-banner__img {
    background-image: url("../img/genger09.png");
    background-attachment: scroll;
  }
}
/* カウントタイマー: 00:00 / 1:19:26 の時計表示 */
#count-number.is-clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#count-number.is-clock.is-hours {
  font-size: clamp(3.4rem, 14vw, 8rem);
}

/* フッターのサイトマップへのリンク (js/common.js で全ページに出す) */
.footer-links {
  margin-top: 8px;
}
.footer-sitemap {
  font-size: 0.74rem;
  color: var(--text-sub);
  text-decoration: none;
  letter-spacing: 0.1em;
}
.footer-sitemap:hover {
  color: var(--neon-blue);
  text-decoration: underline;
}

/* ハンバーガーメニュー: 配下のページは「＋」で開く (js/common.js) */
.drawer-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(0, 200, 255, 0.07);
}
.drawer-row a {
  flex: 1;
  min-width: 0;
  border-bottom: none !important;
}
.drawer-toggle {
  flex: none;
  width: 52px;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon-blue);
  background: transparent;
  border: none;
  border-left: 1px solid rgba(0, 200, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.drawer-toggle:hover {
  color: #fff;
  background: rgba(0, 200, 255, 0.1);
}
.drawer-sub {
  display: none;
  background: rgba(0, 200, 255, 0.03);
}
.drawer-item.open > .drawer-sub {
  display: block;
}
.drawer-item.depth-1 > .drawer-row a {
  padding: 11px 24px 11px 40px;
  font-size: 0.84rem;
}
.drawer-item.depth-2 > .drawer-row a {
  padding: 10px 24px 10px 56px;
  font-size: 0.8rem;
}
.drawer-item.depth-1 > .drawer-row a::before,
.drawer-item.depth-2 > .drawer-row a::before {
  content: "└ ";
  color: rgba(0, 200, 255, 0.45);
}
