/* Hero Video Section */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
  /* margin-top と padding-top は JavaScript で動的に設定 */
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* 動画の上にグラデーションオーバーレイ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 2025.12.02 動画を明るくしてほしいの要望あり */
    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 100%
  ); 
  pointer-events: none;
}

/* Hero Content の z-index を確保 */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  /* テキストを左上に */
  justify-content: flex-start;
  align-items: flex-start;
  /* text-align: center; */
  color: #fff;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  white-space: nowrap; /* 改行させない */
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin: 0 0 3rem 0;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 200;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-btn-primary {
  opacity: 0.6;
  color: #fff;
  position: absolute;
  bottom: 12px;
  left: 12px;
}

.hero-btn-primary:hover {
  opacity: 1;
  background-color: #CC0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-text {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 30px;
  background-color: #fff;
  position: relative;
  animation: scrollAnimation 2s ease-in-out infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scrollAnimation {
  0% {
    height: 30px;
  }
  50% {
    height: 15px;
  }
  100% {
    height: 30px;
  }
}

/* Content Section */
.content-section {
  min-height: 100vh;
  background-color: #fff;
}

/* 英語版: ヒーロータイトルを小さく */
html[lang="en"] .hero-title {
  font-size: clamp(1.2rem, 3.5vw, 2.8rem);
}


