@charset "utf-8";

/* 金額表示 */
.cost-price {
    font-weight: 700;
}

.cost-price__tax,
.cost-price__unit {
    font-weight: 400;
}

/* 金額表示の囲み */
.box.cost-price-box {
    margin-right: auto;
    margin-left: auto;
}

.cost-price-box .box__body>* {
    margin: 0;
}

/* コンテンツ幅 */
.cost-inner {
    margin-right: auto;
    margin-left: auto;
}

/* おすすめボックス */
.cost-recommend {
    position: relative;
}

.cost-recommend__badge {
    z-index: 1;
    top: 0;
}

.cost-recommend .recommend-box__body>:first-child {
    margin-top: 0;
}

.cost-recommend__icon {
    margin-right: auto;
    margin-left: auto;
}

.cost-recommend__icon .figure__frame,
.cost-recommend__icon img {
    width: 100%;
    height: auto;
}

@media print,
screen and (min-width: 768px) {
    .cost-price {
        font-size: 20px;
    }

    .cost-price__tax,
    .cost-price__unit {
        font-size: 14px;
    }

    .cost-price-box {
        max-width: 320px;
    }

    .cost-price-box .box__body {
        padding: 24px 32px;
    }

    .cost-inner {
        max-width: 840px;
    }

    .cost-recommend {
        margin-top: 40px;
        padding-top: 20px;
    }

    .cost-recommend__badge {
        padding: 4px 24px;
        font-size: 16px;
    }

    .cost-recommend .recommend-box__head {
        padding: 24px 16px 16px;
        font-size: 24px;
    }

    .cost-recommend .recommend-box__body {
        padding: 32px 40px 40px;
    }

    .cost-recommend__icon {
        width: 160px;
    }
}

@media only screen and (max-width: 767.98px) {
    .cost-price {
        font-size: 16px;
    }

    .cost-price__tax,
    .cost-price__unit {
        font-size: 12px;
    }

    .cost-price-box .box__body {
        padding: 16px;
    }

    .cost-recommend {
        margin-top: 32px;
        padding-top: 16px;
    }

    .cost-recommend__badge {
        padding: 4px 20px;
        font-size: 14px;
    }

    .cost-recommend .recommend-box__head {
        padding: 20px 12px 12px;
        font-size: 18px;
    }

    .cost-recommend .recommend-box__body {
        padding: 24px 16px;
    }

    .cost-recommend__icon {
        width: 120px;
    }
}
