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

a:link {
    /*color: black;*/
}

a:visited {
    /*color: black;*/
}

a:active {
    /*color: black;*/
}

a:hover {
    /*color: black;*/
}

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

img {
    border-color: #ee2c1c;
}

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

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

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

.twitterspace {
    vertical-align: top;
    margin: 25px auto auto 20px;
    float: left;
}

.twitterspace2 {
    text-align: center;
    margin: auto;
}

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

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

.ctrlbt:first-child {
    margin-left: 20px;
}

#title {
    font-size: 20px;
    margin: 2px 15px 2px 15px;
}

#ctrl-space {
    position: relative;
}


footer {
    width: 100%;
    background-color: #fafafa;
    color: #333;
    padding: 6px 0;
    text-align: left;
    z-index: 70000000;
    position: fixed;
    bottom: 0;
    /*height: 45px;*/
    -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;
}


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


#space {
    clear: both;
}

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

#roomSpace2 {
    position: relative;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 510px;
    height: auto;
    border: 3px solid #333;
    border-radius: 5px;
    padding: 15px;
    color: #333333;
    line-height: 1.6;
    background: #f0f0f0;
    font-weight: bold;
}


#roomSpace3 {
    position: relative;
    margin-left: 10px;
    margin-bottom: 10px;
    width: 510px;
    height: auto;
    border: 3px solid #333;
    border-radius: 5px;
    padding: 15px;
    color: #333333;
    line-height: 1.6;
    background: #eee;
    font-weight: bold;
}

.roomHr {
    color: #f0f0f0;
    width: 100%;
}

.roomSpace {
    width: 480px;
    position: relative;
    display: block;
    height: auto;
}

#exp2 {
    position: absolute;
    top: 844px;
}

#exp3 {
    position: absolute;
    top: 1120px;
}

#exp {
    font-size: 16px;
    font-weight: bold;
    width: 510px;
    height: auto;
    margin-left: 10px;
    margin-bottom: 40px;
    border: 3px solid #333;
    border-radius: 5px;
    padding: 15px;
    color: #333333;
    line-height: 1.6;
    background-color: #f0f0f0;
}

#totop a {
    /*color: #c33 !important;*/
}

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

#addisp {
    position: absolute;
    top: 50px;
    left: 600px;

}

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

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

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

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

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

#frContainer {
    position: absolute;
    top: -1500px;
    left: 25px;
    width: 484px;
    height: auto;
    border: 3px solid #333;
    border-radius: 10px;
    padding: 15px 20px;
    background-color: #fafafa;
    text-align: center;
    z-index: 6000000;
}


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

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

@keyframes title {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opaicty: 0.6;
        transform: translateY(5);
    }

    100% {
        opacity: 1;
        transform: translateY(10);
    }
}

.buttonSpace {
    position: absolute;
    top: 600px;
    margin: auto;
}

.spanButton {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
    width: 150px;
}

.emButton {
    cursor: pointer;
    position: relative;
    float: left;
    width: auto;
    height: 30px;
    margin-left: 10px;
    text-decoration: underline;
    font-weight: 600;
    color: #ff3385 !important;
    font-size: 14px;
    z-index: 11101;
}

.thisDiv {
    padding: 15px;
    height: auto;
    top: 250px;
}

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

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

label {
    font-size: 1.2rem;
}

.resultspace {
    color: red;
    margin: 20px auto 10px auto;
    text-align: center;
}

/*input {*/
/*    border: solid 2px #666;*/
/*    border-radius: 5px;*/
/*    background-color: #fcfcfc;*/
/*    padding: 3px 5px 3px 5px;*/
/*    width: 150px;*/
/*}*/

textarea {
    border: solid 2px #666;
    border-radius: 5px;
    background-color: #fcfcfc;
    padding: 3px 5px 3px 5px;
}

input[type="radio"] {
    /*display:none;*/
    margin-left: 10px;
    padding: 10px;
}

