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: #000066;
}

A:visited {
    color: #000066;
}

A:active {
    color: #000066;
}

A:hover {
    color: #000066;
}

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

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

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

img {
    border-color: #ee2c1c;
}

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: 135px;
    width: 80px;
    margin-top: 6px;
    margin-left: 20px;
    margin-right: 10px;
    float: left;
    font-weight: 600;
    color: #000000;
    font-size: 20px;
}

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

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


#ctrl-space {
    position: relative;
}

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

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

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

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

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

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

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


#contentright {

    position: absolute;
    float: left;
    left: 600px;
    top: 190px;
    width: auto;
    height: auto;

    z-index: 100500;
}


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


@media screen and (min-width: 1024px) {

    footer {
        text-align: center;
    }

    /* 1024px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 160px;
    }

    #exp {
        left: 180px;
        width: 400px;
        top: 640px;
    }

    #container {
        left: 160px;
    }

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

    #mobilead2 {
        top: 1700px;
    }

    #contentright {
        left: 720px;
    }
}

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

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

    #container {
        left: 300px;
    }

    #mobilead {
        left: 280px;
    }

    #contentright {
        left: 880px;
    }
}


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

