@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. サイト全体レイアウト・ヘッダー・フッター背景色（スロウエイジング風）
========================================== */
/* 不要なブログカードの要素のみ非表示 */
.blogcard-snippet, 
.blogcard-date {
    display: none !important;
}

/* ヘッダー背景色と文字色（ニュアンスグレージュ） */
#header,
.header-container,
.navi {
    background-color: #5C534E !important;
}
#header a,
.header-container a,
.site-name-text,
.navi-in a {
    color: #ffffff !important;
}

/* フッター背景色（同色で統一） */
#footer,
.footer-container {
    background-color: #5C534E !important;
}


/* ==========================================
** 2. 見出し（H2・H3）デザイン
========================================== */
/* H2見出し：文字太め・色は暗めトーン（#3D3531）・上品なグレージュ下線 */
.article h2,
#main .article h2,
.entry-content h2 {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #5C534E !important;
    color: #3D3531 !important;
    text-decoration: none !important;
    padding: 0 0 8px 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 2em !important;
    margin-bottom: 1em !important;
}

.article h2::before,
.article h2::after {
    display: none !important;
    content: none !important;
}

/* H3見出し：1重の薄め下線 */
.article h3,
#main .article h3,
.entry-content h3 {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #8C827B !important;
    color: #3D3531 !important;
    text-decoration: none !important;
    text-underline-position: under !important;
    padding: 0 0 6px 0 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 1.8em !important;
    margin-bottom: 0.8em !important;
}

.article h3 *,
.entry-content h3 *,
.article h3 a,
.entry-content h3 a,
.article h3 span,
.entry-content h3 span {
    color: #3D3531 !important;
    border: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
    background: none !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.article h3::before,
.article h3::after,
#main .article h3::before,
#main .article h3::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
}


/* ==========================================
** 3. サイドバー・引用・カード画像
========================================== */
/* サイドバー・ウィジェットタイトル */
.sidebar .widget-title,
#sidebar .widget-title {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #5C534E !important;
    color: #3D3531 !important;
    text-align: left !important;
    text-decoration: none !important;
    padding: 0 0 6px 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.sidebar .widget-title::after,
#sidebar .widget-title::after {
    display: block !important;
    content: "INFORMATION" !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: #999999 !important;
    letter-spacing: 0.1em !important;
    margin-top: 2px !important;
    text-transform: uppercase !important;
}

.sidebar .widget-title::before {
    display: none !important;
    content: none !important;
}

.sidebar .widget-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
}

/* 引用 (blockquote) */
.entry-content blockquote {
    background-color: #FBF9F8 !important;
    border: none !important;
    color: #555555 !important;
    margin: 1.5em 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.entry-content blockquote * {
    color: #555555 !important;
}

/* 一覧画像をすべて16:9比率に強制統一 */
.entry-card-thumb img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
}


/* ==========================================
** 4. スティッキーCVバー
========================================== */
.cv-sticky-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    pointer-events: none;
}

.cv-floating-bar-sticky {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 95px;
    background-color: #ffffff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    display: flex;
    justify-content: center; 
    align-items: center;     
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 8px 8px 0 0;
    pointer-events: auto;
}

