/* レビューページ専用CSS */

/* 商品ヘッダー */
.product-header {
    background: var(--background-light);
    padding: 2rem 0;
}

.product-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* 商品画像 */
.product-images {
    position: relative;
}

.main-image {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 1rem;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image .placeholder-image {
    font-size: 8rem;
    opacity: 0.8;
    color: var(--primary-color);
}

.image-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge.ranking {
    background: var(--secondary-color);
}

.badge.award {
    background: var(--accent-color);
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.thumb {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: border-color 0.3s ease;
    font-size: 2rem;
    opacity: 0.3;
}

.thumb:hover {
    border-color: var(--primary-color);
}

/* 商品サマリー */
.product-brand {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* 総合評価 */
.overall-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-details {
    flex: 1;
}

.stars-large {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.review-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 主要機能 */
.key-features {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.key-features h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.key-features ul {
    list-style: none;
}

.key-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.key-features li i {
    color: var(--accent-color);
}

/* 価格セクション */
.price-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-right: 1rem;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 0.5rem;
}

.discount {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-note {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* CTA セクション */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affiliate-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn[data-platform="twitter"] {
    background: #1da1f2;
}

.share-btn[data-platform="facebook"] {
    background: #4267b2;
}

.share-btn[data-platform="line"] {
    background: #00b900;
}

/* 目次 */
.table-of-contents {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.table-of-contents h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.toc-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.toc-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* コンテンツセクション */
.content-section {
    padding: 3rem 0;
}

.content-section.alt-bg {
    background: var(--background-light);
}

.content-section.conclusion-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* 概要セクション */
.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.overview-text .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.overview-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.reason-list {
    list-style: none;
    margin: 1rem 0;
}

.reason-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.reason-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.overview-specs h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.specs-table th,
.specs-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
}

.specs-table td {
    color: var(--text-dark);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
    border-bottom: none;
}

/* 評価セクション */
.rating-breakdown {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.rating-breakdown h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.rating-items {
    display: grid;
    gap: 1rem;
}

.rating-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-weight: 500;
    color: var(--text-dark);
}

.rating-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.8s ease;
}

.rating-score {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

/* 体験セクション */
.experience-section {
    margin-top: 3rem;
}

.experience-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.experience-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-card p {
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.data-point {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-point .metric {
    font-weight: 500;
    color: var(--text-dark);
}

.data-point .value {
    font-weight: 600;
    color: var(--primary-color);
}

/* スペックセクション */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.spec-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.detailed-specs {
    width: 100%;
    border-collapse: collapse;
}

.detailed-specs th,
.detailed-specs td {
    padding: 0.75rem 0;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.detailed-specs th {
    font-weight: 500;
    color: var(--text-light);
    width: 45%;
    font-size: 0.9rem;
}

.detailed-specs td {
    color: var(--text-dark);
    font-weight: 500;
}

/* 比較テーブル */
.comparison-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: var(--primary-color);
    color: white;
}

.comparison-table td {
    color: var(--text-dark);
}

.comparison-summary {
    margin-top: 3rem;
}

.comparison-summary h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.comparison-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.comparison-point {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.comparison-point h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.comparison-point p {
    color: var(--text-dark);
    line-height: 1.5;
}

/* メリット・デメリット */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.pros-section h3,
.cons-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pros-section h3 {
    color: var(--accent-color);
}

.cons-section h3 {
    color: #ef4444;
}

.pro-item,
.con-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.pro-icon,
.con-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pro-icon {
    background: var(--accent-color);
}

.con-icon {
    background: #ef4444;
}

.pro-content h4,
.con-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pro-content p,
.con-content p {
    color: var(--text-light);
    line-height: 1.5;
}

/* 総合評価 */
.final-rating {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.rating-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.rating-max {
    font-size: 1rem;
    opacity: 0.8;
}

.rating-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rating-description p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 推奨セクション */
.recommendation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.recommend-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.recommend-card.positive {
    border-left: 4px solid var(--accent-color);
}

.recommend-card.negative {
    border-left: 4px solid #ef4444;
}

.recommend-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommend-card.positive h3 {
    color: var(--accent-color);
}

.recommend-card.negative h3 {
    color: #ef4444;
}

.recommend-card ul {
    list-style: none;
}

.recommend-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.recommend-card.positive li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.recommend-card.negative li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* 最終判定 */
.final-verdict {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
    text-align: center;
}

.final-verdict h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.verdict-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(transparent 60%, var(--secondary-color) 60%);
    font-weight: 600;
}

/* 最終CTA */
.final-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.final-cta h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.price-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.store-price {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.store-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* 関連商品 */
.related-products {
    background: var(--background-light);
    padding: 3rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 150px;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-image .placeholder-image {
    font-size: 3rem;
    opacity: 0.8;
    color: var(--primary-color);
}

.related-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 1.5rem 0.5rem;
    color: var(--text-dark);
}

.related-item p {
    color: var(--text-light);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.5;
}

.related-item .btn {
    margin: 0 1.5rem 1.5rem;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .product-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
    }
    
    .overall-rating {
        flex-direction: column;
        text-align: center;
    }
    
    .affiliate-buttons {
        flex-direction: column;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .rating-bar {
        order: 3;
    }
    
    .final-rating {
        flex-direction: column;
        text-align: center;
    }
    
    .price-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .experience-card,
    .spec-category,
    .pro-item,
    .con-item {
        padding: 1rem;
    }
    
    .comparison-table-container {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}