/* スタイリッシュなお支払い方法セクション */
.payment-methods-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #E8F4FC 0%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.payment-methods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(93, 173, 226, 0.3) 50%, transparent 100%);
}

.section-badge-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 1px;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.3);
    text-transform: uppercase;
}

.payment-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4FA5E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

.payment-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.payment-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.payment-card:hover::before {
    transform: scaleX(1);
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(93, 173, 226, 0.25);
    border-color: rgba(93, 173, 226, 0.2);
}

.payment-card-corporate {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.payment-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    box-shadow: 0 8px 20px rgba(93, 173, 226, 0.3);
}

.payment-card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.3), rgba(93, 173, 226, 0.3));
    z-index: -1;
    filter: blur(8px);
}

.payment-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: 0.3px;
}

.payment-card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.payment-card-badge {
    display: inline-block;
    margin: 0 0 15px 0;
    padding: 8px 18px;
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(52, 211, 153, 0.3);
    align-self: center;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.payment-card-badge-general {
    background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
    box-shadow: 0 2px 10px rgba(93, 173, 226, 0.3);
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
}

.payment-card-badge-coming {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
    margin-top: 8px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
}

.payment-methods-image-inline {
    margin-top: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-brands-img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.payment-bank-logo {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.payment-bank-logo img {
    max-width: 1320px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .payment-cards-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .payment-methods-section {
        padding: 60px 0;
    }

    .payment-header {
        margin-bottom: 40px;
    }

    .payment-title {
        font-size: 2.2rem;
    }

    .payment-description {
        font-size: 1rem;
    }

    .payment-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        max-width: 500px;
    }

    .payment-card {
        padding: 35px 25px;
    }

    .payment-card-icon {
        width: 60px;
        height: 60px;
    }

    .payment-card-title {
        font-size: 1.2rem;
    }

    .payment-methods-image {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .payment-methods-section {
        padding: 50px 0;
    }

    .payment-title {
        font-size: 1.8rem;
    }

    .payment-description {
        font-size: 0.95rem;
    }

    .payment-card {
        padding: 30px 20px;
    }

    .payment-card-icon {
        width: 55px;
        height: 55px;
    }

    .payment-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .payment-card-title {
        font-size: 1.1rem;
    }

    .payment-card-text {
        font-size: 0.9rem;
    }

    .payment-methods-image {
        padding: 25px 15px;
    }
}
