/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  height: 70px;
  box-shadow: 0px 1px 10px rgba(98, 145, 209, 0);
}
/* Fixed */
#top-head.fixed {
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
}
#top-head .sof_logo {
  position: absolute;
  top: 55%;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  left: 30px;
  width: 300px;
  z-index: 3;
  line-height: 1;
}
.top-head_wrap {
  position: relative;
  width: 100%;
  height: 70px;
}
.h_nav {
  position: absolute;
  top: 10px;
  right: 300px;
  z-index: 4;
  font-weight: 600;
}
.h_nav_list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px auto 0em;
  justify-content: flex-end;
  position: relative;
}
.h_nav_list li {
  flex: 0 1 auto;
  justify-content: center;
  padding: 0px 0px 0px 35px;
  font-size: 1.3rem;
}
.h_nav_list li span {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-size: 2.2rem;
  line-height: 1.4;
  letter-spacing: 3px;
  font-weight: 500;
  color: #6EB92C;
}
.h_nav_list li a {
  color: #fff;
}
.h_nav_list li a:hover {
  color: #569122;
}
.h_btn {
  position: absolute;
  top: 0;
  right: 100px;
  width: 160px;
  height: 70px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
}
.header_btn {
  /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
  overflow: hidden;
  /*ボタンの形状*/
  text-decoration: none;
  display: inline-block;
  background: #EDEDED;
  padding: 15px 0px 10px;
  width: 80px;
  height: 45px;
  text-align: center;
  outline: none;
  /*アニメーションの指定*/
  transition: ease .2s;
  font-size: 1.3rem;
}
/*ボタン内spanの形状*/
.header_btn span {
  position: relative;
  z-index: 3; /*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color: #6EB92C;
}
.header_btn img {
  width: 45px;
  margin: 0 auto 3px;
}
.header_btn.reverse {
  background: #6EB92C;
}
.header_btn.reverse span {
  color: #fff;
}
/*== 背景が流れる（中央から外） */
.header_btn.bgcenterout:before {
  content: '';
  /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  /*色や形状*/
  background: #fff;
  width: 100%;
  height: 100%;
  /*アニメーション*/
  transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 0);
  transform-origin: center;
}
/*hoverした際の形状*/
.header_btn.bgcenterout:hover:before {
  transform: scale(1, 1);
}
.header_btn.reverse.bgcenterout:before {
  background: #3B6217;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 25px;
  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: #6EB92C;
  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 {}
.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: url("https://gigaplus.makeshop.jp/sofmix/img/common/nav_bg.webp") center / cover;
  /*動き*/
  transition: all 0.6s;
  color: #fff;
}
/*アクティブクラスがついたら位置を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%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.gnav_img {
  width: 150px;
  margin: auto;
}
.gnav_nav {
  margin: 2em auto 0;
}
.gnav_nav li {
  padding: 0.5em 0 0.5em;
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}
.gnav_nav li a {
  color: #fff;
}
.gnav_nav li span {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-size: 3.5rem;
  line-height: 1.3;
  letter-spacing: 3px;
  font-weight: 500;
  color: #6EB92C;
}
.gnav_nav li:nth-last-child(-n+2) {
  font-size: 1.5rem;
  font-weight: 400;
}
.gnav_nav li:nth-child(2) {
  margin: 0 auto 1em;
  padding: 0.2em 0;
}
.gnav_bnr {
  background: #6EB92C;
  padding: 2em 0 3em;
  margin: 2em auto 0;
}
.gnav_bnr p {
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-size: 2.5rem;
  line-height: 1.3;
  letter-spacing: 3px;
  font-weight: 500;
  margin: 0 auto 0.5em;
}
.gnav_bnr img {
  max-width: 800px;
  margin: auto;
}
.gnav_contact {
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 2em auto 0em;
  justify-content: center;
}
.gnav_contact li {
  width: 300px;
  margin: 0 20px;
}
.gnav_contact div {
  font-weight: bold;
  margin: 0 auto 0.5em;
  letter-spacing: 2px;
  font-size: 1.7rem;
}
.gnav_contact p {
  margin: 0.5em auto 0;
  font-size: 1.3rem;
}
.gnav_btn.tel span {
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-size: 1.6em;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 1;
}
.gnav_btn {
  /*ボタンの形状*/
  display: inline-block;
  color: #6EB92C !important;
  padding: 10px 0px;
  width: 100%;
  text-decoration: none;
  outline: none;
  border: 1px solid #6EB92C;
  /*背景の色と形状*/
  background: linear-gradient(120deg, #6EB92C 0%, #000 15%, #000 51%, #000 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  /*アニメーションの指定*/
  transition: all 0.3s ease-out;
  position: relative;
  font-weight: bold;
}
/*hoverした際の、背景の場所とテキスト色の変更*/
.gnav_btn:hover {
  color: #fff;
  background-position: 30% 50%;
}
.gnav_btn::after {
  position: absolute;
  top: 50%;
  right: 15px;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  content: '\f054';
  font-family: FontAwesome;
  font-weight: 400;
  color: #6EB92C;
  z-index: 3;
}
.gnav_btn img {
  width: 25px;
  margin: 0 15px 2px 0;
}
.gnav_btn.tel img {
  margin: 0 15px 4px 0;
}
@media screen and (max-width: 1000px) {
  .h_nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #top-head {
    position: fixed;
    min-width: 200px;
  }
  .h_nav {
    display: none;
  }
  #top-head .sof_logo {
    top: 55%;
    left: 10px;
    width: 130px;
  }
  .h_btn {
    right: 60px;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 10px;
    right: 5px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  .gnav_wrap {
    margin: 3em auto 8em;
    position: relative;
    top: 0;
    left: 0;
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(-50%, 0%);
    transform: translate(0%, 0%);
  }
  .gnav_img {
    width: 100px;
    margin: 0 auto 2em;
  }
  .gnav_nav li {
    padding: 0.5em 0 0.5em;
    font-size: 1.6rem;
  }
  .gnav_nav li span {
    font-size: 3rem;
  }
  .gnav_nav li:nth-last-child(-n+2) {
    font-size: 1.2rem;
  }
  .gnav_nav li:nth-child(2) {
    margin: 0 auto 1em;
  }
  .gnav_bnr {
    padding: 1em 0 2em;
    margin: 2em auto 0;
  }
  .gnav_bnr p {
    font-size: 2rem;
  }
  .gnav_bnr img {
    width: 90%;
  }
  .gnav_contact li {
    width: 300px;
    margin: 0 20px 2em;
  }
  .gnav_contact div {
    font-size: 1.5rem;
  }
  .gnav_btn img {
    width: 20px;
    margin: 0 10px 1px 0;
  }
  .gnav_btn.tel img {
    margin: 0 10px 4px 0;
  }
}
@media (max-height: 970px) {
  /* 高さ500px以下の場合 */
  .gnav_wrap {
    margin: 5em auto;
    position: relative;
    top: 0;
    left: 0;
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(-50%, 0%);
    transform: translate(0%, 0%);
  }
}