@charset "utf-8";

body{
	background:#f5f5f5;
}

* {
    box-sizing: border-box;
}
 
*:before,
*:after {
    box-sizing: border-box; /* 擬似要素にも同様のプロパティを指定 */
}

a:focus{
	outline:none;
}


.table-responsive{
	position:relative;
	outline:0;
	/*border:1px solid #dee2e6;*/
	overflow-y:hidden;
}

table.timetable{
	font-size:13px;
	margin-bottom:0;
	display: table;
	table-layout:fixed;
	/*width:100%;*/
	border-collapse: separate !important;
	border-spacing:0px !important;
	z-index:1;
}

table.timetable thead td{
	background:#f9f9f9;
}
table.timetable thead td.day-time{
	color:#fff;
	font-weight:bold;
	background:#ff9a1f;
	position:relative;
}

table.timetable thead td.day-time:before{
	content: "\f185";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	left:18px;
	color:#fff;
	font-size:15px;
}
table.timetable thead td.night-time{
	color:#fff;
	font-weight:bold;
	background:#5d62ab;
	position:relative;
}

table.timetable thead td.night-time:before{
	content: "\f186";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	left:20px;
	color:#fff;
	font-size:12px;
}

@media(max-width:767px) {
	
	table.timetable thead td.day-time:before{
		left:7px;
	}
	table.timetable thead td.night-time:before{
		left:8px;
	}
}

@media(max-width:374px) {
	
	table.timetable thead td.day-time:before{
		left:5px;
	}
	table.timetable thead td.night-time:before{
		left:10px;
	}
} 

table.timetable thead td:first-child,
table.timetable tbody td:first-child{
	width:320px;
	text-align:center;
	position: -webkit-sticky;
	position: sticky;
	left:0;
	z-index:2;
	border-left:1px solid #dee2e6;
}
table.timetable thead tr:first-child td{
	border-top:1px solid #dee2e6;
	border-right:1px solid #dee2e6;
}

table.timetable tbody td:first-child{
	background:#fff;
}

table.timetable td{
	width:100px;
	padding:5px;
	vertical-align:middle !important;
	word-break: break-all;
}

table.timetable thead{
	text-align:center;
}

table.timetable tbody td:nth-child(n+2){
	text-align:center;
}

table.timetable tr{
  border-left:1px solid #dee2e6;
}

table.timetable td {
  border-right:1px solid #dee2e6;
  border-bottom:1px solid #dee2e6;
}


.info-row{
	display:table;
	justify-content: center;
	width:320px;
}
@media(max-width:767px) { 
	.info-row{
		width:150px;
	}
}

/* 都道府県名 */
.pref-name{
	width:50px;display:table-cell;
	vertical-align:middle;
}

/* バス停 */
.bus-station{
	text-align:left;display:table-cell;
	vertical-align:middle;
}

/* 乗車 */
.bus-geton{
	color:#fff;
	background:#8cc152;
	width:20px;
	padding:2px 2px;
	display:table-cell;
	vertical-align:middle;
	border-radius:2px;
	font-weight:bold;
}
/* 降車 */
.bus-getoff{
	color:#fff;
	background:#f6bb42;
	width:20px;
	padding:2px 2px;
	display:table-cell;
	vertical-align:middle;
	border-radius:2px;
	font-weight:bold;
}

/* 乗降 */
.bus-getonoff{
	color:#fff;
	background:#3BAFDA;
	width:20px;
	padding:3px 2px;
	display:table-cell;
	vertical-align:middle;
	border-radius:2px;
	font-weight:bold;
	line-height:1.2;
}

/* 車中泊 */
.stay-car{
	padding:5px 0px 5px 10px;
	/*background:#dfe4ff;*/
	background:#5d62ab;
	color:#fff;
	position:relative;
	font-size:12px;
	border-radius:3px;
	width:80px;
	margin:0 auto;
}

.stay-car:before{
	content: "\f186";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	left:10px;
	color:#fff;
	font-size:12px;
}

@media(max-width:767px) { 
	.stay-car{
		width:64px;
	}
	.stay-car:before{
		left:5px;
	}
} 

/* ストライプ */

table.timetable tbody tr:nth-child(odd){
	background:#fffbf4;
}

table.timetable tbody tr:nth-child(odd) td:first-child{
	background:#fffbf4;
}

table.timetable tbody tr.rest td:first-child,
table.timetable tbody tr.rest{
	background:#f9f9f9;
	height:70px;
}

/* 予約ボタン */

.btn-reservation{
	padding:3px 5px;
	margin:0 auto;
	text-align:center;
	color:#fff;
	font-weight:bold;
	border-radius:15px;
	display:block;
	background:#F53D7E;
	position:relative;
	font-size:13px;
	width:90px;
}

