@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
html,
body {
  overflow-x: hidden;
  font-family: "Noto Sans JP", sans-serif;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  background-image: url("../images/main-hero-img.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-section {
  position: relative;
  background-color: black;
  height: 40vh;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.bg-semiblack {
  background-color: rgba(0, 0, 0, 0.7);
}

.bg-opacity-70 {
  backdrop-filter: blur(5px);
}

.rounded-lg {
  border-radius: 8px;
}

.bg-opacity-50 {
  background-color: rgba(0, 0, 0, 0.5);
}

/* custom css for footer */

@media (min-width: 768px) {
  .footer-list li a {
    display: inline-block;
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .footer-list li a {
    line-height: 1.25;
  }
}

nav {
  transition: background-color 0.3s ease-in-out;
}

.nav-scrolled {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  backdrop-filter: blur(2px);
  transition: background 0.3s ease-in-out;
}

#mobile-menu {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.nav-open #mobile-menu {
  background-color: white;
  color: black;
}

#mobile-menu a {
  color: inherit;
}

#mobile-menu a:hover {
  color: gray;
}

#mobile-menu a {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav-open #mobile-menu a {
  opacity: 1;
  transform: translateY(0);
}
