/* メニューコンテナのスタイル */
.global-nav {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* ガラスモーフィズム横長枠のスタイル */
.glass-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.glass-container:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.glass-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-container:hover::before {
  opacity: 1;
}

.glass-container::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-container:hover::after {
  opacity: 1;
}

/* 既存のメニュースタイル */
.global-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 100%);
  z-index: 0;
  transition: opacity 0.4s ease;
}

.global-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.global-nav:hover::before {
  opacity: 0.8;
}

/* メニューアイテムのスタイル */
.global-nav li {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.global-nav li:hover {
  transform: translateX(-4px);
}

.global-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: rgba(51, 51, 51, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: rgba(51, 51, 51, 0.6);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
}

.global-nav a:hover {
  color: rgba(51, 51, 51, 1);
  text-shadow: none;
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* アクティブなメニューアイテム */
.global-nav .current-menu-item a {
  color: rgba(51, 51, 51, 1);
  font-weight: 600;
}

.global-nav .current-menu-item a::after {
  transform: scaleX(1);
  background: rgba(51, 51, 51, 0.6);
}

/* リキッドエフェクト */
.global-nav::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.global-nav:hover::after {
  opacity: 1;
}

/* Homeメニューアイテムを非表示 */
.global-nav li:first-child {
  display: none;
}
