@charset "UTF-8";

html {
    font-size: 62.5%;
    overflow-x: hidden;
}
  
body{
    overflow-x: hidden;
    color: #333;
    font-size: 1.2rem;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
*, *::before, *::after {
    box-sizing: border-box;
}
a:link, a:visited, a:hover, a:active {
    /*color: #d03c56;*/
    color: #0080ff;
    text-decoration: none;
}
#loading {
    display: none; /* 初期状態では非表示にする */
    text-align: center;
    font-size: 1.2em;
    color: #666;
}

/* header*/
.header {
    width: 100%;
    padding: 2px 0 0;
    /* background: url(../img/header_bg.png) repeat-x; */
    background-color: #333; 
    box-shadow: 0 0 10px 1px #e3e3e3;
}
.hidden {
    display: none;
}
.logo {
    width: 400px;
    height: 52px;
    /*中央寄せ*/
    margin-left: 5%;
    /* background-color: #00bcf029; */
    line-height: 0.7;
    /*
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    */
    
}
.logo a {
    color: #f8f6f6;
    font-size: 3rem;
    text-align: center; 
    letter-spacing: 1rem;
    font-weight: bold;
}
.logo p {
    color: #f8f6f6;
    font-size: 1.2rem;
    text-indent: 3rem;
}

.global-nav {
    margin-top: 15px;
    text-align: center;
    background-color: #f8f8f8;
}
.global-nav .nav-item {
    display: inline-block;
    margin: 0 10px;
}
.global-nav .nav-item a{
    display: inline-block;
    width: 100px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 8px;
    color: #666;
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: 0.2s;
}
.global-nav .nav-item.active a,
.global-nav .nav-item a:hover{
    background-color: #c4c1c2;
    color:#fff;
}


/*main*/
.heading {
    padding: 10px 12px;
    margin-bottom: 5px;
    background-color: #e0e0e0;
    letter-spacing: 1px;
    font-size: 1.6rem;
}

.large_item {
    padding: 0 5px 30px;
}

.describe {
    font-size: 2rem;
}

.organization {
    padding: 10px 12px;
    background-color: #f8f8f8;
    letter-spacing: 10px;
    font-size: 1.6rem;
    text-align: center;
    list-style-type: none;
}

.zyuusyou {
    width: 100%;
    border-collapse: collapse;
}
.zyuusyou-item .date {
    border: solid 1px #ccc;
    width: 20%;
}
.sunday {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
}
.saturday {
    color: #0000ff;
    font-weight: bold;
}
.zyuusyou-item .race {
    border: solid 1px #ccc;
}
.zyuusyou-item .race .race-name {
    display: inline-block;
    width: 72%;
    padding: 0 5px;
    font-size: 1.2rem;
}

.race-grade {
    display: inline-block;
    width: 8%;
    border-radius: 5px;
    background-color:#0080ff;
    color: #f8f8f8;
    text-align: center;
    font-size: 1.2rem;
    line-height: 16px;
    font-weight: bold;
}
.G1 {
    color: #f8f8f8;
    font-weight: bold;
    background-color: #0080ff;
}
.G2 {
    color: #f8f8f8;
    font-weight: bold;
    background-color: #dc143c;
}
.G3 {
    color: #f8f8f8;
    font-weight: bold;
    background-color: #008000;
}
.Grade {
    color: #f8f8f8;
    font-weight: bold;
    background-color: #666;
}
.title{
    margin: 0 7%;
    text-align: left;
    font-weight: bold;
    font-size: 2rem;
}

