@charset "utf-8";

html {
    font-size: 16px;
}

/* 「*」はユニバーサルセレクタ(すべての要素を対象にするセレクタ)でbox-sizing: border-box;を指定 */
/* この指定(してい)はborderとpaddingをボックスサイズ(widthとheight)の中に含めて算出するので、スタイリングがしやすい*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: normal;
    /*ブラウザが自動的に行間を決める*/
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    /* background: rgb(202, 167, 216); */
    background: url(../img/sky.jpg);
    overflow: hidden;
}

p {
    margin: 0;
    padding: 0;
}
/*ヘッダー*/
header {
    margin-top: 8px;
    color: rgba(105, 82, 236, 0.829);
    font-size: 38px;
    font-weight: bold;
    text-align: center;
}

.wrapper{
    position: relative;
    max-width: 100vw;
    min-height: 100vh;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    padding-bottom: 23px;
    text-align: center;
}
/* ゲーム全体 */
#btn1{
    position: relative;
    margin: 20px auto;
    width: 250px;
    height: 250px;
    line-height: 250px;
    border-radius: 50%;
    color: rgb(89, 68, 207);
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.65);
    background: linear-gradient(#647fb1 0%,#ceeeee 100%);
    box-shadow: 0px 10px 0px rgba(166, 137, 247, 0.829);
    justify-content: center;
    cursor: pointer;
    user-select: none;
}
#btn1:hover{
    background: linear-gradient(#da70d6 0%,pink 100%);
}

#btn1:active{
    position: relative;
    top: 5px;
    left: 5px;
    box-shadow: 0 5px 0 grey;
}
/* フッター */
footer>p {
    position: absolute;
    bottom: 5px;
    width: 100%;
    margin: 0px;
    padding: 1px;
    color: whitesmoke;
    font: 16px Rajdhani;
    text-align: center;
    background: rgba(1, 24, 31, 0.7);
}

/* opening shutter */
/*最前面に表示、全画面で位置を固定*/
.shutter{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999; /*一番手前に表示*/
    margin: 0cm;
    padding: 0cm;
    background-color: #1e1e1e;
    animation: byeShutter 2.5s forwards;
}

/*フェイクの読み込み中のローディングバー兼シャッター表示*/
.shutter::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    margin: auto;
    background-color: #fff;
    animation: shutterOpen 2.5s forwards;
}

@keyframes byeShutter {
    70%{
        opacity:1;
    }
    100%{
        opacity:0;/*0=透明*/
        display: none;
        z-index: -1;
    }
}

@keyframes shutterOpen {
    0%{
        width: 0;
        height: 0.05cm;
    }
    50%{
        width: 100%;
        height: 0.05cm;
    }
    90%{
        width: 100%;
        height: 100%;
    }
    100%{
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 480px) {
    body{
        background-position: 25% 0%;
        background-size: auto 1000px;
    }
    header{
       font-size: 30px;
    }
    
}
/* class=back                                         */
/* id=btn99 backボタン                                 */
/*******************************************************/
.back{
    text-align: left;
}
#btn99{
padding: 0.5em;
border-radius: 0.3em;
color: whitesmoke;
font-size: 1.5em;
background: rgba(240, 140, 235, 0.623);
cursor: pointer; /*カーソルをポインターの形（かたち）にする*/
}
