/* ふくろいAIラボ - 共通ヘッダースタイル */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.nav-logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: #6c63ff;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: #6c63ff; }
.nav-cta {
  background: linear-gradient(135deg, #6c63ff, #48c6ef);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108,99,255,0.35);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
}