.btn-reservation:after{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	right: 10px;
	content: "\f0da";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
}

.btn-reservation:hover{
	color:#fff;
	text-decoration:none;
	opacity:0.8;
}

@media(max-width:767px) { 
	.btn-reservation:after{
		right:4px;
	}
	.btn-reservation{
		width:80px;
	}
}

/* 時刻 */

table.timetable tbody td:nth-child(n+2){
	font-size:15px;
}

/* 通過 アイコン */

table.timetable tbody td:nth-child(n+2) .fa-arrow-down{
	font-size:12px;
	color:#bbb;
}

/* 運行会社、休憩所 */

table.timetable tbody tr:nth-last-of-type(3) td:nth-child(n+2),
table.timetable tbody tr:nth-last-of-type(4) td:nth-child(n+2){
	text-align:center;
	font-size:10px;
}
/* 運転士、備考 */
table.timetable tbody tr:last-child td:nth-child(n+2),
table.timetable tbody tr:nth-last-of-type(2) td:nth-child(n+2){
	font-size:12px;
}

/* 休憩所、運転士、備考　背景 */

table.timetable tbody tr.bg-last-group,
table.timetable tbody tr.bg-last-group td:first-child,
table.timetable tbody tr.bg-last-group td{
	background:#f9f9f9;
}

/* 更新日 */

dl.update-date{
	margin-bottom:17px;
}

dl.update-date dt{
	font-weight:normal;
	display:inline-block;
	margin-right:10px;
	font-size:14px;
}

dl.update-date dd{
	display:inline-block;
	font-size:14px;
}


@media(max-width:767px) { 
	table.timetable thead td{
		font-size:12px;
	}
	table.timetable td .pref-name{
		width:45px;
	}
	table.timetable thead td:first-child,
	table.timetable tbody td:first-child{
		width:170px;
	}
	table.timetable td{
		width:75px;
	}
}

@media(max-width:374px) { 
	table.timetable td{
		width:76px;
	}
}


/* table-responsive */

.table-responsive{
	margin:0 0 20px 0 ;
}

/* timetable-title01 */
.timetable-title01{
	position:relative;
	margin-top:50px;
	margin-bottom:70px;
	padding:0 0 5px;
	font-size: 22px;
	line-height: 1.4;
	text-align: center;
}

.timetable-title01 span{
	display:block;
	margin-bottom:10px;
}
.timetable-title01:before{
	position:absolute;
	bottom:-10px;
	left:50%;
	margin-left:-10px;
	content: '';
	display: block;
	width: 30px;
	height:3px;
	background:#111;
	text-shadow: 1px 1px 2px #fff;
}

@media(max-width:767px) { 
	.timetable-title01{
		font-size:16px;
		text-align:left;
	}
} 

.notice-box{
	padding:30px 30px;
	background:#f4f4f4;
	font-size:14px;
	line-height:1.8;
}

.notice-box h3{
	font-size:16px;
	font-weight:bold;
	margin-bottom:10px;
}

ul.notice-list{
	list-style:disc;
	margin:0 0 20px 20px;
}

ul.notice-list li{
	font-size:14px;
	margin-bottom:3px;
}

ul.rest-list{
	list-style:disc;
	margin:0 0 20px 20px;
}

ul.rest-list li{
	font-size:14px;
	margin-bottom:3px;
}

.card{
	margin:50px 0;
}



.ttl-box {
	font-size:18px;
	padding:20px;
	border-bottom:1px solid #ccc;
	background:#fff;
}

.ttl-set{
	display:inline-block;
	position:relative;
}

.ttl-box h1{
	font-size:22px;
	font-weight:bold;
	display:inline-block;
}

.ttl-box .ttl-sub{
	font-size:16px;
	font-weight:bold;
	margin-bottom:7px;
	display:block;
	color:#999;
}

.bin-ttl-box {
	font-size:18px;
	padding:20px;
	border-top:6px solid #F53D7E;
	border-bottom:1px solid #ccc;
	position:relative;
}


.bin-ttl-box h1{
	font-size:22px;
	font-weight:bold;
	display:inline-block;

}

.bin-ttl-box h1 a{
	color:#333;
	display:inline-block;
	position:relative;
	padding-right:30px;
}

.bin-ttl-box h1 a:after{
	position:absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	right:0px;
	content: "\f054";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	color:#F53D7E;
}

.bin-ttl-box span{
	color:#999;
	font-size:15px;
	font-weight:bold;
	display:block;
	margin-bottom:5px;
}

