@charset "UTF-8";
.header {
  position: fixed;
  /* 画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  /* 横幅いっぱい */
  height: 100px !important;
  /* ヘッダーの高さ */
  background-color: rgb(250, 250, 250);
  color: gray;
  padding: 20px 20px;
  /* 左右の余白 */
  display: flex;
  /* ロゴやメニューを横並びに */
  align-items: center;
  /* 縦中央揃え */
  z-index: 9999;
  /* 前面に表示 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* optional: 下に影 */
  justify-content: center;
}

/* mainにヘッダー高さ分の余白を追加 */
main#main-content {
  margin-top: 120px;
  /* ヘッダーと同じ高さ */
}

.header-inner {
  width: 1200px;
  /* 固定幅（共通） */
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header-logo {
  display: block;
  cursor: pointer;
  margin-left: 25px;
}
.header-logo img {
  width: 120px; /* ロゴ画像の横幅（調整可） */
  height: 80px; /* 縦横比を維持 */
  display: block; /* 不要な余白を除去 */
  transition: opacity 0.3s ease; /* hover時のアニメーション */
}
.header-logo:hover img {
  opacity: 0.7; /* hover時に少し薄く */
}

/* ハンバーガーアイコン */
.menu-toggle {
  display: none;
  /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #333;
}

.header-nav ul {
  display: flex;
  justify-content: center;
}
.header-nav ul li a {
  display: block;
  font-size: 25px;
  margin: 60px 20px 60px 50px;
  text-decoration: none;
  color: black;
  cursor: pointer;
}
.header-nav ul li a:hover {
  opacity: 0.5;
  color: color black;
}
.header-nav ul li a .visited {
  color: gray;
}

.menu-icon {
  color: white;
  float: right;
  font-size: 25px;
  padding: 21px 20px;
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 200;
  /* メニューの上に表示 */
}

.fa {
  margin-right: 5px;
}

/* ======================
    タブレット表示用
    ====================== */
@media (max-width: 1200px) {
  .header {
    background-color: rgb(250, 250, 250);
    color: blue;
    padding: 0 0 60px 0;
  }
  .header ul li {
    float: left;
    padding: 0;
  }
  .header ul li a {
    display: block;
    padding: 23px 15px;
    font-size: 15px;
  }
  .header ul li a .hover {
    opacity: 0.5;
  }
  .header ul li a .visited {
    color: gray;
  }
}
/* ======================
    スマホ表示用
    ====================== */
@media (max-width: 770px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgb(250, 250, 250);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }
  .header-logo {
    position: absolute; /* 左上に固定 */
    top: 10px;
    left: 15px;
    margin-left: 0; /* 余白リセット */
    height: 70px; /* 少し低めに調整 */
  }
  .header-logo img {
    height: 100%;
    max-width: 140px; /* モバイル用に幅を少し小さく */
  }
  .menu-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999;
  }
  .menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center center;
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 3px);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -3px);
  }
  .header-nav {
    display: none;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(243, 224, 216, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1500;
  }
  .header-nav ul {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column; /* 縦並び */
    padding: 100px 0 0 0;
  }
  .header-nav ul li {
    border-bottom: 1px solid #ccc;
  }
  .header-nav ul li a {
    display: block;
    padding: 0;
    text-align: center;
    font-size: 18px;
    color: #333;
    text-decoration: none;
    height: 0;
  }
  .header-nav ul li a:hover {
    color: #999;
  }
  .header-nav.active {
    display: flex;
  }
}

/*# sourceMappingURL=header.css.map */
