/*
Theme Name: Bloom Child
Template: bloom_tcd053
Version: 1.0
*/

/* ここから子テーマ用のカスタムCSSを追加 */
/* 全体の行間・余白調整 */
#bbpress-forums {
    background-color: #ffffff; /* 白ベース */
    line-height: 1.6;
    padding: 20px;
    border-radius: 8px; /* 丸みをつけて柔らかく */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* ほんのり影で浮かせる */
}

/* 表のヘッダーとフッター */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
    background: #f9f7f5; /* 淡いベージュ */
    padding: 12px 10px;
    border-bottom: 1px solid #e0ded9; /* 軽い境界線 */
    border-radius: 6px 6px 0 0;
    font-weight: bold;
    color: #4a4a4a;
}

/* 投稿行 */
#bbpress-forums li.bbp-body {
    background: #ffffff; /* 投稿は白でクリーン */
    margin-bottom: 8px;
    padding: 12px 10px;
    border-radius: 6px;
    border: 1px solid #f0f0f0; /* 軽い線で区切る */
}

/* 投稿者アイコンの丸形調整 */
#bbpress-forums .bbp-author-avatar img,
#bbpress-forums div.bbp-reply-author img.avatar {
    display: none !important;
}

/* 投稿タイトルやリンク */
#bbpress-forums .bbp-topic-title a,
#bbpress-forums .bbp-forum-title a {
    color: #5a5a5a;
    text-decoration: none;
}

#bbpress-forums .bbp-topic-title a:hover,
#bbpress-forums .bbp-forum-title a:hover {
    color: #a88c6f; /* 北欧風アクセント色（淡いブラウン） */
}

/* コメントフォーム・使用可能 HTML 非表示 */
.form-allowed-tags {
    display: none !important;
}

/* テンプレート通知非表示 */
div.bbp-template-notice.info {
    display: none !important;
}
/* トピック作成・返信フォームの URL（ウェブサイト）欄を非表示 */
#bbpress-forums p:has(#bbp_anonymous_website) {
    display: none !important;
}

/* レス（返信） */
#bbpress-forums .bbp-reply {
    background: #faf9f7;
    margin-top: 6px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

/* レスのリンク色 */
#bbpress-forums .bbp-reply a {
    color: #7a6e61;
}

#bbpress-forums .bbp-reply a:hover {
    color: #a88c6f;
}

/* 日付・メタ情報 */
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-reply-meta {
    color: #999;
    font-size: 0.9em;
}
/* 投稿フォーム全体 */
#bbpress-forums #bbp-single-user #new-post,
#bbpress-forums #bbp-topic-form,
#bbpress-forums #bbp-reply-form {
    background: #faf9f7; /* 淡いベージュで柔らかく */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0ded9; /* 軽い枠線 */
    box-shadow: 0 2px 6px rgba(0,0,0,0.03); /* ほんのり影で浮かせる */
    margin-bottom: 20px;
}

/* 入力欄・テキストエリア */
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #dcd8d3;
    background-color: #ffffff;
    font-size: 1em;
    color: #4a4a4a;
    margin-bottom: 12px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* フォーカス時 */
#bbpress-forums input[type="text"]:focus,
#bbpress-forums input[type="email"]:focus,
#bbpress-forums input[type="url"]:focus,
#bbpress-forums textarea:focus {
    border-color: #a88c6f; /* 北欧アクセント色 */
    box-shadow: 0 0 5px rgba(168,140,111,0.3);
    outline: none;
}

/* 送信ボタン */
#bbpress-forums input[type="submit"],
#bbpress-forums button[type="submit"] {
    background-color: #a88c6f; /* 北欧ブラウン系 */
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* ホバー時 */
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums button[type="submit"]:hover {
    background-color: #947657;
}

/* ラベル */
#bbpress-forums label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #5a5a5a;
}

/* 入力欄のグループ間の余白 */
#bbpress-forums .bbp-form p {
    margin-bottom: 16px;
}
/*フォーラム役職名の非表示*/
.bbp-author-role {
    display: none !important;
    visibility: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/*フォーラムのHN*/
#bbpress-forums div.bbp-reply-author .bbp-author-name, #bbpress-forums div.bbp-topic-author .bbp-author-name {
    clear: left;
    display: block;
    font-size: 1em;
    margin-top: 1.2em;
    color: #a88c6f;
}
/*フォーラムアイコン非表示*/
#bbp-author-avatar img {
		display: none
	}
@media only screen and (max-width: 480px) {
    #bbpress-forums .bbp-body div.bbp-reply-author, #bbpress-forums .bbp-body div.bbp-topic-author
 {
        min-height: 0;
	 padding-left: 0;
    }
}