
@charset "utf-8";


#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
    z-index: -1;
    opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
    top:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    /*動き*/
    transition: all .5s;
}
/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
    opacity: 1;
    z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: relative;
    top:0;
    left: 75%;
    z-index: 999; 
    width: 25%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
}
#g-nav.panelactive #g-nav-list-bg {
    position: absolute;
    top:0;
    left: 75%;
    z-index: 998; 
    width: 25%;
    height: 100vh;/*表示する高さ*/
    background: rgba(10, 40, 60, .9);
    mix-blend-mode: multiply;
}
.en_menu {
    font-family: var(--fontSans);
    font-size: 80%;
}
.jp_menu {
    font-weight: 200;
    /*font-size: 100%;*/
}


/*ナビゲーション*/
#g-nav ul {
    display: none;
    width: 75%;
    margin: auto;
    z-index: 999;
}
#g-nav ul.main-nav {
    margin-top: 200px;
}
#g-nav ul.sub-nav,
#g-nav ul.act-nav {
    margin-top: 60px;
}
#g-nav .menu_ttl {
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--Color2);
    color: var(--Color2);
    font-family: var(--fontSans);
    font-size: 1.5rem;
}

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

#g-nav ul li {
    list-style: none;
    text-align: left;
    width: 100%;
    /*height: 30px;*/
    position: relative;
    color: var(--Color2);
    letter-spacing: 0.1em;
    font-weight: 400;
    margin-top: .8em;
    line-height: 1.2;
}
#g-nav ul.act-nav li {
    border: 1px solid var(--Color2);
    border-radius:6px;
    color: inherit;
    padding: 4px;
}

#g-nav ul li a {
    font-family: var(--fontEn);
    text-decoration: none;
    padding:6px 10px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    cursor: pointer;
}
#g-nav ul.main-nav li a:hover,
#g-nav ul.sub-nav li a:hover {
    color: #fff;
}
#g-nav ul.main-nav li a.noactive {
    box-shadow: none;
    color: #555;
    cursor:default;
}

#g-nav ul.act-nav li a .gnav_btn {
  content:"";
  display:inline-block;
  width:12px;
  height:12px;
  border-top:1px solid currentColor;
  border-right:1px solid currentColor;
  transform:rotate(45deg);
  margin-left:6px;
}


#g-nav.panelactive ul {
    display: block;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
    position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    top:7px;
    right: 20px;
    cursor: pointer;
    width: 50px;
    height:50px;
}
    
/*×に変化*/    
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 1px;
    border-radius: 2px;
    background-color: #fff;
    width: 70%;
}
.openbtn span:nth-of-type(1) {
    top:15px;   
}
.openbtn span:nth-of-type(2) {
    top:23px;
}
.openbtn span:nth-of-type(3) {
    top:31px;
}
.openbtn span:nth-of-type(4) {
    top:39px;
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
    opacity: 0;
}
.openbtn.active span:nth-of-type(4){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
}


div.navipct {
    position: absolute;
    display: flex;
    top:0;
    right: 0;
    width: 40px;
    height: 14px;
    font-size: 10px;
    color: #fff;
    background-image: var(--requBtn);
    letter-spacing: 0;
    justify-content: center;
    align-items: center;
}

/* ----------------------- */
/* 1600 */
/* ----------------------- */
@media screen and (max-width: 1600px) {

#g-nav.panelactive #g-nav-list,
#g-nav.panelactive #g-nav-list-bg {
    left: 70%;
    width: 30vw;
}


}


/* ----------------------- */
/* 1200 */
/* ----------------------- */
@media screen and (max-width: 1200px) {

#g-nav.panelactive #g-nav-list,
#g-nav.panelactive #g-nav-list-bg {
    left: 65%;
    width: 35vw;
}

}

/* ----------------------- */
/* 1000 */
/* ----------------------- */
@media screen and (max-width: 1000px) {

#g-nav.panelactive #g-nav-list,
#g-nav.panelactive #g-nav-list-bg {
    left: 55%;
    width: 45vw;
}

}


/* ----------------------- */
/* sp */
/* ----------------------- */
@media screen and (max-width: 767px) {

#g-nav.panelactive #g-nav-list,
#g-nav.panelactive #g-nav-list-bg {
    left: 0;
    width: 100%;
}
#g-nav ul.main-nav {
    margin-top: 12vw;
}
#g-nav ul.sub-nav,
#g-nav ul.act-nav {
    margin-top: 8vw;
}
#g-nav ul li {
    height: 10vw;
    margin-top: 3vw;
}
#g-nav ul.act-nav li {
    height: 14vw;
    margin-top: 6vw;
}
}






/* ----------------------- */
/* メニューの長いタイトル対策 */
/* ----------------------- */

.jp_menu.gmap {
    letter-spacing: 0 !important;
    font-feature-settings: "palt"!important;
    transform-origin:right;
    transform:scaleX(0.85);
    white-space: nowrap!important;
}





