@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: "Mgen+ 2cp";
    font-weight: normal;
    src: local("mgenplus-2c-regular"),
        url("../fonts/mgenplus-2cp-regular.woff2") format("woff2"),
        url("../fonts/mgenplus-2cp-regular.woff") format("woff");
}

@font-face {
    font-family: "Mgen+ 2cp";
    font-weight: bold;
    src: local("mgenplus-2cp-bold"),
        url("../fonts/mgenplus-2cp-bold.woff2") format("woff2"),
        url("../fonts/mgenplus-2cp-bold.woff") format("woff");
}

@font-face {
    font-family: "Mgen+ 2cp";
    font-weight: 900;
    src: local("mgenplus-2cp-black"),
        url("../fonts/mgenplus-2cp-black.woff2") format("woff2"),
        url("../fonts/mgenplus-2cp-black.woff") format("woff");
}

/* ロード画面全体 */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* スピナー */
.spinner {
    border: 8px solid #f3f3f3;
    /* 背景色 */
    border-top: 8px solid #3498db;
    /* 回転色 */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-color: #0d0d0d;
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 1300px;
    margin: 0;
    /* background-image: url('../img/background.png'); */
    background-size: unset;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.container {
    width: 1200px;
    margin: auto;
}

/* ヘッダーここから */
header {
    /* background-color: #0d0d0d; */
    color: #fff;
    /* background-image: url('../img/header_img.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    /* 背景色必要なら */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#countdown {
    position: absolute;
    /* ←同じ位置に重ねる */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

#countdown img {
    width: 50px;
}

#logo-titles {
    opacity: 0,
}



.days {
    width: 120px;
    padding: 1rem;
}

.head-wrap {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.head-logo-wrapper {
    position: relative;
    /* 子を絶対位置で重ねるために必要 */
    display: inline-block;
    /* 横幅を画像に合わせたい場合 */
}

.head-logo-left {
    display: block;
    max-width: 300px;
}

.head-logo-overlay {
    height: 67px;
    margin-top: 0.2rem;
}

.num-wrapper {
    display: flex;
    position: absolute;
    top: 0;
    right: 47px;
    gap: 0px;
}

.head-title {
    margin: 0 auto;
    display: block;
    margin-top: -2rem;
    width: 100%;
}

.position_relative {
    position: relative;
}

/* メニューボタン */
.menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1000;
    display: none;
}

.menu-btn span {
    height: 6px;
    /* ← 6px〜7pxを推奨 */
    width: 120%;
    margin-left: -10%;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s ease;
    transform-origin: center;
}

.menu-btn {
    width: 30px;
    /* ← 40px から縮める */
    height: 24px;
    /* ← 線の間隔も狭める */
}

.menu-btn span {
    height: 4px;
    width: 140%;
    /* ← 長めにして欠けを防ぐ */
    margin-left: -20%;
}

/* open状態 */
.menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 10px;
}

.menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -10px;
}

/* ドロップダウンナビ */
.dropdown-nav {
    position: fixed;
    /* ← 最上部に固定 */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    overflow: hidden;
    max-height: 0;
    /* 初期は非表示 */
    transition: max-height 0.4s ease;
    z-index: 999;
    /* ヘッダーより前に出す */
}

.dropdown-nav ul {
    list-style: none;
    margin: 0;
    padding: 80px 20px 20px;
    /* 上は余白を大きめにしてボタンと被らないように */
    text-align: center;
}

.dropdown-nav li {
    margin: 20px 0;
}

.dropdown-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
}

/* 開いたとき */
.dropdown-nav.open {
    max-height: 100vh;
    /* 画面いっぱいまで展開 */
}



/* ヘッダーここまで */

/* フッターここから */
footer {
    color: #fff;
    font-size: 1rem;
    margin-top: 0rem;
    background-color: #0d0d0d;
}

.foot-btm {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid;
    line-height: 1.8;
    color: #fff;
    text-decoration: none;
}

#fixed-news {
    padding: 4px 0;
    background-color: #0d0d0d;
    border-top: 3px solid #b05c00;
    border-bottom: 3px solid #ffa735;
    margin-top: 3rem;
}

