@charset "utf-8";

/* ====================================================
	Tour Search Bundle CSS (Fixed Structure)
	Restored flat structure for independent components
==================================================== */

/* --- [1] Global Resets & Common Utilities (from common.css) --- */
ul,
menu,
dir {
	display: block;
	list-style-type: none;
}

*,
p,
img,
span,
div,
article,
section,
li {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
	-webkit-padding-start: 0;
}

body {
	font-weight: 400;
	font-size: 12px;
	font-family: Verdana, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

a {
	outline: none;
	color: #004098;
	text-decoration: none;

	&:hover,
	&:focus {
		color: #69606b;
	}
}

.clearfix {

	&::before,
	&::after {
		display: table;
		content: '';
	}

	&::after {
		clear: both;
	}
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.top {
	vertical-align: top !important;
	margin-top: 0;
	margin-bottom: auto;
}

.middle {
	vertical-align: middle !important;
	margin-top: auto;
	margin-bottom: auto;
}

.bottom {
	vertical-align: bottom !important;
	margin-top: auto;
	margin-bottom: 0;
}

.align_left {
	text-align: left !important;
}

.align_center {
	text-align: center !important;
}

.align_right {
	text-align: right !important;
}

/* Utilities */
.mt5 {
	margin-top: 5px;
}

.mt10 {
	margin-top: 10px;
}

.mt15 {
	margin-top: 15px;
}

.mt20 {
	margin-top: 20px;
}

.mb5 {
	margin-bottom: 5px;
}

.mb10 {
	margin-bottom: 10px;
}

.mb15 {
	margin-bottom: 15px;
}

.mb20 {
	margin-bottom: 20px;
}

.mr5 {
	margin-right: 5px;
}

.mr10 {
	margin-right: 10px;
}

.mr15 {
	margin-right: 15px;
}

.mr20 {
	margin-right: 20px;
}

.ml5 {
	margin-left: 5px;
}

.ml10 {
	margin-left: 10px;
}

.ml15 {
	margin-left: 15px;
}

.ml20 {
	margin-left: 20px;
}

.bold {
	font-weight: bold;
}

.red {
	color: #FF0000;
}

.blue {
	color: #1badd1;
}

hr.dashed {
	border-top: 1px dotted #999999;
	border-bottom: 0;
	padding: 0;
	margin: 2px 0;
	clear: both;
}

/* --- [2] Search Form Section (from search_form.css) --- */
/* Independent Block: tourSearchFormBox */
#tourSearchFormBox {
	padding: 0;

	/* Form Inputs Reset */
	form#search_form_tour {
		input[type="text"] {
			-webkit-appearance: textfield;
		}

		select {
			-webkit-appearance: menulist;
		}
	}

	/* Detailed Search Box */
	#gNaviWrap-more {
		width: 100%;
		margin: 0;
		position: relative;
		z-index: 45;
		overflow: visible;

		#gNaviBox-more {
			width: 1060px;
			margin: 35px auto 0;
			padding: 15px 50px 0;
			background-color: #eaeaea;
			border: 5px solid #0057b8;
			border-radius: 3px;
			position: relative;

			.sb_title {
				min-width: 105px;
				line-height: 1.2;
				text-align: center;
				display: inline-block;
				padding: 5px 0;
				margin: 4px 12px 0 0;
				background-color: #0057b8;
				color: #FFF;
				float: left;
				border-radius: 2px;
				font-size: 14px;
				vertical-align: middle;
			}

			.sb_cont {
				float: left;
				vertical-align: middle;
				line-height: 32px;
				font-size: 14px;

				&.air {
					#set_carrier {
						width: 270px;
						margin: 1px 0 0 0;
					}

					#set_tz1,
					#set_tz2 {
						width: 110px;
						margin: 1px 0 0 0;
					}
				}

				&.kwd {
					#set_keyword {
						width: 460px;
						height: 31px;
						margin: 1px 15px 0 0;
						padding: 0 0 0 10px;
						font-size: 14px;
						line-height: 1;
						border: 1px solid #BBB;
						border-radius: 3px;
					}
				}
			}

			.sbcontents ul li {
				display: block;
				margin: 0 0 6px;
				font-size: 12px;
				line-height: 1em;

				select {
					width: 220px;
					height: 32px;
					margin: 0 8px 0 0;
					padding: 0 0 0 5px;
					font-size: 14px;
					border: 1px solid #CCC;
					border-radius: 3px;
				}

				input[type="checkbox"] {
					width: 15px;
					height: 15px;
					vertical-align: middle;
					margin-right: 7px;
				}

				span {
					margin: 0;
					font-size: 12px;
					line-height: 21px;
				}
			}

			/* Specific Widths */
			#order_airport,
			#order_days {
				margin-right: 15px;
			}

			#set_type1a,
			#set_type1b,
			#set_type1c {
				width: 260px;
				margin: 1px 5px 0 0;
			}

			#set_htlcls1,
			#set_district1,
			#set_htlcode1 {
				width: 320px;
			}

			#set_roomcat1 {
				width: 280px;
			}

			#set_min_date {
				width: 170px;
				height: 33px;
				margin: 1px 0 0 0;
				padding-left: 5px;
				font-size: 14px;
				border: 1px solid #CCC;
				border-radius: 3px;
			}

			#order_date img {
				margin: 0 15px 0 8px;
				vertical-align: middle;
			}

			select#set_min_days,
			select#set_min_price {
				width: 55px;
				margin: 0 3px 0 0;
				padding: 0;
			}

			select#set_max_days,
			select#set_max_price {
				width: 50px;
				margin: 0 3px 0 5px;
				padding: 0;
			}

			/* Added specificity to override universal reset */
			span.tail {
				margin: 0 3px 0 0 !important;
				padding: 0;
				vertical-align: middle;
			}

			ul#order_type_cbox {
				width: 820px;
				padding: 8px;
				background-color: #fffcec;
				border: 1px solid #DDD;
				border-radius: 3px;

				li {
					height: 15px;
					line-height: 1;
					float: left;
					margin: 0 0 5px;
					border: none;

					span {
						margin: 0;
						vertical-align: middle;
						line-height: 1.5;
						font-size: 14px;
					}

					input {
						margin: 0 7px 0 15px;
						vertical-align: middle;
						width: 15px;
						height: 15px;
					}
				}
			}

			#set_type3_1,
			#set_type2_1,
			#set_guide_1 {
				margin: 0 0 0 5px;
				width: 15px;
				height: 15px;
				vertical-align: middle;
			}

			#set_type3_1+label span,
			#set_type2_1+label span,
			#set_guide_1+label span {
				vertical-align: middle;
				line-height: 1.5;
				font-size: 14px;
			}
		}
	}

	#order_ciao {
		width: 910px;
		margin: 10px auto 0;
		display: block;

		p {
			width: 300px;
			height: 40px;
			line-height: 32px;
			display: inline-block;
			float: left;
			border-radius: 4px 4px 0 0;
			margin-right: 5px;
			padding-top: 2px;
			font-size: 15px;
			font-weight: bold;
			color: #ffffff;
			text-align: center;
			cursor: pointer;

			&#sciao_0 {
				background-color: #003366;
				color: #FFE200;
			}

			&#sciao_1 {
				background-color: #006600;
			}

			&.unselected {
				filter: alpha(opacity=75);
				opacity: 0.55;
			}

			&.hover {
				filter: alpha(opacity=90);
				opacity: 0.9;
			}
		}
	}

	#set_send {
		width: 280px;
		line-height: 1;
		text-align: center;
		display: inline-block;
		background-color: #FF6600;
		color: #FFF;
		font-weight: bold;
		margin: 5px auto 5px;
		border-radius: 30px;
		font-size: 18px;
		padding: 13px 13px 13px 38px;
		background-image: url(/kix/jcom/img/icon/icon_search01_wh.png);
		background-repeat: no-repeat;
		background-size: 35px;
		background-position: 15px center;

		&:hover {
			background-color: #20303B;
			cursor: pointer;
		}
	}

	#set_reset_btn {
		text-align: center;
		display: inline-block;
		background-color: #0057b8;
		color: #FFF;
		margin: 0;
		padding: 10px 15px 7px 30px;
		position: absolute;
		bottom: 0;
		right: 0;
		background-image: url(../../img/icon/icon_replay01_wh.png);
		background-position: left 7px center;
		background-size: 20px;
		background-repeat: no-repeat;

		a {
			display: block;
			text-decoration: none;
			cursor: pointer;
			color: #FFF;

			&:hover {
				background-color: #666;
			}
		}
	}
}

