@charset "UTF-8";


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

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

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


/* =======================================
　ヘッダーナビ
======================================= */
/*BrakePoint class pc=.desktop, sp=.mobile*/

/*----- PC -----*/
@media screen and (min-width: 769px) {
  .stellarnav>ul {
    text-align: right;
  }

  .stellarnav>ul>li>a {
    padding: 8px 24px;
  }
}


/*----- mobile -----*/
@media screen and (max-width: 768px) {

  /* 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%;
}

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

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

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

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