:where([class^="ri-"])::before {
  content: "\f3c2";
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  overflow-x: hidden;
}

.gothic-title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 0.0625rem solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(0.625rem);
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  position: absolute;
  bottom: -0.25rem;
  left: 50%;
  width: 0;
  height: 0.125rem;
  content: "";
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("../img/index2-background-hero001-27919c1f.jpg") center / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.logo-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.logo-container img {
  width: 70%;
  max-width: 56rem;
  height: auto;
  filter: drop-shadow(0 0 2rem rgba(139, 92, 246, 0.5));
}

.home-page .section-title {
  margin-bottom: 3rem;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #8b5cf6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-hover {
  transition: all 0.4s ease;
}

.card-hover:hover {
  box-shadow: 0 1.25rem 2.5rem rgba(139, 92, 246, 0.3);
  transform: translateY(-0.5rem);
}

.particle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 0.125rem;
  height: 0.125rem;
  background: #fff;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-3.125rem) translateX(1.875rem); }
}

.glow-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.glow-button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.glow-button:hover::before {
  width: 18.75rem;
  height: 18.75rem;
}

.section-gradient-primary {
  background: linear-gradient(180deg, #000 0%, #1a0b2e 50%, #000 100%);
}

.section-gradient-deep {
  background: linear-gradient(180deg, #000 0%, #0f0520 50%, #000 100%);
}

.news-image-1 {
  background-image: url("../img/index2-background-news001-412fe5d5.jpg");
}

.news-image-2 {
  background-image: url("../img/index2-background-news002-e566297b.jpg");
}

.news-image-3 {
  background-image: url("../img/index2-background-news003-309e5e93.jpg");
}

.hero-policy {
  position: relative;
  background: linear-gradient(180deg, #000 0%, #1a0a2e 100%);
}

.hero-policy::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.privacy-page .section-title,
.terms-page .section-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.privacy-page .section-title {
  font-size: 2.5rem;
}

.terms-page .section-title {
  font-size: 3rem;
}

.privacy-page .section-title::after,
.terms-page .section-title::after {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
}

.policy-section {
  background: rgba(139, 92, 246, 0.03);
  border-left: 3px solid rgba(139, 92, 246, 0.5);
  transition: all 0.3s ease;
}

.policy-section:hover {
  background: rgba(139, 92, 246, 0.08);
  border-left-color: #8b5cf6;
}

.policy-list-item {
  position: relative;
  padding-left: 1.5rem;
}

.policy-list-item::before {
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: #8b5cf6;
  border-radius: 50%;
}

.contact-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.title-divider {
  background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
}

.section-gradient-intro {
  background: linear-gradient(180deg, #000 0%, #1a0a2e 100%);
}

.section-gradient-content {
  background: linear-gradient(180deg, #1a0a2e 0%, #0f0520 100%);
}

.section-gradient-reverse {
  background: linear-gradient(180deg, #0f0520 0%, #1a0a2e 100%);
}

.terms-content {
  background: rgba(26, 10, 46, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.terms-section {
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.terms-section:last-child {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .nav-bar > div {
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-bar > div > div:last-child {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
  }

  footer .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}