.bin-ttl-box span.bus_name{
	color:#333;
	font-size: 22px;
	font-weight: bold;
}

@media(max-width:767px) { 
	.ttl-box {
		padding:20px 0;
	}
	.ttl-box h1{
		font-size:18px;
	}
	.bin-ttl-box{
		padding:15px 10px;
	}
	.bin-ttl-box h1{
		font-size:16px;
	}
	.bin-ttl-box span.bus_name{
		font-size:16px;
	}
	
	.bin-ttl-box h1 a{
		padding-right:16px;
	}
	.card{
		margin:10px 0;
	}
	.card-body{
		padding:10px 5px;
	}
	
	.notice-box{
		padding:15px;
	}

	.container{
		padding-left:5px;
		padding-right:5px;
	}
	.ttl-box .container{
		padding-left:15px;
		padding-right:15px;
	}
	
	.pref-name,
	.bus-station{
		font-size:12px;
	}
	
}

/* 逆区間 */
.bin-ttl-box a.btn-reverse{
	font-size:14px;
	font-weight:bold;
	color:#fff;
	background:#666;
	text-align:center;
	border-radius:4px;
	padding:5px 10px;
	margin-left:15px;
	display:inlie-block;
}

.bin-ttl-box a.btn-reverse:hover{
	text-decoration:none;
	opacity:0.8;
}

@media(min-width:1200px) { 
	.bin-ttl-box {
		padding-right:200px;
	} 
	.bin-ttl-box h1{
		width:755px;
	}
	
	.bin-ttl-box a.btn-reverse{
		position: absolute;
		top:40px;
		right:240px;
	}
	.bin-ttl-box a.btn-reservation{
		display:block;
		width:200px;
		position: absolute;
		top:38px;
		right:20px;
		font-size:18px;
	}
} 

@media(min-width : 992px) and (max-width : 1199px) { 
	.bin-ttl-box {
		padding-right:230px;
	} 
	
	.bin-ttl-box h1{
		width:565px;
	}
	
	.bin-ttl-box a.btn-reverse{
		position: absolute;
		top:40px;
		right:240px;
	}
	
	.bin-ttl-box a.btn-reservation{
		display:block;
		width:200px;
		position: absolute;
		top:40px;
		right:20px;
		font-size:18px;
	}

}

@media(min-width : 768px) and (max-width : 991px) { 
	.bin-ttl-box {
		padding-right:230px;
	} 
	
	.bin-ttl-box h1{
		width:390px;
	}
	
	.bin-ttl-box a.btn-reverse{
		position: absolute;
		top:40px;
		right:180px;
	}
	
	.bin-ttl-box a.btn-reservation{
		display:block;
		width:140px;
		position: absolute;
		top:40px;
		right:20px;
		font-size:18px;
	}

} 

@media(max-width:767px) { 

	.bin-ttl-box {
		padding-right:0;
		padding-bottom:55px;
	} 
	
	
	.bin-ttl-box a.btn-reverse{
		position: absolute;
		bottom:20px;
		left:-5px;
	}
	
	.bin-ttl-box a.btn-reservation{
		display:block;
		width:230px;
		position: absolute;
		bottom:20px;
		left:110px;
		font-size:16px;
	}
} 

@media(max-width:374px) { 
	.bin-ttl-box a.btn-reservation{
		display:block;
		width:170px;
		position: absolute;
		bottom:20px;
		left:110px;
	}
}


/*
bus-info
***************************/

img.img-logo{
	margin-right:10px;
	margin-bottom:10px;
}

dl.bus-info{
	margin:0px 0 20px 0;
}

dl.bus-info dt{
	width:90px;
	float:left;
}

dl.bus-info dd{
	margin-left:95px;
}

dl.bus-info dd:after{
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

@media(max-width:767px) { 
	dl.bus-info dt,
	dl.bus-info dd{
		font-size:13px;
	}
	dl.bus-info dt{
		width:75px;
	}

	dl.bus-info dd{
		margin-left:75px;
	}
	img.img-logo{
		display:block ;
		margin-bottom:5px;
	}
	.brand-name{
		display:block ;
		margin-bottom:5px;
	}
} 

/*
モーダル
***************************/

.modal-header{
	background:#FAFAFA;
	border-radius:0;
	height:40px;
	padding:0;
	border-radius:4px 4px 0 0;
}

.modal-header .close,
.modal-header .close:hover{
	color:#F53D7E !important;
	font-size:24px;
	padding:0;
	opacity:1.0;
	position: absolute;
	top:23px;
	right:25px;
}

.modal-header .close:hover{

}

.modal button:focus{
	outline:none;
}


/*
MAP
***************************/

.modal h2{
	font-size:18px;
	font-weight: bold;
	margin-bottom: 15px;
}

#map{
	width:100%; 
	height:400px; 
	position:static !important; 
	margin:0 auto 15px auto;
}

