/* =========================
   ヘッダー全体
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ調整（大きすぎ問題の修正） */
.menu-logo img {
  width: 70px;
  height: auto;
}
@media (max-width: 600px) {
  .menu-logo img {
    width: 120px;
  }
}

/* =========================
   PCナビ
========================= */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;  /* ← これが必要！ */
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  display: inline-block;
  color: #4C4B4B;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.35s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #4C4B4B, #0ABAB5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-nav a:hover {
  color: #0ABAB5;
}
.main-nav a:hover::after {
  transform: scaleX(1);
}


.pc-nav a:hover {
  color: #0ABAB5;
}
.pc-nav a:hover::after {
  transform: scaleX(1);
}

/* =========================
   SNSアイコン（ナビ右側）
========================= */
.nav-sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 30px;
}

.nav-sns img {
  width: 24px;
  height: 24px;
  display: block;
  transition: opacity 0.3s;
}

.nav-sns a:hover img {
  opacity: 0.6;
}

/* =========================
   背景画像
========================= */
/* MV全体 */
.mv {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

/* スライドエリア */
.mv-slideshow {
  position: absolute;
  inset: 0;
}

/* 各画像 */
.mv-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

/* 表示中 */
.mv-slide.active {
  opacity: 1;
}

/* コピーを前面に */
.mv-copy {
  position: relative;
  z-index: 2;
}

/* =========================
   ハンバーガー
========================= */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #30416B;
  transition: 0.4s;
  border-radius: 2px;
}

/* 3本線 */
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

/* ホバー：色変化（参考サイトの動き） */
.hamburger:hover span {
  background: #0ABAB5;
}

/* 開いたとき */
.hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* 下線：PCと同じ */
.ham-menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #4C4B4B, #0ABAB5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ham-menu-link:hover {
  color: #0ABAB5;
}
.ham-menu-link:hover::after {
  transform: scaleX(1);
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
}

/* =========================
   GLOBAL MENU（全画面）
========================= */
.global-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
  z-index: 1000;
}

/* 開いたとき */
.global-menu.open {
  opacity: 1;
  pointer-events: auto;
}

/* 左右2カラム */
.global-menu-left,
.global-menu-right {
  width: 50%;
  padding: 100px 40px;
}

.global-menu ul {
  list-style: none;
}
.global-menu a {
  font-size: 28px;
  display: block;
  padding: 20px 0;
  color: #30416B;
}

/* 下線アニメーション */
.global-menu-left a::after,
.global-menu-right a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #4C4B4B, #0ABAB5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.global-menu-left a:hover,
.global-menu-right a:hover {
  color: #0ABAB5;
}

.global-menu-left a:hover::after,
.global-menu-right a:hover::after {
  transform: scaleX(1);
}
