
@media screen and (min-width:1000px) {
    #g-nav{
    z-index: 1;
    position: relative;
    }
}
#g-nav{
  width: 200px;
	background:#6c90a4;
    margin: 0px auto 28px auto;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
    align-self:flex-start;
}
nav{
	color:#fff;
    font-size: 15px;
}
/*ナビゲーションを横並びに*/
nav ul{
	list-style: none;
  width: 180px;
    padding: 10px;
}


/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li{
	position: relative;
    border-bottom: 1px solid #bbccd5;
}

/*ナビゲーションのリンク設定*/
nav ul li a{
	display: block;
	text-decoration: none;
	color: #fff;
  font-weight: 600;
	padding:15px 0px 15px 20px;
	transition:all .3s;
    line-height: 130%;
    text-indent: -1em;
}
nav ul li a::before {
    content:  "";
    width:  8px;
    height:  8px;
    display:  inline-block;
    background: linear-gradient(-45deg, #e5dfff 30%, #aecfff 100%);
    border-radius:  50%;
	position:  relative;
    top: -1px;
    margin-right: 5px;
}
nav ul li a:hover{
	color:#e5dfff;
}
nav ul li:last-child {
    border-bottom: none;
}

@media screen and (max-width:999px) {
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
/*nav ul li a{
	border-bottom:1px solid #fff;
}*/
nav ul li a::before {
    display: none;
    content: "";
}
nav ul li.external_smp{
	background-color: #4a768f;
}

  #g-nav{
      /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
      position:fixed;
      z-index: 999;
      /*ナビのスタート位置と形状*/
    top:-190%;
      left:0;
    width:65%;
      height: 100vh;/*ナビの高さ*/
      background:rgba(29, 84, 115, 1);
    border-radius: 0;
      /*動き*/
    transition: all 0.6s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
      top: 0;
      z-index: 9998;
  }
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
      /*ナビの数が増えた場合縦スクロール*/
      position: fixed;
      z-index: 9999; 
      width: 65%;
      height: 90vh;/*表示する高さ*/
      overflow: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 30px;
      overflow-y: scroll;
  }
  
  /*ナビゲーション*/
  #g-nav ul {
      /*ナビゲーション天地中央揃え*/
      width: 90%;
      margin:30px auto 0 auto;
  }
      
  #g-nav ul ul{
      width: 100%;
      margin: 0;
  }
  
  /*リストのレイアウト設定*/
  
  #g-nav li{
    list-style: none;
      text-align: center; 
  }
  
  #g-nav li a{
    color: #fff;
    text-decoration: none;
    padding:17px 10px;
    display: block;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
  }
  
  /*==================================================
  　機能編 5-2-7 3本線が奥行きを持って回転して×に
  ===================================*/
  
  .g-nav-openbtn{
      display: none;
  }
.pc-none{
  display: none;
}
.sp-none{
  display: block;
}
  @media screen and (max-width:999px) {
    .pc-none{
      display: block;
    }
  .g-nav-openbtn{
      display: block;
    position:relative;
      z-index: 9999;/*ボタンを最前面に*/
      top: 0px;
      right: 10px;
    cursor: pointer;
      width: 50px;
      height:50px;
      background: #7798ab;
  }
  
  /*ボタン内側*/
  
  .g-nav-openbtn .openbtn-area{
      transition: all .4s;
  }
  
  .g-nav-openbtn span{
      display: inline-block;
      transition: all .4s;/*アニメーションの設定*/
      position: absolute;
      left: 14px;
      height: 3px;
      border-radius: 2px;
    background: #fff;
      width: 45%;
    }
  
  
  .g-nav-openbtn span:nth-of-type(1) {
    top:15px;	
  }
  
  .g-nav-openbtn span:nth-of-type(2) {
    top:23px;
  }
  
  .g-nav-openbtn span:nth-of-type(3) {
    top:31px;
  }
  
  /*activeクラスが付与されると
  線と周りのエリアが回転して×になる*/
  
  .g-nav-openbtn.active .openbtn-area{
    transform: rotateY(-360deg);
  }
  
  .g-nav-openbtn.active span:nth-of-type(1) {
      top: 18px;
      left: 18px;
      transform: translateY(6px) rotate(-135deg);
      width: 30%;
      z-index: 9999;
  }
  
  .g-nav-openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  
  .g-nav-openbtn.active span:nth-of-type(3){
      top: 30px;
      left: 18px;
      transform: translateY(-6px) rotate(135deg);
      width: 30%;
      z-index: 9999;
  }
  .star{
    pointer-events: none;
  }
  }
  