@charset "utf-8";
/* CSS Document */
#navbtn {
  display: none;
}
.navArea {
  display: block;
}

.nav h1 {
  display: block;
  background-image: url("../images/logo.svg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 120px;
  height: 46px;
  text-indent: -9999px;
}
.nav {
  position: fixed;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  top: 0px;
  left: 0;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* 初期：非表示 */
  visibility: hidden;
  opacity: 0;
  /* ふわっと表示 */
  transition: 0.5s ease-in-out;
  font-family: "Noto Sans-jp", sans-serif;
  z-index: 1000;
}
.nav::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
}
.nav ul {
  position: relative;
  list-style: none;
  font-size: 1.2em;
  width: 100%;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.nav li {
  padding: 15px;
}
li.product {
  padding: 0;
}
.nav li:not(:last-child) {
  margin-bottom: 0px;
  border-bottom: #666 solid 1px;
}

.nav ul p {
  color: #bbb;
}
.nav ul .icon {
  display: flex;
  margin: 20px auto 8px auto;
  justify-content: center;
}
.nav ul .icon a {
  width: 36px;
  height: 36px;
}
.nav a {
  color: #ffffff;
  letter-spacing: 1px;
}
button#productBtn {
  display: block;
  cursor: pointer;
  text-align: center;
  background-color: #2e2e2e;
  width: 100%;
  padding: 15px;
  color: #fff;
  font-size: 1.2em;
  font-family: "Teko", sans-serif;
  border: none;
  position: relative;
}
.nav .product ul li {
  border-bottom: none;
}
ul li.product {
  position: relative;
}
button#productBtn::after {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 40px;
  height: 40px;
  content: "＋";
  font-size: 36px;
  font-weight: bold;
  line-height: 36px;
  transition: all 0.3s ease-out;
}
button#productBtn.open::after {
  transform: rotate(-45deg);
  transition: all 0.3s ease-out;
}
.product ul > li {
  background-color: #444;
  text-align: center;
  width: 100%;
  height: 0px;
  /* 閉じている状態 */
  border-bottom: none;
  padding: 0 !important;
  padding-bottom: 0;
  /* 閉じるアニメーション */
  transition: all 0.3s ease-out;
}
.nav .product ul.is-open li {
  border-bottom: 1px solid #555;
}
.product ul.is-open > li {
  /* 開いている状態 */
  height: auto;
  height: 1.5em;
  padding-top: 13px;
  padding-bottom: 13px;
  /* 開くアニメーション */
  transition: all 0.3s ease-out;
}
.product ul > li > a {
  /* 閉じている状態 */
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  /* 閉じるアニメーション */
  transition: all 0.3s ease-out;
}
.product ul.is-open > li > a {
  /* 開いている状態 */
  line-height: 1.5;
  opacity: 1;
  visibility: visible;
  /* 開くアニメーション */
  transition: all 0.3s ease-out;
}

/* ナビゲーションボタン（開く） */
#navbtn {
  position: fixed;
  top: 3vw;
  right: 3vw;
  padding: 0;
  outline: none;
  border: none;
  background: none;
  width: 32px;
  height: 20px;
  margin-top: 5px;
  cursor: pointer;
  z-index: 2000;
  transition: 0.5s width ease-in;
}

#navbtn::before,
#navbtn::after {
  content: "";
  display: block;
  height: 4px;
  background-color: #fff;
  transform: translateY(10px);
  transition: 0.3s ease-in-out;
  box-shadow: 1px 1px #000;
}

#navbtn::before {
  transform: translateY(-10px);
  box-shadow: 1px 1px #000, 0 12px #fff, 0 13px #000;
  transition: 0.3s all ease-in-out;
}
/*非アクティブc
#navbtn:hover{
	opacity: 0.7;
	filter: brightness(1.2);
}*/

/* ナビゲーションボタン（閉じる） */
.open #navbtn {
  z-index: 1100;
}
.open #navbtn::before {
  transform: rotate(-45deg) translate(-1px, 3px);
  box-shadow: none;
}
.open #navbtn::after {
  transform: rotate(45deg) translate(1px, -2px);
  box-shadow: none;
}
/* ナビゲーションメニュー 開いた時*/
.open .nav {
  visibility: visible;
  opacity: 1;
  z-index: 1000;
}

@media (max-width: 768px) {
  /* PCではボタン非表示 */
  #navbtn {
    display: block;
  }
  #navbtn.hide {
    opacity: 0.4;
    cursor: default;
  }
  /* ヘッダーは横並び */
  .headerSP {
  }
  /* メニューを右に寄せる */
  .nav {
    /* 右寄せ */
    margin-left: auto;
  }
  .nav ul {
    display: flex;
    list-style: none;
  }
  .nav ul li:not(:first-child) {
    margin-left: 20px;
  }
  .nav ul li a {
    color: #fff;
  }
}
@media (max-width: 680px) {
  #navbtn {
    top: 6vw;
  }
}
