/*!
 * 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: 101;
  top: 0;
  overflow: hidden;
  width: 16.25rem;
  height: 100%;
  color: #222;
  background-color: #fff;
}

.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 > ul{
	position:relative;
	margin-left:auto;
	margin-right:auto;
	clear:both;
	float:none;
	width:92%;
	}

a.drawer-menu-item {
	display:block;
	padding:15px;
	position:relative;
	text-decoration:none;
	font-weight:bold;
	color:#333;
	border-bottom:1px solid #ccc;
	}
a.drawer-menu-item:hover {
	background:#F0FAFF;
	}


/*SPオンリー*/
.drawer-menu li.dispSP{ display:block;}

/*ロゴ*/
.drawer-menu li.logo {
	float:none;
	width:100%;
	max-width:100%;
	max-height:none;
	display:block;
	padding:0 50px 15px 0;
	border-bottom:#ccc solid 1px;
}
/*inq*/
.drawer-menu li.dw-inq{
	display:flex;
	justify-content: center;
	border-bottom:#ccc solid 1px;
	padding:10px 0;
	}
.drawer-menu li.dw-inq > *{
	flex-shrink: 0;
	width:50%;
		}
.drawer-menu li.dw-inq .h-tel{
	background-color:#f7f7f7;
	}

@media only screen and (min-width : 1025px){
	.drawer-menu > ul{
		width:96%;
		max-width:1400px;/*サイトの幅に調整****************/
		}
}

@media only screen and (min-width : 1400px){
	.drawer-menu > ul{
		display:flex;
		align-items: stretch;
		justify-content:flex-end;
		width:auto;
		}
	.drawer-menu li{
		border:none;
		white-space:nowrap;
		min-width:80px;
		text-align:center;
		}
	a.drawer-menu-item{
		display:block;
		padding:15px 10px;
		text-decoration:none;
		border-bottom:none;
		}
	a.drawer-menu-item:hover,
	a.drawer-menu-item:active{
		background:none;
		}
	/*SPオンリー*/
	.drawer-menu li.dispSP{ display:none;}
	/*ロゴ*/
	.drawer-menu li.logo{}

}

/*! overlay */

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

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



/*!------------------------------------*\
    Top
\*!------------------------------------*/

.drawer--top .drawer-nav {
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  -webkit-transition: top .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: top .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.drawer--top.drawer-open .drawer-nav {
  top: 0;
}

.drawer--top .drawer-hamburger,
.drawer--top.drawer-open .drawer-hamburger {
  /*right: 3%;*/
	right:0;
}
/*
@media only screen and (min-width: 1025px){
	.drawer--top .drawer-hamburger,
	.drawer--top.drawer-open .drawer-hamburger {right: 2%;}
}
*/

/*!------------------------------------*\
    Left
\*!------------------------------------*/

.drawer--left .drawer-nav {
  left: -16.25rem;
  -webkit-transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: left .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

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

.drawer--left.drawer-open .drawer-hamburger {
  left: 16.25rem;
}

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

.drawer--right .drawer-nav {
  right: -16.25rem;
  -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;*/
	position:relative;
	margin-left:auto;
  z-index: 999;
  display: block;
	flex-shrink: 0;
  /*top:15px;*/
  width: 42px;
  height:42px;
  padding:6px 9px 0;
  border: 0;
  outline: 0;
	color:#ffffff;
	background-color: #258ecf;
  cursor: pointer;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
  box-sizing: border-box;
  -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;
}
@media only screen and (min-width : 768px){
.drawer-hamburger {
	margin-left:20px;
	}
}
.drawer-hamburger:hover {
  cursor: pointer;
	background-color: #166f9e;
}

.drawer-hamburger-icon {
  position: relative;
  display: block;
	margin-bottom:15px;
}

.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: #fff;/*トグルナビの色変更はここ*/
}

.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
  position: absolute;
  top: -7px;
  left: 0;
  content: ' ';
}
.drawer-hamburger-icon:after {
  top: 7px;
}
.drawer-open .drawer-hamburger-icon {
  background-color: transparent;
}
.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after {
  top: 0px;
}

