/* ==========================================================
   BLACK FAMILY - 悪魔×アイドルコンセプトカフェ (Mystic Dark Ver.)
   ========================================================== */

:root {
  --color-bg: #050203;
  --color-bg-alt: #0a0406;
  --color-panel: rgba(20, 8, 12, 0.6);
  --color-red: #b0122a;
  --color-red-bright: #ff2745;
  --color-red-deep: #6e0c1c;
  --color-magenta: #a40b54;
  --color-gold: #c9a24b;
  --color-text: #f3ecec;
  --color-text-dim: #b8a6a9;
  --color-border: rgba(255, 39, 69, 0.25);

  --font-display: "Cinzel Decorative", "Shippori Mincho", serif;
  --font-heading: "Shippori Mincho", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;

  --header-height: 68px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

/* ==================== AMBIENT FOG (背景の妖しい霧) ==================== */
#ambient-fog {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: 
    radial-gradient(circle at 20% 80%, rgba(164, 11, 84, 0.08), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 39, 69, 0.05), transparent 50%);
  animation: fogPulse 12s infinite alternate ease-in-out;
}
@keyframes fogPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

img { max-width: 100%; display: block; }

a, button, .btn { color: inherit; text-decoration: none; cursor: none; }

ul { list-style: none; margin: 0; padding: 0; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px;
}

.sp-only { display: inline; }
.pc-only { display: none; }

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  color: var(--color-gold);
  font-size: 0.85rem;
  text-align: center;
  margin: 0 0 12px;
  text-shadow: 0 0 10px rgba(201, 162, 75, 0.5);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: 0.08em;
  position: relative;
  text-shadow: 0 0 20px rgba(255, 39, 69, 0.4);
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--color-red-bright), transparent);
  box-shadow: 0 0 10px var(--color-red-bright);
}

.section-lead {
  text-align: center;
  color: var(--color-text-dim);
  max-width: 640px;
  margin: 0 auto 50px;
  font-size: 0.95rem;
}

/* ==================== GLASSMORPHISM PANELS ==================== */
.glass-panel {
  background: var(--color-panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: rgba(255, 39, 69, 0.6);
  box-shadow: 0 0 25px rgba(176, 18, 42, 0.5), inset 0 0 20px rgba(164, 11, 84, 0.2);
  transform: translateY(-4px);
}

/* ==================== BUTTONS ==================== */

.btn {
  display: inline-block;
  padding: 16px 38px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-red-deep), var(--color-bg));
  border: 1px solid var(--color-red-bright);
  color: #fff;
  box-shadow: 0 0 15px rgba(176, 18, 42, 0.5), inset 0 0 10px rgba(255, 39, 69, 0.2);
}

.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 0 25px rgba(255, 39, 69, 0.7), inset 0 0 20px rgba(255, 39, 69, 0.4); 
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
}

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(20, 8, 12, 0.5);
  backdrop-filter: blur(4px);
}

.btn-outline:hover { 
  background: var(--color-gold); 
  color: #050203; 
  transform: translateY(-2px); 
  box-shadow: 0 0 20px rgba(201, 162, 75, 0.5);
}

/* ==================== HEADER ==================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 500;
  background: rgba(5, 2, 4, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link { flex-shrink: 0; }

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 39, 69, 0.6));
  transition: filter 0.3s ease;
}
.logo-link:hover .logo-img {
  filter: drop-shadow(0 0 20px rgba(255, 39, 69, 1));
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: clamp(20px, 2.6vw, 34px); }
.nav-desktop a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  position: relative;
  padding: 6px 0;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-red-bright);
  box-shadow: 0 0 8px var(--color-red-bright);
  transition: width 0.3s ease;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: #fff; text-shadow: 0 0 10px rgba(255, 39, 69, 0.8); }

.header-sns { display: none; align-items: center; gap: 16px; flex-shrink: 0; }
.header-sns .sns-icon svg { width: 18px; height: 18px; fill: var(--color-text-dim); transition: fill 0.3s ease, filter 0.3s ease; }
.header-sns .sns-icon:hover svg { fill: var(--color-red-bright); filter: drop-shadow(0 0 8px var(--color-red-bright)); }

/* ==================== LANGUAGE SWITCH ==================== */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-border);
}

