
/* ----------------------------------------------------------------------
	
	競馬場・ウインズ等 共通
	
---------------------------------------------------------------------- */

#contentsBody {
	max-width: 940px;
}

/* - hero image
---------------------------------------------------------------------- */
.hero_area .content {
	background: url(/facilities/_img/bg_top-hero.jpg) 0 0 no-repeat;
	height: 160px;
	padding-top: 20px;
	padding-left: 20px;
	
	background-size: cover;
}

.hero_area .content .info {
	max-width: 400px;
	max-width: 360px;
	padding: 10px 20px;
	height: auto;
}

.hero_area .content .info p { margin-top: 10px; }
.hero_area .content .info .arrow { display: none; }



/* - contents block
---------------------------------------------------------------------- */
.f_body_block {
	max-width: 940px;
	margin: 0 auto;
}



/* - タブ（競馬場／ウインズ・エクセル／J-PLACE／その他施設）
---------------------------------------------------------------------- */
.f_tab { margin-top: 20px; }

.f_tab > dl > dt { display: none; }

.f_tab ul {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.f_tab ul > li {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border-left: 1px solid #fff;
}

.f_tab ul > li:first-child { border-left: none; }

.f_tab ul > li > a {
	display: block;
	background-color: #e7e7e7;
	height: 4.4rem;
	line-height: 4.4rem;
	font-weight: bold;
	color: #444;
	text-decoration: none;
}

.f_tab ul > li > a:hover { background-color: #dcedc8; }

.f_tab ul > li.current > a {
	background-color: #2aa83d;
	background-color: #268300;
	color: #fff;
}

.f_tab ul > li.current > a:hover {
	background-color: #2aa83d;
	background-color: #268300;
}

.f_tab ul > li.current > a {
	position: relative;
	background: #2aa83d;
	background-color: #268300;
}

.f_tab ul > li.current > a:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(42, 168, 61, 0);
	border-top-color: #2aa83d;
	border-top-color: #268300;
	border-width: 10px;
	margin-left: -10px;
}

.f_tab ul > li > a > i { display: none; }



/* - ブロックヘッダー
-------------------------------------------------- */
.block_header {
	padding-bottom: 4px;
	border-bottom: 2px solid #e2e2e2;
	position: relative;
}

.block_header:after {
	position: absolute;
	left: 0;
	bottom: -2px;
	content: "";
	width: 120px;
	border-bottom: 2px solid #0cae2f;
}

.block_header .content { display: block; }

.block_header h3 {
	font-size: 1.6rem;
	font-weight: bold;
	color: #444;
	line-height: 1.4;
	padding: 4px 0;
}



/* ------------------------------------------------------------

	979px以下

------------------------------------------------------------ */
@media screen and ( max-width : 979px ) {
	
	#contentsBody {
		width: auto;
		max-width: 100%;
	}
	
	
	/* - hero image
	-------------------------------------------------- */
	.hero_area {
		max-width: 100%;
		box-sizing: border-box;
		padding: 0 10px;
		width: 100%;
	}
	
	.hero_area .content {
		height: auto;
		padding: 10px;
	}
	
}


/* ------------------------------------------------------------

	767px以下

------------------------------------------------------------ */
@media screen and ( max-width : 767px ) {
	
	/* - hero image
	-------------------------------------------------- */
	.hero_area {
		max-width: 100%;
		box-sizing: border-box;
		padding: 0 10px;
		width: 100%;
	}
	
	.hero_area .content {
		height: auto;
		padding: 10px;
		padding: 0;
	}
	
	.hero_area .content .info {
		height: auto;
		width: 100%;
		max-width: 100%;
		padding: 10px;
	}
	
	.hero_area .content .info h2 {
		font-size: 2.0rem;
		margin: 0;
		line-height: 1.4;
	}
	
	.hero_area .content .info p {
		margin-top: 5px;
		padding-right: 36px;
		font-size: 1.1rem;
	}
	
	.hero_area .content .info .arrow {
		font-size: 3.0rem;
		bottom: 10px;
		right: 10px;
		text-align: right;
	}
	
}


/* ------------------------------------------------------------

	639px以下

------------------------------------------------------------ */
@media screen and ( max-width : 639px ) {
	
	/* - facilites category tabs
	-------------------------------------------------- */
	.f_tab > dl {
		background-color: #607D8B;
		background-color: #5c7885;
		padding: 5px;
		width: auto;
		border-radius: 4px;
		
		padding: 10px;
	}
	
	.f_tab > dl > dt {
		display: block;
		padding: 5px 8px;
		cursor: pointer;
		color: #fff;
		font-weight: bold;
		
		
		display: none;
	}
	
	.f_tab > dl > dt > i { margin-right: 0.5rem; }
	
	.f_tab > dl > dd {
		border-top: 1px solid #444;
		padding-top: 10px;
		display: none;
		
		display: block;
		border:none;
		padding-top: 0;
	}
	
	.f_tab > dl > dd.open { display: block; }
	
	.f_tab ul { display: block; }
	
	.f_tab ul > li {
		display: block;
		width: auto;
		padding: 0;
		height: auto;
		border: none;
		border-top: 1px dotted #78909C;
	}
	
	.f_tab ul > li:first-child { border-top: none; }
	
	.f_tab ul > li > a {
		background: none;
		border: none;
		
		color: #fff;
		text-decoration: none;
		display: block;
		width: auto;
		padding: 5px 10px;
		box-sizing: border-box;
		font-size: 1.3rem;
		
		text-align: left;
		
		height: auto;
		min-height: 1.4rem;
		line-height: 1.4;
		font-weight: normal;
		padding: 10px;
		border-radius: 3px;
	}
	
	.f_tab ul > li > a:hover {
		background-color: #455A64;
		color: #fff;
	}
	
	.f_tab ul > li > a > i {
		display: inline-block;
		margin-right: 0.5rem;
	}
	
	.f_tab ul > li.current > a {
		min-height: 1.4rem;
		line-height: 1.4;
		background-color: #455A64;
		border: none;
		color: #fff;
	}
	
	.f_tab ul > li.current > a:after { display: none; }
	
	.f_tab ul > li.current > a:hover { background-color: #455A64; }
	
}

/* ------------------------------------------------------------

	479px以下

------------------------------------------------------------ */
@media screen and ( max-width : 479px ) {
	
}

/* ------------------------------------------------------------

	359px以下

------------------------------------------------------------ */
@media screen and ( max-width : 359px ) {
	
}