.mapzone { 
	position: relative;
	padding-bottom: 56.25%; 
	height:400px; 
	overflow: hidden; 
	margin:15px auto 0;
}

#yolp-ctrl-overlay-btn:hover{
	transition:0s !important;
}

div ul li.yolp-layerset-on,
div ul li.yolp-layerset-off,
div ul li.yolp-layerset-disable {
	height:20px;
}

#map iframe{
	width:100%; 
}

@media (max-width : 991px) { 
	.mapzone {
		position: relative;
		padding-bottom: 30.25%;
		height: 400px !important;
		overflow: hidden;
		margin:15px auto;
	}
	#map{ height:400px ; }

}


/*
スクロール
************************************/

.scroll-hint-icon-wrap,
.scroll-hint-icon{
	z-index:50;
}

.scroll-hint-icon{
	top:50px;
}

.txt-scroll{
	font-size:14px;
	text-align:center;
	position:relative;
	display:none;
}

.txt-scroll i{
	margin:0 15px;
}

@media(max-width:991px) { 
	.txt-scroll{
		font-size:12px;
		display:block;
	}
	
	.doubleScroll-scroll-wrapper{
		display:none;
	}
} 


/*スクロールバー全体*/
::-webkit-scrollbar {
    width: 10px !important;
}

/*スクロールバーの軌道*/
::-webkit-scrollbar-track {
  border-radius: 0px !important;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1) !important;
}

/*スクロールバーの動く部分*/
::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0, .3) !important;
  border-radius:3px !important;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3) !important;
}

/*
search
***********************************/
.select-wrap {
    position: relative;
}
.select-wrap:before {
	z-index: 1;
	position: absolute;
	right: 5px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	line-height: 36px;
	color: #F53D7E;
	font-size: 20px;
	pointer-events: none;
	background: #fff;
	width: 18px;
	text-align: center;
}

.select-wrap select:hover{
	cursor:pointer;
}

.btn-group {
    border: 1px solid #DBDBDB;
    border-radius: 2px;
    width:100%;
}

.btn-group .btn {
    width: 100%;
    color: #333;
    font-weight: normal;
    background: #fff;
    position: relative;
}

.btn-group input {
    display: none;
}

.btn-group .btn.active {
    color: #fff;
    background: #F53D7E;
}

.btn-group .btn.active:before{
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 3px;
	content:"\f00c";
	font-family: "Font Awesome 5 Free";
	font-size:10px;
	font-weight:900;
}

.btn-group label{
	margin-bottom:0;
}

.btn-group .btn + .btn{
	border-left:1px solid #DBDBDB;
	margin:0;
}


#modal-search .modal-header{
	position: relative;
}

#modal-search .modal-header button{
	position: absolute;
	top:22px;
	right:25px;
	font-size:24px;
	font-weight:bold;
	color:#fff !important;
	text-shadow:none;
}


#modal-search .modal-header {
    display: block;
    text-align: center;
    background: #333;
    height: auto;
}
#modal-search .modal-header h2 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin-bottom:0;
}

#modal-search dl{
	margin-bottom:15px;
}

#modal-search .busbrand-select dl{
    margin-bottom:0;
}

@media(max-width:767px) { 
	.busbrand-select .btn-group{
		display:block;
	}
	.busbrand-select .btn-group .btn + .btn{
		border-top:1px solid #DBDBDB;
		border-left:none;
	}
}



#modal-search .modal-footer{
	border-top:none;
	padding-top:10px;
}

#modal-search .modal-footer button.btn-search{
	color:#fff;
	font-weight:bold;
	background:#333;
	min-width:300px;
	margin:0 auto;
}


.tab-content{
	padding-top:20px;
}

