/* 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;
}

@font-face{
    font-family: "ff-good-headline-web-pro-ext", sans-serif;
    font-weight: 700;
    font-style: normal;
}

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

body{
    background-color: #000;
    
    background-attachment: fixed;
    
    background-image: url("../images/bg.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;

}

a:hover{
    opacity: 0.8;
}


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


#page{
    display: grid;
    grid-template-columns: 0.45fr 1fr 0.45fr;
    width: min(100%,150rem);
    height: 100%;
    padding: 0;
    margin: 0 auto;
    position: fixed;
}

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

#main_visual_page{
    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;
}

@keyframes grow-progress {
    from {
      scale: 1 0;
    }
    to {
      scale: 1 1;
    }
  }


#main_logo{
    position: fixed;
    top: calc(0/1920 * 100vw);
    left: calc(50vw - 934/1920 * 100vw/2);
    right: unset;
    width: calc(934/1920 * (100vw));
    max-width: 934px;
    min-width: 40px;
}


#copy{
    position: fixed;
    width: calc(775/1920 * (100vw));
    top: calc(48/1920 * 100vw);
    left: calc(1130/1920 * 100vw);
    max-width: 775px;
    min-width: 40px;
}


#main_visual_image{
    position: fixed;
    top: calc(48/1920 * 100vw);
    left: calc(50vw - 1220/1920 * 100vw/2);
    width: calc(1220/1920 * (100vw));
    max-width: 1220px;
    min-width: 40px;
}

#copy_page{
    position: fixed;
    top: calc(48/1920 * 100vw);
    left: calc(1381/1920 * (100vw));
    width: calc(514/1920 * (100vw));
    max-width: 775px;
    min-width: 40px;
}

#main_visual_image_page{
    position: fixed;
    top: calc(269/1920 * 100vw);
    left: calc(1299/1920 * (100vw));
    width: calc(763/1920 * (100vw));
    max-width: 763px;
    min-width: 40px;
}





.pos_right_main{
    top: calc(48/1920 * 100vw);
    left: calc(50vw - 1220/1920 * 100vw/2);
}

.pos_right_copy{
    top: calc(48/1920 * 100vw);
    left: calc(1130/1920 * 100vw);
}

.pos_right_logo{
    top: calc(0/1920 * 100vw);
    left: unset;
    right: 1rem;
    width: calc(470/1920 * (100vw));
    max-width: 470px;
    min-width: 40px;
    animation: logo_center_right 1s;
    animation-direction: normal;
    
    
}

@keyframes logo_center_right {
    from {
        left: calc(50vw - 934/1920 * 100vw/2);
        right: calc(50vw - 934/1920 * 100vw/2);
        width: calc(934/1920 * (100vw));
    }
    to {
        left: unset;
        right: 1rem;
        width: calc(470/1920 * (100vw));
    }
}


#sp_contents{
    display: block;
}

#sp_contents_inner{
    display: none;
}


#main_contents{
    width: min(100%,100rem);
    /* height: 100vh; */
    /* margin: 0 auto; */
    left: calc(50vw - min(100%,100rem)/2);
    position: relative;
    z-index: 2;
    /*padding-top: 73vh;*/
    padding-top: calc(225/1920 * (100vw));


    /* background: #eb040c44; */
    /* box-shadow: -0.2rem 0 2rem 0 rgba(40,28,121,.1),.2rem 0 2rem 0 rgba(40,28,121,.1) !important; */
}


#main_contents_page{
    width: min(100%,100rem);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 1rem;
}


#sp_contents_box{
    
}

.btn_sp{
    
}

.youtube_iframe{
   width: 100%;
    height: calc(min(100vw,100rem)* 3 / 4  * 9 / 16);
/*
    width: 50%;
    height: calc(min(50vw,100rem) * 9 / 16);
    */
    margin: 0 auto 1rem;
}

