






.ball{
    position: fixed;
    top: 10px;
    right:10px;
    background-color: #888;
    padding: 5px;
    color: #fafafa;    
    z-index: 999;
}




/*----------------------------------------------------------
	ベース
----------------------------------------------------------*/

body{

    background-color: #fafafa;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.contents{

    width:100%;
    max-width: 800px;

    margin: 0 auto;

}



/*----------------------------------------------------------
	Canvas
----------------------------------------------------------*/

canvas{

    background-color: #ffffff;
    background-image: radial-gradient(#cccccc 7%, transparent 8.5%);
    background-position: 14px 14px;
    background-size: 28px 28px

}



/*----------------------------------------------------------
	ヘッダー
----------------------------------------------------------*/

.header{

    width: 100%;

    text-align: left;

    position: absolute;
    top: 0px;

    padding: 8px;

    background-color: #fff;

}

.header * {
    display: inline-block;
}

.header .title a{

    font-size: 30px;

    font-weight: bold;
    color: red;

    text-decoration: none;

}

.header .highest_height{

    color: #ff0000;
    font-weight: bold;

    font-size: 28px;

    border-bottom: 5px solid #ff0000;

    position: absolute;
    right: 8px;

}




/*----------------------------------------------------------
	注意書き
----------------------------------------------------------*/

.info{
    font-size: 16px;
    position: absolute;
    bottom: 0px;
    text-align: center;
    border-radius: 3px;

    background-color: #fff;

}


/*----------------------------------------------------------
	ゲームオーバー
----------------------------------------------------------*/

.gameover{

    width:100vw;

    padding-bottom: 70px;

    position: absolute;
    top: 0;
    left: 0;

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;

    z-index: 999;

    display: none;

    line-height: 1.0;
    font-weight: bold;

    padding-top: 150px;

}

.gameover > .title{
    font-size: 42px;
    color: #ff0000;
    margin-bottom: 15px;

    font-size: 38px;

}

.gameover > .score{

    font-size: 100px;
    /* padding-top: 20px; */
    color: #3333ff;

}

.gameover > .tap{

    margin-top: 25px;
    font-size: 50px;
    /* font-weight: 400; */
    color: #565656;
    font-size: 48px;


    font-size: 36px;


}



/*----------------------------------------------------------
	ランキング
----------------------------------------------------------*/

.ranking{

    display: none;

    font-size: 24px;

    width: 100%;

    background-color: #fff;

    line-height: 1.9;

    padding-top: 20px;
    padding-bottom: 10px;

    margin-top: 80px;


    /* box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
    /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; */

    /* border-top: 2px solid #eee; */
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

.ranking .rankin{
    color: #ff0000;
    font-size: 35px;
    /* border-bottom: 5px solid #ff0000; */

    /* display: inline-block; */
    text-decoration: underline;

    margin-bottom: 5px;

}

.ranking .title{
    font-size: 26px;
}

.ranking .table{
    width: 95%;
    /* border-collapse: collapse; */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;

    text-align: center;

}

.ranking .table .item * {
    display: inline-block;
    /* vertical-align: middle; */
}

.ranking .table .item{
    border-bottom: 1px solid #ccc;
}

.ranking .table .item .rank{
    width: 70px;
}

.ranking .table .item .emoji{
    font-size: 37px;
    margin-right: -10px;
    padding-right: 4px;

}

.ranking .table .item .code{
    font-size: 14px;

}

.ranking .table .item .score{
    width: 120px;

}

.ranking .mark{
    color: #ff0000;
}

.ranking .period{
    color: #888;
    font-size: 20px;

    margin-bottom: -10px;

}



/*----------------------------------------------------------
	その他
----------------------------------------------------------*/

.pc, .mobile{
    display: none;
}


/*----------------------------------------------------------
	アニメーション
----------------------------------------------------------*/

.scale-up-center {

    -webkit-animation: scale-up-center 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: scale-up-center 0.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;

}

@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
                transform: scale(0.5);
    }
    100% {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
                transform: scale(0.5);
    }
    100% {
        -webkit-transform: scale(1);
                transform: scale(1);
    }
}
  

  