/* Flexnav Base Styles */

#overheader ul {
  margin:0;
  padding:0;
}

#overheader ul li {
  margin:0;
  padding:0;
}
#overheader ul li a {
  text-decoration: none;
}

#overheader .flexnav {
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-height: 0;
  z-index:99;
  position:relative;
  }
#overheader .flexnav.opacity {
    opacity: 0;
}
#overheader .flexnav.flexnav-show {
    max-height: 2000px;
    opacity: 1;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
#overheader .flexnav.one-page {
    position: fixed;
    top: 50px;
    right: 5%;
    max-width: 200px;
}
#overheader .flexnav li {
    font-size: 100%;
    position: relative;
    overflow: hidden;
}

#overheader .flexnav li.header {
    font-size: 100%;
    position: relative;
    overflow: hidden;
    background-color: #333;
    background-color: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.2em 10px;
}


#overheader .flexnav li a {
    position: relative;
    font-size: 14px;
    display: block;
    padding: 0.6em 10px 0.6em;
    z-index: 2;
    overflow: hidden;
    color: #FFFFFF;
    background-color: #3498db; /*default*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-family: "JapanSans90","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","游ゴシック体", "Yu Gothic", YuGothic, "メイリオ","Meiryo";
}
#overheader .flexnav li ul {
    width: 100%;
}
    .flexnav li ul li {
      font-size: 100%;
      position: relative;
      overflow: hidden;
}
#overheader .flexnav li ul.flexnav-show li {
    overflow: visible;
}
#overheader .flexnav li ul li a {
    display: block;
    background: #FFFFFF;
    color: #333333;
}
#overheader .flexnav ul li ul li a {
    background: #bfbfbc;
}

#overheader .flexnav ul li ul li ul li a {
    background: #cbcbc9;
}
#overheader .flexnav .touch-button {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    width:100%;
/*
    width: 1.8em;
    height: 1.8em;
*/
    padding: 0.4em 1em;
    display: inline-block;
/*    background: rgba(0, 0, 0, 0.25);*/
    text-align: right;
    font-size: 20px;
    color: #FFFFFF;
    color: rgba(255, 255, 255, 0.75);
	
/*    color: rgba(0, 0, 0, 0.35);*/
/*      border-radius: 2em;*/
}

#overheader .flexnav .leftspace {
padding-left: 30px;
}
@media all and (max-width: 768px) {
#overheader .flexnav .touch-button {
    padding: 0.3em 0.5em;
}
}
#overheader .flexnav .touch-button:hover {
      cursor: pointer;
}
#overheader .flexnav .touch-button .navicon {
      position: relative;
      top: 0.1em;
      font-size: 18px;
}

@media all and (min-width: 769px) {
  body.one-page {
    padding-top: 70px;
  }

#overheader ul.flexnav {
    overflow: visible;
    margin: 0;
    padding:0;
}

#overheader .flexnav.opacity {
      opacity: 1; }
#overheader .flexnav.one-page {
      top: 0;
      right: auto;
      max-width: 1080px;
}
#overheader .flexnav > li {
      position: static;
      list-style: none;
      float: left;
      display: block;
      background: transparent;
      overflow: visible;
}
#overheader .flexnav li a {
      border-bottom: none;
      background: transparent;
      color: #FFFFFF;
}

#tab > ul > li > a:hover {
  text-decoration: none;
  background: #FFFFFF;
  color:#444444;
}

#tab > ul > li.focus > a {
  text-decoration: none;
  background: #FFFFFF;
  color:#E045C6;
}


#overheader .flexnav li > ul {
      position: absolute;
      top: 34px;
      padding-top:4px;
      left: 0;
      width:900px;
}
#overheader .flexnav li > ul li {
        width: auto;
        display: block;
        float: left;
}
#overheader .flexnav li > ul li a:hover{
  color:#E045C6;
}
#overheader .flexnav li > ul li.focus a {
  color:#E045C6;
}


#overheader .flexnav li ul li > ul {
      margin-left: 100%;
      top: 0;
}
#overheader .flexnav li>ul li a {
      border-bottom: none;
      background: #FFFFFF;
      color: #333333;
      font-size:13px;
      height:24px;
      padding: 2px 8px 8px;
      border-left: 2px solid #333333;
}
#overheader .flexnav li ul.open {
      display: block;
      opacity: 1;
      visibility: visible;
      z-index: 1;
}
#overheader .flexnav li ul.open li {
        overflow: visible;
        max-height: 100px; }
#overheader .flexnav li ul.open ul.open {
        margin-left: 100%;
        top: 0;
}

#overheader .flexnav .touch-button {
  display: none;
}

} /* media query*/