.tab-pane{
	animation: fadeIn 2s ease 0s 1 normal;
	-webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

.timetable .nav .ttl-term{
	display:inline-block;
	font-weight:bold;
}


.timetable .nav .term{
	display:block;
}

.timetable .nav-tabs{
	border-bottom:none;
}

.timetable .nav-tabs .nav-link{
	border:3px solid #ddd;
	border-radius:4px;
	display:block;
	color:#333;
	position:relative;
}

.timetable .nav-tabs .nav-link:hover{
	color:#fff;
	background:#333;
	border:3px solid #333;
}

.timetable .nav-tabs .nav-link.active{
	color:#fff;
	background:#333;
	border:3px solid #333;
}

.timetable .nav-tabs .nav-link.active:after{
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #333;
}


.timetable .nav-tabs li.nav-item{
	width:250px;
	display: block
}

.timetable .nav-tabs li.nav-item + li.nav-item{
	margin-left:10px;
}

.timetable .nav-tabs a{
	display:block;
}
.timetable .nav{
	flex-wrap:initial;
}

.timetable .nav-tabs .nav-item{
	margin-bottom:0;
}
@media(max-width:767px) {
	.timetable ul.nav-tabs{
		width:100%;
		display:flex;
		justify-content: space-between;
		-webkit-overflow-scrolling: touch;
	    overflow-scrolling: touch;
	}
	.timetable .nav-tabs a{
		font-size:14px;
	}
	.timetable .nav-tabs a{
		font-size:14px;
	}
	
	.timetable .nav-tabs .nav-link{
		height:80px;
	}
} 


/*
スクロール固定（thead）
******************************/

/*
.table-responsive{
	overflow:auto;
	height:700px;
}

table.timetable thead td.day-time,
table.timetable thead td.night-time{
	position: -webkit-sticky;
	position: sticky;
}


table thead td{
	position: -webkit-sticky !important;
	position: sticky !important;
	z-index:30;
}

table thead tr:nth-child(1) td{
	top:0;
}

table thead tr:nth-child(2) td{
	top:29px;
}

table thead tr:nth-child(3) td{
	top:58px;
}

table thead tr:nth-child(4) td{
	top:88px;
}

table thead td:first-child{
	z-index:50 !important;
}


table thead{
	background:#f9f9f9;
}
*/

/*
TOP
******************************/

body#timetable-index {
	background:#fff;
}

.wrap{
	max-width:960px;
	margin:20px auto;
}
@media(min-width : 992px) and (max-width : 1199px) {
	.wrap{
		max-width:800px;
	}
}


@media(min-width : 768px) and (max-width : 991px) {
	.wrap{
		max-width:700px;
	}
}


@media(max-width:767px) {
	.wrap{
		max-width:95%;
	}
}

.searchbox-timetable{
	width:100%;
	padding:20px 30px 30px 30px;
	margin:20px auto 0px auto;
	background:#F989B1;
	border-radius:10px;
}

.searchbox-timetable h2{
	color:#fff;
	font-size:22px;
	font-weight:bold;
	margin-bottom:10px;
	text-align:center;
}

select:hover{
	cursor:pointer;
}

.select-bus_brand {
	-webkit-appearance: none;
	background: url(/static/img/common/icon/i-nav-arrow-off.gif) #fff no-repeat 96% 50%;
	padding: 8px 12px;
}

.select-pref{
	-webkit-appearance: none;
	background: url(/static/img/common/icon/i-nav-dep.png) #fff no-repeat 96% 50%;
	padding: 8px 12px;
}

.title02-set{
	text-align:center;
	margin:80px 0 15px 0;
}

.title02:before{
	content:url(/static/3/img/bus_search/ja/bg-title.png);
	position: absolute;
	top:-22px;
	left:-15px;
}
.title02{
	font-size:26px;
	font-weight:bold;
	display:inline-block;
	background:linear-gradient(transparent 70%, #ffff66 70%);
	padding:0 7px;
	margin-bottom:20px;
	position: relative;
}

@media(max-width:767px) { 
	.title02{
		font-size:20px;
	}
	.title02-set{
		margin-top:50px;
	}
} 


#timetable-index h3{
	font-size:18px;
	font-weight:bold;
	margin:10px 0 3px 0;
}

#timetable-index h4{
	font-size:17px;
	font-weight:bold;
	margin:10px 0 3px 0;
}

#timetable-index .ttl_c{
	text-align:center;
}

#timetable-index .ttl_l{
	text-align:left;
}

#timetable-index .timetable-tab{
	box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.1);
	border-radius: 5px;
}

#timetable-index .tab-content{
	padding:20px;
	overflow: hidden;
}

@media(max-width:767px) { 
	#timetable-index .tab-content{
		padding:20px;
	}
}

#timetable-index .scroll-set{
	padding-right:0;
	padding: 20px;
	background: url(/static/3/img/bus_search/ja/bg-stripe.png),#fff;
	width:100%;
}

#timetable-index .nav-tabs .nav-item{
	width:150px;
}

#timetable-index .nav-tabs .nav-item a{
	font-weight:bold;
	border-radius: 20px;
	border: 1px solid #fdd7e5;
	background:#fff;
	display:block;
	text-align:center;
}

