/* GENERAL STYLING: NOT NECESSARY */


.header_sp p{ color: #000; }



nav {
  display: block;
}

nav ul {
  list-style: none;
}


*, *:before, *:after {
  box-sizing: border-box;
}

::-moz-selection {
  background: #ff6060;
  color: #373331;
}

::selection {
  background: #ff6060;
  color: #373331;
}

.sp_he_logo{  width: 120px; margin-top: 5px; }

.header_sp {
  /*position: absolute;
  overflow: visible;*/
  z-index: 100;
  width: 100%;
  height: 57px;
  color: #fff;
}

.sticky_top{position: fixed; top:0; background-color: rgba(115, 115, 115, .5); width: 100%; padding: 10px 20px; height: 57px; z-index: 999;}


.header_sp a {
  text-decoration: none;
}
.header_sp span.menu-control-open,
.header_sp span.menu-control-close{
  color: #fff;
}
.header_sp span.menu-control-open,
.header_sp span.menu-control-close {
  margin-bottom: 0;
}



/*----------------------------------------------
ドロワー展開後の中身
----------------------------------------------*/
.menu {
  z-index: 9999;
  position: fixed;
  right: 0;
  top: 0;
  background-color: rgba(255,247,174, 0.95);
  /*background: #63ABD5;*/
  color: #F0F0F0;
  height: 100vh;
  width: 0;
  overflow: hidden;
  transition: all .3s ease-in-out;
  /* Unnecessary styles for the menu footer */
  box-shadow: -3px 0 5px -1px rgba(80, 80, 80, 0.8);
}
.menu a {
  /*transform: translate3d(-150px, 0, 0);
  transition: transform .15s ease-in;*/
}
.menu .menu-inner {
  position: relative;
  height: 100%;
  width: 80vw;
}

.header_sp ul{ width: 100%; border-top:#888 1px solid;}
.header_sp a{color: #000; }
.header_sp nav ul li a{ font-weight: bold; font-size: 1rem; border-bottom:#888 1px solid; margin:0; width: 100%; display: block; padding: 10px 30px;}
.header_sp nav ul li a:hover{background-color: #fbe400; color: #000; font-weight: bold; }
.header_sp nav ul li a span{ display: block; font-size: .7rem; color: #888; text-transform: uppercase;}


.sp_nav_ber{ position: absolute; width: 100% }

.header_sp span.menu-control-open i,
.header_sp span.menu-control-close i{ margin-right: 0; padding-right: 0; }

.header_sp span.menu-control-open,
.header_sp span.menu-control-close {  }
.header_sp span.menu-control-open { display: block; cursor: pointer; position: relative; font-size: 2rem; top:0;right: 35px; }

/*閉じるボタン*/
.sp_nav_ber-close{ padding: 10px 20px; height: 57px; }
.sp_nav_ber-close .sp_control-close{ position: absolute; width : calc(100% - 40px) ; padding: 0; margin: 0; }
.sp_nav_ber-close .sp_control-close .menu-control-close{ position: relative; top:3px; left: 90%; font-size: 2rem; color: #000; }

.header_sp nav {
  display: flex;
  flex-direction: column;
}


.menu .version, .menu .madeIn {
  position: absolute;
  bottom: 70px;
  font-size: .9rem;
  font-weight: normal;
}
.sp_dr_logo{ width: 30%; margin: 0 auto; }
.menu .madeIn { bottom: 10px; left: 0; right: 0; margin: auto;}

.menu--active {
  height: 100vh;
  overflow: hidden;
}
.menu--active nav a {
  /*transform: translate3d(0, 0, 0);
  transition: transform 500ms ease-out;*/
  /* Handles items within the slide-out to give them the delayed slide-in */
}
/*.menu--active nav a:first-child {
  transition-delay: .2s;
}
.menu--active nav a:nth-child(2) {
  transition-delay: .3s;
}
.menu--active nav a:last-child {
  transition-delay: .4s;
}*/

@media screen and (max-width: 767px) {
  .menu--active .menu {
    width: 80%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .menu--active .menu {
    width: 40%;
  }
  .menu--active .menu .menu-inner {
    width: 40vw;
  }
}
@media screen and (min-width: 1024px) {
  header {
    height: 7rem;
    padding: 2.5rem;
  }
  header span.menu-control-open,
  header span.menu-control-close {
    display: none;
  }
  header .menu {
    position: static;
    overflow: visible;
    background-color: transparent;
    width: auto;
    height: auto;
  }
  header .menu .menu-inner {
    padding: 0;
    width: 100%;
  }
  header .menu a {
    transform: none;
    transition: none;
  }
  header .menu .version,
  header .menu .madeIn {
    bottom: -90.85vh;
    letter-spacing: 1px;
    font-size: 1.3rem;
  }
  header nav {
    flex-direction: row;
    justify-content: flex-end;
  }
  header nav a {
    font-size: 2.65rem;
    margin-left: 4rem;
  }
}
