@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){
  /*必要ならばここにコードを書く*/
}
/* =========================================================
   KIRATABI プレミアム・デザイン (Cocoon最適化版)
   ========================================================= */
/* --- 1. 全体フォント＆背景の極上化 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #f8f9fa; /* ほんのり上品なオフホワイト */
    color: #333333;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
/* --- 2. メインコンテンツ（記事枠）のカード化 --- */
.main {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 30px;
    margin-bottom: 30px;
    border: none;
}
@media screen and (max-width: 480px) {
    .main { padding: 15px; border-radius: 0; }
}
/* --- 3. 記事タイトル（H1）のリッチ化 --- */
.entry-title {
    font-weight: 700;
    font-size: 1.8em;
    line-height: 1.4;
    color: #2c3e50;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
/* --- 4. アイキャッチ画像を画面いっぱいに --- */
.eye-catch img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}
/* --- 5. 見出し（H2）のプロ仕様リボン装飾 --- */
.article h2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 1.4em;
    box-shadow: 0 3px 10px rgba(79, 172, 254, 0.3);
    border: none;
    margin-top: 50px;
    margin-bottom: 25px;
}
/* --- 6. 見出し（H3）の洗練された下線 --- */
.article h3 {
    border-bottom: 3px solid #4facfe;
    border-left: none;
    padding-bottom: 8px;
    padding-left: 0;
    font-size: 1.25em;
    color: #2c3e50;
    margin-top: 40px;
}
/* --- 7. サイドバーのカード化（寂しさ解消） --- */
.sidebar {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 25px;
}
.sidebar h3 {
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 1em;
    text-align: center;
    color: #334155;
    border: none;
}
/* --- 8. 【アフィリエイト特化】マイクロコピーの強調ボックス --- */
.micro-copy-box {
    background: #fff8e1;
    border: 2px dashed #ffb300;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
    color: #d84315;
    animation: pulse 2s infinite; /* ふんわり光るアニメーション */
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 179, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}
/* --- 9. ボタンのホバー（クリック）アニメーション --- */
a.button, .btn {
    transition: all 0.3s ease;
    border-radius: 50px !important;
}
a.button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}