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

A:link {
    color: #333;
}

A:visited {
    color: #333;
}

A:active {
    color: #333;
}

A:hover {
    color: #333;
}

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

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: 136px;
    width: 150px;
    margin-top: 6px;
    margin-left: 20px;
    margin-right: 10px;
    float: left;
    font-weight: 600;
    color: #000;
    font-size: 28px;
}

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

.ctrlbt a {
    color: #000000;
}

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

#ctrl-space {
    position: relative;
}

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

#menuContainer {
    width: 430px;
    height: auto;
    margin: 25px auto 0 auto;
    position: absolute;
    top: -2500px;
    left: 14px;
    text-align: center;
    padding: 20px 10px;
    z-index: 319999;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 4px solid #666;
    opacity: 0.9;

    font-weight: bold;
    font-size: 24px;
    box-shadow: 2px 2px 4px;
}

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

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

/*.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: 4px;*/
/*    color: #333;*/
/*    background-color: #eee;*/
/*    width: auto;*/
/*    min-width: 160px;*/
/*    cursor: pointer;*/
/*    text-decoration: none !important;*/
/*}*/

.dispButton2 {
    display: inline-block;
    font-size: 1.45rem !important;
    font-weight: bold;
    text-align: center;
    margin: 20px 5px 10px 5px;
    padding: 3px 0 2px 0;
    border: 2px solid #666;
    border-radius: 2px;
    color: #333;
    background-color: #eee;
    width: 75%;
    min-width: 120px;
    cursor: pointer;
    text-decoration: none !important;
}

.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: 2px;
    color: #333;
    background-color: #eee;
    width: 75%;
    min-width: 180px;
    cursor: pointer;
    text-decoration: none !important;
}

.sub {
    position:absolute;
    left: 40px;
    top: 45px;
    width: 80px;
}

#resultSpace {
    position: absolute;
    left: 12px;
    top: -2000px;
    width: 436px;
    border: 3px solid #333;
    border-radius: 10px;
    text-align: center;
    z-index: 9999999;
    background-color: rgb(248, 248, 248, 0.85);
    opacity: 1;
    overflow:hidden;
    padding: 12px 8px;
    height: auto;
}

.inputspace {
    margin: 10px auto 10px 10px;
}

.inputspace2 {
    margin: 20px auto 10px auto;
    text-align: center;
}

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

#difficultySpan {
    text-align: center;
}

#ctrlSpan {
    text-align: center;
}

#speedSpan {
    text-align: center;
}

#resultSpace div {
    margin: 20px 0;
    font-size: 32px;
}

.resultStr {
    display: inline-block;
    font-size: 24px;
    width: 100px;
}

#resultSpace div:first-of-type {
    font-weight: bold;
    /*color: #E9546B;*/
}

#exp {
    position: absolute;
    top: 870px;
    font-size: 20px;
    font-weight: bold;
    width: 420px;
    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;
}

#scoreSpace {
    position: absolute;
    top: 0px;
    width: 380px;
    padding-left: 15px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

#scoreSpan,#highSpan {
    font-size: 32px;
    color: #9b8429;
}

#score1 {
    float: left;
}

#score2 {
    float: right;
}

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

#consoleSpace {
    position: absolute;
    top: 580px;
    left: 20px;
    width: 440px;
    z-index: 66699;
}

#consoleSpace span {
    font-size: 20px;
    font-weight: bold;
    color: palevioletred;
    margin: 8px;
    display: inline-block;
}

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

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

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

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

#contentright {

    position: absolute;
    float: left;
    left: 560px;
    top: 210px;
    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: 420px;
    }

    #container {
        left: 160px;
    }

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

    #mobilead2 {
        top: 3220px;
    }

    #contentright {
        left: 720px;
    }
}

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

    #exp {
        left: 300px;
        width: 420px;
    }

    #container {
        left: 300px;
    }

    #mobilead {
        left: 280px;
    }

    #contentright {
        left: 820px;
    }
}

#exp img {
    border: 3px solid #333;
}

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

#dealButton {
    display: none;
    position: absolute;
    top: 560px;
    left: 15px;
    cursor: pointer;
}

#hintButton {
    display: none;
    position: absolute;
    top: 598px;
    left: 336px;
    cursor: pointer;
    z-index: 999888;
    background: rgb(209,209,209);
    background: linear-gradient(0deg, rgba(209,209,209,1) 0%, rgba(255,255,255,1) 100%);
}

