@charset "UTF-8";
header{
  position:relative;
  padding:0;
  background:#fff;
  border-bottom:1px solid #E0E0E0;
  z-index:20;
}
#header{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:640px;
  height:70px;
  margin:0 auto;
  padding:0;
  top:0;
  background:#fff;
}
div#logo{
  width:200px;
  margin:0;
  padding:0;
}
div#logo img{
  display:inline-block;
  vertical-align: bottom;
}

#header div.reservation-btn a{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  font-size:14px;
  line-height:1;
  letter-spacing:0.25pt;
  text-decoration:none;
  width:200px;
  height:45px;
  background:#DB1A1A;
  border-radius:25px;
  padding-left:30px;
  transition:0.3s ease;
  z-index:0;
  overflow:hidden;
}

#header div.reservation-btn a::after{
  position:absolute;
  content:"";
  display:inline-block;
  width:20px;
  height:18.28px;
  top:50%;
  left:30px;
  transform:translateY(-50%);
  background:url(../img/icon/reservation_i.svg) center/contain no-repeat;
}

#header div.reservation-btn a::before {
  background: #E92B66;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform-origin: right top;
  transform: scale3d(0, 1,1);
  transition: transform 0.3s;
  z-index:-1;
}

#header div.reservation-btn a:hover::before{
  transform-origin: left top;
  transform:scale3d(1,1,1);
}

/*
footer{
  padding:15px;
  margin:0 auto;
  background:#0068B7;
}
footer #copyright{
  color:#fff;
  font-size:14px;
  line-height:1;
  font-weight:500;
  text-align:center;
}
*/

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

#header{padding:0 15px;}

}

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

#header{height:50px}
div#logo{width:150px;} 

#header div.reservation-btn a{
  font-size:12px;
  font-weight:600;
  letter-spacing:0;
  width:150px;
  height:30px;
  border-radius:15px;
  padding:0 5px 0 0;
}
#header div.reservation-btn a::after{
  right:15px;
  left:auto;
  transform:translateY(-50%) rotate(45deg);
  margin-top:1px;
  width:6px;
  height:6px;
  border-top:1px solid #fff;
  border-right:1px solid #fff;
  background:none;
}

footer #copyright{font-size:12px;}

}

/* 以下に記述してください */

div.column-type {
  align-items: center;
}
div.contract-wrap input[name="start_date"] {
  font-size: 16px;
  display: inline-block;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  padding: 12px;
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
  border: none;
  color: #273343;
  background: #fff;
  border: 1px solid #e0e0e0;
}

div.contract-wrap button.sub-btn {
  position: relative;
}
.hide-area,
div.contract-wrap span.mail_comp {
  display: none;
}
form .check-error {
  border: 2px solid #f00 !important;
  outline: none;
}
#error-modal {
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,.3);
}
#error-modal .inner {
  position: relative;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 50%;
  width: 90%;
  max-height: 250px;
  max-width: 500px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  font-size: 16px;
  text-align: center;
}
#error-modal .caption {
  display: block;
  margin-bottom: 20px;
  padding: 5px;
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid #eee;
}
#error-modal .body>span:first-child {
  display: block;
  color: #E92B66;
}
#error-modal .body>span:last-child {
  display: block;
}
#error-modal .body button {
  display: inline-block;
  margin: 20px auto;
  padding: 5px;
  width: 240px;
  background: #fff;
  border: 1px solid #f00;
  border-radius: 5px;
  color: #f00;
  cursor: pointer;
}
div.column-type {
  flex-wrap: wrap;
}
span.error-msg {
  display: block;
  color: #f00;
}
