/* -----------------------------------------------------------
	.reservebox 空室検索
----------------------------------------------------------- */
/* Reset
--------------------- */
button,
input,
select {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.btn,
button,
input[type=button],
input[type=date],
input[type=password],
input[type=search],
input[type=submit],
input[type=text],
select {
    border-radius: 0;
    border: 1px solid #bbb;
}
.reservebox input[type=date],
.reservebox input[type=password],
.reservebox input[type=search],
.reservebox input[type=text] {
    margin: 0;
    padding: 8px;
    font-size: inherit;
    line-height: 24px;
    height: 42px;
}
select {
    line-height: 40px;
    height: 42px;
    padding-left: 10px;
    background-color: #fff;
    border-radius: 0;
}
input[type=date]:hover,
input[type=password]:hover,
input[type=search]:hover,
input[type=text]:hover,
select:hover {
    border-color: #4d6396;
}
.btn,
button,
input[type=button],
input[type=submit] {
    line-height: 40px;
}
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}



/* Construction
--------------------- */
.section.section-reservebox {
    background-color: #f6f4ef;
	}
.section > .inner {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.section.section-reservebox > .inner {
	max-width: 980px;
	}
.reservebox {
	position: relative;
    }
.reservebox form {
    padding-bottom: 15px;
	}
.reservebox.in {
	min-width: 980px;
    }
.reservebox.in form {
	margin-left: 160px;
	margin-right: 120px;
	padding-top: 20px;
	min-height: 90px;
    }
@media(max-width:768px) {
	.section.section-reservebox > .inner {
	clear:both;
	padding-top: 15px;
	}
	.reservebox.in {
	padding-bottom: 30px;
	}
	.reservebox.in form {
	padding-top: 10px;
    }
}
.ui-datepicker {
	font-size: 16px;
    }
#ui-datepicker-div {
	z-index: 10000 !important;
    }


/* Selecter
--------------------- */
.form_selecter {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	width: 100%;
	border-bottom: 2px solid #00275e;
	font-size: 0;
	color: #fff;
	}
.form_selecter > li {
	color: inherit;
	display: inline-block;
	text-align: center;
	padding: 0;
	margin: 0;
	cursor: pointer;
	width: -webkit-calc(50% - 1px);
	width: calc(50% - 1px);
	font-size: 14px;
	line-height: 36px;
	height: 36px;
	position: relative;
	vertical-align: top;
	border-radius: 2px 2px 0 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	}
	.form_selecter > li:first-child {
    margin-right: inherit;
	}
	.form_selecter > li:last-child {
    margin-left: inherit;
	}
	.form_selecter > li:last-child:before {
	content: inherit;
	}
	.form_selecter > li[data-selected='1'] {
    background-color: #00275e;
	}
	.form_selecter > li[data-selected='0'] {
	height: 34px;
	background-color: #8390a3;
	color: #f1efee;
	}
@media(min-width:769px) {
.form_selecter {
	position: absolute;
	width: auto;
	left: -34px;
	top: 28px;
	color: inherit;
	border-bottom: 0;
	margin: 0 0 20px;
    }
	.form_selecter li {
	font-size: 14px;
	width: auto;
	padding: 0 10px 0 22px;
	height: auto;
	line-height: normal;
	color: inherit;
	text-shadow: 0 0 1px #fff;
    }
    .form_selecter li:before {
	display: block;
	line-height: 22px;
	text-align: center;
	font-size: 32px;
	margin: 10px 0 6px;
    }
	.form_selecter > li:first-child {
	margin-right: 1px;
	}
	.form_selecter > li:first-child:before {
	content: url(/images/search/ic_hotel.png);
	}
	.form_selecter > li:last-child {
	margin-left: 1px;
	}
	.form_selecter > li:last-child:before {
	content: url(/images/search/ic_flight_hotel.png);
	}
    .form_selecter li:last-child {
	padding: 0 15px;
    }
    .form_selecter li[data-selected='0'],
    .form_selecter li[data-selected='1'] {
	height: 56px;
	margin: 0;
	background-color: transparent;
    }
    .form_selecter li[data-selected='0'] {
	color: #a5978f;
    }
    .form_selecter li[data-selected='1'] {
	color: #635249;
    }
    .form_selecter li:after,
    .form_selecter li[data-selected='1']:after {
	content: "";
	position: absolute;
	left: 0;
	top: 20px;
	display: inline-block;
	border: 1px solid #fff;
	background-color: #fff;
	width: 14px;
	height: 14px;
	margin: 0;
	border-radius: 7px;
	-ms-box-shadow: inset 0 1px 3px #bbb;
	-webkit-box-shadow: inset 0 1px 3px #bbb;
	box-shadow: inset 0 1px 3px #bbb;
    }
    .form_selecter li[data-selected='1']:after {
	background-color: #ef853f;
	border: 1px solid #ef853f;
	-ms-box-shadow: inset 0 0 0 1px #fff;
	-webkit-box-shadow: inset 0 0 0 1px #fff;
	box-shadow: inset 0 0 0 1px #fff;
    }
}



