/* CSS Document */
@font-face{
	font-family: "line-font";
	src: url("../font/LINESeedJP_OTF_Rg.woff");
	font-weight: 400;
}

@font-face{
	font-family: "line-font";
	src:url("../font/LINESeedJP_OTF_Eb.woff");
	font-weight: 900;
}

html{
	scroll-behavior: smooth;
    font-size: 10px;
}

body{
    background-color: #000;
    
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    /*
    background-image: url("../images/red_bar.png"),url("../images/red_bar.png");
    background-size: 100% 10%,100% 10%;
    background-repeat: no-repeat,no-repeat;
    background-position: top,bottom;
*/
}

a:hover{
    opacity: 0.8;
}


#body{
    
    overflow-y: clip;
    opacity: 1;
    visibility: visible;
    z-index: 1;
    position: fixed;
    width: 100vw;
    height: 100vh;
}

#video_wrapper,
#video_wrapper_inner{
    position: fixed;
    z-index: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: 0.5;
}

#flare,
#flare_inner{
    object-fit: cover;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;

}

#page{
    display: grid;
    grid-template-columns: 1.2fr 55rem 0.8fr;
    width: min(100%,150rem);
    height: 100%;
    padding: 0;
    margin: 0 auto;
    
}

#main_visual{
    
    grid-column: 1;
    overflow: hidden;
    z-index: 1;
    
}



#nighter_logo{
    top:1rem;
    left:1rem;
    width: calc(170 * min(100vw,55rem)*980/750 /750);
}

#sub_contents{
    grid-column: 3;
    z-index: 1;
}


#main_logo{
    position: fixed;
    /* top: calc( (100vw - 55rem)*0.6* 1537/751 ); */
    bottom: calc((100vw - 55rem)*0.6* 102/751);
    left: calc(((100vw - 55rem)*0.6 / 2) - 383/1500 * (100vw - 50rem)/2);
    width: calc(383/1500 * (100vw - 50rem));
    max-width: calc(383/1500 * (1500px - 50rem));
    min-width: 40px;
}


#copy{
    position: fixed;
    top: calc( (100vw - 55rem)*0.6*337/751 );
    left: calc((100vw - 55rem)*0.6*72/751);
    width: calc(189/1500 * (100vw - 50rem));
    max-width: calc(189/1500 * (1500px - 50rem));
    min-width: 40px;
}


#racer{
    position: fixed;
    top: calc( (100vw - 55rem)*0.6* 160/751 );
    left: calc((100vw - 55rem)*0.6* 29/751);
    width: calc(900/1500 * (100vw - 50rem));
    max-width: calc(900/1500 * (1500px - 50rem));
    min-width: 40px;
}


#red_bar_top{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: calc(260*100vh/1203);

    /*1203:280 100vh x*/

}

#red_bar_btm{
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: calc(260*100vh/1203);

    /*1203:280 100vh x*/

}


#osakaderby{
    position: fixed;
    bottom: calc(260*100vh/1203);
    left: 0px;
    width: calc((100vw - 55rem)*0.6);
    /*max-width: calc(189/1500 * (1500px - 50rem));*/
    min-width: 40px;
}

#bg_logo{
    position: fixed;
    top: -5px;
    left: 0px;
    height: calc(280*100vh/1203);
    /*width: calc((100vw - 55rem)*0.6);*/
    /*max-width: calc(189/1500 * (1500px - 50rem));*/
    min-width: 40px;
}



#main_contents{
    width: min(100%,55rem);
    /* height: 100vh; */
    /* margin: 0 auto; */
    left: calc((100vw - 1500px)/2 + (1500px - 55rem)/2*1.2);
    position: relative;
    z-index: 2;
    /* background: #eb040c44; */
    /* box-shadow: -0.2rem 0 2rem 0 rgba(40,28,121,.1),.2rem 0 2rem 0 rgba(40,28,121,.1) !important; */
}

#sp_contents_box{
    
}

.btn_sp{
    
}

