/* header */
.inner {
  margin: 0 auto;
  line-height: 34px;
}
.inner:after {
  content: "";
  clear: both;
  display: block;
  line-height: 34px;
}
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  padding: 20px 0 20px;
  line-height: 1;
  z-index: 999;
  height: 55px;
  background: rgba(255, 255, 255, 1.0);
}
#top-head .inner {
  position: relative;
}
#top-head .logo {
  float: left;
  text-align: left;
  padding-left: 80px;
  padding-top: 0px;
  width: 150px;
}
.logo img {
  width: 100%;
  height: auto;
}
/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  height: 55px;
  background: rgba(255, 255, 255, 1.0);
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
  top: 0px;
  position: absolute;
  z-index: 99;
}
.h_nav_sp {
  position: absolute;
  top: 0px;
  right: 150px;
  width: 75px;
  letter-spacing: 0;
  line-height: 1.7;
}
.h_nav_sp i {
  font-size: 2.5rem;
  line-height: 1;
}
.h_nav_sp span {
  font-size: 1.1rem;
}
.h_nav_sp02 {
  position: absolute;
  top: 0px;
  right: 235px;
  width: 105px;
  letter-spacing: 0;
  line-height: 1.7;
}
.h_nav_sp02 i {
  font-size: 2.5rem;
  line-height: 1;
}
.h_nav_sp02 span {
  font-size: 1.1rem;
}
/*
.h_nav_sp a {
  color: #F29600 !important;
}
*/
/*========= ナビゲーションのためのCSS ===============*/
#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 25%;
  height: 100vh; /*ナビの高さ*/
  background: #F29600;
  margin-left: 75%;
  /*動き*/
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  top: 0;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 25%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 325px;
}
/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 15%;
  left: 5%;
  width: 90%;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
  letter-spacing: 0px;
  font-size: 1.5rem;
}
#g-nav li a {
  text-decoration: none;
  padding: 6px;
  display: block;
  color: #fff;
}
#g-nav li a:hover {
  color: #FFF5BC !important;
}
#g-nav li a:before {
  font-family: FontAwesome;
  font-weight: 900;
  content: "\f105";
  padding-right: 10px;
}
#g-nav li:nth-child(4), #g-nav li:nth-child(5), #g-nav li:nth-child(6), #g-nav li:nth-child(7), #g-nav li:nth-child(8), #g-nav li:nth-child(9) {
  padding: 0px 0 0px 1.5rem;
}
#g-nav li:nth-child(4), #g-nav li:nth-child(5), #g-nav li:nth-child(6), #g-nav li:nth-child(7), #g-nav li:nth-child(8), #g-nav li:nth-child(9):before {
  left: 1em; /*左端からのアイコンまでの距離*/
}
.nav_btn {
  display: inline-block;
  padding: 0.5em 0em !important;
  text-decoration: none;
  color: #F18C00 !important;
  transition: .4s;
  background: #fff;
  text-align: center;
  border: #fff solid 1px;
  width: 90%;
  border-radius: 30px;
  margin: 1em auto 0em;
}
.nav_btn:hover {
  opacity: 0.8;
  background: #F0E4A6;
  color: #F29600 !important;
}
.gnav_sns_title {
  color: #fff;
  margin: 1em auto 0;
  letter-spacing: 2px;
}
.gnav_sns {
  font-size: 3rem;
  margin-bottom: 3em;
}
.gnav_sns a {
  margin: 0 0.3em;
}
.gnav_sns a:link {
  color: #fff;
}
.gnav_sns a:hover {
  color: #FFF5BC !important;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: -10px;
  right: 80px;
  cursor: pointer;
  width: 60px;
  height: 60px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background-color: #F29600;
  width: 65%;
}
.openbtn span:nth-of-type(1) {
  top: 13px;
}
.openbtn span:nth-of-type(2) {
  top: 24px;
}
.openbtn span:nth-of-type(3) {
  top: 35px;
}
.openbtn span:nth-of-type(3)::after {
  content: "menu"; /*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top: -0px;
  left: 0px;
  color: #F29600;
  font-size: 1.3rem;
  letter-spacing: 2px;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active span {
  background-color: #fff;
}
.openbtn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(3)::after {
  content: "close"; /*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 12px;
  width: 200%;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .inner {
    line-height: normal;
  }
  .inner:after {
    line-height: normal;
  }
  .logo img {
    width: 100%;
    height: auto;
  }
  #top-head .logo {
    padding-top: 25px;
    padding-left: 20px;
    width: 105px;
  }
  #top-head, .inner {
    width: 100%;
    padding: 0;
  }
  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
    height: 70px;
  }
  #mobile-head {
    background: rgba(255, 255, 255, .0);
    width: 100%;
    height: 70px;
    z-index: 999;
    position: relative;
  }
  #top-head.fixed {
    height: 70px;
  }
  .h_nav {
    display: none;
  }
  .h_nav_sp {
    position: absolute;
    top: 21px;
    right: 70px;
    width: 50px;
    letter-spacing: 0;
  }
  .h_nav_sp i {
    font-size: 2.5rem;
    line-height: 1.4;
  }
  .h_nav_sp span {
    display: none;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .h_nav_sp a {
    color: #F29600 !important;
  }
  .h_nav_sp02 {
    position: absolute;
    top: 21px;
    right: 120px;
    width: 50px;
    letter-spacing: 0;
  }
  .h_nav_sp02 i {
    font-size: 2.5rem;
    line-height: 1.4;
  }
  .h_nav_sp02 span {
    display: none;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .h_nav_sp02 a {
    color: #F29600 !important;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -200%;
    left: 0;
    width: 100%;
    height: 100vh; /*ナビの高さ*/
    background: #F29600;
    /*動き*/
    transition: all 0.6s;
    margin: auto;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh; /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 7%;
    left: 10%;
    width: 80%;
  }
  /*リストのレイアウト設定*/
  #g-nav li {
    list-style: none;
  }
  #g-nav li a {
    text-decoration: none;
    padding: 7px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 5px;
    right: 10px;
    width: 60px;
    height: 60px;
  }
  .openbtn span:nth-of-type(3)::after {
    top: 7px;
    left: 0px;
  }
  .openbtn.active span:nth-of-type(3)::after {
    top: 13px;
    left: 10px;
  }
}