@charset "UTF-8";

/* ====================================
   Hero Area
   ==================================== */
.mg-p-top-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mg-p-top-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mg-p-top-hero .mg-p-top-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}

.mg-p-top-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.mg-p-top-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.mg-p-top-hero-title {
  font-size: 3.75rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text-color);
  line-height: 1;
}

.mg-p-top-hero-desc {
  font-size: 0.875rem;
  letter-spacing: 0.4em;
  color: rgba(238, 238, 238, 0.7);
  margin-top: 1.5rem;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .mg-p-top-hero-title {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .mg-p-top-hero-title {
    font-size: 6rem;
  }
}

/* スクロールインジケーター */
.mg-p-top-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.7s var(--ease-out-expo);
}

.mg-p-top-scroll-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(238, 238, 238, 0.5);
  text-transform: uppercase;
}

.mg-p-top-scroll-bar {
  width: 1px;
  height: 48px;
  background-color: rgba(238, 238, 238, 0.2);
  position: relative;
  overflow: hidden;
}

@keyframes mg-scroll-line {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(200%);
  }
}

.mg-p-top-scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: rgba(238, 238, 238, 0.6);
  animation: mg-scroll-line 1.8s ease-in-out infinite;
}

/* 下部グラデーションマスク */
.mg-p-top-hero-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--bg-color), transparent);
  z-index: 5;
}