/* メインのコンテナ */
.wrapper_main_page {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
/* メインエリア */
main.main_page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* 見出しスタイル */
h2.main_page {
    font-size: 1.8em;
    color: #444;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

h4.main_page, h5.main_page, h6.main_page {
    margin: 10px 0;
    color: #666;
}

/* リストのスタイル */
ul.main_page {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.main_page > li.main_page {
    margin: 8px 0;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

ul.main_page > li.main_page:hover {
    background-color: #d0e8ff;
}
.one_course_race {
    width: 100%;
}
/* 子要素のリスト (ul) */
.one_course_race h6 {
    cursor: pointer; /* クリック可能にする */
}
.one_course_race ul {
    display: none;
}
.one_course_race ul.active {
    list-style: none;
    display: block;
    padding: 0;              /* リストの余白をリセット */
    margin: 0;
}
.one_day_race ul li {
    margin-bottom: 8px;      /* リスト項目間の余白 */
    writing-mode: horizontal-tb; /* 横書き */
    white-space: nowrap; /* 改行を防止 */
    overflow: hidden;
    text-overflow: ellipsis; /* はみ出し対策 */
}

.toggle-list {
    cursor: pointer;
    position: relative;
    display: inline-block; /* 必要なら block に変更 */
    padding-right: 3%;
}

.toggle-list::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.toggle-list.open::after {
    transform: rotate(-180deg);
}


/* 小見出しと全体の階層感 */
h5.main_page {
    margin-left: 10px;
}

h6.main_page {
    margin-left: 20px;
}

/* 各セクションの区切り */
section.race_info {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    display: block;
    margin-bottom: 20px;
}


/* horse_info */
/* 特定のdiv内にのみスタイルを適用する */
.basic_information {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.basic_information .heading {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    border-radius: 8px;
}
.basic_information .heading span {
    font-size: 3rem;
    font-weight: bold;
}

.basic_information h2, 
.basic_information h3 {
    color: #333;
    margin-top: 1rem;
}

/* 基本情報表のスタイル */
.basic_information .info-table {
    width: 100%;
    margin: 1rem 0;
    background-color: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.basic_information .info-table th, 
.basic_information .info-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd; /* 項目ごとの枠線を追加 */
}

.basic_information .info-table th {
    background-color: #e3f2fd; 
    font-weight: bold;
    color: #333; 
    width: 30%;
    border-right: 1px solid #ddd;
}

.basic_information .info-table td {
    background-color: #ffffff;
}

/* 最後の行に下枠線を表示しない */
.basic_information .info-table tr:last-child td {
    border-bottom: none;
}

/* レーティング表のスタイル */
.rate-table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    table-layout: fixed; 
}

.basic_information .rate-table th, 
.basic_information .rate-table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 0.8rem;
}

.basic_information .rate-table td {
    font-size: 3rem;
}

.basic_information .rate-table th {
    background-color: #333;
    color: white;
}

.basic_information .rate-table tr:nth-child(even) {
    background-color: #f9f9f9;
}





/*horse_history*/
/* 奇数番目のリスト要素に背景色を適用 */
.history li:nth-child(odd) {
    background-color: #e0e0e0; /* 背景色を指定 */
}

.race_name_item .date {
    display: inline-block;
    width: 40%;
    height: 20%;
    font-size: 1.5rem;
}
.race_name_item .race_class {
    display: inline-block;
    text-align: center;
    width: 15%;
    height: 20%;
    border-radius: 5px;
}

.race_name_item .race_name {
    display: block;
    width: 100%;
    height: 50%;
    font-size: 2.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history_list .place {
    display: inline-block;
    width: 15%;
    height: 80%;
    font-size: 5rem;
    text-align: center;
}
.race_detail_item .rating {
    display: block;
    margin-left: 5%;
    width: 100%;
    height: 60%;
    font-size: 3rem;
}
.race_detail_item .d_rating {
    display: block;
    width: 100%;
    height: 40%;
    font-size: 1.5rem;
    padding-left: 15rem;
    text-align: left;
}
.history_list .jockey {
    display: inline-block;
    width: 30%;
    height: 80%;
    font-size: 2.5rem;
}


/* 各項目が横に並ぶようにする */
.race_name_item {
    flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 30%; /* 必要に応じてこの幅を調整 */
    padding: 0.5rem;
}
.race_detail_item {
    flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 30%; /* 必要に応じてこの幅を調整 */
    padding: 0.5rem;
}

/* コンテンツがウィンドウを超える場合に横スクロールを適用 */
.history {
    overflow-x: auto; /* 水平スクロールを有効にする */
    overflow-y: hidden; /* 垂直方向のスクロールを無効にする */
    white-space: nowrap; /* 改行を防ぐ */
    padding: 0;
    margin: 0;
    list-style: none; /* リストスタイルを削除 */
    box-sizing: border-box;
}

/* 親コンテナに水平スクロールを許可 */
.history_list {
    min-width: 970px;
    height: 80px;
    display: flex;
    flex-wrap: nowrap; /* 折り返しを防止し、横に並べる */
    -webkit-overflow-scrolling: touch; /* スムーズスクロールを有効にする（iOS向け） */
}

/* スクロールバーのスタイルを変更する例（オプション） */
.history_list::-webkit-scrollbar {
    height: 8px; /* スクロールバーの高さを調整 */
}

.history_list::-webkit-scrollbar-thumb {
    background-color: #888; /* スクロールバーの色 */
    border-radius: 4px; /* スクロールバーの角を丸く */
}

.history_list::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* スクロールバーにホバーしたときの色 */
}

/* race情報 */
.race_main_item {
    display: flex;
    flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 100%; /* 必要に応じてこの幅を調整 */
    padding: 0.5rem;
    align-items: end;
    vertical-align: bottom;
}
.race_main_item .rank {
    text-align: center;
    width: 10%;
    height: 85%;
    font-size: 1.5rem;
}
.race_main_item .rank_font {
    font-size: 5rem;
}
.race_main_item .horse_name {
    width: 35%;
    height: 70%;
    font-size:3.5rem;
}
.race_main_item .jockey_name {
    width: 35%;
    height: 70%;
    font-size:3.5rem;
}

.race_main_item .rating_item{
    width: 30%;
    height: 100%;
    text-align: left;
}
.rating_item .rating {
    width: 100%;
    height: 60%;
    font-size: 3.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rating_item .d_rating {
    width: 100%;
    height: 30%;
    font-size: 1.5rem;
    text-align: center;
}

.race_main_item .sub_item{
    width: 25%;
    height: 100%;
    text-align: left;
    font-size: 2rem;
}
.race_main_item .sub_item .detail{
    height: 50%;
}

/* ranking情報 */
.title_orange_under_bar {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    color: #333;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 5px;
    margin-bottom: 15px;
    padding-left: 10%;
}
.ranking_home_item {
    width: 98%;
    margin-left: 2%;
    margin-bottom: 100px;
    font-size: 2rem;
}

.ranking_main_item {
    display: flex;
    flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 70%; /* 必要に応じてこの幅を調整 */
    padding: 0.5rem;
    align-items: end;
    vertical-align: bottom;
}
.ranking_sub_item {
    display: flex;
    flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 25%; /* 必要に応じてこの幅を調整 */
    padding: 0.5rem;
    margin-left: 5%;
    flex-direction: column;
    font-size: 2rem;
}

.ranking_main_item .rank {
    text-align: center;
    width: 25%;
    height: 85%;
    font-size: 1.5rem;
}

.rank-font {
    font-size: 5rem;
}

.ranking_main_item .horse_name {
    width: 35%;
    height: 70%;
    font-size:3.5rem;
}
.ranking_main_item .rating_overall {
    width: 40%;
    height: 70%;
    font-size: 3.5rem;
    text-align: right;
}

/* レース Ranking */
.ranking_main_item .rank {
    display: inline-block; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 15%; /* 必要に応じてこの幅を調整 */
    height: 100%;
}
.ranking_main_item .race_name_item {
    display: inline-block; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 70%; /* 必要に応じてこの幅を調整 */
    height: 100%;
}
.ranking_main_item .race_name_item .race_date {
    display: inline-block;
    width: 20%;
    height: 25%;
    font-size: 1.5rem;
}
.ranking_main_item .race_name_item .race_class {
    display: inline-block;
    text-align: center;
    width: 70%;
    height: 25%;
    border-radius: 5px;
    text-align: left;
}
.ranking_main_item .race_name_item .race_name {
    display: block;
    width: 100%;
    height: 75%;
    font-size: 4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.ranking_main_item .ranking_sub_item {
    display: inline-block; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 15%; /* 必要に応じてこの幅を調整 */
    height: 100%;
}
.ranking_main_item .ranking_sub_item .rating_average {
    width: 100%;
    height: 70%;
    font-size: 3.5rem;
    text-align: left;
}
.ranking_main_item .ranking_sub_item .race_detail {
    display: inline-block; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
    width: 100%; /* 必要に応じてこの幅を調整 */
    height: 30%;
    font-size: 1.5rem;
    text-align: center;
}

/* jockey_rank */
.ranking_jockey_main_item {
    display: flex;
    align-items: center;
    width: 40%; /* 必要に応じてこの幅を調整 */
}
.ranking_jockey_sub_item {
    display: inline-block;
    align-items: center;
    width: 60%; /* 必要に応じてこの幅を調整 */
}
.ranking_jockey_main_item .rank {
    text-align: right;
    width: 30%;
    font-size: 1.5rem;
    padding-top: 5%;
}
.ranking_jockey_main_item .jockey_name {
    margin-left: 15%;
    width: 50%;
    font-size:4rem;
    padding-top: 5%;
    text-align: center;
}
.ranking_jockey_sub_item .rating_overall {
    display: inline-block;
    width: 45%;
    height: 100%;
    font-size: 3.5rem;
    text-align: right;
}
.ranking_jockey_sub_item .rating_ave {
    display: inline-block;
    width: 50%;
    height: 100%;
    font-size: 3rem;
    text-align: center;
}

/* generation_page */
/* URL list */
.url-list {
    list-style-type: none;
}
.url-item {
    margin: 1rem 0;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1.5rem;
}

/* 累計or平均 */
/* 共通のボタンスタイル */
.selection-wrapper {
    display: flex;
    width: 100%;
    max-width: 600px; /* コンテナの幅を調整 */
    height: 50px; /* 高さを設定 */
    margin: 20px auto; /* 中央揃え */
    border: 2px solid #333; /* 全体の枠線 */
    border-radius: 8px; /* 角を丸く */
    overflow: hidden; /* 子要素がはみ出さないようにする */
}
.selection-wrapper a {
    flex: 1; /* 要素を均等に広げる */
    display: flex; /* 中央揃えのためにフレックスボックスを使用 */
    justify-content: center;
    align-items: center;
    text-decoration: none; /* 下線を消す */
    font-size: 18px;
    border-left: 1px solid #333; /* ← 全部に左線 */
}
/* 一番左の要素には左線を消す */
.selection-wrapper a:first-child {
    border-left: none;
}
.current {
    background-color: #888;
    color:  #f8f6f6 !important;
}
.no-current {
    background-color: white;
    color: #333 !important;
}


.wrapper {
    width: 100%;
    margin: 0px auto 40px;
}
.main {
    display: block;
    float: left;
    width: 100%;
}

.footer {
    width: 100%;
}
.clearfix::after {
    content: '';
    display: block;
    clear: both;
}
.shadow{
    padding: 10px;
    color: #f8f6f6;
    font-weight: bold;
    font-size: 100px;
    text-shadow:
        3px 3px 3px #000, -3px -3px 3px #000,
        -3px 3px 3px #000,  3px -3px 3px #000;
    margin: 0;
}

.for-iphone {
    display: none;
}
.on-off {
    display: inline;
    font-size: 1.5rem;
}

/* ------------------------------------------------- */
/* スマホ用 */
@media screen and (max-width: 500px) {
    /* スマホの方へ横持を促す */
    .for-iphone {
        /* display: inline;
        font-size: 3rem;
        color: red; */
        display: none;
    }
    .on-off {
        display: none;
    }

    /* スマホやタブレット向けにスタイルを変更 */
    html {
        font-size: 50%;
    }
    /* header*/
    .logo {
        height: 30px;       
    }

    .global-nav {
        text-align: left;
    }
    .global-nav .nav-item a{
        width: 70px;
        font-size: 1.5rem;
    }

    /* メイン */
    .wrapper_main_page {
        margin: 0px auto;
        padding: 0px;
    }

    /* ランキング */
    .history {
        overflow-x: hidden; /* 水平スクロールを有効にする */
    }
    .history_list {
        width: 100%;
        height: 60px;
        display: flex;
        min-width: auto; /* もしくは unset */
        flex-wrap: nowrap; /* 折り返しを防止し、横に並べる */
    }

    /* 馬 */
    .ranking_main_item {
        display: flex;
        flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
        width: 100%; /* 必要に応じてこの幅を調整 */
        padding: 0.5rem;
        align-items: end;
        vertical-align: bottom;
    }
    .ranking_sub_item {
        display: None;
    }  
    .ranking_main_item .rank {
        text-align: center;
        width: 15%;
        height: 100%;
        font-size: 1.5rem;
        vertical-align: bottom;
    }
    .rank-font {
        font-size: 3rem;
    }
    .ranking_main_item .horse_name {
        width: 50%;
        height: 60%;
        font-size:3.5rem;
    }
    .ranking_main_item .rating_overall {
        width: 35%;
        height: 100%;
        font-size: 2rem;
        vertical-align: top;
    }

    /* 騎手 */
    .ranking_jockey_main_item {
        width: 40%;
        margin-right: 10%;
    }
    .ranking_jockey_sub_item {
        width: 50%;
    }
    .ranking_jockey_main_item .rank {
        text-align: right;
        width: 30%;
        font-size: 1.5rem;
    }
    .ranking_jockey_main_item .jockey_name {
        margin-left: 15%;
        width: 50%;
        font-size:4rem;
        text-align: center;
    }
    .ranking_jockey_sub_item .rating_overall {
        display: block;
        width: 100%;
        height: 50%;
        font-size: 3.2rem;
        text-align: right;
    }
    .ranking_jockey_sub_item .rating_ave {
        display: block;
        width: 100%;
        height: 50%;
        font-size: 1.5rem;
        text-align: right;
    }

    /* レース */
    .ranking_main_item .rank {
        width: 10%;/*  */
    }
    .ranking_main_item .rank .rank-font {
        font-size: 2rem;
    }
    .ranking_main_item .race_name_item {
        width: 50%; /*  */
    }
    .ranking_main_item .race_name_item .race_date {
        width: 50%;/*  */
    }
    .ranking_main_item .race_name_item .race_class {
        width: 130%;/*  */
    }
    .ranking_main_item .race_name_item .race_name {
        display: block;
        width: 100%;
        height: 75%;
        font-size: clamp(1.0rem, 7vw, 2.5rem); /* 最小1.5rem、最大3.5rem、推奨10vw */  /* */
        text-align: left;
    }
    .ranking_main_item .ranking_sub_item {
        width: 30%; 
    }
    .ranking_main_item .ranking_sub_item .rating_average {
        height: 70%;
        font-size: 2.5rem;/* */
        text-align: center;
    }
    .ranking_main_item .ranking_sub_item .race_detail {
        display: inline-block; 
        width: 100%; 
        height: 30%;
        font-size: clamp(1.5rem, 3vw, 2rem);/* */
        text-align: left;
    }

/* ------------------------------------------------- */
    /* detail */
    /* レース情報 */

    .race_main_item {
        display: flex;
        flex: 0 0 auto; /* コンテンツの幅に応じて要素が自動的にサイズを持つ */
        width: 100%; /* 必要に応じてこの幅を調整 */
        padding: 0.5rem;
        align-items: end;
        vertical-align: top;/* */
    }
    .race_main_item .rank {
        text-align: left;
        width: 12%;
        height: 100%;/* */
        font-size: 1.2rem;/* */
    }
    .race_main_item .rank_font {
        font-size: 3rem;/* */
    }
    .race_main_item .horse_name {
        width: 50%;
        height: 70%;
        font-size: 2.6rem;
    }
    
    .race_main_item .rating_item{
        width: 20%;
        height: 100%;
        text-align: left;
    }
    .rating_item .rating {
        width: 100%;
        height: 60%;
        font-size: 2rem;/* */
    }
    .rating_item .d_rating {
        width: 100%;
        height: 30%;
        font-size: 1.5rem;
        text-align: center;
    }
    
    .race_main_item .sub_item{
        width: 10%;
        height: 100%;
        text-align: left;
        font-size: 1.3rem;/* */
    }
    .race_main_item .sub_item .detail{
        height: 50%;
    }


    /* 馬ごとのレース履歴 */
    .large_item .history .history_list .race_name_item .date {
        display: inline-block;
        width: 65%; /* */
        height: 20%;
        font-size: 1.5rem;
    }
    .large_item .history .history_list .race_name_item .race_class {
        display: inline-block;
        text-align: center;
        width: 25%; /* */
        height: 25%;
        border-radius: 5px;
    }
    .large_item .history .history_list .race_name_item {
        width: 45%;
    }

    .race_name_item .race_name {
        display: block;
        width: 100%;
        height: 50%;
        font-size: 2.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .large_item .history .history_list .place {
        display: inline-block;
        width: 20%;
        height: 80%;
        font-size: 4.5rem;
        text-align: center;
    }
    .large_item .history .history_list .race_detail_item{
        width: 20%;
    }
    .race_detail_item .rating {
        display: block;
        margin-left: 10%; /* */
        width: 40%;
        height: 60%;
        font-size: 3rem;
    }
    .race_detail_item .d_rating {
        font-size: 1.5rem;
        padding-left: 1rem;
    }
    .large_item .history .history_list .jockey {
        display: none;
    }

}

/* mini用 */
@media screen and (max-width: 375px) {
    .ranking_jockey_sub_item .rating_overall {
        font-size: 2.5rem;
    }
    .race_main_item .horse_name {
        font-size: 2.3rem;
    }
    .race_main_item .jockey_name {
        font-size: 2.3rem;
        width: 25%;
    }
    .race_main_item .rank {
        text-align: left;
        width: 12%;
        height: 100%;/* */
        font-size: 1rem;/* */
    }
    .race_main_item .rank_font {
        font-size: 2.5rem;/* */
    }
    .rating_item .rating {
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: right;
        transform: translateX(-15%);
    }
}