main {
  padding-top: 75px;
  background-color: #000000;
}

main .section_container {
  max-width: 800px;
  padding: 0 15px;
  margin: 0 auto;
}

main h2 {
  font-size: 50px;
}

.contact_section {
  background-color: #000000;
  padding: 100px 0 125px;
  box-sizing: border-box;
  color: #ffffff;
}

.contacts {
  margin-top: 75px;
}

.contacts p {
  font-size: 20px;
  font-weight: bold;
  margin-top: 5px;
  line-height: 1.3;
  font-family: "Pretendard Variable";
}

.contact_section form {
  margin-top: 75px;
  width: 500px;
}

.contact_section form > div {
  position: relative;
  margin-top: 15px;
}

.contact_section form label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 15px;
  font-family: "Pretendard Variable";
}

.contact_section form p {
  font-size: 15px;
  padding-top: 15px;
  font-family: "Pretendard Variable";
}

.contact_section form input[type='text'] {
  width: 100%;
  padding: 15px 0 15px 145px;
  box-sizing: border-box;
  font-size: 15px;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  background-color: transparent;
  transition: border-bottom-color .5s;
  color: #fff;
  font-family: "Pretendard Variable";
}

.contact_section form input:focus {
  outline:none;
  border-color: rgba(255,255,255,1);
}

.contact_section form label input::-webkit-input-placeholder {
  font-family: "Pretendard Variable";
  font-size: 15px;
}

.contact_section form label input:-ms-input-placeholder {
  font-family: "Pretendard Variable";
  font-size: 15px;
}

.contact_section form label input:-moz-placeholder {
  font-family: "Pretendard Variable";
  font-size: 15px;
}

.contact_section form label input::-moz-placeholder {
  font-family: "Pretendard Variable";
  font-size: 15px;
}

.contact_section form textarea {
  width: 100%;
  height: 250px;
  margin-top: 15px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  box-sizing: border-box;
  font-family: "Pretendard Variable";
  font-size: 15px;
  color: #ffffff;
  background-color: transparent;
  transition: border-color .5s;
  line-height: 1.3;
  resize: none;
}

.contact_section form textarea:focus {
  outline:none;
  border-color: rgba(255,255,255,1);
}

.contact_section form .checkbox-container label {
  display: inline-block;
  position: relative;
  top: unset;
  left: unset;
  padding-top: 15px;
  padding-right: 15px;
  font-family: "Pretendard Variable";
  font-size: 15px;
  cursor: pointer;
}

.contact_section form .checkbox-container input {
  display: none;
}

.contact_section form .checkbox-container label:after {
  content: "";
  display: block;
  position: absolute;
  right: -20px;
  bottom: -3px;
  width: 20px;
  height: 20px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
}

.contact_section form .checkbox-container input:checked + label:after {
  border: 5px solid #dfb98a;
}

.contact_section form button[type='submit'] {
  margin-top: 30px;
  padding: 16px 30px 14px;
  background-color: #fff;
  font-family: "Pretendard Variable";
  font-size: 15px;
  font-weight:bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact_section form button[type='submit']:hover {
  background-color: #dfb98a;
  color: #fff;
}

.map_section {
  background-color: #f4f4f5;
  padding-top: 120px;
}

.map h5 {
  text-align: center;
  font-size: 20px;
  font-family: "Pretendard Variable";
  line-height: 1.3;
  font-weight: bold;
}

.map h3 {
  margin-top: 30px;
  text-align: center;
  font-size: 50px;
}

.map_section .map_image {
  margin-top: 60px;
  height: 300px;
  background: url("../images/map_image.png") center center no-repeat;
  background-size: cover;
}

@media (max-width: 640px) {
  main {
    padding-top: 63px;
  }

  main h2 {
    font-size: 28px;
  }

  .contact_section {
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .contacts {
    margin-top: 40px;
  }

  .contacts p {
    font-size: 16px;
  }

  .contact_section form {
    margin-top: 30px;
    width: 100%;
  }

  .contact_section form input[type='text'] {
    padding: 12px 0 12px 125px;
    font-size: 12px;
  }

  .contact_section form label {
    top: 13px;
    font-size: 12px;
  }

  .contact_section form p {
    font-size: 12px;
    padding-top: 12px;
  }

  .contact_section form textarea {
    margin-top: 12px;
    padding: 10px;
    font-size: 12px;
  }

  .contact_section form .checkbox-container label {
    padding-right: 10px;
    padding-top: 7px;
    font-size: 12px;
  }

  .contact_section form button[type='submit'] {
    margin-top: 40px;
    padding: 21px 30px 20px;
    width: 100%;
    font-size: 16px;
  }

  .map_section {
    padding-top: 30px;
  }

  .map h5 {
    font-size: 16px;
  }

  .map h5 + h5 {
    margin-top: 5px;
  }

  .map h3 {
    margin-top: 20px;
    font-size: 24px;
  }

  .map_section .map_image {
    margin-top: 30px;
  }
}
