/* ヘッダー全体 */
.site-header {
  background: #111;
  color: #fff;
  padding: 0 20px;   /* 左右の余白を20pxにしてロゴをより左へ */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  border-bottom: 2px solid red;
  display: flex;
  align-items: center;
}

/* コンテナ（左右にロゴとナビを配置） */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* max-width: 1200px; ← これを外すと中央に寄らず左右いっぱいに配置される */
}

/* ロゴ部分 */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 8px;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}
.nav-menu {
  margin-right: 40px;       /* ← ここは調整対象 */
  transform: translateX(-4cm); /* 左に4cm移動 */
}
/* ナビゲーション */
.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li {
  margin-left: 25px; /* ナビの間隔 */
}

.nav-menu ul li:first-child {
  margin-left: 0;
}

/* ナビゲーションリンク */
.nav-menu ul li a {
  font-family: "Hiragino Mincho ProN", "MS PMincho", serif;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: red;
}

/* ハンバーガーメニュー（PCでは非表示） */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* スマホ用 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
/* ===============================
   スマホメニュー開閉時の表示制御
================================= */
.nav-menu.active {
  display: block;
  position: absolute;
  top: 70px; /* ヘッダーの下に配置 */
  left: 0;
  width: 100%;
  background: #111;
  text-align: center;
  padding: 20px 0;
  border-top: 2px solid red;
}

.nav-menu.active ul {
  flex-direction: column; /* 縦並び */
  margin: 0;
  padding: 0;
}

.nav-menu.active ul li {
  margin: 15px 0; /* 項目ごとの間隔 */
}

/* --- ☰ ハンバーガーメニューの位置調整 --- */
.menu-toggle {
  display: block;          /* スマホで表示 */
  position: absolute;      /* 自由に配置 */
  right: 20px;             /* 右端からの距離（小さくすると左に寄る）*/
  top: 50%;
  transform: translateY(-50%);
  color: #fff;             /* 白色にして見やすく */
  font-size: 28px;
  cursor: pointer;
  z-index: 1100;           /* 前面に出す */
}