/* 基本設定のリセット */
/* PC表示の時はスマホ用メニューを隠す */
@media (min-width: 641px) {
  .sec-gnavi-sp {
    display: none;
  }
}

/* スマホ表示の時はPC用メニューを隠す（既存のクラス名に合わせて調整してください） */
@media (max-width: 640px) {
  .sec-gnavi {
    display: none;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
/* === ナビゲーション領域の設定 === */
.sec-gnavi-sp {
  position: absolute; /* 最初は絶対配置 */
  top: 0px;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #2E3137;
  z-index: 9; /* 元のグローバルナビ(AEMヘッダ)より確実に上にする */
}
/* スクロールして画面上端に来た時の固定用クラス */
.sec-gnavi-sp.is-fixed {
  position: fixed;
  top: 0;
}
/* ロゴ画像の設定 */
.header-logo {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 120px;
  z-index: 20;
  display: block;
}
.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}
/* ハンバーガーボタン (二重丸) */
.hamburger {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #E0E721;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  padding: 0;
  transition: border-color 0.3s ease-in-out;
}
/* 内側の丸の設定 */
.hamburger span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  border: 2px solid #E0E721;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}
/* 内側の丸のサイズ */
.hamburger span:nth-of-type(1), .hamburger span:nth-of-type(2), .hamburger span:nth-of-type(3) {
  width: 20px;
  height: 20px;
}
/* === ハンバーガーボタンが開いた時（×印）の変化 === */
.hamburger.is-active {
  border-color: transparent;
}
.hamburger.is-active span:nth-of-type(1) {
  opacity: 0;
}
.hamburger.is-active span:nth-of-type(2) {
  width: 2px;
  height: 28px;
  background-color: #444444;
  border: 0 solid transparent;
  border-radius: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.is-active span:nth-of-type(3) {
  width: 2px;
  height: 28px;
  background-color: #444444;
  border: 0 solid transparent;
  border-radius: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* ナビゲーションメニュー */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #E0E721;
  z-index: 15;
  display: flex;
  justify-content: center;
  align-items: center;
  /* JSで取得したボタンのY座標(--clip-y)を中心点にする (ベンダープレフィックス追加) */
  -webkit-clip-path: circle(0px at calc(100% - 1rem - 20px) var(--clip-y, 40px));
  clip-path: circle(0px at calc(100% - 1rem - 20px) var(--clip-y, 40px));
  transition: clip-path 0.5s ease-out, -webkit-clip-path 0.5s ease-out;
}
/* メニューが開いた状態 */
.nav-menu.is-active {
  -webkit-clip-path: circle(150vmax at calc(100% - 1rem - 20px) var(--clip-y, 40px));
  clip-path: circle(150vmax at calc(100% - 1rem - 20px) var(--clip-y, 40px));
}
/* メニューリストのスタイル */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.nav-list li {
  margin-bottom: 24px;
}
/* メニュー項目の文字設定 */
.nav-list li a, .nav-list li a:visited {
  color: #444444 !important;
  font-size: 18px;
  line-height: 1.5;
  text-decoration: none !important;
  display: block;
  font-weight: 700;
}