@charset "utf-8";

body {
  margin: 0;
  padding: 0;
}

.jtb {
  /* border: 1px solid #949494; */
  /* padding: 20px 2%; */
  /* background: #fafafa; */
  margin: 1em auto;
  max-width: 600px;
  line-height: 140% !important;
}

@media screen and (max-width: 420px) { 
 .jtb {
   margin: 1em 0;
 }
}

.jtb_form * {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-decoration: none;
}
.jtb_form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}
.jtb_form select::-ms-expand {
  display: none;
}
.jtb_form select {
  width: 100%;
  line-height: 1.4;
  vertical-align: middle;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: "";
  color: #333;
  border: 1px solid #bbb;
  padding: 5px 10px 3px 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.jtb_form .select {
  position: relative;
  width: 100%;
}
.jtb_form .select:after {
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  width: 0;
  height: 0;
  margin: auto;
  pointer-events: none;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid #666;
  border-right: 1px solid #666;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}
.jtb_form input[type=text] {
  padding: 5px 10px 3px 5px;
  font-size: 13px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
  border-radius: 3px;
  background-color: #fff;
  border: 1px solid #bbb;
  min-height: 36.6px;
  outline: medium none;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.jtb_form input[type=button],
.jtb_form button {
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 18px;
  background: #eb7308 url(../../../common/images/icon/white/common_icon_find_128.png) center right 10px no-repeat;
  background-size: 28px auto;
  width: 100%;
  cursor: pointer;
}
.jtb_form input[type=button]:hover,
.jtb_form button:hover {
  opacity: 0.8;
}

.jtb_form input::placeholder {
  color: #000000;
}

.jtb_form p, .jtb_form dt {
  font-size: 13px;
  margin-bottom: 5px;
}
.jtb_form dd {
  font-size: 13px;
}
.jtb_form dd label {
  font-weight: bold;
  margin-left: 0.5em;
}
.jtb_form span {
  margin-top: 0.3em;
}
.jtb_form .inputover {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.jtb_form .inputover .input_col2 {
  width: 48%;
}
.jtb_form .itembox {
  padding: 4px 6px;
  margin-bottom: 10px;
}
.jtb_form .itembox.borderbox {
  border-bottom: 2px dotted #ccc;
}
.jtb_form .itemtitle {
  font-size: 17px;
  font-weight: bold;
  padding: 6px;
  border-bottom: 1px solid #949494;
  margin-bottom: 6px;
}
.jtb_form .search_button {
  margin-top: 20px;
  padding: 0 6px;
}
.jtb_form .modal_number dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
}
.jtb_form .modal_number dl dt, .jtb_form .modal_number dl dd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.jtb_form .modal_number dl dt {
  width: 8em;
  background-color: #ededed;
  padding: 10px;
  text-align: center;
  border-bottom: 2px #fff solid;
}
.jtb_form .modal_number dl dd {
  width: calc(100% - 8em);
  padding: 10px;
  margin-bottom: 10px;
}
.jtb_form .modal_number dl dd ul {
  margin: 0;
}
.jtb_form .modal_number dl dd li {
  display: block;
  margin-bottom: 10px;
}
.jtb_form .modal_number dl dd li:last-child {
  margin-bottom: 0px;
}
.jtb_form .modal_number label {
  display: inline-block;
  margin-right: 10px;
}
.jtb_form .modal_number .select {
  display: inline-block;
  width: 6em;
  margin-right: 10px;
}
.jtb_form .modal_number .select select {
  border-radius: 5px;
}
.jtb_form .btnbox {
  text-align: center;
  margin-top: 10px;
}
.jtb_form .btnbox a {
  display: inline-block;
  padding: 8px 40px;
  background-color: #000;
  color: #fff;
}
.modal_area {
  position: relative;
}
.modal_area ul {
  margin: 0;
  padding: 0;
}
.modal_area li {
  display: block;
  width: 100%;
}
.modal_area dl {
  width: 100%;
}
.modal_area dl dt {
  width: 14em;
  background-color: #ededed;
  padding: 5px 20px;
  border-bottom: 1px #ccc solid;
}
.modal_area dl dt.act {
  background-color: #000;
  color: #fff;
}
.modal_area dl dd {
  display: none;
  position: absolute;
  top: 0;
  left: 14em;
  padding: 10px 20px;
  background: #fff;
}
.modal_area dl dd li {
  width: 100%;
  border-bottom: 1px #ccc solid;
  padding: 5px 20px;
}

.md-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.7;
  z-index: 9999;
}

.md-contents {
  display: none;
  position: fixed;
  top: 10px;
  left: 50%;
  width: 95%;
  max-width: 600px;
  height: auto;
  max-height: 100%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 10000;
  overflow-y: scroll;
}

.md-inner {
  padding: 24px 20px;
  background: #fff;
  height: auto;
}

.md-xmark {
  position: absolute;
  top: 34px;
  right: 20px;
  width: 25px;
  height: 22px;
  z-index: 9999;
  cursor: pointer;
}

.md-xmark span {
  height: auto;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
}

.md-xmark span:nth-of-type(1) {
  top: 0;
  -webkit-transform: translateY(10px) rotate(-45deg);
          transform: translateY(10px) rotate(-45deg);
}

.md-xmark span:nth-of-type(2) {
  bottom: 0;
  -webkit-transform: translateY(-10px) rotate(45deg);
          transform: translateY(-10px) rotate(45deg);
}

.batsu {
  display: block;
  width: 30px;
  /*枠の大きさ*/
  height: 30px;
  /*枠の大きさ*/
  position: relative;
}

.batsu::before, .batsu::after {
  content: "";
  display: block;
  width: 100%;
  /*バツ線の長さ*/
  height: 2px;
  /*バツ線の太さ*/
  background: #000;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: 0% 50%;
          transform-origin: 0% 50%;
  position: absolute;
  top: calc(14% - 5px);
  left: 14%;
}

.batsu::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  -webkit-transform-origin: 100% 50%;
          transform-origin: 100% 50%;
  left: auto;
  right: 14%;
}

@media screen and (max-width: 420px) {
  .inputover.layout2 {
    display: block;
  }
  .inputover.layout2 .input_col2 {
    width: 100%;
    margin-bottom: 10px;
  }

  .jtb_form input[type=text], .jtb_form select {
    font-size: 16px;
  }
  .jtb_form p, .jtb_form dt {
    font-size: 16px;
  }
  .jtb_form dd {
    font-size: 14px;
  }

  .jtb_form dd label {
    font-weight: bold;
    margin-left: 0.5em;
  }
  .jtb_form span {
    margin-top: 0.3em;
  }

  .jtb_form .modal_number dl dt {
    width: 100%;
    float: none;
  }
  .jtb_form .modal_number dl dd {
    padding-left: 0;
  }
  .jtb_form .modal_area {
    padding-top: 30px;
  }
  .jtb_form .modal_area dl dt {
    width: 100%;
  }
  .jtb_form .modal_area dl dd {
    position: static;
    padding: 10px 0px;
  }
}

/*Datepicker*/

.ui-datepicker-calendar .day-sunday > a,
.ui-datepicker-calendar .day-holiday > a {
  background: #ffc0c0;
  color: #f00!important;
}
.ui-datepicker-calendar .day-saturday > a {
  background: #c0d0ff;
  color: #00f!important;
}

td.ui-datepicker-week-end a.ui-state-hover{
  opacity: 0.8;
}

td.ui-datepicker-week-end a.ui-state-highlight{
  background-color: #fffa90!important;
}

/* ------------ added by pam ------------ */

.jtb_form * {
  font-family: "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",osaka,Arial,Helvetica,Verdana,sans-serif;
}

.jtb_form a.md-btn {
  padding: 5px 10px 3px 5px;
  font-size: 13px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset;
  border-radius: 3px;
  background-color: #fff;
  border: 1px solid #bbb;
  min-height: 36.6px;
  outline: medium none;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block;
  color: #333;
}

.jtb_form select {
  min-height: 36.6px;
  background-color: #fff;
}

@media screen and (max-width: 420px) {
  .jtb_form a.md-btn {
    font-size: 16px;
  }
}

 /* モーダルの基本スタイル */
 .modal {
  font-family: "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック",osaka,Arial,Helvetica,Verdana,sans-serif;
  font-size: 14px;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}


.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 300px;
  text-align: center;
}

@media screen and (max-width: 420px) {
.modal-content {
  width: calc(100% - 60px);
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  max-width: 300px;
}
}
.counter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}
.counter-btn {
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #cee7fa;
  color: #1975e6;
}
.count {
  width: 50px;
  text-align: center;
  font-size: 18px;
  margin: 0 5px;
}
.modal-footer {
  margin-top: 20px;
}

.counter-container-box {
  
display: flex;
}

 /* 日曜・祝日を赤、土曜を青にする */
.ui-datepicker-sunday a, .ui-datepicker-holiday a {
  background-image: none !important;
    background-color: #ffdddd !important;
    color: #f00 !important;
}
.ui-datepicker-saturday a {
  background-image: none !important;
    background-color: #e0f0ff !important;
    color: #2b6cff !important;
}

#confirm-btn {
  padding: 0;
  font-size: 14px;
  border: none;
  background: #1975e6;
  color: #fff;
  width: 100px;
  height: 30px;
  line-height: 30px;
  border-radius: 15px;
}