@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);
}


#container {
}

#contents .page_title{
    position: relative;
    width: 100%;
    display: flex;
    margin: 0 auto;
}
#contents .page_title img{
    display: block;
    width: 100%;
}

@media screen and (max-width: 767px){
#contents .page_title img {
    display: block;
    width: 90%;
    max-width: 413px;
    margin: 0 auto;
}
}
#contents .sections {
    width: 85%;
    margin: 0 auto;
    height: auto;
    background-color: transparent;
}


#section1 ul{
	list-style: none;
}
#section1 li{
	font-size: 22px;
	line-height: 1.2em;
}
/*
.sections {
padding: 40px;
    background: url(../images/bg_img.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 1% 10%;
}

.sections {
    background: url(../images/bg_img.png);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    padding: 1% 10%;
}
*/

.sections {
    background: url(../images/bg_img.png) center top repeat-y;
    background-size: 100% auto;
    overflow-x: hidden;
}

.sections div.detail{
    margin: 0 auto;
    text-align: center;
    padding: 2rem 3%;
}

.sections div.detail img{
    margin: 0 auto;
        width: 90%;
}


.schedule_nav{
    display:flex;
    flex-wrap:wrap;
    /*justify-content:center;*/
    justify-content: space-between;
    gap:12px;
    margin:0 auto 50px;
}

.schedule_nav a{
    display: block;
    padding: 5px 13px;
    background: #111;
    border: 2px solid #d4af37;
    color: #ffd700;
    text-decoration: none;
    border-radius: 990px;
    transition: .3s;
    width: 21%;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}


.schedule_nav a:hover{
    background:#d4af37;
    color:#111;
}
/*
.live_item{
    position: relative;
    margin: 0 auto 120px;
    max-width: 1000px;
}
*/
.live_list{
    /*max-width:1200px;*/
    width:85%;
    margin:0 auto;
}

.live_item{
    position:relative;
    width:85%;
    margin-bottom:20px;
}

/* 奇数 */
.live_item.right{
    margin-left:auto;
    margin-right:0;
}
/* 偶数 */
.live_item.left{
    margin-left:0;
    margin-right:auto;
}

.live_item > img{
    width:100%;
    display:block;
}

.movie_area{
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42%;
    aspect-ratio:16/9;
}

.movie_area iframe{
    width:100%;
    height:100%;
    border:none;
}

.movie_area img{
    width: 100%;
    display: block;

    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.4);
}
.movie_placeholder{
    width:100%;
    height:100%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#000;
    color:#fff;
    border:2px solid #fff;

    font-weight:bold;
}

.campaign_btn{
    display:block;
    width:fit-content;
    margin:30px auto 0;
    transition:.3s;
}

.campaign_btn img{
    display:block;
    max-width:420px;
    width:90%;
    height:auto;
}

.campaign_btn:hover{
    transform:translateY(-5px);
}

.campaign_btn:hover img{
    filter:drop-shadow(0 8px 15px rgba(255,217,0,.4));
}

.live_item{
    position:relative;
    opacity:0;
    transition:
        opacity .8s ease,
        transform .8s ease;
}

/* 右側から出る */
.live_item:nth-child(odd){
    transform:translateX(150px);
}

/* 左側から出る */
.live_item:nth-child(even){
    transform:translateX(-150px);
}

/* 表示後 */
.live_item.show{
    opacity:1;
    transform:translateX(0);
}

.live_header{
    display:flex;
    align-items:center;
    justify-content:space-between;

    max-width:1000px;
    margin:0 auto;

    padding:20px 30px;

    background:linear-gradient(
        90deg,
        #0d0d0d 0%,
        #1f1f1f 100%
    );

    border:2px solid #d4af37;
    border-radius:10px;

    color:#fff;

    cursor:pointer;

    transition:.3s;
}

.live_header:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(212,175,55,.25);
}

.live_date{
    font-size:24px;
    font-weight:bold;
    color:#ffd700;
}

.live_title{
    flex:1;
    margin:0 20px;
    font-size:20px;
}

.live_icon{
    font-size:32px;
    font-weight:bold;
    line-height:1;
}
.live_content{
    display:none;
}

.live_item.open .live_content{
    display:block;
}

.live_item.open .live_toggle{
    transform:rotate(180deg);
}

@media screen and (max-width: 768px){
    #contents .sections {
        width: 100%;
    }
    .live_list {
        /* max-width: 1200px; */
        width: 95%;
        margin: 0 auto;
    }
    .sections div.detail {
        padding: 3rem 4% 1rem 4%;
    }
    .sections div.detail img{
        width: 100%;
    }

    .schedule_nav{
        display:none;
    }

    .movie_area {
        width: 74%;
        left: 2%;
        top: 59%;
        transform: translateY(-50%);
    }

    .live_header{
        padding:20px;
    }

    .live_date{
        font-size:42px;
        font-weight:900;
        line-height:1;
        letter-spacing:1px;
    }

    .live_title{
        font-size:24px;
        font-weight:bold;
    }

    .live_toggle{
        font-size:30px;
    }
    .live_item{
        width:100%;
        transform:none !important;
        margin-bottom:30px;
    }
    .live_date{
        font-size:18px;
    }


    .live_header{
        padding:20px;
    }

    .live_date{
        font-size:2rem;
        font-weight:900;
        line-height:1;
        letter-spacing:1px;
    }

    .live_title{
        font-size:1.4rem;
        font-weight:bold;
    }

    .live_toggle{
        font-size:30px;
    }


    .campaign_btn img{
        width:90%;
        margin:0 auto;
    }
    .live_item{
        opacity:0;
        transform:translateX(-40px);
    }

    .live_item.show{
        opacity:1;
        transform:translateX(0);
    }

}

