@charset "utf-8";

:root {
    --header-h: 87px;
}

* {
    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");
}



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

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 1300px;
    margin: 0;
    background-size: unset;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    overflow: auto;
}

body,
section,
span,
ul,
li,
h1,
h2,
h3,
h4,
p {
    font-size: 1.4rem;
}


.pc-only {
    display: block !important;
}

.sp-only {
    display: none !important;
}

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

.container-top {
    width: 100%;
    margin: auto;
}

.center {
    text-align: center;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

#opening {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: opacity .6s ease;
}

#opening img.op-main {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity .6s ease;
    /* フェード */
}

#opening img.op-frame {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity .12s linear;
}

#opening img.active {
    opacity: 1;
}

.kv {
    text-align: center;
    position: relative;
    opacity: 0;
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-top: 90px;
}

.kv.show {
    opacity: 1;
}

.kv__bg,
.kv__bg img {
    display: block;
    width: 100%;
    height: auto;
}

.site-header {
    position: fixed;
    /* “KVの上に乗せる” */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    /* KVより上 */
    background: transparent;
    /* 被せたいので透明 */
    opacity: 1;
    pointer-events: auto;
    transition: opacity .4s ease;
    background: rgba(255, 255, 255, 0.9);
}

.site-header {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.site-header .container-top-inner {
    z-index: 99999;
}

.site-header.menu-open .container-top-inner {
    z-index: 99999;
}



.site-footer {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

footer.site-footer {
    padding: 40px 0px;
    background: #111;
    color: #fff;
    border-top: 3px solid;
    border-image: linear-gradient(45deg, #fed70e, #d8077e) 10;
}

.site-header.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.kv__overlay {
    position: absolute;
    /* 位置は好みで */
    z-index: 20;
    height: auto;
    opacity: 0;
    margin-top: 10px;
    pointer-events: none;
}

.kv__overlay--title {
    bottom: 25%;
    left: 12%;
    max-width: 47vw;
}

.kv__overlay--day {
    bottom: 3%;
    left: 25%;
    max-width: 44vw
}

/* 個別アニメ発火 */
.kv.show-title .kv__overlay--title {
    animation: fadeOnly .6s ease-out forwards;
}

.kv.show-day .kv__overlay--day {
    animation: fadeOnly .6s ease-out forwards;
}

/* フェードのみ */
@keyframes fadeOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 三本線ボタン（PCでも出す） */
.menu-btn {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
    display: none !important;
}

.menu-btn__icon {
    display: block;
    width: 40px;
    /* ← 横幅アップ */
    height: 4px;
    /* ← 線を太く */
    background: #000;
    position: relative;
}

.menu-btn__icon::before,
.menu-btn__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 40px;
    /* ← 同じ幅に */
    height: 4px;
    /* ← 同じ太さに */
    background: #000;
}

/* 間隔も広げる */
.menu-btn__icon::before {
    top: -12px;
}

.menu-btn__icon::after {
    top: 12px;
}

/* ✕に変形 */
.site-header.menu-open .menu-btn__icon {
    background: transparent;
}

.site-header.menu-open .menu-btn__icon::before {
    top: 0;
    transform: rotate(45deg);
    left: 0px;
}

.site-header.menu-open .menu-btn__icon::after {
    top: 0;
    transform: rotate(-45deg);
    left: 0px;
}

.menu-btn__icon,
.menu-btn__icon::before,
.menu-btn__icon::after {
    transition:
        transform .35s ease,
        top .35s ease,
        background .2s ease,
        opacity .2s ease;
}

.menu-btn {
    background: #000;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.menu-btn__icon {
    position: relative;
    width: 40px;
    height: 4px;
    background: #fff;
    margin-left: 0px;
}

.menu-btn__icon::before,
.menu-btn__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    /* ← ここが重要 */
    transform: translateX(-50%);
    /* ← 真ん中に補正 */
    width: 40px;
    height: 4px;
    background: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 50px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.header-left a {
    background: #111111;
}

.header-left img {
    max-width: 100%;
}

/* ナビは最初隠す */
.site-nav {
    display: none;
}

/* 開いたら表示 */
.site-header.menu-open .site-nav {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 20px 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.site-header.menu-open .site-nav.tate {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    width: 70%;
    text-align: left;
    padding-bottom: 100px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icons img {
    width: 50px;
    /* サイズ調整 */
    height: auto;
    display: block;
    transition: opacity .2s ease;
}

.header-icons a:hover img,
.header-icons a:focus img,
.header-icons a:active img {
    opacity: .7;
}

/* 横並び */
ul.nav-menu {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

ul.nav-menu.tate {
    display: inline-block;
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 0;
}

/* li */
ul.nav-menu>li {
    list-style: none;
    position: relative;
    /* サブの基準 */
}

/* ★ここが可動域を広げる本体 */
ul.nav-menu>li>a {
    display: block;
    /* インライン→ブロック */
    padding: 16px 8px;
    /* クリック/ホバー範囲を拡大 */
    font-size: 1.2em;
    text-decoration: none;
    color: #111;
    line-height: 2;
}

.tate ul.nav-menu>li>a {
    line-height: initial;
    padding: 50px 120px 5px 8px;
    border-bottom: 3px solid #111;
    display: flex;
    justify-content: flex-start;
}

.tate ul.nav-menu>li:first-child>a {
    padding: 20px 120px 5px 8px;
}

ul.nav-menu.tate>li:last-child {
    padding-bottom: 50px;
}

.tate ul.nav-menu>li>a span {
    display: block;
    min-width: 100%;
}

/* ホバー見た目（任意） */
ul.nav-menu>li>a:hover,
ul.nav-menu>li>a:active,
ul.nav-menu>li>a:focus {
    color: rgb(6, 147, 227);
}

/* サブコンテンツ */
.sub-content {
    position: absolute;
    left: 0;
    top: 100%;
    /* navの下 */
    margin-top: 5px;
    min-width: 220px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    padding: 12px;
    display: none;
    /* 最初は隠す */
    z-index: 200;
    background: rgba(255, 255, 255, 0.9);
}

/* li */
ul.nav-menu.tate>li {
    list-style: none;
    position: relative;
    /* サブの基準 */
}

/* サブコンテンツ */
.tate .sub-content {
    position: initial;
    display: block;
    box-shadow: initial;
    font-size: 1.2rem;
}

.tate .sub-content a {
    font-size: 1.2rem;
}

/* サブのリンク */
.sub-content a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #111;
    border-radius: 8px;
}

.sub-content a:hover,
.sub-content a:active,
.sub-content a:focus {
    background: #111111;
    color: #fff;
    transition: opacity .2s ease;
}

.sub-content a::before {
    content: "››";
    margin-right: 8px;
    font-weight: bold;
}

.disabled-link {
    pointer-events: none;
    opacity: .5;
    cursor: default;
}


/* ★liにホバーしたら表示（aだけじゃなくli全体で判定） */
ul.nav-menu>li.has-sub:hover .sub-content,
ul.nav-menu>li.has-sub:focus-within .sub-content,
ul.nav-menu>li.has-sub:active .sub-content {
    display: block;
}

/* ホバーの“切れ”防止：aとサブの間に少し橋を作る（任意） */
ul.nav-menu>li.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    /* a～subの隙間分を埋める */
}

.countdown {
    display: flex;
    align-items: center;
    /* 縦中央揃え */
    gap: 3px;
    /* 要素間の余白 */
}

.countdown p {
    margin: 0;
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
}


.countdown p.countdown-number {
    width: 55px;
    text-align: center;
    background: #111111;
    color: #fff;
}

.countdown p.countdown-number--active {
    width: 120px;
    text-align: center;
    background: #111111;
    color: #fff;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 10px;

}

.menu-link.active {
    pointer-events: auto;
}


.menu-icon {
    width: 34px;
    height: 34px;
    padding: 6px;
    background: rgba(255, 255, 255, .15);
    border-radius: 8px;
    display: inline-flex;
}



.header-icons .site-logo img {
    width: 145px;
}

.menu-btn.no-dblzoom.is-open {
    touch-action: manipulation;
}

.container-top-inner {
    display: flex;
    align-items: center;
    gap: 1px;
    justify-content: space-between;
}

.gnav.site-nav.tate .kv__overlay--title {
    max-width: 15vw;
    margin-bottom: 1rem;
}



#fixed-news {
    background-color: #fff;
    padding: 4px 0;
    color: #111;
}

#fixed-news .fixed-news-inner {
    display: flex;
    align-items: center;
    text-align: left;
}

#fixed-news .fixed-news-inner .title {
    background-color: #111;
    color: #fff;
    padding: 4px 20px;
    flex-shrink: 0;
}

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

#fixed-news .fixed-news-inner .scroll-text {
    display: inline-block;
    white-space: nowrap;
}



#fixed-news .scroll-text p {
    color: #111;
    display: inline-block;
    margin-left: 15px;
}

section a {
    color: #111111;
}

section a:hover,
section a:focus {
    color: #111111;
}

.inner {
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.contents.marquee {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.contents.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 1.8em;
    /* ← これ重要：表示領域を確保 */
    line-height: 1.8em;
    /* ← 縦位置安定 */
}

#marqueeTrack {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

#marqueeTrack p {
    margin: 0;
    display: inline-block;
}

#marqueeTrack a {
    color: #111;
    text-decoration: none;
}

.container-box {
    margin: 1rem 0rem 1rem 0rem;
    background: #fff;
    padding: 1rem;
    text-align: center;
}

.container-box .text-left {
    text-align: left;
}

