@charset "UTF-8";
.contact {
  width: 100%;
  height: auto;
  padding-top: 200px;
}
.form-all {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  justify-content: center;
}
.form-part {
  min-width: 300px;
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0;
}
.form-title {
  min-width: 300px;
  padding-bottom: 10px;
}
.form-area {
  min-width: 450px;
}
input[type="text"] {
  width: 100%;
  height: auto;
  min-height: 40px;
  background-color: #fff;
  border: 5px solid #d9d9d9;
  box-sizing: border-box;
}
input[type="email"] {
  width: 100%;
  height: auto;
  min-height: 40px;
  background-color: #fff;
  border: 5px solid #d9d9d9;
  box-sizing: border-box;
}
textarea {
  min-width: 450px;
  min-height: 250px;
  border-radius: 9px;
  background-color: #fff;
  border: 5px solid #d9d9d9;
  box-sizing: border-box;
}
label {
  font-size: 3.2rem;
  vertical-align: middle;
  cursor: pointer;
}
.form-btn {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  width: 50%;
  height: 60px;
  border-radius: 30px;
  background: #ef9393;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  text-align: center;
  position: relative;
  margin: 40px auto;
  font-family: "Zen Maru Gothic";
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  display: block;
  max-width: 600px;
  transition-duration: 0.4s;
}
.form-btn:hover {
  transform: scale(1.1);
}
.policy-box {
  text-align: left;
  min-width: 250px;
  max-width: 600px;
  height: 250px;
  overflow-y: scroll;
  padding:  0 20px;
  margin: 0 auto;
  background-color: #fff;
  border: 5px solid #d9d9d9;
  box-sizing: border-box;
  border-radius: 9px;
}
.privacy-policy__head{
  font-size: 2rem;
  line-height: 4rem;
}
.policy-check{
  text-align: center;
  padding-top: 30px;
}
.privacy-policy__box{
  padding: 5px 0;
}
label input[type="checkbox"] {
  background-color: #fff;
  border: 5px solid #b83b3b;
  box-sizing: border-box;
  border-radius: 8px;
  margin: 0;
  margin-right: 10px;
  width: 4rem;
  height: 4rem;
  appearance: none;
  vertical-align: -7px;
  cursor: pointer;
}
label input[type="checkbox"]:checked {
  position: relative;
}
label input[type="checkbox"]:checked:after {
  display: block;
  content: "";
  width: 11px;
  height: 28px;
  border-right: 7px solid #333;
  border-bottom: 7px solid #333;
  position: absolute;
  top: -8px;
  left: 9px;
  transform: rotate(50deg);
}
.policy {
  font-size: 3.2rem;
}
.policy-text {
  font-weight: 900;
  cursor: pointer;
}
.policy-box h3{
  font-size: 3rem;
  text-align: center;
  padding-top: 20px;
}
@media screen and (max-width: 780px) {
  .contact h2 {
    font-size: 5rem;
  }
}
@media screen and (max-width: 750px) {
  .form-part {
    justify-content: center;
    flex-direction: column;
  }
  .policy {
    font-size: 2.5rem;
  }
  label input[type="checkbox"] {
    vertical-align: -10px;
  }
  .policy-box{
    max-width: 450px;
  }
}
@media screen and (max-width: 600px) {
  .contact {
    padding-top: 120px;
  }
  textarea {
    min-width: 300px;
  }
  .form-title {
    min-width: 150px;
  }
  .form-area {
    min-width: 300px;
  }
  .policy {
    font-size: 1.6rem;
  }
  label input[type="checkbox"] {
    width: 3rem;
    height: 3rem;
    border: 3px solid #b83b3b;
    margin-right: 5px;
    vertical-align: -8px;
  }
  label input[type="checkbox"]:checked:after {
    width: 8px;
    height: 21px;
    border-right: 5px solid #333;
    border-bottom: 5px solid #333;
    top: -4px;
    left: 8px;
  }
  .policy-box{
    max-width: 300px;
    height: 200px;
  }
  .policy-box h3{
    font-size: 2.3rem;
    text-align: center;
    padding-top: 20px;
    font-weight: 900;
  }
}
@media screen and (max-width: 520px) {
  label {
    font-size: 2rem;
  }
  .form-part {
    padding: 20px 0;
  }
  .form-btn {
    font-size: 2rem;
  }
  .contact h2 {
    padding-bottom: 20px;
  }
}
