h1{
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin:50px;
}
body{
  margin:0;
  padding:0;
}

.headlogo{
  background: #fff;
  margin:0;
  height:60px;
}
.reserve_main_area{
  background: #98d7e1;;
}
.reserve_side_area{
  background: #edb244;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.inr {
  color: #333;
  margin-top: 8px;
  background-color: #fff;
  padding: 12px;
  border-radius: 5px;
  width:80%;
  line-height: 1.8;
}
.complement{
  margin:20px 5px 20px 25px;
  width: 90%;
  color:#fff;
  font-size: 13px;
}

.submit_button{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top:0px;
}
input[type="submit"] {
  font-size: 16px;
  font-size: 1rem;
  background-color: #DC0000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 20px 20px;
  display: inline-block;
  min-width: 200px;
  max-width: 400px;
  box-sizing: border-box;
  border:none;
  outline:none;
  border-radius: 5px;
  transition: opacity 0.2s ease;
  cursor:pointer;
  margin:20px 0;
}

input[type="submit"][disabled]{
  background-color: #dbdbdb;
  cursor:default;
}
h3{
  font-size:17px;
  color:#fff;
}
h3>span{
  font-size: 12px;
}
dl,dd{
  margin:0;
  padding:0;
}
.reserve_side_area dt,.reserve_side_area dd{
  display:inline-block;
  font-weight: 600;
  font-size: 15px;
}
.reserve_side_area dt{
  width:55%;
}
.reserve_side_area dt dd{
  width:40%;
  margin:0;
  text-align: right;

}
#calccommon{
  padding-bottom:20px;
  border-bottom: 1px solid #ccc;
  margin-bottom:20px;
}
.reserve_main_area h3{
  text-align: center;
  color:rgb(220,0,0);
  font-weight:700;
  font-size: 18px;
  margin:0;
  line-height: 2;
}
.reserve_main_area h4{
  font-size:14px;
  margin:0;
}
.reservation_area h4::before{
  content:'▼';
  padding:5px;
}
.main1 p{
  margin:15px 0 15px 18px;
  color:rgb(51,51,51);
  font-size:14px;
  line-height: 1.3;
}
.main2 p{
  margin:0;
  font-size:14px;
  color:rgb(51,51,51);
  line-height: 1.1;
}
.main2{
  width:90%;
  max-width:550px;
  padding:10px;
  height:250px;
  margin:0 auto 10px;
  border-radius: 6px;
  background-color: #fff;
}
.main3{
  width:90%;
  max-width:550px;
  padding:10px;
  height:auto;
  margin:0 auto 10px;
  border-radius: 6px;
  background-color: #fff;
}
.carClassBlock{
  width:100%;
  max-width:550px;
  height:auto;
  margin:0 auto;
  border-radius: 6px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content:space-around;
  flex-wrap:wrap;
}

.cl_block{
  display: flex;
  align-items: center;
  justify-content: center;
  width:275px;
  line-height: 1.5;
  margin:5px 0;
  position: relative;
  font-size:15px;
}
.car-type{
  position:absolute;
  left:10px;
  top:92px;
}


.carClassBlockInner{
  border:3px solid #e8e8e8;
  border-radius:5px;
  padding:15px;
  width:85%;
}
input[type="radio"]:checked + .carClassBlockInner{
  border-color: #DC0000;
}
.car_class{
  font-size: 80%;
  line-height: 1;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  background-color: #DC0000;
  padding: 3px 5px;
  border-radius: 3px;
  margin-right: 0.2em;
}

