/* header */
#header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fff;
}
.logo {
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translate(0%, -50%);
  z-index: 3;
  width: 120px;
}
.h_nav {
  position: absolute;
  top: 50%;
  right: 460px;
  transform: translate(0%, -50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: flex-end;
}
.h_nav li {
  font-weight: 700;
  margin: 0 0 0 20px;
}
.h_nav li a {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}
.h_nav li a:hover {
  transform: translateY(-2px);
}
.h_btn {
  position: absolute;
  top: 10px;
  right: 200px;
  width: 240px;
}
.h_btn a {
  position: relative;
  display: block;
  text-align: center;
  font-size: 2rem;
  font-family: montserrat, sans-serif;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  transition: all .5s;
}
.h_btn a span {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.h_btn a::before {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  transition: all .5s;
}
.h_btn a:hover::before {
  right: 10px;
}
.h_btn a::after {
  position: absolute;
  content: '';
  top: 60%;
  left: 15px;
  transform: translate(0%, -50%);
  display: block;
  width: 25px;
  height: 25px;
  background-image: url("/img/common/freedial.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.h_btn_txt{
	text-align: left;
	font-weight: 700;
	font-size: 1.3rem;
	position: absolute;
	top:10px;
	right: 90px;
	letter-spacing: 0px;
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 50%;
  right: 25px;
  transform: translate(0%, -50%);
  cursor: pointer;
  width: 40px;
  height: 50px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: 30%;
  height: 2px;
  background-color: #F57F29;
  width: 100%;
}
.openbtn span:nth-of-type(1) {
  top: 30%;
}
.openbtn span:nth-of-type(2) {
  top: 50%;
}
.openbtn span:nth-of-type(3) {
  top: 70%;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {}
.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 45%;
  transform: translateY(6px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  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: #FFF3E5;
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を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%;
  height: 100vh;
}
.gnav_top {
  padding: 4em 0;
  position: absolute;
  top: calc(50% - 150px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.gnav_logo {
  width: 150px;
  margin: auto;
}
.gnav_nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 2em auto 0em;
  justify-content: center;
  text-align: left;
  font-weight: 700;
}
.gnav_nav > li {
  width: 400px;
  margin: 0 30px;
}
.gnav_nav > li ul {}
.gnav_nav > li ul li {
  position: relative;
  border-bottom: 1px solid #F57F29;
  padding: 25px 0;
  font-size: 1.8rem;
  letter-spacing: 2px;
}
.gnav_nav > li ul li a {
  display: block;
  color: #0071C1;
}
.gnav_nav > li ul li::before {
  position: absolute;
  top: calc(50% - 15px);
  right: 0;
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/img/common/arrow_slide.webp");
  background-size: contain;
  background-repeat: no-repeat;
  transform: scale(-1, 1);
  transition: all .3s;
}
.gnav_nav > li ul li:hover::before {
  right: -5px;
}
.gnav_bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0071C1;
  color: #fff;
  padding: 3em 0 3em;
  border-radius: 20px 20px 0 0;
}
.gnav_bottom div {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 3.2rem;
  letter-spacing: 3px;
  margin: 0 auto 0.5em;
}
.gnav_bottom div::before, .gnav_bottom div::after {
  position: absolute;
  content: '';
  top: 7px;
  display: block;
  width: 33px;
  height: 45px;
  background-image: url("/img/common/fukidashi04.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.gnav_bottom div::before {
  left: -45px;
}
.gnav_bottom div::after {
  right: -45px;
  transform: scale(-1, 1);
}
.gnav_btn {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 2.5em;
  justify-content: center;
}
.gnav_btn li {
  width: 350px;
  margin: 0 20px;
}
.gnav_btn li a {
  position: relative;
  display: block;
  overflow: hidden;
  font-size: 1.7rem;
  padding: 22px 0 22px 20px;
  background: url("/img/common/mail_bg.webp") center / cover;
  color: #fff;
  font-weight: 700;
  transition: all .5s;
}
.gnav_btn li:first-child a {
  font-family: montserrat, sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1;
  padding: 25px 0 25px 20px;
  background: url("/img/common/tel_bg.webp") center / cover;
}
.gnav_btn li a::before {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  font-size: 2.5rem;
  transition: all .5s;
}
.gnav_btn li a:hover::before {
  right: 10px;
}
.gnav_btn li a::after {
  position: absolute;
  top: 53%;
  left: 55px;
  transform: translate(0%, -50%);
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  background-image: url("/img/common/icon_mail.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.gnav_btn li:first-child a::after {
  left: 40px;
  width: 41px;
  height: 23px;
  background-image: url("/img/common/freedial.webp");
}
.gnav_btn li p {
  margin: 0.5em auto 0;
}
a.gnav_pp {
  display: block;
  margin: 1em auto 0;
  color: #fff !important;
  text-decoration: underline !important;
  font-size: 1.4rem;
}
.gnav_bottom p a {
  color: #fff !important;
}
@media screen and (max-width: 1020px) {
  .h_nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .logo {
    left: 15px;
    width: 100px;
  }
  .h_nav {
    display: none;
  }
  .h_btn {
    right: 65px;
    top: 10px;
    width: 160px;
  }
  .h_btn a {
    font-size: 1.3rem;
  }
  .h_btn a span {
    top: 50%;
    left: 55%;
  }
  .h_btn a::before {
    display: none;
  }
  .h_btn a::after {
    top: 63%;
    left: 12px;
    width: 16px;
    height: 16px;
  }
	.h_btn_txt{
		top:45px;
		right: 85px;
		font-size: 1rem;
	}
	.h_btn_txt br{
		display: none;
	}
	
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    right: 0px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  .gnav_wrap {
    margin: 0em auto !important;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
    height: auto;
  }
  .gnav_top {
    padding: 3em 0;
    position: relative;
    top: 0;
    left: 0%;
    transform: translate(0%, 0%);
  }
  .gnav_logo {
    width: 100px;
  }
  .gnav_nav {
    display: block;
    width: 80%;
    margin: 2em auto 0em;
  }
  .gnav_nav > li {
    width: 100%;
    margin: 0;
  }
  .gnav_nav > li ul {}
  .gnav_nav > li ul li {
    padding: 20px 0;
    font-size: 1.4rem;
  }
  .gnav_nav > li ul li::before {
    top: calc(50% - 10px);
    width: 20px;
    height: 20px;
  }
  .gnav_bottom {
    position: relative;
    padding: 3em 0 5em;
  }
  .gnav_bottom div {
    font-size: 2rem;
    margin: 0 auto 0.8em;
  }
  .gnav_bottom div span {
    display: inline-block;
  }
  .gnav_bottom div::before, .gnav_bottom div::after {
    top: auto;
    bottom: 3px;
    width: 18px;
    height: 25px;
  }
  .gnav_bottom div::before {
    left: calc(50% - 145px);
  }
  .gnav_bottom div::after {
    right: calc(50% - 145px);
  }
  .gnav_btn {
    display: block;
    margin: 0em auto 2.5em;
  }
  .gnav_btn li {
    width: 280px;
    margin: 0 auto 1.5em;
  }
  .gnav_btn li a {
    font-size: 1.5rem;
    padding: 18px 0 18px 20px;
  }
  .gnav_btn li:first-child a {
    font-size: 2rem;
    padding: 19px 0 19px 20px;
  }
  .gnav_btn li a::before {
    font-size: 2rem;
  }
  .gnav_btn li a::after {
    top: 53%;
    left: 45px;
    width: 15px;
    height: 15px;
  }
  .gnav_btn li:first-child a::after {
    left: 40px;
    width: 26px;
    height: 15px;
  }
  a.gnav_pp {
    font-size: 1.2rem;
  }
}
@media (max-height: 900px) {
  /* 高さ900px以下の場合 */
  .gnav_top {
    padding: 4em 0;
    position: relative;
    top: 0;
    left: 0%;
    transform: translate(0%, 0%);
  }
  .gnav_bottom {
    position: relative;
  }
}