#vanta-bg-low,
#vanta-bg-high {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* 上の層のマウス反応を消して、下の層も動くようにする */
#vanta-bg-high {
  pointer-events: none;
}

/* 親要素からはみ出さない（突き出し防止） */
.mv-section {
  position: relative;
  overflow: hidden;
}

/* 文字が背景に隠れないようにする */
.mv-left {
  position: relative;
  z-index: 10;
}

@keyframes sparkle {
  0% {
    opacity: 1;
  }

  20% {
    opacity: 0.7;
  }

  40% {
    opacity: 1;
  }

  60% {
    opacity: 0.85;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0.9;
  }
}


body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
}

.mv-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 102vh;
  padding: 0 8vw;
  position: relative;
  gap: 3rem;
  flex-wrap: wrap;
  background: radial-gradient(ellipse at right center, rgba(80, 120, 255, 0.2), transparent 70%),
    linear-gradient(to top left, rgba(160, 80, 200, 0.08), transparent),
    #0b0b15;
}

.mv-left {
  flex: 1;
  min-width: 300px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-text {
  position: fixed;
  left: 50%;
  width: 100%;
  text-align: center;
  z-index: 10;
  will-change: transform;
}

/*DESIGNの裏に光ぼかし */
.mv-text::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 300px;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle at center, rgba(120, 100, 255, 0.35), rgba(80, 200, 255, 0.2), transparent);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.mv-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
}

.mv-text p {
  font-size: 1rem;
  color: #ccc;
  text-align: center;
}

.glow-dot {
  position: absolute;
  border-radius: 50%;
  background-color: #88ccff;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 10px #88ccff, 0 0 30px #88ccff, 0 0 50px #88ccff;
  animation: floatDot 5s infinite ease-in-out alternate;
  z-index: 2;
}

@keyframes floatDot {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translateY(-20px) scale(1.3);
    opacity: 0.4;
  }
}

@media screen and (max-width: 1024px) {
  .mv-section {
    height: 70vh;
  }
}

@media screen and (max-width: 768px) {
  .mv-section {
    flex-direction: column;
    justify-content: center;
    padding: 4vw;
  }

  .mv-left {
    flex: unset;
    width: 100%;
    text-align: center;
  }
}



@media screen and (max-width: 1024px) {
  .mv-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .mv-text {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    text-align: center;
    padding: 0 5vw;
    box-sizing: border-box;
    margin-top: -20px;
  }

  .mv-text h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #fff;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .mv-text p {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    color: #ddd;
    opacity: 0.9;
  }
}

@media screen and (max-width: 768px) {
  .mv-text h1 {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 280px;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 1.8rem;
    text-align: center;
  }

  .mv-text p {
    max-width: 100%;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }
}

@media screen and (max-width: 480px) {
  .mv-text h1 {
    font-size: 1.8rem;
    letter-spacing: 0.08em;
  }

  .mv-text p {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
  }
}