#fixed-news .fixed-news-inner {
    display: flex;
    align-items: center;
    font-size: 1.4em;
}

#fixed-news .fixed-news-inner .title {
    background-color: #ffaf00;
    color: #0d0d0d;
    padding: 4px 20px;
    flex-shrink: 0;
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(90deg, #cfaa5c, #ebd280);
}

#fixed-news .fixed-news-inner .contents {
    overflow: hidden;
    width: 100%;
}

#fixed-news .fixed-news-inner .scroll {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: animate-banner 20s linear infinite;
}

#fixed-news .fixed-news-inner .scroll p {
    color: #fff;
}

@keyframes animate-banner {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-100%)
    }
}

.red {
    color: #ff7272;
}

#top-contents {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#top-contents .main-bnr {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    order: 1;
    flex: 1;
}

#top-contents .main-bnr-sensyu {
    width: 49%;
    height: 1350px;
    background: #0d0d0d;
    display: inline-block;
    vertical-align: top;
    padding: 1rem;
    /* background-image: url('../img/ranking_background.png'); */
    background-position: bottom;
    background-size: cover;
    /* 必要に応じて */
    overflow-y: auto;
    /* 縦スクロールを可能にする */
    box-sizing: border-box;
    /* padding を含めて高さを計算 */
    order: 2;
    flex: 1;
}

#top-contents .main-bnr-left-top {
    width: 100%;
    height: auto;
    background: rgba(13, 13, 13, 0.8);
    margin-bottom: 0.5rem;
    padding: 1rem;
    /* background-image: url('../img/background.png'); */

}

#top-contents .main-bnr-left-top h2 {
    color: #fff;
    text-align: center;
    font-weight: normal;
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    font-size: 1.3rem;
}

#top-contents .main-bnr-left-bottom {
    width: 100%;
    height: 280px;
    background: rgba(13, 13, 13, 0.7);
    margin-bottom: 0.5rem;
    padding: 1rem;
    /* background-image: url('../img/background.png'); */
}

#top-contents .main-bnr-left-bottom h2 {
    color: #fff;
    text-align: center;
    font-weight: normal;
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    font-size: 1.3rem;
}

/* Chrome, Edge, Safari */
#top-contents .main-bnr-sensyu::-webkit-scrollbar {
    width: 10px;
}

/* トラック（背景） */
#top-contents .main-bnr-sensyu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    /* 黒背景に馴染む薄いトラック */
    border-radius: 10px;
}

/* つまみ（サム） */
#top-contents .main-bnr-sensyu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd966, #ffaf00);
    /* 上下で明暗をつけて立体感 */
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    /* 少し浮かせる印象 */
}

/* ホバー時 */
#top-contents .main-bnr-sensyu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffe08c, #ffc233);
    border: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Firefox 対応 */
#top-contents .main-bnr-sensyu {
    scrollbar-width: thin;
    scrollbar-color: #ffaf00 rgba(0, 0, 0, 0.1);
}

.head-ranking {
    margin: 0 auto;
    display: block;
    margin-top: 1rem;
    width: 45%;
}

.main-bnr-sensyu h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: normal;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: right;
}

.main-bnr-sensyu .header {
    text-align: center;
}

.main-bnr-sensyu .header_img {
    text-align: center;
    width: 25%;
    vertical-align: bottom;
}



.main-bnr-sensyu .body {
    text-align: center;
    padding: 1rem 0rem;
}

.main-bnr-left-top .header {
    text-align: left;
}

.main-bnr-left-top .header img {
    width: 75px;
    margin-top: 0.8rem;
    vertical-align: bottom;
}

.main-bnr-left-top .header_img {
    text-align: center;
    width: 25%;
    vertical-align: bottom;
}

.main-bnr-left-top .body {
    color: #fff;
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
    padding: 1rem;
    background: #e9e9e9;
    margin-top: 1rem;
}

.main-bnr-left-bottom .body {
    color: #fff;
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
    padding: 1rem;
    background: #e9e9e9;
    margin-top: 1rem;
    height: 120px;
    overflow-y: auto;
}

.main-bnr-left-bottom .body>div {
    max-height: 100%;
    /* .body の高さに合わせる */
    overflow-y: auto;
    /* スクロール有効 */
}

