* {
    box-sizing: border-box;
}

body {
    background: #fefffa;
    color: #000000;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

A:link {
    color: #ffffff;
}

A:visited {
    color: #ffffff;
}

A:active {
    color: #ffffff;
}

A:hover {
    color: #ffffff;
}

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

img {
    border-color: #ee2c1c;
}

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

#soundspace {
    /*position:absolute;*/
    float: left;
    margin-left: 15px;
    margin-top: 12px;

    /*left: 400px;*/
    /*top: 320px;*/
    width: 44px;
    height: 44px;
    text-align: center;
    padding-top: 2px;
    z-index: 666;
    cursor: pointer;
}

#title {
    position: relative;
    top: 140px;
    width: auto;
    margin-top: 2px;
    margin-left: 20px;
    float: left;
    font-weight: 600;
    font-size: 20px;
    color: white;
}

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


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

#ctrl-space {
    position: relative;
}

.ctrlbt {
    position: relative;
    top: 136px;
    cursor: pointer;
    float: left;
    width: auto;
    height: 30px;
    margin-left: 20px;
    margin-top: 2px;
    text-decoration: underline;
    font-weight: 600;
    color: white;
    font-size: 28px;
    z-index: 12001;
}

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

#mobilemenu {
    height: 180px;
    text-align: center;
    z-index: 500;
    background-color: #666666;
}

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

#exp {
    position: absolute;
    top: 760px;
    left: 6px;
    font-size: 18px;
    font-weight: bold;
    width: 430px;
    height: auto;
    margin-left: 20px;
    margin-bottom: 45px;
    border: solid 3px #333333;
    border-radius: 10px;
    padding: 15px;
    color: #333333;
    line-height: 1.6em;
    background-color: #eeeeee;
}

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

#mesSpace {
    position: absolute;
    left: 0;
    top: 455px;
    width: 450px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #E9546B;
}

#frContainer {
    position: absolute;
    top: -1500px;
    left: 65px;
    width: 320px;
    height: auto;
    border: 3px solid #333;
    border-radius: 15px;
    padding: 15px 20px;
    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;
}

input {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
    width: 150px;
}

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

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

#container {
    position: absolute;
    left: 10px;
    top: 210px;
}


#mobilead {
    position: absolute;
    float: left;
    left: 20px;
    top: 1700px;
    z-index: 2;
}

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


#contentright {
    position: absolute;
    float: left;
    left: 480px;
    top: 200px;
    width: 300px;
    height: auto;

    z-index: 100500;
}


.buttonStyle {
    cursor: pointer;
    color: black;
    width: 100px;
    font-size: 1rem;
    font-family: "MS-明朝", sans-serif;
    padding: 5px;
    text-align: center;
    border: solid 2px #333333;
    background: #e8abab;
}

.buttonStyle:hover {

    color: white;
    background: #bc8d8d;
}

.diffStyle {

    font-style: italic;
    font-weight: bold;
    font-size: 1.25rem;
    font-family: "MS-明朝", sans-serif;
    width: 50px;
    text-align: center;
    padding: 0;
    border-bottom: dashed 2px #333333;
}

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

    footer {
        text-align: center;
    }

    #exp {
        font-size: 18px;
        left: 30px;
        width: 450px;
    }

    #container {
        left: 40px;
    }

    #mobilead {
        left: 40px;
        top: 10px;
    }

    #mobilead2 {
        top: 1700px;
    }

    #contentright {
        left: 520px;
    }
}

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

    #exp {
        top: 760px;
        left: 120px;
        width: 450px;
    }

    #container {
        left: 140px;
    }

    #mobilead {
        left: 140px;
    }

    #contentright {
        left: 700px;
    }

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

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

    .buttonStyle {
        font-weight: bold;
        width: 100px;
        font-size: 1rem;
        padding: 5px;
    }

    .diffStyle {
        font-size: 1.25rem;
        width: 50px;
    }
}


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

    #exp {
        left: 320px;
        width: 450px;
    }

    #container {
        left: 340px;
    }

    #mobilead {
        left: 340px;
    }

    #contentright {
        left: 900px;
    }
}

#config {
    top: 580px;
    height: 0px;
    width: 0px;
    position: absolute;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    line-height: 20px;
    background-color: #fafafa
}

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