@charset "UTF-8";

.l-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 150px 0 80px 0;
}

.form__item {
    padding: 20px 0;
}

h2 {
    padding-bottom: 20px;
    font-size: 28px;
    text-align: center;
    letter-spacing: 0.3em;
}

h3 {
    margin-bottom: 120px;
    font-size: 14px;
    text-align: center;
    padding :0 25px;
}

.l-container {
    padding: 0 15px;
}

@media (min-width: 800px) {
    .l-main {
        padding: 220px 0 160px;
    }

    h2 {
        font-size: 46px;
    }

    h3 {
        margin-top: 35px;
    }

    .form {
        margin-top: 70px;
    }
}

.form {
    border-top: 1px solid #e8e8e8;
}


@media (min-width: 800px) {
    .form__item {
        display: flex;
        padding: 50px 40px;
    }

    .form__item-title .required {
        width: 80px;
        height: 30px;
        font-size: 11px;
    }

    .form__item-title {
        flex: 0 0 auto;
        align-items: flex-start;
        justify-content: space-between;
        width: 255px;
        margin: 0 70px 0 0
    }
}

.form__item-content,
.form__item-title {
    font-size: 14px;
    font-weight: 300;
}

.form__item-title {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}


.form__item-title .required {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 20px;
    margin-left: 15px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    color: #fafafa;
    text-indent: .3em;
    letter-spacing: .3em;
    background: #333D29;
    margin-top: 8px;
}

@media (min-width: 800px) {
    .form__item-content {
        flex: 1 1 auto;
        width: 100%;
    }

    .form__item-content textarea {
        height: 300px;
    }

    .form__item-content input:not([type]),
    .form__item-content input[type=email],
    .form__item-content input[type=tel],
    .form__item-content input[type=text],
    .form__item-content textarea {
        padding: 20px 25px;
    }
}

.form__item-content input:not([type]),
.form__item-content input[type=email],
.form__item-content input[type=tel],
.form__item-content input[type=text],
.form__item-content textarea {
    width: 90%;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 300;
    background: #f1f4f6;
}

button,
input,
select,
textarea {
    background-color: transparent;
    border-style: none;
    color: inherit;
}

textarea {
    overflow: auto;
    resize: vertical;
}

* {
    padding: 0;
    margin: 0;
}

*,
::before,
::after {
    background-repeat: no-repeat;
    box-sizing: inherit;
}

@media (max-width: 800px) {
    .form__submit .submit {
        width: 350px;
        height: 80px;
    }

    #btn {
        margin-top: 70px;
    }
}

.c-button {
    width: 270px;
    height: 60px;
    font-size: 12px;
    transition: 0.3s;
    display: block;
    margin: 0 auto;
}

.form__submit .submit {
    width: 270px;
    height: 75px;
    margin-top: 30px;
}



#btn {
    border: solid 1px #333D29;
    position: relative;
    letter-spacing: 0.6em;
}

#btn::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 1px #333D29;
    border-right: solid 1px #333D29;
    transform: rotate(45deg);
    position: absolute;
    margin-top: -5px;
    top: 50%;
    right: 20px;
}

#btn:hover {
    color: #fafafa;
    background: #333D29;
}


#btn:hover::after {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 1px #fafafa;
    border-right: solid 1px #fafafa;
    transform: rotate(45deg);
    position: absolute;
    margin-top: -5px;
    top: 50%;
    right: 20px;
}

/* 
  .form__item-content .error-text {
    margin-top: 1em;
    font-size: 14px;
    font-weight: 300;
    color: #c63939;
}
.l-main .lead-text+.error-text {
    margin-top: 2em;
    font-size: 14px;
    font-weight: 300;
    color: #c63939;
    text-align: center;
}


.form__item-content input:not([type]).error, .form__item-content input[type=email].error, .form__item-content input[type=tel].error, .form__item-content input[type=text].error, .form__item-content textarea.error {
    background: #fff0f0;
}
*/