@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: revert !important;
}
/* 通常のソート可能ヘッダ */
th[data-sort] {
  cursor: pointer;
  position: relative;
  padding-right: 1.5em;
  white-space: nowrap;
  transition: background-color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ホバー時 */
th[data-sort]:hover {
  background-color: #f0f8ff;
}

/* デフォルト ⇅ 表示 */
th[data-sort]::after {
  content: " ⇅";
  font-size: 1.3em;
  color: #aaa;
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

/* アクティブ列：背景色＆矢印表示 */
.entry_info th.sort-asc {
  background-color: #eee;
  font-weight: bold;
}
.entry_info th.sort-desc {
  background-color: #eee;
  font-weight: bold;
}
.entry_info th.sort-asc::after {
  content: " ↑";
  color: deepskyblue;
}
.entry_info th.sort-desc::after {
  content: " ↓";
  color: deepskyblue;
}

/* スイッチの全体的なスタイル */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* スイッチがOFFの状態の時のスライダー */
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

/* スライダーのスタイル */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

/* スライダーの丸みを帯びた部分 */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* チェックボックスがチェックされた時のスライダーの背景と位置の変更 */
input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* スライダーのオプション: 丸みを帯びたスライダー */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
.switch-description {
  font-size:15px;
}

.hashtag p {
  margin-bottom:3px;
  width: fit-content;
  border-color: rgba(1, 96, 0, .5);
  border-width: 1px;
  border-style: solid;
  font-size: 14px;
  padding: .4% .4% .4%;
  border-radius: var(--cocoon-basic-border-radius);
  background-color: #eee;
}

body {
  max-width: 100%;
  padding: 0;
}
h2.wp-block-heading {
box-sizing: border-box;
margin-top: 2rem;
margin-bottom: 2rem;
}
.scroll {
  padding-bottom: .5rem;
}
.scrollable-table th, .scrollable-table td {
    padding: 4px 5px;
    white-space: nowrap;
}
a {
  font-weight: 600;
  text-decoration: none;
}
.card-thumb > img {
  border:1px solid #ccc;
}
.navi-in a {
  font-size: 12px;
}
.navi-in > ul {
  justify-content: left;
}
.silks_m {
  line-height: 0.1em;
}
.silks_m > img,.silks_m>a>img {
  width: 40px;
  border: 1px solid #ccc;
}
.blogcard-thumbnail img {
 border: 1px solid #ccc;
}
td.active{
  color:blue;
}
td.retire{
  color:red;
}
.world_ranking {
  text-align: center;
}
.world_ranking th {
  background: #343434 !important;
  color: #fff;
}
.world_ranking td:nth-child(6) {
  text-align: left;
}
.comment {
  padding: 5px;
  background: beige;
  border: 3px solid #ccc;
  margin: 20px;
}
.trophy {
  color: gold;
  padding-right: .3rem;
}

.grade_race {
  font-size: 0.9em;
}
.grade_race th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
.grade_race td {
  text-align: left;
}
.leading {
  font-size: 0.9em;
}
.leading .base{
  text-align: center;
}
.leading th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
  min-width: 40px;
}
.leading td {
  text-align: right;
}
.leading td:nth-child(1) {
  text-align: center;
}
.leading td:nth-child(2) {
  text-align: left;
}
.debut_jockey th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
  min-width: 40px;
}
.debut_jockey td {
  text-align: center;
}
.prize_list th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
.prize_list td {
  text-align: center;
}
.result_data_table th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
.result_data_table td {
  text-align: center;
}
.race_list th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
.race_list tr td, th {padding: 8px 5px;font-size: 0.9em;border: 0.1px solid #999;text-align: center;}
.race_list div {line-height: 100%;}
.race_list .icon {width: 30px;height: 30px;}

.entry_info {min-width: 600px;}
.entry_info th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}