.youtube_iframe{
   /*width: 100%;
    height: calc(55rem / 16 * 9);*/

    width: 100%;
    height: calc(min(100vw,55rem) * 9 / 16);
    margin: 0 auto 1rem;
}

#main_visual_inner,
#main_header_inner{
 display: none;   
}

#sub_contents_inner{
 
    display: none;
}

#open_body{
    display: flex;
    flex-direction: column;
    background-color: #eef600;
}


.dream_box{
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    
    margin-bottom: 2rem;
}

.dream_box_body{
    display: flex;
    flex-direction: row;
}

.dream_photo{
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}

.dream_box_title{
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "line-font";  
    font-style: italic;
    padding: 0.6rem;
}

.dream_text{
    font-size: 1.6rem;
    font-weight: 500;
    font-family: "line-font";  
    text-align: justify;  
    padding: 1rem;
    width: 100rem;
}

.boat1{
    background-color: #fff;
    color: #000;
}

.boat2{
    background-color: #000;
    color: #fff;
}

.boat3{
    background-color: #e10d0d;
    color: #fff;
}

.boat4{
    background-color: #0628b3;
    color: #fff;
}

.boat5{
    background-color: #dde402;
    color: #000;
}

.boat6{
    background-color: #05a71a;
    color: #fff;
}


/* ラジオボタンの○を消す */
input[type="checkbox"] {
    display: none;
}
/* 画像の周りに隙間をあける */
label img {
    padding: 5px;
}

label{
    border-radius: 1rem;
}

/* 未選択の場合、色を薄くする */
input[type="checkbox"] + label {
    border: 2px solid #fff;
    opacity:1;
  }
/* 選択済みの場合、色を濃くする */
input[type="checkbox"]:checked + label {
    border: 2px solid #800101;
    opacity:0.7;
}

@media screen and (max-width: 1500px) {

    #main_contents{
        left: calc((100vw - 55rem)/2*1.2);
    }

}


@media screen and (max-width: 1280px) {
    
    #page{
        grid-template-columns: 1fr 55rem;
        

    }

    
    #nighter_logo{
        
    }

    #sub_contents{
        display: none;
    }

    #main_logo{
        position: fixed;
        /* top: calc( (100vw - 55rem)*0.6* 1537/751 ); */
        bottom: calc((100vw - 15rem)*0.6* 102/751);
        left: calc(((100vw - 15rem)*0.6 / 2) - 383/1500 * (100vw - 15rem)/2);
        width: calc(383/1500 * (100vw - 15rem));
        max-width: calc(383/1500 * (1500px - 15rem));
        min-width: 40px;
    }
    
    
    #copy{
        position: fixed;
        top: calc( (100vw - 15rem)*0.6*337/751 );
        left: calc((100vw - 15rem)*0.6*72/751);
        width: calc(189/1500 * (100vw - 15rem));
        max-width: calc(189/1500 * (1500px - 15rem));
        min-width: 40px;
    }
    
    
    #racer{
        position: fixed;
        top: calc( (100vw - 15rem)* 160/751 );
        left: calc((100vw - 15rem)* 29/751);
        width: calc(900/1500 * (100vw - 15rem));
        max-width: calc(900/1500 * (1500px - 15rem));
        min-width: 40px;
    }
    
    
    #red_bar_top{
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: calc(260*100vh/1203);
    
        /*1203:280 100vh x*/
    
    }
    
    #red_bar_btm{
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100%;
        height: calc(260*100vh/1203);
    
        /*1203:280 100vh x*/
    
    }
    
    
    #osakaderby{
        position: fixed;
        bottom: calc(260*100vh/1203);
        left: 0px;
        width: calc((100vw - 15rem)*0.6);
        /*max-width: calc(189/1500 * (1500px - 50rem));*/
        min-width: 40px;
    }
    
    #bg_logo{
        position: fixed;
        top: -5px;
        left: 0px;
        height: calc(280*100vh/1203);
        /*width: calc((100vw - 55rem)*0.6);*/
        /*max-width: calc(189/1500 * (1500px - 50rem));*/
        min-width: 40px;
    }
    


    #main_contents{
        position: absolute;
        right: 0rem;
        left: unset;
    }

    #sub_contents_inner{
        display:block;
    }
    
   
}

