@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){
  /*必要ならばここにコードを書く*/
}


/* ========================================
   吹き出しショートコード [hukidashi] 用CSS
   ======================================== */

/* 全体のラッパー */
.hukidashi-wrap {
    display: flex;
    align-items: flex-start;
    margin: 1.5em 0;
    gap: 16px;
}

/* 右寄せ時は逆並び */
.hukidashi-right {
    flex-direction: row-reverse;
}

/* アイコン部分 */
.hukidashi-icon {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.hukidashi-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.hukidashi-name {
    display: block;
    margin-top: 4px;
    font-size: 0.75em;
    color: #666;
    line-height: 1.3;
}

/* 吹き出し本体 */
.hukidashi-balloon {
    position: relative;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 80%;
    line-height: 1.8;
    font-size: 0.95em;
}

/* 左向きの三角（アイコンが左のとき） */
.hukidashi-left .hukidashi-balloon::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -10px;
    border-width: 8px 10px 8px 0;
    border-style: solid;
    border-color: transparent #f5f5f5 transparent transparent;
}

/* 右向きの三角（アイコンが右のとき） */
.hukidashi-right .hukidashi-balloon::before {
    content: "";
    position: absolute;
    top: 20px;
    right: -10px;
    border-width: 8px 0 8px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #f5f5f5;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
    .hukidashi-icon {
        width: 60px;
    }
    .hukidashi-icon img {
        width: 60px;
        height: 60px;
    }
    .hukidashi-balloon {
        max-width: 100%;
        padding: 12px 14px;
    }
}