@charset "utf-8";
/* CSS Document */

.sp_nav{display: none;}

/* 画面サイズが992px以下の場合に適用 */
@media only screen and (max-width: 992px) {
 .sp_nav{
  position:inherit;
  display: block;
  z-index: 9999;
 }
/*menu*/
 .menu{
  height: 20px;
  position: fixed;
  right: 18px;
  top: 19px;
  width: 30px;
  z-index: 9999;
  text-align: left;
 }
 .menu__line{
  background: #fff;
  display: block;
  height: 2px;
  position: absolute;
  transition:transform .3s;
  width: 100%;
 }
 .menu__line--center{
  top: 9px;
 }
 .menu__line--bottom{
  bottom: 0;
 }
 .menu__txt{
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
  position: absolute;
  bottom: -15px; 
  transition:transform .3s; 
 }
 .menu__line--top.active{
  top: 8px;
  transform: rotate(45deg);
 }
 .menu__line--center.active{
  transform:scaleX(0);
 }
 .menu__line--bottom.active{
  bottom: 10px;
  transform: rotate(135deg);
 }
 /*gnav*/
 .gnav{
  background:rgba(5,26,82,0.8);
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 9998;
 }
 .gnav__wrap{
  align-items:center;
  height: 100%;
  justify-content: center;
  position: absolute;
  width: 100%;
  padding: 50px;
 }
 .gnav__menu__item{
  border-bottom: 1px solid #fff;
  text-align: center;
 }
 .gnav__menu__item a{
  display: block;
  color: #fff;
  font-size: 1.6rem;
  padding: 15px;
  text-decoration: none;
  transition: .5s;
 }
 .gnav__menu__item a:hover, .gnav__menu__item.on a{
  color: #fff;
  background: #224cba;
 }
 .gnav__menu__item > a:hover:before{
  color: #fff;
 }
}