.scroll-set .nav-tabs{
	border-bottom:none;
}
.scroll-set .nav-tabs .nav-item a{
	font-weight:bold;
	border-radius: 20px;
	border: 1px solid #fdd7e5;
	display:block;
	color:#333;
	text-align:center;
}

.scroll-set .nav-tabs li{
	width:110px;
}

.scroll-set .nav-tabs li + li {
	margin-left:20px;
}

.scroll-set .nav-tabs .nav-link:focus,
.scroll-set .nav-tabs .nav-link:hover{
	border:1px solid #fdd7e5;
	background:#fdd7e5;
}

.scroll-set .nav-tabs .nav-item.show .nav-link,
.scroll-set .nav-tabs .nav-link.active{
	background:#fdd7e5 !important;
}


@media(min-width : 992px) and (max-width : 1199px) {
	.scroll-set .nav-tabs li{
		width:100px;
	}
	.scroll-set .nav-tabs li + li {
		margin-left:10px;
	}

}

@media(max-width:767px) { 
	#timetable-index .nav-tabs .nav-item{
		width:157px;
	}
	#timetable-index .nav-tabs li + li {
		margin-left:10px;
	}
	#timetable-index .scroll-set{
		padding:20px 10px;
	}
} 

@media(max-width:374px) { 
	#timetable-index .nav-tabs .nav-item{
		width:131px;
		font-size:13px;
	}
} 


.btn-select-set{
	vertical-align:middle;
}


.btn-select-design-dep,
.btn-select-design-arriv,
.btn-select-design-busbrand,
.btn-search{
	display:inline-block;
}

.btn-select-design-dep select,
.btn-select-design-arriv select,
.btn-select-design-busbrand select{
	padding:10px;
	height:45px;
}

.btn-select-design-dep,
.btn-select-design-arriv{
	width:240px;
	margin-right:10px;
}

.btn-select-design-busbrand{
	width:280px;
	margin-right:10px;
}
.btn-search{
	width:93px;
	padding:10px 0;
	border-radius:5px;
	color:#fff;
	font-weight:bold;
	background: #F53D7E;
}

.btn-search:hover{
	cursor:pointer;
}



@media(min-width : 992px) and (max-width : 1199px) { 
	.btn-select-design-dep,
	.btn-select-design-arriv{
		width:200px;
	}

	.btn-select-design-busbrand{
		width:200px;
	}
	.btn-search{
		width:93px;
	}
} 

@media(min-width : 768px) and (max-width : 991px) { 
	.btn-select-design-dep,
	.btn-select-design-arriv{
		width:165px;
	}

	.btn-select-design-busbrand{
		width:170px;
	}
	.btn-search{
		width:93px;
	}
} 

@media(max-width:767px) { 
	.btn-select-design-dep,
	.btn-select-design-arriv{
		width:100%;
		margin-bottom:10px;
	}
	.btn-select-design-arriv{
		margin-right:0;
	}
	.btn-select-design-busbrand{
		width:100%;
		margin-bottom:18px;
	}
	.btn-search{
		width:100%;
	}
} 

/*
#main
**********************************/

#main{
	display: -webkit-box; 
	display: -ms-flexbox; 
	display: flex; 
	-webkit-box-pack: center; 
	-ms-flex-pack: center; 
	justify-content: center; 
	-webkit-box-align: center; 
	-ms-flex-align: center; 
	align-items: center; 
	-ms-flex-wrap: wrap; 
	flex-wrap: wrap; 
	height: 160px; 
	background: url("/static/img/bus_search/bus-terminal/bg_mainvisual01.png") repeat-x top center/4px; color: #fff; 
	text-align: center; 
}

#main h1{
	font-size:28px;
	font-weight:bold;
	letter-spacing:1.5px;
}

@media(max-width:767px) { 
	#main {
		height: 120px; 
	}
	
	#main h1{
		font-size:20px;
	}

} 


/*
rosen-list
**********************************/

ul.rosen-list{
	margin-bottom:80px;
}


ul.rosen-list li.card{
	margin-top:10px;
	margin-bottom:10px;
}

ul.rosen-list li a.acc{
	display:block;
	padding:15px;
	color:#333;
	text-decoration:none;
	background:#f8f8f8;
}

ul.rosen-list li a.acc:hover{
	text-decoration:none;
	background:#feebf2;
}

ul.rosen-list li a.acc{
	position:relative;
	font-size:20px;
	font-weight:bold;
}

ul.rosen-list li a.acc span{
	margin-left:7px;
	font-size:16px;
}

ul.rosen-list li a.acc:after{
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 10px;
	content: "\f077";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	color:#999;
}

ul.rosen-list li a.acc.collapsed:after{
	content: "\f078";
}

