/*!
 * jquery-drawer v3.2.2
 * Flexible drawer menu using jQuery, iScroll and CSS.
 * http://git.blivesta.com/drawer
 * License : MIT
 * Author : blivesta <design@blivesta.com> (http://blivesta.com/)
 */

/*!------------------------------------*\
    Base
\*!------------------------------------*/

.drawer-open {
  overflow: hidden !important;
}

.drawer-nav {
  position: fixed;
  z-index: 9000;
  top: 0;
  overflow: hidden;
  width: 420px;
	max-width: 100%;
  height: 100%;
  color: #fff;
  background-color: #5da5cf;
}

.drawer-brand {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 3.75rem;
  display: block;
  padding-right: .75rem;
  padding-left: .75rem;
  text-decoration: none;
  color: #222;
}

.drawer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-menu-item {
  font-size: 1rem;
  display: block;
  padding: .75rem;
  text-decoration: none;
  color: #222;
}

.drawer-menu-item:hover {
  text-decoration: underline;
  color: #555;
  background-color: transparent;
}

/*! overlay */

.drawer-overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .2);
}

.drawer-open .drawer-overlay {
  display: block;
}

/*!------------------------------------*\
    Right
\*!------------------------------------*/

.drawer--right .drawer-nav {
  right: -100%;
  -webkit-transition: right .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: right .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.drawer--right.drawer-open .drawer-nav,
.drawer--right .drawer-hamburger,
.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
  right: 0;
}

.drawer--right.drawer-open .drawer-hamburger {
  /*right: 16.25rem;*/
}

/*!------------------------------------*\
    Hamburger
\*!------------------------------------*/

.drawer-hamburger {
  position:fixed;
  z-index: 99999;
  top:0;
  display: block;
  box-sizing:border-box;
  width: 86px;
  padding: 48px 34px;
  -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  border: 0;
  outline: 0;
}
.drawer-hamburger:hover {
  cursor: pointer;
}

.drawer-hamburger-icon {
  position: relative;
  display: block;
}

.drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  width: 100%;
  height: 2px;
  -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  background-color: #555;
}

.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  position: absolute;
  top: -6px;
  left: 0;
  content: ' ';
}

.drawer-hamburger-icon:after {
  top: 6px;
}
.drawer-open .drawer-hamburger{position: fixed;}

.drawer-open .drawer-hamburger-icon {
  background-color: transparent;
}

.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after {
  top: 0;
	background-color: #fff;
}

.drawer-open .drawer-hamburger-icon:before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.drawer-open .drawer-hamburger-icon:after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}


/*!------------------------------------*\
    accessibility
\*!------------------------------------*/

/*!
 * Only display content to screen readers
 * See: http://a11yproject.com/posts/how-to-hide-content
 */

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/*!
 * Use in conjunction with .sr-only to only display content when it's focused.
 * Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
 * Credit: HTML5 Boilerplate
 */

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

/*!------------------------------------*\
    Container
\*!------------------------------------*/

.drawer-container {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 64em) {
  .drawer-container {
    max-width: 60rem;
  }
}

@media (min-width: 75em) {
  .drawer-container {
    max-width: 70rem;
  }
}

/*!------------------------------------*\
    add
\*!------------------------------------*/

.drawer--top.drawer-open .drawer-nav {
  top: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer--left.drawer-open .drawer-nav,
.drawer--left .drawer-hamburger,
.drawer--left.drawer-open .drawer-navbar .drawer-hamburger {
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer--right.drawer-open .drawer-nav,
.drawer--right .drawer-hamburger,
.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer--right .drawer-hamburger{right: 0px;}


@media screen and (max-width: 767px) {
	.drawer-hamburger {
		  width: 44px;
		  padding: 24px 13px;
	}
	.drawer-hamburger-icon:before,
	.drawer-hamburger-icon:after {top: -6px;}
	.drawer-hamburger-icon:after {top: 6px;}
}

/*--------------------------------------------------------------------
   hamburger
---------------------------------------------------------------------*/
.drawer-hamburger{display: none; z-index: 99999;}
@media screen and (max-width: 999px) {
	.drawer-hamburger{display: block;}
	header nav{display: none;}
}

/*--------------------------------------------------------------------
   menu
---------------------------------------------------------------------*/
.spNav{padding: 110px 20px 50px;}
.spNav a{color: #fff;}
  .spNav ul {
    border-top: #b6d7e9 1px solid;
    text-align: left; }
    .spNav ul li {
      border-bottom: #b6d7e9 1px solid;
      font-size: 1.6rem; }
      .spNav ul li a {
        display: block;
        padding: calc(40 / 26 * 1em) 0; }
      .spNav ul li ul {
        border-top: none;
        margin-top: calc(-20 / 26 * 1em);
        padding-bottom: calc(20 / 26 * 1em); }
        .spNav ul li ul li {
          position: relative;
          border-bottom: none;
          line-height: 1.5;
          padding-left: 10px; }
          .spNav ul li ul li a {
            display: block;
            padding: calc(20 / 26 * 1em) 20px;
            font-weight: 500;
            position: relative; }
            .spNav ul li ul li a::before {
              content: "";
              display: block;
              width: 10px;
              height: 1px;
              background-color: #fff;
              position: absolute;
              top: 50%;
              left: 0; }
  @media screen and (max-width: 767px) {
    .spNav {
      padding-top: 55px; }
      .spNav ul li {
        font-size: 1.45rem; }
}

/* spmenu アコーディオン
------------------------------------------------------*/
.spNav {
  /*icon*/ }
  .spNav .menu__item {
    cursor: pointer;
    display: block;
    position: relative; }
  .spNav .menu__item__link {
    position: relative; }
  .spNav .submenu {
    display: none; }
  .spNav .submenu__item {
    position: relative; }
  .spNav .js-menu__item__link::before, .spNav .js-menu__item__link::after {
    content: "";
    display: block;
    width: 15px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    right: 30px;
    top: 50%; }
    @media screen and (max-width: 767px) {
      .spNav .js-menu__item__link::before, .spNav .js-menu__item__link::after {
        right: 20px; } }
  .spNav .js-menu__item__link::after {
    transform: rotate(90deg);
    transition: .3s; }
  .spNav .js-menu__item__link.on::after {
    transform: rotate(0); }


