/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  z-index: 9999;
  height: 70px;
  background: #f4f3ec;
  border-top: 10px solid #f76f77;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0);
}
.top-head_wrap {
  position: relative;
  width: 100%;
  height: 70px;
}
#top-head .logo {
  position: absolute;
  top: 10px;
  left: 30px;
  width: 300px;
  z-index: 3;
  line-height: 1;
}
.h_nav {
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 80px auto 0em;
  justify-content: center;
  background: rgba(247, 111, 119, 0.5);
}
.h_nav > li {
  position: relative;
  flex: 0 1 auto;
  justify-content: center;
  font-size: 1.8rem;
  letter-spacing: 3px;
}
.h_nav > li a {
  display: block;
  padding: 12px 40px 12px 40px;
  color: #fff;
}
.h_nav > li a:hover {
  background: #f76f77;
}
.h_nav > li.current a {
  background: #f76f77;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 8px;
  right: 25px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  padding: 10px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 25%;
  height: 2px;
  border-radius: 5px;
  background-color: #f76f77;
  width: 50%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 24px;
}
.openbtn span:nth-of-type(3) {
  top: 33px;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {}
.openbtn.active span {
  background: #fff;
}
.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: 9998;
  /*ナビのスタート位置と形状*/
  top: -220%;
  right: 0%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#gnav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#gnav.panelactive #gnav-inner {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  right: 0;
  z-index: 999;
  width: 500px;
  height: 100vh;
  overflow: auto;
  background: #eb9e9e;
  -webkit-overflow-scrolling: touch;
}
.gnav_wrap {
  width: 100%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gnav_logo {
  width: 300px;
  margin: auto;
}
.gnav_nav {
  width: 300px;
  margin: 1em auto 2em;
}
.gnav_nav li {
  text-align: left;
  padding: 10px 0 10px 22px;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 2px;
  position: relative;
}
.gnav_nav li a {
  color: #fff;
  display: block;
}
.gnav_nav li a:hover {
  color: #f76f77;
}
.gnav_nav li::before {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translate(0%, -50%);
  content: '\f054';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  font-size: 1.2rem;
  transition: ease .2s;
}
.gnav_nav li:hover::before {
  left: 3px;
}
.gnav_tel {
  text-align: left;
  width: 300px;
  margin: 2em auto 1.5em;
  line-height: 1;
}
.gnav_tel a {
  font-family: "effra", sans-serif;
  font-weight: 700;
  font-size: 3.8rem;
  color: #fff;
}
.gnav_tel img {
  width: 30px;
  margin: 0 8px 5px 0;
}
.gnav_tel p {
  font-size: 1.4rem;
  padding: 5px 0 0 0px;
}
.gnav_contact {
  width: 300px;
  margin: 1em auto 0;
  font-size: 1.4rem;
}
.gnav_contact a {
  position: relative;
  font-weight: 700;
  line-height: 30px;
  font-size: 1.6rem;
  outline: none;
  transition: all 0.2s ease;
  display: block;
  padding: 12px 35px 12px 10px;
  background: #fff;
  border-radius: 10px;
  color: #f76f77;
}
.gnav_contact a:hover {
  background: #F7F2DA;
}
.gnav_contact a::before {
  position: absolute;
  display: block;
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #f76f77;
  top: 50%;
  right: 10px;
  font-size: 1.5rem;
  transform: translate(0%, -50%);
  transition: ease .2s;
  z-index: 5;
}
.gnav_contact a:hover::before {
  right: 5px;
}
.gnav_contact p {
  text-align: left;
  margin: 0.3em auto 0;
}
.gnav_pp {
  width: 300px;
  margin: 1em auto 0;
  text-align: left;
  position: relative;
  font-size: 1.4rem;
}
.gnav_pp a {
  display: inline-block;
  padding: 4px 0px;
  color: #fff;
}
.gnav_pp a:hover {
  color: #f76f77;
}
.gnav_bnr {
  width: 300px;
  margin: auto;
}
.gnav_bnr li {
  margin: 1em auto 0;
}
@media screen and (max-width: 768px) {
  #top-head {
    position: fixed;
    min-width: 200px;
    height: 70px;
  }
  .top-head_wrap {
    height: 70px;
  }
  #top-head .logo {
    top: 45%;
    transform: translate(0%, -50%);
    left: 15px;
    width: 200px;
  }
  .h_nav {
    display: none;
  }
  .h_tel {
    display: none;
  }
  .h_contact {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 7px;
    right: 15px;
    width: 25px;
    height: 25px;
  }
  .openbtn span:nth-of-type(1) {
    top: 13px;
  }
  .openbtn span:nth-of-type(2) {
    top: 22px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 15px;
    left: 15px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 27px;
    left: 15px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  #gnav.panelactive #gnav-inner {
    width: 100%;
  }
  .gnav_wrap {
    margin: 3em auto 15em;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
  .gnav_logo img {
    width: 220px;
    margin: 0 80px 0 0;
  }
  .gnav_nav {
    width: 300px;
    margin: 2em auto 2em;
  }
  .gnav_nav li {
    padding: 5px 0 5px 20px;
    font-size: 1.6rem;
  }
  .gnav_tel img {
    width: 25px;
  }
  .gnav_tel p {
    font-size: 1.2rem;
  }
  .gnav_pp {
    font-size: 1.3rem;
  }
  .gnav_bnr img {
    width: 200px;
    margin: 0 100px 0 0;
  }
}
@media (max-height: 870px) {
  /* 高さ500px以下の場合 */
  .gnav_wrap {
    margin: 5em auto;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
}