@charset "utf-8";

.buy .buy-wrap{
    background-color: #fff;
    border-image: linear-gradient(to right, #EC6727, #4F3691);
    border-image-slice: 1;
    border-width: 10px;
    border-style: solid;
    padding: 60px 20px 20px;
    margin-top: 50px;
    box-sizing: border-box;
    position: relative;
}

.buy .buy-wrap .buy-ttl{
    margin: 0;
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    display: block;
    width: 100%;
    text-align: center;
}

.buy .buy-wrap .buy-ttl img{
    max-height: 60px;
}

.buy .buy-wrap .buy-text{
    text-align: center;
    margin: 0;
}

.buy .buy-wrap .banner-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-start;
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

.buy .buy-wrap .banner-wrap::after{
    content: '';
    display: inline-block;
    width: 10vw;
    height: 7vw;
    background-image: url(../images/balloon_checkB.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -8vw;
    right: 2vw;
}

.buy .buy-wrap .banner-wrap a {
    margin: 30px 15px 0 0;
}

.buy .buy-wrap .banner-wrap img{
    max-width: 200px;
    width: 100%;
    border: 1px solid #C2C2C2;
}


@media print,
screen and (max-width: 740px) {
    .buy{
        padding-bottom: 50px;
    }
    
    .buy .buy-wrap{
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .buy .buy-wrap .buy-ttl{
        top: -26px;
    }

    .buy .buy-wrap .banner-wrap::after{
        width: 101px;
        height: 70px;
        top: -12vw;
        right: -8vw;
    }

    .buy .buy-wrap .banner-wrap a{
        text-align: center;
        margin: 15px auto 0;
    }
}

@media print,
screen and (max-width: 599px) {
    .buy .buy-wrap .banner-wrap img {
        max-width: 130px;
    }

    .buy .buy-wrap {
        padding: 30px 10px 10px;
    }

    .buy .buy-wrap .banner-wrap {
        padding-top: 70px;
    }

    .buy .buy-wrap .banner-wrap::after{
        top: 10px;
        right: 0;
    }
}