@charset "utf-8";



.consultation {
    position: absolute;
    top: 55%;
    left:34vw;
    transform: translate(-50%,-50%);
    text-align: start;
    color: #3A1274;
    font-weight: 700;
    z-index: 2;

    }

.consultation-1 {
    font-size: 4.2vw;
    line-height: 1.2;
  }
.consultation-2{
      font-size: 2vw;
      letter-spacing: .18rem;

  }

.container {
    max-width: 100rem;
    margin: 0 auto;
}
.container-text {
    width: 90%;
    margin: 0 auto;
    font-size: 1.6rem;
    line-height: 2.1;
    letter-spacing: .18rem;
    text-align: center;
    padding: 10rem 0;
}
.mailformpro_form {
    margin: 0 auto 0 5%;
}
#mailformpro .flex {
    justify-content: space-between;
    flex-wrap: nowrap;

}
.mfp_element_all {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.8rem;
    background: #EDEDED;
}
.mfp_element_textarea {
    width: 100% !important;
    height: 15rem !important;
}
select,
.Form-Item  {
    width: 70%;
   
}

.Form-Item-Textarea {
  width: 100%;
}

#mailformpro .flex .Form-Item {
    width: 31.5%;
}
.Form-Item-3
 {
    /* width: calc(100% / 3); */
    /* width: 80%; */
    padding: 1rem;
    margin-bottom: 1.8rem;
    border: 1px solid #707070;

}

.Form-Btn1 {
    /* align-items: center; */
    padding: 1em 2em;
    width: 29rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    background-color: #3A1274;
    transition: 0.5s;
    border-radius: 6px;
    line-height: 1.5em;
    border: none;
    text-shadow: none;
    /* margin: 0 auto; */
}
.Form-Btn1:hover {
  color:#000;
}
.center {
    text-align: center;
    margin: 6rem 0 20rem;
}

.container-text-p {
    font-size: 1.6rem;
    margin-top: 1.5rem;
}


.mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password {

    box-shadow: none;
}
form .flex .mfp_element_text {
    width: 100%;
    background: #EDEDED;
    border: 1px solid #707070;
}



/* thanks-page */
.thanks_container {
    padding-top: 100px;
    width: 70%;
    margin: 0 auto;
}
#sousin{
    font-weight: 700;
    text-align: center;
    font-size: 3rem;
    padding: 2rem;
}

.notice {
    margin: 1rem auto;
}
.notice a {
    display: inline;
}
.notice p {
    padding: 0;
}
.thanks-btn a {
    padding: 1rem 4rem;
    border-radius: 3px;
    text-decoration: none;
    display: block;
    color: #ffffff;
    transition: 0.5s;
    background: var(--main-color);
    text-align: center;
    letter-spacing: 0.1em;

}
.thanks-btn{
    float: right;
    margin: 3rem 1vw;
}
footer {
    clear: both;
}

/*=============== メディアクエリ =================*/

@media screen and (max-width: 960px) {

.container {
    width: 90%;
}
#mailformpro .flex {
    flex-wrap: wrap;
}
#mailformpro .flex .Form-Item {
    width: 70%;
}
.mfp_element_select-one, .mfp_element_textarea, .mfp_element_date
{
    width: 100%;
}
/* .mfp_element_textarea {
    width: 70% !important;
} */

.Form-Item {
    margin: 0 auto;
}
.Form-Item-Textarea {
    width: 70%;


}
.Form-Item-Textarea {
    width: 70%;
    margin: 0 auto;
}

}
@media screen and (max-width: 520px) {
.consultation {
   position: absolute;
   top: 68%;
}
.mailformpro_form {
    width: 100%;
    margin: 0 auto;
}
.thanks_container {
    width: 83%;
}
select,
.Form-Item,
#mailformpro .flex .Form-Item,
.Form-Item-Textarea {
    width: 100%;
   
}

}