.cv-btn-container-clean {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cv-micro-copy-red {
    font-size: 13px; 
    font-weight: 900; 
    color: #d9534f !important; 
    margin-bottom: 5px;
    white-space: nowrap;
}

.cv-action-btn-clean {
    background: linear-gradient(180deg, #34c759 0%, #249e3f 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    width: 100%;
    height: 50px;     
    line-height: 50px;
    font-size: 18px;  
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 50px; 
    box-shadow: 0 4px 10px rgba(36, 158, 63, 0.35);
    text-align: center;
    white-space: nowrap;
    display: block;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.15);
    box-sizing: border-box;
    cursor: pointer;
}

@keyframes cvPulseClean {
    0% { transform: scale(1); }
    5% { transform: scale(1.03); }
    10% { transform: scale(0.98); }
    15% { transform: scale(1.01); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

.pulse-animation-clean {
    animation: cvPulseClean 3s infinite ease-in-out;
}

@media (max-width: 800px) {
    .cv-sticky-wrapper {
        max-width: 100%;
    }
    .cv-floating-bar-sticky {
        position: fixed;               
        bottom: 0;                      
        top: auto;                      
        left: 0;                        
        right: 0;
        width: auto;
        height: 85px;       
        border-radius: 0;   
        padding: 0 15px;
        box-sizing: border-box;        
        margin: 0;
    }
    .cv-micro-copy-red { font-size: 12px; margin-bottom: 3px; }
    .cv-action-btn-clean { height: 44px; line-height: 44px; font-size: 16px; }
}


/* ==========================================
** 5. オールインワン診断アプリ [shindan_app]
========================================== */
#shindan-app-container.shindan-app-wrapper,
.shindan-app-wrapper {
    max-width: 600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.shindan-app-title {
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}

.shindan-genre-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
}

.shindan-genre-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 6px !important;
    background: #fff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.shindan-genre-card:hover {
    border-color: #0284c7 !important;
    background: #f0f9ff !important;
    transform: translateY(-2px) !important;
}

.shindan-genre-icon { font-size: 28px !important; margin-bottom: 6px !important; }
.shindan-genre-name {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #334155 !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.shindan-loading-box { text-align: center !important; padding: 40px 20px !important; }
.shindan-spinner {
    width: 48px !important;
    height: 48px !important;
    border: 4px solid #e0f2fe !important;
    border-top: 4px solid #0284c7 !important;
    border-radius: 50% !important;
    margin: 0 auto 20px auto !important;
    animation: shindanSpin 0.9s linear infinite !important;
}

@keyframes shindanSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shindan-loading-title { font-size: 16px !important; font-weight: bold !important; color: #1e293b !important; margin-bottom: 8px !important; }
.shindan-loading-sub { font-size: 13px !important; color: #64748b !important; margin: 0 !important; }

.shindan-wrapper {
    max-width: 600px !important;
    margin: 20px auto !important;
    padding: 24px 20px !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.05) !important;
    box-sizing: border-box !important;
}

.shindan-header { margin-bottom: 20px !important; }

.shindan-step-text {
    font-size: 13px !important;
    font-weight: bold !important;
    color: #0284c7 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    letter-spacing: 0.05em !important;
}

.shindan-step-badge {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    margin-right: 4px !important;
}

.shindan-progress-bg {
    width: 100% !important;
    height: 8px !important;
    background: #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.shindan-progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #38bdf8, #0284c7) !important;
    border-radius: 10px !important;
    transition: width 0.4s ease !important;
}

.shindan-question-card {
    background: #ffffff !important;
    padding: 24px 18px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid #e2e8f0 !important;
}

.shindan-question-title {
    font-size: 17px !important;
    font-weight: bold !important;
    color: #1e293b !important;
    margin: 0 0 20px 0 !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

.shindan-options-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.shindan-option-card {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 12px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01) !important;
}

.shindan-option-card:hover {
    border-color: #0284c7 !important;
    background: #f0f9ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15) !important;
}

.shindan-option-text {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #334155 !important;
}

.shindan-back-to-menu {
    display: inline-block !important;
    margin-bottom: 15px !important;
    font-size: 13px !important;
    color: #64748b !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.shindan-back-to-menu:hover { color: #0284c7 !important; }

.shindan-result-badge {
    display: inline-block !important;
    background: linear-gradient(135deg, #0284c7, #1e40af) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 15px !important;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25) !important;
}

.shindan-analysis-box {
    background: #f0f9ff !important;
    border-left: 4px solid #0284c7 !important;
    padding: 14px 16px !important;
    border-radius: 0 12px 12px 0 !important;
    margin-bottom: 22px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
}

.shindan-analysis-box strong { color: #1e293b !important; }

.shindan-section-box, 
.shindan-product-box {
    margin-bottom: 22px !important;
    border-top: 1px dashed #cbd5e1 !important;
    padding-top: 18px !important;
}

.shindan-section-title {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #1e293b !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.4 !important;
}

.shindan-product-name,
.shindan-result-title {
    font-size: 17px !important;
    font-weight: bold !important;
    color: #0369a1 !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

.shindan-result-care,
.shindan-result-desc-text {
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

.shindan-btn-group { margin-top: 25px !important; }

.shindan-aff-link,
.shindan-cta-btn {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #1e40af 100%) !important;
    color: #ffffff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    padding: 15px 20px !important;
    border-radius: 30px !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.35) !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.shindan-aff-link:hover,
.shindan-cta-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 20px rgba(2, 132, 199, 0.45) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 480px) {
    .shindan-genre-grid { gap: 8px !important; }
    .shindan-options-grid { grid-template-columns: 1fr !important; }
}


/* ==========================================
** 6. 背景色・H4見出し修正・フッター文字色（スロウエイジング用）
========================================== */

/* サイト全体の背景色（柔らかい生成り系） */
body {
    background-color: #F8F6F4 !important;
}

/* H4見出しの修正（H3より控えめなドット付きデザイン） */
.article h4,
#main .article h4,
.entry-content h4 {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    color: #4A423D !important;          /* H3より柔らかい文字色 */
    font-size: 15px !important;           /* H3(18px)より小さく設定 */
    font-weight: 700 !important;
    padding: 0 0 0 14px !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.6em !important;
    position: relative !important;
    box-shadow: none !important;
}

/* 左側に小さなアクセントドット（グレージュ）を表示 */
.article h4::before,
#main .article h4::before,
.entry-content h4::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #8C827B !important;
    border-radius: 50% !important;
    display: block !important;
}

.article h4::after {
    display: none !important;
    content: none !important;
}

/* フッター内の全テキスト・リンク・ロゴ・著作権表示 */
#footer a,
#footer a:link,
#footer a:visited,
.footer-navi a,
.footer-navi-a,
.footer-bottom-logo,
.footer-bottom-logo a,
.copyright,
.copyright * {
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* フッターメニュー間の区切り線（｜） */
.footer-navi li::before,
.footer-navi li::after,
.footer-navi-a::after {
    color: #ffffff !important;
    opacity: 0.5 !important;
}

/* リンクホバー時（シャンパンゴールド） */
#footer a:hover,
.footer-navi a:hover,
.footer-bottom-logo a:hover {
    color: #E8D3A7 !important;
    opacity: 1 !important;
}