/* --- [3] Search Result Header (from search_result.css) --- */
/* Independent Block: sort_limit */
/* Previously nested in tourSearchFormBox, now separated as per user instruction */
#sort_limit {
	clear: both;
	display: block;
	width: 1000px;
	margin: 30px auto 0;
	border: 1px solid #eee\9;
	padding: 25px 0 0;
	background-color: #ffffff;
	position: relative;
	color: #000;
	border-radius: 3px 3px 0 0;

	.obititle {
		width: 90%;
		padding: 5px 0 0;
		margin: 0 auto 10px;
		text-align: center;
		font-size: 27px;
		font-weight: bold;
		display: block;
		background: #fff7cd;
		color: #036;
		border: 1px solid #f9efba;
		border-radius: 3px;
	}

	.sort_limit_box {
		display: block;
		width: 85%;
		margin: 10px auto 0;
	}

	a {
		font-size: 14px;
		color: #000;
		text-decoration: underline;
		padding: 5px 5px;
		transition: all 0.2s ease;
		border-radius: 3px;

		&:hover {
			text-decoration: none;
			background-color: #FFF;
		}
	}

	#set_sort {
		padding: 2px 5px 0 0;

		a.selected {
			color: #FFF !important;
			font-weight: bold;
			padding: 5px 10px;
			text-decoration: none;
			border-radius: 2px;
			background-color: #EA5082;
		}
	}

	select {
		padding: 0 5px;
		font-size: 14px;
		border: 2px solid #bbb;
		border-radius: 3px;
	}

	#bannerArea {
		text-align: center;
		padding: 10px 0 3px;
		margin-top: 10px
		width:100%;
		display: block;
	}

	#bannerArea .row {
		margin-bottom: 3px
	}

	#bannerArea .row:hover {
	}

	#bannerArea .row a {
		display: block;
		padding: 2px 0;
	}

	#bannerArea .row img {
		border:1px solid #EEE;
		box-shadow: 0px 1px 1px #ccc;
		-moz-box-shadow: 0px 1px 1px #ccc;
		-webkit-box-shadow: 0px 1px 1px #ccc;
	}

	#bannerArea .row img:hover {
		opacity: 0.7;
	}

	.search-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, 0.85);
		z-index: 100;
		display: none;
	}

	.search-overlay-msg {
		position: fixed;
		bottom: 25px;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 500px;
		text-align: center;
		font-weight: bold;
		color: #333;
		font-size: 16px;
		z-index: 2147483646;
		line-height: 1.6;
		background-color: #fff;
		border: 3px solid #0057b8;
		border-radius: 6px;
		padding: 20px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

		span {
			display: block;
			margin-bottom: 15px;
		}

		#overlay_search_btn {
			display: inline-block;
			width: 400px;
			line-height: 1;
			text-align: center;
			background-color: #FF6600;
			color: #fff !important;
			text-decoration: none;
			border-radius: 30px;
			padding: 13px;
			box-shadow: none;
			font-size: 18px;
			font-weight: bold;
			background-repeat: no-repeat;
			background-size: 35px;
			background-position: 15px center;
			background-image: url(/kix/jcom/img/icon/icon_search01_wh.png);

			&:hover {
				background-color: #20303B;
				color: #FFF !important;
				text-decoration: none;
				cursor: pointer;
				opacity: 1;
			}
		}
	}
}