.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);
}
.drawer-hamburger-text{
	position:absolute;
	bottom:5px;
	line-height:0;
	right:0;
	width: 100%;
  text-align:center;
	font-size:1rem;
	line-height:1em;
}
@media only screen and (min-width: 1025px){
	.drawer-hamburger{right: 2%;}
}

/*!------------------------------------*\
    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;
}

/*!------------------------------------*\
    Sidebar
\*!------------------------------------*/

.drawer--sidebar {
  background-color: #fff;
}

.drawer--sidebar .drawer-contents {
  background-color: #fff;
}

@media (min-width: 1400px) {
  .drawer--sidebar .drawer-hamburger {
    display: none;
    visibility: hidden;
  }

  .drawer--sidebar .drawer-nav {
    display: block;
    -webkit-transform: none;
            transform: none;
    position: fixed;
    width: 12.5rem;
    height: 100%;
  }

  /*! Left */
  .drawer--sidebar.drawer--left .drawer-nav {
    left: 0;
    border-right: 1px solid #ddd;
  }

  .drawer--sidebar.drawer--left .drawer-contents {
    margin-left: 12.5rem;
  }

  /*! Right */
  .drawer--sidebar.drawer--right .drawer-nav {
    right: 0;
    border-left: 1px solid #ddd;
  }

  .drawer--sidebar.drawer--right .drawer-contents {
    margin-right: 12.5rem;
  }

  /*! container */
  .drawer--sidebar .drawer-container {
    max-width: 48rem;
  }
}

@media (min-width: 75em) {
  .drawer--sidebar .drawer-nav {
    width: 16.25rem;
  }

  .drawer--sidebar.drawer--left .drawer-contents {
    margin-left: 16.25rem;
  }

  .drawer--sidebar.drawer--right .drawer-contents {
    margin-right: 16.25rem;
  }

  /*! container */
  .drawer--sidebar .drawer-container {
    max-width: 60rem;
  }
}

/*!------------------------------------*\
    Navbar
\*!------------------------------------*/

.drawer--navbarTopGutter {
}

.drawer-navbar .drawer-navbar-header {
	position:relative;
	z-index:103;
	background-color:#fff;
	height:100%;
	/*順序 横・下・ぼかし・広がり・色*/
	box-shadow: 0 0 3px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 3px 0px rgba(0,0,0,0.3);
	-o-box-shadow: 0 0 3px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 3px 0px rgba(0,0,0,0.3);
}

.drawer-navbar {
  z-index: 102;
  top: 0;
  width: 100%;

}

/*! .drawer-navbar modifier */

.drawer-navbar--fixed {
  position: fixed;
}

.drawer-navbar-header {
  position: relative;
  z-index: 102;
  box-sizing: border-box;
  width: 100%;
  height:100%;
}

.drawer-navbar .drawer-brand {
}

.drawer-navbar .drawer-brand:hover {
  background-color: transparent;
}

.drawer-navbar .drawer-nav {
	padding-top:30px;
	padding-bottom:30px;
}

.drawer-navbar .drawer-menu {
}

@media (min-width: 1400px) {

	#nav{
		position:absolute;
		top:0;
		right: 50%;
		-webkit-transform: translateX(50%);
		-ms-transform: translateX(50%);
		transform: translateX(50%);
		height:100%;
		width:96%;
		max-width:1800px;
		margin-left:auto;
		margin-right:auto;
		z-index:103;
	}
  .drawer-navbar {
  }

  .drawer-navbar .drawer-navbar-header {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }

  .drawer-navbar .drawer-menu--right {
    float: right;
  }

  .drawer-navbar .drawer-menu li {
  }

  .drawer-navbar .drawer-menu-item {
  }

  .drawer-navbar .drawer-hamburger {
    display: none;
  }

  .drawer-navbar .drawer-nav {
		position:relative;
		display:flex;
		align-items: center;
		height:78px;
		top:inherit;
		left:inherit;
    width: auto;
		height:auto;
		overflow: visible;
		background-color:transparent;
		z-index:103;
		padding-top:0;
		padding-bottom:0;
		margin-left:auto;
    -webkit-transition:none;
            transition:none;
  }

  .drawer-navbar .drawer-menu {
    padding: 0;
  }

  /*! dropdown */
  .drawer-navbar .drawer-dropdown-menu {
    position: absolute;
  }

  .drawer-navbar .drawer-dropdown-menu-item {
  }
}



