#header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 40px 0;
  z-index: 9999;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  background: transparent;
}
#header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#header.active {
  padding: 16px 0;
  background: rgba(35, 37, 49, 0.3);
  box-shadow: 0 1px 1px 0 rgb(35 37 49 / 50%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
#header .wrap:after {
  content: none;
}
@media screen and (max-width: 991px) {
  #header {
    padding: 14px 0;
  }

  #header.active {
    padding: 14px 0;
    background: rgba(15, 15, 15, 0.9);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5);
  }
}

#header #logo {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 36px;
  line-height: 36px;
  height: min-content;
  font-weight: 300;
  font-family: Rajdhani, sans-serif;
}

#header #logo a:hover,
#header #logo a:active,
#header #logo a:focus {
  text-decoration: none;
}

@media screen and (max-width: 991px) {
  #header #logo {
    float: left;
    font-size: 25px;
  }
}

#header-right {
  height: auto;
}

#header-right #gnav {
  background: none;
}

#header-right #gnav ul li {
  display: block;
  position: relative;
  float: left;
  margin-left: 1rem;
}

#header-right #gnav ul li > a {
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 400;
  padding: 0;
  line-height: inherit;
  background: none;
  color: #ffffff;
  line-height: 3em;
  font-family: "Montserrat";
}
#header-right #gnav ul li.contact-button {
  margin-left: 1.5em;
}
#header-right #gnav ul li.contact-button > a {
  border: 1px solid #fff;
  border-radius: 30px;
  padding: 0 1em;
}
#header-right #gnav ul li.contact-button > a:hover {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  line-height: 3em;
}
#header-right #gnav ul li a[target="_blank"] span:after {
  content: "\e89e";
  font-family: "Material Symbols Outlined" !important;
  font-size: 1.2rem;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 200, "opsz" 50;
  vertical-align: bottom;
  margin-left: 4px;
  opacity: 0.8;
}

/*
  #header-right #gnav ul li a:after {
    border-top: 1px solid #fff;
    bottom: 0;
    content: "";
    display: block;
    margin: 0 auto;
    position: relative;
    -webkit-transition: all 280ms ease-in-out;
    transition: all 280ms ease-in-out;
    width: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
  */
#header-right #gnav ul li a:hover {
  color: #fff;
}

#header-right #gnav ul li a:hover:after {
  border-color: #fff;
  -webkit-transition: width 280ms ease-in-out;
  transition: width 280ms ease-in-out;
  width: 100%;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

@media screen and (max-width: 991px) {
  #header-nav-btn {
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  #header-nav-btn {
    float: right;
    margin: 0;
  }
}

@media screen and (max-width: 991px) {
  #header-nav-btn a {
    padding: 0;
    background: none;
    line-height: 100%;
    font-size: 1.5rem;
  }
  #header-nav-btn a:hover {
    text-decoration: none;
  }
}

#gnav-sp {
  background: rgba(15, 15, 15, 0.9);
  position: fixed;
  padding-top: calc(30px + 1.5rem) !important;
  top: 0;
  //  backdrop-filter: blur(12px);
}

@media screen and (max-width: 768px) {
  #gnav-sp .wrap {
    margin: 0 12px;
    padding: 15px 0;
  }
}

#gnav-sp #header-cont-content h4 {
  display: none;
}

#gnav-sp #header-cont-content ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 0;
  padding-left: 0;
}

@media screen and (max-width: 425px) {
  #gnav-sp #header-cont-content ul {
    display: block;
    padding: 0;
  }
}

#gnav-sp #header-cont-content li {
  float: none;
  width: auto;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

@media screen and (max-width: 425px) {
  #gnav-sp #header-cont-content li {
    display: block;
  }
}

#gnav-sp #header-cont-content li a {
  display: inline-block;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}
#gnav-sp #header-cont-content li a[target="_blank"]:after {
  content: "\e89e";
  font-family: "Material Symbols Outlined" !important;
  font-size: 1.2rem;
  font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 200, "opsz" 50;
  vertical-align: bottom;
  margin-left: 4px;
  opacity: 0.8;
}
#gnav-sp #header-cont-content li a:before {
  display: none;
}

/*
*/
.news_sub_menu li a span,
#gnav-ul li a span {
  transition: all 280ms ease-in-out;
  -webkit-transition: all 280ms ease-in-out;
  position: relative;
  bottom: 0;
  text-align: center;
  min-width: 120px;
  display: block;
}
.news_sub_menu li a:hover span,
#gnav-ul li a:hover span {
  bottom: 1em;
  opacity: 0;
  font-size: 12px;
  min-width: 120px;
}
.news_sub_menu li a:before,
#gnav-ul li a:before {
  text-align: center;
  position: absolute;
  top: 1em;
  font-size: 13px;
  height: 0;
  visibility: hidden;
  display: block;
  min-width: 120px;
  opacity: 0;
  content: attr(title);
  transition: all 280ms ease-in-out;
  -webkit-transition: all 280ms ease-in-out;
}
.news_sub_menu li a:hover:before,
#gnav-ul li a:hover:before {
  position: absolute;
  visibility: visible;
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  top: 0em;
  opacity: 1;
  min-width: 120px;
  content: attr(title);
  font-size: 12px;
  height: auto;
}
@media screen and (max-width: 1130px) {
  #gnav-ul li a span,
  #gnav-ul li a:hover span,
  #gnav-ul li a:before,
  #gnav-ul li a:hover:before {
    min-width: 95px;
    font-size: 12px;
  }
  .news_sub_menu li a:hover:before,
  #gnav-ul li a:hover:before {
    font-size: 12px;
  }
}

/*
.news_sub_menu li a span {
  transition: all 280ms ease-in-out;
  -webkit-transition: all 280ms ease-in-out;
  position: relative;
  bottom: 0;
  text-align: center;
  min-width: 120px;
  display: block;
}
#news_sub_menu li a:hover span {
  bottom: 1em;
  opacity: 0;
}

#news_sub_menu li a:before {
  text-align: center;
  position: absolute;
  top: 1em;
  font-size: 13px;
  display: block;
  text-align: center;
  display: block;
  min-width: 120px;
  opacity: 0;
  content: attr(title);
  transition: all 280ms ease-in-out;
  -webkit-transition: all 280ms ease-in-out;
}
#news_sub_menu li a:hover:before {
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
  top: 0em;
  opacity: 1;
  content: attr(title);
  font-size: 12x;
}
*/
