body {
  background-color: #ffffff;
  color: #1a2b4c;
  -webkit-font-smoothing: antialiased;
  -webkit-touch-callout: none;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* FV Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fv-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: bgFade 18s infinite ease-in-out;
}

.fv-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.fv-bg-slide:nth-child(2) {
  animation-delay: 6s;
}

.fv-bg-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes bgFade {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  10% {
    opacity: 1;
    transform: scale(1.05);
  }

  33% {
    opacity: 1;
    transform: scale(1.02);
  }

  43% {
    opacity: 0;
    transform: scale(1.0);
  }

  100% {
    opacity: 0;
  }
}

/* Dot Leader for Menu */
.dot-leader {
  flex-grow: 1;
  border-bottom: 2px dotted #e2e8f0;
  margin: 0 16px;
  position: relative;
  top: -8px;
}

/* Menu Slider Linear Transition */
.menu-slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* iOS Safari Background Fixed Zoom Fix */
@supports (-webkit-touch-callout: none) {
  .bg-fixed {
    /* iOS Safariではfixedとcoverの相性が悪いため、パララックスを無効化して通常のスクロール背景にするのが最も安定します */
    background-attachment: scroll !important;
  }
}