.container-news-box h2 {
    text-align: center;
    display: inline-block;
    padding: 10px 50px;
    color: #fff;
    background: linear-gradient(to right, #ff0097, #c200e6);
    margin: 10px;
}

.container-news-box h3 {
    display: inline-block;
    border-bottom: 3px solid #eb4690;
    margin: 10px;
    color: #fff;
}

.container-news-box p {
    text-align: left;
}

.container-news-box h4 {
    background: #111;
    display: inline-block;
    margin: 10px;
    font-weight: normal;
    color: #fff;
    padding: 0.5rem;
}

ul.ul-type-2 {
    padding-left: 2rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}


.about-img {
    position: absolute;
    right: -12%;
    bottom: 0;
    width: 500px;
    max-width: 40%;
    opacity: 0.5;
}

.fixed-btn {
    position: fixed;
    width: 130px;
    height: 130px;
    right: 0px;
    bottom: 10%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
    background: #fed70e;
    color: #000;
    padding: 14px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    z-index: 9999;
    transition: 0.3s;
    margin-right: 3%;

    transition: .3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.fixed-btn:hover {
    background: #fed70e;
    color: #000;
}

.fixed-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.btn-icon {
    width: 65px;
    height: auto;
}

.fixed-btn span {
    font-size: 1rem;
    margin-top: 1px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.fixed-btn.disable {
    pointer-events: none;
    /* background: #abb8c3; */
}

.breadcrumb {
    padding: 10px 16px;
    border-top: 3px solid;
    border-image: linear-gradient(45deg, #fed70e, #d8077e) 10;
    border-bottom: 3px solid;
    color: #fcb900;
    background: #111;
}



.breadcrumb ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb li::after {
    content: "››";
    margin-left: 8px;
    opacity: .6;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    text-decoration: none;
    color: #fff;
}

.breadcrumb a:link,
.breadcrumb a:visited,
.breadcrumb a:hover,
.breadcrumb a:active {
    color: #fff;
    text-decoration: none;
}

.sub-hero {
    position: relative;
    overflow: hidden;
}

.sub-hero__pic img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== 文字全体：右→左 ===== */
.sub-hero__overlay {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    opacity: 0;
    text-align: center;
    color: #fff;
    transition: opacity .3s ease;
}

.sub-hero.is-show .sub-hero__overlay {
    transform: translateX(-50%);
    opacity: 1;
}

.sub-hero__eyebrow {
    font-size: 12px;
    letter-spacing: .2em;
    color: #fff;
    margin: 8px 0 0px;
}

/* ===== タイトル ===== */
.sub-hero__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    /* ライン用余白 */
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 1);
}

/* ===== ライン：左→右に伸びる ===== */
.sub-hero__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;

    transform: scaleX(0);
    /* 初期：横に潰す */
    transform-origin: left;
    /* 左起点で伸ばす */
    opacity: 0;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1),
        opacity .25s ease;
}

/* 表示時 */
.sub-hero.is-show .sub-hero__title::after {
    transform: scaleX(1);
    opacity: 1;
    transition-delay: .18s;
    /* 文字が止まってからライン */
}


/* 動き苦手な人向け */
@media (prefers-reduced-motion: reduce) {

    .sub-hero__overlay,
    .sub-hero__title::after {
        transition: none;
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    .sub-hero__title::after {
        transform: scaleX(1);
    }
}

.sub-hero__title::after {
    background: linear-gradient(to right, #ffffff, rgba(17, 17, 17, 0));
}




/* 形（必要なら clip-path もここに） */
.child_slug {
    text-align: center;
    position: relative;
    display: block;
    padding: 0.5rem;
    background: #c200e6;
    /* 初期：黒 */
    overflow: hidden;
    /* はみ出し防止 */

    /* 例：左下長い台形（不要なら削除OK） */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
}

/* ピンクの塗り（下から上へ伸びる） */
.child_slug::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ff2f92;
    /* background: linear-gradient(to top, #ff2f92, #ff6fb5); */
    transform: scaleY(0);
    /* 初期：高さ0 */
    transform-origin: bottom;
    /* 下起点 */
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
    z-index: 0;
}

/* テキストは前面へ */
.child_slug .text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 2rem;
    line-height: 1.3;
    color: #fff;
    /* 初期：黒文字 */
    transition: color .4s ease;
}

/* 発火後 */
.child_slug.is-active::before {
    transform: scaleY(1);
    /* ピンクが全面へ */
}

.child_slug.is-active .text {
    color: #fff;
    /* 文字を白に */
}

.img100 img {
    display: block;
    width: 100%;
    height: auto;
}

.sub-hero__pic img.height150 {
    height: 150px;

}

.sub-hero__pic.height150 {
    height: 150px;
    display: block;
    background: #000;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

/* 画像 */
.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

.img100.sub-img {
    position: relative;
    overflow: hidden;
}

.img100.sub-img picture,
.img100.sub-img img {
    width: 100%;
    display: block;
}

/* 黒背景ラベル */
.sub-img__label {
    position: absolute;
    top: 32px;
    /* ← 最終的に止まる位置 */
    right: 32px;
    /* ← 要素の左側揃え */

    background: #000;
    color: #fff;
    padding: 50px 20px 30px 20px;

    font-weight: 700;
    letter-spacing: .12em;
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1;

    /* 初期：上から落ちる */
    opacity: 0;
    transform: translateY(-60px);

    transition:
        transform .9s cubic-bezier(.22, 1, .36, 1),
        opacity .45s ease;
    will-change: transform, opacity;
}

/* 発火 */
.img100.sub-img.is-show .sub-img__label {
    opacity: 1;
    transform: translateY(0);
}

.sub-img__label {
    animation: none;
}




.sub-img__label {
    top: 0;
    right: 0;
}

.site-footer {
    margin-top: 0px;
}



.swiper-slide img {
    margin-bottom: 10px;
}

/* ドットぶんのスペースを確保 */
.bannerSwiper {
    padding-bottom: 40px;
    padding-top: 20px;
    /* ← ドット分。30〜60pxで調整 */
}

/* ドットは内側に置く */
.bannerSwiper .swiper-pagination {
    bottom: 10px;
    /* ← padding内に収める */
}

#slide-banner {
    background: linear-gradient(90deg, #c81384, #ffd50f);
    padding-bottom: 1rem;
    padding-top: 4rem;
    clip-path: polygon(0 0,
            /* 左上 */
            100% 15%,
            /* 右上 少し下げる */
            100% 100%,
            /* 右下 */
            0 100%
            /* 左下 */
        );
}

.swiper-button-next,
.swiper-button-prev {
    svg {
        display: none;
    }
}

.bannerSwiper .swiper-button-prev,
.bannerSwiper .swiper-button-next {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, .8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    transition: .3s ease;
    border: none;
}

/* デフォルト矢印を消す */
.bannerSwiper .swiper-button-prev::after,
.bannerSwiper .swiper-button-next::after {
    content: "";
}

/* 自作矢印 */
.bannerSwiper .swiper-button-prev::before {
    content: "◀";
    color: #ff2f92;
    font-size: 18px;
    font-weight: bold;
}

.bannerSwiper .swiper-button-next::before {
    content: "▶";
    color: #ff2f92;
    font-size: 18px;
    font-weight: bold;
}

/* ホバー */
.bannerSwiper .swiper-button-prev:hover,
.bannerSwiper .swiper-button-next:hover {
    transform: scale(1.1);
    background: #ff2f92;
}

.bannerSwiper .swiper-button-prev:hover::before,
.bannerSwiper .swiper-button-next:hover::before {
    color: #fff;
    /* ホバーで白矢印 */
}

.banner-inner {
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.protrude {
    position: relative;
    background: #fff;
    padding: 40px 20px 0px;
}

/* はみ出させる */
.box-title {
    position: absolute;
    top: -40px;
    left: 0%;
    background: #111;
    color: #fff;

    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.container-box h4.box-title {
    padding: 10px 60px;
}

.top-banner-menu-list {
    display: flex;
    gap: 10px;
    /* ボタン間の余白 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-banner-menu-list li {}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.3s cubic-bezier(.22, 1, .36, 1) .1s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



#ranking .container-box {
    background: transparent;
}

.container-box table {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    text-align: left;
    /* iPhoneで慣性スクロール */
}

.table-scroll table {
    min-width: 1500px;
    /* 必要な横幅を指定 */
    white-space: nowrap;
    border-collapse: collapse;
    font-size: 1.2rem;
    text-align: center;
    border: 3px solid #eb4690;
}

.table-scroll.table-scroll-none table {
    min-width: initial;
    width: 100%;
    /* 必要な横幅を指定 */
    white-space: nowrap;
    border-collapse: collapse;
    font-size: 1.2rem;
    text-align: center;
    border: 3px solid #eb4690;
}

.table-scroll table p {
    font-size: 1.2rem;
    color: #333;
}

.table-scroll table thead {
    color: #fff;
    background: #333;
    font-weight: 1rem;
}

.table-scroll table thead td {
    padding: 0.1rem;
    border: 1px solid #fff;
}

.table-scroll table tbody td {
    padding: 0.5rem;
}

.table-scroll table tbody td img {
    width: 55px;
    margin-right: 10px;
}

.table-scroll table thead tr:first-child td:first-child {
    width: 300px;

}

.table-scroll table tbody td:first-child {
    text-align: left;
}

.table-scroll table thead tr:first-child td:nth-child(2),
.table-scroll table thead tr:first-child td:nth-child(3),
.table-scroll table thead tr:first-child td:nth-child(4),
.table-scroll table thead tr:first-child td:nth-child(5) {
    width: 60px;
}

.table-scroll table thead tr:nth-child(2) td:nth-child(3),
.table-scroll table thead tr:nth-child(2) td:nth-child(4),
.table-scroll table thead tr:nth-child(2) td:nth-child(5) {
    width: 60px;
}

.table-scroll table thead tr:nth-child(2) td:nth-child(6),
.table-scroll table thead tr:nth-child(2) td:nth-child(7),
.table-scroll table thead tr:nth-child(2) td:nth-child(8) {
    width: 100px;
}

.table-scroll table tbody td:not(:last-child) {
    border-right: 1px solid #e5e5e5;
}



/* 奇数行 */
.table-scroll table tbody tr:nth-child(odd) {
    background: #fff0f4;
}

/* 偶数行 */
.table-scroll table tbody tr:nth-child(even) {
    background: #fffdf5;
}

.player-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-name {
    font-weight: bold;
    margin-bottom: 6px;
}

.player-links {
    display: flex;
    gap: 12px;
    /* ← リンク間の余白 */
}


.player-links a {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    background: #abb8c3;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease;
}

.player-links a.comment-link {
    background: #eb4690;
}

.player-links a.ranking-link {
    background: #f78da7;
}


.player-links a:hover {
    opacity: .8;
}

.table-scroll table thead td,
.table-scroll table tbody td {
    padding: 0.1rem 1rem;
}

.dt-input {
    width: 100px;
    padding: 1rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.table-scroll,
.scroll-top {
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-top {
    height: 16px;
}

/* 上スクロールのダミー幅 */
.scroll-top div {
    height: 1px;
}

/* 全体 */
.table-scroll-wrap {
    width: 100%;
}

/* 検索＋件数 */
.table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin: 0 0 10px;
}

#racerSearch,
#racerSearch2,
#racerSearch3 {
    width: min(420px, 100%);
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* DataTablesの「件数」UIを置く場所 */
.dt-length-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* entries の英語ラベルを日本語化するならJS側でも可。CSSだけならここ */
.dt-length label {
    display: none;
}

/* 上下スクロール */
.scroll-top,
.table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-top {
    height: 16px;
    /* スクロールバー分 */
    margin-bottom: 6px;
}

.scroll-top>div {
    height: 1px;
    /* ダミー */
}

/* テーブル */
.race_member {
    border-collapse: collapse;
    width: max-content;
    /* 横に伸びる時に効く */
    min-width: 100%;
}

.race_member td,
.race_member th {
    padding: 10px;
    vertical-align: middle;
    white-space: nowrap;
}

/* 行のゼブラ（必要なら） */
.race_member tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.02);
}

/* 選手セル（画像＋情報） */
.player-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
}

.player-cell img {}

/* 名前＋リンク */
.player-info {
    display: flex;
    flex-direction: column;
}

.player-name {
    margin: 0 0 6px;
    font-weight: 700;
}

/* ボタン風リンク */
.player-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.player-links a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    text-decoration: none;
    color: #333;
    transition: all .2s ease;
}

