/*==================================================ハンバーガーボタン*/
#burger-btn {
  position: absolute;
  width: 30px;
  height: 60px;
  cursor: pointer;
}
.burger {
  position: absolute;
  background: rgba(9, 0, 62, 1);
  width: 30px;
  height: 2px;
  top: 50%;
  margin-top: 15px;
  opacity: 1;
}
.burger::before {
  position: absolute;
  background: rgba(9, 0, 62, 1);
  width: 30px;
  height: 2px;
  top: 10px;
  content: "";
  display: block;
}
.burger::after {
  position: absolute;
  background: rgba(9, 0, 62, 1);
  width: 30px;
  height: 2px;
  bottom: 10px;
  content: "";
  display: block;
}
.burger::after, .burger::before, .burger {
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
}
#burger-btn.menu-on .burger::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  bottom: 0px;
}
#burger-btn.menu-on .burger::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0px;
}
#burger-btn.menu-on .burger {
  background: rgba(9, 0, 62, 0);
}
#burger-btn {
  margin-right: 20px;
}
/*=========================================ハンバーガーメニューボタンここまで*/
/*=========================================スマホのみdrawerメニュー内容*/
#drawer_area.tojiru {
  background-color: rgba(0, 0, 0, 0.5);
  transform: translate3d(-320, 0, 0);
  overflow: hidden;
  opacity: 1;
}
/* menuボタン表示 （jsで追加される）*/
/*.drawer_button.active {
  right: 0;
  opacity: 1;
}*/
/*ハンバーガーボタン*/
.drawer_button {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 30px;
  right: 0;
  /* right: -80px;*/
  cursor: pointer;
  display: block;
  /*-webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;*/
  /* opacity: 0;*/
}
#drawer_area {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 100px;
  right: 0;
  display: none;
 overflow: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: background-color .2s ease;
  -moz-transition: background-color .2s ease;
  -o-transition: background-color .2s ease;
  transition: background-color .2s ease;
  z-index: 5;
}
#drawer_area .drawer_menu {
  width: 320px;
  background-color: #002a3ea8;
  margin-top: 0;
  margin-left: auto;
  margin-bottom: 3rem;
  border: 2px solid #fff;
  padding: 0.5rem;
  font-size: 1rem;
  z-index: 200;
  overflow-y: scroll;
  position: absolute;
  inset: 0;
  height: calc(100% - 10rem);
}
.drawer_menu ul#menu-footernav-2 li {
  width: 85%;
  padding: 1rem 0;
  margin: 0 auto;
}
.drawer_menu ul#menu-footernav-2 > li > a {
  padding: 0;
 border: thin solid #fff;
 border-radius: 10px;
 display: block;
 color: #fff;
}
.drawer_menu ul#menu-footernav-3 li {
  width: 85%;
  padding: 1rem 0;
  margin: 0 auto;
}
.drawer_menu ul#menu-footernav-3 ul > li > a {
  padding: 0;
 border: thin solid #fff;
 border-radius: 10px;
 display: block;
 color: #fff;
}
.drawer_menu ul.sub-menu li a {
 border: none;
  color: #fff;
}
.drawer_menu ul.sub-menu li a::before {
 font-family: "Font Awesome 5 Free";
 font-weight: 900;
 content: "\f0da";
 color: #fff;
 margin-right: 0.5rem;
}
.drawer_menu ul {
  width: 100%;
  font-size: 16px;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}
.drawer_li_btn {
  width: 200px;
  display: block;
  text-align: center;
}
#drawer_area .drawer_footermenu {
  background-color: #f9f5ec;
  margin: 1rem;
  padding: 3rem 0;
  text-align: center;
}
.drawer_footermenu h5 {
  font-size: 1.7rem;
  font-weight: 400;
}
.drawer_footermenu p {
  width: 80%;
  line-height: 1.5;
  margin: 0 auto;
}
.drawer_footermenu a p {
  display: block; /*クリックできる領域を広げる*/
  padding: 0.3rem;
  font-size: calc(1em + 1.2vw);
}

