@charset "UTF-8";


/*--------------------------------------------------------
--- ナビゲーションスタイル ---

ヘッダーナビ・・・#top-nav
フッターナビ・・・#footer-nav

--------------------------------------------------------*/


/* =======================================
　ヘッダーナビ（新デザイン）
======================================= */

/* ナビゲーション全体 - stellarnav.jsを使用しないカスタムナビ用
   stellarnav使用時はこのスタイルは適用されない */
nav:not(.stellarnav) {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-black);
    display: flex;
    align-items: center;
    z-index: 1000;
}

/* ロゴエリア */
.nav-logo {
    height: 100%;
    padding: 0 24px;
    border-right: var(--border-width) solid var(--white);
    display: flex;
    align-items: center;
    font-size: 24px;
    letter-spacing: -1px;
}

.nav-logo span {
    color: var(--neon-yellow);
    margin-left: 4px;
}

/* ナビリンク */
.nav-links {
    display: none;
    gap: 32px;
    padding: 0 40px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-links a:hover {
    color: var(--neon-yellow);
}

/* CTA ボタン */
.nav-cta {
    margin-left: auto;
    height: 100%;
    padding: 0 24px;
    background: var(--neon-yellow);
    color: var(--bg-black);
    display: flex;
    align-items: center;
    font-size: 14px;
    border-left: var(--border-width) solid var(--white);
}

.nav-cta:hover {
    background: var(--white);
}



/* =======================================
　フッターナビ
======================================= */

nav#footer-nav {
  padding: 8px 0;
}

/*2階層目は非表示*/
nav#footer-nav ul ul {
  display: none;
}

@media screen and (min-width: 769px) {
  nav#footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
  }

  nav#footer-nav ul li {
    padding: 8px 16px;
  }

  nav#footer-nav ul li a {
    font-size: var(--size-primary-font-small);
    text-decoration: none !important;
  }

  nav#footer-nav ul li a:hover {
    opacity: .7;
  }
}


@media screen and (max-width: 768px) {
  nav#footer-nav {
    display: none;
  }
}




/* =======================================
　トグル変化（stellarnav.js統合版）
======================================= */
/* stellarnav.jsが.menu-toggleと.naviconを自動生成するため、
   スタイルのみをここで定義 */

.stellarnav .menu-toggle .navicon {
  position: relative;
  background: var(--color-bk);
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.stellarnav .menu-toggle .navicon span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}

.stellarnav .menu-toggle .navicon span:nth-of-type(1) {
  top: 13px;
}

.stellarnav .menu-toggle .navicon span:nth-of-type(2) {
  top: 19px;
}

.stellarnav .menu-toggle .navicon span:nth-of-type(3) {
  top: 25px;
}

.stellarnav .menu-toggle .navicon span:nth-of-type(3)::after {
  content: "Menu";
  position: absolute;
  top: 5px;
  left: -2px;
  color: var(--color-wh);
  font-size: 8px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

/* 展開時（stellarnav.jsがactiveクラスを付与） */
.stellarnav.active .menu-toggle .navicon span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.stellarnav.active .menu-toggle .navicon span:nth-of-type(2) {
  opacity: 0;
}

.stellarnav.active .menu-toggle .navicon span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.stellarnav.active .menu-toggle .navicon span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 8px;
  left: 6px;
}