/*
Zarigani Design Office Drawer Menu
Copyright 2018 Zarigani Design Office
Customized by minimalgreen

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.
*/

.drawer_menu a {
  color: inherit;
  text-decoration: none;
}

.drawer_menu a:visited {
  color: inherit;
}




/* PC非表示 */


  .pc-hidden {
      display: none;
      text-align: center;
  }

/* ドロップダウンメニュー2階層目 */
.drawer_menu .drawer_nav li ul.second-level {
  visibility: hidden;
  list-style-type: none;
  position: absolute;
  z-index: -1;
  top: 0;
  margin: 0;
  padding-left: 0;
}

.drawer_menu .drawer_nav li:hover ul.second-level {
  visibility: visible;
  z-index: 1;
  top: 50px;/* PC用メニューの高さに合わせる */
  transition: all .3s;
}

.drawer_menu .drawer_nav li:hover ul.second-level li {
  width: 00px;/* ドロップダウンメニューボタン横幅 */
  height: 50px;/* Pドロップダウンメニューボタン高さ */
  text-align: center;
}

.drawer_menu .drawer_nav li:hover ul.second-level li a {
  display: block;
  background-color: #555;/* ドロップダウンメニューの文字の背景色 */
  color: #fff;/* ドロップダウンメニューの文字色 */
  font-size: 100%;
  text-decoration: none;
  line-height: 50px;/* Pドロップダウンメニューボタン高さ */
  text-align: center;
}

.drawer_menu .drawer_nav li:hover ul.second-level li a:hover {
  background-color: #999;/* ドロップダウンメニューマウスホバー背景色 */
}


/*+++ Default Button Color +++*/

.drawer_menu .drawer_button {
  color: #555;/* ハンバーガーメニュー文字色 */
  display: none;
}

.drawer_menu .drawer_button .drawer_bar {
  background-color: #333;/* ハンバーガーメニュー三本線の色 */
}


/* 1000px以下 */


.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_button {
  display: block;
  background: none;
  border: none;
  padding: 0;
  width: 34px;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 1001;
  text-align: center;
  outline: none;
}
.drawer_menu .drawer_button.active .drawer_bar {
  width: 41px;
}
.drawer_menu .drawer_button.active .drawer_bar1 {
  transform: rotate(30deg);
}
.drawer_menu .drawer_button.active .drawer_bar2 {
  opacity: 0;
}
.drawer_menu .drawer_button.active .drawer_bar3 {
  transform: rotate(-30deg);
}
.drawer_menu .drawer_button.active .drawer_menu_text {
  display: none;
}
.drawer_menu .drawer_button.active .drawer_close {
  display: block;
}
.drawer_menu .drawer_bar {
  display: block;
  height: 5px;
  margin: 6px 0;
  transition: all 0.2s;
  transform-origin: 0 0;
}
.drawer_menu .drawer_text {
  text-align: center;
  font-size: 10px;
}
.drawer_menu .drawer_close {
  letter-spacing: 0.08em;
  display: none;
}
.drawer_menu .drawer_menu_text {
  display: block;
}
.drawer_menu .drawer_nav_wrapper {
  width: 350px;
  height: 100%;
  transition: all 0.2s;
  transform: translate(350px);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  background-color: #FFF;/* ドロワーメニュー内背景色 */
  overflow-x: hidden;
  overflow-y: auto;
}
.drawer_menu .drawer_nav {
  display: block;
  position: relative;
  margin-top: 70px;
  padding: 0 20px;
}
.drawer_menu .drawer_nav li {
  background-color: #fff;
  height: auto;
  line-height: 60px;/*  ドロワーメニューリスト項目高さ */
  position: relative;
  border-bottom:2px dotted #FFB400;
}
.drawer_menu .drawer_nav li a {
  background-color: #fff;/* ドロワーメニューリスト背景色 */
  color: #333;/* ドロワーメニューリスト文字色 */
  display: block;
  text-align: left;
  font-weight: bold;;
}
/* スマートフォン2階層目 */
.drawer_menu .drawer_nav li:hover ul.second-level {
  display: block;
}
.drawer_menu .drawer_nav li ul.second-level {
  visibility: visible;
  position: relative;
  padding: 0;
  z-index: 1001;
}
.drawer_menu .drawer_nav li ul.second-level li {
  border-top: 1px solid #eee;
}
.drawer_menu .drawer_nav li ul.second-level li a {
  padding-left: 20px;
}
.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);
}
.pc-hidden {
  text-align: center;
}




