@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: 漫画版：Version 2.2.3 サークルボタン中央揃え・全デザイン完全復旧版
Template: cocoon-master
Version: 2.2.3
*/

/* --- 1. 基本設定（1.6.3準拠） --- */
body { background-color: #f4f7f9; font-family: sans-serif; }
.story-text, .dmm-review-text { font-size: 16px !important; line-height: 1.95 !important; color: #333 !important; }
strong { font-weight: 900 !important; color: #000 !important; }

.article h2 {
    background-color: #001f3f !important; color: #ffffff !important;
    border-left: 8px solid #00c853 !important; padding: 15px 20px !important;
    border-radius: 4px; font-weight: 900 !important; clear: both !important;
    margin-top: 50px !important;
}

/* --- 2. カルーセル --- */
#carousel.carousel { border: 3px solid #ffcf00 !important; background: #001f3f !important; padding: 25px 0 15px !important; border-radius: 8px !important; position: relative !important; overflow: visible !important; margin: 20px 0 !important; box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important; }
#carousel.carousel::before { content: "👑 今週のオススメ超人気作" !important; display: block !important; position: absolute !important; top: -18px !important; left: 20px !important; background: linear-gradient(135deg, #ff4500 0%, #ff8c00 50%, #ffa500 100%) !important; color: #000 !important; text-shadow: 0 0 5px #fff, 0 0 2px #fff !important; font-size: 12px !important; font-weight: 900 !important; padding: 6px 20px !important; border-radius: 50px !important; z-index: 100 !important; border: 2px solid #ffffff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important; animation: recommend-pulse 2.5s infinite ease-in-out !important; }

/* --- 3. 緑ボタン（復旧） --- */
.manga-cta-container { width: 100% !important; margin: 45px 0 75px !important; text-align: center !important; }
.manga-micro-copy-text { color: #E60000 !important; font-weight: 900 !important; font-size: 0.9em !important; display: block !important; margin-bottom: 15px !important; }
.manga-btn-wide-green { background: #52d681 !important; border-radius: 50px !important; box-shadow: 0 5px 0 #3eb46b !important; display: block !important; width: 100% !important; max-width: 550px !important; margin: 0 auto !important; overflow: hidden !important; }
.manga-btn-wide-green a { color: #fff !important; font-weight: 900 !important; padding: 16px 10px !important; display: block !important; text-decoration: none !important; line-height: 1.2 !important; white-space: nowrap !important; font-size: clamp(12px, 3.8vw, 19px) !important; text-align: center !important; letter-spacing: -0.01em !important; }
.manga-btn-wide-green a::after { content: "（最大90%OFFクーポンで購入する）" !important; display: block !important; font-size: 0.75em !important; font-weight: 700 !important; margin-top: 4px !important; opacity: 0.9 !important; white-space: normal !important; }

/* --- 4. サークル情報：デザインと中央揃え --- */
.circle-info-card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 8px !important; margin: 20px 0 35px !important; box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important; overflow: hidden !important; clear: both !important; }
.circle-card-label { background: #001f3f !important; color: #fff !important; padding: 8px 15px !important; font-size: 12px !important; font-weight: 900 !important; }
.circle-card-body { padding: 20px !important; }
.circle-name { font-size: 18px !important; font-weight: 900 !important; color: #001f3f !important; }

/* ★ ボタンを中央に寄せる設定 */
.circle-link-btn-wrapper { text-align: center !important; margin-top: 15px !important; }
.circle-link-btn-small a {
    display: inline-block !important;
    background: #f1f5f9 !important;
    color: #0066cc !important;
    border: 1px solid #00c853 !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 0 #cbd5e0 !important;
    transition: all 0.2s ease !important;
}

/* --- 5. 画像🔍・タグ・余白・PCフッター保護 --- */
/*.gallery-container { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 15px !important; }
.gallery-item { position: relative !important; background: #fff; border: 1px solid #ddd; padding: 6px; border-radius: 4px; width: 100% !important; margin-bottom: 15px; }
.gallery-item::after { content: "タップで拡大 🔍" !important; position: absolute !important; bottom: 12px !important; right: 12px !important; background: rgba(0, 0, 0, 0.4) !important; color: #fff !important; font-size: 10px !important; padding: 4px 12px !important; border-radius: 4px !important; z-index: 10; pointer-events: none; }*/

.integrated-tag-section { margin-top: 50px; padding-top: 30px; border-top: 1px dashed #ddd; clear: both; }
.integrated-tag-label { display: block !important; background-color: #001f3f !important; color: #ffffff !important; border-left: 6px solid #00c853 !important; padding: 10px 15px !important; border-radius: 4px; font-size: 0.95em !important; font-weight: 900 !important; margin-bottom: 25px !important; }
.integrated-tag-list { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; padding: 0 5px !important; }
.integrated-tag-link { display: inline-block !important; background-color: #f1f5f9 !important; color: #475569 !important; padding: 8px 18px !important; border-radius: 50px !important; font-size: 14px !important; font-weight: 700 !important; text-decoration: none !important; box-shadow: 0 3px 0 #cbd5e0 !important; border: 1px solid #e2e8f0 !important; margin-bottom: 8px !important; }
.tag-hash { color: #00c853 !important; margin-right: 2px; font-weight: 900; }

/* 開閉ボックス */
.content-showcase-box { background: #ffffff !important; border: 1px solid #ddd !important; border-radius: 8px !important; padding: 25px !important; margin-bottom: 65px !important; position: relative !important; clear: both !important; box-shadow: 0 2px 15px rgba(0,0,0,0.05) !important; }
.showcase-inner { max-height: 120px; overflow: hidden; position: relative; transition: max-height 0.6s ease; }
.showcase-inner::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 75px; background: linear-gradient(transparent, #ffffff); pointer-events: none; }
.show-more-check:checked ~ .showcase-inner { max-height: 5000px !important; }
.show-more-check:checked ~ .showcase-inner::after { opacity: 0 !important; }
.show-more-btn { display: flex !important; justify-content: center !important; align-items: center !important; margin: 35px auto !important; width: fit-content !important; min-width: 280px !important; background: #e2e8f0 !important; border-radius: 50px !important; box-shadow: 0 4px 0 #cbd5e0 !important; padding: 18px 25px !important; cursor: pointer; position: relative !important; }
.show-more-btn span { display: none !important; }
.show-more-btn::before { font-size: clamp(12px, 3.4vw, 15px) !important; font-weight: 900 !important; color: #475569 !important; display: block !important; white-space: nowrap !important; }
#show-more-story ~ .show-more-btn::before { content: "▼ 「あらすじ」の続きを読む ▼"; }
#show-more-story:checked ~ .show-more-btn::before { content: "▲ 「あらすじ」を閉じる ▲"; }
#show-more-review ~ .show-more-btn::before { content: "▼ 「感想・レビュー」の続きを読む ▼"; }
#show-more-review:checked ~ .show-more-btn::before { content: "▲ 「感想・レビュー」を閉じる ▲"; }
#show-more-piracy ~ .show-more-btn::before { content: "▼ 「無料で読む方法は？」の続きを読む ▼"; }
#show-more-piracy:checked ~ .show-more-btn::before { content: "▲ 「無料で読む方法は？」を閉じる ▲"; }

/* スマホ専用 */
@media screen and (max-width: 480px) {
    .single-post #footer { background-color: #333333 !important; border: none !important; padding: 20px 0 !important; margin-bottom: 65px !important; }
    .single-post #footer .footer-bottom, .single-post #footer .copyright, .single-post #footer .footer-nav { display: none !important; }
    .single-post #footer .footer-widgets a { color: #ffffff !important; font-weight: 700 !important; text-decoration: underline !important; display: block !important; padding: 10px !important; }
    .page #footer, .archive #footer { background-color: transparent !important; margin-bottom: 70px !important; }
    .wp-block-tag-cloud, .wp-block-categories-list, .tagcloud { display: flex !important; visibility: visible !important; height: auto !important; }
}

/* PC専用フッター */
@media screen and (min-width: 481px) {
    #footer { background-color: #333333 !important; display: block !important; visibility: visible !important; }
}