/**
 * ギフトのモーダルスタイル
 *
 */
.giftModalBackground {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    /*cursor: pointer;*/
}

.giftModalBackground.is-open {
    display: block;
}

.giftModalBackground .modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: #fff;
    max-width: 380px;
    width: 90%;
    border-radius: 7px;
    cursor: default;
}

.giftModalBackground.is-open .modal {
    animation: slideIn .6s 1 ease;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 20px));
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.giftModalBackground .modal .modalTitle {
    text-align: left;
    padding: 10px;
    background: #f1f3f8;
    color: #3051a1;
    border-radius: 7px 7px 0 0;
    font-size: 18px;
    font-weight: 500;
}

@media screen and (max-width: 600px) {
    .giftModalBackground .modal .modalTitle {
        font-size: 16px;
    }
}

.giftModalBackground .modal .modalDetail {
    font-size: 16px;
    padding: 20px;
    border-radius: 0 0 7px 7px;
}

@media screen and (max-width: 600px) {
    .giftModalBackground .modal .modalDetail {
        font-size: 14px;
    }
}

.giftModalBackground .modal .modalDetail .modalRead {
    margin-bottom: 16px;
    font-size: 15px;
}

.giftModalBackground .modal .modalDetail .modalRead span {
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .giftModalBackground .modal .modalDetail .modalRead {
    font-size: 14px;
}
}

.giftModalBackground .modal .modalDetail .modalInput {
    background: #faf9f8;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 7px;
}

.giftModalBackground .modal .modalDetail .modalInputItem {
    display: flex;
    justify-content: center;
    align-items: center;
}

.giftModalBackground .modal .modalDetail .modalInputItem .modalInputTitle {
    width: 30%;
    margin-inline: 0;
}

.giftModalBackground .modal .modalDetail .modalInputItem .modalInputDetail {
    width: 70%;
    margin-inline: 0;
}

.giftModalBackground .modal .modalDetail .modalInputItem .modalInputDetail .textbox {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    padding: 1em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.giftModalBackground .modal .modalDetail .modalError {
    display: none;
    background: #ffe3e3;
    color: #ef3636;
    padding: .5em 1em;
    border-radius: 7px;
    font-size: 14px;
}

.giftModalBackground .modal .modalDetail .modalError.is-open {
    display: inline-block;
}

.giftModalBackground .modal .modalDetail .giftButtonsWrapper {
    text-align: center;
    margin-top: 10px;
}

.giftModalBackground .modal .modalDetail .giftButtonsWrapper .giftButton {
    background: #fff;
    color: #333;;
    text-decoration: none;
    border-radius: 4px;
    padding: 1em;
    cursor: pointer;
    line-height: 1em;
    display: inline-block;
    margin-right: 5px;
}

.giftModalBackground .modal .modalDetail .giftButtonsWrapper .giftButton.--enter {
    color: #fff;
    background: #edbd43;
    border: 1px solid #edbd43;
    width: 8em;
}

.giftModalBackground .modal .modalDetail .giftButtonsWrapper .giftButton.--close {
    border: 1px solid #ccc;
    width: 4em;
}

.giftModalBackground .modal .modalDetail .giftButtonsWrapper .giftButton:last-child {
    margin-right: 0;
}