label {
    font-weight: bold;
    color: darkgreen;
    /*margin: 5px 10px;*/
    padding: 5px 10px;
    /*border: 2px solid #eee;*/
}

.assistButton {
    cursor: pointer;
    margin: 20px 5px;
    padding: 2px 5px 2px 5px;
    border: 2px solid #80ccff;
    background-color: #e0e0e0;
    border-radius: 5px;
    font-size: 1.5rem;
}


/*.assistButton {*/
/*    cursor: pointer;*/
/*    margin: 20px 5px;*/
/*    padding: 5px 8px;*/
/*    border: 2px solid deeppink;*/
/*    border-radius: 5px;*/
/*    background-color: #f0f0f0;*/
/*    font-weight: bold;*/
/*}*/


.assistButton3:hover {
    background-color: #666;
    color: white;
}


.assistButton3 {
    display:inline-block;
    cursor: pointer;
    margin: 5px auto;
    padding: 2px 5px 2px 5px;
    border: 2px solid #666;
    background-color: #e0e0e0;
    border-radius: 5px;
    font-size: 1.5rem;
    width: 60%;
    text-align: center;
}

#sendButtonSpace {
    text-align: center;
}

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

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

.miscMenu {
    position: absolute;
    width: 522px;
    height: 594px;
    background-color: #fafafa;
    text-align: center;
    z-index: 14500000;
    margin: auto;
    border: 5px solid #dadada;
    border-radius: 5px;
    padding: 10px;
}

.tag {
    width: 200px;
    position: absolute;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    background-color: #eee;
    border: 3px solid #1b78d0;
    text-align: center;
    opacity: 0.75;
}

.uplabel {
    margin-top: 25px;
    color: #333;
}

#kifufile {
    margin-top: 15px;
    color: white;
    background-color: #666;
    padding: 6px;
    border-radius: 6px;
}

.upform {
    margin-top: 25px;
}

#resetTume {
    position: relative;
    bottom: 10px;
    font-weight: bold;
    width: 60%;
    background-color: white;
    border: 2px solid #333;
    padding: 5px 10px;
    margin: 25px auto;
    cursor: pointer;
}

.misch2 {
    font-weight: bold;
    color: #333;
}

.miscmenubt {
    font-size: 1.3rem;
    margin-top: 15px;
    color: #333;
    text-decoration: underline;
}

#miscCloseButton {
    font-weight: bold;
    font-size: 4rem;
    width: 100px;
    height: 100px;
    position:fixed;
    top: 0;
    right: 0;
    background-color: white;
    border: 5px solid #333;
}

.menuSpace {
    width: 504px;
    margin: 115px auto 0 auto;
    position: absolute;
    top: -1500px;
    left: 12px;
    text-align: center;
    padding: 10px 30px;
    z-index: 999999;
}

.menuSpaceWatch {
    width: 60%;
    position: relative;
    min-width: 532px;
    text-align: center;
    height: auto;
    min-height: 500px;
    margin: 0 auto 0 auto;
    text-align: center;
    padding: 10px;
    border: 5px solid #666;
    border-radius: 10px;
    background: rgb(217,243,255);
    background: linear-gradient(180deg, rgba(217,243,255,1) 0%, rgba(239,251,255,1) 46%, rgba(217,243,255,1) 100%);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.12);
}

/*.balloon1 {*/
/*    position: relative;*/
/*    display: inline-block;*/
/*    margin: 1.5em 0;*/
/*    padding: 14px 20px;*/
/*    min-width: 120px;*/
/*    max-width: 100%;*/
/*    color: #333;*/
/*    font-size: 2rem;*/
/*    font-weight: bold;*/
/*    background: #aaa;*/
/*    border-radius: 15px;*/
/*}*/

/*.balloon1:before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 100%;*/
/*    left: 50%;*/
/*    margin-left: -15px;*/
/*    border: 15px solid transparent;*/
/*    border-top: 15px solid #fff;*/
/*}*/

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

