body {
    background: #e9f4eb;
    color: #000000;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

A:link {
    color: #000066;
}

A:visited {
    color: #000066;
}

A:active {
    color: #000066;
}

A:hover {
    color: #000066;
}

a {
    font-weight: 600;
    color: #000066;
    font-size: 12px;
}

img {
    border-color: #ee2c1c;
}

h1 {
    font-size: 24px;
    margin: 15px auto 20px auto;
    padding-bottom: 10px;
    border-bottom: 2px dashed #333;
    float: left;
}

h2 {
    clear: both;
    color: rgb(237, 22, 78);
    font-size: 20px;
    margin: 15px auto 15px auto;
}

#title {
    position: relative;
    top: 140px;
    width: 150px;
    margin-top: 5px;
    margin-left: 20px;
    float: left;
    font-weight: 600;
    color: #000000;
    font-size: 18px;
}

#mobilead {
    position: absolute;
    float: left;
    left: 20px;
    top: 20px;
    z-index: 100500;
}

#space {
    clear: both;
}

#menu {
    width: 100%;
    height: 180px;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #9edbf5;
}

#gamecontent {
    width: 100%;
    height: 445px;
    top: 40px;
    margin: 0;
    border: 0;
    padding: 0;
}

#mobilead {
    position: absolute;
    float: left;
    left: 20px;
    top: 20px;
    z-index: 100500;
}

.ctrlbt {
    position: relative;
    top: 140px;
    cursor: pointer;
    float: left;
    width: auto;
    height: 30px;
    margin-left: 10px;
    margin-top: 5px;
    text-decoration: underline;
    font-weight: 600;
    color: #000066;
    font-size: 18px;
    z-index: 12001;
}

#ctrl-space {
    position: relative;
}

#container {
    position: absolute;
    left: 20px;
    top: 195px;
}

#exp {
    position: absolute;
    top: 785px;
    font-size: 16px;
    font-weight: bold;
    width: 480px;
    height: auto;
    margin-left: 20px;
    margin-bottom: 20px;
    border: solid 3px green;
    padding: 15px;
    color: #333333;
    line-height: 1.6em;
    background-color: #eeeeee;
    border-radius: 10px;
    z-index: 100600;
}

#totop a {
    color: rgb(237, 22, 78) !important;
}

#exp p {
    margin: 10px 0 10px 0;
    text-indent: 1em;
}

#deleteData {
    color: green;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 20px;
    margin-top: 20px;
    font-size: 16px;
    float: left;
}

#disp {
    position: absolute;
    font-weight: bold;
    background-color: #f2f2f2;
    line-height: 30px;
}


#contentright {
    position: absolute;
    float: left;
    left: 800px;
    top: 220px;
    width: auto;
    height: auto;
    z-index: 100500;
}

@media screen and (min-width: 1024px) {
    /* 960px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 150px;
    }

    #exp {
        left: 250px;
        width: 480px;
    }

    #container {
        left: 150px;
    }

    #mobilead {
        left: 160px;
    }

    #contentright {
        left: 950px;
    }
}


@media screen and (min-width: 1280px) {
    /* 1280px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 220px;
    }

    #exp {
        left: 320px;
        width: 480px;
    }

    #container {
        left: 220px;
    }

    #mobilead {
        left: 260px;
    }

    #contentright {
        left: 1050px;
    }
}

#txtspace {
    font-size: 64px;
    color: white;
    position: absolute;
    left: 230px;
    top: 150px;
    z-index: 7;
}

#command {
    position: absolute;
    left: 120px;
    top: -700px;
    z-index: 999999;
    width: 600px;
}

#betcommand {
    position: absolute;
    left: 300px;
    top: 320px;
    z-index: 999999;
    width: 600px;
}

#resultDiv {
    position: absolute;

    z-index: 999996;
    width: 400px;
    background-color: #ddd;
    border: 3px solid #333;
    border-radius: 15px;
    opacity: 0.9;

    margin: auto;
}

.betbt {
    width: 100px;
    font-size: 16px;
    border: 5px solid rgb(226, 129, 145);
    border-radius: 25px;
    background-color: #f0f0f0;
    text-align:center;
    color: black;
    margin: 5px 5px auto 5px;
    padding: 5px 10px 5px 10px;
    cursor: pointer;
}

.betbt:hover {
    background-color: #777;
    color: white;
}

.commandspan:hover {
    background-color: #eee;
    color: white;
}

.commandspan {
    float:left;
    width: 150px;
    font-size: 24px;
    border: 5px solid #aaa;
    border-radius: 25px;
    background-color: #eee;
    text-align:center;
    color: black;
    margin: auto 25px auto 25px;
    padding: 10px 20px 10px 20px;
    cursor: pointer;
}

.commandspan:hover {
    background-color: #eee;
    color: white;
}

.playerdiv {
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -500px;
    z-index: 799998;
    text-align:center;
    background-color: rgb(222,222,222,0.8);
    padding-top: 5px;
    width: 80px;
    height: auto;
    border: 3px solid #c2dde8;
    border-radius: 5px;
}

.coinspace {
    color: rgb(204, 178, 0)
}

.cointxt {

}

.baloonout {
    text-align: center;
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 100px;
    max-width: 100%;
    color: #555;
    font-size: 16px;
    background: #777;
    border-radius: 15px;
}

.balloon1 {
    font-weight: bold;
    text-align: center;
    position: absolute;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 100px;
    max-width: 100%;
    color: #f946af;
    font-size: 16px;
    background: #ddd;
    border-radius: 15px;
}

.balloon1:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #ddd;
}

.balloon1 p {
    margin: 0;
    padding: 0;
}


.balloon2 {
    font-weight: bold;
    text-align: center;
    position: absolute;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 100px;
    max-width: 100%;
    color: #555;
    font-size: 16px;
    background: #555;
    border-radius: 15px;
}

.balloon2:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #555;
}

.balloon2 p {
    margin: 0;
    padding: 0;
}

#pointDisplay {
    position: absolute;
    left: 620px;
    top: 450px;
    width: 140px;
    height: auto;
    border-radius: 15px;
    border: 3px solid #ddd;
    background-color: #eee;
    z-index: 777777;
    padding: 5px 10px 5px 10px;
}

.pdisplay {
    color: #333;
    text-align: center;
}

#soundspace {
    position: absolute;
    width: 52px;
    height: 52px;
    left: 20px;
    top: 450px;
    cursor: pointer;
    z-index: 777778;
}

.spanButton {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
    width: 150px;
}

.assistButton {
    text-align: center;
    cursor: pointer;
    margin: 8px auto 0 auto;
    padding: 2px 5px 2px 5px;
    border: 2px solid #555;
    background-color: #fadfeb;
    border-radius: 5px;
    width: 100px;
}

.center {
    text-align: center;
}

.assistButton:hover {
    background-color: #666;
    color: white;
}

#resultDisplay {
    position: absolute;
    left: 220px;
    top: -500px;
    width: 240px;
    height: auto;
    border-radius: 15px;
    border: 3px solid #ddd;
    background-color: #eee;
    z-index: 999997;
    padding: 20px;
}