@media screen and (max-width: 960px) {


    body{
        background-image: none;
    }
    
    #page,#video_wrapper{
       display: none;
    }

    #main_visual_inner{
        display:block;
        overflow: hidden;
        z-index: 1;
        height: calc(min(100vw,55rem)*1300/750);
        margin-bottom: 15rem;
    }

    
    #main_header_inner{
        display:block;
    }
    
    
    #nighter_logo_inner{
        position: absolute;
        top:1rem;
        right:1rem;
        width: calc(170 * min(100vw,55rem)*980/750 /750);
    }

    #sub_contents{
        display: none;
    }

    #main_logo_inner{
        position: absolute;
        top: calc(min(100vw,55rem)*1200/750 + 1rem);
        left: calc(((min(100vw,55rem) / 2) - 383/750 * (min(100vw,55rem)/2)));
        width: calc(383/750 * min(100vw,55rem));
        max-width: calc(383/750 * min(100vw,55rem));
        min-width: 40px;
    }
    
    
    #copy_inner{
        position: absolute;
        top: calc( (100vw - 15rem)*0.6*337/751 );
        left: calc(min(100vw,55rem) * 12/751);
        width: calc(189/750 * min(100vw,55rem));
        max-width: calc(189/1500 * (1500px - 15rem));
        min-width: 40px;
    }
    
    
    #racer_inner{
        position: absolute;
        top: calc( min(100vw,55rem)*0.6* 160/751 );
        left: calc(min(100vw,55rem)* -35/751);
        width: calc(min(100vw,55rem)* 900/751);
        max-width: calc(900/1500 * (1500px - 15rem));
        min-width: 40px;
    }
    
    
    #red_bar_top_inner{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: calc( min(100vw,55rem) * 260/750);
    
        /*1203:280 100vh x*/
    
    }
    
    #red_bar_btm_inner{
        position: absolute;
        /*top: calc(min(100vw,55rem)*1200/750 - min(100vw,55rem)*1200/750 * 260/750);*/
        top: calc(min(100vw,55rem)*1200/750);
        left: 0px;
        width: 100%;
        height: calc( min(100vw,55rem) * 260/750);
        max-height: 
        /*1203:280 100vh x
        750 : 1200 100vw:x
        750 : 260 a:x
        */
    
    }
    
    
    #osakaderby_inner{
        position: absolute;
        top: calc(min(100vw,55rem)*1200/750 - min(100vw,55rem)*44/667);
        left: 0px;
        width: 100%;
        /*max-width: calc(189/1500 * (1500px - 50rem));*/
        min-width: 40px;
    }
    
    #bg_logo_inner{
        position: absolute;
        top: -5px;
        left: calc( (min(100vw,55rem) - min(110vw,60rem))/2);
        width: min(110vw,60rem);
        min-width: 40px;
        max-width: 110vw;
    }
    
    
/*100vw:667 x:44*/
/*
    #copy_inner{
        top: min( 55rem*266/751, 100vw*266/751 );
        left: calc(50% - 21px);
        
        position: absolute;
        width: calc(43 * min(100vw,55rem)*980/750 /750);
        max-width: 100%;
    }
*/


    #main_contents{
        position: relative;
        margin: 0 auto;
        left: unset;
        height: auto;
        
    }

    #sub_contents_inner{
        display:block;
    }


    #footer{
        width: 100%;
        justify-content: center;
        bottom: 0;
        margin: 0;
        right: 0;
        border-radius: 0;
        padding: 2px;
        align-items: end;
    }

    #btn_vote{
        width: 9rem;
        padding: 0.4rem;
    }

    #sns_box{
        margin-bottom: 1rem;
    }
    
   
}