#containerWatch {
    width: 100%;
    position: absolute;
    top: 100px;
    text-align: center;
    z-index: 130002;
    overflow-y: hidden;
}

#ruleSpace {
    position: absolute;
    top: -2500px;
    left: 20px;
    z-index: 999999;
}

#ruleSpace2 {
    padding: 20px;
    width: 506px;
    margin: 0 auto 0 -5px;
    text-align: left;
    border: 3px solid #666;
    border-radius: 10px;
    background-color: #fefefe;
}

#ruleMessage {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin: 5px auto 5px auto;
    line-height: 150%;
    min-height: 80px;
}

#buttonSpace {
    text-align: center;
}

#redoButton {
    font-weight: bold;
    display: none;
    color: #333;
    border: 3px solid #666;
    border-radius: 5px;
    background-color: #f0f0f0;
    padding: 6px 6px 6px 6px;
    text-align: center;
    cursor: pointer;
    width: 140px;
}

#nextButton {
    font-weight: bold;
    display: inline-block;
    color: #333;
    border: 3px solid #666;
    border-radius: 5px;
    background-color: #f0f0f0;
    padding: 6px 6px 6px 6px;
    margin-left: 20px;
    text-align: center;
    cursor: pointer;
    width: 140px;
}

#resultDisplay {
    position: absolute;
    left: 30px;
    width: 240px;
    font-weight: bold;
    font-size: 18px;
    word-break : break-all;
    overflow-x: visible;
}

#testButton,#nakedButton,#yesButton,#noButton {
    font-weight: bold;
    display: none;
    color: #333;
    border: 3px solid #666;
    border-radius: 5px;
    background-color: #f0f0f0;
    padding: 6px 6px 6px 6px;
    margin-left: 20px;
    text-align: center;
    cursor: pointer;
    width: 140px;
}


.okSpace {
    text-align: center;
}

.okSpace2 {
    font-size: 1.5rem;
    color: rgb(237, 22, 78);
}

#ruleMessage p {
    text-indent: 1em;
}

.ud {
    font-weight: bold;
    text-decoration: underline;
    color: #0e64bc;
}

#ruleMenu {
    /*display: none;*/
    position: absolute;
    top: 796px;
    height: 350px;
    overflow-y: auto;

    padding: 20px;
    width: 506px;
    margin: 0 auto 0 -5px;
    text-align: left;
    border: 3px solid #666;
    border-radius: 10px;
    background-color: #fefefe;
}

#ruleMenu ul {
    list-style-type: decimal;
}

#ruleMessage ul {
    list-style-type: decimal;
}

#ruleMessage li {
    color: deeppink;
}

.ruleDiv {
    text-decoration: underline;
    cursor: pointer;
    margin: 5px auto 5px 25px;
    font-weight: bold;
    color: #0e64bc;
}

h3 {
    clear: both;

}

.ruleDiv2 {
    text-decoration: underline;
    cursor: pointer;
    margin: 5px auto 5px 25px;
    font-weight: bold;
    color: #0e64bc;
    float: left;
}

#tumeSpace {
    margin-top: 65px;
    top: -1500px;
    text-align: center;
    padding: 5px;
}

#tumeSpace table {
    width: 80%;
    height: 80px;
    margin: 15px auto 0 auto;
    border-collapse: collapse;
}

#tumeSpace td {
    border: 2px solid #333;
    padding: 7px;
    cursor: pointer;
    background-color: #fefefe;
    font-weight: bold;
    font-size: 1rem;
}



#tumeClassic {
    margin-top: 65px;
    top: -1500px;
    text-align: center;
    padding: 5px;
}

#tumeClassic table {
    width: 80%;
    height: 80px;
    margin: 15px auto 0 auto;
    border-collapse: collapse;
}

#tumeClassic td {
    border: 2px solid #333;
    padding: 7px;
    cursor: pointer;
    background-color: #fefefe;
    font-weight: bold;
    font-size: 1rem;
}

