/* ヘッダー全体の高さと影（必要なら） */
.site-header {

    height: 100px;position: fixed;   /* 固定 */
    top: 0;
    left: 0;
    width: 100%;
     /* 背景画像追加 */
    background-image: url('/images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0, 0, 64,0.6);
    z-index: 1000;     /* コンテンツより前面に */
  }

/* ナビゲーション全体の高さ揃えと中央配置 */
.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
}

/* ロゴサイズ */
.header-logo {
  width: 200px;
  height: auto;
  margin-left: 5px;
  transition: tranform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.1);
}

/* ナビゲーション */
nav ul {
  font-size: 25px;
  font-weight: bold;
  list-style: none;       /* リストの点を消す */
  padding: 0;             /* ulの内側の余白をリセット */
  margin: 0;              /* ulの外側の余白もリセット */
  display: flex;          /* 横並びにする */
  gap: 30px;              /* アイテム間の隙間を作る（必要なら調整） */
  align-items: center;    /* 縦方向の中央揃え */
}

a {
  color: #192f60; /* アイアンブルー*/
  text-decoration: none; /* 下線も消したい場合 */
}

a:hover {
  color: #e9bc00; /* トパーズ */
  text-decoration: underline;

}

/* LINEアイコン*/
.line-icon {
  width: 40px;
  height: 40px;
  vertical-align: middle;  /* テキストと同じラインに合わせる */
  transition: tranform 0.3s ease;
}

.line-icon:hover {
  transform: scale(1.1);
}

/* ハンバーガーボタン（三本線） */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;         /* 線を細くする */
  background: #333;    /* 線の色 */
  border-radius: 1px;
}

/* スマホ表示用 */
@media (max-width: 768px) {
  .site-header
  .nav-menu {
    display: none !important; /* ←最初は非表示 */
    flex-direction: column;
    position: fixed;
    top: 60px; /* ヘッダー高さ分 */
    right: 10px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex !important; /* ハンバーガークリック時だけ表示 */
  }

  .menu-toggle {
    display: flex;
  }
}