/* スクロール禁止用クラス */
.body-fixed {
  overflow: hidden;
}

/* ========== HEADER 基本レイアウト ========== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 48px;
  z-index: 20;
  transition: background-color 0.3s ease;
}

@media screen and (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }
}

/* 背景を青くしたい時（ハンバーガー展開時） */
.header.menu-open {
  background-color: #1e3a8a;
}

/* 内部レイアウト */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
/* 共通ロゴ画像設定（デフォルトPC用） */
.logo img {
  width: auto;
  height: auto;
}

/* スマホ表示用の横幅指定（24px） */
@media (max-width: 768px) {
  .logo img {
    width: 32px;
  }
}

/* ========== ナビゲーション ========== */
.nav {
  display: flex;
}

.nav ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #fff;
  font-size: 14px;
}

.nav a:hover {
  color: #ccc;
}

/* ========== メニューオーバーレイ（背景用） ========== */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1e3a8a;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.header.menu-open .menu-overlay {
  display: block;
  opacity: 1;
}

/* ========== ハンバーガー ========== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30; /* 前面に */
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

/* ×（バツ）アイコン時のアニメーション */
.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* ========== モバイル対応 ========== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #1e3a8a;
    flex-direction: column;
    text-align: center;
    z-index: 20;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px 0;
    gap: 20px;
  }
}

/* 各ページのMV */
.mv-banner {
  height: 400px;
  background-image: url("../images/section-top.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 64px;
}

.mv-banner h1 {
  font-size: 2.5rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); /* 白文字が背景に埋もれないように */
  margin: 0;
}
