@charset "UTF-8";


/*--------------------
hero
---------------------*/
.hero {
    display: flex;
    margin: 20px 0 100px;
}

.hero-img {
    width: 50%;
}

.hero-img img {
    width: 100%;
}

.section-title {
    width: 50%;
    text-align: center;
    margin: auto 0;
}

.section-title span {
    background: linear-gradient(180deg, #f2b7d6, #9ad7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 991px) {
    .hero {
        display: block;
        position: relative;
    }

    .hero-img {
        width: 100%;
        height: 30vh;
    }

    .hero-img::after {
        content: "";
        display: inline-block;
        position: absolute;
        width: 100%;
        height: 100%;
        background: #000000;
        top: 0;
        left: 0;
        opacity: 0.6;
    }

    .hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .section-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
    }

}

/*--------------------
contact-text
---------------------*/
.contact-text {
    margin-top: 40px;
}
.contact-text2 {
  margin: 40px 0 100px;
}

/*--------------------
contact-block
---------------------*/
.contact-block {
    max-width: 100%;
    width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}


/*--------------------
form
---------------------*/
form#mailformpro {
  padding: 0;
}
.mailform {
  font-size: 1.6rem;
  width: 100%;
  margin: 0px auto 80px;
  text-align: left;
  border-top: 1px solid #bdbdbd;
  border-left: 1px solid #bdbdbd;
  /* border-bottom: 1px solid #bdbdbd; */
  margin-top: 60px;
  max-width: 980px;
  /* padding: 0 20px; */
}

.mailform > div:nth-of-type(even) {
  background: #f8f8f8;
}

.form-box {
  display: flex;
  flex-wrap: wrap;
  border-spacing: 0;
  border-collapse: collapse;
}

/*======== agree ==========================*/
.form-box.agree {
  text-align: center;
  display: block;
  padding: 30px;
  border-right: 1px solid #b1b1b1;
}



form#mailformpro .dt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 400px;
  padding: 20px;
}

.mailform span.must, .mailform span.any {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
  margin: 0 0 0 20px;
  padding: 6px 10px;
  letter-spacing: 2px;
  color: #fff;
}

.mailform span.must {
  background: #f093c3;
}

form#mailformpro .dd {
  width: calc(100% - 400px);
  padding: 20px;
}

form#mailformpro .dt, form#mailformpro .dd {
  border-bottom: 1px solid #bdbdbd;
  border-right: 1px solid #bdbdbd;
  line-height: 1.4;
}

/*************************/
@media screen and (max-width: 767px) {
  .mailform {
    display: block;
    margin-bottom: 13.038vw;
  }

  form#mailformpro .dt {
    width: 100%;
    border-bottom: 1px dashed #b1b1b1;
  }

  form#mailformpro .dd {
    width: 100%;
    border-top: none;
  }
  .mfp_element_all {
    max-width: 100%;
  }
}

/*************************/
.mfp_col5 {
  position: relative;
}

.w50 {
  width: 50%;
}
/*************************/
@media screen and (max-width: 991px)
{
  .w50 {
    width: 100%;
  }
}
/*************************/

input[type='text'], input[type='tel'], input[type='email'] {
  font: inherit;
  font-size: 1rem;
  line-height: 1em;
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  background: #fff;
}
input[type='text']:not(.problem), input[type='tel']:not(.problem), input[type='email']:not(.problem) {
  border: 1px solid #b1b1b1;
}
/*************************/
@media screen and (max-width: 767px)
{
  input,textarea {
    margin: 10px 0;
  }
}
/*************************/

.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 {
  border-radius: 0;
  margin: 10px 0;
}

/*== radio ================*/
.item-radio {
  display: flex;
  width: 100%;
}

.item-radio-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  line-height: 3;
}

.vertical .item-radio-wrap {
  flex-direction: column;
}

.item-radio-list {
  display: inline-block;
  margin-right: 1em;
  margin-left: 0;
}

.item-radio-list label {
  display: flex;
  flex-wrap: wrap;
}

.item-radio-list input[type='radio'] {
  position: absolute;
  opacity: 0;
}

.item-radio-list-label {
  /* font-size: 1.4rem; */
  display: flex;
  align-items: center;
}

.item-radio-list-label::before {
  display: block;
  width: 14px;
  height: 14px;
  margin-right: 1rem;
  content: '';
  border: 3px solid #f9f9f9;
  border-radius: 50%;
  background: #f9f9f9;
  box-shadow: 0 0 0 1px #d1d1d1;
}

