
/* ==========================================================
   Price
========================================================== */

.price {
    background: #ffffff;
}

/* 料金カード一覧 */
.price__cards {
    margin: 70px auto 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

/* 料金カード */
.price-card {
    position: relative;
    flex: 0 1 400px;
    width: 100%;
    max-width: 300px;
    min-width: 0;

    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 28px;
    padding: 30px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .05);
    transition: transform .35s, box-shadow .35s;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .10);
}

/* おすすめプラン */
.price-card--featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.price-card--featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* おすすめバッジ */
.price-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);

    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* プラン名 */
.price-card h3 {
    font-size: 25px;
    text-align: center;
    margin-bottom: 10px;
}

/* サブタイトル */
.price-card__subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 35px;
}

/* 料金 */
.price-card__price {
    text-align: center;
    margin-bottom: 20px;
}

.price-card__price span {
    display: block;
    color: #64748b;
    margin-top: 20px;
    margin-bottom: 8px;
}

.price-card__price strong {
    font-size: 30px;
    color: var(--primary-color);
}

/* 機能一覧 */
.price-card ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.price-card li {
    color: #374151;
    line-height: 1.7;
}

/* 下部説明 */
.price__bottom {
    margin-top: 80px;
    text-align: center;
}

.price__bottom p {
    color: #64748b;
    line-height: 2;
    margin-bottom: 35px;
}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 992px) {
    .price__cards {
        gap: 25px;
    }

    .price-card {
        flex: 0 1 360px;
        max-width: 360px;
    }

    .price-card--featured {
        transform: none;
    }

    .price-card--featured:hover {
        transform: translateY(-10px);
    }
}

/* ==========================================================
   Smartphone
========================================================== */

@media (max-width: 768px) {
    .price__cards {
        margin-top: 50px;
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .price-card {
        flex: 0 1 auto;
        width: 100%;
        max-width: 420px;
        padding: 28px 24px;
    }

    .price-card h3 {
        font-size: 23px;
    }

    .price-card__price strong {
        font-size: 28px;
    }

    .price-card--featured {
        transform: none;
    }

    .price__bottom {
        margin-top: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-card {
        transition: none;
    }

    .price-card:hover,
    .price-card--featured:hover {
        transform: none;
    }
}
