/* ========== 料金プラン2 (カードデザイン) ========== */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* カードヘッダー */
.price-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.card-plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #334155;
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    color: #0F172A;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
}

.price-amount .period {
    font-size: 14px;
    color: #64748B;
    font-weight: 500;
}

.price-desc {
    font-size: 14px;
    color: #64748B;
}

/* 特徴リスト */
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.price-features li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li i {
    color: #10B981;
    font-size: 12px;
}

/* 各プランのテーマカラー */
/* Trial */
.plan-trial-card {
    border-top: 4px solid #94A3B8;
    background: #F1F5F9;
    /* Grayed out */
    border-color: #E2E8F0;
}

.plan-trial-card .card-plan-name {
    color: #64748B;
}

/* Starter */
.plan-starter-card {
    border-top: 4px solid #F9A8D4;
    /* Pink-300 */
}

.plan-starter-card .card-plan-name {
    color: #EC4899;
}

.plan-starter-card .price-amount {
    color: #EC4899;
}

/* Business */
.plan-business-card {
    border-top: 4px solid #1BA89A;
}

.plan-business-card .card-plan-name {
    color: #1BA89A;
}

.plan-business-card .price-amount {
    color: #1BA89A;
}

/* Pro (Premium) */
.plan-pro-card {
    border-top: 4px solid #6366F1;
    /* Indigo-500 */
    position: relative;
    overflow: visible;
}

.plan-pro-card .card-plan-name {
    color: #6366F1;
}

.plan-pro-card .price-amount {
    color: #6366F1;
}

/* ボタン */
.btn-price {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-trial-card {
    background: #94A3B8;
    border: 1px solid #94A3B8;
    color: white;
}

.btn-trial-card:hover {
    background: #64748B;
    border-color: #64748B;
}

.btn-starter-card {
    background: #F9A8D4;
    color: white;
    box-shadow: 0 4px 12px rgba(249, 168, 212, 0.3);
}

.btn-starter-card:hover {
    background: #F472B6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 168, 212, 0.4);
}

.btn-business-card {
    background: #1BA89A;
    color: white;
    box-shadow: 0 4px 12px rgba(27, 168, 154, 0.3);
}

.btn-business-card:hover {
    background: #137a70;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 168, 154, 0.4);
}

.btn-pro-card {
    background: #6366F1;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-pro-card:hover {
    background: #4F46E5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 40px auto 0;
    }
}