/* お客様の声セクション */
.customer-voice-section {
    padding: 40px 0; /* ガイドライン準拠 */
    background-color: #ffffff;
}

.voice-wrapper {
    margin: 0 auto;
    padding: 0 20px;
}

/* イントロテキスト */
.voice-intro {
    margin-bottom: 30px; /* ガイドライン準拠 */
}

.intro-text {
    font-size: 16px; /* ガイドライン準拠 */
    color: #333333;
    line-height: 2; /* ガイドライン準拠 */
    letter-spacing: 0.15em; /* ガイドライン準拠 */
    margin: 0;
}

/* お客様の声カード */
.voice-card {
    border: 3px solid #333333;
    border-radius: 0;
    background-color: #f5f5f5;
    overflow: hidden;
    margin-bottom: 20px;
}

.voice-header {
    padding: 25px 20px;
}

/* 評価セクション */
.rating-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-label {
    font-size: 14px; /* ガイドライン準拠（会社概要ラベル相当） */
    color: #ff6b35;
    font-weight: bold;
    margin-right: 10px;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star {
    color: #ff6b35;
    font-size: 20px;
    line-height: 1;
}

.rating-number {
    color: #ff6b35;
    font-size: 24px;
    font-weight: bold;
    margin-left: 8px;
}

/* コメント */
.voice-comment {
    margin-bottom: 25px;
}

.voice-comment p {
    font-size: 16px; /* ガイドライン準拠 */
    color: #333333;
    line-height: 2; /* ガイドライン準拠 */
    letter-spacing: 0.15em; /* ガイドライン準拠 */
    margin: 0;
    font-weight: bold;
}

/* 顧客情報 */
.customer-info {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.avatar {
    width: 50px;
    height: 50px;
    background-color: #c8c8c8;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.customer-details {
    font-size: 14px; /* ガイドライン準拠（会社概要ラベル相当） */
    color: #333333;
    font-weight: bold;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

/* 展開トリガー */
.expand-trigger {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.expand-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -5px;
}

/* 矢印の回転アニメーション */
.arrow {
    font-size: 16px;
    color: #333333;
    line-height: 0.8;
    transition: transform 0.3s ease;
}

.expand-trigger.expanded .arrow {
    transform: rotate(180deg);
}

/* 詳細セクション */
.voice-detail {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    border-top: 2px solid #333333;
}

.voice-detail.expanded {
    max-height: 2000px;
    opacity: 1;
}

.detail-content {
    padding: 25px 20px;
    background-color: #ffffff;
    transform: translateY(-10px);
    transition: transform 0.3s ease-out 0.1s;
}

.voice-detail.expanded .detail-content {
    transform: translateY(0);
}

.detail-text {
    font-size: 16px; /* ガイドライン準拠 */
    color: #333333;
    line-height: 2; /* ガイドライン準拠 */
    letter-spacing: 0.15em; /* ガイドライン準拠 */
    margin: 0 0 30px 0;
}

/* 結果セクション */
.result-section {
    margin-bottom: 30px;
}

.result-title {
    background-color: #333333;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 16px; /* ガイドライン準拠 */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

.result-text {
    font-size: 16px; /* ガイドライン準拠 */
    color: #333333;
    line-height: 2; /* ガイドライン準拠 */
    letter-spacing: 0.15em; /* ガイドライン準拠 */
    margin: 0 0 20px 0;
}

.investigation-details {
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
    padding: 15px 0;
}

.detail-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px; /* ガイドライン準拠（会社概要ラベル相当） */
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: #333333;
    font-weight: bold;
    min-width: 80px;
    flex-shrink: 0;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

.detail-value {
    color: #333333;
    flex: 1;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

/* 料金セクション */
.price-section {
    margin-bottom: 0;
}

.price-calculation {
    text-align: center;
    padding: 20px;
}

.price-formula {
    font-size: 16px; /* ガイドライン準拠 */
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

.price-total {
    font-size: 20px; /* ガイドライン準拠（セクションタイトル） */
    color: #ff6b35;
    font-weight: bold;
    letter-spacing: 0.05em; /* ガイドライン準拠（セクションタイトル） */
}

.tax-note {
    font-size: 14px; /* ガイドライン準拠（会社概要ラベル相当） */
    margin-left: 5px;
    letter-spacing: 0.15em; /* ガイドライン準拠 */
}

/* PC・タブレット向け調整（768px以上） */
@media (min-width: 768px) {
    /* お客様の声セクション */
    .customer-voice-section {
        padding: 80px 0; /* ガイドライン準拠 */
    }

    .voice-wrapper {
        max-width: 1200px; /* ガイドライン準拠 */
        margin: 0 auto;
        padding: 0 40px;
    }

    /* イントロテキスト */
    .voice-intro {
        margin-bottom: 50px; /* ガイドライン準拠 */
        text-align: center;
    }

    .intro-text {
        font-size: 17px; /* ガイドライン準拠 */
        line-height: 2.1; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
        max-width: 800px;
        margin: 0 auto;
    }

    /* お客様の声カード */
    .voice-card {
        margin-bottom: 40px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease;
    }

    .voice-card:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .voice-header {
        padding: 35px 30px;
    }

    /* 評価セクション */
    .rating-section {
        margin-bottom: 25px;
    }

    .rating-label {
        font-size: 16px; /* ガイドライン準拠 */
        margin-right: 15px;
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }

    .star {
        font-size: 22px;
        gap: 4px;
    }

    .rating-number {
        font-size: 26px;
        margin-left: 10px;
    }

    /* コメント */
    .voice-comment {
        margin-bottom: 30px;
    }

    .voice-comment p {
        font-size: 17px; /* ガイドライン準拠 */
        line-height: 2.1; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
        max-width: 900px;
    }

    /* 顧客情報 */
    .customer-info {
        margin-bottom: 30px;
    }

    .avatar {
        width: 60px;
        height: 60px;
        margin-right: 20px;
    }

    .customer-details {
        font-size: 16px; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }

    /* 展開トリガー */
    .expand-trigger {
        padding: 15px;
    }

    .expand-arrows {
        gap: -3px;
    }

    .arrow {
        font-size: 18px;
    }

    /* 詳細セクション */
    .voice-detail {
        border-top: 3px solid #333333;
    }

    .detail-content {
        padding: 35px 30px;
    }

    .detail-text {
        font-size: 17px; /* ガイドライン準拠 */
        line-height: 2.1; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
        margin-bottom: 40px;
        max-width: 900px;
    }

    /* 結果セクション */
    .result-section {
        margin-bottom: 40px;
    }

    .result-title {
        font-size: 17px; /* ガイドライン準拠 */
        padding: 15px 25px;
        margin-bottom: 25px;
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }

    .result-text {
        font-size: 17px; /* ガイドライン準拠 */
        line-height: 2.1; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
        margin-bottom: 25px;
    }

    .investigation-details {
        padding: 20px 0;
        max-width: 800px;
    }

    .detail-row {
        margin-bottom: 12px;
        font-size: 16px; /* ガイドライン準拠 */
    }

    .detail-label {
        min-width: 120px;
        font-size: 16px; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }

    .detail-value {
        font-size: 16px; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }

    /* 料金セクション */
    .price-calculation {
        padding: 30px;
    }

    .price-formula {
        font-size: 17px; /* ガイドライン準拠 */
        margin-bottom: 15px;
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }

    .price-total {
        font-size: 28px; /* ガイドライン準拠 */
        letter-spacing: 0.05em; /* ガイドライン準拠 */
    }

    .tax-note {
        font-size: 16px; /* ガイドライン準拠 */
        letter-spacing: 0.1em; /* ガイドライン準拠 */
    }
}

/* 大画面向け調整（1200px以上） */
@media (min-width: 1200px) {
    .customer-voice-section {
        padding: 100px 0; /* ガイドライン準拠 */
    }

    .voice-wrapper {
        padding: 0 60px;
    }

    .voice-intro {
        margin-bottom: 60px; /* ガイドライン準拠 */
    }

    .intro-text {
        font-size: 18px; /* ガイドライン準拠 */
        line-height: 2.2; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .voice-card {
        margin-bottom: 50px;
        border-radius: 12px;
    }

    .voice-header {
        padding: 40px 35px;
    }

    .rating-label {
        font-size: 18px; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .voice-comment p {
        font-size: 18px; /* ガイドライン準拠 */
        line-height: 2.2; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .customer-details {
        font-size: 18px; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .detail-content {
        padding: 40px 35px;
    }

    .detail-text {
        font-size: 18px; /* ガイドライン準拠 */
        line-height: 2.2; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
        margin-bottom: 50px;
    }

    .result-section {
        margin-bottom: 50px;
    }

    .result-title {
        font-size: 18px; /* ガイドライン準拠 */
        padding: 18px 30px;
        margin-bottom: 30px;
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .result-text {
        font-size: 18px; /* ガイドライン準拠 */
        line-height: 2.2; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
        margin-bottom: 30px;
    }

    .investigation-details {
        padding: 25px 0;
    }

    .detail-row {
        margin-bottom: 15px;
        font-size: 18px; /* ガイドライン準拠 */
    }

    .detail-label {
        min-width: 140px;
        font-size: 18px; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .detail-value {
        font-size: 18px; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .price-calculation {
        padding: 40px;
    }

    .price-formula {
        font-size: 18px; /* ガイドライン準拠 */
        margin-bottom: 20px;
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }

    .price-total {
        font-size: 32px; /* ガイドライン準拠 */
        letter-spacing: 0.05em; /* ガイドライン準拠 */
    }

    .tax-note {
        font-size: 18px; /* ガイドライン準拠 */
        letter-spacing: 0.08em; /* ガイドライン準拠 */
    }
}















/* アバター画像のスタイル追加 */
.avatar {
    width: 50px;
    height: 50px;
    background-color: #c8c8c8;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden; /* 追加：画像が円からはみ出さないように */
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 追加：アスペクト比を保持しつつ、枠にフィット */
    display: block; /* 追加：画像の下部に余白ができるのを防ぐ */
}

/* PC・タブレット向け調整（768px以上） */
@media (min-width: 768px) {
    .avatar {
        width: 60px;
        height: 60px;
        margin-right: 20px;
    }
}