.container {
  width: 100%;
  position: relative;
  height: 100%;
  min-height: 1000px;
}

.sec-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.footer_bg {
  display: none;
}

section {
  padding-top: 100px;
  margin-bottom: 20px;
  height: 100%;
  min-height: 900px;
}

section.sec_flex_contact {
  margin-top: 0 !important;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

section .contact-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  width: 94%;
}

section .contact-wrap .contactForm {
  background: #fff;
  padding: 15px;
}

section .contact-wrap .contactForm h2 {
  margin: 20px auto 15px auto;
}

section .contact-wrap .contactForm .formBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

section .contact-wrap .contactForm .formBox .inputBox {
  position: relative;
  padding: 10px 20px;
}

section .contact-wrap .contactForm .formBox .inputBox.w50 {
  width: 100%;
  height: 70px;
}

section .contact-wrap .contactForm .formBox .inputBox.w100 {
  width: 100%;
  height: 120px;
}

section .contact-wrap .contactForm .formBox .inputBox input,
section .contact-wrap .contactForm .formBox .inputBox textarea {
  width: 100%;
  resize: none;
  font-size: 16px;
  font-weight: 300;
  color: #333;
  border: none;
  border-bottom: solid 1px #777;
}

section .contact-wrap .contactForm .formBox .inputBox textarea {
  height: 120px;
}

section .contact-wrap .contactForm .formBox .inputBox input:focus,
section .contact-wrap .contactForm .formBox .inputBox textarea {
  outline: none;
}

section .contact-wrap .contactForm .formBox .inputBox input:focus ~ span,
section .contact-wrap .contactForm .formBox .inputBox input:valid ~ span,
section .contact-wrap .contactForm .formBox .inputBox textarea:focus ~ span,
section .contact-wrap .contactForm .formBox .inputBox textarea:valid ~ span {
  color: #095a55;
}

section .contact-wrap .contactForm .formBox .inputBox .submit {
  cursor: pointer;
  background: #095a55;
  font-size: 18px;
  color: #fff;
  border: none;
  max-width: 150px;
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 6px 10px;
}

section .contact-wrap .contactForm .formBox .inputBox .submit:hover {
  background: #0d948b;
}

section .contact-wrap .contactForm .formBox .checklist {
  margin-left: -15px;
}

section .contact-wrap .contactForm .formBox .checklist ul li.check-item {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: solid 1px #ccc;
}

section .contact-wrap .contactForm .formBox .checklist ul li.check-lead {
  padding-bottom: 20px;
}

section .contact-wrap .contactForm .formBox .checklist .submit {
  cursor: pointer;
  background: #095a55;
  font-size: 18px;
  color: #fff;
  border: none;
  max-width: 150px;
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 6px 10px;
}

section .contact-wrap .contactForm .formBox .checklist .submit:hover {
  background: #0d948b;
}

section .contact-wrap .contactForm .formBox .checklist .back {
  cursor: pointer;
  background: #ba2512;
  font-size: 18px;
  color: #fff;
  border: none;
  max-width: 150px;
  padding: 6px 10px;
}

section .contact-wrap .contactForm .formBox .checklist .back:hover {
  background: #e82E17;
}

section .contact-wrap .contactForm .formBox .checklist .scrl {
  white-space: pre-wrap;
}

section .contact-wrap .contactForm .formBox .caution {
  position: absolute;
  top: -8px;
  left: 0;
  font-size: 12px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: orangered;
}

section .contact-wrap .contactInfo {
  background: #095a55;
  color: #fff;
  height: 180px;
  position: relative;
}

section .contact-wrap .contactInfo ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

section .contact-wrap .contactInfo ul li {
  display: inline;
  font-size: 0.95rem;
}

section .contact-wrap .contactInfo ul li:nth-child(2) {
  padding-left: 15px;
}

section .contact-wrap .contactInfo h2 {
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  margin: 35px auto 20px 20px;
}

section .contact-wrap .contactInfo .wave {
  position: absolute;
  top: 70%;
  width: 100%;
  height: 70px;
  background: url(../img/bg/waves5.svg) no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  opacity: 0.5;
}

section .contact-wrap .contactInfo a {
  position: absolute;
  bottom: 10%;
  left: 20px;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}

#contact section .contact-wrap .contactForm p, #check section .contact-wrap .contactForm p {
  font-size: 1rem;
  min-width: 350px;
  color: #fff;
}

#result section .contact-wrap .contactForm .contact {
  padding: 20px;
}

#result section .contact-wrap .contactForm .contact h3 {
  margin-bottom: 20px;
  font-weight: normal;
}

#result section .contact-wrap .contactForm .contact p {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 30px;
  color: #444;
}

#result section .contact-wrap .contactForm .contact .btn {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

#result section .contact-wrap .contactForm .contact .btn a {
  color: #fff;
  text-decoration: none;
}

#result section .contact-wrap .contactForm .contact .back {
  cursor: pointer;
  background: #095a55;
  font-size: 18px;
  color: #fff;
  border: none;
  max-width: 150px;
  margin-top: 30px;
  margin-bottom: 10px;
  padding: 6px 10px;
}

#result section .contact-wrap .contactForm .contact .back:hover {
  background: #0d948b;
}

@media (min-width: 350px) {
  .container {
    height: 100%;
  }
  section.sec_flex_contact {
    margin-top: 100px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  section #contact section .contact-wrap .contactForm p, section #check section .contact-wrap .contactForm p {
    font-size: 1rem;
  }
}

@media (min-width: 600px) {
  section .contact-wrap {
    width: 90%;
  }
  section .contact-wrap .contactForm .formBox {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 0 10px;
  }
  section .contact-wrap .contactForm .formBox .inputBox {
    padding: 10px 5px;
  }
  section .contact-wrap .contactForm .formBox .inputBox.w50 {
    width: 48%;
    height: 70px;
  }
  section .contact-wrap .contactForm .formBox .inputBox.w100 {
    width: 100%;
    margin-left: 7px;
  }
  section .contact-wrap .contactInfo ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  section .contact-wrap .contactInfo h2 {
    margin: 35px auto 30px 20px;
  }
}

@media (min-width: 768px) {
  .container {
    height: 100%;
    min-height: auto;
  }
  .footer_bg {
    display: block;
    height: 150px;
  }
  .footer_bg .footer {
    padding: 0;
  }
  section {
    min-height: 0;
    height: calc(100vh - 170px);
  }
  section.sec_flex_contact {
    margin-top: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  section .contact-wrap .contactForm .formBox .checklist ul {
    min-width: 450px;
    padding: 20px;
  }
  section .contact-wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  section .contact-wrap .contactForm {
    -ms-flex-preferred-size: 60%;
        flex-basis: 60%;
  }
  section .contact-wrap .contactInfo {
    -ms-flex-preferred-size: 40%;
        flex-basis: 40%;
    height: auto;
  }
  section .contact-wrap .contactInfo ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  section .contact-wrap .contactInfo ul li {
    display: block;
  }
  section .contact-wrap .contactInfo ul li:nth-child(2) {
    padding-left: 17px;
  }
  section .contact-wrap .contactInfo h2 {
    text-align: left;
    margin: 25px auto 20px 20px;
  }
  section .contact-wrap .contactInfo .wave {
    top: 75%;
    background-position-x: 60%;
    opacity: 0.5;
  }
  section .contact-wrap .contactInfo a {
    display: none;
  }
}

@media (max-height: 900px) {
  .container {
    height: 100%;
  }
  section {
    height: 100%;
  }
}

@-moz-document url-prefix() {
  section {
    margin-bottom: 0;
  }
}
