/* --- ヘッダー全体のスタイル --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.05em;
}

/* --- ハンバーガーボタン --- */
.menu-trigger {
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.menu-trigger .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1a1a1a !important; /* !important をつけて最優先にする */
  display: block !important;             /* 万が一非表示にされてる場合の対策 */
  transition: all 0.3s ease-in-out;
}

.menu-trigger .bar:nth-child(1) { top: 0; }
.menu-trigger .bar:nth-child(2) { top: 11px; }
.menu-trigger .bar:nth-child(3) { top: 22px; }

/* ボタンがアクティブ（開いた時）の変形（×印に変化） */
.menu-trigger[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-trigger[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.menu-trigger[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* --- ナビゲーションメニュー --- */
.global-nav {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態は画面の外に隠す */
  width: 100%;
  max-width: 300px; /* メニューの横幅 */
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
  padding: 80px 40px 40px;
  transition: right 0.3s ease-in-out;
  box-sizing: border-box;
}

/* メニューが開いた時 */
.global-nav.is-active {
  right: 0;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin-bottom: 25px;
}

.nav-item a {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

/* マウスホバー時のちょっとした色変化 */
.nav-item a:hover {
  color: #0066cc; /* メテオデザイン様のブランドカラー等に合わせて変更してください */
}

/* --- ヘッダーの被り対策 --- */
body {
  padding-top: 70px !important; /* ヘッダーの高さ分、全体を下げる */
}