/* Link box
--------------------- */
.reservebox .links {
    font-size: 11px;
	position: absolute;
	top: 2px;
	right: 0;
	width: 120px;
	text-align: center;
	margin-top: 0;
	padding: 0 0 0 15px;
	border-left: 2px dotted #cec6c0;
    }
.reservebox.in .links {
	top: 14px;
    }
.reservebox .to_airplan,
.reservebox .to_list {
    display: inline-block;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    min-width: inherit;
	}
.reservebox.in .to_airplan,
.reservebox.in .to_list {
	display: block;
	width: auto;
	margin-left: 0;
    }
    .reservebox.in .to_list {
	margin-bottom: 10px;
    }

.linkbox {
    direction: ltr;
    display: block;
    line-height: 38px;
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    margin-bottom: 0.5em;
    border-radius: 2px;
    color: #3d3d3d;
    border: 1px solid #bebebe;
    background-color: #fff;
    line-height: 1.4;
    padding-top: 9px;
    padding-bottom: 9px;
	}
	.linkbox:hover {
    border-color: #888;
	}
@media(min-width:768px) {
    .linkbox {
	display: inline-block;
	min-width: 220px;
    }
}


/* Confirm & Cancel
--------------------- */
.reservebox .to_check {
    display: block;
    text-align: center;
    margin: 8px auto 0;
    border: 1px solid transparent;
    background-color: transparent;
    margin-bottom: 0;
    width: 99%;
    font-size: 12px;
	}
.reservebox.in .to_check {
	position: absolute;
	right: 152px;
	top: 90px;
	line-height: 1;
	padding: 0;
	display: inline-block;
	width: auto;
	min-width: 0;
	border: 0;
	font-size: 11px;
    }
	.reservebox.in .to_check::before {
	content: url(/images/search/ic_arrow.png);
	margin-right: 7px;
    }
    .reservebox.in .to_check:hover {
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #96784d;
    }


/* Airpack (iframe)
--------------------- */
.airpackform {
	position: absolute;
	top: 12px;
	left: 160px;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 2;
	background-color: #f6f4ef;
	display: none;
	}
	.airpackform iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	}
@media(max-width:768px) {
.airpackform {
	top: 60px;
	left: 0;
	right: 0;
	bottom: 0;
	}
    .reservebox.in {
	min-width: inherit;
    }
}




/* 項目文字
--------------------- */
.reservebox > * em {
	display: block;
	font-size: 12px;
	color: #474747;
	margin-bottom: 5px;
	}
.reservebox > * > span {
	color: #474747;
	margin-left: 5px;
	font-size: 100%;
	}


/* 年月日
--------------------- */
.reservebox form input[type="text"], .reservebox form select {
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
}
.reservebox .box_day {
	margin-right: 10px;
	overflow: hidden;
	float: left;
	}
	.reservebox .box_day label {
	display: block;
	float: left;
	}
	.reservebox .box_day span {
	margin: 0 7px;
	}
	.reservebox .box_day input {
	width: 20px;
	}
	.reservebox .box_day input#year {
	width: 40px;
	}
	/* datepickerの位置 */
	.ui-datepicker-trigger {
     margin: 7px 0 0 4px;
	 cursor: pointer;
	}

