@charset "UTF-8";


/*================================
	共通
=================================*/


/* UASのリセット */
ul {
    list-style-type:none;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
 }

#mobile-head h1 {
  padding: 0;
  margin: 0;
}

#global-nav ul li a{
  color: #00b7fb;
  z-index: 800;
}

.menu_sns_icon {
  display: flex;
  width: 100px;
}

.lb {
  color: #00b7fb ;
}

.bl {
  color: #003e89 ;
}

.logo_null {
  display: none;
}


/* リンク色の設定（不要）　
header a {
  transition: 0.5s;
}

header a:hover {
  opacity: 0.5;
}
*/


/*================================
	PC版メニュー
=================================*/


.inner {
    //width: 980px;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
 
/* header */
#top-head {
    top: -100px;
    position: absolute;
    height: 100px;
    width: 100%;
    margin: 100px auto 0;
    //padding: 30px 0 0;
    line-height: 1;
    z-index: 990;
    background: #f5f9fa;
}


#top-head a,
#top-head {
    color: #00b7fb;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .sp_hidden {
    width: 15vw;
}

#top-head .logo_img{
  display: none;
}


#global-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 2% 0px 2%;
  padding-bottom: 30px;
}



#global-nav ul {
  list-style: none;
  margin-top: 9px;
}

#global-nav ul li {
    float: left;
}
#global-nav ul li a {
    padding: 0 10px;
}
 

/* PC版で日本語メニュー非表示 */
  #global-nav .hidden {
    display: none;
  }

.eng {
  font-family: matrix-ii-script, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.2rem;
}

  .menu_sns_icon img{
    width: 40px;
    margin-top: -8px;
  }


/*================================
	スクロール時追加メニュー（fixed）
=================================*/


#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    //padding-top: 10px;
    height: 100px;
    background: #f5f9fa;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}


#top-head.fixed #global-nav ul li a {
    color: #00b7fb;
    padding: 0 10px;
}
 





/*================================
	トグルボタン設定
=================================*/


#nav-toggle {
    display: none;
    position: absolute;
    right: 0%;
    top: 30%;
    width: 10%;
    height: 25%;
  cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 0.5vw;
    width: 60%;
    background-color: #005db4;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 1.6vw;
}
#nav-toggle span:nth-child(3) {
    top: 3.2vw;
}




/*================================
	SP版メニュー
=================================*/



@media screen and (max-width: 980px) {
  
  #global-nav .sp_hidden {
    display: none;
  }
  
  .logo_null {
  display: block;
  width: 35%;
  height: 60%;
  position: absolute;
  left: 5%;
  top: 25%;
  margin: 0;
}

  
  #global-nav .hidden {
    display: inline-block;
  }
  
  .ul_menu {
    /* メニュースライドイン用のコード */
  position: fixed;
  width: 100vw;                         /* メニューの横範囲 */
  //max-width: 350px;                     /* メニューの横上限 */
  top: 70px;                            /* メニューの表示位置縦 */
  right: 0;                             /* メニューの表示位置横 */
  z-index: 10;                          /* メニューの重なり位置 */
  left: 0;
  bottom: 0;
  overflow-y: scroll;
  height: calc(100%);
    /* 追加分終了 */
    
    padding-inline-start: 40px;

}
  
  
  /* 日本語メニューの頭を合わせる */
  .eng {
      display: inline-block;
      width: 35vw;
  }
  
  
  /* SNSアイコン部分 */
  #global-nav ul li .sns {
    font-size: 0.6em;
  font-family: matrix-ii-script, sans-serif;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 10px;
  }
  
  .menu_sns_icon img{
    width: 40px;
    
  }
  
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        height: 20px;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #f5f9fa;
        width: 100%;
        height: 15vw;
        z-index: 999;
        position: relative;
    }
  
  /* ロゴ画像調整 */
  #top-head .logo_img {
    display: block; 
    width: 35%;
    position: absolute;
    left: 5%;
    top: 25%;
    margin:0;
  }
  
  
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
    }
  
    #global-nav {
        /* メニュー内スクロール */
        overflow-y: scroll;
        position: absolute;
        /* 開いてないときは画面外に配置 */
        font-weight: 700;
        left: 100vw;
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        height: 100vh;
        text-align: left;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        margin: 0;
    }
  
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 1.2em;
        width: 100vw;
    }
    #global-nav ul li {
        float: none;
        position: static;
      border-bottom: solid 0.5px #b5b5b6;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #00b7fb;
        padding: 12px 0;
    }
  

  #top-head #global-nav ul li:last-child {
    border-bottom: none;
    padding-top: 10px;
  }
    
    #nav-toggle {
      display: block;
      margin-top: 1.5%;
      align-items: center;
  }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateX(-90vw);
        -webkit-transform: translateX(-90vw);
        transform: translateX(-100vw);
    }
  .eng{
    font-size: 1.5rem;
  }
}


@media screen and (max-width: 350px){
  
  #global-nav {
    font-size: 0.8rem;
  }
}



/*================================
	PC版(980px~のBP)メニュー設定
=================================*/


@media screen and (max-width:998px ){
  .eng {
    font-size: 1.4rem;
  }
}


@media screen and (min-width: 1500px){

  #top-head, #top-head.fixed {
    height: 120px;
  }
  
  #top-head .sp_hidden {
    width: 12vw;
  }
  
  .eng {
    font-size: 1.8rem;
  }
  
  .menu_sns_icon img {
    padding-top: 8px;
  }
  
}





