.shouei-contact {
    width: min(100%, 840px);
    margin-inline: auto;
}

.shouei-contact__notice {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid currentColor;
    line-height: 1.8;
}

.shouei-contact__notice--success {
    background: #f6fbf7;
}

.shouei-contact__notice--error {
    background: #fff8f8;
}

.shouei-contact__form {
    display: grid;
    gap: 24px;
}

.shouei-contact__row {
    display: grid;
    gap: 8px;
}

.shouei-contact__row label {
    font-weight: 700;
}

.shouei-contact__required {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.75em;
    font-weight: 700;
}

.shouei-contact__row input,
.shouei-contact__row textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: #fff;
    font: inherit;
    line-height: 1.6;
}

.shouei-contact__row textarea {
    min-height: 200px;
    resize: vertical;
}

.shouei-contact__row input:focus,
.shouei-contact__row textarea:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.shouei-contact__hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.shouei-contact__turnstile {
    min-height: 65px;
}

.shouei-contact__submit button {
    min-width: 220px;
    padding: 15px 28px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.shouei-contact__submit button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
