/*========= ナビゲーションのためのCSS ===============*/

.menu_logo {
  width: 140px;
  margin: 0 0 30px 0;
}
@media screen and (max-width: 767px) {
  .menu_logo {
    width: 110px;
    margin: 0 0 10px 0;
  }
}
.meno {
  font-family: meno-banner, serif;
  font-weight: 300;
  font-style: normal;
}

#g-nav {
  /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
  position: fixed;
  z-index: -1;
  opacity: 0; /*はじめは透過0*/
  /*ナビの位置と形状*/
  top: 0;
  width: 100%;
  height: 100dvh; /*ナビの高さ dvhで下の余白をなくす*/
  background-image: linear-gradient(90deg, #168cbb, #1ea064);
  background: linear-gradient(
    to bottom,
    rgba(22, 140, 187, 0.9),
    rgba(30, 160, 100, 0.9)
  );
  background-size: cover;
  transition: all 1s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
  opacity: 1;
  z-index: 3;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100dvh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 767px) {
  #g-nav.panelactive #g-nav-list {
    height: 100dvh; /*表示する高さ*/
  }
}

/*ナビゲーション*/
#g-nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50svh;
  left: 50%;
  transform: translate(-45%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 100%;
}

#g-nav.panelactive ul {
  display: block;
}

html.is-fixed,
html.is-fixed body {
  height: 100%;
  overflow: hidden;
}

/*リストのレイアウト設定*/

#g-nav li {
  list-style: none;
  text-align: center;
  margin: 15px 0;
}

@media screen and (max-width: 1024px) {
  #g-nav li a {
    font-family: "meno-banner", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: #fff;
    transition: ease-in-out 0.3s;
  }
}

#g-nav li a:hover {
  opacity: 0.5;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  display: none;
}
@media screen and (max-width: 1024px) {
  .openbtn1 {
    display: inline;
    position: fixed;
    z-index: 4; /*ボタンを最前面に*/
    cursor: pointer;
    width: 50px;
    height: 50px;
    top: 0px;
    right: -3px;
  }
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: -2px;
  height: 2px;
  border-radius: 1px;
  background-color: #c6c6c6;
  width: 65%;
}

.openbtn1 span:nth-of-type(1) {
  top: 18px;
}

.openbtn1 span:nth-of-type(2) {
  top: 29px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 0px;
  transform: translateY(6px) rotate(-45deg);
  width: 70%;
  background: #fff;
}

.openbtn1.active span:nth-of-type(2) {
  top: 30px;
  left: 0px;
  transform: translateY(-6px) rotate(45deg);
  width: 70%;
  background: #fff;
}

/**************************ナビ***************************/
