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

/* --------------------------------------------------
 * カスタムボタン: H2見出し直前挿入用スタイル
 * -------------------------------------------------- */

/* ボタンを中央に配置し、上下に余白を設定 */
.custom-insert-button {
    text-align: center; /* ボタンを中央に配置 */
    margin: 30px 0 !important; /* 上下30pxの余白を設定 */
}

/* 青色の丸型カスタムボタンのスタイル定義 */
.custom-round-blue-btn {
    /* 色と形状の定義 */
    background-color: #007bff !important; /* 青色 */
    color: #fff !important; /* テキストの色を白に */
    border-radius: 50px !important; /* 丸型（カプセル型） */
    border: none !important; /* 枠線をなしに */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
    
    /* サイズと配置の調整 */
    padding: 12px 30px !important; /* パディングを調整してボタンを大きく */
    font-size: 1.1rem !important; /* フォントサイズを調整 */
    text-decoration: none !important; /* 下線を非表示 */
}

/* ホバー時のスタイル */
.custom-round-blue-btn:hover {
    background-color: #0056b3 !important; /* ホバー時に少し暗い青に */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* 影を強調 */
    opacity: 0.9; /* 透明度を少し下げて視覚的な変化を与える */
}

/* 全体を囲うピンクの太枠 */
.dendo-pink-frame {
    border: 3px solid #ff4b8b;
    border-radius: 15px;
    padding: 20px 10px;
    margin: 30px 0;
    background-color: rgba(255, 75, 139, 0.05);
}

/* タイトル部分 */
.dendo-title-area {
    text-align: center;
    margin-bottom: 10px;
}
.dendo-main-title {
    font-weight: bold;
    font-size: 1.4em;
    color: #ff4b8b;
    margin-bottom: 5px !important;
}
.dendo-admin-msg {
    font-size: 0.9em;
    color: #ff4b8b;
    font-weight: bold;
    margin: 0 !important;
}

/* 横スクロールのアナウンス文字 */
.dendo-scroll-notice {
    text-align: center;
    font-size: 10px;
    color: #ff4b8b;
    margin-bottom: 10px !important;
    opacity: 0.8;
}

/* 横スクロールのコンテナ */
.dendo-scroll-outer {
    width: 100%;
}
.dendo-scroll-inner {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 5px 15px;
    -webkit-overflow-scrolling: touch;
}

/* 各記事カード */
.dendo-card {
    flex: 0 0 150px;
    text-decoration: none !important;
}
.dendo-img-wrap img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.dendo-card-title {
    display: block;
    font-size: 12px;
    color: #fff; /* サイトに合わせて調整してください */
    margin-top: 8px;
    white-space: normal;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
}

/* スクロールバーのカスタマイズ（ピンク） */
.dendo-scroll-inner::-webkit-scrollbar {
    height: 4px;
}
.dendo-scroll-inner::-webkit-scrollbar-thumb {
    background: #ff4b8b;
    border-radius: 10px;
}