@charset "utf-8";
/* CSS Document */
/*ルールページ固有*/

.pages_title img{
    width: 35%;
}
.page_header_sp_pnly{
    display:none;
}
.page_header_pc_only{
    display:block;
}
.grandprix_logo{
	width: 45%;
	position: absolute;
	top: 10px;
	left: calc(50% - 300px);
}

#contents .page_title{
    position: relative;
    width: 100%;
    display: flex;
    /*padding: 30px 0;*/
    margin: 80px 0;
}
#contents .page_title img{
    display: block;
    width: 100%;
    max-width: 313px;
    margin: 0 auto;
}
@media screen and (max-width: 767px){
#contents .page_title img {
    display: block;
    width: 90%;
    max-width: 413px;
    margin: 0 auto;
}
}
#contents .sections {
    width: 90%;
    margin: 0 auto;
    height: auto;
    background-color: transparent;
}


._contents{
    background: url(../images/bg_img.png) center top repeat-y;
    background-size: 100% auto;
    padding: 40px 5% 60px;
}


@media screen and (max-width: 767px){
    #contents .sections {
        width: 100%;
    }
    ._contents{
        padding: 30px 1% 30px;
    }
}



/* --------------------
   タイトル
-------------------- */

.page-title{
    margin:0 0 0;
    text-align:center;
    /*font-size:clamp(2rem,4vw,3rem);*/
    font-weight:800;
    color:white;
}


/* --------------------
   race-schedule
-------------------- */

.race-schedule {
    padding: 40px 0;
}

.race-header {
    text-align: center;
    margin-bottom: 30px;
}

.race-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.race-period {
    font-size: 1.5rem;
    font-weight: 700;
}

.race-name {
    margin-top: 10px;
    font-size: 1.2rem;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
}

.race-table {
    width: 100%;
    /*min-width: 1200px;*/
    border-collapse: collapse;
    background: #fff;
    color:black;
    font-size: 0.9rem;
}

.race-table th,
.race-table td {
    border: 1px solid #ccc;
    padding: 8px 6px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.2;
}
.race-table td span.time {
    font-size:1.4rem;
    font-weight:700;

}
.race-table thead th {
    background: #0d1b2a;
    color: #fff;
}
/*
.race-start-row th,
.race-start-row td{
    border-top:3px solid #0d1b2a;
}
*/
.race-start-row th, .race-start-row td {
    border-top: 4px #abb3bd double;
}

.item-col {
    background: #edf1f5;
    font-weight: bold;
    font-size:1.2rem;
    white-space: nowrap;
}

.trial1{
    background: #194378;
    color: #fff;
    font-weight: bold;
}

.special {
    background: #d60000;
    color: #fff;
    font-weight: bold;
}

.champion {
    /*background: linear-gradient(135deg,#b8860b,#ffd700);*/
background:linear-gradient(
    135deg,
    #b8860b,
    #ffd700,
    #fff2a8
);
    color: #000;
    font-weight: bold;
    font-size:1.1rem;
}

.note {
    margin-top: 15px;
    font-weight: bold;
}

.sp-scroll-guide{
    display:none;
}
@media screen and (max-width: 767px){

    .sp-scroll-guide{
        display:block;
        text-align:right;
        font-size:11px;
        color:#fff;
        margin-bottom:5px;
    }

    .race-title{
        font-size:1.5rem;
    }

    .race-period{
        font-size:1.1rem;
    }

    .race-name{
        font-size:1rem;
    }

    .race-schedule{
	padding:0;
        padding:30px 0 20px;
    }

    .table-wrap{
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .race-table{
        min-width: 550px; /* 好みに応じて調整 */
        font-size: 0.7rem;
    }

    .table-wrap::-webkit-scrollbar{
        height:8px;
    }

    .table-wrap::-webkit-scrollbar-thumb{
        background:#5b6670;
        border-radius:4px;
    }

    .race-table th,
    .race-table td {
        padding: 6px 4px;
        line-height: 1;
    }

    .race-table td span.time {
        font-size:1.1rem;
        font-weight:700;
    }

    .item-col {
        font-size:1rem;
    }

    /* 左列固定 */
    .race-table th:first-child,
    .race-table td:first-child{
        position: sticky;
        left: 0;
        z-index: 5;
	border-right:2px solid #8c98a6;
    }

    .champion {
        font-size:0.9rem;
    }

}

@media only screen and (max-device-width: 480px){
}