@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==================================================================
   駐在HUB - バンコク駐在ラウンジ / bbPress カスタムデザイン
   ターゲット：バンコク在住 30-40代 駐妻（優雅・洗練・ジュエリー好き）
   コンセプト：毎日見ても心地よい、上品でモダンな会員制ラウンジ
   パレット：アイボリー × ダスティローズ × シャンパンゴールド × セージ
   ================================================================== */

:root {
  --hub-ivory:    #FBF7F1; /* 背景：温かいアイボリー */
  --hub-card:     #FFFFFF;
  --hub-rose:     #C58B92; /* ダスティローズ（主役） */
  --hub-rose-dp:  #A96A72; /* 濃いローズ（ホバー） */
  --hub-gold:     #C4A572; /* シャンパンゴールド（差し色） */
  --hub-sage:     #6E7E66; /* セージグリーン（南国の上品さ） */
  --hub-text:     #4A4140; /* 本文：やわらかいダークブラウン */
  --hub-muted:    #9C918E; /* 補助テキスト */
  --hub-line:     #EFE6DB; /* 罫線 */
  --hub-blush:    #F7EEE9; /* 淡いブラッシュ背景 */
  --hub-shadow:   0 6px 24px rgba(123, 92, 80, 0.10);
  --hub-shadow-h: 0 12px 36px rgba(123, 92, 80, 0.16);
}

/* ── フォント定義 ─────────────────────────── */
.hub-serif {
  font-family: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

/* ── ページ全体背景 ─────────────────────────── */
body {
  background-color: var(--hub-ivory);
}

/* ==================================================================
   ヒーローバナー
   ================================================================== */
.hub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 52px 44px;
  margin: 0 0 36px;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(196,165,114,0.18) 0%, rgba(196,165,114,0) 55%),
    linear-gradient(135deg, #F8EDE7 0%, #F3E3DC 45%, #EFE7DA 100%);
  box-shadow: var(--hub-shadow);
}

.hub-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 70%;
}

.hub-hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--hub-gold);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hub-hero__title {
  font-family: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hub-text);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.hub-hero__lead {
  font-size: 1.02rem;
  line-height: 1.9;
  color: #6E605C;
  margin: 0;
}

/* ヒーロー右側のボタニカル線画 */
.hub-hero__art {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 280px;
  height: auto;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}

/* 金の細い区切りライン */
.hub-hero__divider {
  display: inline-block;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--hub-gold), rgba(196,165,114,0));
  margin: 0 0 18px;
}

/* ==================================================================
   bbPress 全体
   ================================================================== */
#bbpress-forums {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
  color: var(--hub-text);
  font-size: 1.04rem;
  line-height: 1.8;
}

/* パンくず的なナビ */
#bbpress-forums .bbp-breadcrumb {
  font-size: 0.9rem;
  color: var(--hub-muted);
  margin-bottom: 18px;
}
#bbpress-forums .bbp-breadcrumb a {
  color: var(--hub-sage);
  text-decoration: none;
}
#bbpress-forums .bbp-breadcrumb a:hover { color: var(--hub-rose); }

/* ── フォーラム情報バー（「○件のトピック…」） ── */
#bbpress-forums .bbp-forum-description,
#bbpress-forums div.bbp-template-notice {
  background: var(--hub-blush);
  border: none;
  border-left: 3px solid var(--hub-gold);
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  font-size: 0.92rem;
  color: #7A6F6B;
  margin-bottom: 24px;
}

/* ==================================================================
   フォーラム / トピック一覧 → カード化
   ================================================================== */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  display: grid;
  gap: 14px;
}

/* ヘッダー行・フッター行は隠す（昔の掲示板感を消す） */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  display: none;
}

/* 各カード */
#bbpress-forums ul.bbp-forums li.bbp-body ul.forum,
#bbpress-forums ul.bbp-topics li.bbp-body ul.topic,
#bbpress-forums li.bbp-forum-info,
#bbpress-forums li.bbp-topic-title {
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: var(--hub-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  list-style: none;
}

/* bbPressのrow構造を行ごとカード化 */
#bbpress-forums ul.bbp-forums > li.bbp-body > ul.forum,
#bbpress-forums ul.bbp-topics > li.bbp-body > ul.topic {
  display: block;
}

#bbpress-forums li.bbp-forum-info:hover,
#bbpress-forums li.bbp-topic-title:hover {
  box-shadow: var(--hub-shadow-h);
  transform: translateY(-3px);
  border-color: #E6D2C8;
}

/* フォーラム名・トピック名 */
#bbpress-forums .bbp-forum-title,
#bbpress-forums .forum-title a,
#bbpress-forums .bbp-topic-permalink {
  font-family: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--hub-rose-dp);
  text-decoration: none;
  letter-spacing: 0.02em;
}
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover {
  color: var(--hub-gold);
}

/* フォーラム説明文 */
#bbpress-forums .bbp-forum-content {
  font-size: 0.92rem;
  color: var(--hub-muted);
  margin-top: 6px;
  line-height: 1.7;
}

