* {
    box-sizing: border-box;
}

body {
    background: #E9F4EB;
    color: #000000;
    margin: 0;
    padding: 0;
    height: 1400px;
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

A:link {
    color: black;
}

A:visited {
    color: black;
}

A:active {
    color: black;
}

A:hover {
    color: black;
}

a {
    font-weight: 600;
    color: #000066;
}

#dataDisplay {
    position: absolute;
    left: 40px;
    top: 477px;
}

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;
}

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;
}

#space {
    clear: both;
}

#menu {
    overflow-y: hidden;
    overflow-x: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #dfebf0;
    white-space: nowrap;
}

#title {
	display: none;
    position: relative;
    top: 135px;
    width: auto;
    float: left;
    font-weight: 600;
    color: #000000;
    margin: 10px 20px 20px 15px;
    font-size: 20px;
}

#consoleSpace {
    /*position: absolute;*/
    /*top: 490px;*/
    /*left: 60px;*/


    float: left;
    margin-left: 15px;
    margin-top: 12px;

    width: 200px;
    height: 40px;

    /*border-radius: 5px;*/
    /*border: 3px solid #666;*/

    z-index: 9999999;
}

.consoleArrow {
    width: 36px;
    height: 36px;
    display: inline-block;
    font-weight: bold;
    font-size: 28px;
    cursor: pointer;
    text-align: center;
    /*padding-top: 1px;*/
    border: 3px solid #f0f0f0;
    background-color: #ddd;
    border-radius: 5px;
}


#clearContainer {
    width: 444px;
    height: auto;
    margin: 115px auto 0 auto;
    position: absolute;
    top: -1500px;
    left: 72px;
    text-align: center;
    padding: 10px 30px;
    z-index: 19999;
    background-color: #fefefe;
    border-radius: 12px;
    border: 3px solid #333;
    opacity: 0.9;

    font-weight: bold;
    font-size: 24px;
}

#clearContainer a {
    color: black;
    font-weight: bold;
    font-size: 24px;
}

#dataContainer {
    width: 444px;
    height: auto;
    margin: 115px auto 0 auto;
    position: absolute;
    top: -1500px;
    left: 112px;
    text-align: center;
    padding: 10px 30px 20px 30px;
    z-index: 319999;
    background-color: #fefefe;
    border-radius: 12px;
    border: 3px solid #333;
    opacity: 0.9;

    font-weight: bold;
    font-size: 24px;
}

#dataContainer div {
    cursor: pointer;
    text-decoration: underline;
    margin: 12px 5px;
}

#dataContainer a {
    color: black;
    font-weight: bold;
    font-size: 24px;
}

.dispButton {
    display: inline-block;
    font-size: 1.45rem !important;
    font-weight: bold;
    text-align: center;
    margin: 0 5px 10px 5px;
    padding: 6px 0 5px 0;
    border: 2px solid #666;
    border-radius: 5px;
    color: #333;
    background-color: #eee;
    width: auto;
    min-width: 160px;
    cursor: pointer;
    text-decoration: none !important;
}

#clearContainer div {
    margin-top: 18px;
}

.ctrlbt {
    position: relative;
    top: 135px;
    cursor: pointer;
    float: left;
    width: auto;
    height: 30px;
    text-align: center;
    margin: 10px 10px 30px 10px;
    padding-bottom: 10px;
    font-size: 20px;
    text-decoration: underline;
    font-weight: 600;
    color: #000066;
    z-index: 12001;
    /*border-left: 1px dashed #333;*/
    /*border-right: 1px dashed #333;*/
}

#soundspace {
    /*position:absolute;*/
    float: left;
    margin-top: 12px;
    /*border-bottom: 2px solid #666;*/
    /*left: 400px;*/
    /*top: 320px;*/
    width: 44px;
    height: 44px;
    text-align: center;
    padding-top: 2px;
    z-index: 666;
    cursor: pointer;
}

