@charset "UTF-8";
/* フォーム（入力エラー・確認画面・ハニーポット） inc/class-shiomi-form.php */

.shiomi-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.shiomi-form-notice {
    margin: 0 auto 2em;
    padding: 1em 1.2em;
    max-width: 1000px;
    border: 2px solid #c8102e;
    background: #fff5f5;
    color: #c8102e;
    line-height: 1.7;
    text-align: left;
}

.shiomi-form-error {
    margin-top: .4em;
    color: #c8102e;
    font-size: .9em;
    line-height: 1.5;
    text-align: left;
}

.is-error input,
.is-error select,
.is-error textarea,
input.is-error,
select.is-error,
textarea.is-error {
    border-color: #c8102e !important;
    background-color: #fff5f5 !important;
}

.shiomi-form-confirm {
    margin: 0 auto;
    max-width: 1000px;
}

.shiomi-form-confirm__lead {
    margin-bottom: 1.5em;
    text-align: center;
    line-height: 1.7;
}

.shiomi-form-confirm__table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ccc;
}

.shiomi-form-confirm__table th,
.shiomi-form-confirm__table td {
    padding: 1em;
    border-bottom: 1px solid #ccc;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
    word-break: break-all;
}

.shiomi-form-confirm__table th {
    width: 30%;
    background: #f7f7f7;
    font-weight: bold;
}

.shiomi-form-confirm__empty {
    color: #999;
}

.shiomi-form-confirm__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    margin-top: 2.5em;
}

.shiomi-form-confirm__buttons form {
    margin: 0;
}

.shiomi-form-confirm__buttons .submit-btn {
    margin: 0;
}

.shiomi-form-back__btn {
    padding: .9em 2em;
    border: 1px solid #999;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.shiomi-form-confirm button[disabled] {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 48em) {
    .shiomi-form-confirm__table th,
    .shiomi-form-confirm__table td {
        display: block;
        width: 100%;
    }

    .shiomi-form-confirm__table th {
        border-bottom: none;
        padding-bottom: .4em;
    }

    .shiomi-form-confirm__buttons {
        flex-direction: column-reverse;
    }
}
