body {
    color: #403f3f;
    font-family: "Poppins", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.contact__heading {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 960px;
    padding: 128px 20px 24px;
}

.contact__heading--ja {
    border-bottom: 3px solid #45abd9;
    color: #45abd9;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 6px;
}

.contact__heading--text {
    line-height: 1.7;
    margin-top: 20px;
}

.contact__heading--link {
    color: #45abd9;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact__heading--link:hover,
.contact__heading--link:focus {
    color: #217ca3;
    text-decoration-color: #217ca3;
    outline: none;
}

.contact {
    box-sizing: border-box;
    font-family: sans-serif;
    margin: 0 auto 64px;
    max-width: 960px;
    padding: 0 20px 40px;
}

.forms-error {
    color: #c0362c;
    display: block;
    line-height: 1.7;
    margin-bottom: 20px;
}

form {
    display: block;
}

.contact__field {
    margin-top: 24px;
}

.contact__label {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.6;
}

.required {
    background-color: #45abd9;
    border-radius: 3px;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 6px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 5px;
    padding: 10px 12px;
    width: 100%;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
    border-color: #45abd9;
    outline: none;
}

form textarea {
    min-height: 180px;
    resize: vertical;
}

.radio-group {
    margin-top: 8px;
}

.radio-group__item {
    align-items: center;
    display: flex;
    gap: 8px;
    line-height: 1.8;
    margin-top: 8px;
}

.contact__field--agree {
    margin-top: 28px;
}

.contact__check {
    align-items: center;
    display: flex;
    gap: 8px;
    line-height: 1.6;
}

.contact__check input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0;
}

.field-error {
    color: #c0362c;
    line-height: 1.6;
    margin-top: 8px;
}

.contact__honeypot {
    height: 1px;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.contact__actions {
    margin-top: 36px;
}

.submit-btn {
    background-color: #45abd9;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 30px;
}

@media (max-width: 767px) {
    .contact__heading {
        box-sizing: border-box;
        padding: 112px 16px 20px;
    }

    .contact__heading--ja {
        font-size: 1.75rem;
    }

    .contact__heading--text {
        margin-top: 18px;
    }

    .contact {
        margin-bottom: 56px;
        padding: 0 16px 32px;
    }

    .submit-btn {
        width: 100%;
    }
}
