* {
    box-sizing: border-box;
}

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

select {
    background-color: #eee;
    font-weight: bold;
    font-size: 16px;
}

A:visited {
    color: #000066;
}

A:active {
    color: #000066;
}

A:hover {
    color: #000066;
}

a {
    font-weight: 600;
    color: #000066;
    font-size: 12px;
}

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: 1rem;
    font-weight: bold;
}


img {
    border-color: #ee2c1c;
}

#exp p {
    margin: 10px 0 10px 0;
}

h1 {
    float: left;
    font-size: 24px;
    margin: 15px auto 20px auto;
    padding-bottom: 10px;
    border-bottom: 2px dashed #333;
}

h2 {
    clear: both;
    color: rgb(237, 22, 78);
    font-size: 20px;
    margin: 15px auto 15px auto;
}

#title {
    position: relative;
    top: 140px;
    width: 100px;
    margin-top: 12px;
    margin-left: 20px;
    float: left;
    font-weight: 600;
    font-size: 18px;
    color: #000066;
}

#menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #9edbf5;
}

#userNumSpace {
    color: #5e5e5e;
}

#ctrl-space {
    position: relative;
}

.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: 20px;
    z-index: 12001;
}

#totop a {
    /*color: rgb(237, 22, 78) !important;*/
}

#gamecontent {
    width: 100%;
    height: 445px;
    top: 40px;
    margin: 0;
    border: 0;
    padding: 0;
}

#container {
    position: absolute;
    left: 0;
    top: 200px;
}

#linkspace {
    padding-bottom: 10px;
    border-bottom: 3px solid #666;
    margin-bottom: 20px;
}

#linkspace a {
    font-size: 1rem;
    color: #666;
    margin: 10px;
}

#frContainer {
    position: absolute;
    top: -2500px;
    left: 20px;
    width: 380px;
    height: auto;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 15px 30px;
    background-color: white;
    text-align: center;
    z-index: 88888;
}

#btContainer {
    position: absolute;
    top: 460px;
    left: 0;
    width: 450px;
    height: auto;
    text-align: center;
    padding-left: 5px;
    z-index: 88777;
}

#btContainer div {
    float: left;
    width: 128px;
    height: 38px;
    background-color: #ddd;
    font-weight: bold;
    border: 2px solid #333;
    border-radius: 5px;
    text-align: center;
    padding: 6px 10px;
    margin: 5px 6px;
    font-size: 14px;
    cursor: pointer;
}

#xmark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

#btContainer .ep {
    padding: 8px 10px;
}

#btContainer div.hoverDiv:hover {
    background-color: #333;
    color: white;
}

#exp {
    clear: both;
    position: absolute;
    top: 750px;
    font-weight: bold;
    width: 440px;
    height: auto;
    margin-left: 10px;
	margin-bottom: 45px;
    border: solid 3px #333;
    border-radius: 10px;
    padding: 15px;
    color: #333333;
    line-height: 1.6em;
    background-color: #eeeeee;
    font-size: 20px;
    z-index: 55557;
}

#exp p {
    margin: 10px 0 10px 0;
    text-indent: 1em;
}

#container {
    position: absolute;
    left: 20px;
    top: 200px;
}

#mobilead {
    position: absolute;
    left: 20px;
    top: 2360px;
    z-index: 57;
}

#mobilead2 {
    position: absolute;
    left: 20px;
    top: 10px;
    z-index: 58;
}

#contentright {
    position: absolute;
    left: 500px;
    top: 200px;
    width: 450px;
    height: auto;
    z-index: 600;
}

#soundspace {
    float: left;
    margin-left: 15px;
    margin-top: 12px;
    width: 44px;
    height: 44px;
    text-align: center;
    padding-top: 2px;
    z-index: 666;
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    /* 600px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 40px;
    }

    footer {
        text-align: center;
    }

    #exp {
        font-size: 18px;
        left: 30px;
        top: 750px;
    }

    #container {
        left: 40px;
        display: block;
    }

    #mobilead {
        left: 40px;
    }

    #contentright {
        left: 520px;
    }

    #title {
        font-size: 20px;
        margin: 2px 15px 2px 15px;
    }

    .ctrlbt {
        font-size: 20px;
        margin: 2px 5px 2px 10px;
    }
}

@media screen and (min-width: 1024px) {
    /* 960px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 140px;
    }

    #exp {
        left: 100px;
    }

    #container {
        left: 140px;
    }

    #mobilead {
        top: 20px;
        left: 140px;
    }

    #mobilead2 {
        top: 1920px;
    }

    #contentright {
        left: 640px;
    }
}


@media screen and (min-width: 1280px) {
    /* 1280px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 340px;
    }

    #exp {
        left: 310px;
        width: 466px;
    }

    #container {
        left: 340px;
    }

    #mobilead {
        left: 340px;
    }

    #contentright {
        left: 880px;
    }
}

.responsive-ad {
    display: inline-block;
    width: 320px;
    height: 100px;
}

@media (min-width: 500px) {
    .responsive-ad {
        width: 468px;
        height: 60px;
    }
}

@media (min-width: 800px) {
    .responsive-ad {
        width: 728px;
        height: 90px;
    }
}

#disp {
    position: absolute;
    font-weight: bold;
    background-color: #f2f2f2;
    line-height: 30px;
}

.assistButton {
    cursor: pointer;
    margin: 20px 5px;
    padding: 5px 8px;
    border: 2px solid deeppink;
    border-radius: 5px;
    background-color: #f0f0f0;
    font-weight: bold;
}

input[type="text"] {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
    width: 150px;
    font-size: 20px;
}

input[type="radio"] {
    margin-left: 20px;
    padding: 10px;
}

label {
    font-weight: bold;
    color: darkgreen;
    margin-left: 5px;
}

.roomClass {
    float: left;
    padding: 3px 5px;
    margin: 5px 10px;
    border: 2px solid #333;
    border-radius: 6px;
    background-color: #999;
    color: white;
    width: 100px;
    cursor: pointer;
}

#timedisplay {
    position: absolute;
    width: 120px;
    top: 456px;
    left: 300px;
    font-size: 28px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    text-align: left;
    /*display: none;*/
    /*padding: 5px;*/
    color: #333;
    /*line-height: 15px;*/
}

hr {
    clear: both;
    border-top: 3px solid #aaa;
    width: 100%;
    margin: 15px 0;
}

#roomSpace {
    max-height: 200px;
}

#roomSpace2 {
    text-align: center;
    min-height: 100px;
}

hr {
    border-top: 3px dashed #ccc;
}

.saveBan3 {
    float: right;
    margin-right: 6px;
    border: 2px solid #666;
    border-radius: 2px;
    padding: 3px 3px 3px 3px;
    /*color: #1b78d0;*/
    color: #666;
    background-color: #fafafa;
    text-align: center;
    width: 85px;
    cursor: pointer;
    margin-bottom: 8px;
}

#roomOpen {

}