/**
 *--------------------------
 * PC用グローバルナビ
 *--------------------------
 */
nav.navigationPC{
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  height: 70px;
  margin: 0 auto;
  overflow: hidden;

  display: flex;
  align-items: center;

  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
}
/*固定メニュー*/
nav#navigationPC1{
  position: absolute;
  top: 0;
  max-width: 1030px;
  justify-content: flex-end;
}
/*可動メニュー*/
nav#navigationPC2{
  position: fixed;
  top: -70px;
  background-color: rgba(0,0,0,0.5);
  justify-content: space-between;
}
  /*ロゴ*/
  nav#navigationPC2 h1 img.logo{
    position: relative;
    top: 0;
    left: 15px;
    width: 45px;
    height: auto;
  }
/*共通*/
nav.navigationPC ul{
  position: relative;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}
  nav.navigationPC li{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
  }
  nav.navigationPC li:last-child{
    background-color: #87c600;
  }
    nav.navigationPC li>a,
    nav.navigationPC li>span{
      color: #fff;
      transition: all 0.5s ease-in-out;
      -webkit-transition: all 0.5s ease-in-out;
      -moz-transition: all 0.5s ease-in-out;
      -o-transition: all 0.5s ease-in-out;
    }
    nav.navigationPC li a:link   { text-decoration:none; color: #ffffff; }
    nav.navigationPC li a:visited{ text-decoration:none; color: #ffffff; }
    nav.navigationPC li a:active { text-decoration:none; color: #ffffff; }
    nav.navigationPC li a:hover  { text-decoration:none; color: rgba(255, 255, 255, 0.5); }
    /*メニューのテキスト*/
    nav.navigationPC li>a span,
    nav.navigationPC li>span span{
      font-size: 13px;
      padding: 0 15px;
      border-left: solid 1px #fff;
    }
    nav.navigationPC li:first-child span{
      border-left: none;
    }
    nav.navigationPC li:last-child span{
      border-left: none;
    }
/*言語切り替えボタン*/
nav.navigationPC .btn_lang{
  position: absolute;
  top: 20px;
  left: 15px;
  font-size: 12px;
  -webkit-border-radius : 5px;
     -moz-border-radius : 5px;
          border-radius : 5px;
}
nav.navigationPC .btn_lang.jp{
  border: solid 2px rgba(135,169,0,1);
}
nav.navigationPC .btn_lang.en{
  border: solid 2px rgba(135,169,0,1);
}
nav#navigationPC2.navigationPC .btn_lang{
  left: 80px;
}
  nav.navigationPC .btn_lang a{
    display: block;
    padding: 5px;
    background-color: rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
  }
  nav.navigationPC .btn_lang a:link{text-decoration: none; color: #fff;}
  nav.navigationPC .btn_lang a:active{text-decoration: none; color: #fff;}
  nav.navigationPC .btn_lang a:visited{text-decoration: none; color: #fff;}
  nav.navigationPC .btn_lang.jp a:hover{text-decoration: none; color: #fff; background-color: rgba(135,169,0,1);}
  nav.navigationPC .btn_lang.en a:hover{text-decoration: none; color: #fff; background-color: rgba(135,169,0,1);}


/**
 *--------------------------
 * ハンバーガーメニュー
 *--------------------------
 */
/* ヘッダー部 */
div.spHeader{
  position: fixed;
  width: 100%;
  height: 70px;
  background-color: rgba(0,0,0,0.6);
  z-index: 90;
}
div.spHeader h1{
  position: relative;
  top: 0;
  left: 0;
}
div.spHeader h1 img.logo{
  position: relative;
  top: 10px;
  left: 10px;
  width: 45px;
  height: auto;
}
div.spHeader h1 img.company_name{
  position: relative;
  top: 30px;
  left: 20px;
  width: 100px;
  height: auto;
}
div.spHeader h1 img.company_name_en{
  position: relative;
  top: 28px;
  left: 20px;
  width: 100px;
  height: auto;
}

/*言語切り替えボタン*/
div.spHeader .btn_lang{
  position: absolute;
  top: 20px;
  right: 65px;
  font-size: 12px;
  -webkit-border-radius : 5px;
     -moz-border-radius : 5px;
          border-radius : 5px;
}
div.spHeader .btn_lang.jp{
  border: solid 2px #87c600;
}
div.spHeader .btn_lang.en{
  border: solid 2px #87c600;
}
  div.spHeader .btn_lang a{
    display: block;
    padding: 5px;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
  }
  div.spHeader .btn_lang a:link{text-decoration: none; color: #fff;}
  div.spHeader .btn_lang a:active{text-decoration: none; color: #fff;}
  div.spHeader .btn_lang a:visited{text-decoration: none; color: #fff;}
  div.spHeader .btn_lang.jp a:hover{text-decoration: none; color: #fff; background-color: #87c600;}
  div.spHeader .btn_lang.en a:hover{text-decoration: none; color: #fff; background-color: #87c600;}

/* ハンバーガーメニュー */
#hamburger,
#hamburger span{
  display: inline-block;
  box-sizing: border-box;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
#hamburger{
  position: fixed;
  top: 15px;
  right: 10px;
  width: 40px;
  height: 26px;
  z-index: 100;
  cursor: pointer;
}
#hamburger span{
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 0;
}
  #hamburger+span{ /* MENU */
    position: fixed;
    font-size: 12px;
    color: #fff;
    top: 43px;
    right: 11.5px;
    z-index: 100;
  }
/*クリック前*/
#hamburger span:nth-of-type(1){
  top: 0;
  background-color: #fff;
}
#hamburger span:nth-of-type(2){
  top: 11px;
  background-color: #fff;
}
#hamburger span:nth-of-type(3){
  bottom: 0;
  background-color: #fff;
}
/*クリック後*/
#hamburger.active{
  display: none;
}


/**
 *--------------------------
 * スマホ用グローバルナビ
 *--------------------------
 */
#navigationSP{
  color: #fff;
  font-size: 14px;
  background-color: rgba(72,71,72,0.8);
}
  /*CLOSEボタン*/
  #navigationSP #close,
  #navigationSP #close span{
    display: inline-block;
    box-sizing: border-box;
  }
  #navigationSP #close{
    position: relative;
    top: 0;
    left: 0;
    right: 10px;
    width: 40px;
    height: 26px;
    z-index: 100;
    cursor: pointer;
    margin: 15px 10px 10px 10px;
  }
  #navigationSP #close span{
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 0;
  }
  #navigationSP #close span:nth-of-type(1){
    top: 0;
    background-color: #fff;
  }
  #navigationSP #close span:nth-of-type(2){
    bottom: 0;
    background-color: #fff;
  }
  #navigationSP #close span:nth-of-type(1){
    -webkit-transform: translateY(11px) rotate(-45deg);
    transform: translateY(11px) rotate(-45deg);
    background-color: #fff;
  }
  #navigationSP #close span:nth-of-type(2){
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
    background-color: #fff;
  }
  /*メニュー*/
  #navigationSP ul,
  #navigationSP li{
    margin: 0;
    padding: 0;
    position: relative;
  }
  #navigationSP li{
    display: block;
    border-right: solid 8px rgba(255, 255, 255, 1);
    border-bottom: dotted 1px rgba(255, 255, 255, 0.6);
    text-align: right;

    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
  }
  #navigationSP li:first-child{
    border-top: dotted 1px rgba(255, 255, 255, 0.6);
  }
  #navigationSP li:last-child{
    border-bottom: dotted 1px rgba(255, 255, 255, 0.6);
  }
  #navigationSP li:hover{
    border-right: solid 8px rgba(255, 255, 255, 0.5);
    background-color: #87c600;
  }
    #navigationSP li>a{
      display: block;
      padding: 15px 0;
    }
    #navigationSP li>a:link   { text-decoration:none; color: #ffffff; }
    #navigationSP li>a:visited{ text-decoration:none; color: #ffffff; }
    #navigationSP li>a:active { text-decoration:none; color: #ffffff; }
    #navigationSP li>a:hover  { text-decoration:none; color: #ffffff; }
    
      #navigationSP li>a span{
        padding-right: 10px;
        white-space: nowrap;

        transition: all 0.4s ease;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
      }
      #navigationSP li:hover>a span{
        padding-right: 5px;
      }
      #navigationSP li .jp{
        font-size: 12px;
      }
      #navigationSP li .en{
        font-size: 10px;
      }



