/* 低金利詳細ページ専用スタイル */
.low-interest-detail-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
}

.low-interest-detail-section .container {
    max-width: none;
    padding: 0 20px;
    width: 100%;
}

.low-interest-detail-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.low-interest-detail-section .section-title {
    color: #fd7e14;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.low-interest-detail-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fd7e14, #e56b00);
    border-radius: 2px;
}

.section-subtitle {
    color: #666;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
}

.comparison-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* 比較セクション */
.comparison-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.dshop-section::before {
    background: linear-gradient(180deg, #fd7e14 0%, #e56b00 100%);
}

.comparison-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.dealer-title {
    color: #dc3545;
}

.dshop-title {
    color: #fd7e14;
}

.comparison-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

/* テーブルスタイル */
.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.comparison-table thead th {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #ddd;
}

.comparison-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 20;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    text-align: left;
    min-width: 180px;
    padding-left: 1rem;
    box-sizing: border-box;
}

.dshop-table thead th {
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
}

.dshop-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 20;
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
    text-align: left;
    min-width: 180px;
    padding-left: 1rem;
    box-sizing: border-box;
}

.comparison-table tbody td {
    padding: 1rem;
    border: 1px solid #e9ecef;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

.row-header {
    background: #f8f9fa;
    font-weight: 600;
    text-align: left;
    color: #333;
    white-space: nowrap;
    min-width: 180px;
    position: sticky;
    left: 0;
    z-index: 10;
    padding-left: 1rem;
    box-sizing: border-box;
}

.unavailable {
    background: #f8d7da !important;
    color: #721c24 !important;
    font-weight: 600;
}

.best-rate {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    position: relative;
}

.best-rate::after {
    content: '最安金利!';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.highlight-row td {
    background: #fff3cd !important;
    font-weight: 700;
    color: #856404;
}

.success td {
    background: #d4edda !important;
    color: #155724 !important;
}

.benefit-row td {
    background: #d1ecf1 !important;
    color: #0c5460 !important;
    font-weight: 600;
}

.benefit {
    color: #28a745 !important;
    font-weight: 700 !important;
}

/* デメリットセクション */
.demerit-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8d7da;
    border-radius: 12px;
    border-left: 5px solid #dc3545;
}

.demerit-title {
    color: #721c24;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.demerit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demerit-list li {
    color: #721c24;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.demerit-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0;
}

/* メリットセクション */
.merit-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    border-left: 5px solid #28a745;
}

.merit-title {
    color: #155724;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.merit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.merit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.merit-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
}

.merit-item p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 戻るボタン */
.back-link {
    text-align: center;
    margin-top: 4rem;
}

.back-button {
    display: inline-block;
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.4);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .comparison-content {
        max-width: 100%;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .low-interest-detail-section {
        padding: 3rem 0;
    }
    
    .low-interest-detail-section .container {
        padding: 0 10px;
    }
    
    .low-interest-detail-section .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .comparison-section {
        padding: 1.5rem 0.5rem;
        margin-bottom: 2rem;
    }
    
    .comparison-title {
        font-size: 1.6rem;
        padding-left: 1rem;
    }
    
    .table-container {
        margin: 0 0 2rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .comparison-table {
        font-size: 0.65rem;
        min-width: 100%;
        width: 100%;
    }
    
    .comparison-table thead th {
        padding: 0.8rem 0.2rem;
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .comparison-table tbody td {
        padding: 0.8rem 0.2rem;
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    .comparison-table thead th:first-child,
    .row-header {
        background: #ffffff;
        color: #000;
        font-weight: 700;
        border-right: 2px solid #fd7e14;
        position: sticky;
        left: 0;
        z-index: 10;
        padding-left: 0.5rem;
        box-sizing: border-box;
        min-width: 100px;
        width: 100px;
        text-align: left;
    }
    
    .comparison-table thead th:first-child {
        z-index: 20;
        font-size: 0.6rem;
    }
    
    .merit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .merit-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .low-interest-detail-section .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .comparison-section {
        padding: 1rem 0.3rem;
    }
    
    .comparison-title {
        font-size: 1.4rem;
        padding-left: 0.8rem;
    }
    
    .comparison-table {
        font-size: 0.55rem;
        min-width: 100%;
        width: 100%;
    }
    
    .comparison-table thead th {
        padding: 0.6rem 0.1rem;
        font-size: 0.5rem;
        line-height: 1.1;
    }
    
    .comparison-table tbody td {
        padding: 0.6rem 0.1rem;
        font-size: 0.5rem;
        line-height: 1.2;
    }
    
    .comparison-table thead th:first-child,
    .row-header {
        background: #ffffff;
        color: #000;
        font-weight: 700;
        border-right: 2px solid #fd7e14;
        position: sticky;
        left: 0;
        z-index: 10;
        padding-left: 0.3rem;
        box-sizing: border-box;
        min-width: 80px;
        width: 80px;
        text-align: left;
        font-size: 0.5rem;
    }
    
    .comparison-table thead th:first-child {
        z-index: 20;
    }
    
    .demerit-section,
    .merit-section {
        padding: 1.5rem;
    }
    
    .merit-item {
        padding: 1rem;
    }
    
    .merit-item p {
        font-size: 0.9rem;
    }
} 