@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333; /* RGB */
  font-family: 'Poppins','Yu-Gothic','游ゴシック','Noto Sans';
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
}

a:hover {
  opacity: 0.5;
}
.none {
    display: none;
}


/* header */
.header {
  position: fixed;
  width: 170px;
  padding-left: 50px;
  top: 40px;
  z-index: 99999;
}
.header-logo {
  width: 138px;
  height: auto;
  object-fit: cover;
  margin-bottom: 30px;
  position: absolute;
  top: 40px;
  left: 0;
}

.header-icons {
  position: absolute;
  bottom: 70px;
  left: 0;
}
.header-icons img {
  width: 33px;
  height: 33px;
  object-fit: cover;
}
.twitter_icon {
  margin-right: 10px;
}

.header-icons_sp {
  display: none;
}

/*      */


/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:0;
  width:220px;
  height: 370px;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  left: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top:45%;
  left:21%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
  text-align: left;
  margin-bottom: 15px;
}

#g-nav li a{
color: #333;
text-decoration: none;
text-transform: inherit;
letter-spacing: 0.1em;
font-weight: inherit;
}
.g-nav_img_w {
  display: none;
}


/*========= ボタンのためのCSS ===============*/
@media screen and (max-width: 999px) {
  /*==================================================
　5-2-3 3本線が1本線に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: fixed;
	background:#8D8D8D;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
  right: 10px;
  top: 10px;
  z-index: 9999999999;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 5px;
    border-radius: 0;
	  background: #fff;
  	width: 45%;
  }


.openbtn span:nth-of-type(1) {
	  top:15px;	
}

.openbtn span:nth-of-type(2) {
    top:23px;
}

.openbtn span:nth-of-type(3) {
	  top:31px;
}

/*activeクラスが付与されると1・3番目の要素が2番目の要素と同じ位置になり一本線に*/

.openbtn.active span:nth-of-type(1) ,
.openbtn.active span:nth-of-type(3){
    top: 23px;
}

  /* */
  .g-nav_img_b {
    display: none;
  }
  #g-nav.panelactive{
    left: inherit;
    right: 0;
  }
  #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top:0;
    width:220px;
    height: 370px;/*ナビの高さ*/
    background:#3F5152;
    right: -120%;
    /*動き*/
    transition: all 0.6s;
    border-radius: 0 0 0 50px;
  }
  .g-nav_img_w {
    display: block;
    position: absolute;
    width: 138px;
    left: 36px;
  }
  
  .header-logo {
    top: 70px;
  }
  
  #g-nav ul {
    top:60%;
    left:50%;
    transform: translate(-50%,-50%);
  }
  #g-nav li{
    text-align: center;
    margin-bottom: 25px;
  }
  #g-nav li a{
    color: #fff;
    }

  .header-icons {
    display: none;
  }    

  .header-icons_sp {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 75px;
  }
  .header-icons_sp img {
    width: 22px;
    height: 22px;
    object-fit: cover;
  }
  .twitter_icon_sp {
    margin-right: 20px;
  }

  

  
}