.player-links a:hover {
    background: #333;
    color: #fff;
}

/* コメントだけ強調したい場合 */
.player-links a.comment-link {
    border-color: #d60000;
    color: #fff;
}

.player-links a.ranking-link {
    border-color: #f78da7;
    color: #fff;
}

.player-links a.comment-link:hover {
    background: #d60000;
    color: #fff;
}


.player-links a.ranking-link:hover {
    background: #f78da7;
    color: #fff;
}

/* DataTablesのフッター（ページャー置き場） */
.table-footer {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* DataTablesのページャー見た目（任意） */
.dataTables_paginate {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.dataTables_paginate .paginate_button {
    padding: 6px 10px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.dataTables_paginate .paginate_button.current {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}



.dt-length select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 1rem;
    border: 1px solid #fff;
    border-radius: 6px;

    background-color: #111;
    color: #fff;

    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='10' viewBox='0 0 16 16' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M1 5l7 7 7-7'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.dt-length select:hover,
.dt-length select:active,
.dt-length select:focus,
.dt-length select:focus-visible {
    border: 1px solid #fff;
}

.dt-paging.paging_full_numbers {
    display: none;
}

.ranking {
    display: none;
}

.ranking.active {
    display: block;
}

.vote-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.vote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.vote-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.vote-modal-box {
    position: relative;
    width: min(100%, 440px);
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    z-index: 1;
    animation: voteModalFadeUp .25s ease;
}

@keyframes voteModalFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vote-modal-box h3 {
    margin: 0 0 12px;
    font-weight: 700;
    color: #222;
}

.vote-player-name {
    margin: 0 0 16px;
    font-weight: 600;
    color: #444;
    line-height: 1.6;
}

.vote-modal-box p {
    margin: 0 0 12px;
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.vote-modal-box input[type="text"],
.vote-modal-box input[type="email"],
.vote-modal-box textarea {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    background: #fafafa;
    padding: 12px 14px;
    line-height: 1.6;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

.vote-modal-box input[type="text"]:focus,
.vote-modal-box input[type="email"]:focus,
.vote-modal-box textarea:focus {
    border-color: #222;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.vote-modal-box textarea {
    min-height: 120px;
    resize: vertical;
}

.vote-form-row {
    margin-top: 12px;
    text-align: left;
}

.vote-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #333;
}

.vote-note {
    margin-top: 8px;
    color: #888;
    text-align: right;
}

.vote-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}

.vote-buttons button {
    min-width: 130px;
    padding: 12px 16px;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.vote-buttons button:hover {
    transform: translateY(-1px);
}

.vote-buttons button:active {
    transform: translateY(0);
}

.campaign-note {
    margin-top: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff7e8 0%, #fffdf8 100%);
    border: 1px solid #f0d9a7;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 16px;
}

.campaign-note__title {
    margin: 0 0 8px;
    font-weight: 700;
    color: #9a6a00;
    line-height: 1.6;
}

.campaign-note__text {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.campaign-note__text span {
    display: inline-block;
    margin-top: 4px;
    color: #c0392b;
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.comment-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
}

.comment-pager a:hover {
    background: #f5f5f5;
}

.comment-pager a.is-current {
    background: #d9538e;
    border-color: #d9538e;
    color: #fff;
}

.comment-pager .pager-prev,
.comment-pager .pager-next {
    padding: 0 16px;
}

#voteCancel {
    background: #f1f1f1;
    color: #333;
}

#voteConfirm {
    background: linear-gradient(135deg, #111, #444);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

#voteConfirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.vote-bar {
    width: 100%;
    height: 10px;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 14px;
}

.vote-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #222, #777);
}


.table-scroll.table-scroll-none table thead tr th:first-child {
    width: 70px;
}

.table-scroll.table-scroll-none table thead tr th:nth-child(2) {
    width: 300px;
}



.table-scroll.table-scroll-none table thead tr th {
    border-right: 1px solid #ffffff;
}

.table-scroll.table-scroll-none table tbody td:first-child {
    text-align: center;
}

#voteComment {
    width: 100%;
    height: 80px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px;
    resize: none;
}

section a.name {
    text-decoration: underline;
    text-underline-offset: 4px;

}

.votes {
    text-align: left;
    display: inherit;
}

.vote-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, #ff6a00, #ff0000);
    width: 0;
    transition: width .5s ease;
}

.transparent {
    background: transparent;
}

.float-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.float-box .left {
    width: 200px;
    flex: 0 0 200px;
}

.float-box .left img {
    width: 100%;
    height: auto;
    display: block;
}

.float-box .right {
    flex: 1;
    min-width: 0;
    /* テーブルの横スクロールが効くために重要 */
}

#snum .table-scroll.table-scroll-sum table {
    border: none;

}

#snum .table-scroll table thead {
    background: transparent;
}

#snum .table-scroll.table-scroll-sum table thead td {
    background: transparent;
}

#snum .table-scroll table thead tr:first-child td:first-child {
    border-top: none;
    text-align: left;
}

#snum .table-scroll table thead td:first-child {
    border-left: none;
}

#snum .table-scroll table thead td:last-child {
    border-right: none
}

#sum table.vote-ranking tbody {
    border-right: none;
}

.table-scroll table tbody td:last-child {
    border-right: none;
}

table.vote-ranking tbody td {
    color: #333;
}

.bt1 {
    border-bottom: 1px solid #fff;
}

.table-scroll.table-scroll-sum table {
    min-width: initial;
    width: 100%;
    /* 必要な横幅を指定 */
    white-space: nowrap;
    border-collapse: collapse;
    font-size: 1.2rem;
    text-align: center;
}

.table-scroll-sum table tbody td:first-child {
    text-align: center;
}

.table-scroll-sum table tbody td {
    background: #fff;
}

#snum .float-box .right h5 {
    font-size: 1.4rem;
    color: #fff;
    text-align: left;
}

#snum .float-box .right h4 {
    font-size: 1.4rem;
    color: #fff;
    text-align: left;
    margin-bottom: 1rem;
    font-weight: normal;
    background: none;
    margin: 0;
    text-align: left;
    display: block;
    padding: 0;
    margin-bottom: 1rem;
}



.comment-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;

    color: #fff;
    padding: 20px;
    border-radius: 18px;
    width: 100%;

    box-sizing: border-box;
    margin-bottom: 1rem;
}

.comment-box-button {
    padding: 0 20px;
}

.comment-icon {
    flex: 0 0 70px;
    /* 絶対に縮めない */
}

.comment-icon img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    display: block;
}

/* 右側がちゃんと縮めるようにする */
.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-text {
    margin: 0;
    line-height: 1.7;

    /* 長文/長い英数字/URL対策 */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    border-bottom: 1px solid #fff;
}




.comment-box-button .player-links a {
    padding: 10px 100px;
}

#ranking .container-box.innner {
    background: #fff;

}

#ranking .container-box.textFFF {
    color: #fff;
}

