:root {
    --green: #158E00;
    --lime: #7bc42d;
    --red: #C71D00;
    --gold: #a68b1d;
    --ink: #231815;
    --bg: #f1f1f1;
    --shadow: 0 6px 16px rgba(0,0,0,.12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Noto Sans JP",sans-serif;
    font-size: 15px;
    line-height: 1.7
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1200px,calc(100% - 40px));
    margin-inline:auto}

.site-header {
    position: relative;
    z-index: 10;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.15)
}

.header-inner {
    width: min(1200px,calc(100% - 40px));
    min-height: 130px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 26px
}

.logo {
    width: 190px;
    flex: none
}

.status {
    padding: 8px 18px;
    border-radius: 999px;
    background: #c71d00;
    color: #fff;
    font-weight: 700;
    white-space: nowrap
}

.status-dot {
    font-size: 10px
}

.menu-button,.mobile-shortcuts,.net-vote {
    display: none
}

.global-nav {
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 20px
}

.global-nav a {
    min-width: 82px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.25;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.global-nav img {
    width: 28px;
    height: 28px;
    margin: 0 auto 8px
}

.section {
    padding: 64px 0
}

.section-title {
    margin: 0 0 24px;
    color: var(--green);
    font-size: 22px
}

.section-title span {
    font-weight: 500
}

.section-title.light {
    color: #fff
}

.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow)
}

.hero {
    background-position: center;
    background-size: cover
}

.hero-home {
    padding: 75px 0;
    background-image: url(../images/head-bg.png)
}

.hero-grid {
    display: grid;
    grid-template-columns: 706px 470px;
    gap: 30px 24px
}

.race-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.race-visual>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.race-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 30px 100px;
    color: #fff;
    text-shadow: 0 2px 8px #000;
}

.race-copy .live-badge {
    align-self: flex-start;
    padding: 4px 12px;
    background: #c71d00;
    border-radius: 999px
}

.race-copy small {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 700
}

.race-copy strong {
    font-size: 72px;
    line-height: 1.25;
}

.race-copy>span:last-child {
    font-size: 24px;
    line-height: 1;
}

.race-copy b {
    font-size: 28px
}

.race-prize {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 4px 24px;
    display: grid;
    /* grid-template-columns: 1fr 1fr auto; */
    align-items: center;
    gap: 22px;
    background: rgba(147,121,11,.96);
    color: #fff;
    line-height: 1;
    border-radius: 0 0 20px 20px;
}

.race-prize>b {
    padding-inline:22px;border-inline:3px solid #fff;font-size: 18px
}

.race-prize strong {
    display: block;
    font-size: 26px;
    line-height: 1
}

.timeline {
    padding: 18px 20px
}

.predict h2,.timeline h2 {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px
}

.predict h2 img,.timeline h2 img {
    width: 24px;
    height: 24px
}

.timeline h2 small {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 99px;
    background: #777;
    color: #fff;
    font-size: 10px
}

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

.timeline li {
    height: 38px;
    margin-bottom: 7px;
    padding: 3px 8px 3px 14px;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    border-radius: 8px;
    background: #999;
    color: #fff
}

.timeline li b {
    font-size: 20px
}

