/* 商品カードのメインコンテナ */
.product-card {
    display: flex;
    flex-direction: row; /* PCでは横並び */
    height: 400px; /* PC用の高さ */
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

/* 商品画像部分（PC：左側、モバイル：上側） */
.product-image-section {
    flex: 1; /* PC: 左半分を占める */
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* 商品情報部分（PC：右側、モバイル：下側） */
.product-info-section {
    flex: 1; /* PC: 右半分を占める */
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* PC: 縦方向中央揃え */
}

.product-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center; /* 内容を中央に配置 */
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: left; /* PC: 左揃え */
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    text-align: left; /* PC: 左揃え */
}

.product-pricing {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* PC: 左揃え */
    gap: 15px;
    margin-bottom: 25px;
}

.original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e74c3c;
}

.btn-details {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    align-self: flex-start; /* PC: 左寄せ */
    max-width: 200px;
}

.btn-details:hover {
    background: linear-gradient(135deg, #2980b9, #1c598a);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* タブレット対応 */
@media (max-width: 992px) and (min-width: 769px) {
    .product-card {
        height: 350px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
}

/* モバイル対応 - 縦並びレイアウト */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column; /* モバイル: 縦並び */
        height: 500px;
    }
    
    .product-image-section {
        flex: 1; /* 上半分 */
    }
    
    .product-info-section {
        flex: 1; /* 下半分 */
        padding: 20px;
        justify-content: space-between; /* モバイル: 間隔を空ける */
    }
    
    .product-content {
        justify-content: space-between;
    }
    
    .product-title {
        font-size: 1.3rem;
        text-align: center; /* モバイル: 中央揃え */
        margin-bottom: 15px;
    }
    
    .product-description {
        font-size: 0.85rem;
        text-align: center; /* モバイル: 中央揃え */
        margin-bottom: 15px;
    }
    
    .product-pricing {
        justify-content: center; /* モバイル: 中央揃え */
        margin-bottom: 20px;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .btn-details {
        align-self: center; /* モバイル: 中央揃え */
        padding: 12px 30px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .product-card {
        height: 450px;
    }
    
    .product-info-section {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .product-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .btn-details {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}