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

	競馬の殿堂 競走馬

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

:root {
	/* ===== カラー ===== */
	--color-gray: #014c2c;
	--color-gray-bg: #def2ed;
}

img {
	vertical-align: top;
	object-fit: contain;
}

.w940 {
	width: calc(100% - 20px);
}

.header_line h1 a {
	text-decoration: none;
	border-bottom: 1px dashed #ffffff;
	color: #ffffff;
}

.header_title {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 2.4rem;
}

.header_line .header_title i{
	font-size: 0.7em;
}

div.header_line > div.content > h1:has(a) > span.opt {
	margin-top: 8px;
	font-size: 0.7em;
}

/* - フォトギャラリー
---------------------------------------------------------------------- */


.gallery_block > .header {
	max-width: 940px;
	margin: 0 auto;
	background-color: #333;
	color: #f4bf87;
	padding: 10px;
	font-weight: bold;
	font-size: 1.6rem;
}

.gallery_block > .content { background-color: #000; }
.gallery_block > .content > .line { position: relative; }

/* --- カウンター・auto --- */
.gallery_block > .content > .line > .counter_auto {
	width: 100%;
	position: absolute;
	z-index: 200;
	height: 0;
}

.gallery_block > .content > .line > .counter_auto > .inner {
	max-width: 940px;
	margin: 0 auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.gallery_block > .content > .line > .counter_auto > .inner > .content { display: table; margin-top: 5px; margin-right: 5px; }
.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell { display: table-cell; vertical-align: middle; }

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.counter > .count {
	border-radius: 100vmax;
    padding: 0.3em 0.6em;
	line-height: 1;
    background-color: var(--color-gray-bg);
	color: var(--color-gray);
	box-shadow: 0 0 8px rgb(from var(--color-gray) r g b / 10%);
}

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.counter > .count > span {
	font-size: 1.1rem;
	font-size: clamp(1rem, 0.8337rem + 0.3472vw, 1.1rem);
    font-weight: bold;
    line-height: 1.3;
    color: #eee;
	color: var(--color-gray);
}

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.counter > .count > span.cap {
	margin: 0 0.3em;
    font-weight: normal;
}

.gallery_block > .content > .line > .counter_auto.off > .inner > .content > .cell.counter { display: none; }

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto { padding-left: 5px; }

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn > a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 22px;
    border-radius: 100vmax;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
	background-color: var(--color-gray);
    color: #fff;
	aspect-ratio: 1 / 1;
    transition: all 0.3s ease-in-out;
}

.no-touch .gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn > a:hover { border-color: #eee; }

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn.on > a {
	border: 1px solid #999;
    background-color: #e7e7e7;
    color: #444;
}

.no-touch .gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn.on > a:hover {
	border: 1px dashed #222;
    background-color: #fff;
    color: #222;
}

.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn > a span.play { display: none; }
.gallery_block>.content>.line>.counter_auto>.inner>.content>.cell.auto>.btn.on>a span.play {
	display: block;
	font-size: 0.8em;
}
.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn > a span.stop { display: block; }
.gallery_block > .content > .line > .counter_auto > .inner > .content > .cell.auto > .btn.on > a span.stop { display: none; }

/* --- 左右アロー --- */
.gallery_block > .content > .line > .slide_arrows { width: 100%; height: 100%; position: absolute; }

.gallery_block > .content > .line > .slide_arrows > .content {
	max-width: 940px;
	height: 100%;
	margin: 0 auto;
	position: relative;
}

.gallery_block > .content > .line > .slide_arrows.off > .content { display: none; }

.gallery_block > .content > .line > .slide_arrows > .content > .arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
    height: 24px;
    font-size: 1.3rem;
	z-index: 201;
}

.gallery_block>.content>.line>.slide_arrows>.content>.arrow.prev {
	left: -10px;
	left: clamp(-12px, -0.8vw, -8px);
}

.gallery_block>.content>.line>.slide_arrows>.content>.arrow.next {
	right: -10px;
	right: clamp(-12px, -0.8vw, -8px);
}

.gallery_block > .content > .line > .slide_arrows > .content > .arrow > a {
	display: flex;
	justify-content: center;
	align-items: center;
    width: 20px;
    width: clamp(20px,4vw,28px);
    height: auto;
	aspect-ratio: 1 / 1;
    position: relative;
    background-color: rgba(0,0,0,0.8);
    border-radius: 100vmax;
}

.gallery_block > .content > .line > .slide_arrows > .content > .arrow > a > img { position: absolute; }

.gallery_block > .content > .line > .slide_arrows > .content > .arrow > a > span {
	position: absolute;
    top: 0;
    width: 100%;
    height: auto;
	aspect-ratio: 1 / 1;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.gallery_block > .content > .line > .slide_arrows > .content > .arrow > a > span i { display: block; line-height: 1; }

.gallery_block > .content > .line > .slide {
	opacity: 0;
	transition: all 0.3s ease-in-out;
	font-size: 0;
}

.gallery_block > .content > .line > .slide.slick-initialized { opacity: 1; }

.gallery_block>.content>.line>.slide img {
	width: 100%;
	max-width: 940px;
}
.gallery_block > .content > .line > .slide .slick-slide { position: relative; }
.gallery_block > .content > .line > .slide .slick-slide img { opacity: 0.3; transition: opacity 0.5s ease-in-out; }

.gallery_block .content > .line > .slide .slick-slide.slick-current img { opacity: 1; }

.gallery_block .content > .line > .slide .slick-slide .date {
	position: absolute;
    left: 10px;
    bottom: 10px;
    left: clamp(5px,1.1vw,10px);
    bottom: clamp(5px,1.1vw,10px);
    padding: 0.6em 1em;
	border-radius: 100vmax;
    font-size: 1.3rem;
	font-size: clamp(1rem, 0.5010rem + 1.0417vw, 1.3rem);
	font-weight: 500;
	line-height: 1;
    color: var(--color-gray);
    background-color: rgb(from var(--color-gray-bg) r g b / 90%);
    opacity: 0;
	transition: 0.2s ease;
}

.gallery_block .content > .line > .slide .slick-slide .date.on {
	opacity: 1;
}

.gallery_block .content > .line > .bottom { background-color: #000; }

.gallery_block .content > .line > .bottom > .slide_control {
	max-width: 940px;
    margin: 0 auto;
    background-color: #000;
    padding: 8px 0;
}

.gallery_block .content > .line > .bottom > .slide_control > .content { display: table; margin: 0 auto; }
.gallery_block .content > .line > .bottom > .slide_control > .content > .cell { display: table-cell; vertical-align: middle; }
.gallery_block .content > .line > .bottom > .slide_control.off > .content > .cell.arrow { display: none; }
.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow.prev { padding-right: 10px; }
.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow.next { padding-left: 10px; }

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow > .arrow {
	width: 24px;
    height: 24px;
    font-size: 1.3rem;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow > .arrow > a {
	display: block;
    width: 24px;
    height: 24px;
    position: relative;
    background-color: rgba(0,0,0,0.5);
    border-radius: 2px;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow > .arrow > a img { position: absolute; }

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow > .arrow > a > span {
	position: absolute;
    top: 0;
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.arrow > .arrow > a > span i {
	display: block;
    line-height: 1;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.counter  > .count {
	border-radius: 2px;
    color: #fff;
    padding: 2px 8px;
    background-color: #333;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.counter  > .count > span {
	font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.3;
    color: #eee;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.counter  > .count > span.cap {
	margin: 0 0.3em;
    font-weight: normal;
}

.gallery_block .content > .line > .bottom > .slide_control.off > .content > .cell.counter { display: none; }

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto { padding-left: 10px; }

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn > a {
	display: block;
    background-color: rgba(51, 51, 51, 0.9);
    border: 1px solid #222;
    color: #fff;
    padding: 4px 8px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.no-touch .gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn > a:hover {
	border: 1px solid #eee;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn.on > a {
	border: 1px solid #999;
    background-color: #e7e7e7;
    color: #444;
}

.no-touch .gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn.on > a:hover {
	border: 1px dashed #222;
    background-color: #fff;
    color: #222;
}

.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn > a span.play { display: none; }
.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn.on > a span.play { display: block; }
.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn > a span.stop { display: block; }
.gallery_block .content > .line > .bottom > .slide_control > .content > .cell.auto > .btn.on > a span.stop { display: none; }

.gallery_block .content > .thumb_list {
	font-size: 0;
    max-width: 940px;
	margin: 2px auto 1px auto;
	background-color: #000;
}

.gallery_block .content > .thumb_list > div {
	font-size: 1.3rem;
    display: inline-block;
    width: 10%;
    margin-bottom: 1px;
}

.gallery_block .content > .thumb_list > div img {
	opacity: 0.4;
	transition: all 0.3s ease-in-out;
}

.gallery_block .content > .thumb_list > div.current img { opacity: 1; }


/* - プロフィール
---------------------------------------------------------------------- */

.profile_block table.basic caption,
table.race_data_table.basic caption{
	color: #444;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 10px;
    padding-bottom: 5px;
    text-align: left;
    border-bottom: 1px dotted #ccc;
}
.profile_block table.basic tbody > tr > td {
	border-color: #e4e4e4;
}

.profile_block table.basic.narrow-xy tbody > tr > th {
	padding: 0.3em 0.6em;
	border-color: #e4e4e4;
	white-space: nowrap;
	/* background-color: #e0f2f1; */
}



/* - 血統表
-------------------------------------------------- */

.scr .caution {
	display: none;
	width: 100%;
	margin-top: 10px;
}

.is-scrollable .caution {
	display: block;
	margin-top: 10px;
}

.bloodline-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(max-content, 1fr));
	grid-auto-flow: column;
	gap: 2px;
}

.ancestor {
	display: grid;
	place-content: center start;
	background: #f9f9f9;
	padding: 0.5rem;
}

.ancestor .relation {
	display: block;
	font-size: 1.2rem;
}

.ancestor .ancestor_name {
	display: block;
}

.ancestor.sire,
.ancestor.sire a{
	background-color: #EFF6FF;
	color: #235e96;
}

.ancestor.mare,
.ancestor.mare a {
	background-color: #ffefef;
	color: #a51953;
}

.ancestor a{
	font-weight: bold;
}

.bloodline_label {
	display: grid;
	place-content: center;
	padding: 5px 0;
	background-color: #f7f7f7;
    color: #444;
}

.bloodline_label.first {
	grid-column:1;
}

.bloodline_label.second {
	grid-column:2;
}

.bloodline_label.third {
	grid-column:3;
}

.ancestor.first {
	grid-column:1 / span 1;
	grid-row: span 4;
}

.ancestor.second {
	grid-column:2 / span 1;
	grid-row: span 2;
}

.ancestor.third {
	grid-column:3 / span 1;
	grid-row: span 1;
}
/* ------------ 3代目のみテキスト横並び ---------------- */

/* .ancestor.third .row_1 {
	display: flex;
	align-items: center;
	gap: 0.5em;
} */





/* - 競走成績
-------------------------------------------------- */

table.race_data_table {
	font-size: clamp(1.1rem, 0.7674rem + 0.6944vw, 1.3rem);
}

table.race_data_table.basic thead > tr > th {
	padding-inline: 0;
}

.race_data_table th span {
	display: inline-block;
}

table.race_data_table tbody.td_left > tr > td:last-child{
	text-align: center;
	/* background-color: #f4f4f4; */
}


.race_data_table td span {
	display: inline-block;
}

.race_data_table .btn-round {
	padding: 0.5em 1em;
	line-height: 1;
}



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

	下記　現行css

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


.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 動画エリア ---------------------------- */


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

.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;
}

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

.no-touch .movie_area .panel a:hover>.icon,
.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;
}

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


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


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

.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;
}



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

	959px以下

------------------------------------------------------------ */
@media screen and ( max-width : 959px ) {
	/* --- フォトギャラリー --- */
	.gallery_block {
		width: calc(100% - 20px);
		margin: 0 auto;
	}
}


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

	768px以下

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

	/* 競走成績 列非表示 */

	table.race_data_table th.non,
	table.race_data_table td.non,
	div.btn.non,
	div.content p.annotation:not(.show) {
		display: none;
	}

	table.basic.race_data_table tbody > tr > td  {
		padding: 5px 0.2em;
	}

	table.race_data_table tbody.td_left > tr > td:last-child {
		padding: 2px;
	}

	.btn-round.btn-sm {
		gap: 0.3em;
		font-size: 1rem;
		padding: 0.3em 0.6em;
	}

	.btn-round.btn-sm i {
		font-size: 0.8em;
	}

	/* ------------ 2025.10 競走成績　　追記 ---------------- */

	table.race_data_table + .note_list {
		display: none;
	}

}



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

	639px以下

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

		/* --- フォトギャラリー --- */
		.gallery_block .content>.thumb_list>div {
				width: calc(100% / 6)
			}



	/* .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;
	} */

	.people_data td dl.winner dt {
		white-space: normal;
	}

}

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

	479px以下

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

	/* --- フォトギャラリー --- */
	.gallery_block .content>.thumb_list>div {
		width: calc(100% / 5);
	}

	/* --- 競走成績 --- */
	table.race_data_table tbody.td_left > tr > td:first-child {
		width: 60px;
		width: calc(5em + 5px);
	}

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

	/* --- 調教師 --- */
		.grid>.img {
    display: none; 
	}

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



}