#ranking .container-box .boxFFF {
    background: #fff;
}

#page .float-box {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#page .float-left-box {
    flex: 6;
    /* 左の幅 */
}

#page .float-right-box {
    flex: 4;
    /* 右の幅 */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#page .float-box img {
    width: 100%;
    height: auto;
}

.access-time-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    color: #fff;
}

.access-time-item {
    margin-bottom: 7rem;
}

.access-time-item:last-child {
    margin-bottom: 0;
}

.access-time-item>div {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.station-wrap {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
    min-width: 320px;
}

.quote {
    font-size: 2.4rem;
    line-height: 1;
    margin-right: 10px;
}

.station {
    font-size: 2.3rem;
    line-height: 1;
    letter-spacing: 0.35em;
    white-space: nowrap;
}

.eki {
    font-size: 1.5rem;
    margin-left: 10px;
    white-space: nowrap;
}

.time-wrap {
    flex: 1;
    display: flex;
    align-items: baseline;
    min-width: 0;
}

.dot {
    flex: 1;
    border-bottom: 2px dotted #fff;
    margin: 0 12px 6px 0;
}

.direct {
    font-size: 1.4rem;
    margin-right: 8px;
    white-space: nowrap;
}

.time {
    font-size: 2.5rem;
    line-height: 1;
    white-space: nowrap;
}

.note {

    font-size: 0.95rem;
    line-height: 1.7;
    color: #fff;
    text-align: left;
}

.scroll-text {
    display: flex;
    gap: 0.2em;
}

.scroll-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.scroll-text.is-show span:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.scroll-text.is-show span:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.scroll-text.is-show span:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.scroll-text.is-show span:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.race-info {
    position: relative;
    margin: 1rem auto;
    padding: 2rem 60px;
    background: linear-gradient(180deg, #02040a 0%, #050a1a 40%, #0c1a3a 100%);
    border: 2px solid #fff;
    color: #fff;
}

.race-info::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        radial-gradient(2px 2px at 5% 10%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 8% 40%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 12% 70%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 15% 25%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 18% 55%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 22% 80%, rgba(255, 255, 255, .7), transparent),

        radial-gradient(2px 2px at 28% 15%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 30% 45%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 33% 75%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 36% 30%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 40% 60%, rgba(255, 255, 255, .8), transparent),

        radial-gradient(1.5px 1.5px at 45% 10%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 48% 40%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 52% 70%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 55% 25%, rgba(255, 255, 255, .7), transparent),

        radial-gradient(2px 2px at 60% 55%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 63% 80%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 66% 15%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 70% 35%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 72% 65%, rgba(255, 255, 255, .8), transparent),

        radial-gradient(1.5px 1.5px at 75% 90%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 83% 50%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 86% 75%, rgba(255, 255, 255, .7), transparent),

        radial-gradient(2px 2px at 90% 30%, rgba(255, 255, 255, .9), transparent),
        radial-gradient(1px 1px at 92% 60%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1.5px 1.5px at 95% 85%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(2px 2px at 97% 10%, rgba(255, 255, 255, .9), transparent);

    z-index: 0;
}

/* 上の画像 */
.race-info__visual {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

.race-info__visual img {
    width: 220px;
}


/* リスト */
.race-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.race-info__list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

/* 左タイトル */
.race-info__label {
    background: #eee;
    color: #333;
    padding: 10px 20px;
    font-weight: bold;
    min-width: 220px;
    text-align: center;
}

/* 右テキスト */
.race-info__text {
    margin: 0;
}

/* --------------------------------
   section 全体
--------------------------------- */
.race-section {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* --------------------------------
   流れ星レイヤー（最前面）
--------------------------------- */
.universe {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}



.shooting-star {
    position: absolute;
    top: -200px;

    width: 260px;
    height: 2px;

    transform: rotate(135deg);

    background: linear-gradient(90deg,
            rgba(255, 210, 120, 0) 0%,
            rgba(255, 210, 120, .6) 60%,
            rgba(255, 240, 180, 1) 100%);

    border-radius: 999px;
    opacity: 0;

    animation: shooting 6s linear infinite;
}

.shooting-star::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;

    width: 8px;
    height: 8px;

    background: #eaf6ff;
    border-radius: 50%;

    transform: translateY(-50%);

    box-shadow:
        0 0 10px #eaf6ff,
        0 0 20px #cde9ff;
}


/* 星のフレア（十字の光） */
.shooting-star::before {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%) rotate(45deg);

    background:
        linear-gradient(to right, transparent 47%, #fff 50%, transparent 53%),
        linear-gradient(to bottom, transparent 47%, #fff 50%, transparent 53%);

    opacity: .9;
    filter: blur(.4px);

    animation: starFlash .8s ease-in-out infinite alternate;
}

/* --------------------------------
   個別の流れ星
--------------------------------- */
.s1 {
    left: 10%;
    animation-duration: 5s;
    animation-delay: 0s;
}

.s2 {
    left: 35%;
    animation-duration: 6s;
    animation-delay: 2s;
}

.s3 {
    left: 60%;
    animation-duration: 5.5s;
    animation-delay: 1s;
}

.s4 {
    left: 85%;
    animation-duration: 6.5s;
    animation-delay: 3s;
}

/* --------------------------------
   アニメーション
--------------------------------- */
@keyframes shooting {
    0% {
        opacity: 0;
        transform: translate3d(180px, -180px, 0) rotate(135deg);
    }

    6% {
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    22% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(-760px, 760px, 0) rotate(135deg);
    }
}

@keyframes starFlash {
    from {
        opacity: .6;
        transform: translateY(-50%) rotate(45deg) scale(.9);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) rotate(45deg) scale(1.1);
    }
}

/* --------------------------------
   既存コンテンツ側
--------------------------------- */
.sub-hero,
.race-section .container {
    position: relative;
    z-index: 2;
}

.race-info {
    position: relative;
    z-index: 2;
}

/* --------------------------------
   開催情報デザイン
--------------------------------- */
.race-info__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 20px;
    color: #fff;
}

.race-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.race-info__list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}



.race-info__text {
    margin: 0;
    color: #fff;
}

.mt1rm {
    margin-top: 1rem;
}

#top-news .box-inner {
    padding: 0rem 0 2rem 0;
}

#top-news .box-inner::before {
    content: "";

    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 30%),
        radial-gradient(circle at 15% 50%, rgba(90, 180, 255, 0.10), transparent 25%),
        radial-gradient(circle at 85% 65%, rgba(200, 90, 255, 0.08), transparent 28%);
    filter: blur(18px);
    opacity: .95;
}

#top-news .news-section {
    position: relative;
    z-index: 1;
}

#top-news .container-news-box {
    background: linear-gradient(180deg, rgba(8, 25, 52, 0.88), rgba(3, 11, 28, 0.92));
    border: 1px solid rgba(115, 220, 255, 0.22);
    border-radius: 0px;
    padding: 1.5rem 2rem 3rem 2rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 8px 24px rgba(100, 180, 255, 0.06),
        0 0 18px rgba(76, 183, 255, 0.10),
        0 0 34px rgba(177, 80, 255, 0.08);
    backdrop-filter: blur(6px);
}

#top-news .container-news-box.event {
    padding: 1rem;
}

#top-news .news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#top-news .news-item {
    border-bottom: 1px solid rgba(160, 220, 255, 0.18);
    text-align: left;
}

#top-news .news-item a {
    display: block;
    padding: 0.7rem 0;
    color: #fff;
    text-decoration: none;
    transition: opacity .3s ease, transform .3s ease;
}

#top-news .news-item a:hover {
    opacity: .9;
    transform: translateX(4px);
}

#top-news .news-item__date {
    color: rgba(220, 235, 255, 0.78);
}

#top-news .news-item__title {
    color: #fff;
    text-shadow: 0 0 10px rgba(120, 210, 255, 0.10);
}

#top-news .news-item__category {
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

#top-news .news-item__category.live {
    background: linear-gradient(135deg, #ff8400, #ff830f);
}

#top-news .news-item__category.news {
    background: linear-gradient(135deg, #ff2f92, #ff0f6c);
}

#top-news .news-item__category.event {
    background: linear-gradient(135deg, #2f89ff, #00b7ff);
}

#top-news .news-item__category.campaign {
    background: linear-gradient(135deg, #12b81f, #0fe07a);
}

#top-news .container-news-box {
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 220, 255, .8) transparent;
}

#top-news .container-news-box::-webkit-scrollbar {
    width: 8px;
}

#top-news .container-news-box::-webkit-scrollbar-track {
    background: transparent;
}

#top-news .container-news-box::-webkit-scrollbar-thumb {
    background: rgba(180, 220, 255, .8);
    border-radius: 999px;
}

#top-news .container-news-box::-webkit-scrollbar-corner {
    background: transparent;
}

#top-news .container-news-box {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 220, 255, .8) transparent;
}

#top-news .container-news-box::-webkit-scrollbar {
    width: 6px;
}

#top-news .container-news-box::-webkit-scrollbar-track {
    background: transparent;
}

#top-news .container-news-box::-webkit-scrollbar-thumb {
    background: rgba(180, 220, 255, .8);
    border-radius: 10px;
}

#pickup .box-inner {
    padding-bottom: 1rem;
    padding-top: 1rem;
    background: #fff;
}

#pickup .p-information {
    background-image: url(../img/bg_matsudo-info.png);
    background-repeat: repeat;
    background-size: 400px 400px;
    color: #fff;
    position: relative;
    animation: move-p-info 15s linear infinite;
    padding-bottom: 0rem;
    padding-top: 0rem;
}

.transparent {
    background: transparent;
    color: #fff;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    border-bottom: 1px dashed #a7aaad;
}