#banCreate {
    position: absolute;
    top: -1500px;
    background-color: #f0f0f0;
    border: 3px solid #333;
    border-radius: 2px;
    padding: 3px;

    z-index: 999999999;
}


#banCreateConsole {
    position: absolute;
    left: 30px;
    top: -1500px;
    width: 500px;
    background-color: #f0f0f0;
    border: 3px solid rgb(237, 22, 78);
    border-radius: 6px;
    padding: 3px;

    z-index: 999999997;
}

#banCreate table {
    border-collapse: collapse;
}

.banCreateButton {
    font-size: 0.8rem;
    display: inline-block;
    width: auto;
    border: 3px solid #0e64bc;
    border-radius: 5px;
    background-color: white;
    margin: 5px;
    padding: 3px 5px 3px 5px;
    cursor: pointer;
}

#banCreate table td {
    border: 3px solid #999;
    cursor: pointer;
}

#banCreate img {
    width: 36px;
    height: 36px;
}

.tumetitle {
    background-color: #f0f0f0 !important;
    cursor: inherit;
    color: deeppink;
    font-weight: bold;
}

.menubt {
    margin: 19px auto 19px auto;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    /*border-bottom: 3px solid #666;*/
    text-decoration: underline;
    color: #003266;
}

.menubt2 {
    width: 360px;
    margin: 10px auto 10px auto;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    /*border-bottom: 3px solid #666;*/
    text-decoration: underline;
    color: #000066;
}

#vsComSpace {
    top: -1500px;
}

#vsFriendSpace {
    top: -1500px;
}

#kifudisplay {
    position: absolute;
    width: 170px;
    top: 632px;
    left: 210px;
    font-size: 18px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    padding-left: 10px;
    padding-top: 5px;
    color: #333;
    line-height: 15px;
    /*overflow-y: scroll;*/
}


#infodisplay {
    position: absolute;
    width: 300px;
    top: -16px;
    left: 330px;
    font-size: 18px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    padding-left: 10px;
    padding-top: 5px;
    color: #666;
    line-height: 15px;
    /*overflow-y: scroll;*/
}

#timedisplay {
    position: absolute;
    width: 120px;
    top: 626px;
    left: 390px;
    font-size: 28px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    text-align: left;
    display: none;
    /*padding: 5px;*/
    color: #333;
    /*line-height: 15px;*/
}

#timedisplay2 {
    position: absolute;
    width: 120px;
    top: -16px;
    left: 390px;
    font-size: 24px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    text-align: left;
    display: none;
    /*padding: 5px;*/
    color: #333;
    /*line-height: 15px;*/
}

#timedisplay2 {
    position: absolute;
    width: 120px;
    top: -16px;
    left: 390px;
    font-size: 24px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    text-align: left;
    display: none;
    /*padding: 5px;*/
    color: #333;
    /*line-height: 15px;*/
}

#evaldisplay {
    position: absolute;
    width: 520px;
    top: -14px;
    left: 5px;
    font-size: 16px;
    font-weight: bold;
    height: 60px;
    margin-left: 20px;
    /*background-color: #eee;*/
    /*border: solid 2px #333;*/
    text-align: left;
    /*padding: 5px;*/
    color: #666;
    /*line-height: 15px;*/
}

.gaugeDiv {
    display: inline-block;
    width: 164px;
    height: 20px;
    background-color: #e54f43;
    border: 2px solid #333;
    border-radius: 4px;
}

.senteDiv {
    display: inline-block;
    height: 16px;
    background-color: #0e64bc;
}

#loseButton {
    position: absolute;
    width: 200px;
    top: -1500px;
    left: 16px;
    font-size: 20px;
    border: 3px solid #666;
    /*background-color: #f3f3f3;*/
    background: rgb(252,252,252);
    background: linear-gradient(180deg, rgba(252,252,252,1) 0%, rgba(242,242,242,1) 46%, rgba(221,221,221,1) 100%);
    border-radius: 2px;
    font-weight: bold;
    padding: 20px 15px 20px 15px;
    text-align: center;
    cursor: pointer;
    z-index: 99999;
    /*display: none;*/
}

