/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  z-index: 9999;
  height: 70px;
}
.top-head_wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  height: 70px;
  background: #F2EAE1;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-radius: 0 0 30px 30px;
}
.bow_logo {
  position: absolute;
  top: 50%;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  left: 30px;
  width: 200px;
  z-index: 3;
  line-height: 1;
}
.bow_nav {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  right: 240px;
  z-index: 4;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px auto 0em;
  justify-content: flex-end;
}
.bow_nav li {
  flex: 0 1 auto;
  justify-content: center;
  padding: 0px 0px 0px 30px;
  font-size: 1.5rem;
}
.bow_subnav {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  right: 100px;
  z-index: 4;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px auto 0em;
  justify-content: flex-end;
  font-size: 1.1rem;
}
.bow_subnav li {
  padding: 0 0 0 25px;
}
.bow_subnav li img {
  display: block;
  width: 30px;
  margin: 0 auto 2px;
}
.bow_subnav li a {
  color: #DF1F1C;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 5px;
  right: calc(50% - 530px);
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 25%;
  height: 2px;
  border-radius: 5px;
  background-color: #DF1F1C;
  width: 50%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 25px;
}
.openbtn span:nth-of-type(3) {
  top: 35px;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {
  right: 30px;
}
.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*========= ナビゲーションのためのCSS ===============*/
#gnav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: -220%;
  right: 0%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: #F2EAE1;
  /*動き*/
  transition: all 0.6s;
}
#gnav::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  display: block;
  background-image: url("/img/common/nav_bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#gnav::after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 300px;
  height: 198px;
  display: block;
  background-image: url("/img/common/nav_logo.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
/*アクティブクラスがついたら位置を0に*/
#gnav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#gnav.panelactive #gnav-inner {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
.gnav_wrap {
  width: 40%;
  padding: 0 5%;
  margin: 0 0 0 auto;
  text-align: left;
	
	 position: absolute;
  top: 50%;
right: 0%;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}
.gnav_logo {
  display: none;
}
.gnav_ttl {
  font-family: "motiva-sans", sans-serif;
  font-weight: 900;
  color: #DF1F1C;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: 2px;
  margin: 0 auto 0.5em;
}
.gnav_nav_wrap {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 0em;
  justify-content: space-between;
}
.gnav_nav {
  width: 300px;
}
.gnav_nav > li {
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: 2px;
  padding: 7px 0;
}
.gnav_subnav {
  width: calc(100% - 300px);
  padding: 10px 0 0;
}
.gnav_subnav li {
  padding: 3px 0;
  font-size: 1.4rem;
}
.gnav_nav_accordion {}
.gnav_nav_accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.gnav_nav_accordion summary::-webkit-details-marker {
  display: none;
}
.gnav_nav_accordion summary::before {
  position: absolute;
  color: #DF1F1C;
  top: 50%;
  left: 100px;
  transform: translate(0%, -50%);
  content: '\2b';
  font-family: FontAwesome;
  font-weight: 400;
  transition: all .3s;
}
.gnav_nav_accordion[open] summary::before {
  content: '\f068';
}
.gnav_nav_accordion ul {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  transition: transform .5s, opacity .5s;
}
.gnav_nav_accordion[open] ul {
  transform: none;
  opacity: 1;
}
.gnav_nav_accordion ul > li {
  font-weight: 400;
  font-size: 1.6rem;
  padding: 3px 0;
  position: relative;
}
.gnav_nav_accordion ul > li::before {
  content: '\f054';
  font-family: FontAwesome;
  font-weight: 400;
  color: #DF1F1C;
  font-size: 1.2rem;
  padding: 0 10px 0 0;
}
.gnav_btn {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 2em auto 2em;
  padding: 0 0 3em;
  justify-content: space-between;
  text-align: center;
  border-bottom: 1px solid #DF1F1C;
}
.gnav_btn li {
  position: relative;
  width: 48%;
  letter-spacing: 2px;
}
.gnav_btn li img {
  width: 28px;
  margin: 0 10px 0 0;
}
.gnav_btn li a:hover img {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
.gnav_btn li a {
  display: block;
  position: relative;
  background: #fff;
  color: #DF1F1C;
  font-weight: bold;
  border-radius: 50px;
  padding: 14px 0;
  transition: all .3s;
}
.gnav_btn li a:hover {
  background: #DF1F1C;
  color: #fff;
}
.gnav_btn li a::after {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #DF1F1C;
  transition: all .3s;
}
.gnav_btn li a:hover::after {
  color: #fff;
  right: 10px;
}
@media screen and (max-width: 1000px) {
  .bow_nav {
    display: none;
  }
  .openbtn {
    right: 25px;
  }
}
@media screen and (max-width: 768px) {
  .top-head_wrap {
    position: relative;
    width: 95%;
    max-width: 1100px;
    margin: auto;
    height: 60px;
  }
  .bow_nav {
    display: none;
  }
  .bow_logo {
    top: 50%;
    left: 20px;
    width: 150px;
  }
  .bow_subnav {
    right: 70px;
    font-size: 1rem;
  }
  .bow_subnav li {
    padding: 0 0 0 10px;
  }
  .bow_subnav li img {
    width: 25px;
    margin: 0 auto 2px;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 2px;
    right: 20px;
  }
  .openbtn.active {
    right: 20px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  #gnav::before {
    display: none;
  }
  #gnav::after {
    display: none;
  }
  .gnav_wrap {
    width: 80%;
    margin: 3em auto !important;
    padding: 0 0 100px 0;
    position: relative;
    top: 0;
   right: 0;
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
  }
  .gnav_logo {
    display: block;
    width: 150px;
    margin: 0 auto 2em;
  }
  .gnav_ttl {
    font-size: 2.5rem;
    margin: 0 auto 0.5em;
  }
  .gnav_nav_wrap {
    display: block;
  }
  .gnav_nav {
    width: 100%;
  }
  .gnav_nav > li {
    font-size: 1.7rem;
    padding: 6px 0;
  }
  .gnav_subnav {
    width: 100%;
    padding: 5px 0 0;
  }
  .gnav_subnav li {
    padding: 4px 0;
    font-size: 1.3rem;
  }
  .gnav_nav_accordion ul > li {
    font-size: 1.4rem;
    padding: 3px 0;
  }
  .gnav_nav_accordion ul > li::before {
    font-size: 1rem;
    padding: 0 10px 0 0;
  }
  .gnav_btn {
    margin: 1em auto 2em;
    padding: 0 0 2em;
  }
  .gnav_btn li {
    position: relative;
    width: 48%;
    letter-spacing: 1px;
  }
  .gnav_btn li img {
    width: 21px;
    margin: 0 10px 0 0;
  }
  .gnav_btn li a {
    padding: 10px 0;
  }
  .gnav_btn li a::after {
    top: 50%;
    right: 10px;
  }
}
@media (max-height: 980px) {
  /* 高さ800px以下の場合 */
  .gnav_wrap {
    margin: 5em 0 5em auto;
    position: relative;
    top: 0;
   right: 0;
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
  }
}