













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

body{

    /* background-color: #fafafa; */

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

}

.contents{

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

    margin: 0 auto;

}





/*----------------------------------------------------------
	背景
----------------------------------------------------------*/

.mesh-gradient{
    height: 100%;
    width: 100%;
}

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


.mesh-gradient {
  background-color: #ffffff;
  background-image: 
    linear-gradient(180deg, rgba(0, 27, 69, 1) 0%, rgba(0, 66, 170, 0.9) 100%);
}



/*----------------------------------------------------------
	canvas
----------------------------------------------------------*/

#target_canvas{

    /* キャンバスの表示を上下中央にする */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}



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

.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: 4px solid #ff0000;

    position: absolute;
    right: 8px;

}


/* 調整用 */
.highest_height{

    color: #ff0000;
    font-weight: bold;

    font-size: 28px;

    border-bottom: 4px solid #ff0000;

    position: absolute;
    right: 10px;
    top: 10px;

    line-height: 1.0;


}

.fallen_block_count{
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}



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

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

    /* background-color: #fff; */

    /* 背景を半透明にする */
    /* background-color: rgba(255, 255, 255, 0.5); */

    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;

    color: #ffffff;

}

.gameover > .score{

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

    color: #ffffff;

}

.gameover > .tap{

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


    font-size: 36px;

    color: #ffffff;

}



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

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

  