/* =========================================
   1. カードを並べるグリッドレイアウト
========================================= */
.cs-rev-st3-grid {
    display: grid;
    /* テキストメインのため、横幅をしっかり確保する */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
    margin-bottom: 2em;
    box-sizing: border-box;
}

/* =========================================
   2. カード本体のデザイン
========================================= */
.cs-rev-st3-item {
    background-color: #ffffff;
    /* 非常に薄いグレーの枠線と控えめな角丸で、上品な印象に */
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 28px;
    color: #333333;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時に優しく浮き上がる */
.cs-rev-st3-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* =========================================
   3. 上部：お客様情報 ＆ 装飾エリア
========================================= */
.cs-rev-st3-header {
    display: flex;
    justify-content: space-between; /* お客様情報を左、装飾を右に配置 */
    align-items: flex-start;
    margin-bottom: 20px;
}

/* お客様情報の横並び */
.cs-rev-st3-customer {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* アイコン画像 */
.cs-rev-st3-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f8fafc;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}
.cs-rev-st3-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 名前と属性 */
.cs-rev-st3-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cs-rev-st3-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
}
.cs-rev-st3-attr {
    font-size: 0.75rem;
    color: #64748b;
}

/* ━━ 右上のクォーテーション装飾 ━━ */
.cs-rev-st3-quote {
    font-family: Georgia, serif; /* 引用符が美しく見えるセリフ体 */
    font-size: 4rem;
    line-height: 0.6; /* 高さを詰めてレイアウトの崩れを防ぐ */
    color: #e2e8f0; /* 薄いグレーで背景になじませる */
    margin-top: -4px; /* 位置の微調整 */
    user-select: none; /* テキスト選択できないようにする */
}
/* CSSで記号を描画 */
.cs-rev-st3-quote::before {
    content: "“"; /* 左ダブルクォーテーション */
}

/* =========================================
   4. 下部：レビュー本文エリア
========================================= */
/* 星評価 */
.cs-rev-st3-stars {
    font-size: 1.1rem;
    color: #fbbf24;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    line-height: 1;
}
.cs-rev-st3-star-empty {
    color: #e2e8f0;
}

/* 見出し */
.cs-rev-st3-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* 本文 */
.cs-rev-st3-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* =========================================
   5. レスポンシブ対応
========================================= */
@media screen and (max-width: 480px) {
    .cs-rev-st3-grid {
        grid-template-columns: 1fr; /* スマホ時は1列に */
        gap: 20px;
    }
    .cs-rev-st3-item {
        padding: 24px 20px;
    }
    .cs-rev-st3-title {
        font-size: 1.05rem;
    }
    .cs-rev-st3-quote {
        font-size: 3.5rem; /* スマホ時は装飾を少し小さく */
    }
}