@media(max-width:767px) { 
	ul.rosen-list li a.acc{
		font-size:17px;
	}
	ul.rosen-list li a.acc span{
		font-size:13px;
	}
} 

@media(max-width:374px) { 
	ul.rosen-list li a.acc{
		font-size:17px;
	}
} 
}

/*
btn-bin-list
**********************************/

ul.btn-bin-list{
	display:block;
}


ul.btn-bin-list li{
	margin:5px;
	/* width:282px; */
	width:48.8%;
	display:block;
	float:left;
}

ul.btn-bin-list:after{
	content: "";
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
}


ul.btn-bin-list li a{
	display: flex;
	align-items: center;
	padding:8px 15px 10px 12px;
	background:#fff;
	border:1px solid #ddd;
	border-radius:5px;
	color:#333;
	position:relative;
	font-size:15px;
	letter-spacing:-0.2px;
	min-height:55px;
}

ul.btn-bin-list li a:after{
	position:absolute;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	right:4px;
	content: "\f054";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	color:#F53D7E;
}

ul.btn-bin-list li a:hover{
	text-decoration:none;
	background:#FDD7E5;
}

@media(min-width : 768px) and (max-width : 1199px) { 
	ul.btn-bin-list li{
		width:48.3%;
	}

} 

@media(max-width:767px) { 
	ul.btn-bin-list {
		margin-top:10px;
		margin-bottom:0;
	}
	ul.btn-bin-list li{
		width:100%;
		font-size:14px;
		margin:0 0 10px 0;
	}
	ul.btn-bin-list li a{
		min-height:65px;
	}

}


/* result-notfound */

.result-notfound {
	text-align:center;
	margin:50px auto;
	padding:40px 0;
	border: 1px solid #f38585;
	color: #333;
	font-size:16px;
	border-radius: 3px;
	width:800px;
}

.result-notfound p{
	font-weight:bold;
	color:#d44a4a;
}

.result-notfound i{
    color: #C00;
    font-size:18px;
    margin-right:5px;
}

.result-notfound a.btn-back{
	display:block;
	color:#fff;
	font-weight:bold;
	background:#bbb;
	width:200px;
	margin:40px auto 10px auto;
	padding:10px;
	border-radius: 4px;
	position: relative;
	text-decoration:none;
}

.result-notfound a.btn-back:after{
	content: "\f053";
	font-family: "Font Awesome 5 Free";
	font-weight:900;
	position: absolute;
	top: 50%;
	left:20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.result-notfound a.btn-back:hover{
	opacity:0.8;
}

@media(min-width : 768px) and (max-width : 991px) { 
	.result-notfound {
		width:500px
	}
} 

@media(max-width:767px) {
	.result-notfound {
		font-size:13px;
		margin:20px 0 20px 0;
		padding:30px;
		width:100%;
	}
	
	.result-notfound a.btn-back{
		margin:15px auto 0px auto;
	}
}

@media(max-width:374px) {
	.result-notfound {
		margin:20px 0 20px 0;
		padding:15px;
		font-size:12px;
	}
	
	.result-notfound p{
		font-size:12px;
	}

}

/*
loader
******************************/


#loader {
    position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,50%);
	-moz-transform: translate(-50%,50%);
	-ms-transform: translate(-50%,50%);
	-o-transform: translate(-50%,50%);
	transform: translate(-50%,50%);
    width: 180px;
    height: 120px;
    margin-top: -100px;
    text-align: center;
    color: #333;
    z-index: 100000000000;
    background:rgba(255,255,255,0.8);
    padding:20px;
    border-radius: 10px;
    border:3px solid #666;
}

#loader p{
	padding:15px;
	font-size:18px;
	font-weight:bold;
}

/* 期間 */

@media(max-width:767px) { 
	.timetable .nav-tabs li.nav-item{
		width:170px;
	}
} 

@media(max-width:374px) { 
	.timetable .nav-tabs li.nav-item{
		width:150px;
	}
} 

/* セル少ない時 */

/* 1つの時 */
table td:nth-child(2):nth-last-child(1) {
	width:100%;
	text-align:center;
}

/* 2つの時 */
table td:nth-child(2):nth-last-child(2), 
table td:nth-child(3):nth-last-child(1){
    width: 50%;
}

/* 3つの時 */
table td:nth-child(2):nth-last-child(3), 
table td:nth-child(3):nth-last-child(2),
table td:nth-child(4):nth-last-child(1){
    width: 33%;
	
}

/* 4つの時 */
table td:nth-child(2):nth-last-child(4), 
table td:nth-child(3):nth-last-child(3),
table td:nth-child(4):nth-last-child(2),
table td:nth-child(5):nth-last-child(1){
    width: 24%;
	
}

