/**
 * 個別口コミページ改善CSS - 保険サイト風デザイン
 */

/* 全体のレイアウト調整 */
.l-main {
    background-color: #f5f5f5;
    padding: 2rem 0;
}

.l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* SEOタイトル */
.review-seo-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

/* PR記載コンテナ */
.pr-disclaimer-container {
    margin-bottom: 2rem;
    text-align: left;
}

/* 口コミヘッダー削除（保険サイトには無い） */
.review-header-single {
    display: none;
}

/* メイン口コミカード */
.review-main-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

/* 口コミ本文エリア（青枠デザイン） */
.review-content-box {
    border: 2px solid #4a90e2;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem;
    background-color: #f8fbff;
}

/* 投稿者情報 */
.review-author-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.review-author-name {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.review-author-age {
    color: #666;
    font-size: 0.9rem;
    background: #f0f0f0;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

/* 評価星 */
.review-rating-display {
    text-align: center;
    padding: 1rem 0;
}

.review-rating-display .star-rating {
    font-size: 1.8rem;
    color: #ffa500;
}

/* 口コミテキスト */
.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
}

/* メタ情報（債務整理の種類など） */
.review-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.review-meta-item {
    font-size: 0.9rem;
    color: #666;
}

/* 事務所情報カード（黄色背景） */
.office-info-highlight {
    background-color: #fffbf0;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.office-info-highlight h2 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.office-logo-section {
    margin: 1.5rem 0;
}

.office-logo-section img {
    max-width: 300px;
    height: auto;
}

.office-rating-section {
    margin: 1rem 0;
}

.office-features-list {
    text-align: left;
    max-width: 600px;
    margin: 1.5rem auto;
    color: #555;
    line-height: 1.8;
}

/* CTAボタン */
.cta-button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto;
}

.btn-cta {
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-cta-primary {
    background-color: #ff6b35;
    color: #fff;
    border: 2px solid #ff6b35;
}

.btn-cta-primary:hover {
    background-color: #ff5722;
    border-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.btn-cta-secondary {
    background-color: #4a90e2;
    color: #fff;
    border: 2px solid #4a90e2;
}

.btn-cta-secondary:hover {
    background-color: #357abd;
    border-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74,144,226,0.3);
}

/* 関連口コミセクション */
.related-reviews-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.related-reviews-section h2 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

/* 個別の関連口コミカード */
.related-review-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.related-review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.related-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.related-review-author {
    font-weight: 600;
    color: #333;
}

.related-review-date {
    color: #999;
    font-size: 0.85rem;
}

.related-review-rating {
    margin-bottom: 0.5rem;
}

.related-review-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-review-link {
    display: inline-block;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.related-review-link:hover {
    text-decoration: underline;
}

/* 最終CTA */
.final-cta-section {
    background-color: #f0f7ff;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.final-cta-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.final-cta-section p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .review-content-box {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .office-info-highlight {
        padding: 1.5rem;
    }
    
    .cta-button-group {
        max-width: 100%;
    }
    
    .related-reviews-section {
        padding: 1.5rem;
    }
    
    .office-logo-section img {
        max-width: 200px;
    }
}

/* 写真ギャラリー改善 */
.review-photos {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.review-photos h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-photos-grid-single {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.review-photo-link-single {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.review-photo-link-single:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* バッジスタイル */
.office-type-badge {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.office-type-badge--lawyer {
    background-color: #4a90e2;
}

.office-type-badge--shiho {
    background-color: #2ecc71;
}

/* 相談確認認証済みバッジ */
.verified-badge {
    display: inline-block;
    background-color: #27ae60;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}