.header{
  background-color: #fff;
  height: 70px;
  position: fixed;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid #B2B2B2;
}
.header_pc{
  display: none;
}
.header_sp{
  /* display: grid; */
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 70px;
  /* grid-template-rows: 70px; */
  /* grid-template-columns: 25% 75%; */
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid #B2B2B2;
}
.header_sp_logo{
  /* grid-row: 1/2; */
  /* grid-column: 1/2; */
  position: relative;
}

.header_sp_logo div img{
  width: 60px;
  position: absolute;
  top: 5px;
  left: 10px;
}
.header_sp_about_wrapper{
  display: flex;
  justify-content: space-around;
  width: 60%;
}
.header_sp_about{
  text-decoration: none;
  font-size: 1.0rem;
  line-height: 20px;
  font-family: "Orbitron", sans-serif;
  color: #000;
  padding-top: 15px;
}
@media (min-width:500px){
  .header_sp{
    display: none;
  }
  .header{
    height: 90px;
    margin: auto;
    max-width: 1040px;
  }
  .header_pc{
    /* display: grid; */
    display: flex;
    justify-content: space-between;
    height: 90px;
    width: 100%;
    /* grid-template-rows: 90px; */
    /* grid-template-columns: 25% 75%; */
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 3;
    border-bottom: 1px solid #B2B2B2;
    max-width: 1040px;
    left: 50%;
	  transform: translateX(-50%);
  }
  .header_pc_logo{
    /* grid-row: 1/2; */
    /* grid-column: 1/2; */
    /* position: relative; */
    padding: 10px 0px 0px 10px;
  }

  .header_pc_logo div img{
    width: 70px;
    /* position: absolute; */
    top: 10px;
    left: 20px;
  }
  .header_pc_about{
    text-decoration: none;
    font-family: "Orbitron", sans-serif;
    color: #000;
    padding-top: 20px;
  }
  .header_pc_about span{
    font-size: 1.2rem;
  }
  .header_pc_menu{
    /* grid-row: 1/2; */
    /* grid-column: 2/3; */
  }
  .header_pc_menu{
    padding-top: 30px;
  }
  .header_pc_menu a{
    text-decoration: none;
    color: #000;
    padding: 0px 10px;
  }
}
@media (min-width:700px){
  .header_pc_menu a{
    padding: 0px 30px;
  }
}
/* ハンバーガーメニュー */
/*==================================================
　5-2-2 2本線が×に
===================================*/

/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn1{
  /* position: relative; */
  /*ボタン内側の基点となるためrelativeを指定*/
  position:fixed;
  top:0px;
  right: 0px;
  z-index: 9999;
  width: 70px;
  height:70px;
  cursor: pointer;
}

/*ボタン内側*/

.openbtn1 span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 5px;
  height: 2px;
  border-radius: 5px;
  background: #000;
  width: 65%;
  z-index: 4;
  }

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

.openbtn1 span:nth-of-type(2) {
  top:30px;
}

.openbtn1 span:nth-of-type(3) {
  top:45px;
}
.openbtn1 span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:2px;
  left:9px;
  color: #000;
  font-size: 0.8rem;
  text-transform: uppercase;
}
/*activeクラスが付与されると線が回転して×に*/

.openbtn1.active span:nth-of-type(1) {
  top: 23px;
  left: 5px;
  transform: translateY(6px) rotate(-45deg);
  width: 65%;
}

.openbtn1.active span:nth-of-type(2) {
opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
  top: 36px;
  left: 5px;
  transform: translateY(-6px) rotate(45deg);
  width: 65%;
}

.openbtn1.active span:nth-of-type(3)::after {
content:"CLOSE";/*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top:12px;
  left:30px;
}

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

/*アクティブになったエリア*/
#g-nav.panelactive{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  top: 0;
  width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg{
  position: fixed;
  z-index:3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /* background: #0b73ec; */
  /* opacity: 60%; */
  /* background: linear-gradient( */
    /* 90deg, */
    /* rgba(93,224,230,0.8) 0% 50%, */
    /* rgba(0,74,173,0.8) 90% 100%); */
  background: linear-gradient(to right,
    #a7ecfc 0%,
    /* 左端の水色 */
    #9ddffb 33%,
    /* 徐々に淡くなる水色 */
    #8ccaf7 66%,
    /* 中央に近い淡い青 */
    #7bb6f2 100%
    /* 右端の青 */
  );
  /*丸のスタート位置と形状*/
  transform: scale(0);
  /* scaleをはじめは0に */
  /* right:-50px; */
  /* top:-50px; */
  bottom:-50px;
  left:calc(50% - 50px);
  transition: all .6s;
  /* 0.6秒かけてアニメーション */
}

.circle-bg.circleactive{
transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list{
  display: none;/*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list{
   display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0;
  /* ;はじめは透過0 */
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
.header_sns{
  animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#g-nav li{
text-align: center;
list-style: none;
}

#g-nav li a{
/* color: #333; */
color: #000;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}
@media (min-width:500px){
  #g-nav li a{
    font-size: 2.0rem;
  }
}
/* SNS */
.header_sns{
  display: flex;
  position: absolute;
  z-index: 999;
  top:70%;
  left:50%;
  transform: translate(-50%,-50%);
}
.header_sns a{
  padding: 0px 10px;
}
.header_insta{
  width: 25px;
  padding: 0px 2px;
}
.header_x{
  width: 25px;
  height: auto;
  padding: 0px 2px;
}
.header_youtube{
  width: 25px;
  padding: 0px 2px;
}
.header_line{
  width: 25px;
  padding: 0px 2px;
}
.header_mail{
  width: 25px;
  padding: 0px 2px;
}
/* SNS end*/
/* ハンバーガーメニュー end */

/* 上に戻る */
.pagetop {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 10px;
  z-index: 2;
}
.pagetop a {
  border-radius: 20px;
  display: block;
  background-color: #333333;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  padding: 5px 8px;
  z-index: 2;
}
@media (min-width:500px){
  .pagetop{
    bottom: 40%;
    right: 10px;
  }
  .pagetop a{
    border-radius: 30px;
    font-size: 2.8rem;
    padding: 8px 8px;
  }
}
/* 上に戻る end*/