#expSpace {
    width: 420px;
    height: auto;
    margin: 0 auto 0 auto;
    position: absolute;
    top: -5500px;
    left: 6px;
    text-align: center;
    padding: 20px 10px;
    z-index: 319999;
    background-color: rgb(244,244,244,0.95);
    border-radius: 4px;
    border: 4px solid #666;

    font-weight: bold;
    font-size: 24px;
    line-height: 160%;
}

#expContent {
    height: 500px;
    overflow-y: scroll;
    text-align: left;
    margin: 5px;
    font-size: 20px;
}

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

#expContent img {
    border: 3px solid #666;
}

.pointTag {
    /*min-width: 200px;*/
    width: 240px;
    height: auto;
    padding: 5px;
    /*background-color: #fafafa;*/
    /*border: 3px solid #333;*/
    /*border-radius: 5px;*/
    text-align: center;
    position: absolute;
    font-weight: bold;
    font-family: "Nico Moji";
    color: #f4d29e;
    /*rgb(232, 25, 112);*/
    text-shadow:1px 1px 0 #111, -1px -1px 0 #111,
    -1px 1px 0 #111, 1px -1px 0 #111,
    0 1px 0 #111,  0-1px 0 #111,
    -1px 0 0 #111, 1px 0 0 #111;
}

.pointTag2 {
    /*min-width: 200px;*/
    width: 350px;
    height: auto;
    padding: 5px;
    /*background-color: #fafafa;*/
    /*border: 3px solid #333;*/
    /*border-radius: 5px;*/
    text-align: center;
    position: absolute;
    font-weight: bold;
    font-family: "Nico Moji";
    color: #C83232;
    color: rgb(209,209,209);
    color: linear-gradient(0deg, rgba(209,209,209,1) 0%, rgba(255,255,255,1) 100%);
    /*rgb(232, 25, 112);*/
    text-shadow:1px 1px 0 #111, -1px -1px 0 #111,
    -1px 1px 0 #111, 1px -1px 0 #111,
    0 1px 0 #111,  0-1px 0 #111,
    -1px 0 0 #111, 1px 0 0 #111;
}


.pointTag3 {
    /*min-width: 200px;*/
    width: 350px;
    height: auto;
    padding: 5px;
    /*background-color: #fafafa;*/
    /*border: 3px solid #333;*/
    /*border-radius: 5px;*/
    text-align: center;
    position: absolute;
    font-weight: bold;
    font-family: "Nico Moji";
    color: #C83232;
    /*rgb(232, 25, 112);*/
    text-shadow:1px 1px 0 #111, -1px -1px 0 #111,
    -1px 1px 0 #111, 1px -1px 0 #111,
    0 1px 0 #111,  0-1px 0 #111,
    -1px 0 0 #111, 1px 0 0 #111;
}

.tooltip,.tooltip2 {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    width: 100px;
    color: #333;
    font-size: 40px;
    /*background: rgb(250, 250, 250, 0.85);*/
    /*border: solid 3px #555;*/
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
    /*border-radius: 8px;*/
    z-index: 13526;
    line-height: 150%;
}

.tooltip2 {
    width: 280px !important;
}

#timeContainer {
    position: absolute;
    left: 60px;
    top: 600px;
    z-index: 1173658;
    background: rgb(227,227,227);
    background: linear-gradient(0deg, rgba(227,227,227,1) 0%, rgba(255,253,253,1) 51%, rgba(231,231,231,1) 100%);
    width: 250px;
    height: 30px;
    border-radius: 6px;
    border: 5px solid #333;
    content: 'shoot';
    display: none;
}

#gauge {
    left: 0;
    width: 0;
    height: 30px;
    background-color: #cab14e;
    /*background: rgb(0,121,255);*/
    /*background: linear-gradient(90deg, rgba(0,121,255,1) 0%, rgba(255,0,0,1) 100%);*/
    /*background: rgb(193,229,238);*/
    /*background: linear-gradient(90deg, rgba(193,229,238,1) 0%, rgba(135,222,242,1) 100%);*/
    text-align: left;
    font-weight: bold;
    background: rgb(237,157,24);
    background: linear-gradient(0deg, rgba(237,157,24,1) 0%, rgba(254,221,181,1) 100%);
}