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

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

/* ==================================================
 * ぐっぽん風ダークパープルカスタムスタイル
 * ================================================== */

/* 1. 全体背景と基本テキスト */
body {
    background: linear-gradient(135deg, #090710 0%, #110d21 100%) !important;
    background-color: #090710 !important;
    background-attachment: fixed !important;
    color: #e0e0f0 !important;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* メインラッパーとコンテンツ背景の透過調整 */
#content, #content-in, .main, #main {
    background: transparent !important;
}

/* 2. ヘッダー・ロゴ・ナビゲーション */
#header {
    background: rgba(17, 13, 33, 0.75) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-header a, .site-name a {
    color: #ff6b81 !important;
    text-shadow: 0 0 10px rgba(255, 107, 129, 0.6);
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* グローバルナビ */
#navi, .navi-in, .menu-g, .menu-g-in {
    background: transparent !important;
}

#navi .navi-in a {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

#navi .navi-in a:hover {
    color: #ff9f43 !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

/* 3. 記事一覧カードレイアウト */
.entry-card-wrap, .ect-entry-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    overflow: hidden;
    padding: 15px !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(8px);
}

.entry-card-wrap:hover, .ect-entry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 129, 0.4) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 129, 0.15);
}

.entry-card-title, .entry-title a {
    color: #ffffff !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    line-height: 1.5;
    text-decoration: none;
}

.entry-card-title a:hover, .entry-title a:hover {
    color: #ff6b81 !important;
}

.entry-card-info, .post-meta {
    color: #a0a0b0 !important;
}

/* 4. サイドバーとウィジェット */
#sidebar {
    background: transparent !important;
}

.widget {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
    backdrop-filter: blur(8px);
    color: #e0e0f0 !important;
}

.widget-title, .sidebar h3 {
    color: #ff9f43 !important;
    border-left: 4px solid #ff6b81 !important;
    padding-left: 10px !important;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    background: transparent !important;
    border-bottom: none !important;
}

.widget a {
    color: #e0e0f0 !important;
    text-decoration: none;
}

.widget a:hover {
    color: #ff6b81 !important;
}

/* 5. 記事詳細ページ (投稿本文) */
#main .post, .article {
    background: rgba(17, 13, 33, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 35px !important; /* 少し余白を広くして優雅に */
    color: #f1f2f6 !important; /* よりクッキリした白で視認性アップ */
}

.article h1.entry-title {
    color: #ffffff !important;
    font-size: 2.1em !important; /* 少し大きく存在感を */
    border-bottom: 2px solid #ff6b81 !important;
    padding-bottom: 12px !important;
    font-weight: 700;
    margin-bottom: 30px !important;
}

.article h2 {
    color: #ffffff !important;
    background: rgba(255, 107, 129, 0.08) !important;
    border-left: 5px solid #ff6b81 !important;
    padding: 14px 20px !important;
    border-radius: 4px;
    margin-top: 45px !important;
    margin-bottom: 24px !important;
    font-weight: bold;
    font-size: 1.5em !important;
}

.article h3 {
    color: #ffd54f !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15) !important;
    padding-bottom: 8px !important;
    margin-top: 35px !important;
    margin-bottom: 20px !important;
    font-size: 1.25em !important;
}

/* 投稿本文の読みやすさ向上 (フォントサイズ、行間、余白の最適化) */
.article p, .entry-content p {
    font-size: 16.5px !important;
    line-height: 1.85 !important;
    margin-bottom: 26px !important;
    color: #f1f2f6 !important;
    letter-spacing: 0.04em !important;
}

.article ul, .article ol, .entry-content ul, .entry-content ol {
    margin-bottom: 26px !important;
    padding-left: 24px !important;
}

.article li, .entry-content li {
    font-size: 16.5px !important;
    line-height: 1.8 !important;
    margin-bottom: 12px !important;
    color: #f1f2f6 !important;
}

/* 6. タグ・リンクバッジ */
.tagcloud a, .entry-tag a, .post-tag a {
    background: rgba(255, 107, 129, 0.05) !important;
    color: #ff6b81 !important;
    border: 1px solid rgba(255, 107, 129, 0.2) !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 0.85em !important;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 5px;
    text-decoration: none;
}

.tagcloud a:hover, .entry-tag a:hover, .post-tag a:hover {
    background: #ff6b81 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 107, 129, 0.4);
}

/* 7. フッター */
#footer {
    background: #090710 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #a0a0b0 !important;
}

#footer a {
    color: #a0a0b0 !important;
}

#footer a:hover {
    color: #ff6b81 !important;
}

/* 8. レスポンシブ調整 */
@media screen and (max-width: 1023px) {
    #main .post, .article {
        padding: 20px !important;
    }
}

/* ==================================================
 * 9. アフィリエイトCTAネオンボタン & マイクロコピー
 * ================================================== */
.dmm-cta-container {
    text-align: center;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

/* 揺れるマイクロコピー */
.dmm-cta-attention {
    display: inline-block;
    background: #ff9f43 !important;
    color: #090710 !important;
    font-weight: 900 !important;
    font-size: 0.85em !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    margin-bottom: 12px !important;
    position: relative !important;
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.5) !important;
    animation: bounceSlow 1.5s infinite alternate !important;
}

.dmm-cta-attention::after {
    content: '' !important;
    position: absolute !important;
    bottom: -6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-width: 6px 6px 0 !important;
    border-style: solid !important;
    border-color: #ff9f43 transparent !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
}

/* 3Dグラデーションネオンボタン */
.dmm-cta-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, #ff6b81 0%, #ff4757 50%, #ff9f43 100%) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 1.3em !important;
    padding: 16px 50px !important;
    border-radius: 35px !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 6px 25px rgba(255, 107, 129, 0.45), 
                inset 0 -4px 0 rgba(0, 0, 0, 0.25),
                inset 0 4px 0 rgba(255, 255, 255, 0.25) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    min-width: 290px;
    letter-spacing: 0.05em !important;
}

.dmm-cta-btn:hover {
    transform: translateY(-4px) scale(1.04) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 129, 0.7), 
                inset 0 -2px 0 rgba(0, 0, 0, 0.2),
                inset 0 4px 0 rgba(255, 255, 255, 0.35) !important;
    filter: brightness(1.15) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.dmm-cta-btn:active {
    transform: translateY(1px) scale(0.98) !important;
    box-shadow: 0 3px 10px rgba(255, 107, 129, 0.4), 
                inset 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
}

/* ==================================================
 * 10. パッケージ画像ホバーズームと枠線のグロウ効果
 * ================================================== */
.dmm-banners {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin: 25px 0 35px 0 !important;
    justify-content: center !important;
}

.dmm-banner-item {
    text-align: center !important;
    max-width: 160px !important;
    transition: all 0.3s ease !important;
}

.dmm-banner-item a {
    display: block !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

.dmm-banner-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.dmm-banner-item:hover {
    transform: translateY(-6px) !important;
}

.dmm-banner-item:hover a {
    border-color: rgba(255, 107, 129, 0.6) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 129, 0.45) !important;
}

.dmm-banner-item:hover img {
    transform: scale(1.08) !important;
}

.dmm-banner-detail-link {
    font-size: 11px !important;
    margin-top: 8px !important;
    font-weight: bold !important;
    display: inline-block !important;
}

.dmm-banner-detail-link a {
    color: #ff6b81 !important;
    text-decoration: underline !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.dmm-banner-detail-link a:hover {
    color: #ff9f43 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* アニメーションキーフレーム */
@keyframes bounceSlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

