/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  z-index: 9999;
  height: 120px;
  background: #E60000;
  color: #fff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0);
  border-bottom: 1px solid #fff;
}
.top-head_wrap {
  position: relative;
  width: 100%;
  height: 120px;
}
#top-head .logo {
  position: absolute;
  top: 10px;
  left: 30px;
  width: 230px;
  z-index: 3;
  line-height: 1;
}
.h_nav {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -0%);
  width: 100%;
  z-index: 4;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px auto 0em;
  justify-content: center;
  border-top: 1px solid #fff;
}
.h_nav > li {
  position: relative;
  flex: 0 1 auto;
  justify-content: center;
  padding: 8px 25px 8px 16px;
  font-size: 1.7rem;
  letter-spacing: 2px;
}
.h_nav > li::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0px;
  transform: translate(0%, -50%);
  display: block;
  width: 22px;
  height: 14px;
  background-image: url("/img/common/arrow_yellow.webp");
  background-size: contain;
  background-repeat: no-repeat;
  transition: ease .2s;
}
.h_nav > li:hover::before {
  left: 2px;
}
.h_nav > li a {
  display: block;
  color: #fff;
}
.h_nav > li a:hover {
  color: #FFE200;
}
.h_tel {
  position: absolute;
  top: 10px;
  right: 540px;
  font-size: 1.3rem;
  text-align: left;
}
.h_tel img {
  width: 290px;
}
.h_tel img:hover {
  opacity: 1;
}
.h_tel p {
  padding: 0 0 0 35px;
}
.h_contact.line {
  position: absolute;
  top: 14px;
  right: 335px;
  font-size: 1.4rem;
}
.h_contact {
  position: absolute;
  top: 14px;
  right: 100px;
  font-size: 1.4rem;
}
.h_contact a {
  position: relative;
  font-weight: 700;
  line-height: 30px;
  font-size: 1.6rem;
  outline: none;
  transition: all 0.2s ease;
  display: block;
}
.h_contact span img {
  width: 30px;
  margin: 0px 7px 0px 0;
}
.h_contact a span {
  position: relative;
  z-index: 2;
  display: block;
  padding: 7px 35px 7px 10px;
  background: #FFE200;
  border-radius: 10px;
  color: #333;
  transition: all 0.3s ease;
}
.h_contact a span::before {
  position: absolute;
  content: '';
  display: block;
  width: 22px;
  height: 14px;
  background-image: url("/img/common/arrow_red.webp");
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  right: 2px;
  transform: translate(0%, -50%);
  transition: ease .2s;
  z-index: 5;
}
.h_contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #333;
}
.h_contact:hover span {
  transform: translate(4px, 4px);
}
.h_contact.line a span {
  background: #fff;
}
.h_contact.line a span::before {
  background-image: url("/img/common/arrow_green.webp");
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 25px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  padding: 10px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 25%;
  height: 2px;
  border-radius: 5px;
  background-color: #E60000;
  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 {}
.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: #E60000;
  -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 0;
}
.gnav_nav li {
  text-align: left;
  border-bottom: 1px solid #fff;
  padding: 13px 0 13px 22px;
  font-weight: 700;
  font-size: 2rem;
  position: relative;
}
.gnav_nav li a {
  color: #fff;
  display: block;
}
.gnav_nav li a:hover {
  color: #FFE200;
}
.gnav_nav li::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0px;
  transform: translate(0%, -50%);
  display: block;
  width: 22px;
  height: 14px;
  background-image: url("/img/common/arrow_yellow.webp");
  background-size: contain;
  background-repeat: no-repeat;
  transition: ease .2s;
}
.gnav_nav li:hover::before {
  left: 3px;
}
.gnav_tel {
  text-align: left;
  width: 300px;
  margin: 2em auto 1em;
}
.gnav_tel img {
  width: 280px;
}
.gnav_tel p {
  font-size: 1.4rem;
  padding: 5px 0 0 32px;
}
.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;
}
.gnav_contact span img {
  width: 30px;
  margin: 0px 7px 0px 0;
}
.gnav_contact a span {
  position: relative;
  z-index: 2;
  display: block;
  padding: 10px 35px 10px 10px;
  background: #FFE200;
  border-radius: 10px;
  color: #333;
  transition: all 0.3s ease;
}
.gnav_contact a span::before {
  position: absolute;
  content: '';
  display: block;
  width: 22px;
  height: 14px;
  background-image: url("/img/common/arrow_red.webp");
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  right: 2px;
  transform: translate(0%, -50%);
  transition: ease .2s;
  z-index: 5;
}
.gnav_contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #333;
}
.gnav_contact:hover span {
  transform: translate(4px, 4px);
}
.gnav_contact.line a span {
  background: #fff;
}
.gnav_contact.line a span::before {
  background-image: url("/img/common/arrow_green.webp");
}
.gnav_pp {
  width: 300px;
  margin: 2em auto 0;
  text-align: left;
  position: relative;
  padding: 0 0 0 15px;
  font-size: 1.4rem;
}
.gnav_pp a {
  color: #fff;
}
.gnav_pp a:hover {
  color: #FFE200;
}
.gnav_pp::before {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(0%, -50%);
  content: '\f054';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  font-size: 1rem;
}
@media screen and (max-width: 1100px) {}
@media screen and (max-width: 768px) {
  #top-head {
    position: fixed;
    min-width: 200px;
    height: 70px;
  }
  .top-head_wrap {
    height: 70px;
  }
  #top-head .logo {
    top: 50%;
    transform: translate(0%, -50%);
    left: 10px;
    width: 170px;
  }
  .h_nav {
    display: none;
  }
  .h_tel {
    display: none;
  }
  .h_contact {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 10px;
    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: 5em auto 10em;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
  .gnav_logo img {
    width: 250px;
    margin: 0 50px 0 0;
  }
  .gnav_nav {
    width: 300px;
    margin: 1em auto 0;
  }
  .gnav_nav li {
    padding: 12px 0 12px 20px;
    font-size: 1.7rem;
  }
  .gnav_tel img {
    width: 260px;
  }
  .gnav_tel p {
    font-size: 1.2rem;
  }
  .gnav_pp {
    font-size: 1.2rem;
  }
}
@media (max-height: 870px) {
  /* 高さ500px以下の場合 */
  .gnav_wrap {
    margin: 5em auto;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
}