
/* --------------------------------------------------

	海外競馬発売 コース図紹介 共通

-------------------------------------------------- */

#course_list .block_header {
	margin:20px 0;
}

#course_list .block_header.mt30 {
	margin-top:30px ;
}

#course_list .block_header h3 > span {
	margin-right:12px;
	
}

#course_list .course_block {
	margin-bottom:30px;
}

#course_list .course_block:last-of-type {
	margin-bottom:0;
}


.course_block .course_info {
	margin-top:20px;
}

.course_block .course_info ul.ph {
	margin: 0px auto;
	width: 100%;
	overflow:hidden;
}

.course_block .course_info ul.ph.mt10 { margin-top: 10px; }
.course_block .course_info ul.ph.mt20 { margin-top: 20px; }
.course_block .course_info ul.ph.mt25 { margin-top: 25px; }
.course_block .course_info ul.ph.mt30 { margin-top: 30px; }

.course_block .course_info ul.ph:after {
	content: '';
	display: block;
	clear: both;
}

.course_block .course_info ul.ph li {
	float:left;
	text-align: center;
	box-sizing:border-box;
	padding:3px;
}

.course_block .course_info ul.ph li p.caption {
	margin-top:5px;
	
}

.course_block .course_info ul.ph li:first-child {
	
}

.course_block .course_info ul.ph.i_two li {
	width:50%;
}

.course_block .course_info ul.ph.i_three li {
	width:33.33%;
}



.course_block .course_info ul.ph li img {
	vertical-align: top;
	max-width: 100%;
	width: auto;
}

.course_block .course_info .txt {
	margin:20px 0;
}

.course_block .course_info .txt > p {
	margin-top:20px;
}

.course_block .course_info .txt > p:first-child {
	margin-top:0;
}

.course_block .block_sub_header {
	margin:30px 0 20px;
}

.course_block .course_info .inner {
	padding: 20px;
    border: 1px solid #e0e0e0;
    text-align: center;
}


.block_sub_header > h4 > span {
	margin-right:12px;
}

p.writer {
	text-align:right;
	margin-top:20px;
}

.kome {
	padding-left:1em;
	text-indent:-1em;
}


/* 紹介ムービー */

div.grade_preview .content {
    padding: 25px 0;
    background-color: #ebebeb;
}

div.grade_preview .content a {
	display: block;
	max-width: 480px;
	margin: 0 auto;
}

div.grade_preview .content .img { position: relative; }
div.grade_preview .content .img img { vertical-align: top; }

div.grade_preview .content .img .icon {
	width: 60px;
	height: 40px;
	background: url(/keiba/thisweek/common/img/icon_movie-arrow.png) no-repeat;
	
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -30px;
	margin-top: -20px;
}



/* --- 紹介ムービー（香港版） --- */
div.grade_preview.col2 {
	display: table;
	table-layout: fixed;
	width: 100%;
}

div.grade_preview.col2 > .content {
	display: table-cell;
	width: 50%;
	padding: 20px;
}

div.grade_preview.col2 > .content:nth-child(odd) { padding-right: 10px; }
div.grade_preview.col2 > .content:nth-child(even) { padding-left: 10px; }

div.grade_preview.col2 > .content > ul {  }
div.grade_preview.col2 > .content > ul > li { display: none; }
div.grade_preview.col2 > .content > ul > li.current { display: block; }

div.grade_preview.col2 > .content a {
	display: block;
	text-decoration: none;
	color: #333;
}

div.grade_preview.col2 > .content .caps {
	margin-top: 5px;
	text-align: center;
}





div.tab_area { margin-top: 40px; }
/*div.tab_area > p { display: none; }
div.tab_area > p > i { margin-right: 0.5em; }
div.tab_area > div.tab {  }*/

.body_wrapper .tab { margin-top: 0; }

.body_wrapper .tab > ul.t_three > li { width: 33.33%; }
.body_wrapper .tab > ul.t_three > li a { font-size: 1.3rem; }

.body_wrapper .tab > ul.t_four > li { width: 25%; }
.body_wrapper .tab > ul.t_four > li a { font-size: 1.3rem; }

.body_wrapper .tab > ul > li > a i {
	margin-right: 0.5em;
	display: none;
}