.lang-btn {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border: none;
  border-radius: 17px;
  background: transparent;
  color: var(--color-text-dim);
  white-space: nowrap;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.lang-btn:hover:not(.is-active) {
  color: #fff;
}
.lang-btn.is-active {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-red-bright), var(--color-red-deep));
  box-shadow: 0 0 12px rgba(255, 39, 69, 0.5);
}

.hamburger {
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: none;
  z-index: 600;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-red-bright);
  box-shadow: 0 0 6px var(--color-red-bright);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==================== MOBILE NAV ==================== */

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(80vw, 340px);
  height: 100vh;
  background: linear-gradient(160deg, #130308, #050102);
  border-left: 1px solid var(--color-border);
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  z-index: 700;
  padding: 32px 28px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../Image/web/17.jpg") center / cover no-repeat;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-red-bright);
  text-shadow: 0 0 8px var(--color-red-bright);
  font-size: 2.2rem;
  line-height: 1;
  cursor: none;
}

.mobile-nav-logo { height: 70px; width: auto; align-self: flex-start; filter: drop-shadow(0 0 10px rgba(255, 39, 69, 0.5)); }

.mobile-nav nav ul { display: flex; flex-direction: column; gap: 26px; }
.mobile-nav nav a {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.mobile-nav nav a:hover { color: var(--color-red-bright); text-shadow: 0 0 15px rgba(255, 39, 69, 0.6); }

.mobile-nav-sns { display: flex; gap: 22px; margin-top: auto; }
.mobile-nav-sns svg { width: 22px; height: 22px; fill: var(--color-text-dim); }

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 650;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ==================== HERO ==================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); filter: brightness(0.8) contrast(1.1); }
  to { transform: scale(1.1); filter: brightness(1) contrast(1.2); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(164, 11, 84, 0.15) 0%, rgba(5, 2, 3, 0.9) 80%),
    linear-gradient(180deg, rgba(5, 2, 3, 0.6) 0%, rgba(5, 2, 3, 0.3) 40%, #050203 100%);
}