.undo {
    /*color: red;*/
    /*margin-right: 15px;*/
}

#gamecontent {
    width: 100%;
    height: 445px;
    top: 40px;
    margin: 0;
    border: 0;
    padding: 0;
}

#guideCheckBox2 {
    width: auto;
    float: left;
    margin-top: 12px;
    z-index: 65555;
}

#guideCheckBox2 input,label {
    margin: 2px !important;
    cursor: pointer;
}

.guidecheckstr {
    font-size: 1.2rem !important;
    font-weight: bold;
}

#contentright {
    position: absolute;
    float: left;
    left: 745px;
    top: 220px;
    width: 350px;
    height: 620px;
    z-index: 600;
}

#contentleft {
    display: none;
    position: absolute;
    left: 110px;
    top: 220px;
    width: 160px;
    height: 500px;
    background-color: #fafafa;
}

div.menu2 {
    font-weight: bold;
    color: #000066;
}

span.menuicon {
    position: relative;
    float: left;
}

span.dbicon {
    float: left;
    margin-left: 15px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

#ranking {
    padding: 3px;
    border-radius: 3px;
}

.thisDiv {
    padding: 15px;
    height: auto;
}

.inputspace {
    margin: 10px auto 10px 10px;
}

.inputspace2 {
    margin: 20px auto 10px auto;
    text-align: center;
}

#config {
    font-size: 16px;
}

#ctrl-space {
    position: relative;
}

#container {
    position: absolute;
    left: 6px;
    top: 200px;
}

#mobilead {
    position: absolute;
    float: left;
    left: 20px;
    top: 2010px;
    z-index: 3;
}

#mobilead2 {
    position: absolute;
    float: left;
    left: 0;
    top: 10px;
    z-index: 4;
}


#exp {
    position: absolute;
    left: 5px;
    top: 745px;
    font-size: 24px;
    font-weight: bold;
    width: 430px;
    height: auto;
    margin-left: 20px;
    margin-bottom: 40px;
    border: solid 3px #333;
    border-radius: 10px;
    padding: 16px;
    color: #333333;
    line-height: 1.6em;
    background-color: #eeeeee;

    z-index: 100600;
}

#linkspace {
    padding-bottom: 10px;
    border-bottom: 3px solid #666;
    margin-bottom: 20px;
}

#linkspace a {
    color: #666;
    margin: 10px;
}

#totop a {
    /*color: rgb(237, 22, 78) !important;*/
}

.ctrlbt a {
    color: #000066;
}

#exp p {
    margin: 10px 0 10px 0;
    text-indent: 1em;
}

#menudisplay {
    background-color: #dfebf0;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    color: #666;
}

span.corner1 {
    background: #5178D0;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 30px;
    margin-right: 15px;
    text-align: center;
    width: 30px;
}

span.corner2 {
    background: #333333;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 30px;
    margin-right: 15px;
    text-align: center;
    width: 30px;
}

.notLine {
    text-decoration: line-through;
}

@media screen and (min-width: 600px) {
    #exp {
        width: 500px;
        left: 15px;
    }

}

@media screen and (min-width: 960px) {
    #exp {
        font-size: 20px;
    }
    footer {
        text-align: center;
    }
    #title {
        display: block;
        margin: 15px 20px 20px 15px;
        font-size: 18px;
    }
    .ctrlbt {
        margin: 15px 5px 20px 5px;
        font-size: 18px;
    }
    span.dbicon {
        font-size: 20px;
    }
}

