#bbpress-forums li.bbp-header{
	background-color: gray;
	color:white;
}
#bbpress-forums li.bbp-footer{
	display: none;
}
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {
    border-top: 1px solid #eee;
    overflow: hidden;
    padding: 20px 8px;
}
#bbpress-forums p.bbp-topic-meta img.avatar{
	display: none;
}
.bbp-body li.bbp-topic-voice-count{
	line-height: 46px;
}
.bbp-body li.bbp-topic-reply-count{
	line-height: 46px;
}
.bbp-body li.bbp-topic-freshness{
	line-height: 46px;
}
.p-up-block-forum{
	display: block;
}
#bbpress-forums #postadd {
	padding: 0.5rem 1.5rem;
	color: white;
	background-color: #004097;
	border-radius: 5px;
	margin-bottom: 10px;
	display: inline;
}
.topic_header{
	display: flex;
    justify-content: space-between;
	flex-wrap: wrap;
}
.topic_header .bbp-pagination {
    float:none;
	width: 65%;
}

.topic_input_form{
	/*display: none;*/
	max-width: 764px;
	width: 86%;
	padding: 15px 20px;
	background: #fff;
	/* 位置の調整(真ん中に表示) */
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/* デフォルトでは非表示にしておく */
	opacity: 0;
	visibility: hidden;
	/* 表示の変化にかかる時間 */
	transition: .3s;
	z-index: 5;
}
.topic_input_form.is-active {
	opacity: 1;
	visibility: visible;
  }
  .p-forum__overlay{
	position: fixed;
	z-index: 3;
	width: 100vw;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	height: 100vh;
	background-color: rgba(2, 26, 57, .8);
	color: #fff;
	visibility: hidden;
	opacity: 0;
}
.p-forum__overlay.is-active {
	visibility: visible;
	opacity: 0.8;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}
#bbpress-forums fieldset.bbp-form input[type=text]{
	font-size: 12px;
	font-weight: 400;
	border: 1px solid #dcdcde;
	width: 100%;
}
#bbpress-forums div.wp-editor-container{
	font-size: 12px;
	font-weight: 400;
	border: 1px solid #dcdcde;
}
#bbpress-forums fieldset.bbp-form input[type=text]{
	font-size: 12px;
	font-weight: 400;
	border: 1px solid #dcdcde;
	width: 100%;
}
#bbpress-forums fieldset.bbp-form{
	border: none;
}
#bbpress-forums fieldset.bbp-form input[type=checkbox]{
	border: 1px solid #dcdcde;
    width: 10px;
    height: 10px;
	margin: 0;
	display: inline-block;
}
.bbp-submit-wrapper button{
	padding: 0.5rem 1.5rem;
	color: white;
	background-color: #004097;
	border-radius: 5px;
}
.topic__detail{
	display: flex;
	margin: 1rem 0;
}
.topic__detail--comment{
	width: 80%;
	border: solid 1px #dcdcde;
	padding: 1rem;
	margin-right: 2rem;
	border-radius: 10px;
	position: relative;
	display: inline-block;
	box-sizing: border-box;
}
.topic__detail--comment:before {
	content: "";
	position: absolute;
	top: 30px;
	right: -18px;
	margin-top: -12px;
	border: 8px solid transparent;
	border-left: 12px solid #fff;
	z-index: 2;
}
.topic__detail--comment:after {
	content: "";
	position: absolute;
	top: 30px;
	right: -20px;
	margin-top: -12px;
	border: 8px solid transparent;
	border-left: 12px solid #dcdcde;
	z-index: 1;
}
.topic__detail--comment p {
	margin: 0;
	padding: 0;
}
.topic__detail--author{
	width: 20%;
	text-align: center;
}

