/*左側のメニュー*/

* {
  box-sizing: border-box;
}
:focus,
:active {
  outline: none;
}
.toggle_menu {
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  cursor: pointer;
  color: #fff;
  /* -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); */
  z-index: 3100;
}
.toggle_menu i {
  display: block;
  font-size: 2.5rem;
}
.vertical_nav {
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  position: fixed;
  left: -250px;
  top: 50px;
  bottom: 0;
  width: 250px;
  background: #fff;
  border-right: solid 1px #ddd;  z-index: 3000;
}
.vertical_nav a {
  text-decoration: none;
  color: #333;
}
.vertical_nav__closed {
  left: -250px !important;
}
.vertical_nav__opened {
  left: 0px !important;
}
.menu {
  position: absolute;
  top: 0;
  bottom: 0;
  overflow-y: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.menu--item {
  position: relative;
  min-height: 30px;
  line-height: 30px;
}
.menu--item__has_sub_menu .menu--link:after {
  position: absolute;
  top: 0;
  right: 15px;
  height: 30px;
  line-height: 30px;
  font-size: 1.5rem;
  font-family: "FontAwesome";
  content: "\f107";
}
.menu--subitens__opened {
  background: #fff;
  color: #fff;
}
.menu--subitens__opened .menu--link {
  color: #333;
}
.menu--subitens__opened .sub_menu {
  display: block;
}
.menu--link {
  display: block;
  overflow: hidden;
  font-size: 1.3rem;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  padding-left: 10px;
}
.menu--link:hover,
.menu--link:hover .menu--label {
  color: #333;
}
.menu--icon {
  display: block;
  float: left;
  width: 50px;
  height: 40px;
  line-height: 40px;
  font-size: 2rem;
}
.menu--label {
  display: block;
  height: 30px;
  line-height: 30px;
}
.main_menu--link {
  display: block;
}
.sub_menu {
  display: none;
  overflow: hidden;
  padding-left: 0;
  list-style: none;
  /*border: solid 1px #ddd;*/
}
.sub_menu--item a {
    color: #0000ff;
}
.sub_menu--link {
  padding-left: 20px;
  display: block;
  font-size: 1.3rem;
  color: #333;
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.main_menu--link:hover {
  color: #ff0000;
}
.sub_menu--link:hover {
  color: #ff0000;
  text-decoration: underline;
}
.sub_menu--link__active {
  color: #333;
}

@media (min-width: 960px) {
  .vertical_nav {
    left: 0;
    top: 70px;
  }
  .toggle_menu {
    display: none;
  }
  .vertical_nav__minify {
    width: 50px;
  }
  .vertical_nav__minify .menu {
    overflow: visible;
  }
  .vertical_nav__minify .menu--label {
    display: none;
    position: absolute;
    top: 0;
    left: 50px;
    width: 150px;
    padding-left: 16px;
    padding-right: 16px;
    background: #e9e9e9;
    font-weight: 500;
  }
  .vertical_nav__minify .menu--item__has_sub_menu .menu--link:after {
    content: "";
  }
  .vertical_nav__minify .menu--subitens__opened .menu--label,
  .vertical_nav__minify .menu--subitens__opened .sub_menu {
    display: block;
  }
  .vertical_nav__minify .sub_menu {
    position: absolute;
    top: 40px;
    left: 50px;
    width: 150px;
    background: #e9e9e9;
  }
  .vertical_nav__minify .sub_menu--link {
    padding-left: 16px;
  }
  .vertical_nav__minify .collapse_menu--icon {
    -webkit-transform: rotate(180deg);
  }
}
