/* =========================
 * お客様の声 フロントページ用CSS
 * ========================= */

.voice-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 引用符装飾 */
.voice-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    color: var(--main-color, #0056b3);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

/* 星評価 */
.voice-rating {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* タイトル */
.voice-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--text-base, #333);
    margin-bottom: 10px;
    line-height: 1.5;
}

/* 本文 */
.voice-content {
    flex: 1;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 著者情報 */
.voice-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.voice-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-author > .flex-grow-1 {
    text-align: center;
}

.voice-name {
    font-weight: bold;
    color: var(--text-base, #333);
    font-size: 0.95rem;
}

.voice-attr {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.4;
}

/* =========================
 * 管理画面お客様の声用CSS
 * ========================= */

.voice-drag-handle {
    cursor: grab;
    padding-top: 10px;
}

.voice-drag-handle:active {
    cursor: grabbing;
}

.voice-sortable-ghost {
    opacity: 0.4;
    background: #f0f7ff;
    border: 2px dashed var(--main-color, #0056b3);
}

/* =========================
 * レスポンシブ
 * ========================= */

@media (max-width: 576px) {
    .voice-card {
        padding: 20px;
    }

    .voice-card::before {
        font-size: 3rem;
        top: 10px;
        right: 15px;
    }

    .voice-rating {
        font-size: 1rem;
    }
}
