/*!
 * contact.css
 */

 /* contact */
 .contact section {
  position: relative;
}
 .contact h2 {
  font-size: 1.8rem;
 }
 .contact fieldset {
  width: 300px;
  padding: 0px 0 15px;
  margin: 0 auto;
  border: 5px solid #0d2937;
  font-weight: 400;
 }
 .contact fieldset legend {
  width: 240px;
  font-size: 1.6rem;
  text-align: center;
 }
 .contact fieldset ul {
   text-align: center;
 }
 .contact fieldset ul li {
   font-size: 2rem;
 }
 .contact fieldset ul li span {
   font-size: 1.8rem;
 }
 .contact fieldset ul li a {
   color: #0d2937;
 }
 .contact fieldset + p {
   margin: 50px 0;
   text-align: center;
 }
 .contact fieldset + p a {
   color: #0d2937;
   text-decoration: underline;
 }
 .contact .form {
   max-width:800px;
   width: 100%;
   margin: 0 auto;
 }
 .contact .form form p {
  text-align: center;
 }
 .contact .form form > div + p {
   margin-bottom: 50px;
   padding-bottom: 30px;
   border-bottom: 1px solid #0d2937;
 }
 .contact .form ul li ul{
   margin-top: 25px;
 }
 .contact .form ul li:first-child ul {
  margin-top: 0;
}
 .contact .form ul li ul {
  display: flex;
  justify-content: space-between;
 }
 .contact .form ul li ul li:last-child {
   width: 600px;
 }
 .contact .form ul li ul li:last-child input,
 .contact .form ul li ul li:last-child textarea {
   width: 100%;
   padding-left: 10px;
   border: none;
   background: #eeeeee;
 }
 .contact .form ul li ul li:last-child textarea {
   padding-top: 10px;
 }
 .contact .form .custom-wpcf7c-confirmed ul li ul li:last-child input,
 .contact .form .custom-wpcf7c-confirmed ul li ul li:last-child textarea {
   background: none;
 }
 .contact .form .custom-wpcf7c-confirmed ul li ul li:last-child textarea {
   min-width: unset;
 }
 .contact .form ul li ul li:last-child input {
   height: 50px;
 }
 .contact .form ul li ul li:last-child textarea {
   min-height: 300px;
   resize: none;
 }
 .contact .form ul li ul li:last-child textarea::placeholder {
  padding: 15px 0 0 15px;
 }
 .contact .form .privacy {
   margin: 100px 0 50px;
   text-align: center;
}
 .contact .form .privacy a {
   color: #0d2937;
   text-decoration: underline;
 }
 .contact .form .custom-wpcf7c-confirmed .privacy,
 .contact .form .sent .privacy {
   display: none;
 }
 .contact .form [type="submit"],
 .contact .form [type=button] {
  width: 198px;
  height: 60px;
  border: none;
  background: #a40035;
  border: 2px solid #a40035;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: 0.5s;
  border-radius: 0;
 }
 .contact .form [type=button] {
   background: #0d2937;
   border: 2px solid #0d2937;
   margin-right: 50px;
 }
 .contact .form [type="submit"]:hover,
 .contact .form [type=button]:hover {
   background: #fff;
 }
 .contact .form [type="submit"]:hover {
  color: #a40035;
 }
 .contact .form [type=button]:hover {
   color: #0d2937;
 }
 .contact #privacy-popup {
  visibility: hidden;
  opacity: 0;
  display: none;
  transition: 1s;
 }
 .contact #privacy-popup:target {
  width: 100%;
  height: 200vh;
  padding: 50px 0;
  bottom: 0;
  position: absolute;
  background: #0d2937;
  display: flex;
  align-items: center;
  visibility: visible;
  opacity: 1;
  display: block;
  z-index: 99999;
 }
 .contact #privacy-popup:target .container {
   padding: 100px 20px 40px;
   position: relative;
   background: #fff
 }
 .contact #privacy-popup:target .container h2 {
   font-size: 2.2rem;
 }
 .contact #privacy-popup:target .container h2 span {
   font-size: 1.6rem;
 }
 .contact #privacy-popup:target .container > ul > li {
  margin-bottom: 30px;
}
 .contact #privacy-popup:target .container > ul > li:first-child {
   margin-bottom: 60px;
 }
 .contact .popup-close {
  position: absolute;
  top: 30px;
  right: 50px;
 }
 .contact .popup-close a {
  width: 40px;
  height: 35px;
  display: block;
 }
 .popup-close a span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0d2937;
  border-radius: 4px;
}
 .contact .popup-close span:nth-of-type(1) {
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(20px) rotate(-45deg);
}
 .contact .popup-close span:nth-of-type(2) {
  -webkit-transform: translateY(20px) rotate(45deg);
  transform: translateY(20px) rotate(45deg);
}
.recruit .thanks h2 {
  font-size: 2.2rem;
  line-height: 1.8;
}
 .contact .thanks h3 {
  margin-top: 100px;
  line-height: 1.6;
}

@media screen and (max-width:768px) {
  .contact .form,
  .contact .form ul li ul li:last-child {
    width: 100%;
  }
  .contact .form ul li ul {
    display: block;
  }
   .contact .form [type="submit"],
   .contact .form [type=button] {
     display: block;
     margin: 0 auto;
   }
   .contact .form [type=button] {
     margin-bottom: 30px;
   }
   .contact .thanks h3 {
    font-size: 1.6rem;
  }
}