.news-item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    text-decoration: none;
    transition: 0.3s;
}

/* hover */
.news-item a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
}

/* 日付 */
.news-item__date {
    font-size: 1rem;
    color: #757575;
    min-width: 110px;
}

/* カテゴリ */
.news-item__category {
    font-size: 0.8rem;
    background: #fe0e4d;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.news-item__category.news {
    background: #fe0e4d;
}

.news-item__category.campaign {
    background: #00b21c;
}

.news-item__category.event {
    background: #0e88fe;
}

/* タイトル */
.news-item__title {
    margin: 0;
    line-height: 1.6;
}

.container-news-box {
    min-height: 300px;
    overflow-y: auto;
}

.img-responsive {
    padding: 1rem;
    width: 80%;
}


@keyframes move-p-info {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -400px -400px;
    }
}


#pickup .sub-hero__pic {
    height: 150px;
}

.racer-stage {
    position: relative;
    width: 1200px;
    /* 基準幅を固定 */
    height: 620px;
    /* 画像に合わせて固定 */
    margin: 0 auto;
    margin-bottom: 100px;

}



.racer-stage.race {
    height: auto;
}



/* 共通 */
.racer {
    position: absolute;
    bottom: 0;
    width: auto;
    max-width: none;
    display: block;
}

.racer-stage--pickup {
    position: relative;
    width: min(1200px, 100%);
    aspect-ratio: 1200 / 620;
    /* 元の基準比率 */
    margin: 0 auto 100px;
    overflow: hidden;
    /* はみ出し防止 */
    margin-bottom: 50px;
    height: auto;
}

/* 中央 */
.racer1 {
    z-index: 3;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 右 */
.racer2 {
    left: calc(50% + 180px);
    height: 540px;
    z-index: 2;
}

/* 左 */
.racer3 {
    left: calc(50% + -415px);
    height: 520px;
    z-index: 2;
}

/* GIRLS KEIRIN */
.girls-keirin-title {
    font-family: "Mgen+ 2cp", sans-serif;
    font-weight: 900;
    position: absolute;
    bottom: -14%;
    right: 0;
    z-index: 4;

    font-size: 7rem;
    font-weight: 900;
    letter-spacing: .03em;
    white-space: nowrap;

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.9) 40%,
            rgba(255, 255, 255, 0.45) 70%,
            rgba(255, 255, 255, 0.15) 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    opacity: .8;
    pointer-events: none;
}

.girls-keirin-title.left {
    right: initial;
    left: 58px;
    bottom: -20%;

}

.girls-keirin-title.blue {
    background: linear-gradient(to bottom,
            rgba(22, 78, 140, 0.95) 0%,
            /* 濃い藍 */
            rgba(22, 78, 140, 0.85) 35%,
            rgba(40, 110, 190, 0.55) 65%,
            rgba(40, 110, 190, 0.15) 100%
            /* 薄くフェード */
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}


/* タイトルを重ねるための親 */
.news-section {
    position: relative;
}

/* BOX本体 */
.container-box {
    margin: 1rem 0;
    padding: 2.5rem 0rem 0rem;
    /* 上に余白を増やす */
    text-align: center;
    position: relative;
    z-index: 1;

}

.container-news-box {
    max-height: 300px;
    overflow-y: auto;
    display: none;
    padding: 1rem 1rem 2rem 1rem;
}

.container-news-box.active {
    display: block;
}


/* 上に重ねる文字 */
.news-section__title {
    font-family: "Mgen+ 2cp", sans-serif;
    font-weight: 900;
    position: absolute;
    bottom: -50%;
    right: inherit;
    z-index: 4;
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: .03em;
    white-space: nowrap;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.45) 70%, rgba(255, 255, 255, 0.15) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .8;
    pointer-events: none;
    left: 58px;

}





.mb100 {
    margin-bottom: 100px;
}

#yoyaku {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.seat-card3d {
    display: block;
    width: 220px;
    aspect-ratio: 0.78 / 1;
    padding: 4px;
    border-radius: 22px;
    text-decoration: none;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(180deg, rgba(120, 220, 255, .9) 0%, rgba(255, 105, 212, .6) 45%, rgba(40, 20, 60, .2) 100%);

    box-shadow:
        0 0 18px rgba(120, 220, 255, .22),
        0 0 28px rgba(255, 105, 212, .16),
        inset 0 1px 0 rgba(255, 255, 255, .45);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        filter .35s ease;
}

.seat-card3d::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;

    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .35), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 30%, transparent 100%);

    mix-blend-mode: screen;
    opacity: .8;
}

.seat-card3d::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    pointer-events: none;
    border: 1px solid rgba(140, 220, 255, .2);
    box-shadow: inset 0 0 24px rgba(0, 0, 0, .45);
}

.seat-card3d__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    border-radius: 18px;
    padding: 26px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    background:
        radial-gradient(circle at 50% 15%, rgba(20, 60, 100, .35) 0%, rgba(5, 10, 22, .08) 26%, transparent 42%),
        linear-gradient(180deg, rgba(7, 17, 35, .96) 0%, rgba(2, 7, 18, .98) 100%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        inset 0 -20px 40px rgba(0, 0, 0, .45);
}

.seat-card3d__inner::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(140, 230, 255, .95), transparent);
    box-shadow: 0 0 12px rgba(120, 220, 255, .75);
}

.seat-card3d__inner::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 14px;
    border: 1px solid rgba(140, 220, 255, .08);
    pointer-events: none;
}

.seat-card3d__orb {
    width: 94px;
    height: 94px;
    margin-top: 14px;
    margin-bottom: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    background:
        radial-gradient(circle at 50% 45%, rgba(35, 110, 170, .22) 0%, rgba(6, 18, 36, .9) 60%, rgba(2, 7, 16, 1) 100%);

    box-shadow:
        inset 0 0 0 1px rgba(110, 210, 255, .08),
        inset 0 8px 18px rgba(120, 220, 255, .08),
        0 0 30px rgba(70, 160, 255, .10);
}

.seat-card3d__orb::before {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 2px solid rgba(110, 210, 255, .08);
    box-shadow:
        0 0 0 1px rgba(130, 220, 255, .06),
        inset 0 0 14px rgba(110, 210, 255, .08);
}

.seat-card3d__orb::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 18px;
    right: 18px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .22), transparent 72%);
    filter: blur(4px);
    opacity: .65;
}

.seat-card3d__icon {
    width: 38px;
    height: 38px;
    stroke: #d7f3ff;
    stroke-width: 2.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter:
        drop-shadow(0 0 6px rgba(180, 235, 255, .45)) drop-shadow(0 0 12px rgba(120, 220, 255, .18));
    opacity: .95;
}

.seat-card3d__title {
    display: block;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    letter-spacing: .04em;

    text-shadow:
        0 0 6px rgba(255, 255, 255, .75),
        0 0 16px rgba(160, 220, 255, .18);
}

.seat-card3d__sub {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .35);
    font-size: .72rem;
    letter-spacing: .08em;
    text-align: center;
}

/* hover */
.seat-card3d:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow:
        0 0 24px rgba(120, 220, 255, .32),
        0 0 36px rgba(255, 105, 212, .20),
        inset 0 1px 0 rgba(255, 255, 255, .55);
}

.seat-card3d:hover .seat-card3d__title {
    text-shadow:
        0 0 10px rgba(255, 255, 255, .95),
        0 0 22px rgba(255, 255, 255, .45);
}

.seat-card3d:hover .seat-card3d__icon {
    stroke: #fff;
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, .8)) drop-shadow(0 0 16px rgba(180, 240, 255, .35));
}

.seat-card3d-wrap {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.seat-card3d__icon {
    stroke: #d7f3ff;
    stroke-width: 2.7;
}

.top-banner-menu-list.news {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.top-banner-menu-list.news li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* タブ本体 */
.top-banner-menu-list.news li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    /* 今の高さ感を維持 */
    padding: 8px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;

    background:
        radial-gradient(circle at 50% 30%, rgba(86, 185, 255, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(8, 26, 56, 0.96) 0%, rgba(2, 10, 28, 0.98) 100%);

    border: 1px solid rgba(120, 220, 255, 0.24);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 8px 18px rgba(109, 195, 255, 0.08),
        0 0 12px rgba(74, 187, 255, 0.10),
        0 0 28px rgba(181, 74, 255, 0.08);

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        box-shadow .35s cubic-bezier(.22, 1, .36, 1),
        border-color .35s ease,
        color .35s ease,
        background .35s ease;
}

/* 外側ネオン */
.top-banner-menu-list.news li a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(116, 228, 255, 0.95) 0%,
            rgba(92, 173, 255, 0.75) 30%,
            rgba(220, 90, 255, 0.55) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .85;
    pointer-events: none;
}

/* 上部の光 */
.top-banner-menu-list.news li a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 6px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    filter: blur(2px);
    opacity: .7;
    pointer-events: none;
}

.top-banner-menu-list.news li a span {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    line-height: 1;
    text-shadow:
        0 0 8px rgba(160, 220, 255, .18),
        0 0 18px rgba(160, 220, 255, .08);
}

/* hover */
.top-banner-menu-list.news li a:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 232, 255, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 10px 22px rgba(109, 195, 255, 0.12),
        0 0 18px rgba(74, 187, 255, 0.16),
        0 0 42px rgba(181, 74, 255, 0.14),
        0 12px 20px rgba(0, 0, 0, .28);
}