.saveBan {
    float: left;
    margin-right: 6px;
    margin-bottom: 5px;
    border: 2px solid #666;
    border-radius: 2px;
    padding: 3px 5px 3px 5px;
    color: #1b78d0;
    background-color: #fafafa;
    text-align: center;
    width: 120px;
    cursor: pointer;
}


.saveBan2 {
    float: right;
    margin-left: 6px;
    border: 2px solid #666;
    border-radius: 2px;
    padding: 3px 5px 3px 5px;
    color: #1b78d0;
    background-color: #fafafa;
    text-align: center;
    width: 120px;
    cursor: pointer;
    margin-bottom: 10px;
}


.saveBan3 {
    float: right;
    margin-right: 6px;
    border: 2px solid #666;
    border-radius: 2px;
    padding: 3px 3px 3px 3px;
    color: #1b78d0;
    background-color: #fafafa;
    text-align: center;
    width: 65px;
    cursor: pointer;
    margin-bottom: 8px;
}

.evalButton {
    /*float: right;*/
    /*margin-right: 3px;*/
    /*border: 2px solid #333;*/
    border-radius: 2px;
    padding: 3px 3px 3px 3px;
    color: #1b78d0;
    background-color: #fefefe;
    text-align: center;
    width: 100%;
    cursor: pointer;
    margin-bottom: 5px;
}

.urlModal {
    position: absolute;
    top: -1500px;
    left: 90px;
    border: 3px solid #333;
    border-radius: 15px;
    width: 350px;
    padding: 25px;
    margin: auto;
    background-color: #fafafa;
    z-index: 99999999;
}

.button1 {
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 80px;
    margin: 3px auto 3px auto;
    cursor: pointer;
    padding: 3px 5px 3px 5px;
    text-align: center;
    font-size: 1.3rem;
}

.urlSpace {
    display: inline-block;
    width: 300px;
    word-break : break-all;
}

.urlModal {
    font-weight: bold;
}

.kifugyou {
    cursor: pointer;
    padding: 1px 2px;
    width: 100%;
    max-width: 180px;
    background-color: #ddd;
    color: #222;
    font-weight: bold;
    white-space: nowrap;
}

.kifugyou:hover {
    background-color: #222;
    color: #ddd;
}

#kifuwindow {
    position: absolute;
    left: -180px;
    top: 20px;
    border: 3px solid #999;
    background-color: #eee;
    width: 180px;
    height: 520px;
    padding: 10px;
}

.vsCtSpace {
    display: inline-block;
    margin: 5px;
    color: #5e5e5e;
}

.nameSpace {
    /*margin-top: 10px;*/
    display:inline-block;
    /*background-color: #c0c0c0;*/
    padding: 2px 6px;
    font-weight: bold;
    width: 60%;
    white-space: nowrap;
    /*overflow-x: hidden;*/
    color: #444;
}

.sengoSpace {
    width: 30%;
    padding: 2px 6px;
    display:inline-block;
    /*background-color: #c0c0c0;*/
    color: #444;
    font-weight: bold;
    /*border-radius: 2px;*/
}

.chatWindow {
    width: auto;
    position: relative;
    font-weight: bold;
    color: #333;
    border: 2px solid #666;
    border-radius: 8px;
    padding: 5px 15px;
    background-color: #f0f0f0;
    font-size: 1.5rem;
    text-align: center;
}

#guideCheckBox {
    width: 240px;
    position: absolute;
    left: -180px;
    top: 0;
}

.iineTag {
    padding: 5px 10px;
    background-color: #ddd;
    border: 2px solid #333;
    color: #111;
    font-weight: bold;
    border-radius: 10px;
    margin: 3px 5px;
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
}

legend {
    font-weight: bold;
}

#shogiContainer {
    position: relative;
    margin: 0;
}

