﻿
/* safariで崩れるのを防ぐ */
.row:before, .row:after { width:0px; }

.btn {
	white-space: normal;
}
.local_nav {
	padding-top: 10px;
	display: flex;
	flex-wrap: wrap;
}
.local_nav li {
	display: flex;
	margin-top: 5px;
	margin-bottom: 5px;
}
.local_nav li a {
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sale_nav {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 25px;
}
.sale_nav li {
	display: flex;
	margin-bottom: 10px;
}
.sale_nav .btn {
	display: flex;
	justify-content: center;
	align-items: center;
}
.well {
	border-radius: 0;
	border: none;
	box-shadow: none;
}
.sale_img_wrap {
	margin-bottom: 20px;
}
.sale_add_text .label {
	white-space: normal;
	text-align: left;
}
.price_wrap {
	margin-bottom: 0;
}
.price_box > .panel {
	border: none;
	border-bottom: solid 1px #ddd;
	border-radius: 0;
	box-shadow: none
}
.price_box > .panel:nth-last-of-type(1) {
	border: none;
}
.airport_text {
	line-height: 1.5;
}
.airport_text span {
	margin-right: 1em;
}
.plan_icon {
	margin-bottom: 1em;
}
.bigcategory_area {
	margin-bottom: 50px;
}
.bigcategory_area .bigcategory_list li {
	margin-bottom: 10px;
}

.bigcategory_area .bigcategory ul {
	margin-bottom: 0;
}
.bigcategory_area .bigcategory>.panel-body {
	padding-bottom: 0;
}
.nav-pills > li > a {
	box-shadow: 3px 3px 4px rgba(0,0,0,0.1);
}
.plan_detail {
	border: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.panel-default > .plan_dep {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	padding: 10px 0 0;
	border: none;
	background-color: #fff;
}
.plan_detail .panel-body {
	padding: 0 15px 15px;
}

.plan_dep > li {
	float: none;
	width: calc((100% - 15px) / 2);/*2列 100%からmargin分ひく*/
	margin-bottom: 10px;
}

.plan_dep > li + li {
	margin-left: 0;
}
.plan_dep > li > a {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding: 6px 15px;
	border-radius: 0;
	font-size: 1.3rem;
	color: #fff;
	text-align: center;
	background-color: #ccc;
	box-shadow: none;
	white-space: nowrap;
	transition: .5s;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.plan_dep > li.active > a,
.plan_dep > li.active > a:focus,
.plan_dep > li.active > a:hover {
	padding: 10px 15px;
	opacity: 1;
}
.plan_dep > li::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: calc(100% + 9px);
	height: 3px;
	background-color: #337ab7;
}

.plan_dep > li:nth-child(odd) { /*奇数（右端以外）*/
	margin-right: 8px;
}

.plan_dep > li:nth-child(even)::after { /*偶数（右端）アフター はみ出ないように*/
	width: 100%;
}
.plan_dep > li:last-child {
	margin-right: 0 !important;
}
.plan_dep > li:last-child::after {
	width: 100% !important;
}
.plan_dep > li > a:hover {
	opacity: 1;
	background-color: #ccc;
}

@media screen and (min-width:320px) {
	.plan_dep > li {
		width: calc((100% - 21px)/3);/*3列 100%から(margin分+1px)ひく 1pxずれるので*/
		margin-right: 10px;
	}
	.plan_dep > li:not(:nth-child(3n)) { /*3の倍数以外（右端以外） 右余白10px*/
		margin-right: 10px;
	}
	.plan_dep > li::after,
	.plan_dep > li:nth-child(even)::after { /*偶数アフター*/
		width: calc(100% + 11px);
	}
	.plan_dep > li:nth-child(3n) { /*3の倍数（右端） 右余白なし*/
		margin-right: 0;
	}
	.plan_dep > li:nth-child(3n)::after { /*3の倍数（右端アフター）アフター はみ出ないように*/
		width: 100%;
	}
	.plan_dep > li > a {
		padding: 10px 15px;
		font-size: 1.4rem;
	}
	.local_nav > li > a {
		font-size: 1.4rem;
	}
}

@media screen and (min-width: 768px) {
	.nav-pills > li > a:hover {
		background-color: #fff;
	}
	.plan_dep > li > a:hover {
		opacity: .8;
		background-color: #337ab7;
	}
	.local_nav > li > a {
		font-size: 1.7rem;
	}
}

@media screen and (min-width: 992px) {
	.price_box > .panel {
		border: none;
		border-right: solid 1px #ddd;
	}
	.price_box > .panel:nth-last-of-type(1) {
		border: none;
	}
	.plan_dep > li {
		width: calc((100% - 76px) / 6);/*6列 100%から(margin分+1px)ひく 1pxずれるので*/
	}
	.plan_dep > li:nth-child(3n),
	.plan_dep > li:not(:nth-child(3n)) {
		margin-right: 15px;
	}
	.plan_dep > li::after,
	.plan_dep > li:nth-child(3n)::after,
	.plan_dep > li:nth-child(even)::after{
		width: calc(100% + 16px);
	}
	.plan_dep > li:first-child:nth-last-child(7),
	.plan_dep > li:first-child:nth-last-child(7) ~ li {/*7列のときだけ*/
		width: calc((100% - 61px) / 7);/*7列 100%から(margin+1px)分ひく 1pxずれるので*/
		margin-right: 10px;
	}
	.plan_dep > li:first-child:nth-last-child(8),
	.plan_dep > li:first-child:nth-last-child(8) ~ li {/*8列のときだけ*/
		width: calc((100% - 70px) / 8);/*7列 100%から(margin+1px)分ひく 1pxずれるので*/
		margin-right: 10px;
	}
	.plan_dep > li:first-child:nth-last-child(9),
	.plan_dep > li:first-child:nth-last-child(9) ~ li {/*9列のときだけ*/
		width: calc((100% - 80px) / 9);/*7列 100%から(margin+1px)分ひく 1pxずれるので*/
		margin-right: 10px;
	}

	.plan_dep > li > a {
		font-size: 1.5rem;
	}

}