@charset "utf-8";
/* CSS Document */
body,html { height: 100%; }
    body { background-color: #000;margin: 0;font-family: "Noto Sans JP", sans-serif;}
    video {
        position: fixed; top:50%; left: 0; transform: translateY(-50%); width: 100%; }
.create video { display: none;}
    canvas {
         width: 100%; position: fixed; top:50%; left: 0; transform: translateY(-50%); display: none;}
.create #canvas1 { display: block;}
.create.create2 #canvas2 { display: block;}
    button { position: relative; }
    
    #replace { display: none;position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); height: 44px; padding: 0 2em; line-height: 44px; background-color: #FFF; color: #000; border-radius: 22px; cursor: pointer; font-weight: bold;}
    .create #replace { display: inline-block;}
    .create.create2 #replace { display: none;}
    #contols { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center;}
#play { width: 80px; height: 80px; border-radius: 50%; border: 6px solid #FFF; box-sizing: border-box; display: block; cursor: pointer;}
    .create #contols { display: none;}
div.div { width: 50px; height: 50px; border-radius: 50%; background-color: rgba(0,0,0,.3);}
#swap { background-image: url("../img/switch.svg"); background-position: center; background-repeat: no-repeat; background-size: 30px; cursor: pointer;}
#contols div { margin: 0 20px;}
#contols div:last-child { opacity: 0;}

    
    #download { position:absolute; top:0; right: 0; display: none; width: 60px; height: 60px; background-image: url("../img/download.svg"); background-repeat: no-repeat; background-position: center; background-size: 24px; cursor: pointer;}
        #return { position:absolute; top:0; left: 0; display: none; width: 60px; height: 60px; background-image: url("../img/arrow.svg"); background-repeat: no-repeat; background-position: center; background-size: 24px; cursor: pointer;} 
        
        
        .create.create2 #download,.create #return { display: block;}

@media (orientation: landscape) {
    video {
         top:50%; left: 50%; transform: translate(-50%,-50%); width: auto; height: 100%; }
    canvas {
         top:50%; left: 50%; transform: translate(-50%,-50%); width: auto; height: 100%; display: none;}
}

