@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: 20px 10% 60px;
}


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



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

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

.movie-archive{
    padding:80px 0;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.movie-filter{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:40px;
}

.movie-filter button{
    border:none;
    cursor:pointer;
    padding:10px 20px;
    border-radius:999px;
    background:#e5e7eb;
}

.movie-filter button.is-active{
    background:#0d1b2a;
    color:#fff;
}

.movie-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.movie-card{
    background:transparent;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(0,0,0,.1);
    color:white;
}

.movie-thumbnail{
    position:relative;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#000;
}

.movie-thumbnailimg,
.movie-thumbnailiframe{
    width:100%;
    height:100%;
    display:block;
    border:0;
}

.movie-thumbnail{
    position:relative;
    cursor:pointer;
}

.movie-thumbnail img{
    width:100%;
    display:block;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.movie-thumbnail img{
    transition:.3s;
}

.movie-thumbnail:hover img{
    transform:scale(1.05);
}

.play-button{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(255,255,255,.9);
    color:#e60012;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.play-button{
    transition:.3s;
}

.movie-thumbnail:hover .play-button{
    transform:translate(-50%,-50%) scale(1.15);
}

.round-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:#c9a227;
    color:#fff;
    padding:6px 12px;
    font-size:12px;
    border-radius:999px;
    font-weight:bold;
}

h3.movie-heading{
    font-size:1rem;
    padding: 2px 0;
}

h3.movie-heading span.round-badge2{
    background:#c9a227;
    color:#fff;
    padding: 2px 0 0 3px;
    font-size: 0.9rem;    
    line-height:1rem;
    /*border-radius:999px;*/
    font-weight:bold;
}

h3.movie-heading span.race_date{
    padding-left:1rem;
}

.movie-info{
    padding:20px;
    color: black;
}

.movie-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.movie-title{
    margin-bottom:15px;
    font-size:18px;
}

.winner small{
    color:#888;
}

.winner p{
    margin-top:4px;
    font-weight:bold;
}

.place-badge{
    color: #fff;
    border-radius: 999px;
    padding: 1px 6px 0 6px;
    font-size: 0.8rem;
    margin-top:-4px;
    margin-left: 5px;
}

/* 開催場カラー */

.place-住之江{
    background:#2563eb;
}

.place-平和島{
    background:#16a34a;
}

.place-戸田{
    background:#d97706;
}

.place-福岡{
    background:#dc2626;
}

.place-大村{
    background:#7c3aed;
}

.suminoe{
    background:#2563eb;
}

.heiwajima{
    background:#16a34a;
}

.toda{
    background:#d97706;
}

.fukuoka{
    background:#dc2626;
}

.omura{
    background:#7c3aed;
}
@media screen and (max-width: 767px){
    .movie-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .winner-name{
	background-color: #172a42;
        text-align: center;
    }

}

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