body {
    background: #e9f4eb;;
    color: #000000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Zen Maru Gothic', serif;
}

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

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

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

#menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: #ccc;
            /*#8fd0e6;*/
}

#container {
    position: absolute;
    left: 10px;
    top: 224px;
    width: 560px;
    height: 560px;
    border: 3px solid #666;
    /*background-color: #eee;*/
    z-index: 999;
    background: #d6d0c3;
    /*background: rgba(221,206,177,1);*/
    /*background: linear-gradient(0deg, rgba(221,206,177,1) 0%, rgba(152,199,248,1) 100%);*/
}

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

#exp img {
    border: 3px solid #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;
}

#backSpace {
    position: absolute;
    z-index: 311;
    width: 100%;
    height: 25%;
    /*background-color: blue;*/
    /*background: linear-gradient(0deg, rgba(205,230,244,1) 45%, rgba(152,199,248,1) 100%);*/
}

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

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

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

#shisenline1 {
    position: absolute;
    top: 180px;
    width: 100%;
    height: 3px;
    background-color: #666;
}

#mobilead {
    position: absolute;
    float: left;
    left: 20px;
    top: 3720px;
    z-index: 1;
    width: 800px;
    height: 150px;
}

#mobilead2 {
    position: absolute;
    float: left;
    left: 20px;
    top: 20px;
    z-index: 2;
    width: 800px;
    height: 150px;
}

#contentright {
    position: absolute;
    float: left;
    left: 680px;
    top: 220px;
    width: auto;
    height: auto;
    z-index: 600;
}

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

    #exp {
        left: 160px;
        width: 480px;
    }

    #container {
        left: 140px;
    }

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

    #mobilead2 {
        top: 3720px;
    }

    #contentright {
        left: 780px;
    }
}


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

    #exp {
        left: 300px;
    }

    #container {
        left: 280px;
    }

    #mobilead {
        left: 280px;
    }

    #contentright {
        left: 920px;
    }
}


.ptDiv {
    display: inline-block;
    width: 44px;
    height: auto;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
}

#soundSpace {
    position:absolute;
    left: 500px;
    top: 600px;
    z-index: 8888899;
    cursor: pointer;
}

#bgDiv {
    position: absolute;
    top: 125px;
    left: 150px;
    z-index: 1133;
}


#clearSpace {
    position: absolute;
    left: 32px;
    top: -5000px;
    width: 470px;

    text-align: center;
    z-index: 99998;
    font-size: 64px;
}


#resultSpace {
    position: absolute;
    left: 32px;
    top: -5000px;
    width: 470px;
    border: 3px solid #333;
    border-radius: 6px;
    text-align: center;
    z-index: 99999;
    background-color: rgb(248, 248, 248, 0.95);
    opacity: 1;
    overflow:hidden;
    padding: 12px 8px;

    height: auto;
}

hr {
    width: 96%;
    border-top: 5px dashed #aaa;
}

#resultSpan {
    color: #187FC4;
}

#resultDiv1 {
    color: #666;
    font-size: 18px;
}

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

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

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

.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: #eee;
    width: auto;
    min-width: 280px;
    cursor: pointer;
    text-decoration: none !important;
}

input {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
    width: 250px;
    height: 30px;
    font-size: 28px;
}

/*#menuContainer {*/
/*    width: 480px;*/
/*    height: auto;*/
/*    margin: 50px auto 0 auto;*/
/*    position: absolute;*/
/*    top: -2500px;*/
/*    left: 55px;*/
/*    text-align: center;*/
/*    padding: 20px 10px;*/
/*    z-index: 319999;*/
/*    background-color: #f8f8f8;*/
/*    border-radius: 6px;*/
/*    border: 4px solid #666;*/

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


#scoreDisplay {
    position: absolute;
    /*top: 520px;*/
    top: 0;
    left: 20px;
    z-index: 1322;
    font-size: 54px;
    font-weight: bold;
    color: #f0f0f0;
}