/* active */
.top-banner-menu-list.news li a.active,
.top-banner-menu-list.news li.active a {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(134, 238, 255, 0.7);
    background:
        radial-gradient(circle at 50% 28%, rgba(119, 216, 255, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(10, 34, 72, 0.98) 0%, rgba(2, 12, 34, 1) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 12px 24px rgba(109, 195, 255, 0.16),
        0 0 22px rgba(74, 187, 255, 0.22),
        0 0 48px rgba(181, 74, 255, 0.16),
        0 12px 22px rgba(0, 0, 0, .32);
}

.top-banner-menu-list.news li a.active span,
.top-banner-menu-list.news li.active a span {
    text-shadow:
        0 0 10px rgba(180, 235, 255, .45),
        0 0 22px rgba(82, 191, 255, .18);
}


.top-banner-menu-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.top-banner-menu-list li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* タブ本体 */
.top-banner-menu-list li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    /* 今の高さ感を維持 */
    padding: 8px 14px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;

    background:
        radial-gradient(circle at 50% 30%, rgba(86, 185, 255, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(8, 26, 56, 0.96) 0%, rgba(2, 10, 28, 0.98) 100%);

    border: 1px solid rgba(120, 220, 255, 0.24);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 8px 18px rgba(109, 195, 255, 0.08),
        0 0 12px rgba(74, 187, 255, 0.10),
        0 0 28px rgba(181, 74, 255, 0.08);

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        box-shadow .35s cubic-bezier(.22, 1, .36, 1),
        border-color .35s ease,
        color .35s ease,
        background .35s ease;
}

/* 外側ネオン */
.top-banner-menu-list li a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(116, 228, 255, 0.95) 0%,
            rgba(92, 173, 255, 0.75) 30%,
            rgba(220, 90, 255, 0.55) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .85;
    pointer-events: none;
}

/* 上部の光 */
.top-banner-menu-list li a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 6px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.08) 100%);
    filter: blur(2px);
    opacity: .7;
    pointer-events: none;
}

.top-banner-menu-list li a span {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    line-height: 1;
    text-shadow:
        0 0 8px rgba(160, 220, 255, .18),
        0 0 18px rgba(160, 220, 255, .08);
}

/* hover */
.top-banner-menu-list li a:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 232, 255, 0.55);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 10px 22px rgba(109, 195, 255, 0.12),
        0 0 18px rgba(74, 187, 255, 0.16),
        0 0 42px rgba(181, 74, 255, 0.14),
        0 12px 20px rgba(0, 0, 0, .28);
}

/* active */
.top-banner-menu-list li a.active,
.top-banner-menu-list li.active a {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(134, 238, 255, 0.7);
    background:
        radial-gradient(circle at 50% 28%, rgba(119, 216, 255, 0.28), transparent 42%),
        linear-gradient(180deg, rgba(10, 34, 72, 0.98) 0%, rgba(2, 12, 34, 1) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 12px 24px rgba(109, 195, 255, 0.16),
        0 0 22px rgba(74, 187, 255, 0.22),
        0 0 48px rgba(181, 74, 255, 0.16),
        0 12px 22px rgba(0, 0, 0, .32);
}

.top-banner-menu-list li a.active span,
.top-banner-menu-list li.active a span {
    text-shadow:
        0 0 10px rgba(180, 235, 255, .45),
        0 0 22px rgba(82, 191, 255, .18);
}

.top-banner-menu-list li {
    margin: 0;
    padding: 0;
    position: relative;
}



.top-banner-menu-list li a.active,
.top-banner-menu-list li.active a {
    color: #fff;
    transform: translateY(-4px);
    border-color: rgba(134, 238, 255, 0.7);
    background: radial-gradient(circle at 50% 28%, rgba(119, 216, 255, 0.28), transparent 42%), linear-gradient(180deg, rgba(10, 34, 72, 0.98) 0%, rgba(2, 12, 34, 1) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 12px 24px rgba(109, 195, 255, 0.16), 0 0 22px rgba(74, 187, 255, 0.22), 0 0 48px rgba(181, 74, 255, 0.16), 0 12px 22px rgba(0, 0, 0, .32);
}

.top-banner-menu-list li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 8px 14px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: radial-gradient(circle at 50% 30%, rgba(86, 185, 255, 0.18), transparent 45%), linear-gradient(180deg, rgba(8, 26, 56, 0.96) 0%, rgba(2, 10, 28, 0.98) 100%);
    border: 1px solid rgba(120, 220, 255, 0.24);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 8px 18px rgba(109, 195, 255, 0.08), 0 0 12px rgba(74, 187, 255, 0.10), 0 0 28px rgba(181, 74, 255, 0.08);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease, color .35s ease, background .35s ease;
}

.top-banner-menu-list li a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(116, 228, 255, 0.95) 0%, rgba(92, 173, 255, 0.75) 30%, rgba(220, 90, 255, 0.55) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .85;
    pointer-events: none;
}

.top-banner-menu-list li a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 6px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 100%);
    filter: blur(2px);
    opacity: .7;
    pointer-events: none;
}


.top-banner-menu-list.box3 {
    grid-template-columns: repeat(3, 1fr);
}

.top-banner-menu-list.box2 {
    grid-template-columns: repeat(2, 1fr);
}

.top-banner-menu-list.box6 {
    grid-template-columns: repeat(6, 1fr);
}

.map-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    overflow: hidden;
}

.map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.access-box {
    color: #fff;
}

.access-item {
    margin-bottom: 40px;
}

.access-item h3 {
    position: relative;
    font-weight: 700;
    padding-left: 18px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #fff;
    text-align: left;
}

/* 左の緑丸 */
.access-item h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.access-item p {
    line-height: 1.8;
    text-align: left;
}

.textFFF {
    color: #fff;
}

.text-left {
    text-align: left;
}


.info-list {
    width: 100%;
    margin: 1rem 0;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #666;
}

.info-row dt {
    width: 35%;
    padding: 16px 20px;
    font-weight: 700;

    color: #dff5ff;

    background: linear-gradient(90deg,
            rgba(20, 40, 80, 0.85) 0%,
            rgba(10, 20, 40, 0.9) 100%);

    border-right: 1px solid rgba(120, 200, 255, 0.25);

    position: relative;
}

/* 左ネオンアクセント */
.info-row dt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;

    background: linear-gradient(180deg,
            #6be6ff,
            #6b8bff);

    box-shadow:
        0 0 8px rgba(120, 220, 255, 0.8),
        0 0 16px rgba(120, 220, 255, 0.4);
}

.info-row dd {
    width: 65%;
    padding: 16px 20px;
    margin: 0;

    color: #fff;

    background:
        radial-gradient(circle at 50% -20%, rgba(80, 170, 255, 0.15), transparent 70%),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.98) 100%);

    border-left: 1px solid rgba(120, 200, 255, 0.25);

    box-shadow:
        inset 0 0 12px rgba(80, 170, 255, 0.12),
        inset 0 0 40px rgba(80, 170, 255, 0.05);

    transition: all .35s ease;
}

.info-list .info-row:first-child {
    border-top: 1px solid #666;
}

.info-row:hover dd {
    background:
        radial-gradient(circle at 50% -20%, rgba(120, 220, 255, 0.25), transparent 70%),
        linear-gradient(180deg,
            rgba(5, 15, 30, 0.95),
            rgba(0, 0, 0, 0.98));

    box-shadow:
        inset 0 0 20px rgba(120, 220, 255, 0.35),
        0 0 12px rgba(120, 220, 255, 0.2);
}

.seat-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 3rem 0;
}

.seat-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* 画像 */
.seat-gallery img {
    width: 100%;
    display: block;
}

/* 2枚 */
.seat-gallery:has(img:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin: 3rem auto;
}

/* 3枚 */
.seat-gallery:has(img:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 3rem auto;
}

ul.disc {
    padding-left: 2rem;
    text-align: left;
    margin: 1rem 0;
    list-style: disc;
}

p.pb3 {
    padding-bottom: 3rem;
}

.girls-flow {
    position: relative;
    padding: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 15%, rgba(20, 60, 100, .35) 0%, rgba(5, 10, 22, .08) 26%, transparent 42%),
        linear-gradient(180deg, rgba(7, 17, 35, .96) 0%, rgba(2, 7, 18, .98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        inset 0 -20px 40px rgba(0, 0, 0, .45);
}

.girls-flow::before {
    content: "";
    position: absolute;
    left: -130px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    border: 28px solid rgba(255, 255, 255, .05);
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, .03),
        0 0 0 68px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.girls-flow__inner {
    position: relative;
    padding: .5rem;
}

.girls-flow__head {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin-bottom: 48px;
}

.girls-flow__day h3 {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 900;
}

.girls-flow__day h3 span {
    font-size: 2rem;
    line-height: 1;
}

.girls-flow__day h3 strong {
    font-size: 1.85rem;
    line-height: 1.1;
    font-weight: 900;
}

.girls-flow__bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, .18);
}

.girls-flow__bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
    height: 100%;
    background: #f0049a;
}

.girls-flow__body {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 70px;
    align-items: start;
    position: relative;
}

.flow-col {
    position: relative;
    min-height: 520px;
}

.flow-box {
    position: absolute;
    width: 100%;
    max-width: 380px;
    color: #fff;
}

.flow-box__race {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.flow-card {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 96px;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .22));
}