/* 5つの時 */
table td:nth-child(2):nth-last-child(5), 
table td:nth-child(3):nth-last-child(4),
table td:nth-child(4):nth-last-child(3),
table td:nth-child(5):nth-last-child(2),
table td:nth-child(6):nth-last-child(1){
    width: 19%;
}

/* 6つの時 */
table td:nth-child(2):nth-last-child(6), 
table td:nth-child(3):nth-last-child(5),
table td:nth-child(4):nth-last-child(4),
table td:nth-child(5):nth-last-child(3),
table td:nth-child(6):nth-last-child(2),
table td:nth-child(7):nth-last-child(1){
    width: 15%;
}

@media(min-width:992px) { 
	table td:nth-child(2):nth-last-child(1),
	table td:nth-child(2):nth-last-child(2), 
	table td:nth-child(3):nth-last-child(1),
	table td:nth-child(2):nth-last-child(3), 
	table td:nth-child(3):nth-last-child(2),
	table td:nth-child(4):nth-last-child(1){
		text-align:center !important;
	}
} 

table td:nth-child(2):nth-last-child(1).day-time:before,
table td:nth-child(2):nth-last-child(2).day-time:before, 
table td:nth-child(3):nth-last-child(1).day-time:before,
table td:nth-child(2):nth-last-child(3).day-time:before, 
table td:nth-child(3):nth-last-child(2).day-time:before,
table td:nth-child(4):nth-last-child(1).day-time:before{
	left:calc(50% - 30px);
}

table td:nth-child(2):nth-last-child(1).night-time:before,
table td:nth-child(2):nth-last-child(2).night-time:before, 
table td:nth-child(3):nth-last-child(1).night-time:before,
table td:nth-child(2):nth-last-child(3).night-time:before, 
table td:nth-child(3):nth-last-child(2).night-time:before,
table td:nth-child(4):nth-last-child(1).night-time:before{
	left:calc(50% - 30px);
}

.table-responsive{
	cursor:auto !important;
}

table.timetable tbody tr.bg-last-group td:first-child{
	font-size:12px;
}

#timetables.container{
	padding-top:30px;
}

#timetables .card.timetable{
	margin-top:0;
	margin-bottom:20px;
}

@media(max-width:767px) { 
	#timetables.container{
		padding-top:15px;
	}
} 

/* =========================================================
	お知らせ枠追加
========================================================= */
.wrap-attention {
	background: #fce5cd;
}
	.wrap-attention > .wrap {
		margin-top: 0;
		margin-bottom: 0;
		padding: 0.5rem;
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
	}
	@media(max-width:767px) { 
		.wrap-attention > .wrap {
			padding-left: 0;
		}
	} 
		.wrap-attention > .wrap > span {
			width: 4rem;
		}
		@media(max-width:767px) { 
			.wrap-attention > .wrap > span {
				width: 3rem;
			}
		} 
/* ----- Disc ----- */
.mark-disc {
	padding-left: 1rem;
}
@media(max-width:767px) { 
	.mark-disc {
		padding-left: 0.3rem;
	}
} 
	.mark-disc > li {
		list-style: disc;
		margin-left: 1.3rem;
		font-size: 14px;
	}

.wrap-attention a {
	color: #000;
	text-decoration: underline;
}


/* 
1人あたり金額表示
**********************/

.price-line{
	position:absolute;
	top:75px;
	right:25px;
}

.price-line span{
	color: #F53D7E;
	font-weight: bold;
	display:inline-block;
}

.price-line span.num{
	font-size:18px;
	margin-right:2px;
}

.price-line span.sbtxt{
	font-size:14px;
	margin-right:5px;
}

@media(min-width:1200px){
	.bin-ttl-box{
		min-height:120px;
	}
	.price-line{
		min-width:200px;
		text-align:center;
		right:18px;
	}
}
@media(max-width:767px){
	.bin-ttl-box{
		padding-bottom:70px;
	}
	.bin-ttl-box a.btn-reverse,
	.bin-ttl-box a.btn-reservation{
		bottom:40px;
	}
	.price-line{
		width:230px;
		text-align:center;
		top:initial;
		bottom:3px;
		right:initial;
		left:110px;
	}
	.price-line span.sbtxt{
		font-size:12px;
	}
}

@media (max-width: 374px){
	.price-line{
		width:auto;
		left:110px;
		text-align:left;
	}
}

@media (max-width: 305px){
	.price-line{
		width:auto;
		left:initial;
		right:5px;
		text-align:right;
	}
}