/* header */
#header {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 2%;
  width: 96%;
  height: 70px;
  border-radius: 100px;
  box-shadow: 0px 0px 20px 0px rgba(0, 81, 177, 0.2);
}
#header::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.9);
  border-radius: 100px;
}
.logo {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  left: 30px;
  z-index: 9999;
  width: 200px;
}
.logo a {
  display: block;
  line-height: 1;
}
.h_nav {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  right: 70px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0em auto 0em;
  justify-content: flex-end;
  align-items: center;
}
.h_nav li {
  padding: 0 10px;
  font-weight: 500;
}
.h_nav li:nth-last-child(-n+2) {
  padding: 0 10px 0 0;
}
.h_nav li img {
  display: inline-block;
  width: 25px;
  margin: 0 5px 0 0;
}
.h_nav li a.h_btn {
  position: relative;
  display: block;
  border-radius: 50px;
  padding: 7px 30px 7px 15px;
  transition: ease .2s;
}
.h_btn.registration {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 185, 253, 1) 0%, rgba(0, 85, 887, 1)50%, rgba(0, 85, 887, 1)100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
.h_btn.registration:hover {
  background-position: 99% 50%;
}
.h_btn.mypage {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 216, 0, 1) 0%, rgba(255, 137, 0, 1)100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
.h_btn.mypage:hover {
  background-position: 99% 50%;
}
.h_btn.contact {
  color: #0066DD;
  border: 1px solid #0066DD;
}
.h_btn.contact:hover {
  color: #fff;
  background: #0066DD;
}
.h_btn.contact:hover img {
  filter: brightness(0) invert(1);
}
.h_btn::before {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  transition: ease .2s;
}
.h_btn:hover::before {
  right: 5px;
}
.h_btn.contact::before {
  color: #0066DD;
}
.h_btn.contact:hover::before {
  color: #fff;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: absolute;
  z-index: 9999; /*ボタンを最前面に*/
  top: 5px;
  right: 10px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  background: #0066DD;
  border-radius: 100px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 2px;
  background-color: #fff;
  border-radius: 10px;
  width: 40%;
}
.openbtn span:nth-of-type(1) {
  top: 35%;
}
.openbtn span:nth-of-type(2) {
  top: 50%;
}
.openbtn span:nth-of-type(3) {
  top: 65%;
}
/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active {}
.openbtn.active span {}
.openbtn.active span:nth-of-type(1) {
  top: 37%;
  left: 30%;
  transform: translateY(6px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
  display: none;
}
.openbtn.active span:nth-of-type(3) {
  top: 57%;
  left: 30%;
  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: #fff;
  transition: all 0.6s;
}
#gnav::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  content: '';
  background: url("/img/common/bg_sp.webp") center / cover;
}
/*アクティブクラスがついたら位置を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%;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gnav_l {
  width: 55%;
}
.gnav_l ul {
  width: 60%;
  margin: auto;
  text-align: left;
}
.gnav_l ul li {
  margin: 1.5em auto 0;
}
.gnav_l ul li:first-child {
  margin: 0 auto;
}
.gnav_l ul li a {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: flex-start;
  align-items: center;
  padding: 55px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 30px 0px rgba(0, 71, 185, 0.2);
}
.gnav_l ul li a.wide {
  padding: 45px 30px;
}
.gnav_l ul li a:hover {
  color: #0066DD;
}
.gnav_l ul li a::before {
  position: absolute;
  content: '';
  top: 50%;
  right: 20px;
  transform: translate(0%, -50%);
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("/img/common/arrow_deepblue.webp");
  background-size: contain;
  background-repeat: no-repeat;
  transition: ease .2s;
}
.gnav_l ul li a:hover::before {
  right: 15px;
}
.gnav_l ul li a img {
  display: inline-block;
  width: 30px;
  margin: 0 20px 0 0;
}
.gnav_l ul li a p {
  display: inline-block;
  font-weight: 500;
  margin: 0;
  font-size: 2rem;
  letter-spacing: 2px;
  line-height: 1.5;
}
.gnav_r {
  width: 45%;
}
.gnav_r_inner {
  text-align: left;
  margin: auto;
  width: 350px;
}
.gnav_r_inner ul {
  border-bottom: 1px solid #0066DD;
  padding: 0 0 2em;
  margin: 0 auto 2em;
}
.gnav_r_inner ul li {
  position: relative;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 2px;
  padding: 7px 0 7px 30px;
}
.gnav_r_inner ul li::before {
  position: absolute;
  content: '';
  top: 15px;
  left: 0px;
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("/img/common/arrow_yellow.webp");
  background-size: contain;
  background-repeat: no-repeat;
}
.gnav_btn {
  position: relative;
  display: block;
  font-weight: 500;
  font-size: 1.7rem;
  border-radius: 50px;
  margin: 1em auto 0;
  padding: 20px 30px 20px 30px;
  transition: ease .2s;
}
.gnav_btn img {
  display: inline-block;
  width: 35px;
  margin: 0 10px -3px 0;
}
.gnav_btn.registration {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 185, 253, 1) 0%, rgba(0, 85, 887, 1)50%, rgba(0, 85, 887, 1)100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
.gnav_btn.registration:hover {
  background-position: 99% 50%;
}
.gnav_btn.mypage {
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 216, 0, 1) 0%, rgba(255, 137, 0, 1)100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
.gnav_btn.mypage:hover {
  background-position: 99% 50%;
}
.gnav_btn.contact {
  color: #0066DD;
  border: 1px solid #0066DD;
}
.gnav_btn.contact:hover {
  color: #fff;
  background: #0066DD;
}
.gnav_btn.contact:hover img {
  filter: brightness(0) invert(1);
}
.gnav_btn::before {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0%, -50%);
  content: '\f0da';
  font-family: FontAwesome;
  font-weight: 400;
  color: #fff;
  transition: ease .2s;
}
.gnav_btn:hover::before {
  right: 15px;
}
.gnav_btn.contact::before {
  color: #0066DD;
}
.gnav_btn.contact:hover::before {
  color: #fff;
}
.gnav_contact {
  font-size: 1.7rem;
  letter-spacing: 2px;
  font-weight: 500;
  margin: 2em auto 0;
}
.gnav_contact span {
  display: block;
  color: #0066DD;
  font-weight: 600;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 3.3rem;
  line-height: 1.3;
  letter-spacing: 1px;
}
a.gnav_pp {
  display: inline-block;
  padding: 3em 0 0;
}
a.gnav_pp:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1230px) {
  .h_nav li:nth-child(-n+3) {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .logo {
    left: 25px;
    width: 150px;
  }
  .h_nav {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 61%;
  }
  /*========= ナビゲーションのためのCSS ===============*/
  #gnav {
    top: -500%;
  }
  #gnav::before {
    display: none;
  }
  .gnav_wrap {
    margin: 0em auto !important;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
  .gnav_l {
    width: 100%;
    background: url("/img/common/bg_sp.webp") center / cover;
    padding: 6em 0 3em;
  }
  .gnav_l ul {
    width: 80%;
  }
  .gnav_l ul li {
    margin: 1.5em auto 0;
  }
  .gnav_l ul li a {
    padding: 30px 20px;
  }
  .gnav_l ul li a.wide {
    padding: 20px 20px;
  }
  .gnav_l ul li a::before {
    right: 20px;
    width: 30px;
    height: 30px;
  }
  .gnav_l ul li a:hover::before {
    right: 15px;
  }
  .gnav_l ul li a img {
    width: 25px;
    margin: 0 15px 0 0;
  }
  .gnav_l ul li a p {
    font-size: 1.6rem;
  }
  .gnav_r {
    width: 100%;
    padding: 3em 0 10em;
  }
  .gnav_r_inner {
    width: 80%;
  }
  .gnav_r_inner ul {
    padding: 0 0 1.5em;
    margin: 0 auto 2em;
  }
  .gnav_r_inner ul li {
    font-size: 1.4rem;
    padding: 5px 0 5px 30px;
  }
  .gnav_r_inner ul li::before {
    top: 8px;
  }
  .gnav_btn {
    font-size: 1.4rem;
    margin: 0.8em auto 0;
    padding: 15px 30px 15px 30px;
  }
  .gnav_btn img {
    width: 25px;
    margin: 0 7px -3px 0;
  }
  .gnav_contact {
    font-size: 1.4rem;
    margin: 2em auto 0;
  }
  .gnav_contact span {
    font-size: 2.8rem;
  }
  a.gnav_pp {
    padding: 2em 0 0;
  }
}
@media (max-height: 700px) {
  /* 高さ700px以下の場合 */
  .gnav_wrap {
    margin: 5em auto;
    position: relative;
    top: 0;
    left: 0;
    transform: translate(0%, 0%);
  }
}