@charset "utf-8";

/* color */
.form_area > * {
    color: #000;
    font-size: 1.6rem;
    line-height: 1.8;
}

textarea,
.form_error {
    display: block;
}


/* container */
.form_area {
    max-width: 1240px;
    border-radius: 8px;
    transition: all 0.3s;
}
.form-inner {
    max-width: 860px;
    margin: 0 auto;
}

.form_area .form-title {
    width: 100%;
    font-weight: bold;
    text-align: center;
    color: #05bfbd;
}

/* layout */
.form-item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.form_area .form-container {
    width: 100%;
    align-items: baseline;
}

.p-feature .form-container_column > .form-content {
    justify-content: center;
}
@media (min-width:769px) {
    .p-feature .form-container_column > .form-content {
        align-items: center;
    }
}
.form_area .form-container > label  {
    width: 100%;
    position: relative;
}
.form_area .form-container_column > label {
    width: 100%;
    position: relative;
}
.p-feature .form-container_column > .form-content >label {
    display: flex;
    align-items: center;
    margin: 0 18px;
}
.p-agreement .p-agreement_label {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form_area .form-container .form-content {
    width: 100%;
}
@media (min-width:769px) {
    .form_area .form-container > label {
        width: 38%;
        padding-right: 86px;
        text-align: right;
    }

    .form_area .form-container .form-content {
        width: 62%;
    }
}
.p-agreement_documents {
    padding: 15px 25px;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-align: center;
}

/* ui */
/* submit-button */
.submit-button {
    background: #05bfbd;
    width: 100%;
    text-align: center;
    padding: 0.8em 0;
    border-radius: 4px;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all  0.3s ease;
    color: #fff;
    position: relative;
}
.submit-button:hover {
    color: #000!;
    background: var(--u-color__yellow);
}
.submit-button::before {
    content: "";
    position: absolute;
    background: url(../img/core_system/2x/cevron_img@2x.png);
    width: 30px;
    height: 30px;
    right: 5px;
    background-size: contain;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

/* required */
.formrun label span.required {
    background: #05bfbd;
    color: #fff;
    padding: 0px 5px;
    text-align: right;
    display: inline-block;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.3rem;
    width: 48px;
    text-align: center;
}
@media (min-width:769px) {
    .formrun label span.required {
        position: absolute!important;
        top: 4px!important;
        right: 33px!important;
    }
}
.form-container_column .required {
    position: unset;
}

/* form_error */
.form_error {
    color: #c71e1e;
    text-align: center;
    background: #ffefef;
    margin: 15px 0 0 0;
    padding: 5px 0;
    border-radius: 4px;
}
/* item */



/* checkbox, radio */
.form_area textarea,
.form_area select,
.form_area input[type="text"],
.form_area input[type="checkbox"],
.form_area input[type="radio"] {
    border: 1px solid #aaa;
    padding: 8px;
    border-radius: 4px;
    margin: 0 8px 0 0;
}

.form_area .select_container {
    position: relative;
}
.form_area .select_container::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    margin-top: 4px;
    background-size: contain;
    background: url(../img/common/expand_more_FILL0_wght400_GRAD0_opsz24.svg);
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.form_area .select_container select {
    width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
    width: 25px;
    height: 25px;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: url(../img/common/done_FILL0_wght400_GRAD0_opsz24.svg);
}
.form-item .display-textarea-when-other-is-selected{
    display: none;
}
.form-item .display-textarea-when-other-is-selected textarea{
    width: 100%;
    margin-top: 25px;
}

.form-item.budget.isSelectedOther .display-textarea-when-other-is-selected {
    display: block;
}
.form-item.position.isSelectedOther .display-textarea-when-other-is-selected {
    display: block;
}
.form-item.p-feature.isSelectedOther .display-textarea-when-other-is-selected {
    display: block;
}