.body_wrapper .tab > ul > li.current a { background-color: #268300; }
.body_wrapper .tab > ul > li.current a:after { border-top-color: #268300; }
.body_wrapper .tab > ul > li.current a:hover { background-color: #268300; }

li.course_list {
	display:none;
}

li.course_list:first-child {
	display:block;
}


/* --- 競馬場紹介ボタン --- */

.course_select {
	background-color:#ebebeb;
	padding:5px;
	box-sizing:border-box;
	margin-top:20px;
	margin-bottom:40px;
}

.course_select > ul {
	
}

.course_select > ul:after {
	content:'';
	display:block;
	clear:both;
}

.course_select > ul > li {
	float:left;
	padding:5px;
	
}

.course_select > ul.col2 > li {
	width:50%;
}

.course_select > ul.col3 > li { width:33.33%; }

.course_select > ul > li > a {
	display: block;
	padding: 15px 0px;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border-radius: 4px;
	font-size: 1.4rem;
	font-weight: bold;
	color: #444;
	text-decoration: none;
	text-align:center;
}

.course_select > ul > li > a:hover {
	background-color: #fff8e1;
}

.course_select > ul > li > a i {
	margin-right:4px;
	color:#176aa4;
}

.course_select > ul > li.current > a {
	background-color: #268300;
	color: #FFF;
}

.course_select > ul > li.current > a i {
	color: #FFF;
}

.course_select > ul > li > a > span.inner {
	display:table;
	margin:0 auto;
}

.course_select > ul > li > a > span.inner .txt-sm{
	font-size: 1.2rem;
}

.course_select > ul > li > a > span.inner > span {
	display:table-cell;
	text-align:left;
	vertical-align:middle;
}

.course_select > ul > li > a > span.inner > span.icon {
	width:18px;

}


.course_select > ul > li > a > span.inner > span.icon > i.fa-chevron-circle-down {
	display:none;
}

.course_select > ul > li.current > a > span.inner > span.icon > i.fa-chevron-circle-down {
	display:inline-block;
}

.course_select > ul > li.current > a > span.inner > span.icon > i.fa-chevron-circle-right {
	display:none;
}



/* --- panel --- */
.panel {  }

.panel > .sub_header {
    background-color: #1b521f;
    color: #fff;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 8px 12px;
    line-height: 1.4;
}

.panel > .content {
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
}


/* --- 紹介ムービー（ロイヤルアスコット版） --- */
#ra_mov { margin-top: 30px; }

#ra_mov .panel > .sub_header span {
    font-size: 1.2rem;
    margin-left: 0.5em;
}

#ra_mov .panel > .content { text-align: center; }

#ra_mov .panel > .content a {
    display: inline-block;
    position: relative;
}

#ra_mov .panel > .content a img { vertical-align: top; }

#ra_mov .panel > .content a > .icon {
    width: 60px;
    height: 40px;
    background: url(/keiba/thisweek/common/img/icon_movie-arrow.png) no-repeat;
    
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -20px;
}




/* ------------------------------------------------------------

	767px以下

------------------------------------------------------------ */
@media screen and ( max-width : 767px ) {
	
}


/* ------------------------------------------------------------

	639px以下

------------------------------------------------------------ */
@media screen and ( max-width : 639px ) {

	.course_select > ul > li > a {
	padding: 15px 10px;
	}

	.course_block .course_info ul.ph li {
		display: block;
		width: 100%;
		float:none;
		padding:0;
		margin-bottom:25px;
	}
	
	.course_block .course_info ul.ph.i_two li {
		width:100%;
	}
	
	.course_block .course_info ul.ph.i_three li {
		width:100%;
	}
	
	
	.course_block .course_info ul.ph li:last-child {
		padding-left:0;
	}
	
	.course_block .course_info .inner {
		padding: 10px;
	}
	
	/* --- 紹介ムービー（香港版） --- */
	div.grade_preview.col2 { display: block; }
	
	div.grade_preview.col2 > .content {
		display: block;
		padding: 15px;
		width: auto;
	}
	
	div.grade_preview.col2 > .content:nth-child(odd) { padding-right: 15px; }
	div.grade_preview.col2 > .content:nth-child(even) { padding-left: 15px; }
	
	
	
	/* --- 5タブ --- */
	.body_wrapper .tab.col5 > ul {  }
	.body_wrapper .tab.col5 > ul > li { width: 20%; }
	.body_wrapper .tab.col5 > ul > li > a {
		line-height: 1.4;
		padding: 10px 0 12px 0;
		height: auto;
	}
	.body_wrapper .tab.col5 > ul > li > a > span {
		display: block;
		font-size: 1.1rem;
		line-height: 1.4;
	}
	
	/* --- アクセシビリティ　修正 --- */
	.body_wrapper .tab.acc > ul {  }
	.body_wrapper .tab.acc > ul > li > a {
		line-height: 1.4;
		padding: 10px 0 12px 0;
		height: auto;
	}
	.body_wrapper .tab.acc  > ul > li > a > span {
		display: block;
		font-size: 1.0rem;
		line-height: 1.4;
	}
	
	.course_select > ul.col2.lg > li,
	.course_select > ul.col3 > li {
	width:100%;
	float:none;	
}

	.course_select > ul.col3 > li > a > span.inner {
	margin:0;
}
	
}

@media screen and ( max-width : 480px ) {
	
	.course_block .course_info ul.ph {
		
	}
	
	.course_block .course_info ul.ph li {
		float:none;
		text-align: center;
		box-sizing:border-box;
		padding:0;
		width:100%;
	}
	
	.course_block .course_info ul.ph.i_two li {
		width:100%;
	}
	
	.course_block .course_info ul.ph.i_three li {
		width:100%;
	}
	
	.body_wrapper .tab > ul.t_three > li a { font-size: 1.2rem; }
	.body_wrapper .tab > ul.t_four > li a { font-size: 1.2rem; }
	
	
	
.course_select > ul.col2 > li {
	width:100%;
	float:none;	
}

.course_select > ul > li > a > span.inner {
	margin:0;
}
	
}


@media screen and ( max-width : 360px ) {
	
	.block_sub_header > h4 > span {
		margin-right:0px;
		display:block;
	}
	
	#course_list .block_header h3 > span {
		margin-right:0;
		display:block;
		
	}
	
}



