/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 76px 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-logo-name { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.nav-links {
  display: flex; gap: 28px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; text-decoration: none;
  color: #d4a000; transition: color 0.2s;
}
.nav-links a:hover { color: #b88a00; }
.btn-enterprise {
  display: inline-flex; align-items: center; gap: 6px;
  background: #4a2d7a; color: #ffffff;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none;
  padding: 8px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid #35205a;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(74,45,122,0.25);
  white-space: nowrap; flex-shrink: 0;
}
.btn-enterprise:hover { background: #35205a; transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger {
  position: fixed; top: 14px; right: 14px; z-index: 200;
  width: 40px; height: 40px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}
.hamburger:hover { background: var(--accent-light); border-color: var(--accent); }
.hamburger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── DRAWER ── */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(17,19,24,0.4); backdrop-filter: blur(4px);
  z-index: 150; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 272px;
  background: var(--bg); border-left: 1px solid var(--border);
  z-index: 160; transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; padding: 68px 0 36px;
}
.drawer.open { transform: translateX(0); }
.drawer-logo { padding: 0 24px 24px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.drawer-logo-name { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--ink); display: block; }
.drawer-nav {
  flex: 1; overflow-y: auto;
  position: static; top: auto; z-index: auto;
  background: none; backdrop-filter: none;
  border-bottom: none; padding: 0;
  display: block; height: auto;
}
.drawer-nav ul { list-style: none; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.drawer-nav li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  text-decoration: none; color: var(--ink-light);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  border-radius: var(--radius-sm); transition: background 0.15s, color 0.15s;
}
.drawer-nav li a:hover { background: var(--accent-light); color: var(--accent); }
.drawer-nav li a .d-num { font-size: 11px; color: var(--ink-faint); min-width: 22px; }
.drawer-footer {
  padding: 20px 24px 0; font-family: var(--body); font-size: 11px;
  color: var(--ink-faint); border-top: 1px solid var(--border); line-height: 1.8;
}

/* ── DRAWER ENTERPRISE CTA (mobile で btn-enterprise が隠れるので代替リンクを配置) ── */
.drawer-enterprise-cta {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin: 12px 16px 16px;
  background: #4a2d7a; color: #ffffff;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none;
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid #35205a;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(74,45,122,0.25);
}
.drawer-enterprise-cta:hover {
  background: #35205a; border-color: #25163f;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(74,45,122,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 68px 0 20px; }
  .nav-links { display: none; }
  .btn-enterprise { display: none; }
}
