/* header CSS */
.page-header{
  background: var(--brandcolor);
  width: 100%;
  max-height: 80px;
  padding: 16px;
}
.page-header .header__inner{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
img.bh__brownLogo{
  width: 100%;
  height: auto;
  max-width: 84px;
}
.header {
  position: fixed; /* 固定 */
  top: 0;
  left: 0;         /* これを明示することで幅が崩れなくなります */
  width: 100%;     /* 画面幅いっぱいに */
  height: 60px;    /* 高さを固定（適宜調整してください） */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  transition: background-color 0.3s;
}
.header.is-scrolled {
  background-color: #ffffff;
   /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

  /* ハンバーガーボタンのコンテナ */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 48px; /* ボタンの幅 */
    height: 18px; /* ボタンの高さ */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 10; /* 中央ロゴより前面へ */
  }

  /* ハンバーガーの線 */
  .hamburger-line {
    width: 100%;
    height: 2px; /* 線の太さ */
	background-color: #fff;
    /* background-color: #d8a05c; 画像のようなゴールド/ブロンズ系 */
    transition: all 0.3s ease-in-out;
  }
  .header.is-scrolled .hamburger-line { 
	  background-color: #d8a05c; 
}

/* ハンバーガーボタンにクラスがついた時のアニメーション */
.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* 上の線を中央に寄せて回転 */
	background-color: #d8a05c;
    transition: all 0.3s ease-in-out;
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg); /* 下の線を中央に寄せて回転 */
    width: 100%; /* ×にするため長さを戻す */
	background-color: #d8a05c;
    transition: all 0.3s ease-in-out;
}

  /* 下の線を少し短くする (画像のように) */
  .hamburger-line:nth-child(2) {
    width: 80%; /* 2本目を短く設定 */
  }

 /* ロゴを強制的に中央へ */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-80%);
  /* 縦方向の中央揃えのため */
  display: flex;
  align-items: center;
}
.logo__gold{
	width: 100%;
	max-width: 56px;
	height: auto;
	filter: brightness(0) invert(1);
}

.header.is-scrolled .logo__gold { 
	filter: none;
}
/* メニューエリアの基本設定 */
.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px; /* メニューの幅 */
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%); /* 画面外の左へ隠す */
    transition: transform 0.3s ease; /* スムーズに動かす */
    z-index: 100;
}

/* メニューが開いた状態 */
.menu-drawer.is-open {
    transform: translateX(0); /* 画面内へ戻す */
}

/* 背景暗転用（オーバーレイ） */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden; /* 最初は無効化 */
    transition: opacity 0.3s;
    z-index: 99;
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* メニュースタイル */
.drawer-nav {
	padding: 100px 8px;
}
.drawer-nav ul{
	list-style: none;
}
.drawer-nav ul li{
	font-size: 1.25em;
	margin: 16px;
	color: var(--gold);
}
@media (max-width: 768px){
	.menu-drawer{
		width: 100dvw;
	}
  /* ハンバーガーの線 */
  .hamburger-line {
    width: 80%;
  }
  /* 下の線を少し短くする (画像のように) */
  .hamburger-line:nth-child(2) {
    width: 60%; /* 2本目を短く設定 */
  }
	.hamburger.is-active .hamburger-line{
		width: 100%;
	}
}