#main_visual_inner,
#main_header_inner{
 display: none;   
}

#sub_contents_inner{
 
}


.race_btn{
    background-image: url("../images/btn_bg.jpg");
    background-size: cover;
}

.race_btn_off{
    background-image: url("../images/btn_bg_off.jpg");
    background-size: cover;
}

#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: 1280px) {

    #main_contents{
        left: 0px;
        width: 80rem;
    }

}


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

    }

    
    #nighter_logo{
        
    }

    #sp_contents{
        display: none;
    }

    #sp_contents_inner{
        display: block;
    }

    
    #main_logo{
        position: fixed;
        top: calc(0/1920 * 100vw);
        left: calc(857/1280 * (100vw));
        right: unset;
        width: calc(410/1280 * (100vw));
        max-width: 410px;
        min-width: 40px;
        display: block;
    }
    
    
    #copy{
        position: fixed;
        
        top: calc(48/1920 * 100vw);
        left: calc(771/1280 * (100vw));
        width: calc(514/1280 * (100vw));
        max-width: 775px;
        min-width: 40px;
    }
    
    
    #main_visual_image{
        position: fixed;
        top: calc(209/1280 * 100vw);
        left: calc(689/1280 * (100vw));
        width: calc(763/1280 * (100vw));
        max-width: 763px;
        min-width: 40px;
    
    }
    
    #copy_page{
        position: fixed;
        top: calc(48/1920 * 100vw);
        left: calc(771/1280 * (100vw));
        width: calc(514/1280 * (100vw));
        max-width: 775px;
        min-width: 40px;
    }
    
    #main_visual_image_page{
        position: fixed;
        top: calc(209/1280 * 100vw);
        left: calc(689/1280 * (100vw));
        width: calc(763/1280 * (100vw));
        max-width: 763px;
        min-width: 40px;
    }
    
    
    
    
    .pos_right_logo{
        top: calc(0/1920 * 100vw);
        left: unset;
        right: 1rem;
        width: calc(470/1920 * (100vw));
        max-width: 470px;
        min-width: 40px;
        animation: logo_center_right 1s;
        animation-direction: normal;
        
        
    }
    


    #main_contents{
        position: absolute;
        left: 0rem;
        right: unset;
        padding-top: 1rem;
    }


    #main_contents_page{
        position: absolute;
        left: 0rem;
        right: unset;
        padding-top: 1rem;
        width: min(100%,85rem);
        /*
        width: min(100%,100rem);
        margin: 0 auto;
        position: relative;
        z-index: 2;
        padding-top: 1rem;
        */
    }

    #sub_contents_inner{
        display:block;
    }

    #sp_contents{
        display:none;
    }
    
   
}

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


    #page{
        grid-template-columns: 1fr;
        position: absolute;
    }


    #main_visual_image{
        position: absolute;
        top: calc(50/960 * 100vw);
        left: calc(50vw - 1058/960 * (100vw)/2);
        width: calc(1058/960 * (100vw));
        max-width: 100vw;
        min-width: 40px;
       
    
    }

    #main_visual_page{
        display: none;
    }

    #copy{
        position: absolute;
        
        top: calc(-39/960 * 100vw);
        left: calc(288/960 * (100vw));
        width: calc(616/960 * (100vw));
        max-width: 616px;
        min-width: 40px;
    }


    #main_logo{
        position: absolute;
        top: calc(682/960 * 100vw);
        left: calc(103/960 * (100vw));
        right: unset;
        width: calc(731/960 * (100vw));
        max-width: 731px;
        min-width: 40px;
        display: block;
    }
    


    
    #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;
    }

    
    
    
/*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;
        padding-top: calc(928/960 * 100vw);
        width: 100vw;
    }


    #main_contents_page{
        position: relative;
        margin: 0 auto;
        left: unset;
        height: auto;
        padding-top: 1rem;
        width: 100vw;
    }


    #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;
    }
    
   
}