.dispp_on {
    display: block;
}

.dispp_off {
    display: block;
}

.main-bnr-sensyu .body {
    color: #fff;
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
    border: solid 3px #b77503;
    padding: 1rem;
    background: #e9e9e9;
}

.main-bnr-sensyu .body table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}


.main-bnr-sensyu .body table thead tr td {
    font-weight: bold;
    padding: 0.1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: #0d0d0d;
}

.main-bnr-sensyu .body table thead tr td:nth-child(1) {
    width: 15%;
    border: 1px solid #fff;


}

.main-bnr-sensyu .body table thead tr td:nth-child(2) {
    width: 30%;
    border: 1px solid #fff;
    border-left: none;
}

.main-bnr-sensyu .body table thead tr td:nth-child(3),
.main-bnr-sensyu .body table thead tr td:nth-child(4),
.main-bnr-sensyu .body table thead tr td:nth-child(5) {
    border: 1px solid #fff;
    border-left: none;
}

.main-bnr-sensyu .body table thead tr td:nth-child(6) {
    width: 30%;
    border: 1px solid #fff;
    border-left: none;
}


.main-bnr-sensyu .body table tbody tr td {
    padding: 0.1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.8rem;
}

.main-bnr-sensyu .body table tbody tr:nth-child(odd) td {
    background: #e9e9e9;
    color: #0d0d0d;
}

.main-bnr-sensyu .body table tbody tr:nth-child(even) td {
    background: #bdbdbd;
    color: #0d0d0d;
}

.main-bnr-sensyu .body table tbody tr td:nth-child(1) {
    text-align: left;
    padding-left: 1rem;
}

.main-bnr-sensyu .body table tbody tr td:nth-child(2) a {
    text-decoration: none;
    color: #0d0d0d;
}

.main-bnr-sensyu .body table tbody tr td:nth-child(2) {
    text-align: left;
    padding-left: 1rem;
}

.main-bnr-sensyu .body table tbody tr td:nth-child(6) {
    text-align: right;
    padding-right: 1rem;
}

.main-bnr-sensyu .body table tbody tr td span.btn {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    /* 高さと同じにして上下中央 */
    text-align: center;
    /* 横中央 */
    color: #fff;
    background-color: #278dff;
}

.main-bnr-sensyu .body table tbody tr td span.up_to_7th_place {
    background-color: #ff4444;
    color: #fff;
}

.main-bnr-sensyu .body table tbody tr td span.up_to_9th_place {
    background-color: #ff4444;
    color: #fff;
}

.main-bnr-sensyu .body table tbody tr td a {
    display: flex;
    /* 横並びにする */
    align-items: center;
    /* 高さを中央揃え */
    gap: 8px;
}

.main-bnr-sensyu .body table tbody tr td a img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    object-position: top center;

}

.main-bnr-sensyu .body table tbody tr td a span.bloc img {
    width: 20px;
    height: auto;
    object-fit: cover;
    object-position: top center;

}

.main-bnr-sensyu .body table tbody tr td a span.bloc {
    display: block;
}

.main-bnr-sensyu .body table tbody tr td a span.bloc span {
    display: block;
}

.dispp_on {
    display: block;
}

.dispp_off {
    display: none;
}

#top-contents td .up,
#top-contents td .down,
#top-contents td .same,
#top-contents td .new {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    /* 丸く */
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 5px;
    transition: transform 0.2s;
}

/* 上昇 */
#top-contents td .up {
    background: linear-gradient(135deg, #ffaf00, #ffc700);
}

/* 下降 */
#top-contents td .down {
    background: linear-gradient(135deg, #1e90ff, #00bfff);
}

/* 変わらず */
#top-contents td .same {
    background: #888;
}

/* 新規 */
#top-contents td .new {
    background: linear-gradient(135deg, #ff7f50, #ff6347);
}

/* ホバーで少し浮かせる */
#top-contents td .up:hover,
#top-contents td .down:hover,
#top-contents td .same:hover,
#top-contents td .new:hover {
    transform: translateY(-2px) scale(1.2);
}

.pc_set_disp {
    display: flex;
    gap: 20px;
}

