/**
 * ハンバーガーメニューを目立たせるスタイル
 */

/* ハンバーガーメニューボタン */
.mobile-menu-toggle {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  transition: all 0.3s ease !important;
}

/* ハンバーガーメニューの線 */
.mobile-menu-toggle span {
  display: block !important;
  width: 24px !important;
  height: 3px !important;
  background: white !important;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* ホバー効果 */
.mobile-menu-toggle:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
}

/* アクティブ時のアニメーション */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0 !important;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* パルスアニメーション（注目を集める） */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(102, 126, 234, 0.7);
  }
  100% {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }
}

.mobile-menu-toggle {
  animation: pulse 2s infinite !important;
}

/* タブレット以上では非表示 */
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* モバイルメニュー本体 */
.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: -100% !important;
  width: 80% !important;
  max-width: 300px !important;
  height: 100vh !important;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%) !important;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5) !important;
  transition: left 0.3s ease !important;
  z-index: 9998 !important;
  overflow-y: auto !important;
  padding: 80px 20px 20px !important;
}

.mobile-menu.active {
  left: 0 !important;
}

/* メニューオーバーレイ */
.mobile-menu-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 9997 !important;
  display: none !important;
  backdrop-filter: blur(4px) !important;
}

.mobile-menu-overlay.active {
  display: block !important;
}

/* メニューアイテム */
.mobile-menu-item {
  display: block !important;
  padding: 15px 20px !important;
  color: white !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.mobile-menu-item:hover {
  background: rgba(102, 126, 234, 0.2) !important;
  padding-left: 30px !important;
}

.mobile-menu-item::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 4px !important;
  height: 100% !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s ease !important;
}

.mobile-menu-item:hover::before {
  transform: translateX(0) !important;
}

/* メニューヘッダー */
.mobile-menu-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 20px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-align: center !important;
}