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

	競馬の殿堂 競走馬

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

.hname_block {
	display: table;
	width: 100%;
	padding: 8px 16px;
	background-color: #1b521f;
	color: #fff;
	font-weight: bold;
}

#dendo_horse ul.block_list.type1 h3 {
	display: table-cell;
	font-size: 2.0rem;
}


#dendo_horse ul.block_list.type1 h3 span {
	display: block;
	font-size: 1.4rem;
}

#dendo_horse ul.block_list.type1 p.back_index {
	display: table-cell;
	width: 100px;
	vertical-align: middle;
	text-align: right;
}


#dendo_horse ul.block_list.type1 p.back_index i {
	margin-right: 0.5rem;
}

#dendo_horse ul.block_list.type1 p.back_index a {
	display: block;
	padding: 4px;
	text-decoration: none;
	background-color: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
	color: #188542;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: center;
}

#dendo_horse ul.block_list.type1 p.back_index a:hover {
	background-color: #f1f8e9;
	background-color: #fff8e1;
	color: #333;
}

#dendo_horse ul.block_list.type1 .content.item {
	padding: 30px;
}

#dendo_horse ul.block_list.type1 p.img {
	text-align: center;
	margin: 0 auto;
	margin-bottom: 30px;
	max-width: 420px;
}

#dendo_horse ul.block_list.type1 p.img>span {
	display: block;
	text-align: right;
	font-size: 1.1rem;
}

#dendo_horse ul.block_list.type1 .table_block {
	overflow: hidden;
}

#dendo_horse ul.block_list.type1 .table_block:after {
	content: '';
	display: block;
	clear: both;
}

#dendo_horse ul.block_list.type1 table.horse_data,
#dendo_horse ul.block_list.type1 table.blood_line {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

#dendo_horse ul.block_list.type1 table.blood_line {
	table-layout: fixed;
}

#dendo_horse ul.block_list.type1 table.horse_data caption,
#dendo_horse ul.block_list.type1 table.race_data caption,
#dendo_horse ul.block_list.type1 table.blood_line caption {
	color: #444;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 10px;
	padding: 5px 0;
	text-align: left;
	border-bottom: 1px dotted #ccc;
}

#dendo_horse ul.block_list.type1 table.horse_data th {
	background-color: #e0f2f1;
	border: 1px solid #e4e4e4;
	font-size: 1.3rem;
	text-align: left;
	padding: 5px 10px;
	width: 180px;
}

#dendo_horse ul.block_list.type1 table.blood_line th,
#dendo_horse ul.block_list.type1 table.race_data th {
	background-color: #f4f4f4;
	border: 1px solid #e4e4e4;
	font-size: 1.2rem;
	text-align: center;
	padding: 5px 10px;
}

#dendo_horse ul.block_list.type1 table.race_data th span {
	font-size: 1.1rem;
}

#dendo_horse ul.block_list.type1 table.horse_data td,
#dendo_horse ul.block_list.type1 table.blood_line td,
#dendo_horse ul.block_list.type1 table.race_data td {
	border: 1px solid #e4e4e4;
	vertical-align: middle;
	padding: 5px 10px;
	font-size: 1.2rem;
}

#dendo_horse ul.block_list.type1 table.blood_line td {
	border: 1px solid #e4e4e4;
	vertical-align: middle;
	padding: 5px 10px;
	font-size: 1.2rem;
}

#dendo_horse ul.block_list.type1 table.race_data td:nth-child(9),
#dendo_horse ul.block_list.type1 table.race_data td:nth-child(10) {
	background-color: #f4f4f4;
}

#dendo_horse ul.block_list.type1 table.blood_line td.line_top {
	background-color: #f9eedf;
}

#dendo_horse ul.block_list.type1 table.blood_line td span {
	display: block;
	font-size: 1.1rem;
}

#dendo_horse ul.block_list.type1 table.race_data {
	width: 100%;
	border-collapse: collapse;
}

#dendo_horse ul.block_list.type1 table.race_data th {
	text-align: center;
	vertical-align: middle;
}

#dendo_horse ul.block_list.type1 table.race_data th,
#dendo_horse ul.block_list.type1 table.race_data td {
	font-size: 1.1rem;
}


#dendo_horse ul.block_list.type1 table.race_data tr td:first-child {
	white-space: nowrap;
}

#dendo_horse ul.block_list.type1 table.race_data tr td:first-child br {
	display: none;
}



#dendo_horse ul.block_list.type1 table.race_data td .btn a {
	display: block;
	padding: 4px;
	text-decoration: none;
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
	color: #188542;
	font-weight: bold;
	text-align: center;
	white-space: nowrap;
}

#dendo_horse ul.block_list.type1 table.race_data td .btn a:hover {
	background-color: #fff8e1;
	color: #333;
}

#dendo_horse ul.block_list.type1 table.race_data td .btn a i {
	margin-right: 0.3rem;
}

div.content p.annotation {
	text-indent: -3em;
	padding-left: 3em;
}

/* ----------- 2025.06 DBリンク ---------------------------- */

.db_link {
	color: white;
}

/* ----------- 2025.06 動画エリア ---------------------------- */


#dendo_horse .movie_area .panel a { position: relative; text-align: center; }
#dendo_horse .movie_area .panel a img { vertical-align: top; max-width: 450px; width: 100%;}