/* 統計（トピック数/投稿数）はバッジ風に控えめに */
#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-topic-reply-count,
#bbpress-forums li.bbp-topic-voice-count {
  font-size: 0.82rem;
  color: var(--hub-muted);
}

/* 最新投稿 */
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness {
  font-size: 0.84rem;
  color: var(--hub-muted);
}
#bbpress-forums .bbp-forum-freshness a,
#bbpress-forums .bbp-topic-freshness a {
  color: var(--hub-sage);
  text-decoration: none;
}

/* ==================================================================
   見出し
   ================================================================== */
.bbp-forum-title,
#bbpress-forums h1,
.entry-title {
  font-family: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

/* ==================================================================
   投稿フォーム（新規トピック / 返信）
   ================================================================== */
#bbpress-forums #new-post,
#bbpress-forums fieldset.bbp-form,
#bbpress-forums div.bbp-topic-form,
#bbpress-forums div.bbp-reply-form {
  background: linear-gradient(160deg, #FFFFFF 0%, var(--hub-blush) 100%);
  border: 1px solid var(--hub-line);
  border-radius: 20px;
  padding: 30px 32px;
  margin-top: 36px;
  box-shadow: var(--hub-shadow);
}

#bbpress-forums fieldset.bbp-form legend,
#bbpress-forums .bbp-topic-form h3,
#bbpress-forums .bbp-reply-form h3 {
  font-family: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--hub-rose-dp);
  margin-bottom: 8px;
  padding: 0;
}

#bbpress-forums .bbp-form label {
  font-size: 0.92rem;
  color: #6E605C;
  font-weight: 500;
}

#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums textarea,
#bbpress-forums select {
  width: 100%;
  border: 1px solid var(--hub-line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--hub-text);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#bbpress-forums input[type="text"]:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus {
  outline: none;
  border-color: var(--hub-rose);
  box-shadow: 0 0 0 3px rgba(197,139,146,0.18);
}

/* 送信ボタン：ローズ→ゴールドの上品なボタン */
#bbpress-forums button,
#bbpress-forums input[type="submit"] {
  background: linear-gradient(135deg, var(--hub-rose) 0%, var(--hub-rose-dp) 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px 36px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(169,106,114,0.30);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
#bbpress-forums button:hover,
#bbpress-forums input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(169,106,114,0.38);
  filter: brightness(1.04);
}

/* ==================================================================
   返信スレッド表示
   ================================================================== */
#bbpress-forums li.bbp-body div.reply,
#bbpress-forums li.bbp-body div.topic {
  background: var(--hub-card);
  border: 1px solid var(--hub-line);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: var(--hub-shadow);
}

#bbpress-forums div.bbp-reply-author,
#bbpress-forums div.bbp-topic-author {
  text-align: center;
}
#bbpress-forums div.bbp-reply-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar {
  border-radius: 50%;
  border: 2px solid var(--hub-blush);
}
#bbpress-forums .bbp-author-name {
  font-weight: 600;
  color: var(--hub-sage);
  font-size: 0.9rem;
}

/* ==================================================================
   WP ULike いいねボタン
   ================================================================== */
.wpulike .wp_ulike_general_class .wp_ulike_btn {
  border-radius: 24px !important;
}
.wpulike .wp_ulike_btn.wp_ulike_btn_is_active {
  background: var(--hub-rose) !important;
  border-color: var(--hub-rose) !important;
}

/* ==================================================================
   ページネーション
   ================================================================== */
#bbpress-forums .bbp-pagination {
  margin-top: 26px;
  text-align: center;
}
#bbpress-forums .bbp-pagination a,
#bbpress-forums .bbp-pagination span.current {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 22px;
  font-size: 0.9rem;
  color: var(--hub-sage);
  border: 1px solid var(--hub-line);
  margin: 0 3px;
  text-decoration: none;
  transition: all 0.2s;
}
#bbpress-forums .bbp-pagination a:hover,
#bbpress-forums .bbp-pagination span.current {
  background: var(--hub-rose);
  color: #fff;
  border-color: var(--hub-rose);
}

/* ==================================================================
   サイドバー：デフォルトの素っ気ないウィジェットを隠す
   ================================================================== */
.widget_recent_entries,
.widget_recent_comments,
.widget_archive,
.widget_categories {
  display: none;
}

/* ==================================================================
   レスポンシブ
   ================================================================== */
@media (max-width: 768px) {
  .hub-hero {
    padding: 38px 26px;
    border-radius: 18px;
  }
  .hub-hero__inner { max-width: 100%; }
  .hub-hero__title { font-size: 1.6rem; }
  .hub-hero__art {
    width: 170px;
    opacity: 0.45;
    right: -30px;
  }
  #bbpress-forums { font-size: 1rem; }
  #bbpress-forums li.bbp-forum-info,
  #bbpress-forums li.bbp-topic-title {
    padding: 18px 18px;
  }
  #bbpress-forums #new-post,
  #bbpress-forums div.bbp-topic-form,
  #bbpress-forums div.bbp-reply-form {
    padding: 22px 20px;
  }
}
