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

	育成牧場：育成牧場とは

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


/* - アンカーボタン
-------------------------------------------------- */

ul.btns {
	display: table;
	width: 100%;
	background-color: #f5f5f5;
	background-color: #ebebeb;
	padding: 5px;
	/*text-align: center;*/
}

ul.btns > li {
	display: table-cell;
	box-sizing: border-box;
	padding: 5px;
}

ul.btns.col2 > li { width:50%; }
ul.btns.col3 > li { width:33.33%; }
ul.btns.col4 > li { width:25%; }

ul.btns > li > a {
	background-color: #fff;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	display: block;
	color: #0069a8;
}

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

ul.btns > li > a > div.inner {
	display: table;
	margin: 0 auto;
}

ul.btns > li > a > div.inner > div {
	display: table-cell;
	vertical-align: middle;
}

ul.btns > li > a > div.inner > div.icon i {
	margin-right: 0.5em;
	color: #188542;
	font-size: 1.4rem;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

ul.btns > li > a > div.inner > div.cap {
	font-size: 1.6rem;
}



/* - テキスト＆画像のグリッド（調整）
-------------------------------- */

.grid.pic2 > .img {
	width:410px;
}

.grid > .img > p img { vertical-align: top; }
.grid.pic2 > .txt { padding-left: 20px; }


.figure_list {
	display: table;
	table-layout: fixed;
	width: 100%;
}

.figure_list figure {
	display: table-cell;
	padding: 5px;
	text-align: center;
}

.grid .img.col1 { width: 300px; }

figure figcaption {
	font-size: 1.3rem;
	text-align: center;
	padding-top: 5px;
}


/* - これまでの活躍馬たち
-------------------------------------------------- */

ul.past_horse {
	width:100%;
}

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

ul.past_horse > li {
	float:left;
	padding:8px;
}

ul.past_horse.col2 > li { width:50%; }
ul.past_horse.col3 > li { width:33.33%; }

ul.past_horse .block_unit > h4 {
	background-color: #1b521f;
	color: #fff;
	font-size: 1.4rem;
	padding: 8px 4px;
	text-align: center;
}

ul.past_horse .block_unit > .content {
	padding:9px;
}

ul.past_horse .block_unit > .content p.txt {
	font-size:1.2rem;
	font-size:1.1rem;
	margin-top:5px;
}

ul.past_horse .block_unit > .content p.txt > span {
	display:block;
	margin-bottom:5px;
}


/* - 育成牧場のあゆみ
-------------------------------------------------- */

table.his_table {
	width:100%;
	border-collapse:collapse;
}

table.his_table caption {
	text-align:left;
    color: #444;
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom:7px;
}

table.his_table thead th , table.his_table tbody td {
	border:1px solid #ccc;
	vertical-align:middle;
	padding:6px;
}

table.his_table thead th {
	font-weight:bold;
	background-color:#285A73;
	color:#FFF;
}

table.his_table tbody tr td.year {
	text-align:center;
	vertical-align:top;
}

table.his_table tbody tr:nth-child(even) td {
	background-color:#f7f7f7;
}

table.his_table tbody td span.block {
	display:block;
}

ul.his_img {
	width:100%;
}

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

ul.his_img > li {
	float:left;
	width:25%;
	padding:5px;
	text-align:center;
}

ul.his_img > li figure figcaption span {
	display:block;
	font-size:1.1rem;
}


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

	639px以下

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

.grid.pic2 > .img { width:auto; }
.grid.pic2 > .txt { padding-left:0; }

ul.his_img > li {
	width:50%;
}

}



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

	639px以下

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

	ul.btns {
		display: block;
	}

	ul.btns > li {
		display: block;
		width: auto;
	}
	
	ul.btns.col2 > li { width:100%; }
	ul.btns.col3 > li { width:100%; }
	ul.btns.col4 > li { width:100%; }


	ul.btns > li > a > div.inner {
		width: auto;
		margin: 0 auto;
	}
	
	ul.past_horse.col3 > li { width:50%; }
	


}

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

	479px以下

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

.figure_list { display: block; }
	.figure_list figure {
		display: block;
		text-align: center;
}
	
.figure_list figure:first-child { padding-top: 0; }


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


ul.past_horse .block_unit > .content { padding:8px; }
	


}

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

	479px以下

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

ul.past_horse > li {
	float:none;
	padding:0;
}

ul.past_horse > li { margin-top:15px; }
ul.past_horse > li:first-child { margin-top:0; }

ul.past_horse.col2 > li { width:100%; }
ul.past_horse.col3 > li { width:100%; }

ul.past_horse .block_unit > .content {
	padding:12px;
}


ul.his_img > li {
	width:100%;
	float:none;
	padding:0;
	margin-top:10px;
}

ul.his_img > li:first-child {
	margin-top:0;
}

	


}




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

	329px未満

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

	ul.btns > li > a > div.inner {
		margin: 0;
	}

}