/* カスタマイズ用CSS */

/* メンテナンスモード */
.ec-maintenanceAlert {
    background: gray;
    color: #FFF;
    padding: .25rem .5rem;
}
.ec-maintenanceAlert__icon {
    display: inline-block;
    width: 1rem;
    vertical-align: super;
}
/* デバッグモード */
.ec-debugModeAlert {
    background: blue;
    color: #FFF;
    padding: .25rem .5rem;
}
.ec-debugModeAlert__icon {
    display: inline-block;
    width: 1rem;
    vertical-align: super;
}

/* 決済エラー */
.ec-layoutRole .ec-404Role {
    text-align: center;
}
.ec-404Role__icon .ec-icon {
    display: block;
    width: 40px;
    margin: 0 auto;
}
.ec-layoutRole__main .ec-alert-warning {
    text-align: center;
}

/* エラーコメント */
.select-wrap.error,
.field-wrap.error {
    flex-wrap: wrap;
}
dd:has(.ec-errorMessage) {
    position: relative;
    padding-bottom: 1.5em;
}
.ec-errorMessage {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 0!important;
    width: max-content;
    font-weight: normal!important;
}
.select-wrap #vt4g_expiry_mon + .ec-errorMessage {
    top: 2rem;
}
.select-wrap #payment_credit_expiry_year + .ec-errorMessage {
    top: 3rem;
    left: -110px;
}
@media screen and (min-width: 1140px) {
    .select-wrap #payment_credit_expiry_year + .ec-errorMessage {
        top: 3rem;
        left: -126px;
    } 
}