#dendo_horse .movie_area .panel a > .icon {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -20px;
    font-size: 1.8rem;
    color: #eee;
    background-color: rgba(0,0,0,0.8);
    width: 60px;
    height: 40px;
    text-align: center;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

#dendo_horse .movie_area .panel a>.icon i {
	position: relative;
	left: 1px;
}

.no-touch #dendo_horse .movie_area .panel a:hover>.icon,
#dendo_horse .movie_area .panel a:focus>.icon {
	background-color: rgba(0, 0, 0, 0.5);
}

.item_grid_list .sub_header {
	display: flex;
	align-items: center;
}

.item_grid_list .panel .content {
	background-color: #ebebeb;
	border: none;
}

.item_grid_list[data-columns="3"] {
	--cardSize: 250px
}

.item_grid_list[data-columns="2"] {
	--cardSize: 300px
}

.item_grid_list {
	display: grid;
	grid: auto / repeat(auto-fit, minmax(var(--cardSize, auto), 1fr));
	gap: 30px 40px;

	& a {
		display: block;
		width: 100%;
		height: 100%;
	}
}

.item_grid_list>div {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
}

.item_grid_list>div .panel {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	gap: 0;
}


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

	調教師

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

/* --- 写真ありgrid --- */
.grid {
	display: table;
}

.grid>div {
	display: table-cell;
	vertical-align: top;
}

.grid>.img {
	width: 140px;
}

.grid>.img img {
	vertical-align: top;
}

.grid>.txt {
	padding-left: 30px;
}


/* --- データテーブル --- */
.people_data {
	width: 100%;
	border-collapse: collapse;
}

.people_data>caption {
	display: none;
}

.people_data th {
	background-color: #f4f4f4;
	border: 1px solid #e4e4e4;
	padding: 10px;
	vertical-align: middle;
	font-size: 1.3rem;
	font-weight: bold;
	white-space: nowrap;
}

.people_data td {
	border: 1px solid #e4e4e4;
	vertical-align: middle;
	padding: 10px;
	font-size: 1.2rem;
}

.people_data td dl.profile dd {
	margin-left: 1.3rem;
	margin-bottom: 6px;
}

.people_data td dl.winner {
	display: table;
	margin-bottom: 6px;
}

.people_data td dl.winner dt {
	display: table-cell;
	white-space: nowrap;
}

.people_data td dl.winner dd {
	display: table-cell;
}

/* --- 映像ボタン --- */
.block_unit>.btn a span {
	margin-left: 1rem;
}




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

	768px以下

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

	#dendo_horse ul.block_list.type1 table.race_data th.non,
	#dendo_horse ul.block_list.type1 table.race_data td.non,
	div.btn.non,
	div.content p.annotation:not(.show) {
		display: none;
	}

}



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

	639px以下

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


	.hname_block {
		padding: 8px 10px;
	}

	.hname_block h3 span {
		display: block;
		font-size: 1.0rem;
	}

	#dendo_horse ul.block_list.type1 p.back_index {
		width: 60px;
	}

	#dendo_horse ul.block_list.type1 p.back_index i {
		margin-right: 0.5rem;
	}

	#dendo_horse ul.block_list.type1 p.back_index a span {
		display: none;
	}

	#dendo_horse ul.block_list.type1 table.horse_data th,
	#dendo_horse ul.block_list.type1 table.horse_data td,
	#dendo_horse ul.block_list.type1 table.people_data th,
	#dendo_horse ul.block_list.type1 table.people_data td {
		width: 100%;
		display: block;
		border-top: none;
		text-align: left;
	}

	#dendo_horse ul.block_list.type1 table.horse_data tr:first-child th,
	#dendo_horse ul.block_list.type1 table.people_data tr:first-child th {
		border-top: 1px solid #e4e4e4;
	}

	#dendo_horse ul.block_list.type1 table.horse_data th,
	#dendo_horse ul.block_list.type1 table.race_data th {
		padding: 5px;
	}

	#dendo_horse ul.block_list.type1 table.horse_data td,
	#dendo_horse ul.block_list.type1 table.blood_line td,
	#dendo_horse ul.block_list.type1 table.race_data td {
		padding: 5px;
	}


	#dendo_horse ul.block_list.type1 table.race_data tr td:first-child {
		font-size: 1.0rem;
	}


	#dendo_horse ul.block_list.type1 table.race_data th.jockey {
		width: 58px;
	}


	#dendo_horse ul.block_list.type1 .content.item {
		padding: 10px;
	}


	/* --- 写真ありgrid --- */
	.grid {
		display: block;
	}

	.grid>div {
		display: block;
	}

	.grid>.img {
		width: auto;
		margin-bottom: 15px;
		text-align: center;
	}

	.grid>.txt {
		padding-left: 0;
	}



}

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

	479px以下

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


	#dendo_horse ul.block_list.type1 table.race_data th span {
		display: block;
		font-size: 1.1rem;
	}

	/* --- 映像ボタン --- */
	.block_unit>.btn a span {
		display: block;
		margin: 0;
	}





	#dendo_horse ul.block_list.type1 table.race_data tr td:first-child br {
		display: block;
	}
}