@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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



/*------------------------------------------------------------------------------------------------------------
 * ここから独自CSS
 *------------------------------------------------------------------------------------------------------------ */

/* =========================================
   ヘッダーサブメニューの長文対応（はみ出し防止）
   ========================================= */
.navi-in .sub-menu {
    width: 320px !important; /* メニューの枠をデフォルトより広くする */
}

.navi-in .sub-menu li a {
    white-space: normal !important; /* テキストの自動折り返しを許可する */
    word-break: break-all !important; /* 枠の端にきたら必ず改行させる */
    line-height: 1.5 !important; /* 2行になった時でも読みやすいように行間を広げる */
    padding: 12px 15px !important; /* 余白を少しゆったり持たせる */
}


/* ===================================================
   AI Engine カスタマイズ：RPG風メッセージウィンドウ
=================================================== */

/* チャットウィンドウ全体（黒背景・白枠） */
.mwai-chatbot-container {
    background-color: #000000 !important;
    border: 4px solid #ffffff !important;
    border-radius: 6px !important;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5) !important; /* レトロなドロップシャドウ */
    padding: 10px !important;
}

/* AIとユーザーの吹き出し背景を透明化して一体化させる */
.mwai-chatbot-container .mwai-message {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 15px !important;
}

/* メッセージのテキスト（白文字・明朝体） */
.mwai-chatbot-container .mwai-text {
    color: #ffffff !important;
    font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    text-shadow: 1px 1px 0px #000 !important;
}

/* キャラクター（AI）の名前の色を少し変える（例：薄い黄色） */
.mwai-chatbot-container .mwai-name {
    color: #fce205 !important;
    font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
    font-weight: bold !important;
    margin-bottom: 5px !important;
}

/* アバター画像（四角い枠にしてレトロ感を出す） */
.mwai-chatbot-container .mwai-avatar {
    border: 2px solid #ffffff !important;
    border-radius: 0 !important; /* 丸みを消す */
    background-color: #333 !important;
}

/* 入力エリア（コマンドウィンドウ風） */
.mwai-chatbot-container .mwai-input {
    border-top: 2px dashed #ffffff !important; /* 区切り線を点線に */
    background-color: transparent !important;
    margin-top: 10px !important;
    padding-top: 15px !important;
}

/* テキスト入力欄 */
.mwai-chatbot-container .mwai-input textarea {
    background-color: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #555 !important;
    font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
}

/* 送信ボタン */
.mwai-chatbot-container .mwai-input button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 4px !important;
    font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
}

.mwai-chatbot-container .mwai-input button:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    cursor: pointer;
}