#time1 {
    position: absolute;
    /*top: 520px;*/
    top: -48px;
    left: 20px;
    z-index: 1321;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}


#tesu1 {
    position: absolute;
    /*top: 520px;*/
    top: -48px;
    left: 520px;
    z-index: 1321;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}


#stageDisplay {
    position: absolute;
    /*top: 520px;*/
    width: 240px;
    top: 0;
    left: 320px;
    z-index: 1324;
    font-size: 54px;
    font-weight: bold;
    color: #f0f0f0;
}


#menuContainer {
    width: 442px;
    height: auto;
    margin: 25px auto 0 auto;
    position: absolute;
    top:-3500px;
    left: 24px;
    text-align: center;
    padding: 20px 30px 20px 30px;
    z-index: 319999;
    background: rgb(228,228,228);

    /*background:*/
    /*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;
}


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

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

#expDiv {
    position: absolute;
    top: -34px;
    left: 12px;
    font-weight: bold;
    font-size: 22px;
    color: #999;
    z-index: 155;
}


#orderMsg {
    position: absolute;
    top: 5px;
    left: 20px;
    width: 400px;
    height: 80px;
    font-weight: bold;
    font-size: 64px;
    z-index: 6777777;
    border-top: 10px solid #ddd;
    display: none;
}

#orderMsg2 {
    left: 0;
    height: 0;
    position: absolute;
    width: 400px;
}

#gauge {
    left: 0;
    width: 0;
    height: 30px;
    background-color: #00AFEC;
    /*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;
}


#timeConsole {
    position: absolute;
    left: 10px;
    top: 480px;
    width: 200px;
    height: 100px;
    font-size: 48px;
    z-index: 88888;
}


#mainMsg {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 540px;
    z-index: 555556;
    text-align: center;
    font-weight: bold;
    font-size: 64px;
    color: #eee;
    font-family: 'M PLUS Rounded 1c';
    /*text-shadow:3px 3px 0 #111, -3px -3px 0 #111,*/
    /*-3px 3px 0 #111, 3px -3px 0 #111,*/
    /*0 3px 0 #111,  0-3px 0 #111,*/
    /*-3px 0 0 #111, 3px 0 0 #111;*/
    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;

}


#pointMsg {
    display: none;
    position: absolute;
    top: 140px;
    left: 50px;
    width: 560px;
    z-index: 555556;
    text-align: center;
    font-weight: bold;
    font-size: 148px;
    color: #333;
}

#pt1, #pt2 {
    margin: 55px;
    display: inline-block;
    text-align: center;
    width: 100px;
}

#pt1a, #pt2a, #pt1b, #pt2b {
    position: absolute;
    top: 0;
}


.consoleButton {
    position: relative;
    display: inline-block;
    background-color: #ddd;
    width: 60px;
    height: 60px;
    border: 3px solid #666;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    padding: 3px;
    font-weight: bold;
    color:  black;
    margin: 5px;
}

.consoleButton img {
    width: 50px;
    height: 50px;
}

#consoleBox {
    position: absolute;
    width: 280px;
    height: auto;
    left: 290px;
    top: 750px;
    z-index: 22123333;
    border: 5px solid #666;
    background-color: rgb(200, 200, 200, 0.85);
    text-align: center;
    border-radius: 5px;
    padding: 5px;
}

.orderMsg {
    width: 60px;
    position: absolute;
    bottom: 0;
    font-weight: bold;
    color: black;
    text-align: center;
    font-size: 20px;
}

#redoButton {
    width: 150px;
    height: 40px;
    border-radius: 5px;
    background-color: rgb(200, 200, 200, 0.8);
    border: 3px solid #666;
}

.pointTag {
    /*min-width: 200px;*/
    width: 280px;
    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:2px 2px 0 #111, -2px -2px 0 #111,
    -2px 2px 0 #111, 2px -2px 0 #111,
    0 2px 0 #111,  0-2px 0 #111,
    -2px 0 0 #111, 2px 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;
}