@media screen and (max-width: 768px) {

  .drawer_menu .drawer_button {
    top: 6px;
}

.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: #FFF;/* ドロワーメニュー内背景色 */
  overflow-x: hidden;
  overflow-y: auto;
}
}


/* ===============
  This hamburger button was generated by Zarigani Design Office Hamburger Button Generator.

  Zarigani Design Office's Hamburger Button
  Copyright: 2019 Zarigani Design Office
  URL: https://zarigani-design-office.com/hamburger/
  This software is released under the MIT License.
  http://opensource.org/licenses/mit-license.php
  ================*/

/*+++ Reset +++*/
.zdo_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;
}

.zdo_drawer_button {
  display: block;
  padding: 0;
  width: 34px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  text-align: center;
  letter-spacing: 0.1em;
  cursor: pointer;
  outline: none;
}

.zdo_drawer_button .zdo_drawer_bar {
  display: block;
  width: 34px;
  height: 5px;
  transition: all 0.2s;
  transform-origin: 0% 0%;
  transform: translateY(-50%);
  position: absolute;
  left: 0;
}

.zdo_drawer_button .zdo_drawer_bar1 {
  top: 0;
}

.zdo_drawer_button .zdo_drawer_bar2 {
  top: 50%;
}

.zdo_drawer_button .zdo_drawer_bar3 {
  top: 100%;
}

.zdo_drawer_button.active .zdo_drawer_bar {
  width: 31.11px;
  left: 6px
}

.zdo_drawer_button.active .zdo_drawer_bar1 {
  transform: rotate(0.7853981633974483rad) translateY(-50%);
  top: 0px
}

.zdo_drawer_button.active .zdo_drawer_bar2 {
  opacity: 0;
}

.zdo_drawer_button.active .zdo_drawer_bar3 {
  transform: rotate(-0.7853981633974483rad) translateY(-50%);
  top: calc(100% - 0px)
}

.zdo_drawer_button.active .zdo_drawer_menu_text {
  display: none;
}

.zdo_drawer_button.active .zdo_drawer_close {
  display: block;
}

.zdo_drawer_text {
  width: 100%;
  position: absolute;
  bottom: -20px;
  left: 0;
  text-align: center;
  font-size: 10px;
}

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

/*+++ Default Button Color +++*/
  .zdo_drawer_button {
  color: #2274a5;
}

.zdo_drawer_button .zdo_drawer_bar {
  background-color: #2274a5;
}


.navi-switch {
  float: right;
  width: 40px;
  height: 30px;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  appearance: none;
  box-sizing: border-box;
  z-index: 100000;
  display: block;
  position: absolute;
  top: calc(50% - 15px);
  right: 15px;

}

.navi-switch span, .navi-switch:after, .navi-switch:before {
  display: block;
  content: "";
  visibility: visible;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  /* border-radius: 6px; */
  background-color: #333;
  transition: all 0.15s ease-in-out;
}

.navi-switch span {
  top: 100%;
  margin-top: -6px;
}



.navi-switch:after {
  top: 50%;
  margin-top: -3px;
}

.navi-switch.active span, .navi-switch.active:after {
  background-color: #333;
}
.navi-switch.active:before {
  background-color: #333;
  top: 50%;
  margin-top: -3px;
  transform: rotate(-45deg);
}
.navi-switch.active:after {
  opacity: 0;
}
.navi-switch.active span {
  top: 50%;
  margin-top: -3px;
  transform: rotate(45deg);
}