#drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 265px;
  height: 100%;
  background: #ffffff;
  -webkit-transform: translateX(265px);
  transform: translateX(265px);
  -webkit-transition:ease 0.5s;
  transition:ease 0.5s;
  z-index: 99;
}

#menu_overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition:ease 0.5s;
  transition:ease 0.5s;
  z-index: 80;
}

#menu_btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  -webkit-transition:ease 0.5s;
  transition:ease 0.5s;
  cursor: pointer;
  align-items: flex-end;
  display: flex;
  justify-content: center;
  font-size: 10px;
  padding-bottom: 2px;
  z-index: 100;
}

.hamburger {
  position: absolute;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  height: 2px;
  width: 30px;
  background: #ffffff;
  -webkit-transition: ease 0.5s;
  transition: ease 0.5s;
}
.hamburger:nth-child(1) {
    top: 20%;
    left: 50%;
}
.hamburger:nth-child(2) {
  top: 40%;
  left: 50%;
}
.hamburger:nth-child(3) {
  top: 60%;
  left: 50%;
}

.menu_text {
  color: #ffffff;
  font-weight: bold;
}

#drawer.action {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#menu_overlay.action{
  width: 100%;
  height: 100%;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#menu_btn.action {
  position: fixed;
  right: 265px;
}

#menu_btn.action .hamburger:nth-child(1) {
  top: 50%;
  -webkit-transform: translate(-50%,-50%) rotate(45deg);
  transform: translate(-50%,-50%) rotate(45deg);
}
#menu_btn.action .hamburger:nth-child(2) {
  top: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  opacity: 0;
}
#menu_btn.action .hamburger:nth-child(3) {
  top: 50%;
  -webkit-transform: translate(-50%,-50%) rotate(-45deg);
  transform: translate(-50%,-50%) rotate(-45deg);
}

#menu_btn.action .menu_text {
  color: #ffffff;
}

.menu_caption{
  margin: 0;
  padding: 10px 0 10px 10px;
  background: #fff7e6;
  color: #888888;
  font-weight: bold;
  box-sizing: border-box;
  border-bottom: 1px solid #e1e1e1;
}

#drawer ul{
  margin: 0;
  padding: 0;
}

#drawer li{
  border-bottom: 1px solid #e1e1e1;
  list-style: none outside none;
}

#drawer li a{
  display: block;
  padding: 10px 0 10px 10px;
  text-decoration: none;
  color: #666666;
  box-sizing: border-box;
  line-height: 24px;
}

#drawer li p{
  margin: 0;
  padding: 6px 0 0 0;
}

#drawer li img{
  margin: 3px 10px 3px 3px;
  float: left;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
}

.btn_block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin: 3px 0 3px 0;
  width: 100%;
  text-align: center;
}

.action_btn {
  margin: 0;
  padding: 5px;
}

.w_half{
  width: 50%;
}

.w_full{
  width: 100%
}

.action_btn a {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-bottom: 2px solid #b3b3b3;
  box-shadow: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  color: #333333;
  padding: 7px 0 7px 0;
  font-size: 13px;
  width: 96%;
  text-decoration: none;
}

.action_btn span {
  display: inline-block;
  vertical-align: middle;
}

.action_btn img {
  width: 24px;
  height: 24px;
  padding: 1px 5px 3px 3px;
  vertical-align: bottom;
}

.dialog_box {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 300;
}

.dialog_box_inner {
  margin: 0 auto;
  padding: 40px 18px 40px 18px;
  background: #ffffff;
  border-radius: 5px;
  width: 80%;
}

.dialog_btn_block {
  margin: 25px 15px 0 15px;
  text-align: center;
}

.dialog_btn_block a {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-bottom: 2px solid #b3b3b3;
  box-shadow: none;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  color: #333333;
  padding: 6px 4px 6px 4px;
  font-size: 14px;
  width: 40%;
  text-decoration: none;
}

.cond_input_block {
  width: 100%;
}

.message_block {
  width: 100%;
  text-align: center;
}

.cond_input_block span, .message_block span {
  display: block;
  color: #666666;
  font-size: 14px;
}

.cond_input_block input[type="text"] {
  padding: 10px;
  width: 100%;
  border: 1px solid #999999;
  border-radius: 5px;
  background: #ffffef;
  box-sizing: border-box;
  font-size: 14px;
}

.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}