@media only screen and (max-width:767px) {
    html {
        font-size: clamp(16px, 2.68vw, 20px);
    }

    body {
        min-width: auto;
    }

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

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

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


    .kv {
        width: 100%
    }

    .kv__overlay {
        top: 10px;
    }



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

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

    .header-icons img {
        width: 30px;
    }


    .countdown p.countdown-number {
        width: 43px;
    }

    .countdown {
        gap: 3px;
        margin-left: 10px;
    }

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

    .sub-content {
        box-shadow: inherit;
        margin-top: 0px;
        padding: 5px 12px 0px 12px;
    }

    .sub-content a {
        padding: 5px 10px;
    }

    ul.nav-menu>li>a {
        line-height: initial;
        padding: 50px 150px 5px 8px;
        border-bottom: 3px solid #111;
    }

    .sub-content a::before {
        margin-right: 5px;
    }

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

    .title-inner {
        background-image: url('../img/background.jpg');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        text-align: center;
        padding-bottom: 20px;
    }

    .title-inner img.kv__overlay--title--sp {
        max-width: 85%;
    }

    .title-inner img.kv__overlay--day--sp {
        max-width: 46%;
    }

    .title-inner img.kv__overlay--logo--sp {
        max-width: 30%;
    }

    footer.site-footer {
        padding: 10px;
        background: #111;
        color: #fff;
    }

    footer.site-footer img.footer-logo {
        width: 50%;
    }

    .container-box {
        margin: 0rem;
        padding: 0rem;
        margin-top: 1rem;
    }

    .fixed-btn {
        margin-right: 4%;
        width: 100px;
        height: 100px;
    }

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

    .fixed-btn span {
        font-size: 0.7rem;
        margin-top: 0;
    }

    .child_slug .text {
        font-size: 1.4rem;
    }

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

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

    .player-name {
        margin: 3px 0 3px;
    }

    .player-cell {
        min-width: 250px;
    }

    #snum .float-box {
        display: inherit;
    }

    #snum .float-box .left {
        margin: 0 auto;
    }

    #snum .float-box .right h5 {
        text-align: center;
    }

    #snum .float-box .right h4 {
        text-align: center;
    }

    #page .float-box {
        flex-direction: column;
    }

    #page .float-right-box {
        flex-direction: row;
    }

    #page .float-right-box img {
        width: 50%;
    }

    .access-time-item>div {
        flex-direction: inherit;
        align-items: flex-start;
        gap: 6px;
    }

    .station-wrap {
        min-width: auto;
    }

    .station {
        font-size: 1.7rem;
        letter-spacing: 0.22em;
    }

    .quote {
        font-size: 1.8rem;
    }

    .eki {
        font-size: 1.1rem;
    }

    .time-wrap {
        width: 100%;
    }

    .time {
        font-size: 2rem;
    }

    .direct {
        font-size: 1rem;
    }

    .note {
        font-size: 0.82rem;
    }

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

    .quote {
        margin-right: 0;
    }

    .eki {
        margin-left: 0;
    }

    .race-info {
        padding: 40px 20px 24px;
    }

    .race-info__title {
        font-size: 1.5rem;
        line-height: 1.5;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .race-info__list li {
        display: block;
        padding: 18px 0;
    }

    .race-info__label {
        display: inline-block;
        min-width: 150px;
        padding: 8px 14px;
        margin-bottom: 12px;
    }

    .race-info__text {
        line-height: 1.8;
        display: inline-block;
        margin-left: 1rem;
    }

    .universe {
        inset: 0;
    }

    .shooting-star {
        width: 160px;
    }

    .s1 {
        left: 12%;
    }

    .s2 {
        left: 68%;
    }

    .top-banner-menu-list li a {
        padding: 2px;
    }

    .news-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 0;
    }

    .news-item__meta {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .news-item__date {
        min-width: auto;
    }

    .news-item__category {}

    /* スクロール高さ */
    .container-news-box {
        min-height: 300px;
    }

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

    .news-section__title {
        font-size: 3rem;
        bottom: -25%;
        left: 0;
    }

    .girls-keirin-title.left {
        font-size: 3rem;
        bottom: -7%;
        left: 0;
    }

    .mb100 {
        margin-bottom: 50px;
    }

    .racer-stage {
        width: 92vw;
        margin-bottom: 30px;
    }

    .racer-stage.racer-stage--pickup {
        width: min(1200px, 100%);
        height: auto;
    }

    .girls-keirin-title {
        font-size: 3rem;
        bottom: 0%;
        right: inherit;
        left: 0;
    }

    .racer1 {
        width: 110%;
    }


    .racer2 {
        left: calc(50% + 100px);
        bottom: 0;
        height: 350px;
    }

    .racer3 {
        left: calc(50% + -279px);
        bottom: 0;
        height: 350px;
    }

    .sub-hero__pic img.height150 {
        height: 100px;
    }

    .seat-card3d-wrap {
        gap: 5px;
        justify-content: center;
    }

    .seat-card3d {
        width: 150px;
        border-radius: 18px;
        padding: 3px;
    }

    .seat-card3d::before {
        border-radius: 18px;
    }

    .seat-card3d::after {
        inset: 1px;
        border-radius: 17px;
    }

    .seat-card3d__inner {
        border-radius: 15px;
        padding: 18px 12px 16px;
    }

    .seat-card3d__inner::before {
        top: 8px;
        left: 12px;
        right: 12px;
    }

    .seat-card3d__inner::after {
        inset: 10px;
        border-radius: 12px;
    }

    .seat-card3d__orb {
        width: 68px;
        height: 68px;
        margin-top: 8px;
        margin-bottom: 18px;
    }

    .seat-card3d__orb::before {
        inset: -6px;
    }

    .seat-card3d__orb::after {
        top: 6px;
        left: 12px;
        right: 12px;
        height: 12px;
    }

    .seat-card3d__icon {
        width: 28px;
        height: 28px;
        stroke-width: 2.4;
    }

    .seat-card3d__title {
        font-size: 1rem;
        line-height: 1.4;
        letter-spacing: .03em;
    }

    .seat-card3d__sub {
        margin-top: 4px;
        font-size: .62rem;
        letter-spacing: .06em;
    }

    .seat-card3d:hover {
        transform: translateY(-3px) scale(1.01);
    }

    .top-banner-menu-list,
    .top-banner-menu-list.news {
        gap: 5px;
    }

    .top-banner-menu-list li a span {
        font-size: 1rem;
        padding: 0.3rem;
    }

    .top-banner-menu-list.news li a span {
        font-size: 1rem;
        padding: 0.3rem;
    }

    .tal {
        text-align: left;
    }

    .info-row {
        flex-direction: row;
    }

    .info-row dt {
        width: 35%;
        padding: 16px 5px;
    }

    .info-row dd {
        width: 65%;
    }

    .seat-gallery {
        grid-template-columns: repeat(2, 1fr);
        margin: 1rem 0;
        gap: 6px;
    }

    .menu-btn {
        margin-right: 5px;
    }

    .container-top {
        padding-bottom: 0;
    }

    .info-row dt::before {
        width: 1px;
    }

    .seat-gallery:has(img:nth-child(3):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .seat-gallery:has(img:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .girls-flow {
        padding: 0px;
    }

    .sub-hero__title {
        letter-spacing: inherit;
    }

    .race-table {
        min-width: 500px;
    }

    .race-table th,
    .race-table td {
        padding: 5px;
        font-weight: normal;
    }

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

    .keirin-result-table {
        min-width: 700px;
        font-size: 13px;
    }

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

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

    .yosou-box {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }

    .yosou-box p {
        gap: 2px;
        font-size: 10px;
    }

    .lnum {
        font-size: 10px;
        width: 14px;
        height: 14px;
    }

    .yosou-text-box {
        font-size: 10px;
        width: 14px;
        height: 14px;
    }

    hr {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .race-table-wrap table {
        min-width: 900px;
    }

    .tenbou.img2 .center {
        flex-direction: column;
    }

    .tenbou.img2 img {
        width: 50%;
        margin: 0 auto;
    }

    .tenbou.img2 .table-right {
        width: 100%;
    }

    .campaign-box-bottom a {
        min-width: 200px;
    }
}