.grade_list ul {
    list-style: none;
    /* 点を消す */
    margin: 0;
    /* ブラウザのデフォルト余白を消す */
    padding: 0;
    /* 左の余白も消す */
    margin-top: 1rem;
    margin-left: 0.3rem;
}

.grade_list ul li {
    border-bottom: 1px dotted #707070;
    margin-top: 5px;
    margin-bottom: 5px;
}

.grade_list ul span {
    font-size: 0.8rem;
    font-weight: normal;
    color: #707070;
}

.grade_list ul h3 {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.8rem;
    font-weight: normal;
    padding: 2px 5px;
    border-radius: 3px;
    color: #707070;
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: bold;
}

.grade_list ul h1 {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.8rem;
    font-weight: normal;
    background: #ff4444;
    padding: 2px 5px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Helvetica Neue", Arial, sans-serif;
    color: yellow;
    width: 40px;
    text-align: center;
}

.grade_list ul h1.g2b {
    background: #4b44ff;
}

.grade_list ul p {
    font-size: 0.9rem;
    color: #2c3338;
    font-weight: bold;
}

p.no-race {
    font-size: 0.9rem;
    color: #2c3338;
    font-weight: normal;
}

.grade_list ul a {
    text-decoration: none;
}

/* CSS */
.custom-select-wrapper {
    width: 100%;
    /* 親幅を十分に広げる */
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    /* 小さい画面では折り返す */
}

.custom-select {
    width: 100%;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23777" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center;
    background-size: 16px;
    appearance: none;
    /* デフォルト矢印消す */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
    transition: 0.3s all;
    margin-bottom: 0.5rem;
}

.custom-select:focus {
    border-color: #007BFF;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    outline: none;
}


.custom-select-wrapper .custom-select {
    flex: 1;
    /* 横幅を均等に */
    min-width: 120px;
    /* 最小幅 */
    margin-bottom: 0;
    /* 横並びなので下マージン不要 */
}

/* Chrome, Edge, Safari */
.main-bnr-left-bottom .body>div::-webkit-scrollbar {
    width: 10px;
}

/* トラック（背景） */
.main-bnr-left-bottom .body>div::-webkit-scrollbar-track {
    background: rgba(0, 0, 255, 0.1);
    /* 薄い青 */
    border-radius: 10px;
}

/* つまみ（サム） */
.main-bnr-left-bottom .body>div::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4da6ff, #0066cc);
    /* 上下で青のグラデーション */
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

/* ホバー時 */
.main-bnr-left-bottom .body>div::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #80c1ff, #3399ff);
    border: 2px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Firefox 対応 */
.main-bnr-left-bottom .body>div {
    scrollbar-width: thin;
    scrollbar-color: #0066cc rgba(0, 0, 255, 0.1);
}

.news ul li {
    border-bottom: 1px dotted #707070;
    margin-top: 5px;
    margin-bottom: 5px;
}

.news ul span {
    font-size: 0.8rem;
    font-weight: normal;
    color: #707070;
}

.news ul p {
    font-size: 0.9rem;
    color: #2c3338;
    font-weight: bold;
}

.navi-btn-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.navi-btn span {
    position: absolute;
    display: block;
    width: 40px;
    height: 2px;
    background: #fff;
    border-radius: 5px;
    transition: all .3s;
}

.navi-btn span:nth-of-type(2) {
    top: 12px;
    opacity: 1;
    transition: all .3s;
}

.navi-btn span:last-of-type {
    top: 25px;
}

.navi-btn-on span:first-of-type {
    transform: rotate(-45deg) translateY(9px) translateX(-9px);
}

.navi-btn-on span:nth-of-type(2) {
    transform: translateX(0);
    opacity: 0;
}

.navi-btn-on span:last-of-type {
    transform: rotate(45deg) translateY(-9px) translateX(-8px);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;

    /* フェードアウト用 */
}

/* スピナー */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.loading-gif {
    max-width: 100%;
    /* 横幅は画面サイズまで */
    height: auto;
    /* 縦横比を維持して縮小 */
    display: block;
    margin: 0 auto;
    /* 中央寄せ */
}

.news a {
    color: #2c3338;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}