/* --- [4] Search Result Content (from search_result.css) --- */
#tourSearchResultBox {
	padding: 0;

	.nav_box {
		display: none;
		width: 1000px;
		margin: 0 auto;
		background-color: #0057b8;
		padding: 8px 15px 5px;
		font-size: 14px;
		clear: both;
		/* Prevent overlapping with floated items */

		.nav_count {
			font-size: 18px;
			font-weight: bold;
			float: left;
			padding: 5px;
			color: #eec900;
		}

		.nav_number {
			font-size: 14px;
			float: right;

			ul {
				list-style-type: none;
			}

			li {
				float: left;
				display: block;
				border-radius: 3px;

				&:first-child {
					margin-right: 10px;
				}

				&:last-child {
					margin-left: 10px;
				}

				a {
					display: block;
					background-color: #ffffff;
					padding: 5px 15px;
					margin-left: 3px;
					cursor: pointer;
					border-radius: 30px;
					opacity: 0.8;
					font-weight: bold;

					&:hover {
						color: #ff6600;
						text-decoration: none;
						background-color: #eeeeee;
					}

					&.selected {
						color: #004bb0;
						background: #fff7cd;
						opacity: 1;
						cursor: auto;
					}

					&.hide {
						visibility: hidden;
					}

					&.prev {
						background-color: #ea5082;
						color: white;
						opacity: 1;
						padding-left: 23px;
						text-decoration: none;
						background-image: url(/kix/jcom/img/icon/icon_prev.png);
						background-size: 14px;
						background-position: center left 6px;
						background-repeat: no-repeat;
					}

					&.next {
						background-color: #ea5082;
						color: white;
						opacity: 1;
						padding-right: 23px;
						text-decoration: none;
						background-image: url(/kix/jcom/img/icon/icon_next.png);
						background-size: 14px;
						background-position: center right 6px;
						background-repeat: no-repeat;
					}
				}

				&.space {
					padding-top: 6px;
					margin: 0 4px;
					color: #FFF;
				}
			}
		}
	}

	#tour_cont {
		margin: 0 auto;
		padding: 0 0 45px;
		box-sizing: border-box;
		position: relative;
		width: 1000px;

		.loading {
			margin: 30px;
			line-height: 180%;
			color: #aa3333;
			font-size: 15px;
			font-weight: bold;
			text-align: center;
		}

		.preload_img {
			display: none;
		}

		/* Fix for float height collapse */
		.course {
			margin-bottom: 0;
			padding-bottom: 20px;
			overflow: hidden;
		}

		/* Item Card - Basic Styles */
		div.item {
			width: 100%;
			margin: 0 auto 20px;
			font-style: normal;
			cursor: pointer;
			float: left;
			box-sizing: border-box;
			border-top: 3px solid #eec900;
			background-color: #FFFCED;
			border: 1px solid #2969AD;
			border-radius: 3px;
			box-shadow: 0px 1px 1px #ccc;

			&:hover {
				opacity: 0.8;
				filter: alpha(opacity=80);
			}

			h2 {
				background-color: #FFF4D4;
				padding: 10px;
				line-height: 1.2;
				text-align: left;
				padding-right: 180px;
				position: relative;
				font-size: 18px;

				.tourname-icon {
					position: absolute;
					top: 0;
					right: 0;
					background-color: #EEC900;
					color: #FFF4D4;
					padding: 5px 20px;
				}

				a {
					color: #1E323C;
					font-weight: bold;
					text-decoration: none;

					&:hover {
						color: #d9a300;
					}
				}
			}

			.photo {
				width: 268px;
				margin: 0 0 5px 0;
				float: left;
				text-align: center;
				overflow: hidden;
				padding: 10px;

				img {
					width: 100%;
				}
			}

			.detail {
				max-width: 640px;
				padding: 10px 20px;
				box-sizing: border-box;
				float: left;
				margin-bottom: 10px;

				p img {
					margin-bottom: 4px;
					vertical-align: middle;
				}

				.price {
					color: #CC0000;
					font-size: 22px;
					line-height: 28px;
					font-weight: bold;
					font-style: normal;
					padding: 10px 0;
				}

				.departureDate {
					padding: 4px 0 0 6px;
					font-size: 10px;
				}

				/* Info Table */
				table {
					border-collapse: collapse;
					border: 1px solid gray;
					font-size: 11px;

					th,
					td {
						border: 1px solid #D4D4D4;
						padding: 5px 10px 5px;
						line-height: 100%;
						height: 18px;
						border-radius: 3px;
					}

					th {
						background: #D7E9F7;
						text-align: center;
						white-space: nowrap;
						font-weight: normal;
					}

					td {
						background: #FFF;
					}
				}

				/* Info List */
				ul.info {
					display: block;

					li {
						overflow: hidden;
						margin: 10px 0 8px 0;
					}

					h4 {
						line-height: 1;
						text-align: center;
						display: table-cell;
						padding: 5px 10px;
						background-color: #B77F2C;
						color: #FFF;
						font-size: 11px;
						vertical-align: middle;
						white-space: nowrap;
						border-radius: 3px;
					}

					p {
						display: table-cell;
						line-height: 1.5;
						text-align: left;
						color: #20303B;
						font-size: 11px;
						padding: 5px 10px;
					}
				}
			}
		}

		/* --- Nested Modifiers --- */
		/* Increased specificity to override common .item styles */
		div.item.kaigai-box {
			border: 1px solid #eec900;
			border-top: 8px solid #eec900;
			background-color: #FFF;

			h2 {
				background-color: #FFF4D4;
				position: relative;
				color: #333;
			}

			h2 span.tourname-icon {
				background-color: #eec900;
				color: #FFF;
			}

			ul.info h4 {
				background-color: #eec900;
				color: #333;
			}

			ul.info p {
				color: #20303B;
			}
		}

		div.item.kokunai-box {
			border: 1px solid #75b347;
			border-top: 8px solid #75b347;
			background-color: #f3ffea;

			h2 {
				background-color: #e6ffd4;
				position: relative;
				color: #333;
			}

			h2 span.tourname-icon {
				background-color: #75b347;
				color: #FFF;
			}

			ul.info h4 {
				background-color: #75b347;
				color: #333;
			}

			ul.info p {
				color: #20303B;
			}
		}

		div.item.fit-box {
			border-top: 8px solid #2969AD;
			background-color: #F0F7F9;

			h2 {
				background-color: #CFE8FB;
				position: relative;
				color: #333;
			}

			h2 span.tourname-icon {
				background-color: #2969AD;
				color: #FFF;
			}

			ul.info h4 {
				background-color: #2969ad;
				color: #FFF;
			}

			ul.info p {
				color: #20303B;
			}
		}

		.search-overlay {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(255, 255, 255, 0.85);
			z-index: 100;
			display: none;
		}
	}

	/* Mosaic & EyeCatch */
	#eyeCatch {
		overflow: hidden;
		padding: 0 0 0 11px;
		margin: 0 0 15px 0;

		&>li {
			float: left;
			width: 308px;
			margin: 0 7px 15px 0;
			border: 0;
			overflow: hidden;
		}

		div.mosaic-wrap {
			padding: 3px;
			border: 0;
			overflow: hidden;

			&:hover {
				box-shadow: inset 0 0 0 10px #FFE100;
				transition: all 0.3s ease;
			}
		}
	}

	.mosaic-block {
		position: relative;
		overflow: hidden;
		width: 302px;
		height: 302px;
		background: #111;

		.mosaic-backdrop {
			display: none;
			position: absolute;
			top: 0;
			height: 100%;
			width: 100%;
			background: #111;
			cursor: pointer;
		}

		.mosaic-overlay {
			display: none;
			z-index: 5;
			position: absolute;
			width: 100%;
			height: 100%;
			background: #111;

			&.bar2 {
				bottom: -195px;
				background: url(../img/bg-black-60.png);
				color: #FFF;
			}

			&:hover {
				background: url(../img/bg-black-80.png);
				color: #FFE100;
			}
		}

		h3 {
			display: table-cell;
			height: 25px;
			padding: 0 5px 5px 0;
			vertical-align: middle;
			font-size: 16px;
			font-weight: bold;
			line-height: 1.2;
			text-shadow: 1px 1px 0 rgb(0, 0, 0);
		}

		p.price {
			font-size: 22px;
			font-weight: bold;
			margin: 10px 0 3px 0;
			text-shadow: 1px 1px 0 rgb(0, 0, 0);
		}
	}
}

