@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/
/************************************
** 非公開メモのデザイン
************************************/
.um-private-note-container {
    margin-top: 5px;         /* 上の要素との距離を広く */
    margin-bottom: 5px;      /* 下のフォームとの距離も追加 */
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.um-private-note-header {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5em;
}

.um-private-note-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.5em;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    background: #fff;
    overflow-y: auto;
    transition: height 0.3s ease;
    margin-bottom: 10px;
}

.um-private-note-textarea.collapsed {
    height: 100px;
}

.um-private-note-textarea.expanded {
    height: 300px;
}

.um-note-toggle-btn,
.um-private-note-save-btn {
    display: inline-block;
    margin: 5px 5px 5px 0;
    padding: 6px 12px;
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #0073aa;
    color: #fff;
}

.um-note-toggle-btn:hover,
.um-private-note-save-btn:hover {
    background-color: #005f8d;
}

.um-private-note-result {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: green;
}

/************************************
** BetterMessagesの新しい会話マークの直後にテキスト
************************************/
.bp-messages-side-threads .chat-header.side-header a.new-message {
  display: inline-flex;
  align-items: center;
}

.bp-messages-side-threads .chat-header.side-header a.new-message svg {
  display: none !important;
}

.bp-messages-side-threads .chat-header.side-header a.new-message::after {
  content: "新しい会話";
  display: inline-block;
  font-size: 14px;
  color: #333;
  margin-left: 4px;
  white-space: nowrap;
}

/************************************
** BetterMessagesのチャットの個人設定を無効
************************************/
.bpbm-user-options > .bpbm-options-group:first-of-type {
  pointer-events: none !important;
  opacity: 0.6 !important;
}


/************************************
** UltimateMembersのボタン色
************************************/
.um .um-button {
    background-color: #33d6ff !important;
    color: #fff !important;
}

.um .um-button:hover {
    background-color: #005bb5 !important;
}

.um .um-button.um-alt {
    background-color: #ff99ff !important;
    color: #fff !important;
}

/**/
/* メニューのリンクの位置をrelativeにしてバッジの絶対配置基準に */
.menu-item a {
  position: relative;
  display: inline-block;
}

/* 赤丸バッジのスタイル */
/* アイコンの位置基準 */
.custom-menu-icon {
  position: relative;
  display: inline-block;
}

/* 赤丸未読バッジ */
/* アイコンの親要素 */
.custom-menu-icon {
  position: relative;
  display: inline-block;
}

/* 電球バッジアイコン */
.bm-unread-icon {
  position: absolute;
  top: 3px;      /* 下に1px移動のまま */
  right: 12px;   /* 8px + 2px = 10px で左に2px移動 */
  font-size: 20px;  /* サイズ18pxに変更 */
  color: #ff0000;
  z-index: 10;
  pointer-events: none;
}

/************************************
** CF7の送信後のメッセージ
************************************/
.wpcf7-response-output {
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 20px;
  border: 1px solid transparent;
  border-color: #a7d7f9 !important;
  background-color: #e7f5ff !important;
  color: #1a3c5f !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.wpcf7-mail-sent-ok {
  border-color: #c0e4fb !important;  /* より背景と馴染む淡いブルー */
  background-color: #e7f5ff !important;
  color: #1a3c5f !important;
}

.wpcf7-validation-errors {
  background-color: #fff3f3 !important;
  border-color: #f3bdbd !important;
  color: #612929 !important;
}

/************************************
** アコーディオンcss
************************************/


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
