@charset 'UTF-8';

main .sub {
    background: url('../img/contact/bg-contact-mo.jpg') no-repeat 50%;
    background-size: cover;
}
.form {
    padding-top: 60px;
}
.form h2 {
    display: none;
}
.form .field {
    margin-bottom: 40px;
}
.form .field label {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
}
.form .field label .required {
    color: var(--darkblue-400-primary);
}
.form .field input, .form .field textarea {
    width: 100%;
    height: 50px;
    border: 1px solid var(--gray-200);
    background: var(--gray-100);
    padding-left: 16px;
    font-size: 1.5rem;
}
.form .field textarea {
    height: 200px;
    padding: 12px 16px;
}
.form .field input::placeholder, .form .field textarea::placeholder {
    font-size: 1.5rem;
    color: var(--gray-500);
}
.form .consent{
    width: 100%;
    display:flex;
    align-items:flex-start;
    gap:12px;
    user-select:none;
}

.form .consent input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.form .consent input[type="checkbox"] + label {
    position: relative;
    cursor: pointer;
    line-height: 24px;
}
.form .consent input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-400);
    display: inline-block;
    user-select: none;
    left: 0;
}
.form .consent input[type="checkbox"]:checked + label::before {
    position: absolute;
    width: 24px; height: 24px;
    background: url('../img/contact/check.svg') no-repeat 50% var(--gray-900);
    background-size: cover;
    border: none;
}
.form .consent input[type="checkbox"]:focus-visible + label::before {
    outline: 2px solid var(--gray-900);
}
.form .consent .agree-txt {
    padding-left: 36px;
}
.form .consent .required {
    display: inline;
    margin: 0;
}

.form .form-btn button {
    width: 100%; height: 60px;
    background: var(--gray-900);
    color: var(--white-0);
    font-size: 1.8rem;
    font-weight: 600;
}
section.last {
    padding-bottom: 0;
}


/********** MO(821 - 1023) **********/
@media screen and (min-width: 821px) {
    main .sub {
        background: url('../img/contact/bg-contact.jpg') no-repeat 50%;
        background-size: cover;
    }
    .form .form-btn button {
        width: 400px;
    }
    .form .form-btn {
        text-align: center;
    }
}/*821*/


/********** MO(1025 - 1440) **********/
@media screen and (min-width: 1025px) {
    .form .input-container {
        display: flex;
        gap: 40px;
    }
    .form .field {
        width: 100%;
    }
    .form .field label {
        font-size: 1.8rem;
    }
    .form .text-area {
        margin-bottom: 30px;
    }
    .form .form-btn {
        margin-top: 50px;
    }
    .form .form-btn button {
        width: 500px;
        height: 80px;
        font-size: 2.2rem;
    }



} /*1025*/