/**
 *-----------------------------------
 * ページTOPへ戻るボタン
 *------------------------------------
 */
 #scrollTopMenu{
  position: fixed;
  bottom: 70px;
  right: 0;
  margin: auto;
  border: solid 1px #fff;
  height: 60px;
  width: 60px;
  background-color: rgba(0,0,0,0.7);
  z-index: 300;
  cursor: pointer;

  font-size: 15px;
  text-align: center;
  color: #ffffff;
  line-height: 1em;
  padding: 17px 0 0 0;

  -webkit-border-top-left-radius : 10px;
  -webkit-border-bottom-left-radius: 10px;
     -moz-border-top-left-radius : 10px;
     -moz-border-bottom-left-radius: 10px;
          border-top-left-radius : 10px;
          border-bottom-left-radius: 10px;

  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
#scrollTopMenu:hover{
  background-color: rgba(0,0,0,0.4);
}
  #scrollTopMenu .up{
    position: relative;
    top: -7px;
    left: 18px;
    width:0;
    height:0;
    border: 12px solid transparent;
    border-bottom-color: #FFF;
  }
  #scrollTopMenu .up:after{
    position: absolute;
    content: '';
    top: 12px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #FFF;
  }



/**
 *-----------------------------------
 * PC用設定
 *------------------------------------
 */
 @media screen and (min-width:700px){
  .spHeader{
    display: none;
  }
  nav.navigationSP{
    display: none;
  }
}
/**
 *-----------------------------------
 * スマホ用設定
 *------------------------------------
 */
@media screen and (max-width:699px){
  nav.navigationPC{
    display: none;
  }
}
@media screen and (max-width:390px){
  .spHeader h1 img.logo{
    top: 23px;
    left: 23px;
    width: 200px;
  }
}
@media screen and (max-width:340px){
  .spHeader h1 img.logo{
    top: 28px;
    left: 23px;
    width: 150px;
  }
}