body {
    font-size: 23px;
    font-family: ab-circle, sans-serif;
    font-weight: 400;
    font-style: normal;
}

main {
    width: 100%;
    position: relative;
}

.new-board {
    width: 50%;
    max-width: 50%;
    max-height: 80%;
    margin-top: 50px;
    margin: 0 auto;
    background-color:#ffffe0;/*背景色*/
    border: dotted 6px #ffa500;/*線*/
    border-radius: 5px;
    text-align: center;
}

section.right-up-board {
    width: 75%;
    margin: 10px auto;
    margin-top: 30px;
    text-align: center;
}

section.right-board {
    width: 80%;
    height: 40%;
    margin: 10px auto;
    padding: 0;
    /* margin-top: 10px; */
}

.container {
    width: 100%;
}

/* .categoryContainer {
    top: 50%;
} */

.categorySearchA ul {
    width: 100%;
    display: flex;
    /* justify-content: space-between; */
    list-style: none;
    padding: 0;
    margin-right: 5%;
}

.categorySearchA li,
.categorySearchA a {
    width: 20%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-right: 37px;
    user-select: none;
}

.categorySearchB ul {
    display: flex;
    width: 80%;
    /* justify-content: space-between; */
    list-style: none;
    padding: 10px;
    margin-left: 15%;
    /* margin-right: 20%; */
}

.categorySearchB li,
.categorySearchB a {
    width: 18%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-bottom: 50px;
    user-select: none;
    padding: 0;
}

section.inputFeild {
	width: 50%;
	margin: 10px auto;
    height: 40px;
}

/* section.talkFeild {
	width: 80%;
	height: 500px;
	padding: 10px;
	background-color: #f2b9cc;
	border: 1px solid grey;
	border-radius: 10px;
	overflow: scroll;
	word-break: break-all;
    font-size: 14px;
    margin: 0 auto;
} */

#message {
	width: 40%;
}

#product_id {
    opacity: 0;
}

tr.post_user {
    background: rgb(241, 223, 185);
    width: 10%;
    max-width: 70%;
    border-radius: 10px;
    text-align: center;
    clear: both;
    font-family: sans-serif;
}

/*******************************
* 左からの吹き出し
********************************/
.left_balloon {
    position: relative;
    background: #efeed6;
    /*border: 1px solid #777;*/
    margin: 10px;
    padding: 10px;
    border-radius: 15px;
    margin-right: 20%;
    clear: both;
    max-width: 500px;
    float: left;
    font-size: 14px;
    font-family: Verdana;
}

.left_balloon:after,
.left_balloon:before {
    left: 7.5px;
    top: -5px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.left_balloon:after {
    border-color: rgba(255, 255, 255, 0);
    /* border-bottom-color: #85e249; */
    border-bottom-color: #efeed6;
    border-width: 7px;
    margin-top: -7px;
}
/*.left_balloon:before {
    border-color: rgba(0, 0, 0, 0);
    border-right-color: #000;
    border-width: 8px;
    margin-top: -8px;
}*/
 
/*******************************
* 右からの吹き出し
********************************/
.right_balloon {
    position: relative;
    background: #85e249;
    border: 1px solid #777;
    margin: 10px;
    padding: 10px;
    border-radius: 15px;
    margin-left: 20%;
    clear: both;
    max-width: 500px;
    float: right;
    font-size: 14px;
}
.right_balloon:after,
.right_balloon:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.right_balloon:after {
    border-color: rgba(133, 226, 73, 0);
    border-left-color: #85e249;
    border-width: 7px;
    margin-top: -7px;
}
.right_balloon:before {
    border-color: rgba(119, 119, 119, 0);
    border-left-color: #777;
    border-width: 8px;
    margin-top: -8px;
}
 
/*******************************
* 割り込みを解除
*
*******************************/
.clear_balloon{
  clear: both;
}

section.mycenter-board {
    width: 75%;
    height: 200px;
    margin-top: 0;
    margin-left: 25%;
    font-size: 18px;
    position: absolute;
}

section.mycenter-board form {
    height: 180px;
}

section.mycenter-boardMsg {
    /* display: inline-block; */
    position: absolute;
    top: 40px;
    padding: 0;
    margin: 0;
}
section.mycenter-boardNg p {
    /* display: inline-block; */
    position: absolute;
    top: 40px;
    padding: 0;
    margin: 0;

}

section.mycenter-board2 {
    display: inline-block;
    width: 100%;
    height: 200px;
    line-height: 200px;
    font-size: 18px;
    margin-top: 200px;
    margin-left: 0;
}


section.myRight-board {
    width: 100px;
    height: 600px;
    float: right;
    background: #ccc;
    margin-top: 50px;
    border: 2px solid #222;
}

.love {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(90, 58, 63);
}

.love:hover {
    opacity: 0.8;
}

.love:active {
    margin-top: 5px;
    box-shadow: none;
}

.history {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(37, 69, 44);
}

.history:hover {
    opacity: 0.8;
}

.history:active {
    margin-top: 5px;
    box-shadow: none;
}

.sf {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(96, 95, 70);
}

.sf:hover {
    opacity: 0.8;
}

.sf:active {
    margin-top: 5px;
    box-shadow: none;
}

.fantasy {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(48, 49, 76);
}

.fantasy:hover {
    opacity: 0.8;
}

.fantasy:active {
    margin-top: 5px;
    box-shadow: none;
}

.comedy {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(92, 87, 38);
}

.comedy:hover {
    opacity: 0.8;
}

.comedy:active {
    margin-top: 5px;
    box-shadow: none;
}

.human {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(78, 109, 116);
}

.human:hover {
    opacity: 0.8;
}

.human:active {
    margin-top: 5px;
    box-shadow: none;
}

.suiri {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(16, 34, 25);
}

.suiri:hover {
    opacity: 0.8;
}

.suiri:active {
    margin-top: 5px;
    box-shadow: none;
}

.action {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(83, 34, 30);
}

.action:hover {
    opacity: 0.8;
}

.action:active {
    margin-top: 5px;
    box-shadow: none;
}

.horror {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(14, 11, 11);
}

.horror:hover {
    opacity: 0.8;
}

.horror:active {
    margin-top: 5px;
    box-shadow: none;
}

.none {
    border-radius: 15px;
    box-shadow: 0 5px 0 rgb(122, 121, 80);
}

.none:hover {
    opacity: 0.8;
}

.none:active {
    margin-top: 5px;
    box-shadow: none;
}

#main {
    margin: 0 auto;
}