/* --- [5] Common & Footer (Global) --- */
.section-box {
	max-width: 1000px;
	min-width: 960px;
	margin: 0 auto;
	padding: 40px;
	background-color: #FFF;
	background-color: rgba(255, 255, 255, 0.95);
	position: relative;
	z-index: 10;
}

#contact_tel {
	border-top: 1px solid #DADADC;
	padding: 15px 0px 5px 0px;
	margin: 0;
	background: #fff;
	box-sizing: border-box;

	ul li.telmidashi {
		background-image: url(../img/tour/ic_contact_tel.jpg);
		padding-left: 60px;
		height: 31px;
		background-repeat: no-repeat;
		padding-top: 14px;
		font-size: 18px;
		line-height: 24px;
		font-weight: bold;
	}
}

.news-box {
	background-color: #FFF;
	padding: 1% 1.5%;
	margin: 2% auto;
	border: 1px solid #D0C8C1;
	width: 960px;

	.news-title {
		color: #3A3A3A;
		font-size: 1.15em;
		font-weight: bold;
	}

	ul {
		overflow: scroll;
		overflow-x: hidden;
		height: 106px;
	}

	li {
		width: 100%;
		margin: 1% auto;
		border-bottom: 1px dotted #DDD;
	}
}

#pagetop {
	position: fixed;
	right: 25px;
	bottom: 40px;
	z-index: 1000;
	display: none;

	img {
		width: 75px;
	}

	&:hover {
		opacity: 0.5;
	}
}

#footer .footer01 .body {
	width: 960px;
	text-align: left;
}

/* Floating Search Button */
#moreOpenBtn2 {
	position: fixed;
	top: 25%;
	right: 10px;
	display: none;
	font-size: 14px;
	margin: 0;
	text-align: center;
	padding: 15px 5px;
	padding-top: 30px;
	background-color: #fff;
	border: #0057b8 2px solid;
	color: #0057b8;
	opacity: 1;
	z-index: 10000;
	background-image: url(/kix/jcom/img/icon/icon_search01.png);
	background-size: 23px;
	background-position: center top 6px;
	background-repeat: no-repeat;
	text-decoration: none;
	line-height: 1.5;
	box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, .25);
	cursor: pointer;
	letter-spacing: 0.1em;
	width: 100px;
	height: 100px;
	border-radius: 50%;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}

