.page-head{
    padding: 80px 0;
    margin-bottom: 0;
    max-height: inherit;
    aspect-ratio: inherit;
    background: var(--brand-color);

    .page_title{
        width: max-content;
        color: var(--color-white);
    }
}
.main{
    padding: 50px 0;
    margin: 0 0 50px 0;
    background: var(--color-white);
}
.progressbar {
    margin: 0 0 50px 0;
    font-size: 14px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    li {
        width: 33.333%;
        font-weight: 500;
        color: #e0e0e0;
        text-align: center;
        text-transform: uppercase;
        position: relative;
    }
    li:before {
        content: '';
        width: 14px;
        height: 14px;
        margin: 0 auto 5px;
        display: block;
        text-align: center;
        border-radius: 50vh;
        background-color: #e0e0e0;
        position: relative;
        z-index: 100;
    }
    li:after {
        content: '';
        width: 100%;
        height: 2px;
        background-color: #e0e0e0;
        position: absolute;
        top: 7px;
        left: -50%;
        transform: translateY(-50%);
        z-index: 99;
    }
    li:first-child:after {
        content: none;
    }
    li.active,
    li.complete{
        color: var(--brand-color);
    }
    li.active:before,
    li.complete:before {
        background-color: var(--brand-color);
    }
    li.active:after,
    li.complete:after {
        background-color: var(--brand-color);
    }

}
.form-wrap{
    width: 800px;
    margin: 0px auto;
}
.lead{
    margin: 0 0 30px 0;
    font-weight: 500;
}
.note_list{
    margin: 0 0 30px 0;
    font-size: 14px;
    color: var(--color-blue);
}
.requiredText{
    font-size: 0.8em;
    color: var(--color-red);
    font-weight: 600;
    text-align: right;
}
form{
    .form-group{
        margin: 0 0 30px 0;
    }
    label{
        font-size: 16px;
        font-weight: 600;
        color: var(--text-color);
        line-height: 1;
        display: block;
        margin: 0px 0px 5px 0;
    }
    .required{
        font-weight: 500;
        color: var(--color-red);
    }
    input[type="text"], 
    input[type="email"], 
    textarea {
        width: 100%;
        padding: 8px 10px;
        border: solid 1px var(--color-gray-light);
        border-radius: 5px;
        background: var(--color-white);
    }
    .error{
        font-size: 0.8em;
        color: var(--color-red);
        font-weight: 500;
    }
    .btn-wrap{
        text-align: center;
    }
    .btn-form{
        width: 250px;
        color: var(--color-white);
        text-align: center;
        line-height: 1;
        padding: 15px 20px;
        border: solid 1px var(--brand-color);
        background: var(--brand-color);
        transition: color 0.25s, background 0.25s;
        position: relative;
    }
    .btn-form:hover{
        color: var(--brand-color);
        background: var(--color-white);
    }
    .btn-form::after{
        font: var(--fa-font-solid);
        content: "\f054";
        font-size: 14px;
        position: absolute;
        top: 54%;
        right: 10%;
        transform: translateY(-50%);
        transition: right cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
    }
    .btn-back,
    .btn-submit{
        margin: 0 10px;
    }
    .btn-back{
        background: var(--color-gray);
        border-color: var(--color-gray);
    }
    .btn-back:hover{
        color: var(--color-gray);
    }
    .btn-back::after{
        display: none;
    }
    .btn-wrap .l-flex{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.contact-confirm{
    label{
        font-size: 14px;
        font-weight: 500;
        color: var(--brand-color);
        line-height: 1;
        display: block;
        margin: 0px 0px 10px 0;
    }
}
.result-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.result-wrap .main,
.main > .result-wrap {
  padding: 0 20px;
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
}
.main > .result-wrap {
  min-height: auto;
  padding-bottom: 60px;
}
.main > .result-wrap .btn-wrap {
  margin-top: 30px;
  text-align: center;
}
.main > .result-wrap .btn-form {
  display: inline-block;
  width: 250px;
  padding: 15px 20px;
  border: solid 1px var(--color-gray);
  background: var(--color-gray);
  color: var(--color-white);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: color 0.25s, background 0.25s;
}
.main > .result-wrap .btn-form:hover {
  background: var(--color-white);
  color: var(--color-gray);
}
.result_head{
    margin: 0 0 20px 0;
    font-size: 1.25em;
    color: var(--brand-color);
    text-align: center;
    font-weight: 700;
}
.result_text{
    text-align: center;
}
.result_head.error{
    color: var(--color-red);
}


@media screen and (max-width: 1024px) {
    .form-wrap{
        width: 100%;
        max-width: 800px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 800px){
    .progressbar{
        font-size: 12px;
    }
    form{
        .btn-wrap .l-flex{
            flex-direction: column;
        }
        .btn-back,
        .btn-submit{
            margin-left: 0;
            margin-right: 0;
        }
        .btn-back{
            margin-bottom: 20px;
        }
    }
    .result_text{
        text-align: left;
    }
} 
