header {
  width: 100%;
  height: 100px;
  position: fixed;
  z-index: 10;
  background-color: #bd461e;
}

header .container {
  max-width: 90%;
  padding: 0 15px;
  margin: 0 auto;
 
}

a {
  display: block;
  color: #0D0F12;
  text-decoration: none;
}


.header-left {
  line-height: 100px;
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 1.5em;
}

.header-right {
  float: right;
  line-height: 100px;
  margin: 0;
  padding: 0;
}

.header-list {
  float: left;
  color: #0D0F12;
  font-size: 1vw;
  display: flex; /* Flexboxを使用 */
  align-items: center; /* 画像とテキストを縦中央に */
}

.header-list li {
  margin-right: 10px; /* リストアイテムの間隔 */
}

.header-list img {
  height: 2em;
  margin-right: 5px; /* 画像とテキストの間隔 */
}



.icon-list img {
  transition: all 0.5s ease;
  height: 1.5em;
  padding: 10px;
  border-radius: 10px;
}

.icon-list img:hover {
  background-color: #0D0F12;
}

.icon-list li {
  float: left;
  margin-left: 4px;
}

.header-list a {
  transition: all 0.5s ease;
  text-align: center;
  padding: 0px 30px;
  display: flex;
  align-items: center; /* 画像とテキストを縦中央に配置 */
}

.header-list a:hover {
  background-color: #0D0F12;
  color: #b11e00;
  letter-spacing: 5px;
}

.header-list img {
  height: 1.5em;
  margin-right: 5px; /* 画像とテキストの間隔 */
  transition: transform 0.5s ease; /* 反転エフェクトのトランジション */
}

.header-list a:hover img {
  transform: rotate(180deg); /* 画像を180度回転させて逆さに */
}

.icon-list {
  float: left;
  margin-left: 5px;
  margin-top: 15px;
}


















/* PCのデザインは変更しない */
.menu-toggle, .menu-content {
  display: none; /* PC時は非表示 */
}

@media screen and (max-width: 1160px) {
  /* スマホ時にヘッダーは表示 */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 80px;
    background-color: #bd461e;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent !important;
  }


  /* Sacrifice の文字を非表示にする */
  .header-left {
    display: none;
  }

  /* ハンバーガーメニューを表示 */
  .menu-toggle {
    display: block; /* スマホ時のみ表示 */
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #bd461e;
    color: #ddc79b;
    border-radius: 5px;
    cursor: pointer;
    z-index: 101;
    font-size: 2em;
    padding: 0px 15px 5px 15px ;
  }

  /* 閉じるボタン */
.menu-close {
  position: absolute;
  top: 25px;
  right: 20px;
  font-size: 30px;
  color: #ddc79b;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0px 15px 5px 15px ;
}

  /* ヘッダーの通常メニューは非表示 */
  .header-right {
    display: none;
  }
  
/* メニューコンテンツをフルスクリーンに */
.menu-content {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;  /* 画面全体の幅 */
  height: 100vh; /* 画面全体の高さ */
  background-color: rgb(189, 70, 30); /* 背景を少し透明に */
  flex-direction: column;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  z-index: 1000;
}



/* メニュー表示時 */
.menu-content.active {
  display: flex;
}

/* メニューアイテムのスタイル */
.menu-content ul {
  list-style: none;
  padding: 0;
  width: 100%;
  text-align: center;
}

.menu-content ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
}

/* 画像とテキストを中央揃え */
.menu-content ul li a {
  display: flex;
  align-items: center;
  color: #ddc79b;
  font-size: 24px;  /* 少し大きめの文字 */
  text-decoration: none;
  padding: 15px;
}

/* 画像のサイズ調整 */
.menu-content ul li a img {
  height: 1.5em;
  width: auto;
  margin-right: 10px;
}

/* アイコンリストを中央に配置 */
.menu-content .icon-list {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* アイコンサイズ */
.menu-content .icon-list img {
  height: 1.5em;
  width: auto;
}



}

