/* =====================================================================
 * ハンバーガーメニュー（全ページ共通）
 * ===================================================================== */

.menu-toggle {
  position: fixed;
  top: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border: none;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: #000;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.menu-toggle.is-open {
  background: transparent;
}

.menu-toggle.is-open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* メニューパネル本体 */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #0a0a0a;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-list li {
  margin: 16px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-overlay.is-open .menu-list li {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.is-open .menu-list li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.is-open .menu-list li:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.is-open .menu-list li:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.is-open .menu-list li:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.is-open .menu-list li:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.is-open .menu-list li:nth-child(6) { transition-delay: 0.35s; }
.menu-overlay.is-open .menu-list li:nth-child(7) { transition-delay: 0.4s; }

.menu-list a {
  display: inline-block;
  font-family: "Special Gothic Expanded One", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-list a:hover {
  color: #d63b2a;
  transform: translateX(4px);
}

.menu-list a .menu-jp {
  display: block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.menu-footer {
  position: absolute;
  bottom: 32px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .menu-toggle {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .menu-list a {
    font-size: clamp(24px, 8vw, 36px);
  }
}
