@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. サイト全体レイアウト非表示・調整
************************************/
#header, #footer,
.blogcard-snippet, 
.blogcard-date {
    display: none !important;
}

/==========================================
** 2. 見出し（H2・H3）デザイン
==========================================*/
/* H2見出し */
.article h2, #main .article h2, .entry-content h2 {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #0B132B !important;
    color: #333333 !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見出し */
.article h3, #main .article h3, .entry-content h3 {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #0B132B !important;
    color: #333333 !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: #333333 !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;
}

/==========================================
** 3. サイドバー＆引用＆フッターメニュー
==========================================*/
.sidebar .widget-title, #sidebar .widget-title {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #0B132B !important;
    color: #444444 !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; }

/* 引用 */
.entry-content blockquote {
    background-color: #FcFcFc !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; }

/* フッターリンク */
#footer a, .footer-menu a, #navi-footer a, .menu-footer-container a {
    color: #333333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
#footer a:hover, .footer-menu a:hover, #navi-footer a:hover, .menu-footer-container a:hover {
    color: #777777 !important; 
    text-decoration: underline !important;
}

/==========================================
** 4. スティッキーCVバー
==========================================*/
.cv-sticky-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 800px;
    pointer-events: none;
}
.cv-floating-bar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: calc(100dvh - 100px);
    left: 0;
    width: 100%;
    height: 95px;
    background-color: #ffffff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.12);
    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: #ff4a4a !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] 強制幅制限
==========================================*/
/* 全体枠を最大600pxに強固に制限＆中央寄せ */
#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: #4a3b40 !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 #f2e4e8 !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: #e07a93 !important;
    background: #fcf4f6 !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: #5a4a50 !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 #fae5eb !important;
    border-top: 4px solid #e07a93 !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: #4a3b40 !important; margin-bottom: 8px !important; }
.shindan-loading-sub { font-size: 13px !important; color: #8a7a80 !important; margin: 0 !important; }

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


/* ==========================================
   診断画面内部 [shindan] の女性向け装飾CSS
   ========================================== */

/* 1. 全体カード枠（上品なピンクグラデーション枠） */
.shindan-wrapper {
  max-width: 600px !important;
  margin: 20px auto !important;
  padding: 24px 20px !important;
  background: #fdfafb !important;
  border: 2px solid #f6eef1 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 25px rgba(220, 150, 170, 0.08) !important;
  box-sizing: border-box !important;
}

/* 2. ステップヘッダー ＆ プログレスバー */
.shindan-header {
  margin-bottom: 20px !important;
}

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

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

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

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

/* 3. 設問カード・タイトル */
.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 #f4eaed !important;
}

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

/* 4. 選択肢ボタン（無機質なテキストを押しやすいカード化） */
.shindan-options-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* 2列で綺麗に整列 */
  gap: 12px !important;
}

@media (max-width: 480px) {
  .shindan-options-grid {
    grid-template-columns: 1fr !important; /* スマホでは縦1列で押しやすく */
  }
}

.shindan-option-card {
  background: #ffffff !important;
  border: 2px solid #f2e4e8 !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: #e07a93 !important;
  background: #fcf4f6 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(224, 122, 147, 0.15) !important;
}

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

/* 5. 戻るボタン（← 別の部位を選び直す） */
.shindan-back-to-menu {
  display: inline-block !important;
  margin-bottom: 15px !important;
  font-size: 13px !important;
  color: #8a7a80 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

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

/* ==========================================
   診断結果ページ（最終画面）の女性向け装飾CSS
   ========================================== */

/* 1. MATCHING 100% バッジ（ピンクのぷっくりタグ） */
.shindan-result-badge {
  display: inline-block !important;
  background: linear-gradient(135deg, #f4a2b6, #e07a93) !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(224, 122, 147, 0.25) !important;
}

/* 2. 診断タイプ分析ボックス（ふんわりピンク枠） */
.shindan-analysis-box {
  background: #fdf5f7 !important;
  border-left: 4px solid #e07a93 !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: #5a4a50 !important;
}

.shindan-analysis-box strong {
  color: #4a3b40 !important;
}

/* 3. 「💡 おすすめのセルフケア」「✨ おすすめのケア商品」の見出し */
.shindan-section-box, 
.shindan-product-box {
  margin-bottom: 22px !important;
  border-top: 1px dashed #f0dfe4 !important;
  padding-top: 18px !important;
}

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

/* 4. 商品名 */
.shindan-product-name,
.shindan-result-title {
  font-size: 17px !important;
  font-weight: bold !important;
  color: #d15d78 !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
}

/* 説明文 */
.shindan-result-care,
.shindan-result-desc-text {
  font-size: 14px !important;
  color: #6a5a60 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* 5. 「詳しく見る ➔」ボタン（青文字リンクを可愛いぷっくりピンクボタン化） */
.shindan-btn-group {
  margin-top: 25px !important;
}

.shindan-aff-link,
.shindan-cta-btn {
  display: block !important;
  width: 100% !important;
  background: linear-gradient(135deg, #f4a2b6, #e07a93) !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(224, 122, 147, 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(224, 122, 147, 0.45) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}