.hero-bats {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bat {
  position: absolute;
  width: 30px;
  height: auto;
  opacity: 0.65;
  filter: drop-shadow(0 0 10px rgba(255, 39, 69, 0.4));
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  will-change: transform;
}

.bat-1 { top: 18%;  left: -8%;  width: 54px; animation-name: batFly1; animation-duration: 17s; animation-delay: -2s; }
.bat-2 { top: 62%;  left: -8%;  width: 54px; animation-name: batFly2; animation-duration: 21s; animation-delay: -9s; }
.bat-3 { top: 34%;  right: -8%; width: 54px; animation-name: batFly3; animation-duration: 19s; animation-delay: -5s; }
.bat-4 { top: 78%;  right: -8%; width: 54px; animation-name: batFly4; animation-duration: 24s; animation-delay: -13s; }
.bat-5 { top: 8%;   left: 42%;  width: 54px; animation-name: batFly5; animation-duration: 15s; animation-delay: -6s; }

@keyframes batFly1 {
  0%   { transform: translate(0, 0) rotate(-6deg) scaleX(1); }
  22%  { transform: translate(32vw, -10vh) rotate(5deg) scaleX(1); }
  45%  { transform: translate(62vw, 4vh) rotate(-4deg) scaleX(1); }
  50%  { transform: translate(65vw, 4vh) rotate(-4deg) scaleX(-1); }
  72%  { transform: translate(38vw, 14vh) rotate(6deg) scaleX(-1); }
  100% { transform: translate(0, 0) rotate(-6deg) scaleX(1); }
}
@keyframes batFly2 {
  0%   { transform: translate(0, 0) rotate(4deg); }
  30%  { transform: translate(40vw, -16vh) rotate(-5deg); }
  55%  { transform: translate(78vw, -2vh) rotate(4deg); }
  80%  { transform: translate(50vw, 10vh) rotate(-3deg); }
  100% { transform: translate(0, 0) rotate(4deg); }
}
@keyframes batFly3 {
  0%   { transform: translate(0, 0) rotate(5deg) scaleX(-1); }
  25%  { transform: translate(-34vw, 8vh) rotate(-4deg) scaleX(-1); }
  50%  { transform: translate(-60vw, -12vh) rotate(5deg) scaleX(-1); }
  50.1%{ transform: translate(-60vw, -12vh) rotate(5deg) scaleX(1); }
  75%  { transform: translate(-30vw, -18vh) rotate(-6deg) scaleX(1); }
  100% { transform: translate(0, 0) rotate(5deg) scaleX(-1); }
}
@keyframes batFly4 {
  0%   { transform: translate(0, 0) rotate(-3deg) scaleX(-1); }
  35%  { transform: translate(-44vw, -14vh) rotate(4deg) scaleX(-1); }
  65%  { transform: translate(-70vw, 6vh) rotate(-5deg) scaleX(-1); }
  100% { transform: translate(0, 0) rotate(-3deg) scaleX(-1); }
}
@keyframes batFly5 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(-22vw, 12vh) rotate(-6deg); }
  40%  { transform: translate(-8vw, 28vh) rotate(4deg); }
  60%  { transform: translate(16vw, 14vh) rotate(-4deg); }
  80%  { transform: translate(8vw, -6vh) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

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

.hero-logo-text {
  margin: 0;
}
.hero-logo-text img {
  width: clamp(240px, 60vw, 480px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(255, 39, 69, 0.7));
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 25px rgba(255, 39, 69, 0.6)); }
  50% { filter: drop-shadow(0 0 45px rgba(255, 39, 69, 0.9)); }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.3rem);
  letter-spacing: 0.35em;
  margin: 24px 0 10px;
  color: var(--color-text);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-sub {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin: 0 0 40px;
}

.hero-cta { 
  display: inline-flex; 
  gap: 16px; 
  justify-content: center; 
  flex-wrap: wrap; 
  position: relative;
  margin: 0 auto;
}

.hero-mascot-wrap {
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
}

.hero-mascot {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(164, 11, 84, 0.8));
  animation: mascotFloat 3.4s ease-in-out infinite;
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 1px solid rgba(255, 39, 69, 0.6);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(255, 39, 69, 0.3);
}
.scroll-down span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--color-red-bright);
  box-shadow: 0 0 8px var(--color-red-bright);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { top: 8px; opacity: 1; }
  80% { top: 26px; opacity: 0; }
  100% { top: 26px; opacity: 0; }
}

/* ==================== MARQUEE ==================== */

