/*
Theme Name:   AFFINGER Child（掲示板・機能拡張用）
Description:  AFFINGER6 をベースに、掲示板UI・いいね・固定バナーを実装したカスタム子テーマ
Author:       Harudesign
Author URI:   https://harudesign.net
Template:     affinger
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Tags:         affinger, child-theme, clean, custom-css
Text Domain:  affinger-child
*/

.bbs-fixed-button {
  position: fixed;
  bottom: 250px;
  right: 20px;
  z-index: 9999;
  background: #007acc;
  color: #fff;
  padding: 0.8em 1.2em;
  border-radius: 100px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
}

.bbs-fixed-button:hover {
  background: #005fa3;
  transform: scale(1.05);
}
/* PC（幅 1025px以上） */
@media screen and (min-width: 950px) {
  .bbs-fixed-button {
    right: 33%;     /* 画面の1/3に寄せる */
    transform: translateX(50%); /* 右寄せにずらす調整 */
  }
}
.bbs-comment-list {
  list-style: none;
  padding-left: 0;
}

.bbs-comment-item {
  margin-bottom: 1em;
  padding-left: 1em;
  border-left: 2px dotted #ccc;
}

.bbs-comment-item ol {
  margin-top: 1em;
  padding-left: 1.5em;
  border-left: 1px dashed #ccc;
}

.bbs-comment-meta {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.2em;
}

.bbs-comment-content {
  font-size: 1em;
}

.bbs-reply {
  margin-top: 0.5em;
}
.bbs-comment-pagination {
  margin: 2em 0 2.5em;
  text-align: center;
}

.bbs-comment-pagination a,
.bbs-comment-pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  background: #f8f8f8;
  text-decoration: none;
  font-size: 14px;
}

.bbs-comment-pagination .current {
  background: #ddd;
  font-weight: bold;
}

/* コメント投稿フォームの見出し（.comment-reply-title）に余白を追加 */
.comment-reply-title {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.2em;
}

/* CAPTCHA画像の周りにも余白が欲しい場合 */
.comment-form-captcha {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.bbs-comment-list {
  list-style: none !important;
  padding-left: 0;
}
.bbs-comment-list ol {
  list-style: none !important;
  padding-left: 1.5em; /* インデントを維持 */
}
.bbs-like {
  margin-top: 0.5em;
}

.bbs-like-button {
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 0.3em 0.8em;
  font-size: 0.9em;
  cursor: pointer;
  border-radius: 4px;
}

.bbs-like-button:disabled {
  background: #ddd;
  cursor: default;
}
.comment-reply-link {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.3em 0.8em;
  background: #007acc;
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.comment-reply-link:hover {
  background: #005fa3;
}
.comment-reply-title {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

#cancel-comment-reply-link {
  font-size: 0.9em;
  color: #888;
  background: #eee;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.3s;
}

#cancel-comment-reply-link:hover {
  background: #ccc;
  color: #000;
}