/*
Zarigani Design Office Drawer Menu
Copyright 2018 Zarigani Design Office

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* === Hambuerger Button's Style Paste Here === */
/*+++ Reset +++*/
.drawer_button * {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  font: inherit;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align: left;
  text-decoration: none;
  list-style: none;
}

/* ★ */
.drawer_button {
  display: block;
  padding: 0;
  width: 36px;/*  width: 42px;*/
  height: 20px;/*  height: 26px;*/
  position: relative;
  background: none;
  border: none;
  text-align: center;
/*  letter-spacing: 0.08em;*/
  cursor: pointer;
  outline: none;
  overflow: visible; /* IEでハンバーガーメニューが表示されないバグを修正する */
}

.drawer_button .drawer_bar {
  display: block;
  width: 30px;/*  width: 42px;*/
  height: 4px;
  border-radius: 3px;
  transition: all 0.2s;
  transform-origin: 0% 0%;
  transform: translateY(-50%);
  position: absolute;
  left: 3px;/* ←(36px-30px)/2  *//*  left: 0;*/
}

.drawer_button .drawer_bar1 {
  top: 0;
}

.drawer_button .drawer_bar2 {
  top: 50%;
}

.drawer_button .drawer_bar3 {
  top: 100%;
}

.drawer_button.active .drawer_bar {
/*  width: 36.77px;*/
/*  left: 8px;*/
  width:28.28px; /* ←36-(8*2)=20, 20*root2=約28.28px 元々のボタンのサイズ幅36pxマイナス左右の余白幅8*2=16px,すると出てくる横幅は20px,これを45度回転させるので、1,41421356をかけると、約28.28px */
  left: 8px;
}

.drawer_button.active .drawer_bar1 {
  transform: rotate(0.7853981634rad) translateY(-50%);
  top: 0px;
}

.drawer_button.active .drawer_bar2 {
  opacity: 0;
}

.drawer_button.active .drawer_bar3 {
  transform: rotate(-0.7853981634rad) translateY(-50%);
  top: calc(100% - 0px);
}

.drawer_button.active .drawer_menu_text {
  display: none;
}

.drawer_button.active .drawer_close {
  display: block;
}

.drawer_text {
  width: 100%;
  position: absolute;
  bottom: -18px;/*  bottom: -20px;*/
  left: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
}

.drawer_close {
  letter-spacing: 0.08em;
  display: none;
}

.drawer_menu_text {
  letter-spacing: 0.08em;
}


/*+++ Default Button Color +++*/
.drawer_button {
  color: #666;
}

.drawer_button .drawer_bar {
  background-color: #666;
}

/* ★=== Hambuerger Button's Style End === */
.drawer_menu .drawer_button {
  /*+++ Hamburger Button Position +++*/
  position: fixed;
  top: 21px;/*  top: 32px;*/
  right: 12px;
  z-index: 1001;
}
.drawer_menu a {
  color: inherit;
  text-decoration: none;
}
.drawer_menu a:visited {
  color: inherit;
}
.drawer_menu .drawer_bg {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
  background-color: rgba(51, 51, 51, 0.5);
  display: none;
  top: 0;
  left: 0;
}
.drawer_menu .drawer_nav_wrapper {
  width: 250px;
  height: 100%;
  transition: all 0.2s;
  transform: translate(250px);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  background-color:#fff79a;
/*  #fffccd; #f6f6f6;  #dfdfdf; #eee; #52390f;*/
}

.drawer_menu .drawer_nav_wrapper.open {
  transform: translate(0);
}
.drawer_menu.left .drawer_button {
  right: auto;
  left: 32px;
}
.drawer_menu.left .drawer_nav_wrapper {
  transform: translate(-250px);
  right: auto;
  left: 0;
}
.drawer_menu.left .drawer_nav_wrapper.open {
  transform: translate(0);
}

/*+++ Default Navigation CSS +++*/

/* .drawer_menu .drawer_nav {
  padding: 112px 24px;
}
*/

/*
.drawer_menu .drawer_nav li {
  font-size: 16px;
  margin-bottom: 15px; }
*/

.drawer_nav_wrapper {
  overflow: scroll; /* スクロールできるようになる */
}

.drawer_menu .drawer_nav {
  margin: 0;
  padding: 0;
  padding-top: 100px;
/*  overflow: inherit; */
  height: 600px; /* スクロールしやすいように、高さの確保 */
}


.drawer_menu .drawer_nav li {
/*  text-align: center;*/
  font-size: 14px;
  font-weight: 600;
  font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
/*  padding: 0 14px;*/
  margin:0 14px;
  border-bottom: 1px solid #aaa;
  text-indent: 4.5em;
  color: #333;
}

.drawer_menu .drawer_nav li:first-child {
  border-top: 1px solid #aaa;
}

.drawer_nav li a {
  display: block;
  padding: 20px 0;
/*  border-bottom: 1px solid #aaa;*/
  text-decoration: none;
  color: #333;
}


.drawer_nav li a:hover {
  background-color: #fffccd;
}

.drawer_nav li a:visited {
  color: #7f7f7f;
}

/*# sourceMappingURL=/drawer_menu.css.map */



/* ---------- タブレット表示 ---------- */
@media screen and (min-width:600px) and ( max-width:959px) {

.drawer_menu .drawer_button {
  /*+++ Hamburger Button Position +++*/
  position: fixed;
  top: 25px;/*  top: 32px;*/
  right: 28px;
} }