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

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

/**
 * ============================================
 * お客様の声 - スタイル（改善版）
 * ============================================
 * 
 * Cocoon子テーマの style.css の末尾に追加してください
 */

/* ========================================
   【1】個別ページ用スタイル
   ======================================== */

.voice-card-detail {
    background: #FFFFFF;
    border: 2px solid #F57C00;
    border-radius: 16px;
    padding: 28px 24px 24px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(245, 124, 0, 0.1);
}

/* バッジ */
.voice-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    background: linear-gradient(135deg, #F57C00, #FF9800);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 124, 0, 0.3);
}

/* ヘッダー（写真＋プロフィール） */
.voice-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 8px;
}

/* 写真 */
.voice-photo-wrap {
    flex-shrink: 0;
}

.voice-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F57C00;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
}

.voice-photo-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE0B2, #FFCC80);
    border: 3px solid #F57C00;
}

/* プロフィール */
.voice-profile {
    flex: 1;
}

.voice-profile-main {
    font-size: 18px;
    font-weight: bold;
    color: #F57C00;
    margin: 0 0 6px;
    line-height: 1.4;
}

.voice-name {
    font-size: 14px;
    color: #666666;
    margin: 0 0 12px;
}

/* 商品と評価 */
.voice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.voice-product {
    font-size: 14px;
    margin: 0;
}

.voice-product .label {
    color: #888888;
}

.voice-rating {
    font-size: 20px;
    color: #FFB300;
    margin: 0;
    letter-spacing: 2px;
}

/* コメント吹き出し */
.voice-comment-bubble {
    margin-top: 24px;
    background: linear-gradient(135deg, #FFF8E1, #FFFDE7);
    border-radius: 16px;
    padding: 24px;
    border-left: 5px solid #F57C00;
    position: relative;
}

.voice-comment-bubble::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 48px;
    color: #F57C00;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.voice-comment-bubble p {
    font-size: 15px;
    line-height: 2;
    color: #333333;
    margin: 0;
    padding-left: 20px;
}

/* CTAボタン */
.voice-cta {
    margin-top: 24px;
    text-align: center;
}

.voice-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #F57C00, #FF9800);
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: bold;
    padding: 14px 36px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    transition: all 0.3s ease;
}

.voice-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
    color: #FFFFFF !important;
}


/* ========================================
   【2】一覧ページ用スタイル
   ======================================== */

/* アーカイブヘッダー */
.voice-archive-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #FFF8E1, #FFFDE7);
    border-radius: 16px;
    border: 2px solid #FFE0B2;
}

.voice-archive-title {
    font-size: 28px;
    font-weight: bold;
    color: #F57C00;
    margin: 0 0 10px;
}

.voice-archive-desc {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* ミニカード */
.voice-card-mini {
    background: #FFFFFF;
    border: 1px solid #FFE0B2;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.voice-card-mini:hover {
    border-color: #F57C00;
    box-shadow: 0 4px 16px rgba(245, 124, 0, 0.15);
    transform: translateY(-2px);
}

/* カードヘッダー */
.voice-card-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

/* ミニ写真 */
.voice-photo-mini-wrap {
    flex-shrink: 0;
}

.voice-photo-mini {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F57C00;
}

.voice-photo-mini-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFE0B2, #FFCC80);
    border: 2px solid #F57C00;
}

/* カード情報 */
.voice-card-info {
    flex: 1;
    min-width: 0;
}

.voice-card-profile {
    font-size: 14px;
    font-weight: bold;
    color: #F57C00;
    margin: 0 0 2px;
    line-height: 1.3;
}

.voice-card-area {
    font-size: 12px;
    color: #888888;
    margin: 0 0 4px;
}

.voice-card-rating {
    font-size: 16px;
    color: #FFB300;
    margin: 0;
    letter-spacing: 1px;
}

/* 商品タグ */
.voice-card-product {
    display: inline-block;
    background: #FFF3E0;
    color: #E65100;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* コメント抜粋 */
.voice-card-comment {
    font-size: 13px;
    color: #666666;
    line-height: 1.7;
    margin: 0 0 12px;
}

/* 詳しく見るリンク */
.voice-card-link {
    display: inline-block;
    font-size: 13px;
    color: #F57C00 !important;
    text-decoration: none !important;
    font-weight: bold;
    transition: all 0.2s ease;
}

.voice-card-link:hover {
    color: #E65100 !important;
    text-decoration: underline !important;
}


/* ========================================
   【3】レスポンシブ対応
   ======================================== */

@media (max-width: 600px) {
    /* 個別ページ */
    .voice-card-detail {
        padding: 24px 16px 20px;
    }
    
    .voice-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .voice-photo {
        width: 80px;
        height: 80px;
    }
    
    .voice-photo-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .voice-profile-main {
        font-size: 16px;
    }
    
    .voice-meta {
        justify-content: center;
    }
    
    .voice-comment-bubble {
        padding: 20px 16px;
    }
    
    .voice-comment-bubble p {
        padding-left: 0;
    }
    
    .voice-comment-bubble::before {
        display: none;
    }
    
    .voice-cta-button {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    /* 一覧ページ */
    .voice-archive-title {
        font-size: 22px;
    }
    
    .voice-card-header {
        gap: 12px;
    }
    
    .voice-photo-mini {
        width: 50px;
        height: 50px;
    }
    
    .voice-photo-mini-placeholder {
        width: 50px;
        height: 50px;
    }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
