@charset "utf-8";

main article {
    padding: 0 var(--contentPadding);
}

.section__title--collabo {
    text-align: center;
    font-family: "Montserrat";
    font-weight: 500;
    line-height: normal;
    margin: 40px 0;
}

.form__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
}

.form__lead {
    margin-top: 24px;
}

/* =========================
   Contact Form only
========================= */
.contactForm {
    max-width: 800px;
    margin: 48px auto;
}

/* --- row layout --- */
.contactForm__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

/* label */
.contactForm__label {
    font-weight: 600;
    line-height: 1.4;
    font-size: 1.6rem;
}

.contactForm__label .req {
    font-weight: 400;
    font-size: 1.4rem;
    opacity: .8;
    margin-left: 12px;
}

/* input / textarea */
.contactForm__input,
.contactForm__textarea {
    width: 100%;
    padding: 10px 12px;
    border: none;
    background-color: #efefef;
    border: 1px solid var(--gray-high);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.contactForm__textarea {
    min-height: 220px;
    resize: vertical;
}

.contactForm__input::placeholder,
.contactForm__textarea::placeholder {
    color: var(--gray-high);
    opacity: 0.7;
}

/* privacy */
.contactForm__agree {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.contactForm__checkbox {
    appearance: auto;
    -webkit-appearance: auto;
    accent-color: var(--gray-high);
    transform: scale(1.3);
}

.contactForm__agreeLabel {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

/* submit */
.contactForm__actions {
    display: flex;
    justify-content: center;
}

.contactForm__submit {
    min-width: 220px;
    padding: 12px 20px;
    text-align: center;
    background: var(--text-black);
    color: var(--primary-white);
    border: none;
    cursor: pointer;
    transition: opacity .25s ease;
}

.contactForm__submit:hover {
    opacity: .7;
}

/* =========================
   PC layout
========================= */
@media (min-width: 769px) {
    .contactForm__row {
        grid-template-columns: 200px 1fr;
        align-items: center;
        gap: 20px;
    }

    .form__title {
        font-size: 2.6rem;
    }

    .form__lead {
        text-align: center;
        font-size: 1.8rem;
    }

    .contactForm__agreeLabel {
        font-size: 1.6rem;
    }

    .contactForm {
        margin: 80px auto;
    }

    .contactForm__row--top {
        align-items: flex-start;
    }

    .contactForm__label {
        white-space: nowrap;
    }
}