/* header */
#header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
}
#header::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: calc(100% - 140px);
  height: calc(100% - 10px);
  content: '';
  margin: 0 110px 0 30px;
  background: #C63C00;
  border-radius: 10px;
}
#header a {
  color: #fff;
}
#header a:hover {
  color: #F2EEE7;
}
.logo {
  position: absolute;
  top: 55%;
  left: 50px;
  transform: translate(0%, -50%);
  z-index: 3;
  width: 400px;
  text-align: left;
  font-weight: 400;
  font-family: mizolet, sans-serif;
  font-size: 1.4rem;
}
.logo span {
  font-family: ivymode, sans-serif;
  font-size: 3rem;
  display: inline-block;
  margin: 0 10px 0 0;
}
.h_nav {
  position: absolute;
  z-index: 1;
  top: 32px;
  right: 350px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 0em;
  justify-content: flex-end;
  font-family: ivymode, sans-serif;
  font-size: 2.2rem;
}
.h_nav li {
  margin: 0 0 0 20px;
}
.h_contact {
  position: absolute;
  z-index: 1;
  top: 27px;
  right: 130px;
  width: 190px;
  text-align: left;
}
.h_contact a {
  font-family: ivymode, sans-serif;
  font-size: 2rem;
  position: relative;
  text-decoration: none;
  display: block;
  background: #fff;
  color: #008EB9 !important;
  padding: 7px 0px 7px 20px;
  border-radius: 25px;
  outline: none;
  transition: ease .2s;
}
.h_contact a:hover {
  background: #008EB9;
  color: #fff !important;
}
.h_contact a::after {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  right: 15px;
  content: '\f061';
  font-family: FontAwesome;
  font-weight: 400;
  color: #008EB9;
  font-size: 1.3rem;
  transition: all .3s;
}
.h_contact a:hover::after {
  right: 10px;
  color: #fff;
}
.h_contact a img {
  display: inline-block;
  width: 20px;
  margin: 0 8px 6px 0;
}
.h_contact a:hover img {
  filter: brightness(0) invert(1) saturate(0%) contrast(100%);
  transition: filter 0.3s ease;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 20px;
  right: 30px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  background: #298600;
  border-radius: 100px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 2px;
  background-color: #fff;
  border-radius: 10px;
  width: 50%;
}
.openbtn span:nth-of-type(1) {
  top: 38%;
}
.openbtn span:nth-of-type(2) {
  top: 50%;
}
.openbtn span:nth-of-type(3) {
  top: 62%;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {}
.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 37%;
  left: 25%;
  transform: translateY(6px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  top: 57%;
  left: 25%;
  transform: translateY(-6px) rotate(45deg);
}
/*========= ナビゲーションのためのCSS ===============*/
#gnav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 9998;
  /*ナビのスタート位置と形状*/
  top: -500%;
  right: 0%;
  width: 100%;
  height: 100vh;
  background: #F2EEE7;
  transition: all 0.6s;
}
#gnav::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 50%;
  height: 100%;
  background: #C63C00;
  border-radius: 0 50px 50px 0;
}
/*アクティブクラスがついたら位置を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: 100%;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gnav_logo {
  position: absolute;
  top: 20px;
  left: 50px;
  z-index: 9999;
  text-align: left;
  font-weight: 400;
  font-family: mizolet, sans-serif;
  font-size: 1.4rem;
}
.gnav_logo span {
  font-family: ivymode, sans-serif;
  font-size: 3rem;
  display: inline-block;
  margin: 0 10px 0 0;
}
.gnav_logo a {
  color: #fff !important;
}
.gnav_l {
  width: 50%;
}
.gnav_tour_ttl {
  width: 80%;
  text-align: left;
  margin: 0 auto 0.2em;
  font-family: ivymode, sans-serif;
  font-size: 4rem;
  color: #fff;
}
.gnav_tour {
  position: relative;
  width: 80%;
  margin: auto;
}
.gnav_tour img {
  border-radius: 20px;
}
.gnav_tour > div {
  border-radius: 20px;
  text-align: left;
  background: #F2EEE7;
  padding: 30px;
  font-family: mizolet, sans-serif;
}
.gnav_tour > div div {
  font-size: 1.7rem;
  color: #C63C00;
}
.gnav_tour > div h3 {
  color: #C63C00;
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1.3;
  margin: 0.1em auto 0.3em;
}
.gnav_tour > div h3 span {
  display: inline-block;
}
.gnav_tour > div p {
  font-size: 2.3rem;
  margin: 0 auto 1em;
}
.gnav_r {
  width: 50%;
}
.gnav_r_inner {
  text-align: left;
  margin: auto;
  width: 400px;
}
.gnav_r_inner a {
  color: #333 !important;
}
.gnav_r_inner a:hover {
  color: #333 !important;
}
.gnav_r_inner ul {
  margin: 0 auto 2em;
}
.gnav_r_inner ul li {
  position: relative;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 2px;
  padding: 15px 0 20px 0px;
  border-bottom: 1px solid #C63C00;
}
.gnav_r_inner ul li::before {
  position: absolute;
  top: 50%;
  right: 0px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: #C63C00;
  border-radius: 50%;
  transform: translate(0%, -50%);
  text-align: center;
  content: '\f061';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  transition: ease .2s;
}
.gnav_r_inner ul li:hover::before {
  right: -5px;
}
.gnav_r_inner ul li span {
  display: block;
  font-family: ivymode, sans-serif;
  color: #C63C00;
  font-size: 4rem;
  line-height: 1.4;
}
a.gnav_ig {
  display: block;
  font-size: 3rem;
  color: #C63C00 !important;
}
a.gnav_btn {
  color: #fff !important;
}
a.gnav_btn:hover {
  color: #008EB9 !important;
}
.gnav_btn {
  position: relative;
  display: inline-block;
  font-weight: 500;
  font-size: 1.7rem;
  font-family: mizolet, sans-serif;
  border-radius: 50px;
  margin: 1.5em auto 0;
  background: #008EB9;
  padding: 20px 80px 20px 30px;
  transition: ease .2s;
}
.gnav_btn img {
  display: inline-block;
  width: 25px;
  margin: 0 10px 2px 0;
  filter: brightness(0) invert(1);
}
.gnav_btn:hover {
  background: #fff;
}
.gnav_btn:hover img {
  filter: none;
}
.gnav_btn::before {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: #fff;
  border-radius: 50%;
  transform: translate(0%, -50%);
  text-align: center;
  content: '\f061';
  font-family: FontAwesome;
  font-weight: 400;
  color: #008EB9;
  transition: ease .2s;
}
.gnav_btn:hover::before {
  right: 15px;
}
.gnav_btn:hover::before {}
.gnav_contact_txt {
  margin: 0.5em auto 0;
  font-weight: 500;
}
a.gnav_pp {
  display: block;
  padding: 3em 0 0;
}
a.gnav_pp:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1150px) {
  .h_nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #header {
    height: 70px;
  }
  #header::before {
    top: 15px;
    height: calc(100% - 20px);
    width: calc(100% - 80px);
    margin: 0 70px 0 10px;
  }
  .logo span {
    font-size: 2rem;
    margin: 0 5px 0 0;
  }
  .logo {
    top: 55%;
    left: 20px;
    width: 200px;
    width: 400px;
    font-size: 1rem;
  }
  .h_nav, .h_contact {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 15px;
    right: 10px;
    width: 50px;
    height: 50px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 61%;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  #gnav::before {
    display: none;
  }
  .gnav_logo {
    left: 20px;
    font-size: 1rem;
  }
  .gnav_logo span {
    font-size: 2rem;
    margin: 0 5px 0 0;
  }
  .gnav_wrap {
    margin: 0em auto !important;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
  .gnav_l {
    width: 100%;
    background: #C63C00;
    padding: 6em 0 3em;
    border-radius: 0 0 30px 30px;
  }
  .gnav_tour_ttl {
    width: 80%;
    font-size: 3rem;
  }
  .gnav_tour {
    width: 80%;
  }
  .gnav_tour img {
    border-radius: 10px;
  }
  .gnav_tour > div {
    border-radius: 10px;
    padding: 20px;
  }
  .gnav_tour > div div {
    font-size: 1.2rem;
  }
  .gnav_tour > div h3 {
    font-size: 3rem;
  }
  .gnav_tour > div p {
    font-size: 1.8rem;
  }
  .gnav_r {
    width: 100%;
    padding: 3em 0 10em;
  }
  .gnav_r_inner {
    width: 80%;
  }
  .gnav_r_inner ul {
    margin: 0 auto 1em;
  }
  .gnav_r_inner ul li {
    font-size: 1.4rem;
    padding: 15px 0 15px 0px;
  }
  .gnav_r_inner ul li span {
    font-size: 3rem;
    line-height: 1.4;
  }
  .gnav_btn {
    font-size: 1.4rem;
    margin: 0.8em auto 0;
    padding: 15px 70px 15px 20px;
  }
  .gnav_btn img {
    width: 18px;
    margin: 0 7px 2px 0;
  }
  .gnav_contact_txt {
    font-size: 1.2rem;
  }
  a.gnav_pp {
    padding: 2em 0 0;
  }
}
@media (max-height: 970px) {
  /* 高さ970px以下の場合 */
  .gnav_wrap {
    margin: 5em auto;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
}