@charset "utf-8";

.logo_off {
  display: none;
}

/*@media screen and (max-width: 750px) {*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 99;
  top: 0;
  /*ナビのスタート位置と形状*/
  right: -121%;
  width: 23%;
  /* height: 100vh; */
  /*ナビの高さ*/
  background: #81d8d0;
  /*動き*/
  transition: all 0.6s;
}

#g-nav .title span {
  font-size: 34px;
  font-weight: bold;
  margin-right: 16px;
  margin-bottom: 30px;
}

#g-nav .title {
  font-size: 14px;
  text-align: left;
  display: block;
  color: #fff;
  padding: 20px 0px;
  line-height: 34px;
  margin-left: 0px;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  height: 99vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-flow: column;
  align-items: revert;
  justify-content: unset;
  overflow-y: auto;
  margin-top: 50px;
  background-color: #81d8d0;
  letter-spacing: 1px;
}

#g-nav.panelactive #g-nav-list p {
  width: 60%;
  padding: 0px 0px 30px 0px;
}

#g-nav.panelactive #g-nav-list p img {
  width: 100%;
}

/*ナビゲーション*/
#g-nav ul {
  width: 50%;
}



#g-nav ul:last-child {
  border-bottom: unset;
  padding: 0px;
}

#g-nav ul:nth-of-type(2) {
  line-height: 1;
  /* letter-spacing: 1px; */
  border-top: 1px solid #c4ede9;
  padding-top: 35px;
}

#g-nav ul {
    width: 90%;
  margin: 0 auto;
  padding: 20px 10px 30px 10px;
  line-height: 34px;
}

/*リストのレイアウト設定*/

#g-nav li {
  color: #fff;
  font-size: 11px;
  padding: 5px 0px;
  font-weight: normal;
  text-align: center;
}

#g-nav li a {
  color: #fff;
  text-decoration: none;
  display: block;
  letter-spacing: 0.1em;
  font-weight: bold;
  border: unset !important;
  font-weight: 100;
  /* font-family: "EB Garamond", serif; */
  font-size: 15px;
  text-align: center;

  font-family:
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "游明朝体",
    "Yu Mincho",
    "YuMincho",
    "Times New Roman",
    serif;

}

#g-nav li .sub-menu li {
  border: unset;
}

#g-nav li .sub-menu a {
  font-size: 12px;
  font-family: 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  padding: 0px;
  letter-spacing: 0px;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  right: 2rem;
  cursor: pointer;
  width: 80px;
  height: 45px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 18px;
  height: 1px;
  background-color: #000000;
  width: 43%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 25px;
}

.openbtn1 span:nth-of-type(3) {
  top: 35px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 17px;
  left: 17px;
  transform: translateY(6px) rotate(-45deg);
  height: 1px;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
  height: 1px;
}

.header_in #logo {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
}

.header_in #logo img {
  width: 78%;
}

/*}*/