/*.tooltip:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: -24px;*/
/*    left: 50%;*/
/*    margin-left: -15px;*/
/*    border: 12px solid transparent;*/
/*    border-top: 12px solid rgb(250, 250, 250, 0.85);;*/
/*    z-index: 130002;*/
/*}*/

/*.tooltip:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: -30px;*/
/*    left: 50%;*/
/*    margin-left: -17px;*/
/*    border: 14px solid transparent;*/
/*    border-top: 14px solid #555;*/
/*    z-index: 130001;*/
/*}*/

/*.tooltip p {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/



#pointSpace {
    display: block;
    position: absolute;
    top: 440px;
    left: 10px;
    width: 175px;
    height: 140px;
    border-radius: 8px;
    border: 3px solid #ccc;
    /*background-color: #eee;*/

    background-color: rgb(195, 195, 195, 0.75);
    opacity: 0.95;
    z-index: 2126;
    text-align: left;
    font-weight: bold;
    font-size: 28px;
    padding: 5px;
}

#point1 {
    font-size: 20px;
    color: #333;
}

#teamSpace {
    display: inline-block;
}

#teamPoint {
    display: inline-block;
}

#scoreSpace {
    display: inline-block;
}

#team1, #team2 {
    height: 50px;
    color: #aaa;
    font-weight: bold;
}


#p1, #p2 {
    height: 50px;
    color: #333;
    font-weight: bold;
}

#countSpace {
    padding: 10px;
    display: inline-block;
    width: 100px;
}

#countSpace {
    font-size: 28px;
}

#countSpace div {
    height: 35px;
}

#baseSpace {
    width: 200px;
    height: 200px;
    position: absolute;
    z-index: 9999;
    left: 50px;
    top: 400px;
}

#team1 {
    color: #333;
}

#team2 {
    color: #c52e3f;
}


#infoSpace {
    width: 220px;
    height: 100px;
    position: absolute;
    z-index: 9999;
    left: 10px;
    top: 320px;
    font-weight: bold;
    color: white;

    /*background-color: rgb(85, 85, 85, 0.75);*/


    background-color: rgb(195, 195, 195, 0.75);
    opacity: 0.95;
    border-radius: 10px;
    padding: 4px 8px;
    display: none;
}

#pointBoard {
    position: absolute;
    /*display: none;*/
    left: 40px;
    top: -1500px;
    width: 520px;
    border: 3px solid #333;
    background-color: #f0f0f0;

    padding: 5px;
    z-index: 12077;
}

.boardPart {
    float: left;
    margin:8px;
}

#boardPart1 {
    background-color: #6bb293;
}

#boardPart2 {
    background-color: #6bb293;
}

#boardPart3 {
    background-color: #6bb293;
}

#boardPart1 span {
    color: #fff;
    display: inline-block;
    font-size: 20px;
    margin: 0 3px;
    text-align: center;
    height: 26px;
}

#boardPart2 span {
    color: #fff;
    display: inline-block;
    font-size: 20px;
    height: 24px;
    width: 24px;
    margin: 0 3px;
}

#boardPart3 span {
    color: #fff;
    display: inline-block;
    font-size: 20px;
    margin: 0 3px;
    text-align: center;
    height: 24px;
}

#kaiDisplay {
    border-bottom: 3px solid #333;
}

#playerDisplay {
    border-bottom: 3px solid #333;
}

#pitchInfo {
    color: #c52e3f;
}

#batterInfo {
    color: #333;
}

#timeContainer {
    position: absolute;
    left: 260px;
    top: 16px;
    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: #187FC4;
    text-align: left;
    font-weight: bold;
}

#expSpace {
    width: 520px;
    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: 380px;
    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;
}

.arrow {
    position: absolute;
    display: inline-block;
    padding: 5px 8px;
    border: 3px solid #333;
    background-color: #eee;
    font-size: 28px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 777999;
}

#rightArrow {
    left: 410px;
}

#consoleSpace {
    position: absolute;
    width: 560px;
    top: 500px;
    left: 4px;
}