.bbp-author-avatar img{
	border-radius: 50%;
	width: 4rem;
	height: 4rem;
	object-fit: cover;
	margin: 0 auto;
}
.bbp-topic-meta .bbp-author-avatar img{
	display: none;
}
#bbpress-forums ul.bbp-replies{
	border: none;
}
.topic__detail-first{
	display: flex;
	justify-content: space-between;
	border:solid 3px #dcdcde;
	padding: 2rem 1rem;
}
.topic__detail-first-img{
	width: 10%;
	margin-right: 20px;
}
.topic__detail-first-img img{
	border-radius: 50%;
	width: 4rem;
	height: 4rem;
	object-fit: cover;
	margin: 0 auto;
	display: block;
}
.topic__detail-first-content{
	display: block;
	width: 90%;
}
.c-forum_date{
	color: #878786;
}
.c-forum_content{
	color: #878786;
	margin-top: 0.5rem;
	font-size: 16px;
}
.c-forum_content p{word-wrap: break-word;}
.bbp-pagination-count{
	color: #878786;
}
.bbp-topic-tags{
	color: #878786;
}
@media only screen and (max-width: 480px){
	#bbpress-forums div.bbp-topic-tags {
		float: right;
	}
}

div.bbp-breadcrumb{
	float: none;
}
#bbpress-forums #subscription-toggle{
	float: none;
	display: inline;
	background: #EA5504;
	color:white;
	padding: 0.5rem 1.5rem;
	border-radius: 5px;
	margin-bottom: 10px;margin-left: 1rem;
}
.p-mypage__forum li.bbp-topic-title {
	float: none;
}
.p-mypage__forum ul{
	display: flex;
}
.p-mypage__forum ul.bbp-topics{
	display: block;
	border: 1px #dcdcde solid;
}
.p-mypage__forum .bbp-topics .bbp-header{
	background: #878786;
	color: #fff;
	padding: 0.5rem;
}

.p-mypage__forum .bbp-body .topic{
	background-color: #fff;
	padding: 1rem 1rem 0rem;
	font-size: 13px;
}
.p-mypage__forum .bbp-body .topic:nth-child(odd){
	background-color: #fbfbfb;
}
.p-mypage__forum .bbp-body .topic:last-child{
	padding-bottom: 1rem;
}
.p-mypage__forum .bbp-topic-started-in{
	display: none;
}
.p-mypage__forum .bbp-footer{
	display: none;
}
.c-circle--forum{
	margin:auto;
	width: 3.5rem;
	height: 3.5rem;
	background-color: #878786;
	display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding: 0;
    border: none;
    border-radius: 50%;
    object-fit: cover;
}
.c-circle--forum.c-circle--forum-first{
	background-color:#EA5504 ;
}
.c-circle--forum img{
	width: 1.5rem;
    height: 1.5rem;
    border-radius: initial;
}
.bbp-author-name{
	word-wrap: break-word;
}
#bbpress-forums fieldset.bbp-form input[type=checkbox]{
	position: relative;
}
#bbpress-forums fieldset.bbp-form input[type=checkbox]:checked::before{
	content: "";
    width: 5px;
    height: 2px;
    background: #333;
    display: block;
    transform: rotateZ(45deg);
    position: absolute;
    top: 50%;
    left: 0%;
}

#bbpress-forums fieldset.bbp-form input[type=checkbox]:checked::after{
	content: "";
    width: 8px;
    height: 2px;
    background: #333;
    display: block;
    transform: rotateZ(-52deg);
    position: absolute;
    top: 40%;
    left: 25%;
}
#bbpress-forums #bbp-search-form #bbp_search{
	border: solid 1px #dcdcdc;
}
@media screen and (max-width:768px) {
	.p-mypage__forum ul{
		font-size: 12px;
	}
	.topic__detail-first-img{
		width: 30%;
	}
	.topic_header .bbp-pagination{
		width:100%;
	}
}
#bbp_topic_tags{
	display:none;
}
#bbpress-forums fieldset.bbp-form label[for="bbp_topic_tags"]{
	display:none;
}