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

input[type="button"] {
    cursor: pointer;
    background-color: #eee;
    border: 2px solid #999999;
    font-weight: bold;
    border-radius: 5px;
}

A:link {
    color: black;
}

A:visited {
    color: black;
}

A:active {
    color: black;
}

A:hover {
    color: black;
}

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

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 {
    float: left;
    margin-left: 15px;
    margin-top: 12px;
    /*border-bottom: 2px solid #666;*/
    width: 44px;
    height: 44px;
    text-align: left;
    padding-top: 2px;
    z-index: 666;
    cursor: pointer;
}

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

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

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

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


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

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

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

#ctrl-space {
    position: relative;
}

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

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

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

#frContainer {
    position: absolute;
    top: -1500px;
    left: 45px;
    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;
}

#mesSpace {
    position: absolute;
    width: 410px;
    top: 460px;
    left: 0;
    font-weight: bold;
    text-align: center;
    color: #333;
}

#exp {
    position: absolute;
    top: 700px;
    left: 5px;
    font-size: 16px;
    font-weight: bold;
    width: 360px;
    height: auto;
    margin-left: 20px;
    margin-bottom: 20px;
    border: solid 3px #666;
    border-radius: 10px;
    padding: 15px;
    color: #333333;
    line-height: 1.6em;
    background-color: #eeeeee;
}

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

#contentright {
    position: absolute;
    float: left;
    left: 450px;
    top: 220px;
    width: 320px;
    height: 680px;

    z-index: 600;
}

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

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

    #container {
        left: 180px;
    }

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

    #mobilead2 {
        top: 1920px;
    }

    #contentright {
        left: 640px;
    }
}


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

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

    #container {
        left: 320px;
    }

    #mobilead {
        left: 280px;
    }

    #contentright {
        left: 780px;
    }
}


#config {
    top: 580px;
    height: 0;
    width: 0;
    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;
}


#line2 {
    position: absolute;
    top: 490px;
    width: 100%;
    height: 5px;
    background-color: #aaaaaa;
}


#menuContainer {
    width: 410px;
    height: auto;
    margin: 25px auto 0 auto;
    position: absolute;
    top:-3500px;
    left: 0px;
    text-align: center;
    padding: 20px 30px 20px 30px;
    z-index: 319999;
    background: rgb(236,236,236);
    /*background: linear-gradient(0deg, rgba(176,211,218,1) 0%, rgba(228,228,228,1) 100%);*/

    /*background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(228,228,228,0.9) 100%);*/

    border-radius: 6px;
    border: 4px solid #666;
    opacity: 0.95;

    font-weight: bold;
    font-size: 24px;
}


.dispButton {
    display: inline-block;
    font-size: 1.45rem !important;
    font-weight: bold;
    text-align: center;
    margin: 20px 5px 10px 5px;
    padding: 6px 0 5px 0;
    border: 2px solid #666;
    border-radius: 5px;
    color: #333 !important;
    background-color: #fafafa;
    width: auto;
    min-width: 180px;
    cursor: pointer;
    text-decoration: none !important;
}


select {
    padding: 4px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 24px;
    min-width: 200px;
}

.selectDiv {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
    /*padding-left: 60px;*/
}

#line1 {
    position: absolute;
    top: 200px;
    width: 100%;
    height: 3px;
    background-color: #555;
}

#pointDisplay1 {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px;
    font-weight: bold;
    color: #a17b31;
    font-size: 24px;
    z-index: 8888;
    width: 100px;
}

#pointDisplay2 {
    position: absolute;
    top: 410px;
    left: 10px;
    padding: 3px;
    font-weight: bold;
    color: #a17b31;
    font-size: 24px;
    z-index: 8889;
    width: 100px;
}
