@charset "UTF-8";

@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../fonts/Riviera.otf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }




/* 固定ヘッダー */
#fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
}

/* ロゴ */
#fixed-header .logo {
    max-width: 150px;
    width: 100%;

}

.logo img{
    width: 100%;
}



/* デスクトップ用メニュー */
.desktop-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
    font-family: 'CustomFont', sans-serif;

}

.desktop-nav ul li a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.3em;
  position: relative;
}

/* 下線用の疑似要素 */
.desktop-nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px; /* テキストから少し下 */
  width: 0;
  height: 2px;
  background-color: #00FF7F;
  box-shadow:
    0 0 5px #00FF7F,
    0 0 10px #00FF7F,
    0 0 20px #00FF7F;
  transition: all 0.4s ease;
  transform: translateX(-50%);
  opacity: 0; /* 初期は非表示に近い */
}

/* ホバー時の効果 */
.desktop-nav ul li a:hover {
  color: #00FF7F;
  text-shadow: 
    0 0 5px #00FF7F,
    0 0 10px #00FF7F,
    0 0 20px #00FF7F;
}

.desktop-nav ul li a:hover::after {
  width: 100%;
  opacity: 1;
}


/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #00FF7F;
  border-radius: 2px;
  box-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
}
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  #fixed-header .logo {
    max-width: 120px;
    width: 100%;

}



/* ロゴを上に固定 */
#fixed-header .logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 20; /* メニューより上 */
  max-width: 120px;
}

#mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 40px;
  margin-top: 50px;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 1.5em;
  text-decoration: none;
  font-family: 'CustomFont', sans-serif;
}

#mobile-nav.active {
  left: 0; /* 左からスライドイン */
}


}

/* モバイルナビ */
#mobile-nav {
  position: fixed;
  top: 0;
  left: -100%; /* 初期は画面外 */
  width: 100%;
  height: 100%;
  background: url('../img/bei-jingtesainno-yan.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  padding-top: 100px; /* ロゴ分のスペース */
  transition: left 0.3s ease;
  z-index: 15;
}

/* ハンバーガーを上に固定 */
.hamburger {
  display: none;
  position: fixed;
  top: 25px;
  right: 20px;
  z-index: 21; /* ロゴより上 */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

/* ハンバーガー×アニメーション */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* モバイル表示 */
@media screen and (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}