/*店舗言語ボタン*/
a.btn_translate {
  bottom: inherit;
  top: 2rem
}

#ZenSearchFrom {
  border-radius: .6rem .6rem .4rem .4rem;
  background: rgba(255,255,255,1);
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  font-size: .8rem;
  position: fixed;
  bottom: 1rem;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: max-content;
  max-width: inherit;
  z-index: 1000;
  transition: .2s;
}

#searchBox {
  display: flex;
  padding: 10px 20px 2px;
  flex-direction: row;
  justify-content: center;
  opacity: 1;
}

.scroll_hide #searchBox {
  opacity: 0;
}


.container_form {
  position: relative;
}

.header_rsv {
  background: #333;
  border-radius: .4rem .4rem 0 0;
  box-shadow: none;
  color: #fff;
  display: flex;
  justify-content: center;
  font-size: 1rem;
  text-align: center;
  margin: auto;
  padding: .1rem;
  cursor: pointer;
}

/*各店舗のheaderカラー*/
.header_rsv.header_akihabara {
  background: #ffdb43;
  color: #333;
}

.header_rsv.header_kanda {
  background: #df81ff;
  color: #333;
}

.header_rsv.header_hommachieast {
  background: #1074af;
  color: #fff;
}

.header_rsv.header_kuramaewest {
  background: #15477e;
  color: #fff;
}

.header_rsv.header_minamisenju {
  background: #28883f;
  color: #fff;
}

.header_rsv.header_shinsaibashieast {
  background: #eead96;
  color: #6F4535;
}

.header_rsv p {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: .02rem;
}

.header_rsv.scroll_hide {
  width: 500px;
  box-shadow: 0 0 10px rgba(189,189,189,.2);
  padding: .8rem 0;
  border-radius: 0;
  position: fixed;
  right: 0;
  left: 0;
  bottom: 1rem;
}

.header_rsv .icon_arrow {
  transform: rotate(90deg);
  font-size: 1rem;
  margin-left: 1rem;
  transition: .2s;
}

.header_rsv.scroll_hide .icon_arrow {
  transform: rotate(-90deg);
  transition: .2s;
}

#ZenSearchFrom.scroll_hide {
  background: rgba(255,255,255,0);
  box-shadow: 0 0 10px rgba(0,0,0,0);
  bottom: -4.7rem;
  transition: .2s;
}

#ZenSearchFrom.scroll_hide .header_rsv .icon_arrow {
  transform: rotate(-90deg);
  transition: .2s;
}

.box_line {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

#ZenSearchFrom.container_fix {
  background: rgba(255,255,255,1);
  border-radius: .6rem .6rem .4rem .4rem;
  box-shadow: 0 0 10px rgba(0,0,0,.2);
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: inherit;
  margin: inherit;
  padding: 1.6rem 2rem 1.8rem;
  z-index: 1000;
}

#ZenSearchFrom.container_fix .header_rsv {
  background: #333;
  border-radius: .4rem .4rem 0 0;
  color: #fff;
  display: flex;
  justify-content: center;
  font-size: 1rem;
  text-align: center;
  margin: -1.6rem -2rem 1rem;
  padding: .2rem;
  position: initial;
  cursor: pointer;
}

#ZenSearchFrom.container_fix .header_rsv .icon_arrow {
  transform: rotate(90deg);
  font-size: 1rem;
  margin-left: 1rem;
  transition: .2s;
}

#ZenSearchFrom.container_fix.scroll_hide {
  position: fixed;
  bottom: -16.3rem;
}

#ZenSearchFrom.container_fix.scroll_hide .header_rsv {
  animation-timing-function: ease-in;
}

#ZenSearchFrom.container_fix.scroll_hide .header_rsv .icon_arrow {
  transform: rotate(-90deg);
  transition: .2s;
}

#ZenSearchFrom.container_fix #searchBox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#ZenSearchFrom.container_fix #searchBox .facilityList,
#ZenSearchFrom.container_fix #searchBox .checkin,
#ZenSearchFrom.container_fix #searchBox .adults {
  margin: 0;
}

#ZenSearchFrom.container_fix .box_space,
#ZenSearchFrom.container_fix .box_space .field-button,
#ZenSearchFrom.container_fix .box_space .sub-bgcolor {
  width: 100%;
}

#searchBox fieldset {
  margin-right: 1.5rem;
}

#searchBox legend {
  font-size: .8rem;
  margin-bottom: .4rem;
}

.box_inner {
  flex: 1;
  display: inherit;
}

.box_inner.box_space {
  margin-top: 1rem;
}