.timeline li span {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

.timeline li em {
    padding: 2px 8px;
    background: #999;
    color: #fff;
    border-radius: 5px;
    font-size: 11px;
    font-style: normal
}

.timeline li.now {
    outline: 2px solid var(--green);
    background: #fff;
    color: var(--green)
}

.timeline li.now em {
    background: var(--green);
    color: #fff
}

.timeline li .selling {
    color: var(--red);
    background: #fff;
    border: 1px solid var(--red)
}

.timeline li.feature {
    background: var(--gold)
}

.timeline .more {
    margin-top: 14px
}

.live-card {
    min-height: 130px;
    padding: 16px 20px 20px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    background: linear-gradient(135deg,#158e00,#76c527);
    color: #fff;
    box-shadow: var(--shadow)
}

.live-card span {
    display: grid;
    gap: 4px;
    font-size: 22px;
}

.live-card b {
    font-size: 27px;
}

.live-card img {
    width: 234px;
    border-radius: 9px
}

.predict {
    padding: 16px 18px
}

.predict h2 {
    color: var(--red)
}

.predict>div {
    display: flex
}

.predict>div img {
    height: 78px;
    width: 50%;
    object-fit: cover
}

.pickup-section {
    background: #f5f5f5
}

.pickup-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px
}

.pickup-list article {
    padding-bottom: 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.pickup-list article>img {
    width: 100%;
    aspect-ratio: 380/164;
    object-fit: cover
}

.pickup-list h3,.pickup-list p,.pickup-list time {
    margin-left: 24px
}

.pickup-list time {
    display: inline-block;
    margin-top: 24px;
    font-weight: 700;
    font-size: 20px;
}

.pickup-list .tag {
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 16px;
    background: #888;
    color: #fff;
    font-size: 14px;
}

.tag.gold {
    background: linear-gradient(#b27500 0%, #865800 100%);
}

.tag.dark {
    background: #333
}

.pickup-list h3 {
    margin-top: 0px;
    margin-bottom: 0;
    color: var(--green);
    font-size: 20px;
}

.pickup-list p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px
}

.more {
    display: block;
    width: 180px;
    margin: 28px auto 0;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(#008200 0%, #77c600 100%);
    color: #fff;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(22,142,0,.25);
    position: relative;
}

.more::before{
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-color: #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 24px;
    margin: auto;
}

.more.pale::before{
    border-color: #158E00;
}

.more.small {
    width: 150px;
    padding: 5px
}

.schedule {
    min-height: 425px;
    background: url(../images/schedule-bg1.png) right top/30% no-repeat, url(../images/schedule-bg2.png)  left bottom/30% no-repeat, url(../images/schedule-bg.png) center/cover no-repeat #555;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 18px
}

.schedule-list article {
    padding: 18px 16px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column
}

.schedule-list strong {
    align-self: flex-start;
    margin: 0;
    padding: 4px 16px;
    border-radius: 8px;
    background: #222;
    color: #fff;
    font-size: 11px
}

.schedule-list span {
    font-weight: 800
}

.schedule-list small {
    margin: 0;
}

.schedule-list .venue-info {
    color: #777;
    font-size: 12px;
}

.schedule-list .venue-info p {
    margin: 0 0 4px;
    font-weight: 700;
    font-size: 16px;
}

.schedule-list .venue-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none
}

.schedule-list .venue-info li {
    min-width: 48px;
    padding: 4px 15px;
    border-radius: 6px;
    background: #ddd;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    font-size: 18px;
}

.schedule-list .active {
    outline: #c5a11c solid 3px
}

.schedule-list .active strong {
    background: #a88c1a
}

.more.pale {
    background: #fff;
    color: var(--green)
}

.guide-list {
    display: grid;
    gap: 20px
}

.guide-list a {
    min-height: 165px;
    display: grid;
    grid-template-columns: 340px 1fr auto;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.guide-list img {
    width: 340px;
    height: 165px;
    object-fit: cover
}

.guide-list span {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.guide-list em {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 5px;
    background: var(--green);
    color: #fff;
    font-size: 11px;
    font-style: normal
}

.guide-list .gold-text {
    background: 0 0;
    color: #b38c16;
    font-weight: 700
}

.guide-list i {
    width: 38px;
    height: 38px;
    margin-right: 30px;
    display: grid;
    place-items: center;
    border: 2px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-size: 26px;
    font-style: normal
}

.guide-list i.gold-ring {
    border-color: #b38c16;
    color: #b38c16
}

.news {
    padding-top: 30px
}

.news-list {
    display: grid;
    gap: 10px
}

.news-list a {
    position: relative;
    padding: 13px 50px 13px 18px;
    background: #fff;
    border-radius: 9px;
    display: flex;
    flex-direction: column
}

.news-list time {
    font-weight: 700;
    font-size: 12px
}

.news-list em {
    margin-left: 18px;
    padding: 2px 8px;
    background: var(--green);
    color: #fff;
    border-radius: 99px;
    font-size: 10px;
    font-style: normal
}

.news-list i {
    margin-left: 5px;
    color: #c71d00;
    font-size: 10px;
    font-style: normal;
    font-weight: 900
}

.news-list b {
    font-size: 13px
}

.news-list strong {
    position: absolute;
    right: 18px;
    top: 50%;
    translate: 0 -50%;
    color: var(--green);
    font-size: 22px
}

.news-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0
}

.news-tabs button {
    padding: 5px 14px;
    border: 1px solid #999;
    border-radius: 99px;
    background: #fff;
    font-family: inherit
}

.news-tabs .selected {
    background: var(--green);
    color: #fff;
    border-color: var(--green)
}

.mobile-more {
    display: none
}

.youtube {
    background: linear-gradient(#efffec,#dff8d8)
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 26px 34px
}

.youtube-grid a {
    color: var(--green);
    font-weight: 700
}

.youtube-grid img {
    width: 100%;
    border-radius: 7px;
    box-shadow: var(--shadow)
}

.youtube-grid span {
    display: block;
    margin-top: 8px;
    text-align: center
}

.narrow {
    max-width: 900px
}

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 26px
}

.recruit-grid img {
    width: 100%;
    border-radius: 7px;
    box-shadow: var(--shadow)
}

.notice-list {
    background: #fff;
    border-radius: 8px;
    overflow: hidden
}

.notice-list a {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd
}

.notice-list span {
    color: var(--green);
    font-size: 20px
}

.notice-more {
    display: block;
    padding: 10px;
    background: var(--green);
    color: #fff;
    text-align: center;
    font-weight: 700
}

.site-footer {
    padding-top: 60px;
    background: #f1f1f1;
    text-align: center
}

.horse-line {
    height: 105px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom: 18px solid #147900
}

.horse-line img {
    width: 500px;
    height: 100px;
    object-fit: contain;
    object-position: center bottom
}

.footer-links {
    background: #147900;
    color: #fff;
    position: relative;
    z-index: 1;
}

.footer-links a {
    padding: 16px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.45);
    font-weight: 700
}

.footer-links small {
    display: block
}

.footer-brand {
    height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px
}

.footer-brand img {
    width: 230px
}

.footer-brand small {
    font-size: 9px
}

.jogai-hero {
    display: grid;
    grid-template-columns: 706px 470px;
    gap: 24px
}

.hero-jogai {
    padding: 75px 0;
    background: url(../images/head-jogai-bg.png) center/cover
}

.jogai-copy {
    position: absolute;
    inset: 0;
    padding: 70px 28px 0;
    color: #fff;
    text-shadow: 0 2px 8px #000
}

.jogai-copy b,.jogai-copy small,.jogai-copy strong {
    display: block
}

.jogai-copy small {
    margin-bottom: 4px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
}

.jogai-copy strong {
    font-size: 45px;
    color: #b5912f;
    width: 100%;
    padding-bottom: 14px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .9);
    font-size: 72px;
    line-height: 1.2;
    font-family: "Yu Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
}

.jogai-copy strong i {
    color: #fff;
    font-size: 50px;
    font-style: normal;
    font-family: Damion, cursive;
    font-weight: 500;
}

.jogai-copy b {
    display: inline;
    font-size: 52px
}

.jogai-copy b em {
    font-size: 16px;
    font-style: normal
}

.jogai-copy span {
    margin-left: 18px;
    font-weight: 700
}

.jogai-copy p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 16px 28px;
    background: #a58b16;
    font-weight: 700
}