#candidateSpace {
    position: relative;
    width: 500px;
    height: 120px;
    border-radius: 3px;
    border: solid 3px #666;
    padding: 2px;
    left: 12px;
    top: -10px;
    background-color: #eee;
    margin: 0;
    overflow-y: auto;
}

.candidateDiv {
    width: auto;
    float: left;
    border-radius: 5px;
    border: 3px solid #666;
    font-size: 1.5rem;
    background-color: #fff;
    font-weight: bold;
    margin: 3px 3px;
    padding: 0 3px;
    cursor: pointer;
}

#senpouSpace {
    position: relative;
    width: 500px;
    height: 80px;
    border-radius: 3px;
    border: solid 3px #999;
    padding: 2px;
    left: 12px;
    top: -10px;
    background-color: #eee;
    margin: 0 auto 10px auto;
    overflow-y: auto;
}

.senpouDiv {
    width: auto;
    float: left;
    border-radius: 5px;
    border: 3px solid #999;
    font-size: 1.5rem;
    background-color: #fff;
    color: #999;
    font-weight: bold;
    margin: 3px 3px;
    padding: 0 3px;
    cursor: pointer;
}

.candidateDiv:hover {
    background-color: #333;
    color: #f0f0f0;
}

.senpouDiv:hover {
    background-color: #333;
    color: #f0f0f0;
}

.colorred {
    color: red;
}

#guideCheckBox2 {
    width: 360px;
    position: absolute;
    left: -176px;
    top: -30px;
    z-index: 105555;
}

#guideCheckBox2 input,label {
    margin: 2px !important;
    cursor: pointer;
}

.guidecheckstr {
    font-size: 1.2rem !important;
}

#matiButton {
    width: 70px;
    height: 30px;
    position: absolute;
    padding: 2px;
    border: 2px solid #555;
    background-color: #eee;
    top: 604px;
    left: 440px;
    z-index: 100009;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
}

.soundButton {
    width: 90px;
    height: 30px;
    position: absolute;
    padding: 2px;
    border: 2px solid #555;
    background-color: #eee;
    top: 604px;
    left: 422px;
    z-index: 100010;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
}

#soundButton2 {
    width: 70px;
    height: 30px;
    position: absolute;
    padding: 2px;
    border: 2px solid #555;
    background-color: #eee;
    top: 30px;
    left: -70px;
    z-index: 100010;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
}

#underResetButton {
    width: 90px;
    height: 30px;
    position: absolute;
    padding: 2px;
    border: 2px solid #555;
    background-color: #eee;
    top: 600px;
    left: 420px;
    z-index: 100010;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
}


#kifuwindowconsole {
    background-color: #eee;
    width: auto;
}

#kifuConsoleSpace {
    position: absolute;
    top: 605px;
    left: 20px;
    width: 350px;
    z-index: 7778888;
}


#kifuConsoleSpace2 {
    position: absolute;
    top: 605px;
    left: 20px;
    width: 350px;
    z-index: 7778888;
}

#kifubody {
    height: 420px;
    overflow-y: scroll;
}

.kifuconsolebox {
    display: inline-block;
    border: 2px solid #333;
    background-color: #f0f0f0;
    /*color: #1b78d0;*/
    color: #000066;
    width: 50px;
    height: 40px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    padding: 8px 3px;
    cursor: pointer;
    margin: 3px;
    border-radius: 2px;
}

.kifuconsolebox:hover {
    background-color: #333;
    color: white;
}

.kifuconsolebox2 {
    display: inline-block;
    border: 2px solid #333;
    background-color: #f0f0f0;
    color: #000066;
    width: 106px;
    height: 40px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    padding: 8px 3px;
    cursor: pointer;
    margin: 3px;
    border-radius: 2px;
}

.kifuconsolebox2:hover {
    background-color: #333;
    color: white;
}

#chatConsole {
    width: 510px;
    border: 2px solid #666;
    position: absolute;
    top: 810px;
    /*left: 100px;*/
    margin-left: 10px;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    color: #333;
    background-color: #eee;
    z-index: 120000;
}

