/* =========================================
   bbPress 5ch風表示
   ========================================= */

/* 灰色ヘッダー・管理リンクなどを消す */
#bbpress-forums .bbp-topic-header,
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-header,
#bbpress-forums .bbp-footer,
#bbpress-forums .bbp-admin-links,
#bbpress-forums .bbp-author-avatar,
#bbpress-forums .bbp-author-role,
#bbpress-forums .bbp-reply-permalink {
  display: none !important;
}

/* フォーラム一覧・トピック一覧ではタイトルを見やすく表示 */
#bbpress-forums .bbp-topic-title .bbp-topic-permalink,
#bbpress-forums .bbp-forum-title {
  display: inline !important;
  color: #0000cc;
  text-decoration: none;
  font-weight: 700;
}

#bbpress-forums .bbp-topic-title .bbp-topic-permalink:hover,
#bbpress-forums .bbp-forum-title:hover {
  text-decoration: underline;
}

/* 左の投稿者欄を消す */
#bbpress-forums .bbp-topic-author,
#bbpress-forums .bbp-reply-author {
  display: none !important;
}

/* 投稿1件ごとの灰色枠を消す */
#bbpress-forums li.bbp-body div.topic,
#bbpress-forums li.bbp-body div.reply {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
}

/* 本文エリアを全幅化 */
#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
  margin-left: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* JSで追加するメタ行 */
#bbpress-forums .gk-5ch-meta {
  margin: 0 0 6px;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

#bbpress-forums .gk-5ch-no {
  color: #000;
  font-weight: 400;
}

#bbpress-forums .gk-5ch-name {
  color: #008000;
  font-weight: 700;
}

#bbpress-forums .gk-5ch-date {
  color: #666;
  font-weight: 400;
}

/* 本文 */
#bbpress-forums .bbp-topic-content p,
#bbpress-forums .bbp-reply-content p {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0;
}

/* >>123 */
#bbpress-forums .gk-5ch-anchor,
#bbpress-forums .bbp-topic-content a,
#bbpress-forums .bbp-reply-content a {
  color: #0000cc;
  text-decoration: none;
  font-weight: 700;
}

#bbpress-forums .gk-5ch-anchor:hover,
#bbpress-forums .bbp-topic-content a:hover,
#bbpress-forums .bbp-reply-content a:hover {
  text-decoration: underline;
}

/* 一覧周りの罫線弱め */
#bbpress-forums .bbp-replies,
#bbpress-forums .bbp-topics,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies {
  border: none !important;
}

/* 通知ボックス */
#bbpress-forums .bbp-template-notice,
#bbpress-forums div.indicator-hint {
  background: #f7f7f7 !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  color: #333 !important;
}

/* 投稿フォーム */
#bbpress-forums fieldset.bbp-form {
  border: 1px solid #ddd;
  background: #fff;
  padding: 12px;
}

#bbpress-forums fieldset.bbp-form legend {
  font-weight: 700;
}

#bbpress-forums textarea,
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* スマホ */
@media (max-width: 768px) {
  #bbpress-forums .gk-5ch-meta,
  #bbpress-forums .bbp-topic-content p,
  #bbpress-forums .bbp-reply-content p {
    font-size: 15px;
  }

  #bbpress-forums li.bbp-body div.topic,
  #bbpress-forums li.bbp-body div.reply {
    margin-bottom: 22px !important;
  }
}