/* 泊数、大人数、室数
--------------------- */
.reservebox .box_sta,
.reservebox .box_adu,
.reservebox .box_roo {
	margin: 0 7px;
	float: left;
	}
	.reservebox .box_sta select,
	.reservebox .box_adu select,
	.reservebox .box_roo select {
	width: 60px;
	}

/* 子供数
--------------------- */
.reservebox .box_chi {
	width: 60px;
    margin: 35px 3px 0 0;
	padding: 0;
	text-align: center;
	font-size: 12px;
	float: left;
	}
	.reservebox .box_chi a {
	text-decoration: underline;
	color: #093;
	cursor: pointer;
	}
	.reservebox .box_chi strong {
	margin: 0 3px;
	font-weight: normal;
	}

/* ボタン
--------------------- */
.reservebox form .btn_submit input {
    width: 100px;
    float: left;
    color: #fff;
    background: #f60;
	border: none;
    text-align: center;
    margin: 23px 0 0;
    cursor: pointer;
    padding: 0 4px;
	box-sizing: border-box;
	}
.reservebox .cancel {
	clear: both;
	padding: 5px 0 0;
	text-align: right;
	font-size: 11px;
	}
@media(max-width:768px) {
	.reservebox .box_day {
	margin-right: 0;
	float: inherit;
	width: 100%;
	}
	.reservebox .box_day label {
	width: 28%;
	}
	.reservebox .box_day input {
	width: 40%;
	}
	.reservebox .box_day input#year {
	width: 40%;
	}
	.reservebox .box_sta {
	margin: 7px 0;
	width: 28%;
	}
	.reservebox .box_chi {
	margin: 7px 0;
	width: 30%;
	}
	.reservebox form .btn_submit input {
    margin: 23px 0 0 0;
    width: 100%;
    float: inherit;
	}
	.reservebox .to_list {
    width: 45%;
	}
	.reservebox .to_airplan {
    width: 50%;
    margin-left: 2.5%;
	}
	.reservebox .to_check {
    width: inherit;
	}
	.reservebox.in .to_check::before {
    content: url(/images/search/ic_arrow.png);
	margin-right: 7px;
    }
}	



/* Child Panel
--------------------- */
#layer {
    display: none;  /* 初期表示は非表示 */
    position: absolute; 
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
	}
#popup {
    display: none;  /* 初期表示は非表示 */
    position: absolute; 
	padding: 20px;
    left: 20%;
    top: 58%;
    width: 600px;
    height: 100px;
    background-color: #fff;
    opacity: 0.96;
    border-radius: 5px;
    text-align: center;
	z-index: 100;
	}
	#popup .box_pan {
	width: 120px;
    margin: 0;
	padding: 0;
	text-align: center;
	font-size: 14px;
	float: left;
	}
	#popup input#close {
	position: absolute;
	right: 10px;
	bottom: 10px;
	cursor: pointer;
	border: 0px;
	width: 20px;
	height: 20px;
	background: url(../images/search/ico_close.png) left top no-repeat;
	background-size: 20px 20px;
	}
@media(max-width:768px) {
#popup {
    left: -3.5%;
    top: 40%;
    width: 95%;
    height: 200px;
	}
	#popup .box_pan {
	width: 48%;
	margin-bottom: 10px;
	}

    .reservebox.in form {
	margin-left: inherit;
	margin-right: inherit;
    }
    .reservebox.in .links {
	position: inherit;
	top: inherit;
	right: inherit;
	width: inherit;
	padding: inherit;
	border-left: inherit;
    }
    .reservebox.in .to_airplan,
    .reservebox.in .to_list {
	display: block;
	margin-left: 0;
	text-align: center;
    }
    .reservebox.in .to_list {
	margin-bottom: 10px;
    }
    .reservebox.in .to_check {
	position: inherit;
	right: inherit;
	top: inherit;
	display: inherit;
    }
}

