#chatConsole label {
    font-size: 1rem !important;
    color: #333 !important;
}

select {
    padding: 5px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

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

    .menubt {
        margin: 16px auto 16px auto;
    }

    footer {
        text-align: center;
    }

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

    #exp2 {
        left: 160px;
    }

    #exp3 {
        left: 160px;
    }

    #chatConsole {
        left: 160px;
    }

    #container {
        left: 140px;
    }

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

    #mobilead2 {
        top: 1720px;
    }

    #contentright {
        left: 740px;
    }

    .ctrlbt {
        font-size: 20px;
        margin: 2px 5px 2px 10px;
    }

    .ctrlbt:first-child {
        margin-left: 20px;
    }

    #title {
        font-size: 20px;
        margin: 2px 15px 2px 15px;
    }

    .menuSpace {
        margin: 115px auto 0 auto;
    }

    #kifudisplay {
		/*width: 240px;*/
        /*top: 576px;*/
        /*left: 200px;*/
    }

    #tumeSpace {
        margin-top: 65px;
        top: -1500px;
    }

}

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

    .senpouDiv {
        font-size: 0.95rem;
    }

    .candidateDiv {
        font-size: 0.95rem;
    }

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

    footer a {
        margin: 0 10px;
        color: orangered !important;
        font-size: 1rem;
        font-weight: bold;
    }

    #exp {
        width: 550px;
        height: auto;
        margin-left: -10px;
    }

    #exp2 {
        left: 360px;
    }

    #exp3 {
        left: 360px;
    }

    #chatConsole {
        left: 360px;
    }

    #container {
        left: 360px;
    }

    #mobilead {
        left: 360px;
    }

    #contentright {
        left: 960px;
    }

    #roomSpace2 {
        margin-left: -10px;
        width: 550px;
    }
}


.roomClass {
    float: left;
    padding: 3px 5px;
    margin: 5px 10px;
    border: 4px solid #47411b;
    border-radius: 6px;
    font-weight: bold;

    color: #333;
    width: 140px;
    height: 100px;
    text-align: center;
    cursor: pointer;
}

/* Linear ------------------------- */

.metallinear {
    background-image:
            linear-gradient(180deg, hsl(53,45%,72%)  0%,
    hsl(53,45%,75%) 47%,
    hsl(53,45%,69%) 53%,
    hsl(53,45%,64%)100%);
}

.metallinear2 {
    border: 4px solid #444 !important;
    background-image:
    linear-gradient(180deg, hsl(0,0%,84%)  0%,
            hsl(0,0%,87%) 47%,
            hsl(0,0%,81%) 53%,
            hsl(0,0%,76%)100%);
}

/* Oval ------------------------- */

.metal.linear.oval {
    margin-top: 100px;
    width: 70px;
    height: 60px;
    line-height: 60px !important;
    border-radius: 50%;
    font: italic bold 3em/50px Georgia, "Times New Roman", Times, serif;
}


#vsRoomSpace {
    text-align: center;
    margin: 0 auto;
    height: 95%;
    width: 95%;
    overflow-y: auto;
}

.roomClass2 {
    display: inline-block;
    padding: 3px 5px;
    margin: 5px;
    border: 2px solid #666;
    border-radius: 4px;
    font-weight: bold;

    background: rgb(222,222,222);
    background: linear-gradient(180deg, rgba(222,222,222,0.9) 0%, rgba(233,233,233,0.9) 46%, rgba(222,222,222,0.9) 100%);

    color: #222;
    width: 180px;
    height: 100px;
    overflow-x: hidden;
    overflow-y: hidden;
    word-break : break-all;
    text-align: center;
    cursor: pointer;
}

hr {
    clear: both;
    border-top: 3px solid #ddd;
    width: 100%;
    margin: 12px 0;
}

#roomSpace {
    max-height: 300px;
}