@media screen and (min-width: 1024px) {
    /* 1024px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 130px;
    }

    #exp {
        width: 600px;
        left: 140px;
        top: 745px;
    }

    #container {
        left: 120px;
    }

    #mobilead {
        left: 130px;
        top: 10px;
    }

    #mobilead2 {
        top: 2020px;
    }


    #contentright {
        left: 890px;
    }

    #title {
        margin: 15px 20px 20px 15px;
        font-size: 18px;
    }

    .ctrlbt {
        margin: 15px 5px 20px 5px;
        font-size: 18px;
    }
}


@media screen and (min-width: 1280px) {
    /* 1280px以上の幅の場合に適応される */
    #ctrl-space {
        padding-left: 300px;
    }

    #exp {
        left: 320px;
    }

    #container {
        left: 290px;
    }

    #mobilead {
        left: 300px;
    }

    #contentright {
        left: 1030px;
    }

    #contentleft {
        display: block;
    }
}


span.configtitle {
    color: #FF5656;
    font-weight: bold;
}

span.configpt {
    color: #36741F;
    font-weight: bold;
}

#config {
    top: 580px;
    height: 0;
    width: 0;
    position: absolute;
    left: -100px;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    line-height: 20px;
    background-color: #fafafa;
}

#shisenline2 {
    position: absolute;
    top: 630px;
    width: 100%;
    height: 5px;
    background-color: #aaaaaa;
}

#shisenline1 {
    position: absolute;
    top: 175px;
    width: 100%;
    height: 5px;
    background-color: #aaaaaa;
}

#shisenlinepc {
    position: absolute;
    top: 180px;
    width: 100%;
    height: 5px;
    background-color: #f08080;
}

.thisDiv {
    padding: 15px;
    font-weight: bold;
    font-size: 24px;
    height: auto;
    top: 250px;
}

.inputspace {
    margin: 10px auto 10px 10px;
}

.inputspace2 {
    margin: 20px auto 10px auto;
    text-align: center;
}

.resultspace {
    color: red;
    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;
    width: 150px;
}

.assistButton {
    cursor: pointer;
    margin: 3px 5px 3px 5px;
    padding: 2px 5px 2px 5px;
    border: 2px solid #80ccff;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.assistButton:hover {
    background-color: #666;
    color: white;
}

/*h1 {*/
/*	width: 85%;*/
/*	padding: 10px;*/
/*	margin: 15px auto 25px auto;*/
/*	border-bottom: 2px solid #333;*/
/*	font-size: 1.5rem;*/
/*}*/

.pointdisplay {
    display: inline-block;
    margin-right: 5px;
}

.mainexp {
    width: 80%;
    margin: auto;
    font-weight: bold;
    font-size: 1.2rem;
    padding-left: 15px;
    color: #444;
    line-height: 1.5rem;
}

.subexp {
    padding-left: 10px;
}

.arrowspace {
    position: relative;
    display: inline-block;
    margin-top: 50px;
    vertical-align: top;
    font-size: 4rem;
}

.color-red {
    font-weight: bold;
    color: red;
}

.dashhr {
    border: dashed 2px rgb(81, 120, 208);
    margin: 20px 5px 20px 5px;
}

.smallwindow {
    display: inline-block;
    float: left;
    width: 300px;
    height: 350px;
    line-height: 1.5rem;
}

.ruleexp {
    margin: 30px 15px 15px 15px;
    color: #111;
}

.innerarrow {
    display: inline-block;
    margin-right: 5px;
}

.informbt {
    display: none;
}


@media screen and (min-width: 960px) {
    .informbt {
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {

    .innerarrow {
        font-size: 2.5rem;
    }

    .mainexp {
        line-height: 2rem;
    }

    .smallwindow {
        line-height: 2rem;
    }

    .pointdisplay {
        font-size: 2.5rem;
    }
}

.tooltip {
    position: absolute;
    display: none;
    margin: 1.5em 0;
    padding: 7px 10px;
    /*min-width: 120px;*/
    /*max-width: 180px;*/
    width: 400px;
    color: #555;
    font-size: 16px;
    background: lightblue;
    left: 120px;
    top: -125px;
    z-index: 600;
}

.tooltip:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid lightblue;
}

.tooltip p {
    margin: 0;
    padding: 0;
}