@charset "utf-8";

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

.cost-price__tax {
    font-weight: 700;
}

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

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

/* 手数料一覧（「：」の位置を揃える） */
.cost-fee-list {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: baseline;
    row-gap: 8px;
    font-weight: 700;
}

.cost-fee-list dt,
.cost-fee-list dd {
    margin: 0;
}

/* 注記 */
.cost-note {
    color: #666;
}

/* 再発行のお手続き：ボックスの高さとボタン位置を揃える */
.cost-procedure .column__item {
    display: flex;
    flex-direction: column;
}

.cost-procedure .box {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: 0;
}

.cost-procedure .box__title {
    text-align: center;
}

.cost-procedure .box__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.cost-procedure .box__body>.button-wrap {
    margin-top: auto;
    padding-top: 24px;
}

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

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

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

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

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

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

    .cost-note {
        font-size: 14px;
    }

    .cost-procedure .box__head {
        padding: 32px 40px 0;
    }

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

    .cost-procedure__icon {
        width: 160px;
    }

    /* ご注意を右側のボックスの下に配置 */
    .cost-procedure-note {
        margin-left: calc((100% - 36px) / 2 + 36px);
    }
}

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

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

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

    .cost-note {
        font-size: 12px;
    }

    .cost-procedure .box__head {
        padding: 24px 16px 0;
    }

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

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