/*　ハンバーガーボタン　*/


/*背景*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 10;
  right : 50px;
  top   : 50px;
  width : 100px;
  height: 100px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  background-color: black;
}

/*3本線*/
.hamburger span {
  display : block;
  position: absolute;
  width   : 70px;
  height  : 4px ;
  left    : 15px;
  background : white;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition   : 0.5s ease-in-out;
  transition        : 0.5s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 23px;
}
.hamburger span:nth-child(2) {
  top: 48px;
}
.hamburger span:nth-child(3) {
  top: 73px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 47px;
  left: 15px;
  -webkit-transform: rotate(315deg);
  -moz-transform   : rotate(315deg);
  transform        : rotate(315deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 47px;
  -webkit-transform: rotate(-315deg);
  -moz-transform   : rotate(-315deg);
  transform        : rotate(-315deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 9;
  top  : 0;
  left : 0;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 100%;
}

nav.globalMenuSp ul {
  background: #111;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #fff;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
  font-size: 3em;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(0%);
}



/*プルダウン*/

/*バック*/


#menu{
  display : block;
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  z-index : 10;
  list-style-type: none;
  width: 100%;
  max-width: 930px;
  height: 40px;
  margin: 0 auto;
  padding: 0 30px 0 0;
  font-family: 'Roboto Condensed', sans-serif;
}

/*第一階層*/
#menu li{
  width: 100px;
  float: right;
  margin: 0;
  padding: 0;
  text-align: right;
}

/*フォント*/
#menu li a{
  display: block;
  margin: 0;
  padding: 13px 0;
  color: #111;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
}

/*第2階層*/
#menu li ul{
  width: 400px;
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin: 0;
  padding: 0;
}

/*プルダウン*/
#menu li ul li{
  overflow: hidden;
  width: 100%;
  height: 0;
  background-color: #222;
  -moz-transition: .2s;
  -webkit-transition: .2s;
  -o-transition: .2s;
  -ms-transition: .2s;
  transition: .2s;
}

/*引き出し*/
#menu li ul li a{
  padding: 13px 40px;
  text-align: right;
  color: white;
  font-size: 1em;
  font-weight: normal;
}

/*引き出しマウスオーバー時*/
#menu li:hover > a{
  color: #00ffd3ff;
}

/*飛び出すメニュー*/
#menu li:hover ul li{
  overflow: visible;
  height: 40px;
  border-bottom: 1px solid gray;
}
#menu li:hover ul li:first-child{
  border-top: 0;
}
#menu li:hover ul li:last-child{
  border-bottom: 0;
}
