@charset "utf-8";
/* モーダル */
#modal {
  width:100%;
  max-width: 740px;
  border:2px solid #aaa;
  background:#f2f2f2;
  z-index:1003;
  position:fixed;
  display: none;
}
#modal-content,#modal-content2 {
  padding:10px 20px;
  position: relative;
}
#modal-overlay {
  z-index:1002;
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:120%;
  background-color:rgba(0,0,0,0.75);
}
.modal-p {
  margin-top:1em;
}

.modal-p:first-child {
  margin-top:0;
}

.button-link {
  color:#00f;
  text-decoration:underline;
}
 
.button-link:hover {
  cursor:pointer;
  color:#f00;
}

#modal2 {
  width:100%;
  max-width: 740px;
  border:2px solid #aaa;
  background:#fff;
  z-index:1005;
  position:fixed;
  display: none;
}
#modal-overlay2 {
  z-index:1004;
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:120%;
  background-color:rgba(0,0,0,0.75);
}
.search_text {
  font-size: 1.8rem;
  font-weight: bold;
}
.departure_airport {
  text-align: center;
}
.departure_airport .m-frm-select {
  width: 40%;
}
.departure_box {
  text-align: justify;
}
.departure_day {
  display: inline-block;
  width: 48%;
}
.return_day {
  display: inline-block;
  width: 48%;
}
.departure_box:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 0;
}
.m-frm-txt {
  display: flex;
}
.m-frm-txt input {
  margin-right: 10px;
}
.m-frm-select .selector {
  height: 100%;
  margin: 0;
  padding: 10px 17px 10px 10px;
  font-family: \30D2\30E9\30AE\30CE\89D2\30B4\20\50\72\6F\20\57\33, "Hiragino Kaku Gothic Pro", \30e1\30a4\30ea\30aa, Meiryo, \FF2D\FF33\20\FF30\30B4\30B7\30C3\30AF, "MS PGothic", sans-serif;
  text-indent: 0.01px;
  text-overflow: '';
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 3px;
  border: none;
  background: #fff;
}
.participant_text {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.participant {
  text-align: justify;
}
.participant:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 0;
}
.participant_contents {
  display: inline-block;
  width: 48%;
}
.participant_contents .m-frm-select {
  display: block;
}
.participant_contents a#modal-in-modal {
  cursor: default;
}
.participant_contents a#modal-in-modal:hover {
  opacity: 1;
  text-decoration: none;
}
.m-frm-select select {
  width: 100%;
}
.ui-datepicker-trigger {
  flex: none;
}
.m-line-m {
  margin: 20px 0;
  border-bottom: 1px solid #d1d1d1;
}
#modal-content2 .m-hdg {
  font-size: 1.6rem;
  font-weight: bold;
  margin : 20px 0;
}
#modal-content2 .num-select {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -20px;
}
#modal-content2 .num-select-content {
	padding: 0 0 0 20px;
  margin-top: 10px;
}
@media screen and (min-width: 768px) {
  #modal-content2 .num-select .num-select-content {
    width: 50%;
  }
  #modal-content2 .num-select .num-select-content:nth-child(-n+2) {
    margin-top: 0px;
  }
  #modal-content2 .num-select .num-select-content .m-frm-select {
    width: 100%;
  }
  #modal-content2 .num-select[data-type="ch"] .num-select-content label {
    width: 32%;
    display: inline-block;
    padding-right: 5px;
  }
  #modal-content2 .num-select[data-type="ch"] .num-select-content .m-frm-select {
    width: 60%;
  }
  #modal-content2 .num-select .num-select-content .m-frm-select select {
    width: 100%;
  }
}
@media screen and (max-width: 767px), (max-height: 640px) {
  .m-line {
    margin: 20px 0;
  }
  .departure_airport {
    text-align: left;
  }
  .departure_day {
    display: block;
    width: 100%;
  }
  .return_day {
    display: block;
    width: 100%;
  }
  .participant_contents {
    display: block;
    width: 100%;
  }
  #modal,#modal2 {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    max-height: 80vh;
    margin: auto;
  }
  #modal-content,#modal-content2 {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #modal-content2 .num-select {
    flex-direction: column !important;
    margin-left: 0 !important;
  }
  #modal-content2 .num-select .num-select-content {
    margin: 10px 0 0 0;
    width: 100%;
    padding: 0 !important;
  }
  #modal-content2 .num-select .num-select-content:first-child {
    margin-top: 0 !important;
  }
  #modal-content2 .num-select-content label {
    display: inline-block;
    width: 7rem;
    padding-right: 5px;
  }
  #modal-content2 .num-select .num-select-content .m-frm-select {
    width: 70%;
  }
  #modal-content2 .num-select .num-select-content .m-frm-select select {
    width: 100%;
  }
  #modal-content2 .num-select[data-type="ch"] .num-select-content label {
    width: 40%;
    display: inline-block;
    padding-right: 5px;
  }
  #modal-content2 .num-select[data-type="ch"] .num-select-content .m-frm-select {
    width: 58%;
  }
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  transition:0s;
}
.m-modal-close {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 20px;
  right: 20px;
  white-space: nowrap;
  overflow: hidden;
  border: none;
  background: none;
}
.selector-hide {
  display: none;
}

.ui-datepicker-calendar td.is-sat .ui-state-default {
  color: #134490;
}
.ui-datepicker-calendar td.is-holiday .ui-state-default{
  color: #da0303;
}

/* その他タイムセールボタン追加対応 */

.t-modal-open{
  text-align: center;
}
.t-modal-open_i{
  border: none;
}

.airports {}
.airports:not(.visible-arr) .arrive_airport {
  display: none;
}
.airports.visible-arr::after {
  content:'';
  display: block;
  clear: both;
}
.airports.visible-arr .departure_airport .m-line {
  display: none;
}
.airports:not(.visible-arr) > .m-line {
  display: none;
}
.airports.visible-arr .departure_airport{
  display: block!important;
}
.airports.visible-arr .arrive_airport {
  display: block!important;
}
@media (min-width:768px){
  .airports.visible-arr .departure_airport{
    float: left;
    width: 48%;
  }
  .airports.visible-arr .arrive_airport {
    float: right;
    width: 48%;
  }
}
.airports.visible-arr label,
.airports.visible-arr .m-frm-select{
  display: block;
  width: 100%;
}
.airports.visible-arr label {
  text-align: left;
}