@charset "UTF-8";

@media screen and (max-width: 750px) {
    .remodal {
        padding: 20px;
    }
}

.deal-modal__container {
    box-sizing: border-box;
}

.deal-modal__art {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid #a9a9a9;
}

.deal-modal__art-img {
    width: 70px;
}
.deal-modal__art-img img {
    width: 70px;
}
.deal-modal__art-info {
    text-align: left;
    padding-left: 5%;
    width: 100%;
}

.deal-modal__artist-title {
    font-size: 1.5rem;
}

.deal-modal__art-title {
    font-size: 1.2rem;
}

.deal-modal__icon {
    aspect-ratio: 1 / 1;
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
}
@media screen and (max-width: 750px) {
    .deal-modal__icon {
        width: 35px;
        height: 35px;
    }
}
.deal-modal__icon img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    left: 0;
    top: 0;
}
.deal-modal__owner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #a9a9a9;
}

.deal-modal__owner-info {
    display: flex;
    align-items: center;
    width: 50%;
}
@media screen and (max-width: 750px) {
    .deal-modal__owner-info {
        width: 45%;
    }
}
.deal-modal__owner-name {
    margin-left: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}
@media screen and (max-width: 750px) {
    .deal-modal__owner-name {
        margin-left: 10px;
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.deal-modal__owner-token {
    display: flex;
    align-items: center;
    column-gap: 40px;
}
@media screen and (max-width: 750px) {
    .deal-modal__owner-token {
        column-gap: 10px;
    }
}
.deal-modal__token-title {
    font-weight: bold;
    font-size: 1.5rem;
}
@media screen and (max-width: 750px) {
    .deal-modal__token-title {
        font-size: 1.2rem;
    }
}
.deal-modal__token-price {
    text-align: initial;
    font-size: 1.2rem;
}

.deal-price {
    font-weight: bold;
    font-size: 2rem;
}
@media screen and (max-width: 750px) {
    .deal-price {
        font-size: 1.2rem;
    }
}
.deal-modal__token-owned {
    text-align: initial;
    font-size: 1.2rem;
}

.deal-owned,
.deal-quantity,
.deal-quantity-per-wallet {
    font-weight: bold;
    font-size: 2rem;
    margin-right: 10px;
}
@media screen and (max-width: 750px) {
    .deal-owned,
    .deal-quantity,
    .deal-quantity-per-wallet {
        font-size: 1.2rem;
    }
}
.deal-modal__quantity {
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    width: 70%;
}
@media screen and (max-width: 750px) {
    .deal-modal__quantity {
        margin: 20px auto 0;
        width: 100%;
    }
}
.deal-modal__input {
    background-color: #f6f6f6;
    border: 1px solid #f6f6f6;
    display: inline-flex;
    border-radius: 5px;
}
@media screen and (max-width: 750px) {
    .deal-modal__input {
        width: 55%;
    }
}
.deal-modal__label {
    font-size: 1.5rem;
    margin-right: 20px;
    width: 20%;
}
@media screen and (max-width: 750px) {
    .deal-modal__label {
        font-size: 1.2rem;
        margin-right: 10px;
    }
}
.deal-modal__input input {
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    background-color: #f6f6f6;
    line-height: 1.8;
    border: 1px solid #f6f6f6;
    -webkit-border-radius: 0;
    -webkit-appearance: none;
    padding: 0;
}

.max-quantity {
    margin-left: 4px;
    font-size: 1.5rem;
    font-weight: bold;
}

.deal-modal__total {
    margin: 40px auto;
    display: flex;
    align-items: baseline;
    width: 70%;
}
@media screen and (max-width: 750px) {
    .deal-modal__total {
        width: 100%;
        margin: 20px auto 0;
    }
}
.total-sell-amount,
.total-purchase-amount,
.total-claim-amount,
.total-offer-amount {
    font-size: 2.5rem;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    line-height: 1.8;
    text-align: initial;
}
.total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: initial;
}
@media screen and (max-width: 750px) {
    .total-amount {
        font-size: 2rem;
    }
}
.deal-modal__btn {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}
@media screen and (max-width: 750px) {
    .deal-modal__btn {
        margin-top: 20px;
    }
}
.cancel-btn {
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px 40px;
    display: block;
    background: #FFF;
    border: 1px solid #000;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: #000;
    position: relative;
    border-radius: 50px;
}
@media screen and (max-width: 750px) {
    .cancel-btn {
        font-size: 1.2rem;
        padding: 10px 10px;
    }
}
.deal-btn {
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px 40px;
    display: block;
    background: #000;
    border: 1px solid #000;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    color: #FFF;
    position: relative;
    border-radius: 50px;
}
@media screen and (max-width: 750px) {
    .deal-btn {
        font-size: 1.2rem;
        padding: 10px 10px;
    }
}
.confirm-label {
    font-size: 2rem;
    margin-bottom: 40px;
}
@media screen and (max-width: 750px) {
    .confirm-label {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}
.confirm-quantity-unit,
.confirm-amount-unit {
    font-size: 1.5rem;
}

.confirm-modal__info {
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #a9a9a9;
    border-bottom: 1px solid #a9a9a9;
    width: 70%;
    justify-content: space-between;
}

@media screen and (max-width: 750px) {
    .confirm-modal__info {
        width: 100%;
    }
}
.confirm-modal__art {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.error-message {
    color: #ff0000;
}

.small_text {
    font-size: 1rem;
}
