/* header */
#top-head {
  width: 100%;
  top: 0;
  position: fixed;
  margin-top: 0;
  z-index: 9999;
  height: 70px;
}
#top-head::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.75);
}
#top-head .logo {
  position: absolute;
  top: 50%;
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  left: 30px;
  width: 160px;
  z-index: 3;
  line-height: 1;
}
.top-head_wrap {
  position: relative;
  width: 100%;
  height: 70px;
}
.h_nav {
  position: absolute;
  top: 0px;
  right: 450px;
  z-index: 4;
  font-weight: 600;
}
.h_nav a {
  color: #0A3B94;
}
.h_nav a:hover {
  color: #00CEFF;
}
.h_nav_list > li.current > a {
  color: #00CEFF;
}
.h_nav_list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px auto 0em;
  justify-content: flex-end;
  position: relative;
  line-height: 70px;
}
.h_nav_list > li {
  flex: 0 1 auto;
  justify-content: center;
  padding: 0px 0px 0px 25px;
  font-size: 1.5rem;
  position: relative;
}
/*2階層目を持つliの矢印の設定*/
.h_nav_list > li.has-child {
  padding: 0 10px 0 25px;
}
.h_nav_list > li.has-child > a::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 30px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #0A3B94;
  border-right: 2px solid #0A3B94;
  transform: rotate(135deg);
}
.h_nav_list ul {
  display: block;
}
.h_nav_list li {
  position: relative;
}
.h_nav_list li.has-child ul {
  position: absolute;
  left: 60%;
  transform: translate(-50%, 0%);
  top: 70px;
  z-index: 10;
  background: #0A3B94;
  width: 180px;
  visibility: hidden;
  opacity: 0;
  transition: all .3s;
  border-radius: 0 0 10px 10px;
}
/*hoverしたら表示*/
.h_nav_list li.has-child:hover > ul, .h_nav_list li.has-child ul li:hover > ul, .h_nav_list li.has-child:active > ul, .h_nav_list li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}
/*ナビゲーションaタグの形状*/
.h_nav_list li.has-child ul li {
  line-height: 50px;
  border-bottom: 1px solid #fff;
}
.h_nav_list li.has-child ul li:last-child {
  border-bottom: none;
}
.h_nav_list li.has-child ul li a {
  color: #fff;
  display: block;
}
.h_nav_list li.has-child ul li:last-child > a {
  border-bottom: none;
}
.h_nav_list li.has-child ul li a:hover, .h_nav_list li.has-child ul li a:active {
  color: #00CEFF;
}
.h_btn {
  position: absolute;
  top: 15px;
  right: 100px;
  width: 320px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 0em;
  justify-content: space-between;
}
.h_btn li {
  width: 48%;
}
/*========= ボタンのための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: #0A3B94;
  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 {
  background-color: #fff;
}
.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: #0A3B94;
  /*動き*/
  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%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.gnav_logo {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}
.gnav_logo img {
  width: 200px;
}
.gnav_in {
  width: 90%;
  max-width: 1200px;
  margin: 2em auto 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: flex-start;
  justify-content: space-between;
}
.gnav_in_l {
  width: calc(100% - 350px);
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em;
  justify-content: space-between;
}
.gnav_in_l li {
  position: relative;
  width: 48%;
}
.gnav_in_l li::before {
	pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  content: '';
  opacity: 0.6;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1)50%, rgba(0, 0, 0, 1)100%);
  z-index: 3;
  transition: all .3s;
}
.gnav_in_l li > a {
  display: block;
  position: relative;
  color: #fff;
}
.gnav_in_l_txt {
  text-align: left;
  position: absolute;
  bottom: 30px;
  left: 20px;
  z-index: 5;
  width: calc(100% - 40px);
  color: #fff;
}
.gnav_in_l_txt p {
  display: block;
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 4px;
}
.gnav_in_l_txt p span {
  display: block;
  font-family: 'Avenir Next', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.gnav_in_l_txt > span {
	 position: absolute;
  bottom: 0;
  right: 0;
}
.gnav_in_r {
  width: 250px;
  color: #fff;
}
.gnav_list {
  text-align: left;
}
.gnav_list > li {
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin: 0 auto 2em;
}
.gnav_list > li span {
  display: block;
  font-family: effra, sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3px;
  font-size: 3.5rem;
}
.gnav_list > li a {
  color: #fff;
}
.gnav_list ul {
  margin: 0.7em auto 0;
}
.gnav_list ul li {
  margin: 0.5em auto 0;
  font-size: 1.6rem;
}
.gnav_list ul li::before {
  content: 'ー';
  padding: 0 5px 0 0;
}
.gnav_list ul li a:hover {
  text-decoration: underline;
}
.gnav_contact .txt_btn {
  padding: 18px 0px;
}
.gnav_address {
  width: 90%;
  max-width: 1200px;
  text-align: left;
  color: #fff;
  margin: -3em auto 0;
}
.gnav_address p {
  line-height: 2;
  margin: 0 auto 0.5em;
}
.gnav_address p a{
	color: #fff;
}

.gnav_address > a {
  color: #fff;
  text-decoration: underline;
}
.gnav_address > a:hover {
  text-decoration: none;
}
@media screen and (max-width: 1000px) {
  .h_nav {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #top-head {
    position: fixed;
    min-width: 200px;
  }
  #top-head .logo {
    top: 50%;
    left: 20px;
    width: 120px;
  }
  .h_nav {
    display: none;
  }
  .h_btn {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 10px;
    right: 10px;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  .gnav_wrap {
    margin: 3em auto 10em;
    position: relative;
    top: 0;
    left: 0;
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
  }
  .gnav_logo {
    width: 80%;
  }
  .gnav_logo img {
    width: 140px;
  }
  .gnav_in {
    width: 80%;
    display: block;
    margin: 1em auto 0;
  }
  .gnav_in_l {
    width: 100%;
    display: block;
  }
  .gnav_in_l li {
    width: 100%;
    margin: 1.5em auto 0;
  }
  .gnav_in_l li img {
    width: 100%;
    height: 230px;
    object-fit: cover;
  }
  .gnav_in_l_txt {
    bottom: 20px;
  }
  .gnav_in_l_txt p {
    font-size: 2rem;
    letter-spacing: 2px;
  }
  .gnav_in_l_txt p span {
    font-size: 1.5rem;
  }
  .gnav_in_r {
    width: calc(100% - 40px);
    margin: 2em auto 0;
  }
  .gnav_list {}
  .gnav_list > li {
    font-size: 1.5rem;
    margin: 0 auto 1.8em;
  }
  .gnav_list > li span {
    line-height: 1.4;
    font-size: 2.5rem;
  }
  .gnav_list ul {
    margin: 0.8em auto 0;
  }
  .gnav_list ul li {
    margin: 0.5em auto 0;
    font-size: 1.4rem;
  }
  .gnav_address {
    width: calc(90% - 40px);
    margin: 3em auto 0;
  }
  .gnav_address p {
    font-size: 1.2rem;
    line-height: 2;
    margin: 0 auto 0.8em;
  }
}
@media (max-height: 950px) {
  /* 高さ950px以下の場合 */
  .gnav_wrap {
    margin: 5em auto;
    position: relative;
    top: 0;
    left: 0;
    -ms-transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
  }
}