.flow-card__label {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 28px;
    color: #111;
    font-size: 1.18rem;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(180deg, #eeeeee 0%, #dcdcdc 100%);
    clip-path: polygon(4% 0, 100% 0, 94% 100%, 0% 100%);
}

.flow-card__num {
    flex: 0 0 78px;
    margin-left: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.15rem;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(180deg, #ff0aa6 0%, #d70083 100%);
    clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        0 0 18px rgba(255, 10, 166, .18);
}

.flow-note {
    margin-top: 10px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
}

.flow-note div {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 2px;
}

.flow-note span {
    min-width: 58px;
    text-align: left;
    font-weight: 700;
}

.flow-note b {
    font-weight: 700;
}

/* 配置 */
.flow-box--1a {
    top: 0;
    left: 0;
}

.flow-box--1b {
    top: 180px;
    left: 0;
}

.flow-box--2a {
    top: 0;
    left: 0;
}

.flow-box--2b {
    top: 180px;
    left: 0;
}

.flow-box--3a {
    top: 0;
    left: 0;
}

.flow-box--3b {
    top: 180px;
    left: 0;
}

.flow-box--3c {
    top: 360px;
    left: 0;
}

/* --------------------------
   線（カード基準）
-------------------------- */

/* 第1日 → 第2日 横線 */
.flow-box--1a .flow-card::after,
.flow-box--1b .flow-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, .92);
    transform: translateY(-50%);
}

/* 第1日 ガールズ予選 → 第2日 ガールズ準決勝 斜線 */
.flow-box--1b::after {
    content: "";
    position: absolute;
    top: 66px;
    left: calc(100% + 88px);
    width: 185px;
    height: 2px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(-65deg);
    transform-origin: left center;
}

/* 第2日 → 第3日 横線 */
.flow-box--2a .flow-card::after,
.flow-box--2b .flow-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, .92);
    transform: translateY(-50%);
}

/* 第2日 準決 → 第3日 特選 */
.flow-box--2a::after {
    content: "";
    position: absolute;
    top: 66px;
    left: calc(100% + 88px);
    width: 185px;
    height: 2px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(65deg);
    transform-origin: left center;
}

/* 第2日 準決 → 第3日 選抜 */
.flow-box--2a::before {
    content: "";
    position: absolute;
    top: 66px;
    left: calc(100% + 88px);
    width: 360px;
    height: 2px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(62deg);
    transform-origin: left center;
}

/* 第2日 選抜 → 第3日 選抜 */
.flow-box--2b::before {
    content: "";
    position: absolute;
    top: 66px;
    left: calc(100% + 88px);
    width: 185px;
    height: 2px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(65deg);
    transform-origin: left center;
}

/* 少し発光 */
.flow-box::before,
.flow-box::after,
.flow-card::after {
    box-shadow: 0 0 6px rgba(255, 255, 255, .12);
}



.race-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.race-table.textFFF tbody th,
.race-table.textFFF tbody td {
    color: #fff;
}

.race-table.textFFF {
    color: #fff;
}

.race-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.race-table th,
.race-table td {
    padding: 14px 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

/* ヘッダー */
.race-table thead th {
    color: #fff;
    background: linear-gradient(180deg, #e6009a 0%, #c80084 100%);
}

/* R列 */
.race-table tbody th {
    color: #fff;
    width: 80px;
    font-weight: normal;
}

/* データ */
.race-table tbody td {
    background: rgba(255, 255, 255, 0.08);
    color: #333;
}

/* 行ストライプ */
.race-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.04);
}

.top-banner-menu-list.box5 {
    grid-template-columns: repeat(5, 1fr);
}

.container-news-box.maxauto {
    min-height: inherit;
    max-height: inherit;
}

#top-news .news-item__title.left {
    text-align: left;
    margin-top: 0.5rem;
}

.race-info__title.left {
    text-align: left;
}

p:empty {
    height: 1em;
}

.media-layout {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.media-layout__left {
    width: 60%;
}

.media-layout__right {
    width: 40%;
}

.movie-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.media-text {
    margin-bottom: 24px;
}

.media-title {
    margin: 0 0 12px;
    line-height: 1.4;
}

.media-text p {
    margin: 0;
    line-height: 1.8;
    color: #fff;
}

.media-table-wrap {
    margin-bottom: 24px;
    overflow-x: auto;
}

.media-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.media-table th,
.media-table td {
    padding: 12px 16px;
    border: 1px solid #ccc;
    text-align: left;
}

.media-table th {
    background: #f3f3f3;
    font-weight: bold;
}

.media-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* 横スクロール */
.keirin-result-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* テーブル */
.keirin-result-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 14px;
}

.keirin-result-table th,
.keirin-result-table td {
    border: 1px solid #d0d0d0;
    padding: 8px 10px;
    text-align: center;
    white-space: nowrap;
}

.keirin-result-table thead th {
    background: #003450;
}

/* 選手名 */
.keirin-name {
    text-align: left;
    font-weight: 600;
}

.keirin-name a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}


.keirin-name a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.keirin-result-table {
    color: #fff;
}

/* 車番 */
.keirin-car {
    font-weight: bold;
    width: 36px;
    color: #fff;
}

/* 車番カラー */
.keirin-car-1 {
    background: #fff;
    color: #000;
    border: 1px solid #aaa;
}

.keirin-car-2 {
    background: #000;
}

.keirin-car-3 {
    background: #e60000;
}

.keirin-car-4 {
    background: #0047ff;
}

.keirin-car-5 {
    background: #ffd800;
    color: #000;
}

.keirin-car-6 {
    background: #2ca02c;
}

.keirin-car-7 {
    background: #ff7f0e;
}

.keirin-car-8 {
    background: #ff69b4;
}

.keirin-car-9 {
    background: #8a2be2;
}

.movie-box video {
    width: 100%;
    height: auto;
    display: block;
}

.movie-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.movie-gallery img {
    width: calc(33.333% - 7px);
    height: auto;
    object-fit: cover;
}

.race-table tbody td b {
    color: #fff;
    font-weight: normal;
}

.soldtime {
    color: #ff7d9d;
    font-weight: bold;
}

.allday {
    font-weight: bold;
}

.race-table tbody td.tbl_header {
    background: #070032;
}

.predictions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    color: #fff;
}

.predictions.box1 {
    grid-template-columns: repeat(1, 1fr);
}

.predictions.box2 {
    grid-template-columns: repeat(2, 1fr);
}

.predictions.box3 {
    grid-template-columns: repeat(3, 1fr);
}

.predictions .predictions__image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.predictions p {
    grid-column: 1 / -1;
}

.yosou h5 {
    text-align: left;
    border-bottom: 3px solid #eb4690;
    color: #fff;
    font-weight: normal;
}

.yosou-box {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.yosou-box .box {
    text-align: center;
}

.yosou-box img {
    width: 100%;
    border-radius: 6px;
}

.yosou-box p {
    margin-top: 6px;
    font-size: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.lnum {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    font-weight: bold;
    border-radius: 50%;
    font-size: 12px;
    border: 1px solid #fff;
}

.yosou-text {
    text-align: left;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* 競輪車番カラー */
.base_color_1 {
    background: #fff;
    color: #000;
}

.base_color_2 {
    background: #000;
    color: #fff;
}

.base_color_3 {
    background: #e60000;
    color: #fff;
}

.base_color_4 {
    background: #0046ff;
    color: #fff;
}

.base_color_5 {
    background: #ffcc00;
    color: #000;
}

.base_color_6 {
    background: #00a650;
    color: #fff;
}

.base_color_7 {
    background: #ff7f00;
    color: #fff;
}

.race-yosou {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3rem;
}

.race-yosou .num {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #fff;
}

.race-yosou .dash {
    font-size: 18px;
    color: #fff;
}


ul.ul-type-3 {
    list-style: none;
    padding-left: 0;
    line-height: 1.7;
}

ul.ul-type-3 li {
    position: relative;
    padding-left: 1.5em;
}

ul.ul-type-3 li::before {
    position: absolute;
    left: 0;
    font-weight: bold;
}

ul.ul-type-3 li:nth-child(1)::before {
    content: "①";
}

ul.ul-type-3 li:nth-child(2)::before {
    content: "②";
}

ul.ul-type-3 li:nth-child(3)::before {
    content: "③";
}

ul.ul-type-3 li:nth-child(4)::before {
    content: "④";
}

ul.ul-type-3 li:nth-child(5)::before {
    content: "⑤";
}

ul.ul-type-3 li:nth-child(6)::before {
    content: "⑥";
}

.girls-keirin-title-picup {
    bottom: -34px;
}

.rem1 {
    padding: 1rem;
}

.container-50 {
    width: 50%;
    margin: 0 auto;
    margin-bottom: 1rem;
}

hr {
    margin-top: 5rem;
    margin-bottom: 5rem;
    border: 1px solid #fff;
    border-image: linear-gradient(45deg, #fed70e, #d8077e) 10;
    color: #fcb900;
}

/* ラッパー */
.race-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* テーブル */
.race-table-wrap table {
    min-width: 900px;
    /* ←ここ重要（スクロールさせるため） */
    border-collapse: collapse;
    width: 100%;
}

.race-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

/* スクロールバー見せる */
.race-table-wrap::-webkit-scrollbar {
    height: 6px;
}

.race-table-wrap::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

table.release {
    border-collapse: collapse;
    /* ←これ重要 */
    width: 100%;
}

table.release th,
table.release td {
    padding: 10px 12px;
    /* ←余白 */
    border: 1px solid #ccc;
    /* ←線 */
    color: #fff;
}

table.release tbody tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.05);
}

table.release tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.1);
}

table.release thead th {
    background: hsl(324deg 100% 50% / 70%);
}

table.release thead td {
    background: hsl(220.8deg 60.98% 8.04%);
}

.tenbou .center p {
    margin-bottom: 1.5rem;
    text-align: left;
}



.tenbou-label {
    display: inline-block;
    background: #d6001c;
    color: #fff;
    font-weight: bold;
    padding: 10px 30px;
    /* ←少し広げるのがポイント */

    margin: 1rem 0;

    /* 両サイド尖り */
    clip-path: polygon(20px 0,
            calc(100% - 20px) 0,
            100% 50%,
            calc(100% - 20px) 100%,
            20px 100%,
            0 50%);
}

