/**
 * PR ラベル スタイルシート
 */

/* PRラベル共通スタイル */
.pr-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-weight: bold;
    border-radius: 20px;
    margin-left: 0.5rem;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* おすすめPRラベル（優先度90以上） */
.pr-label--recommended {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333333;
    border: 2px solid #ff6b35;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
}

.pr-label--recommended::before {
    content: '当サイトおすすめ';
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 0.25rem;
}

.pr-label--recommended::after {
    content: '【PR】';
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

/* 通常のPRラベル（優先度90未満） */
.pr-label--default {
    background: #f0f0f0;
    color: #666666;
    border: 1px solid #dddddd;
    font-size: 0.875rem;
}

/* プレミアムPRラベル */
.pr-label--premium {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* オレンジ（優先度95以上） */
.pr-label--orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
    color: #FFFFFF;
    border: 2px solid #ff5722;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: premium-shine 3s infinite;
}

/* 金色（優先度90-94） */
.pr-label--gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 50%, #FFD700 100%);
    color: #333333;
    border: 2px solid #FFC107;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    animation: premium-shine 3s infinite;
}

/* 銀色（優先度90未満） */
.pr-label--silver {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 50%, #E0E0E0 100%);
    color: #424242;
    border: 2px solid #9E9E9E;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* プレミアムシャインアニメーション */
@keyframes premium-shine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.pr-label--premium {
    background-size: 200% 200%;
}

/* 特徴と得意分野を統合したセクション */
.law-office-features-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.law-office-features-section h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.features-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.specialties-wrapper {
    margin-top: 0.75rem;
}

.specialties-label {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

/* パルスアニメーション（おすすめラベル用） */
@keyframes pr-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 事務所名内のPRラベル調整 */
.law-office-name .pr-label {
    margin-left: 0.5rem;
}

/* 都道府県ページの事務所カード枠 */
.law-office-card--with-pr-recommended {
    border: 3px solid #ff6b35 !important;
    position: relative;
}

/* PRラベルの位置調整 */
.law-office-card .pr-label {
    position: absolute;
    top: -15px;
    left: 20px;
    z-index: 10;
}

/* 評価バッジ */
.rating-badge {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    margin: 1rem auto;
    border-radius: 30px;
    max-width: 300px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.4;
}

/* オレンジ（優先度95以上） */
.rating-badge--orange {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ff6b35 100%);
    color: #FFFFFF;
    border: 2px solid #ff5722;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* 金色（優先度90-94） */
.rating-badge--gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 50%, #FFD700 100%);
    color: #333333;
    border: 2px solid #FFC107;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* 銀色（優先度90未満） */
.rating-badge--silver {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 50%, #E0E0E0 100%);
    color: #424242;
    border: 2px solid #9E9E9E;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pr-label {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .law-office-name {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .law-office-name .pr-label {
        margin-top: 0.25rem;
        margin-left: 0;
    }
}

/* 法的説明文・免責事項 */
.legal-disclaimer,
.review-disclaimer {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.75rem;
}

.legal-disclaimer p,
.review-disclaimer p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #6c757d;
}