/**
 * 口コミ集約ページの商品情報表示スタイル
 */

/* サブ商品情報セクション */
.sub-product-info {
    background: #f8f9fa;
    padding: 30px;
    margin: 40px 0;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.sub-product-info h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
}

.product-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detail-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

/* 特徴・強み */
.product-features {
    margin-top: 30px;
}

.product-features h3 {
    font-size: 1.3rem;
    color: #495057;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 特徴アイコン */
.feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-icon {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
}

.feature-icon--refinance {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #ce93d8;
}

.feature-icon--same_day {
    background: #fff3e0;
    color: #f57c00;
    border-color: #ffb74d;
}

.feature-icon--no_phone_verification,
.feature-icon--no_mail {
    background: #e8f5e9;
    color: #388e3c;
    border-color: #81c784;
}

.feature-icon--web_complete {
    background: #e0f2f1;
    color: #00796b;
    border-color: #4db6ac;
}

.feature-icon--no_interest_period {
    background: #fce4ec;
    color: #c2185b;
    border-color: #f48fb1;
}

/* ATM・コンビニセクション */
.atm-convenience-section {
    background: white;
    padding: 40px 30px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.atm-convenience-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff6b35;
}

.atm-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
}

.atm-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.atm-content li {
    margin-bottom: 10px;
}

/* 商品一覧セクション */
.products-list-section {
    margin: 50px 0;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.products-list-section h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card.product-main {
    border-color: #ff6b35;
    background: linear-gradient(to bottom right, #fff9f7, white);
}

.product-card.product-current {
    opacity: 0.8;
    background: #f0f0f0;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    flex: 1;
}

.product-card h3 a:hover {
    color: #ff6b35;
}

.main-badge {
    background: #ff6b35;
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 15px;
    margin-left: 10px;
}

.current-badge {
    background: #6c757d;
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 15px;
    margin-left: 10px;
}

.current-product {
    color: #6c757d;
    font-weight: normal;
}

.product-specs {
    margin: 20px 0;
}

.product-specs dt {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.product-specs dd {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-left: 0;
}

.product-actions {
    margin-top: 20px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* 適用金利セクション */
.interest-rate-section {
    background: #f0f8ff;
    padding: 40px 30px;
    margin: 40px 0;
    border-radius: 10px;
    text-align: center;
}

.interest-rate-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.interest-rate-section p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 25px;
}

.interest-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* CTA画像 */
.cta-image-wrapper {
    text-align: center;
    margin: 20px 0;
}

.cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sub-product-info,
    .atm-convenience-section {
        padding: 20px;
    }
    
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icons {
        justify-content: center;
    }
    
    .cta-image-wrapper {
        margin: 15px 0;
    }
}