.drawer_footermenu a p.btn-white_and_peacock {
  border-radius: 4em;
  border: 1px solid #02988c;
  background-color: #02988c;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 0px;
  text-align: center;
  margin: 0 auto;
  color: #fff;
}
.drawer_footermenu a:hover p.btn-white_and_peacock {
  border: 1px solid #02988c;
  background-color: #ffffff;
  transition: all 0.3s ease;
  opacity: 1;
  color: #02988c;
}
/*豆知識ページにおいてハンバーガー内メニュー*/
.drawer_menu ul#menu-footernav-2 > li.current_page_item > a {
  background-color: #ffffff50;
  border: thin solid #fff;
  border-radius: 10px;
  display: block;
  color: #ffffff;
}
.drawer_menu ul#menu-footernav-2 > li > ul.sub-menu li.current_page_item a {
  background-color: #ffffff50;
  border-radius: 10px;
  display: block;
  color: #ffffff;
}
/*gナビまめ知識ページ*/
#gnavi ul li.current_page_item a {
  border-bottom: 1px solid #02988c;
}

/*お知らせページにおいてハンバーガー内メニュー*/
.drawer_menu ul#menu-footernav-3 li.current_page_item a {
  background-color: #ffffff50;
border: thin solid #fff;
  border-radius: 10px;
  display: block;
  color: #ffffff;
}
/*contactページにおいてハンバーガー内メニュー*/
.drawer_menu ul li a[href="contact.php"] {
  background-color: #ffffff50;
  border-radius: 10px;
  display: block;
  color: #ffffff;
}
/*contactページにおいてハンバーガー内メニュー*/
.drawer_menu ul li a[href="contact.php"] {
  background-color: transparent;
  border-radius: 10px;
  display: block;
  opacity: 1;
  color: #fff;
}
/*gナビお問い合わせ*/
/*.page-id-19 .header_wrap .nav li a[href="contact.php"] {
  border-bottom: 1px solid #02988c;
}*/
/*=========================================スマホのみdrawerメニュー内容ここまで*/
/*=============================スマホのみ　アイコン付きのメニュー部分*/
#active_menu .global_menu {
  height: 300px;
}
#active_menu .global_menu .pickup_wrap {
  height: auto;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  flex-wrap: wrap;
  align-content: space-around;
}
#active_menu .global_menu .pickup_wrap .button {
  height: 50px;
  box-sizing: border-box;
}
#active_menu .global_menu .pickup_wrap .col_area a p.detail_btn {
  display: block;
  height: auto;
  margin: 0.25rem auto 0 auto;
  color: #333333;
  line-height: 1.4; 
}/*line-height直書きのpb-3はホバー時にボタン上スペース確保＝重要*/
#active_menu .global_menu .pickup_wrap .col_area a:hover p.detail_btn {
  transition: all 0.3s ease;
}
#active_menu .global_menu .pickup_wrap .col_area {
  border-right: 2px dotted #7b4d53;
  margin-bottom: 5rem;
  padding: 0;
  height: 120px; 
}
/*heightホバー時にボタン位置固定＝重要*/
#active_menu .global_menu .pickup_wrap .col_area a {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 1rem;
  margin: 0;
}
#active_menu .global_menu .pickup_wrap .col_area a:hover .button {
  width: 80px;
  height: 80px;
  transition: all 0.3s ease;
}
#active_menu .global_menu .pickup_wrap .col_area:nth-child(4) {
  border-left: 2px dotted #7b4d53;
}
#active_menu .global_menu .pickup_wrap .col_area:nth-child(1) {
  border-left: 2px dotted #7b4d53;
}
#active_menu .global_menu .pickup_wrap .icon_mame {
  background-image: url("../images/top/icon_mame.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
#active_menu .global_menu .pickup_wrap .icon_dantai {
  background-image: url("../images/top/icon_dantai.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
#active_menu .global_menu .pickup_wrap .icon_about {
  background-image: url("../images/top/icon_about.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
#active_menu .global_menu .pickup_wrap .icon_report {
  background-image: url("../images/top/icon_report.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
#active_menu .global_menu .pickup_wrap .icon_hikidasi {
  background-image: url("../images/top/icon_hikidasi.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
#active_menu .global_menu .pickup_wrap .icon_news {
  background-image: url("../images/top/icon_news.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}