.entry_info tr td, th {padding: 8px 5px;font-size: 0.9em;border: 0.1px solid #999;}
.entry_info td:nth-child(3) {text-align: center;font-size: 0.9em;}
.entry_info td {height: 60px;min-width:60px;}
.entry_info {font-size: 0.9em;}
.entry_info td:nth-child(1) {text-align:center;}
.entry_info td:nth-child(2) {text-align:center;}
.entry_info td:nth-child(4) {text-align:center;}
.entry_info td:nth-child(7) {text-align:right;}
.entry_info td:nth-child(9) {border-left:3px #999 double;}
.entry_info .jockey {text-align:left !important;}

.ranking_info {min-width: 600px;}
.ranking_info th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
.ranking_info tr td, th {padding: 8px 5px;font-size: 0.9em;border: 0.1px solid #999;}
.ranking_info td {height: 60px;}
.ranking_info .rank {
  text-align: center;
}
.ranking_info .rating {
  text-align: center;
}
.ranking_info .year {
  text-align: center;
}
.ranking_info .flag {
  text-align: center;
}
.ranking_info .age {
  text-align: center;
}

.trainer {
  text-align: left !important;
}
.rating {
  text-align: center;
}
.odds {
  text-align: right;
}
.woman_jockey {
  width: 10rem;
}

/* tab area */
.tabs {margin: 0 auto;}

.tab_item {
  width: calc(100%/4);
  height: 50px;
  background-color: #d9d9d9;
  line-height: 50px;
  font-size: 0.8em;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}
.tab_item img{
  vertical-align: middle;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
  display: none;
  padding: 40px 0;
  clear: both;
  overflow: hidden;
}

.disabled {
  background: #777;
}

#jpn:checked ~ #jpn_content,
#jra:checked ~ #jra_content,
#nar:checked ~ #nar_content,
#hkg:checked ~ #hkg_content,
#aus:checked ~ #aus_content,
#fra:checked ~ #fra_content,
#usa:checked ~ #usa_content,
#gbr:checked ~ #gbr_content,
#ire:checked ~ #ire_content,
#saf:checked ~ #saf_content,
#uae:checked ~ #uae_content {
  display: block;
}

#JPN:checked ~ #JPN_content,
#JRA:checked ~ #JRA_content,
#NAR:checked ~ #NAR_content,
#HKG:checked ~ #HKG_content,
#AUS:checked ~ #AUS_content,
#FRA:checked ~ #FRA_content,
#ITA:checked ~ #ITA_content,
#USA:checked ~ #USA_content,
#GBR:checked ~ #GBR_content,
#GER:checked ~ #GER_content,
#IRE:checked ~ #IRE_content,
#SAF:checked ~ #SAF_content,
#UAE:checked ~ #UAE_content,
#NZL:checked ~ #NZL_content {
  display: block;
}

.tabs input:checked + .tab_item {
  background-color: #016000;
  color: #fff;
}
/* tab area */

/**** 血統 ****/
.father {background:#e0ffff;width:250px;border: 1px solid #999;
  vertical-align: middle;height: 71px;}
.mother {background:#ffc0cb;width:250px;border: 1px solid #999;
  vertical-align: middle;height: 71px;}


/**** table ****/
table {
border-collapse: collapse;
}
.entry-content{
  margin-bottom: 1em !important;
}
table.race_info_table th,
table.race_info_table2 th,
table.sales_table th,
table.result_table th,
table.result_table_2 th,
table.sales_table th,
table.race_result th,
table.jockey_result_table th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  font-size:10px;
}
table.sales_table td {
  min-width: 2rem;
}
table.jockey_results_table th,table.atendance_results_table th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  font-size:11px;
}
table.jockey_results_table td,table.atendance_results_table td {
  text-align: center;
}
table.jpn_results_table th,table.jpn_results_table2 th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  font-size:11px;
}
table.course_result_table th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  font-size:11px;
}
table.trainer_result_table th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  font-size:11px;
}
table.horse_info th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
table.future_race_info th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
table.jockey_profile th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
table.trainer_profile th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
table.owner_profile th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  height: 40px;
}
table.wins_jockey_list{
  width:100px;
}
table.wins_jockey_list th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
}
table.wins_jockey_list td {
  text-align: center;
}
.race_info_table {min-width: 400px;}
.race_info_table tr td {padding: 8px 3px;font-size: 0.7em; border: 0.2px solid #999;}
.race_info_table2 {min-width: 400px;}
.race_info_table2 tr td {padding: 8px 3px;font-size: 0.65em; border: 0.2px solid #999; text-align: center;min-width: 2rem;}
.sales_table {min-width: 400px;}
.sales_table tr td {padding: 8px 3px;font-size: 0.7em; border: 0.2px solid #999;text-align: center;}
.race_info_table td:nth-child(1) {text-align: right;}
.race_info_table td:nth-child(3) {text-align: center;}
.race_info_table td:nth-child(6) {text-align: right;}
.result_table_2 {min-width: 700px;}
.result_table_2 tr td {padding: 8px 4px;font-size: 0.9em;border: 0.2px solid #999;white-space: normal;}
.result_table_2 td:nth-child(5) {text-align: center;min-width: 53px;
  font-size: 0.7em;}
.result_table_2 td {height: 4.8rem;}
.result_table_2 th {white-space: nowrap;}
.result_table_2 td:nth-child(3) {min-width: 88px;white-space: normal;text-align: center;font-size: 13px;}
.result_table_2 td:nth-child(4) {min-width: 140px;}
.result_table_2 td:nth-child(5) {white-space: nowrap;}
.result_table_2 td:nth-child(6) {white-space: nowrap;text-align: center;}
.result_table_2 td:nth-child(9) {min-width: 80px;}
.result_table_2 td:nth-child(10) {white-space: nowrap;}
.result_table_2 td:nth-child(11) {white-space: nowrap;}
.result_table_2 td:nth-child(1) {text-align: center;}
.result_table_2 td div {width:24px;}

.result_table_3 tr td, th {padding: 6px 2px;font-size: 0.75em;border: 0.2px solid #999;}
.result_table_3 td:nth-child(5) {text-align: center;min-width: 53px;
  font-size: 0.7em;}
.result_table_3 td {height: 58px;}
.result_table_3 th {white-space: nowrap;}
.result_table_3 td:nth-child(3) {min-width: 75px;}
.result_table_3 td:nth-child(4) {min-width: 140px;}
.result_table_3 td:nth-child(5) {white-space: nowrap;}
.result_table_3 td:nth-child(6) {white-space: nowrap;}
.result_table_3 td:nth-child(7) {text-align: right;}
.result_table_3 td:nth-child(10) {white-space: nowrap;}
.result_table_3 td:nth-child(11) {white-space: nowrap;}
.result_table_3 td:nth-child(1) {text-align: center;}
.result_table_3 td div {width:24px;}

.trainer_result_table {min-width: 700px; font-size: 0.9em;}
.course_result_table {min-width: 700px; font-size: 0.9em; text-align: center;}
.jockey_results_table {min-width: 700px;font-size: 16px;}
.atendance_results_table {min-width: 700px;font-size: 16px;}
.jpn_results_table {min-width: 700px;font-size: .9em;}
.jpn_results_table2 {min-width: 300px;font-size: 1em; text-align: center;}
.jpn_results_table td {min-width: 40px;}
.jockey_result_table {min-width: 700px;font-size: 16px;}
.jockey_result_table td:nth-child(1) {text-align: center;}
.jockey_result_table td {
  min-width: 20px;
  text-align: right;}

.flag_m {width: 22px;
  line-height: 22px;
  min-width: 22px;
  width: 100%;
text-align: center;}
img.flag_m {border: 1px solid #ccc;width: 22px;}
.result_info {
  font-size: 18px;
  color: #363636;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 10px;
  padding-left: 15px;
  clear: both;
  background: #ebebeb;
  min-width:250px;
  width: 50%;
  padding: 10px;
}
.race_info {
  font-size: 18px;
  color: #363636;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 10px;
  padding-left: 15px;
  clear: both;
  background: #ebebeb;
  min-width:250px;
  padding: 10px;
}
.race_name {
  float: left;
  font-size: 20px;
  color: #363636;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 10px;
  padding-right: 15px;
}
.future_race_name {
  font-size: 20px;
  color: #363636;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 10px;
  padding-right: 15px;
}
.horse_name {
  text-align: left !important;
}
tr:nth-child(even){
background-color: #e8ecf5;
}
.race_result {min-width: 600px;}
.race_result td:nth-child(1){
text-align:center;
}
.race_result td:nth-child(2){
text-align:center;
}
.race_result td:nth-child(3){
text-align:center;
}
.race_result td:nth-child(8){
text-align:center;
}
.race_result2 td:nth-child(5){
text-align:center !important;
}
.race_result2 td:nth-child(6){
text-align:center !important;
}
.race_result2 td:nth-child(8){
text-align:left !important;
}
.race_result td:nth-child(9){
text-align:center;
}
.race_result td:nth-child(10){
text-align:center;
}
.race_result2 td:nth-child(11){
text-align:center;
}

.race_result td{
border: 1px solid #999;
vertical-align: middle;
padding: 5px 3px 5px 3px;
max-width: 190px;
}
.race_result {
border: 1px solid #999;
font-size: 14px;
}
.race_result_history th {
  background: #343434!important;
  color: #fff;
  border: 1px solid #999;
}
.race_result_history td {
  font-size:.9rem;
  text-align: center;
}
.rota_1 {
background: lightgreen;
}
.rota_2 {
background: lightblue;
}
.rota_3 {
background: lightpink;
}

/**** グレード ****/
div.grade {
float: left;
font-size: 16px;
font-weight: bold;
line-height: 1.2;
margin: 0;
/* margin-bottom: 10px; */
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
min-width: 30px;
max-width: 75px;
}
.td_grade{
text-align: center;
}
td>.grade {
padding: 2px;
border-radius: 4px;
padding-left: 8px;
padding-right: 8px;
}
.grade {
border-radius: 5px;
}
.G1, .Jpn1, .障G1{
color: #fff;
background: blue;
}
.G2, .Jpn2, .障G2{
color: #fff;
background: red;
}
.G3, .Jpn3, .障G3, .重賞, .交流重賞{
color: #fff;
background: green;
}
.OP{
color: #fff;
background: #333;
}
.L, .LR, .障L{
color: yellow;
background: #333;
}
.L, .障L{
padding-left: 12px !important;
padding-right: 12px !important;
}
.交流重賞{
padding-left: 4px !important;
padding-right: 4px !important;
}
span.grade.\31 勝クラス,span.grade.\32 勝クラス,span.grade.\33 勝クラス,span.grade.\31 600万下,span.grade.\31 000万下,span.grade.\35 00万下 {
  padding:0px !important;
}

/**** 着順 ****/
.chaku {
padding: 3px;
text-align: center;
}
.chaku>span {
padding-top: 5px;
padding-bottom: 5px;
border-radius: 2px;
}
.chaku._1 {
background: lightpink;
font-weight: bold;
}
.chaku._2 {
background: skyblue;
font-weight: bold;
}
.chaku._3 {
background: palegreen;
font-weight: bold;
}

/**** 人気 ****/
.ninki {
text-align: center;
}
.ninki._1 {
font-weight: bold;
color: red;
}
.ninki._2 {
font-weight: bold;
color: blue;
}
.ninki._3 {
font-weight: bold;
color: green;
}

/**** 枠 ****/
.waku {
padding: 6px;
}
.waku>span {
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 4px;
border-radius: 2px;
border: 1px solid #999;
}
.waku._1>span {
background: #fff;
color: #000;
}
.waku._2>span {
background: #000;
color: #fff;
}
.waku._3>span {
background: red;
color: #fff;
}
.waku._4>span {
background: blue;
color: #fff;
}
.waku._5>span {
background: yellow;
}
.waku._6>span {
background: green;
color: #fff;
}
.waku._7>span {
background: orange;
color: #fff;
}
.waku._8>span {
background: pink;
color: #000;
}

/**** オッズ色 ****/
.odds._1 {
color: red;
}
.odds._2 {
color: blue;
}
.odds._3 {
}
#nav {
  list-style: none;
  /* height: 100px; */
  padding: 1rem;
}
#nav li {
  text-align: center;
  background-color: #333;
  float: left;
  height: 50px;
  line-height: 50px;
  margin-right: 2px;
}
#nav li:hover {
  background-color: #999; /* マウスオーバー時の背景色 */
}
 
#nav li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 20px;
}

table.umamusume_table th {
  background: #343434 !important;
  color: #fff;
  border: 1px solid #999;
  font-size: .8rem !important;
}
.amazonlink {
  float: left;
  padding: .5rem;
}
.amazonlink a {
  color: #fff;
  background: #f79901;
  padding:3px;
  font-weight: 100 !important;
}
.rakutenlink {
  float: left;
  padding: .5rem;
}
.rakutenlink a {
  color: #fff;
  background: #bf0000;
  padding:3px;
  font-weight: 100 !important;
}
.yahoolink {
  float: left;
  padding: .5rem;
}
.yahoolink a {
  color: #fff;
  background: #ff0027;
  padding:3px;
  font-weight: 100 !important;
}
.surugayalink {
  float: left;
  padding: .5rem;
}
.surugayalink a {
  color: #fff;
  background: #0000af;
  padding:3px;
  font-weight: 100 !important;
}
.mercarilink {
  float: left;
  padding: .5rem;
}
.mercarilink a {
  color: #fff;
  background: #4dc9ff;
  padding:3px;
  font-weight: 100 !important;
}
/*動画表示のモーダルの余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
	padding:0;
}

/*モーダルのボタンの色を変更したい場合*/
.modaal-close:after, 
.modaal-close:before{
	background:#ccc;	
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}
.modaal-container {
	height: 100% !important;
	width: 50% !important;
  min-width: 320px;
}

.afi_area{
  padding: 22px 25px;
  width: 96%;
  border: 3px solid #dfdfdf;
}
p.link_txt {
  margin-bottom: 0!important;
  font-size: 16px;
}
.
/**** ここまで追加 ****/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
  /*必要ならばここにコードを書く*/
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/

  th[data-sort] {
    font-size: 0.95em;
    padding: 0.6em 1em;
  }
  th[data-sort]::after {
    font-size: 1em;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .tab_item {
    font-size: .6em;
  }
}
