@charset "UTF-8";

body{
    letter-spacing: 0.3em;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
}

#container{
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: unset;
    background-color: #fff;
}
.page{
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    flex-direction: column;
}
.question{
    font-size: 48px;
    background-color: #edede7;
    line-height: 1.6em;
}
.answer-picture{
    font-size: 300px;
    line-height: 1em;
    display: flex;
    align-items: center;
    margin-left: -0.05em;
}
.answer-text{
    margin-top: 40px;
    font-size: 48px;
}

#cover{
    background-color: #edede7;    
}
#cover div{
    font-size: 330px;
    margin-top: -0.3em;
    margin-bottom: -0.25em;
    margin-left: -0.05em;
    line-height: 1em;
}
#cover p{
    font-size: 60px;
    line-height: 1.5em;
}

#page2{
    background-color: #ffd245; 
}
#page4{
    background-color: #00aa7d; 
}
#page6{
    background-color: #ffa582; 
}
#page8{
    background-color: #6899c0; 
}
#page10{
    background-color: #ffd245; 
}
#page12{
    background-color: #00aa7d; 
}
#page14{
    background-color: #ffa582; 
}
#page16{
    background-color: #6899c0; 
}
#page18{
    background-color: #ffd245; 
}
#page20{
    background-color: #00aa7d; 
}
#end{
    position: relative;
    font-size: 60px;
    background-color: #edede7;
}
#end div{
    font-size: 100px;
    /* padding-left: 0.5em; */
    
    text-align: center;
    margin-left: -0.05em;
}
#credit{
    font-size: 12px!important;
    position: absolute;
    /* right: 20px; */
    bottom: 20px;
    margin: auto;
    letter-spacing: 0em!important;
}

#credit a{
    text-decoration: underline;
}

#retry{
    justify-content: center!important;
    background-color: #edede7;
    
}
.book-button{
    width: 420px;
    height: 76px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 38px;
    box-sizing: border-box;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 30px;
    /* box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.3); */
    font-size: 30px;
    margin-top: 40px;
}

.book-spacer{
    height: 60px;
}

/* .book-button-line{
    width: 420px;
    height: 76px;
    background-color: #000000;
    color: #fff;
    border: 4px solid #fff;
    border-radius: 38px;
    box-sizing: border-box;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 30px;
    box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.3);
    font-size: 30px;
    margin-top: 80px;
} */

#pager-left{
    width: 33%;
    height: 75%;
    position: absolute;
    top: 12.5vh;
    left: 0;
    cursor: pointer;
    z-index: 1;
}

#pager-right{
    width: 33%;
    height: 75%;
    position: absolute;
    top: 12.5vh;
    right: 0;
    cursor: pointer;
    z-index: 1;
}

#control{
    position: absolute;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
}

#control-top{
    height: 70px;
    display: flex;
    justify-content: space-between;
    font-size: 28px;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
}

#control-top div{
    min-width: 200px;
    display: flex;
    align-items: center;
}

#control-top-left{
    margin-left: 20px;
    align-items: center;
    line-height: 1em;
}

#control-top-left a{
    display: flex;
    align-items: center;
    height: 100%;
}

#control-top-left img{
    height: 60%;
}

/* #control-top-right{
    margin-right: 20px;
    justify-content: flex-end;
    & img{
        height: 80%;
    }
} */

#control-middle{
    flex: 1;
}

#control-bottom{
    height: 70px;
    font-size: 24px;
    color: #fff;
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0,0,0,0.5);
    /* & > div{
        margin-top: 10px;
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 400px;
        height: 50%;
    } */
}

#control-bottom img{
    cursor: pointer;
    height: 100%;
}

#instruction{
    position:absolute;
    z-index: 1;
    top:0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content:flex-end;
    align-items: center;
}

#instruction div{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 300px;
    border-radius: 30px;
    font-size: 25px;
    flex-direction: column;
}

#instruction img{
    width: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ベーススタイルに Track も合わせて設定 */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    width: 70%;
    background: #1e1e1e;
    height: 8px;
    border-radius: 8px;
}

input[type="range"].large {
    height: 16px;
    border-radius: 16px;
}

/* Thumb: Chrome, Safari, Opera, Edge Chromium */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
}

input[type="range"].large::-webkit-slider-thumb {
    height: 40px;
    width: 40px;
}

/* Thumb: Firefox */
input[type="range"]::-moz-range-thumb {
    border: none;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
}