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;
}

footer {
    width: 100%;
    background-color: #fafafa;
    color: #333;
    padding: 6px 0;
    text-align: left;
    z-index: 70000000;
    position: fixed;
    bottom: 0;
    left: 0;
    -webkit-transform: translate3d(0,0,0);
    border-top: 2px solid #333;
}

footer a {
    margin: 0 10px;
    color: #333 !important;
    font-size: 0.8rem;
    font-weight: bold;
}

#dataSpace {
    float: left;
    margin-left: 20px;
	margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    color: darkred;
}

#deleteData {
    color: green;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 16px;
    float: left;
}

#soundspace {
    /*position:absolute;*/
    float: left;
    margin-left: 15px;
    margin-top: 12px;
    border-bottom: 2px solid #666;

    /*left: 400px;*/
    /*top: 320px;*/
    width: 44px;
    height: 44px;
    text-align: center;
    padding-top: 2px;
    z-index: 666;
    cursor: pointer;
}

h2 {
    color: rgb(237, 22, 78);
    font-size: 20px;
    margin: 15px auto 15px auto;
    clear: both;
}

#title {
    position: relative;
    top: 140px;
    width: 78px;
    margin-top: 8px;
    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: 8px;
    text-decoration: underline;
    font-weight: 600;
    color: #000066;
    font-size: 18px;
    z-index: 12001;
}


#ctrl-space {
    position: relative;
}

#container {
    position: absolute;
    left: 20px;
    top: 140px;
}


#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;
}


#disp {
    position: absolute;
    font-weight: bold;
    background-color: #f2f2f2;
    line-height: 30px;
}


#contentright {
    position: absolute;
    float: left;
    left: 760px;
    top: 220px;
    width: auto;
    height: auto;
    z-index: 100500;
}

@media screen and (min-width: 1024px) {
    /* 960px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 200px;
    }

    footer {
        text-align: center;
    }

    #exp {
        left: 170px;
        width: 480px;
        top: 785px;
    }

    #container {
        left: 170px;
    }

    #mobilead {
        left: 160px;
    }

    #contentright {
        left: 780px;
    }

    #title {
        margin-top: 5px;
        font-size: 18px;
    }

    .ctrlbt {
        margin-top: 5px;
        font-size: 18px;
    }
}


@media screen and (min-width: 1280px) {
    /* 1280px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 300px;
    }

    #exp {
        left: 270px;
        width: 480px;
    }

    #container {
        left: 270px;
    }

    #mobilead {
        left: 260px;
    }

    #contentright {
        left: 900px;
    }
}


.roomClass {
    float: left;
    padding: 3px 5px;
    margin: 5px 10px;
    border: 2px solid #333;
    border-radius: 6px;
    background-color: #999;
    color: white;
    width: 80px;
    cursor: pointer;
}

hr {
    clear: both;
    border-top: 3px solid #aaa;
    width: 100%;
    margin: 15px 0;
}

#roomSpace {
    max-height: 200px;
}

input[type="text"] {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
    width: 150px;
    font-size: 24px;
}

input[type="radio"] {
    margin-left: 20px;
    padding: 10px;
}

label {
    font-weight: bold;
    color: darkgreen;
    margin-left: 5px;
}

#frContainer {
    position: absolute;
    top: -2500px;
    left: 70px;
    width: 380px;
    height: auto;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 15px 30px;
    background-color: white;
    text-align: center;
    z-index: 88888;
}

.assistButton {
    cursor: pointer;
    margin: 20px 5px;
    padding: 5px 8px;
    border: 2px solid deeppink;
    border-radius: 5px;
    background-color: #f0f0f0;
    font-weight: bold;
}