.tenbou.img2 .center {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左：画像 */
.tenbou.img2 img {
    width: 25%;
    height: auto;
    display: block;
}

/* 右：テキスト */
.tenbou.img2 .table-right {
    width: 75%;
    color: #fff;
}

.pink {
    background: #9e1f62;
}

.purple {
    background: #652d91;
}

.campaign-image-wrap {
    display: flex;
    gap: 20px;
    /* 画像の間の余白 */
}

.campaign-image-wrap img {
    width: 100%;
    max-width: 50%;
    /* 2枚並び */
    height: auto;
    display: block;
}

.campaign-image-wrap.p100 img {
    width: 100%;
    max-width: 100%;
    /* 100%幅 */
    height: auto;
    display: block;
}

.campaign-list {
    padding-left: 2rem;
}

.campaign-list.none {
    padding-left: 0rem;
    list-style: none;
}

.campaign-step {
    padding-left: 2rem;
}


.campaign-box {
    margin-bottom: 3rem;
}

.campaign-subtitle {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 0.5rem 1rem;
    margin-bottom: 4px;
}

.campaign-box-bottom ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.campaign-box-bottom a {
    display: inline-block;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #fed70e, #d8077e) padding-box, linear-gradient(45deg, #fed70e, #d8077e) border-box;
    transition: all 0.3s ease;
    min-width: 400px;
    text-align: center;
}

/* ホバー */
.campaign-box-bottom a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 78, 203, 0.6);
    color: #fff;
}

/* 押した感 */
.campaign-box-bottom a:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(255, 78, 203, 0.4);
}



/* 中身 */
.tab-panel {
    display: none;
    padding: 1rem;
}

.tab-panel.active {
    display: block;
}

.tab-menu {
    list-style: none;
    display: flex;
    border-radius: 14px;
    padding: 6px;
    gap: 10px;
}

.tab-menu li {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    border-radius: 10px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ホバー */
.tab-menu li:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.tab-menu li.active {
    background: rgba(0, 170, 255, 0.2);
    color: #fff;
    border: 1px solid #00aaff;

    box-shadow:
        0 0 12px rgba(0, 170, 255, 0.7),
        0 0 24px rgba(0, 170, 255, 0.3),
        inset 0 0 8px rgba(0, 170, 255, 0.2);

    transform: translateY(-2px);
    /* ←ちょい浮く */
}

.tab-menu li.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #00aaff;
    box-shadow: 0 0 8px #00aaff;
}

.tab-menu li::before {
    display: none;
    /* ← 擬似要素で出てる場合 */
}

.tab-menu .pc-only {
    display: inline !important;
}

.tab-menu .sp-only {
    display: none !important;
}


#event .schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 1rem;
    padding-bottom: 1rem;
    box-sizing: border-box;
}

#event .schedule-table {
    min-width: 1200px;
    width: max-content;
    border-collapse: collapse;
}

#event .schedule-table th,
#event .schedule-table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}


#event table.schedule-table {
    background: #fff;
}

#event .schedule-table thead th {
    text-align: center;
    background: #f78da7;
}

#event .schedule-table tbody td {
    text-align: left;
}

#event .schedule-table tbody td:first-child {
    text-align: center;
}

/* 偶数行 */
#event .schedule-table tbody tr:nth-child(even) td {
    background: #f5f5f5;
}


/* 奇数行 */
#event .schedule-table tbody tr:nth-child(odd) td {
    background: #ffffff;
}


#event .schedule-table tbody tr td.vertical-cell.text1 {
    background: #f5f5f5;
}

/* 奇数行 */
#event .schedule-table tbody tr td:nth-child(2) {
    text-align: center;
}

.speaker-list {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.speaker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 丸アイコン */
.speaker img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 4px;
}

#event .schedule-table td {
    vertical-align: top;
}

#event .schedule-table td .name {
    font-size: 50%;
}

#event .schedule-table td .time {
    font-size: 70%;
    display: block;
}

#event .vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    letter-spacing: 0.1em;
    /* 文字間いい感じ */
    padding: 10px 5px;
}

#event .horizontal {
    writing-mode: horizontal-tb;
    display: block;
    font-weight: normal;
}

#event .w80 {
    font-size: 80%;
}

#event .schedule-table td.vertical {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: upright;

}


#event .schedule-table .vertical-cell .vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: inline-block;
    line-height: 1.2;
}

.w200 {
    width: 200px;
}

.w250 {
    width: 250px;
}

.w130 {
    width: 130px;
}

.w600 {
    width: 600px;
}

.w550 {
    width: 550px;
}

.w300 {
    width: 300px;
}

.w350 {
    width: 350px;
}

.w180 {
    width: 180px;
}

#event .schedule-table td.center {
    text-align: center;
}

.event-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 2rem;
}

.event-box li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.event-image img {
    display: block;
    width: 100%;
    height: auto;
}

.event-content {
    padding: 18px 18px 0px 18px;
}

.event-content h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
    color: #333;
}

.event-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.event-image.multi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.event-image.multi img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    display: block;
}

/* 1枚 */
.event-image.multi img:only-child {
    grid-column: span 2;
}

/* 2枚 */
.event-image.multi img:nth-child(2):last-child {
    grid-column: span 1;
}

/* 3枚（1つ大きくする） */
.event-image.multi img:first-child:nth-last-child(3) {
    grid-column: span 2;
}

.event-image.multi {
    border-radius: 12px;
    overflow: hidden;
}

.event-image.multi img {
    transition: transform 0.3s ease;
}

.event-box li:hover .event-image.multi img {
    transform: scale(1.05);
}

.event-meta {
    display: flex;
    gap: 12px;
    margin: 8px 0 12px;
    font-size: 13px;
    color: #555;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 少し強調 */
.event-meta .time {
    font-weight: bold;
    color: #000;
}

.event-meta .place {
    color: #666;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

/* 共通ラベル */
.label {
    display: inline-block;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    line-height: 1;
}

/* 色分け */
.label.place {
    background: #333;
    width: 70px;
    /* 黒系 */
}

.label.time {
    background: #2656a7;
    width: 70px;

    /* 青系（サイトに合わせて調整OK） */
}

.label.enjya {
    background: #eb4690;
    width: 70px;
    white-space: nowrap;

}

.info-line {
    display: flex;
    align-items: flex-start;
    /* 上揃え */
    gap: 10px;

}

.values {
    display: flex;
    flex-direction: column;
    /* ← 縦並び */
    gap: 4px;
    text-align: left;

}

.value {
    display: block;
}

span.value {
    font-size: 15px;
    line-height: 1.1;
}

.cast-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.cast-list p {
    text-align: center;
}

.cast-item {
    text-align: center;
    width: 100px;
}

/* 丸画像 */
.cast-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* 名前 */
.cast-item p {
    margin-top: 8px;
    font-size: 12px;
}

.event-box .event-image {
    padding: 10px;
}

.event-box .event-image p {
    margin-top: 8px;
    font-size: 12px;
    text-align: center;
}

.background000 {
    background: #000;
}

@media (max-width: 1400px) {
    body {
        min-width: 0;
        /* 1300px固定を解除 */
    }

    .container {
        width: 92vw;
        /* 1200px固定を解除 */
        margin: 0 auto;
    }

    .kv {
        margin-top: 0;
        width: 100%;
        /* KVを全幅に寄せる（90%のままでもOK） */
    }

    .site-branding.pc-only {
        display: none !important;
    }

    .site-branding {
        display: none;
    }

    .menu-btn {
        display: block !important;
        margin-right: 30px;
        border: 3px solid #fff;
    }

    .header-right .header-icons {
        display: none;
    }

    .menu-btn__icon {
        margin-left: 10px;
    }

    .header-left {
        display: none;
    }


    .site-header {
        background: rgba(255, 255, 255, 0);
        border-bottom: none;
    }

    .container-top {
        padding-top: 15px;
        padding-bottom: 15px;
        text-align: right;
    }

    .container-top-inner {
        display: inline-block;
    }

    .mt1rm {
        margin-top: 1rem;
    }

    .racer-stage {
        width: 100%;
    }

    .racer2 {
        position: absolute;
        left: calc(50% + 100px);
        /* racer1から右に */
        bottom: 0;
        height: 350px;
    }

    .racer3 {
        position: absolute;
        left: calc(50% + -300px);
        /* racer1から右に */
        bottom: 0;
        height: 350px;
    }

    .girls-keirin-title {
        font-size: 6rem;
    }

    .news-section__title {
        font-size: 6rem;
    }

    .media-layout {
        display: block;
    }

    .media-layout__left,
    .media-layout__right {
        width: 100%;
    }

    .media-layout__left {
        margin-bottom: 24px;
    }

    .movie-gallery {
        flex-wrap: wrap;
    }

    .movie-gallery img {
        width: calc(50% - 5px);
    }

    .movie-gallery img:last-child {
        width: 100%;
    }

    .header-right {
        margin-right: 0px;
    }

    #racerSearch,
    #racerSearch2,
    #racerSearch3 {
        width: min(250px, 100%);
    }

    .predictions.box3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .race-table-wrap {
        overflow-x: auto;
    }

    .race-table-wrap table {
        min-width: 1100px;
        /* 必ず画面より大きくする */
    }

    table.release th,
    table.release td {
        padding: 5px;
    }


    .sub-img__label {
        top: 0;
        right: initial;
        left: 0;
    }

    .img100.sub-img {
        margin-top: 0px;
    }

    .event-box {
        grid-template-columns: repeat(2, 1fr);
    }
}