/* .room {
    background: rgb(255, 252, 192);
    max-width: 90%;
    max-height: 10%;
    border-radius: 4px;
    text-align: center;
    margin: 5px auto;
    overflow: auto;
    cursor: pointer;
} */

.roomtitle {
    width: 50%;
    height: 60px;
    line-height: 60px;
    overlay: auto;
    background: rgb(220, 237, 193); 
    text-align: center;
    left: 40%;
}

.myLeft-board {
    position: absolute;
    display: inline-block;
    top: 10%;
    /* left: 5%; */
    width: 16%;
    height: 600px;
    /* float: left; */
    font-size: 14px;
    z-index: 1;
}

.myLeft-board form {
    height: 45px;
}

@media (max-width: 930px) {
    body {
        width: 85%;
        font-size: 10px;
    }

    .categorySearchA img,
    .categorySearchB img {
        margin: 0 auto;
        width: 70px;
    }

    section.right-board {
        margin-left: 2%;
    }

    .container {
        margin-left: 0;
    }

    .categorySearchA ul {
        width: 100%;
        display: flex;
        /* justify-content: space-between; */
        list-style: none;
        padding: 0;
        margin-right: 5%;
    }
    
    .categorySearchA li,
    .categorySearchA a {
        width: 25%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        margin-top: 50px;
        margin-bottom: 50px;
        margin-right: 6px;
        user-select: none;
    }
    
    .categorySearchB ul {
        display: flex;
        width: 90%;
        /* justify-content: space-between; */
        list-style: none;
        margin-left: 10px;
        padding: 0;
    }
    
    .categorySearchB li,
    .categorySearchB a {
        width: 10px;
        /* height: 40px; */
        /* line-height: 40px; */
        text-align: center;
        margin-top: 20px;
        margin-bottom: 0;
        margin-left: 5px;
        margin-right: 56px;
        /* margin: 0 auto; */
        user-select: none;
        padding: 0;
    }
 
    .categoryContainer {
        width: 100%;
    }
    
    .roomtitle {
        width: 45%;
        height: 5%;
        font-size: 10px;
        line-height: 50px;
        border-radius: 20px;
        color: rgb(93, 75, 94);
        text-align: center;
        margin: 4px auto;
        background: rgb(220, 237, 193); 
        flex-wrap: nowrap;
        overflow: auto;
    }    

    section.mycenter-board {
        font-size: 5px;
        width: 90%;
	height: 20px;
        margin-top: 0;
        margin-left: 5%;
        font-size: 15px;
	padding: 0;
        position: absolute;
    }
    
    section.mycenter-boardMsg {
        position: absolute;
        top: 15px;
	padding: 0;
	margin: 0;
    }
    section.mycenter-boardNg {
        position: absolute;
        top: 40px;
	padding: 0;
	margin: 0;
    }
    
    section.mycenter-board2 {
        /* position: absolute; */
        float: left;
        width: 100%;
        height: 270px;
        line-height: 200px;
        margin-top: 180px;
        margin-left: 0;
    }
    
    .myLeft-board {
        width: 95%;
        max-height: 180px;
        top: 480px;
        /* float: left; */
        font-size: 10px;
        overflow: auto;
    }

    section.right-up-board {
	margin-right: 5px;
    }
       
    section.right-up-board p {
        font-size: 10px;
    }

    section.mycenter-board form {
        height: 10px;
	padding: 0;
	margin: 0;
    }

}