#ZenSearchFrom fieldset input {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: .8rem;
  padding: 0 .4rem;
  color: #555;
  cursor: pointer;
  height: 24px;
  line-height: 1rem;
}

#ZenSearchFrom fieldset select {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: .8rem;
  padding: .2rem 0.6rem;
  color: #555;
  height: 24px;
  cursor: pointer;
}

#ZenSearchFrom .field-button input {
  background: #333;
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font-size: .9rem;
  font-weight: bold;
  padding: .6rem 1.6rem;
  outline: none;
  transition: .2s;
}

/*各店舗のボタンカラー*/
/*#ZenSearchFrom .field-button input.btn_akihabara {
  background: #ffdb43;
  color: #333;
}

#ZenSearchFrom .field-button input.btn_kanda {
  background: #df81ff;
  color: #333;
}

#ZenSearchFrom .field-button input.btn_hommachieast {
  background: #1074af;
  color: #fff;
}

#ZenSearchFrom .field-button input.btn_kuramaewest {
  background: #15477e;
  color: #fff;
}

#ZenSearchFrom .field-button input.btn_minamisenju {
  background: #28883f;
  color: #fff;
  }*/

  #ZenSearchFrom .field-button input:hover,
  #ZenSearchFrom .field-button input:active,
  #ZenSearchFrom .field-button input:focus {
    background: #ccc;
    color: #333;
    border: none;
    transition: .2s;
  }

  /*各店舗のボタンカラー:hover*/