#hoshoinfo + ul,.sec-options > ul{
  list-style: none;
}
.ins1_wrap{
  position: relative;
}
.li-insurance1{

  display: flex;
  align-items: center;
  justify-content: center;
  width:80%;
  background:#ffebeb;
  padding-left:30px;
  line-height: 1.1;
  border:3px solid #e8e8e8;
  border-radius: 5px;
  padding:10px 10px 10px 40px;
  margin-bottom:10px;
}
.li-insurance2{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width:80%;
  padding-left:30px;
  line-height: 1.1;
  border:3px solid #e8e8e8;
  border-radius: 5px;
  padding:10px 10px 10px 40px;
  margin-bottom:10px;
}
.insurance{
  position: absolute;
  top:40px;
  left:10px;
  z-index: 1;
}
.safety{
  display:inline-block;
  color:#fff;
  background:#DC0000;
  padding:5px;
  margin:5px;
  font-size:14px;
  font-weight:bold;
}
.safety2{
  display:inline-block;
  color:#fff;
  background:#edb244;
  padding:5px;
  margin:5px;
  font-size:14px;
  font-weight:bold;
}
.box_red{
  color:#DC0000;
  font-size:14px;
  font-weight:bold;
}
.ins_c1{
  font-size:14px;
  line-height: 1.5;
}
input.insurance:checked ~ .li-insurance1{
  border-color: #DC0000;
}
input.insurance:checked ~ .li-insurance2{
  border-color: #DC0000;
}
.sec-options li{
  margin-top:20px;
  border-top:1px dotted #ccc;
}
.sec-options li{
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.box-img{
  width:180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-img img{
  width:100%;
}
.box-txt{
  width:100%;
  line-height: 1.6;
  padding:10px 0 0 20px;
}
.box-txt h4::before{
  content:'';
}
.select_language{
  font-size:14px;
}
#startpickup_info,#endpickup_info{
  background-color: #f5f5f5;
    margin-top: 0.5em;
    padding: 2%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    height: 150px;
    transition: all 0.3s;
}
#startpickup,#endpickup{
  position:absolute;
  top:90px;
  left:20px;
  width:69px;
}
#arrival,#leave{
  position:absolute;
  top:90px;
  left:100px;
  width:70%;
}
.hide{
  display:none;
}
input.input1{
  width:90%;
}
.box-cell{
  position: relative;
}
.box-cell label{
  font-weight: bold;
  text-align: center;
  width: 100%;
  padding: 9px 9px 9px 40px;
  border: solid 3px #e8e8e8;
  box-sizing: border-box;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#license{
  position: absolute;
  left: 23px;
  top: 40%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
input#license:checked ~ label{
  border-color: #DC0000;
}
.box-cell2,.list-kome,.payment{
  padding-top:10px;
  line-height: 1.5;
  font-size:13px;
}
textarea{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    border: solid 1px #a0bac9;
    border-radius: 3px;
    box-shadow: 0px 5px 2px -3px rgba(0, 0, 0, 0.05) inset;
    padding: 8px 10px;
    margin: 5px 0;
    vertical-align: middle;
    background-color: #FFF;
    box-sizing: border-box;
    width: 90%;
}


@media screen and (max-width: 700px){
  .carClassBlock{
    display:block;
    width:100%;
    margin:0;
    padding:0;
  }
  .cl_block{
    position: relative;
    display:inline-block;
    box-sizing: border-box;
    width:49%;
    margin:0 0 5px 0;
    padding:0 0 10px 0;
    font-size:13px;
    line-height:1.7;
  }
  .car-type{
    position:absolute;
    left:5px;
    top:60px;
  }
  .cl_block img{
    width:140px;
  }
}
@media screen and (max-width: 580px){
  .carClassBlockInner{
    width:75%;
  }
  .car-type{
    left:1px;
    top:60px;
  }
  .sec-options li{
    display: flex;
    flex-direction: column;
  }
  .box-img img{
    width:130px;
  }
  #startpickup_info{
    height:200px;
  }
  #startpickup{
    top:97px;
    left:10px;
  }
  #arrival{
    top:145px;
    left:10px;
    width:83%;
  }



}
@media screen and (max-width: 390px){
  .car_person{
    font-size:12px;
  }
  .cl_block img{
    width:110px;
  }
  .block2{
    text-align:center;
  }
  .car_class{
    margin:0 35px;
  }
}
.carClassBlockInner{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.datepicker{
  width:150px;
}
.classic{
  width:150px;
}
#startshop,#endshop{
  width:90%;
}
input[type=text],input[type=email],input[type=tel],select{
  font-size:1rem;
  border:solid 1px #a0abc9;
  border-radius:3px;
  box-shadow:2px 2px 4px gray;
  padding:10px 10px;
  margin-bottom:10px;
  /* width:90%; */
}
input[type=text]{
  margin-right:10px;
}
.flatpickr-monthDropdown-months{
  box-shadow:none;
}
.phone-injapan{
  font-size: 13px;
  padding-top:10px;
  line-height: 1.4;
}
.payment{
  line-height: 1.3;
}

/* 幅960以下 */
@media screen and (max-width: 960px){
  .reservation_area{
    width:100%;
    margin:0 auto;
    display:flex;
    flex-direction: column;
  }
  .reserve_main_area{
    width: 90%;
    margin:0 auto;
    line-height: 3;
    height:auto;
  }
  .reserve_side_area{
    margin:0 auto;
    width: 90%;
  }
  .complement{
    max-width: 600px;
    font-size: 14px;
  }
  .main2{
    height:auto;
  }
}



/* 960幅以上 */
@media screen and (min-width: 960px){
  .headlogo{
    width:100%;
    max-width: 960px;
    margin:0 auto;
    justify-content: space-between;

  }
  .reservation_area{
    width:960px;
    margin:0 auto;
    display:flex;
    justify-content: space-between;
    /* padding-bottom:50px; */
  }
  .reserve_main_area{
    width: 660px;
    line-height: 3;
  

  }
  .reserve_side_area{
    position: sticky;
    top: 20px;
    width: 280px;
    height:auto;
    max-height:540px;
  }
}

@media screen and (max-width: 600px){
  .reserve_main_area,.reserve_side_area{
    width:100%;
  }
}
