/* 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-image: url("../images/common/main_bg.jpg");
    
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-color: #2e92f0;
}

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

#illust{
    max-width: none;
    height: 100%;
    width: auto;
    position: relative;
    left: calc( ((100vw - 55rem)/2*1.2 - (2276 * 100vh / 2064))/2);
    
}

#boat{
    position: fixed;
    bottom: 4%;
    left: max(-8%,-8% + 50vw - 75rem);
    width: calc(559/1500 * (100vw - 50rem)*1.2);
    max-width: calc(559/1500 * (1500px - 50rem)*1.2);
    
}

#main_logo{
    width: calc((50% - 27.5rem) * 1.2);
    max-width: calc((1500px / 2 - 27.5rem) * 1.2);
    z-index: 3;
}

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

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

#copy{
    position: fixed;
    top: calc( (100vw - 55rem)*0.6*266/751 );
    left: calc(((100vw - 55rem)*0.6)/2 - 21px);
    width: calc(43/1500 * (100vw - 50rem));
    max-width: calc(43/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: #2e92f0;
}


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

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

    }

    #illust{
        left: calc(((100vw - 55rem) - (2276 * 100vh / 2064)) / 2);
        
    }

    #boat{
        position: fixed;
        bottom: 4%;
        left: max(-8%,-8% + 50vw - 75rem);
        width: calc(559/1000 * (100vw - 50rem)*1.2);
        
    }
    

    #main_logo{
        width: calc(100vw - 55rem);
        max-width: calc(100vw - 55rem);
    }

    #nighter_logo{
        
    }

    #sub_contents{
        display: none;
    }

    #copy{
        position: fixed;
        top: calc( (100vw - 55rem)*266/751 );
        left: calc(((100vw - 55rem))/2 - 21px);
        width: calc(43/1500 * (100vw - 55rem));
        max-width: calc(43/1500 * (1500px - 55rem));
        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)*1200/750);
        background-image: url('../images/common/main_bg.jpg');
        background-size: cover;
        background-position: 90%;
        margin-bottom: 15rem;
    }

    
    #main_header_inner{
        display:block;
    }


    #illust_inner{
        left: calc((min(100vw,55rem) - (2276 * min(100vw,55rem)*980/750 / 2064)) / 5);
        height: 100%;
        width: auto;
        position: relative;
        max-width: none;
    }

    #boat_inner{
        position: relative;
        /* bottom: 4%; */
        top: -22vh;
        left: max(-8%,-8% + 50vw - 75rem);
        width: calc( 559/ 950 * min(100vw,55rem));
        
    }

    #main_logo_inner{
        position: absolute;
        top: calc(min(100vw,55rem)*1200/750);
        width: calc(min(100vw,55rem) - 1rem);
        bottom: 0px;
        z-index: 3;
    }

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

    #sub_contents{
        display: none;
    }

    

    #cheers_inner{
        position: absolute;
    }

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