.item-radio-list input[type='radio']:checked + span::before,
.item-radio-list input[type='radio']:checked + input[type='hidden'] + span::before {
  background: var(--Blue2);
}

.item-radio-list-label::before, .item-radio-list-label::after {
  content: ' ';
}
/*************************/
@media screen and (max-width: 991px)
{
  .item-radio-wrap {
    flex-direction: column;
  }
}
/*************************/


/*== select ================*/
.select-wrap {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .select-wrap {
    flex-wrap: wrap;
  }
}

.select-wrap-inner {
  position: relative;
  display: block;
}

.select-wrap select {
  font-size: 1.6rem;
  line-height: 1em;
  min-width: 6.25em;
  height: 1.875em;
  padding: 0 2em 0 0.5em;
  border: 1px solid #dcdcdc;
  border-radius: 0.25em;
  background-color: transparent;
  background-image: url(../img/svg/select.svg);
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  background-size: 0.375em 0.875em;
}

/*== textarea ================*/
textarea {
  font: inherit;
  display: block;
  width: 100%;
  height: 250px;
  padding: 10px;
  border: 1px solid #b1b1b1;
  /* background-color: #f1f1f1; */
}

textarea.short-textarea {
  height: 100px
}

/*== button ================*/
.mfp_buttons {
  text-align: center;
  margin-bottom: 100px;
}
.mfp_buttons button {
    display: inline-block;
    border: 1px solid #222;
    border-radius: 100px;
    padding: 14px 60px;
    color: #222;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    font-size: 1.6rem;
    text-align: center;
}

.mfp_buttons button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) skewX(45deg);
    width: 15px;
    height: 3px;
    border-bottom: 1px solid #222;
    border-right: 1px solid #222;
    transition: 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}

.mfp_buttons button:hover {
    background-color: #555555;
    border-color: #555;
    color: #fff;
}

.mfp_buttons button:hover::after {
    right: 15px;
    border-color: #fff;
}

.mfp_buttons button {
  text-align: center;
  white-space: nowrap;
  letter-spacing: 3px;
}

/*************************/
@media screen and (max-width: 599px)
{
  .mfp_buttons button {
    margin: 0 20px 20px;
  }
}
/*************************/
@media screen and (max-width: 499px)
{
  .mfp_buttons {
    flex-direction: column;
  }
  .mfp_buttons button.btn-reset {
    order: 2;
  }
}
/*************************/


#mfp_overlay_inner .mfp_buttons {
  flex-direction: row-reverse;
}



/*== checkbox ================*/
.check-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.check-wrap label {
  line-height: 1.2em;
  padding: 0.9375em;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: all 0.2s;
}

.check-wrap input[type='checkbox'] {
  position: absolute;
  opacity: 0;
}

.check-wrap input[type='checkbox'] + span, .check-wrap input[type='checkbox'] + input + span {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.check-wrap input[type='checkbox'] + span::before, .check-wrap input[type='checkbox'] + input + span::before {
  font-weight: bold;
  line-height: 1em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 1.5em;
  min-width: 1.5em;
  height: 1.5em;
  margin-right: 0.75em;
  content: '?';
  color: transparent;
  border-width: 1px;
  border-style: solid;
  border-color: var(--Blue2);
  border-image: initial;
  background: rgb(255, 255, 255);
}

.check-wrap input[type='checkbox']:checked + span::before, .check-wrap input[type='checkbox']:checked + input + span::before {
  color: #fff;
  background: var(--Blue2);
}

.check-wrap .mfp_err {
  width: 100%;
}

.mfp_col10 + .mfp_col10 {
  margin-top: 2rem;
}


form#mailformpro label {
  line-height: 1.6;
  white-space: normal;
}

form#mailformpro label.mfp_checked {
  border: none;
  background-color: transparent;
  box-shadow: none;
}

form#mailformpro label.mfp_not_checked {
  border: none;
}


.margin-b {
  margin-bottom: 100px;
}


.caption {
  font-size: 1.6rem;
  margin-bottom: 5px;
  display: block;
}

input + span.caption,
.select-wrap + span.caption{
  margin-top: 20px;
}

.contact_textarea{
  height:250px !important;
  width: 100% !important;
  background: #fff;
}

.contact_textarea::placeholder {
  font-size: 1.6rem;
}