@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@400;500;700&display=swap");

/* ===== Apple-style dark translucent bar ===== */
header#fs-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  z-index: -1;
  transition: background 0.3s ease;
}

/* ===== Scroll state ===== */
header#fs-header.scrolled {
  box-shadow: none;
}
header#fs-header.scrolled::before {
  background: rgba(255, 255, 255, 0.92);
}

/* ===== Nav-link hover: subtle opacity, no underline (Apple style) ===== */
.pc-nav a.nav-link:hover {
  color: rgba(0, 0, 0, 1);
}

/* ===== Hamburger ✕ animation ===== */
#menu-button.active .bar.top {
  transform: translateY(3.5px) rotate(45deg);
  background-color: #1d1d1f;
}
#menu-button.active .bar.middle {
  transform: translateY(-3.5px) rotate(-45deg);
  background-color: #1d1d1f;
}

/* ===== Mobile menu active state ===== */
#mobile-menu.active {
  opacity: 1;
  visibility: visible;
}
#mobile-menu.active .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}
#mobile-menu.active .mobile-nav-item:nth-child(1) { transition: all 0.35s 0.1s cubic-bezier(0.16, 1, 0.3, 1); }
#mobile-menu.active .mobile-nav-item:nth-child(2) { transition: all 0.35s 0.15s cubic-bezier(0.16, 1, 0.3, 1); }
#mobile-menu.active .mobile-nav-item:nth-child(3) { transition: all 0.35s 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
#mobile-menu.active .mobile-nav-item:nth-child(4) { transition: all 0.35s 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
#mobile-menu.active .mobile-nav-item:nth-child(5) { transition: all 0.35s 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
#mobile-menu.active .mobile-nav-item:nth-child(6) { transition: all 0.35s 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
#mobile-menu.active .mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* ===== Body scroll lock ===== */
body.menu-open {
  overflow: hidden;
}
