@charset "UTF-8";


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

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

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


/* =======================================
　ヘッダーナビ（全デバイスでハンバーガーメニュー）
======================================= */

/* ハンバーガーメニューボタンのスタイル */
.stellarnav .menu-toggle {
  display: block !important;
  background: var(--color-bk);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  border: none;
  position: relative;
  z-index: 10006;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}

.stellarnav .menu-toggle:hover {
  background: var(--color-bk-hover, #333);
  transform: scale(1.05);
}

.stellarnav .menu-toggle:active {
  transform: scale(0.95);
}

/* 全デバイスでハンバーガーメニュー：メニューリストの初期状態 */
.stellarnav ul {
  display: none !important;
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

/* stellarnavのモバイル状態で開いている時のみ表示 */
.stellarnav.mobile.active ul {
  display: block !important;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10005;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  opacity: 1;
  transform: translateY(0);
  animation: slideDown 0.3s ease-in-out;
}

.stellarnav.mobile.active ul {
  animation: slideUp 0.3s ease-in-out;
}

.template-norkke .stellarnav.mobile.active ul {
  top: 116px;
}

.template-huum .stellarnav.mobile.active ul {
  top: 100px;
}

/* メニュー開閉アニメーション */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* 強制的に全画面サイズでモバイル表示にする */
.stellarnav {
  display: flex !important;
  justify-content: flex-end;
  overflow: visible;
  position: relative;
  z-index: 10004;
}

/* メニュー閉じる時のアニメーション */
.stellarnav.mobile ul.closing {
  animation: slideUp 0.3s ease-in-out forwards;
}

/* メニューアイテムのスタイル */
.stellarnav.mobile ul li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.3s ease-in-out forwards;
}

.stellarnav.mobile.active ul li {
  opacity: 1;
  transform: translateX(-20px);
  animation: slideInLeft 0.3s ease-in-out forwards;
  z-index: 10000;
}

.stellarnav.mobile ul li:nth-child(1) { animation-delay: 0.1s; }
.stellarnav.mobile ul li:nth-child(2) { animation-delay: 0.15s; }
.stellarnav.mobile ul li:nth-child(3) { animation-delay: 0.2s; }
.stellarnav.mobile ul li:nth-child(4) { animation-delay: 0.25s; }
.stellarnav.mobile ul li:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =======================================
　メニュータイプ別スタイリング
======================================= */

/* HUUM商品ページ用ナビゲーション */
body.huum-page .stellarnav>ul>li>a,
body.product-huum .stellarnav>ul>li>a,
body.menu-type-huum .stellarnav>ul>li>a {
  color: #fff;
  font-weight: bold;
}

/* Standwood商品ページ用ナビゲーション */
body.standwood-page .stellarnav>ul>li>a,
body.product-standwood .stellarnav>ul>li>a,
body.menu-type-standwood .stellarnav>ul>li>a {
  color: #fff;
}

/* SILACO商品ページ用ナビゲーション */
body.silaco-page .stellarnav>ul>li>a,
body.product-silaco .stellarnav>ul>li>a,
body.menu-type-silaco .stellarnav>ul>li>a {
  color: #fff;
}

/* メニュー切り替えアニメーション */
#top-nav {
  transition: background-color 0.3s ease-in-out;
}

.stellarnav>ul>li>a {
  transition: color 0.3s ease-in-out;
}

/* =======================================
　ブランド別ロゴスタイリング
======================================= */

.brand-logo {
  max-height: 60px;
  width: auto;
  transition: opacity 0.3s ease-in-out;
}

.brand-logo:hover {
  opacity: 0.8;
}

/* HUUMロゴ */
.huum-logo {
  max-height: 50px;
}

/* Standwoodロゴ */
.standwood-logo {
  max-height: 55px;
}

/* SILACOロゴ */
.silaco-logo {
  max-height: 45px;
}

/* ブランド別ロゴエリアのスタイリング */

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .brand-logo {
    max-height: 40px;
  }
  
  .logo .brand-logo.huum-logo {
    height: 50px !important;
    width: 50px !important;
  }

  .logo .brand-logo.norkke-logo {
    height: 70px !important;
    width: 70px !important;
  }
  
  .standwood-logo {
    max-height: 38px;
  }
  
  .silaco-logo {
    max-height: 32px;
  }
}


/*----- ハンバーガーメニュー（全デバイス対応） -----*/

/* Menu文字 */
.stellarnav.mobile a.menu-toggle.full {
  text-align: right;
  text-decoration: none !important;
}

/* メニュー */
.stellarnav.mobile ul {
  background: transparent !important;
}

/*CLOSED MENU*/
.stellarnav.mobile a.close-menu {
  display: block;
  text-align: right;
  width: 100%;
}



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

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;
  }
}




/* =======================================
　トグル変化
======================================= */

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

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

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

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

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

.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%;
}

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

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

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

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