.marquee-bar {
  background: linear-gradient(90deg, #1c0208, #3a0014, #1c0208);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 39, 69, 0.3);
  border-bottom: 1px solid rgba(255, 39, 69, 0.3);
  box-shadow: 0 0 20px rgba(176, 18, 42, 0.5);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding-right: 40px;
  color: #fff;
  text-shadow: 0 0 8px var(--color-red-bright);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================== CONCEPT ==================== */

.concept { background: transparent; } 
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.glow-box {
  position: relative;
  border: 1px solid rgba(255, 39, 69, 0.3);
  padding: 10px;
  background: rgba(10, 2, 4, 0.6);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(164, 11, 84, 0.2);
}
.concept-image > img { width: 100%; height: auto; filter: contrast(1.1) brightness(0.9); }
.concept-image img.concept-mascot {
  position: absolute;
  width: 110px;
  height: auto;
  bottom: -35px;
  right: -25px;
  filter: drop-shadow(0 0 15px rgba(164, 11, 84, 0.8));
  animation: mascotFloat 3.4s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.concept-text p { color: var(--color-text-dim); font-size: 0.98rem; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.concept-text strong { color: var(--color-red-bright); text-shadow: 0 0 8px rgba(255, 39, 69, 0.6); }

.concept-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.concept-points li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}
.concept-points img { width: 22px; height: 22px; filter: drop-shadow(0 0 5px rgba(255, 39, 69, 0.8)); }

/* ==================== MENU / SYSTEM ==================== */

.menu {
  background: radial-gradient(circle at center, rgba(20, 5, 8, 0.4) 0%, transparent 70%);
  position: relative;
}
.menu::before {
  content: "";
  position: absolute; inset: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,39,69,0.4), transparent);
}
.menu::after {
  content: "";
  position: absolute; inset: 0; bottom: 0; height: 1px; top: auto;
  background: linear-gradient(90deg, transparent, rgba(255,39,69,0.4), transparent);
}

.price-cards {
  display: flex;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  width: 100%;
  max-width: 360px;
  padding: 40px 24px;
  text-align: center;
}
.mystic-glow {
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(164, 11, 84, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.price-card:hover .mystic-glow { opacity: 1; }

.price-card-night { background: linear-gradient(160deg, rgba(30, 5, 10, 0.7), rgba(10, 2, 4, 0.7)); }

.price-card-time {
  font-family: var(--font-heading);
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin: 0 0 14px;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(201, 162, 75, 0.4);
  position: relative;
}
.price-card-amount {
  font-family: var(--font-display);
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  position: relative;
}
.price-card-amount .price-amount-value { font-size: 2.4rem; font-weight: 700; color: var(--color-red-bright); text-shadow: 0 0 20px rgba(255, 39, 69, 0.6); }
.price-card-amount .price-amount-unit { font-size: 1rem; font-weight: 400; color: #fff; }
.price-card-note { color: var(--color-text-dim); font-size: 0.85rem; margin: 0; position: relative; }

.price-disclaimer {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.78rem;
  margin: 30px auto 0;
  max-width: 560px;
}

.menu-badges {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.menu-badge {
  text-align: center;
  padding: 20px 8px;
}
.menu-badge-icon { font-size: 2rem; display: block; margin-bottom: 8px; filter: drop-shadow(0 0 8px rgba(255,39,69,0.5)); }
.menu-badge p { margin: 0; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--color-text); }

/* ==================== CAST ==================== */

.cast { background: transparent; }

.cast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cast-card {
  padding: 0;
  aspect-ratio: 3 / 4;
}
.cast-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1), filter 0.6s ease;
  filter: grayscale(30%) contrast(1.1) brightness(0.8);
}
.cast-card:hover img { 
  transform: scale(1.08); 
  filter: grayscale(0%) contrast(1.2) brightness(1.1); 
}
.cast-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 2, 3, 0.95) 100%);
  pointer-events: none;
}
.cast-no {
  position: absolute;
  left: 16px; bottom: 12px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(201, 162, 75, 0.6);
}

.cast-note {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.8rem;
  margin-top: 40px;
}

/* ==================== SNS BUTTONS (共通コンポーネント) ==================== */

.sns-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(20, 8, 12, 0.5);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.sns-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-dim);
  transition: fill 0.3s ease;
}
.sns-btn:hover {
  border-color: var(--color-red-bright);
  box-shadow: 0 0 15px rgba(255, 39, 69, 0.45);
  transform: translateY(-2px);
}
.sns-btn:hover svg { fill: var(--color-red-bright); }

/* ==================== GALLERY ==================== */