.jogai-side {
    display: grid;
    gap: 15px
}

.jogai-side .card {
    padding: 18px;
}

.jogai-side h2 {
    margin: 0 0 9px;
    color: var(--green);
    font-size: 20px;
}

.sales span {
    display: inline-block;
    padding: 3px 14px;
    background: var(--green);
    color: #fff;
    border-radius: 6px
}

.next-race b {
    font-size: 20px;
    color: #9b7b19
}

.hero-news .hero-news-item {
    position: relative;
    padding: 7px 25px 7px 0;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    font-size: 11px
}

.hero-news .hero-news-item strong {
    position: absolute;
    right: 3px;
    color: var(--green)
}

.standalone-predict {
    text-align: center
}

.standalone-predict .red {
    color: var(--red)
}

.standalone-predict .container>div {
    display: flex;
    justify-content: center
}

.standalone-predict img {
    width: 300px
}

@media(max-width: 767px) {
    body {
        font-size:12px
    }

    .container {
        width: calc(100% - 40px)
    }

    .site-header {
        position: sticky;
        top: 0
    }

    .header-inner {
        width: 100%;
        min-height: 134px;
        padding-top: 12px;
        display: grid;
        grid-template-columns: 105px 1fr 91px 48px;
        grid-template-rows: 42px 68px;
        gap: 8px
    }

    .logo {
        width: 105px;
        padding: 5px;
    }

    .status {
        padding: 5px 8px;
        text-align: center;
        font-size: 10px
    }

    .net-vote {
        display: block;
        padding: 5px;
        background: #fff;
        color: var(--green);
        border: 2px solid var(--green);
        border-radius: 5px;
        text-align: center;
        font-size: 10px;
        font-weight: 700
    }

    .menu-button {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        background: #158e00
    }

    .menu-button span {
        width: 22px;
        height: 2px;
        background: #fff
    }

    .global-nav {
        display: none
    }

    .mobile-shortcuts {
        grid-column: 1/-1;
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 7px;
        padding: 0 10px 8px
    }

    .mobile-shortcuts a {
        height: 60px;
        padding: 7px 2px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #f4fff1;
        color: var(--green);
        border-radius: 6px;
        font-weight: 800
    }

    .mobile-shortcuts img {
        width: 24px;
        height: 24px;
        margin-bottom: 4px
    }

    .section {
        padding: 28px 0;
    }

    .section-title {
        margin-bottom: 12px;
        font-size: 15px
    }

    .hero-home {
        padding: 20px 0 26px;
        background: #eee
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 18px
    }

    .race-visual {
        height: auto;
        border-radius: 20px;
    }

    .race-copy {
        padding: 0 16px 54px
    }

    .race-copy .live-badge {
        padding: 2px 7px;
        font-size: 10px
    }

    .race-copy small {
        font-size: 12px
    }

    .race-copy strong {
        font-size: 34px
    }

    .race-copy>span:last-child {
        font-size: 13px
    }

    .race-copy b {
        font-size: 16px
    }

    .race-prize {
        height: 44px;
        padding: 6px 10px;
        /* grid-template-columns: 1.4fr 1.2fr auto; */
        gap: 8px;
        font-size: 9px
    }

    .race-prize>b {
        padding-inline:8px;border-width: 1px;
        font-size: 10px
    }

    .race-prize strong {
        font-size: 12px
    }

    .timeline {
        order: 2;
        padding: 0;
        background: 0 0;
        box-shadow: none;
        overflow: hidden
    }

    .timeline h2 {
        font-size: 14px
    }

    .timeline h2 small {
        margin-left: 4px
    }

    .timeline ol {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 4px 2px 10px;
        scroll-snap-type: x mandatory
    }

    .timeline li {
        min-width: 108px;
        height: 104px;
        margin: 0;
        padding: 9px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        scroll-snap-align: start;
        background: #fff!important;
        color: #777!important;
        border: 1px solid #ddd
    }

    .timeline li b {
        font-size: 13px
    }

    .timeline li span {
        font-size: 17px
    }

    .timeline li em {
        margin-top: 4px
    }

    .timeline li.now {
        color: var(--green)!important
    }

    .timeline li.feature {
        outline: #b28f17 solid 2px
    }

    .timeline .more {
        display: none
    }

    .live-card {
        order: 3;
        min-height: 70px;
        padding: 8px 12px;
        border-radius: 8px
    }

    .live-card span {
        font-size: 10px
    }

    .live-card b {
        font-size: 14px
    }

    .live-card img {
        width: 112px
    }

    .predict {
        order: 4;
        padding: 0;
        background: 0 0;
        box-shadow: none
    }

    .predict h2 {
        font-size: 14px
    }

    .predict>div img {
        height: auto
    }

    .pickup-section {
        padding-top: 16px
    }

    .pickup-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        margin-inline:-20px;
        padding: 4px 20px 10px;
        scroll-snap-type: x mandatory
    }

    .pickup-list article {
        min-width: 160px;
        scroll-snap-align: start
    }

    .pickup-list h3,.pickup-list p,.pickup-list time {
        margin-left: 10px;
    }

    .pickup-list time {
        font-size: 10px
    }

    .pickup-list h3 {
        font-size: 11px
    }

    .pickup-list p {
        font-size: 9px
    }

    .more {
        width: 180px;
        margin-top: 18px;
        padding: 10px 16px 10px 7px;
    }

    .schedule {
        min-height: auto;
        background-image: url(../images/schedule-bg-sp.png);
        background-size: cover;
        padding: 28px 0
    }

    .schedule-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        margin-inline:-20px;padding: 4px 20px 8px
    }

    .schedule-list article {
        min-width: 155px;
        padding: 8px;
    }

    section.guide{
        padding: 24px 0 10px;
    }
    .guide-list {
        gap: 10px
    }

    .guide-list a {
        min-height: 83px;
        grid-template-columns: 112px 1fr auto;
        border-radius: 8px
    }

    .guide-list img {
        width: 112px;
        height: 83px
    }

    .guide-list span {
        padding: 9px;
        gap: 5px
    }

    .guide-list em {
        padding: 2px 10px;
        font-size: 8px
    }

    .guide-list b {
        font-size: 10px
    }

    .guide-list i {
        width: 25px;
        height: 25px;
        margin-right: 10px;
        font-size: 17px
    }

    .news {
        padding-top: 15px
    }

    .news-list {
        gap: 8px
    }

    .news-list a {
        padding: 10px 36px 10px 12px
    }

    .news-list b {
        font-size: 10px
    }

    .news-list strong {
        right: 12px
    }

    .news-tabs {
        gap: 4px;
        overflow: auto
    }

    .news-tabs button {
        padding: 3px 10px;
        font-size: 10px;
        white-space: nowrap
    }

    .mobile-more {
        display: block
    }

    .more::before{
        width: 5px;
        height: 5px;
    }

    .youtube-grid {
        gap: 14px 10px
    }

    .youtube-grid a {
        font-size: 12px;
    }

    .recruit-grid {
        gap: 10px
    }

    .notice-list a {
        padding: 10px 12px;
        font-size: 10px
    }

    .site-footer {
        padding-top: 55px
    }

    .horse-line {
        height: 80px
    }

    .horse-line img {
        width: 280px
    }

    .footer-links a {
        padding: 6px;
    }

    .footer-brand {
        height: 240px;
        gap: 65px
    }

    .footer-brand img {
        width: 150px
    }

    .hero-jogai {
        padding: 24px 0;
        background: #eee
    }

    .jogai-hero {
        display: block
    }

    .jogai-hero .race-visual {
        height: 270px
    }

    .jogai-copy {
        padding: 42px 15px 0
    }

    .jogai-copy strong {
        font-size: 29px
    }

    .jogai-copy strong i {
        display: none
    }

    .jogai-copy b {
        font-size: 35px
    }

    .jogai-copy span {
        font-size: 10px
    }

    .jogai-copy p {
        padding: 9px 12px;
        font-size: 9px
    }

    .jogai-side {
        margin-top: 18px
    }

    .jogai-side .card {
        padding: 13px
    }

    .hero-news {
        display: none
    }

    .standalone-predict .container>div {
        gap: 8px
    }

    .standalone-predict img {
        width: 50%
    }

    .jogai section.news, .jogai section.pickup-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .jogai .schedule {
        margin-top: 0
    }
}
