@charset "utf-8";
/* mv
---------------------------------------------------------------------- */
.mv {
    margin-bottom: 40px;

    .mv__heading {
        padding-top: 40px;
    }
}

@media screen and (min-width: 768px) {
    .mv {
        margin-bottom: 80px;

        .mv__heading {
            padding-top: 80px;
        }
    }
}

.contents {
    margin-bottom: 80px;
}

.form {
    display: grid;
    row-gap: 32px;
    max-width: 900px;
    margin-inline: auto;

    > div:last-child {
        text-align: center;
    }

    .required {
        position: relative;
        top: -6px;
        padding-left: 2px;
        color: #ee4444;
        font-size: 10px;
    }

    .wpcf7-form-control-wrap {
        width: 100%;
        margin-top: 12px;

        input,
        textarea {
            width: 100%;
        }
    }

    input,
    textarea {
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    textarea {
        height: 160px;
    }

    ::placeholder {
        color: #ddd;
    }

    p:has(input[type="submit"]) {
        display: grid;
        row-gap: 12px;
        justify-content: center;
    }

    .submit {
        padding: 24px 64px;
        border-radius: 100vmax;
        background-color: var(--color-blue);
        color: #fff;
    }

    .visit-date {
        margin-top: 0.5rem;
    }

    
    .date-list p {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .date-list .label {
        width: 7em;
        margin-top: 0.8rem;
    }
    .date-item {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    .date-item input {
        width: 12em;
        height: 38px;
    }

    .address-field input {
        margin-bottom: 1rem;
    }
    .address-field span:last-child input {
        margin-bottom: 0;
    }
    .postcode p {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        display: flex;
        margin-bottom: 1rem;
    }
    .postcode-icon {
        margin-top: 0.8rem;
    }
    .postcode input {
        width: 7em;
    }
}

.wpcf7-response-output {
    margin-top: 0 !important;
}

@media screen and (min-width: 530px) {
    .form {
        .date-item input {
            width: 100%;
        }
    }
}


@media screen and (min-width: 768px) {
    .form {
        row-gap: 32px;

        .date-list {
            display: flex;
            gap: 2rem;
        }


        .date-list .label {
            width: auto;
        }
    }

}