/*!------------------------------------*\
    Dropdown
\*!------------------------------------*/
.drawer-dropdown .drawer-menu-item{
	}


.drawer-dropdown-menu {
  display: none;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.drawer-dropdown-menu > li {
  width: 100%;
  list-style: none;
}

.drawer-dropdown-menu li a,
.drawer-dropdown-menu-item {
  display: block;
	padding:10px 10px 10px 25px;
  text-decoration: none;
  color: #222;
	border-bottom:#ccc dotted 1px;
	}
.drawer-dropdown-menu li a:hover,
.drawer-dropdown-menu li a:active,
.drawer-dropdown-menu-item:hover,
.drawer-dropdown-menu-item:active {
	background:#F0FAFF;
	}
.drawer-dropdown-menu li a i,
.drawer-dropdown-menu-item i{
	color:#258ecf;
	margin-right:8px;
	}
.drawer-dropdown-menu li:last-child a{
	border-bottom:#ccc solid 1px;
	}


/*! open */

.drawer-dropdown.open > .drawer-dropdown-menu {
  display: block;
	}
.drawer-dropdown.open .drawer-menu-item{
	border-bottom:#ccc dotted 1px;
	}


/*! drawer-caret */

.drawer-dropdown .drawer-caret {
	display:none;
  /*display:inline-block;**************************/
	width:1em;
	height:1em;
  margin-left: 6px;
  -webkit-transition: opacity .2s ease, -webkit-transform .2s ease;
  transition: opacity .2s ease, -webkit-transform .2s ease;
  transition: transform .2s ease, opacity .2s ease;
  transition: transform .2s ease, opacity .2s ease, -webkit-transform .2s ease;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
  vertical-align: middle;
	color:#258ecf;
	}

/*! open */

.drawer-dropdown.open .drawer-caret {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}



@media only screen and (min-width: 1400px){
	.drawer-dropdown-menu {
		display:none;
		}
  /*! dropdown */
  .drawer-dropdown.open .drawer-dropdown-menu,
	.drawer-dropdown:hover .drawer-dropdown-menu{
		position: absolute;
		left:0;
		width:calc(100% + 384px);
		border-top:none;
		background:rgba(255,255,255,0.9);
		z-index:1;
		padding:20px;
		display:flex;
		flex-wrap: wrap; 
		gap: 20px;

	/*順序 横・下・ぼかし・広がり・色*/
	box-shadow: 0 3px 2px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 3px 2px 0 rgba(0,0,0,0.3);
	-o-box-shadow: 0 3px 2px 0 rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 3px 2px 0 rgba(0,0,0,0.3);


		}
	.drawer-dropdown-menu{}
	.drawer-dropdown-menu > li {
		width:auto;
		min-width:100px;
		border-bottom: #ccc dotted 1px !important;
		}
	.drawer-dropdown-menu > li > a {
		padding: 10px;
		text-align:left;
		font-weight:bold;
		}
	.drawer-dropdown:hover ul li{
		  overflow: visible;
	}

	.drawer-dropdown.open .drawer-menu-item{
		border-bottom:none;
		}

	.drawer-dropdown-menu li a:hover,
	.drawer-dropdown-menu li a:active,
	.drawer-dropdown-menu-item:hover,
	.drawer-dropdown-menu-item:active {
		background:none;
		}

	/*! open */
	.drawer-dropdown.open .drawer-caret {
		-webkit-transform: rotate(0deg);
						transform: rotate(0deg);
		}

}


/*!------------------------------------*\
    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;
  }
}