.gallery { position: relative; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-item {
  display: block;
  padding: 0;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item-wide { grid-column: span 2; aspect-ratio: 16 / 9; }

.gallery-videos {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.video-card { padding: 0; }
.video-card video {
  width: 100%;
  background: #000;
  display: block;
}
.video-caption {
  position: absolute; bottom: 0; left: 0; width: 100%;
  margin: 0; padding: 12px 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  background: rgba(5, 2, 3, 0.8);
  color: var(--color-text);
  backdrop-filter: blur(4px);
}

/* ==================== ACCESS ==================== */

.access { background: transparent; }

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.access-info {
  padding: 30px 24px;
}

.access-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 39, 69, 0.15);
  font-size: 0.9rem;
}
.access-row:last-of-type { border-bottom: none; }

.access-row dt {
  font-family: var(--font-heading);
  color: var(--color-red-bright);
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(255, 39, 69, 0.3);
}
.access-row dd { margin: 0; color: var(--color-text); text-shadow: 0 1px 2px #000; }

.access-sns { display: flex; gap: 24px; margin-top: 30px; }
.access-sns svg { width: 22px; height: 22px; fill: var(--color-text-dim); transition: fill 0.3s ease, filter 0.3s ease; }
.access-sns a:hover svg { fill: var(--color-red-bright); filter: drop-shadow(0 0 10px var(--color-red-bright)); }

.access-media { padding: 0; }
.access-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==================== FOOTER ==================== */

.site-footer {
  background: #030102;
  border-top: 1px solid rgba(255, 39, 69, 0.3);
  padding: 60px 24px 40px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center top, rgba(164, 11, 84, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  position: relative;
}
.footer-logo { height: 50px; width: auto; opacity: 0.85; filter: drop-shadow(0 0 8px rgba(255,39,69,0.5)); }
.footer-inner nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 30px; }
.footer-inner nav a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.footer-inner nav a:hover { color: #fff; text-shadow: 0 0 10px var(--color-red-bright); }
.footer-sns { display: flex; gap: 24px; }
.footer-sns svg { width: 20px; height: 20px; fill: var(--color-text-dim); transition: fill 0.3s ease; }
.footer-sns a:hover svg { fill: var(--color-red-bright); filter: drop-shadow(0 0 8px var(--color-red-bright)); }
.footer-copy { font-size: 0.75rem; color: rgba(243,236,236,0.3); margin: 0; letter-spacing: 0.1em; }

/* ==================== BACK TO TOP ==================== */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(10, 2, 4, 0.8);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-red-bright);
  color: var(--color-red-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  box-shadow: 0 0 15px rgba(255, 39, 69, 0.4);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}
.back-to-top:hover {
  box-shadow: 0 0 25px rgba(255, 39, 69, 0.8);
  background: var(--color-red-deep);
  color: #fff;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }


/* ==========================================================
   ★マウスエフェクト (カスタムカーソル, 波紋, パーティクル)
   ========================================================== */

#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--color-magenta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--color-magenta);
  transition: width 0.25s ease, height 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 39, 69, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
}

.click-ripple {
  position: fixed;
  border: 2px solid transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9997;
  box-shadow: inset 0 0 20px rgba(255, 39, 69, 0.3);
}

@media (pointer: coarse) {
  #cursor, #cursor-ring, #particle-canvas, .click-ripple {
    display: none !important;
  }
  body, a, button, .btn {
    cursor: auto !important;
  }
}

/* ==========================================================
   CAST PROFILE PAGE (キャスト個人プロフィール)
   ========================================================== */

.profile-hero {
  padding-top: var(--header-height);
  min-height: 100svh;
  position: relative;
}

.profile-inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.profile-eyebrow { margin-bottom: 30px; }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.profile-photo {
  position: relative;
  padding: 10px;
}
.profile-photo img {
  width: 100%;
  height: auto;
  filter: contrast(1.1) brightness(0.92);
}
.profile-castno {
  position: absolute;
  left: 22px;
  bottom: 22px;
  margin: 0;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  background: rgba(5, 2, 3, 0.75);
  border: 1px solid rgba(201, 162, 75, 0.5);
  backdrop-filter: blur(4px);
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 6px;
}

.profile-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  margin: 0;
  letter-spacing: 0.06em;
  text-shadow: 0 0 20px rgba(255, 39, 69, 0.4);
  flex: 1 1 auto;
  min-width: 0;
}
.profile-kana {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  margin-top: 8px;
  font-weight: 400;
}

