/* Common styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');
body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
/* body {
  font-family: 'Noto Serif JP', serif;
  line-height: 1.6;
  color: #333;
} */
/* Page Fade In Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Disable transitions for header except hamburger menu */
header *:not(.hamburger-menu):not(.hamburger-menu span):not(.nav-menu):not(.nav-menu *) {
  transition: none !important;
}
/* Page Transition Animation */
.page-transition {
  animation: fadeIn 0.6s ease-in-out;
}

/* Scroll Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
  visibility: hidden;

  &.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}
/* Optional: Different timing for each property */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-section {
    transition:
      opacity 1.2s cubic-bezier(0.4, 0, 0, 1),
      transform 1.2s cubic-bezier(0.4, 0, 0, 1),
      filter 0.8s cubic-bezier(0.4, 0, 0, 1),
      visibility 0s;
  }
}

/* Display Control */
.pc_only {
  display: block;
  @media (max-width: 768px) {
    display: none;
  }
}

.sp_only {
  display: none;
  @media (max-width: 768px) {
    display: block;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