/*#ZenSearchFrom .field-button input.btn_akihabara:hover,
#ZenSearchFrom .field-button input.btn_akihabara:active,
#ZenSearchFrom .field-button input.btn_akihabara:focus {
  background: #ffc500;
  color: #333;
}

#ZenSearchFrom .field-button input.btn_kanda:hover,
#ZenSearchFrom .field-button input.btn_kanda:active,
#ZenSearchFrom .field-button input.btn_kanda:focus {
  background: #cd3cff;
  color: #333;
}

#ZenSearchFrom .field-button input.btn_hommachieast:hover,
#ZenSearchFrom .field-button input.btn_hommachieast:active,
#ZenSearchFrom .field-button input.btn_hommachieast:focus {
  background: #58baea;
  color: #fff;
}

#ZenSearchFrom .field-button input.btn_kuramaewest:hover,
#ZenSearchFrom .field-button input.btn_kuramaewest:active,
#ZenSearchFrom .field-button input.btn_kuramaewest:focus {
  background: #2982e4;
  color: #fff;
}

#ZenSearchFrom .field-button input.btn_minamisenju:hover,
#ZenSearchFrom .field-button input.btn_minamisenju:active,
#ZenSearchFrom .field-button input.btn_minamisenju:focus {
  background: #55d871;
  color: #fff;
  }*/

  .box_baloon {
    display: flex;
    justify-content: center;
    align-items: center;
    animation-delay: .6s;
  }

  .box_baloon p {
    background: #fff;
    color: #333;
    font-weight: bold;
    padding: .2rem .6rem;
    border-radius: .6rem .6rem 0 .6rem;
    position: relative;
    margin: -2rem 1.4rem 0 -8rem;
    -webkit-animation: baloonSwing 5s ease infinite;
    -moz-animation: baloonSwing 5s ease infinite;
    animation: baloonSwing 5s ease infinite;
  }

  .box_baloon p::before {
    content: '';
    display: block;
    border-top: 10px solid transparent;
    border-right: 10px solid transparent;
    border-left: 10px solid #fff;
    border-bottom: 10px solid #fff;
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 10px;
    height: 10px;
    z-index: 0;
  }

  @-webkit-keyframes baloonSwing {
    0%{transform: rotate(0);}
    80%{transform: rotate(0);}
    94%{transform: rotate(-8deg);}
    95%{transform: rotate(10deg);}
    96%{transform: rotate(-5deg);}
    97%{transform: rotate(5deg); }
    100%{transform: rotate(0);}
  }

  @-moz-keyframes baloonSwing {
    0%{transform: rotate(0);}
    80%{transform: rotate(0);}
    94%{transform: rotate(-8deg);}
    95%{transform: rotate(10deg);}
    96%{transform: rotate(-5deg);}
    97%{transform: rotate(5deg); }
    100%{transform: rotate(0);}
  }

  @keyframes baloonSwing {
    0%{transform: rotate(0);}
    80%{transform: rotate(0);}
    94%{transform: rotate(-8deg);}
    95%{transform: rotate(10deg);}
    96%{transform: rotate(-5deg);}
    97%{transform: rotate(5deg); }
    100%{transform: rotate(0);}
  }

  .box_notice {
    border: 2px solid transparent;
    position: absolute;
    top: 2.4rem;
    left: 2.4rem;
    background: rgba(255,255,255,.95);
    padding: 1rem 1.4rem 1rem .6rem;
    z-index: 100;
    transition: .3s;
  }

  .link_notice, .link_notice:hover,.link_notice:active,.link_notice:focus {
    color: inherit;
  }

  .box_notice:hover,.box_notice:active,.box_focus:hover {
    background: rgba(255,255,255,.7);
    border: 2px solid #333;
    transition: .3s;
  }

  .box_notice:hover,.box_notice:active,.box_focus:hover {
    background: rgba(255,255,255,.7);
    border: 2px solid #333;
    transition: .3s;
  }

  .txt_notice {
    margin-right: .4rem;
    margin-left: .4rem;
  }

  .arrow_notice {
    position: absolute;
    top: .8rem;
    right: .8rem;
    font-size: 1.4rem;
    color: #444;
    transition: .3s;
  }

  .box_notice:hover .arrow_notice {
    position: absolute;
    top: .8rem;
    right: .4rem;
    transition: .3s;
  }

  @media (max-width: 992px){
    #ZenSearchFrom {
      background: rgba(255,255,255,0);
      box-shadow: 0 0 0 rgba(0,0,0,0);
      padding: 0;
      position: fixed;
      bottom: -13rem;
      width: 500px;
    }

    #ZenSearchFrom.en {
      width: fit-content;
    }

    #ZenSearchFrom.scroll_hide {
      box-shadow: 0 0 2px rgba(0,0,0,.14);
      background: rgba(255,255,255,1);
      position: fixed;
      bottom: 1rem;
    }

    .box_baloon p {
      margin: 0 1.4rem 0 -8rem;
      font-size: .8rem;
    }

    .header_rsv {
      border-radius: 0;
      font-size: .9rem;
      text-align: center;
      padding: .8rem;
      width: 500px;
      position: fixed;
      bottom: 1rem;
      box-shadow: 0 0 10px rgba(189,189,189,.2);
    }

    .header_rsv.scroll_hide {
      border-radius: .4rem .4rem 0 0;
      padding: .2rem;
      position: initial;
      box-shadow: none;
    }

    .header_rsv .icon_arrow {
      transform: rotate(-90deg);
      line-height: 0;
    }

    #ZenSearchFrom.scroll_hide .header_rsv.scroll_hide .icon_arrow {
      transform: rotate(90deg);
    }

    #searchBox {
      flex-direction: column;
      align-items: flex-start;
      opacity: 0;
      padding: .2rem 1rem .8rem;
      margin-bottom: -10rem;
    }

    .scroll_hide #searchBox {
      opacity: 1;
      margin-bottom: inherit;
    }

    #searchBox fieldset:not(.checkin) {
      margin-top: .5rem;
    }

    .box_line {
      flex-direction: column;
      align-items: baseline;
      margin-bottom: 0.5rem;
    }

    p.field-button {
      width: 100%;
      margin-top: 1rem;
    }

    p.field-button input {
      width: 100%
    }

    .box_notice {
      position: absolute;
      top: 2rem;
      left: 1rem;
      padding: .4rem 1.4rem .4rem .2rem;
    }

    .arrow_notice {
      position: absolute;
      top: .35rem;
      right: .6rem;
      font-size: 1.2rem;
      color: #444;
      transition: .3s;
    }
  }

  @media (max-width: 767px){
    #ZenSearchFrom {
      position: fixed;
      flex-direction: row;
      bottom: -19rem;
      right: 0;
      left: 0;
      margin: 0 auto;
      padding: 0;
      width: 96%;
      z-index: 1000;
    }

    #ZenSearchFrom.scroll_hide {
      position: fixed;
      bottom: .6rem;
    }

    .scroll_hide #searchBox {
      padding: 0.6rem 1rem 1rem;
    }

    .header_rsv {
      border-radius: 0;
      font-size: .9rem;
      text-align: center;
      padding: .8rem;
      position: fixed;
      left: 0;
      right: 0;
      width: 96%;
    }

    .header_rsv.scroll_hide {
     border-radius: .4rem .4rem 0 0;
     padding: .2rem;
     position: initial;
     width: 100%;
     bottom: inherit;
   }

   .box_line {
    margin-bottom: 0;
  }


  #ZenSearchFrom fieldset input {
    height: 20px;
  }

  #ZenSearchFrom .field-button input {
    font-size: .8rem;
    padding: .4rem 1.2rem;
  }

  #ZenSearchFrom fieldset select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
  }
}