.profile-role {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-red-bright);
  border: 1px solid rgba(255, 39, 69, 0.4);
  padding: 6px 18px;
  margin: 18px 0 32px;
  text-shadow: 0 0 8px rgba(255, 39, 69, 0.4);
}

.profile-name-row .profile-sns {
  flex: 0 0 auto;
  margin: 0;
  gap: 10px;
}
.profile-name-row .profile-sns .sns-btn {
  width: 34px;
  height: 34px;
}
.profile-name-row .profile-sns .sns-btn svg {
  width: 14px;
  height: 14px;
}

.profile-table {
  padding: 6px 24px;
}
.profile-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 39, 69, 0.15);
  font-size: 0.9rem;
}
.profile-row:last-of-type { border-bottom: none; }
.profile-row dt {
  font-family: var(--font-heading);
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(201, 162, 75, 0.3);
}
.profile-row dd { margin: 0; color: var(--color-text); text-shadow: 0 1px 2px #000; }

.profile-comment {
  margin: 30px 4px 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text-dim);
  font-style: italic;
  letter-spacing: 0.04em;
}

.profile-back-wrap {
  text-align: center;
  margin-top: 70px;
}

/* ==========================================================
   EVENT PAGE (イベント・出勤スケジュール)
   ========================================================== */

.event-hero .profile-inner { max-width: 880px; }

.event-block { margin-top: 70px; }
.event-block:first-of-type { margin-top: 20px; }

.event-block-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  text-align: center;
  margin: 0 0 26px;
  text-shadow: 0 0 10px rgba(201, 162, 75, 0.4);
}

.event-figure {
  padding: 10px;
  max-width: 560px;
  margin: 0 auto;
}
.event-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.event-badges {
  margin: 30px auto 0;
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.event-badge {
  padding: 18px 16px;
  text-align: center;
}
.event-badge-date {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-red-bright);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255, 39, 69, 0.4);
}
.event-badge-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
.event-badge-name span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-text-dim);
  letter-spacing: 0.02em;
}

.event-note {
  text-align: center;
  color: var(--color-text-dim);
  font-size: 0.75rem;
  margin: 22px auto 0;
  max-width: 560px;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS (レスポンシブ・スマホ対応)
   ========================================================== */

/* スマートフォン（画面幅が狭い時）の調整 */
@media (max-width: 639px) {
  .header-inner {
    padding: 0 14px;
    gap: 8px;
  }
  .logo-img {
    height: 38px;
  }
  .header-right {
    gap: 8px;
  }
  .lang-switch {
    padding: 2px;
    gap: 1px;
  }
  .lang-btn {
    padding: 5px 9px;
    font-size: 0.62rem;
  }
  .hamburger {
    width: 32px;
    margin-right: 2px;
  }

  .hero {
    align-items: flex-start;
  }
  .hero-content {
    padding-top: 96px;
  }
  .hero-logo-text img {
    width: 88vw;
    max-width: 420px;
    margin-bottom: 70px;
  }

  .hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-mascot-wrap {
    top: 50%;
    right: -76px;
  }
  .hero-mascot {
    width: 64px;
  }
}

/* Tablet */
@media (min-width: 640px) {
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item-wide { grid-column: span 2; }
  .gallery-videos { grid-template-columns: repeat(3, 1fr); }
  .menu-badges { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --header-height: 84px; }

  .sp-only { display: none !important; }
  .pc-only { display: inline !important; }

  .logo-img { height: 56px; }

  .concept-grid { grid-template-columns: 1fr 1.1fr; gap: 70px; }
  .concept-image img { max-height: 560px; object-fit: cover; }

  .cast-grid { grid-template-columns: repeat(4, 1fr); }

  .access-grid { grid-template-columns: 1.1fr 0.9fr; }

  .profile-grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; }
  .profile-photo img { max-height: 640px; object-fit: cover; }
}

@media (min-width: 1120px) {
  .nav-desktop { display: block; }
  .header-sns { display: flex; }
  .hamburger { display: none; }
}

@media (min-width: 1080px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}