.contact-container {
  margin-top: 100px;
  margin-right: 14%;
  margin-left: 14%;
  margin-bottom: 100px;
}

.contact-top-background {
  width: 100%;
  max-width: 1440px;
  max-height: 440px;
  height: calc(100vw * 0.306);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../image/TOP-PC/header-contact.jpg);
  position: relative;
}

.contact-top-background-image {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: -95px;
  justify-content: center;
  width: 100%;
  height: calc(100vw * 0.09347222222);
  max-height: 134px;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../image/TOP-PC/header_r2_c1.jpg);
}
.contact-top-background-image-child {
  text-align: center;
}

.contact-top-background-image-child h1 {
  color: rgb(0, 100, 183);
  font-size: 30px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
  margin-top: 23px;
}

.contact-top-background-image-child span {
  color: rgb(0, 100, 183);
  font-size: 20px;
  font-family: Helvetica;
  text-align: center;
}

.contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 141px;
  text-align: center;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../image/TOP-PC/PC2.jpeg);
  margin-bottom: 60px;
}

.contact-title h1 {
  color: rgb(0, 100, 183);
  font-size: 25px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
}

.contact-title span {
  color: rgb(0, 100, 183);
  font-size: 20px;
  font-family: Helvetica;
  text-align: center;
}

.contact-container-form span {
  width: 100%;
  display: block;
  color: rgb(0, 100, 183);
  font-size: 25px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid rgb(0, 100, 183);
  padding-bottom: 40px;
  padding-top: 40px;
}

.contact-from-form {
  margin-top: 40px;
}

.contact-for-customer {
  padding-bottom: 10px !important;
}

.contact-form-section {
  display: flex;
  justify-content: center;
}
.contact-form-section form {
  width: 100%;
}

.contact-mail-form {
  width: 100%;
}

.contact-mail-form p {
  color: rgb(0, 100, 183);
  font-size: 20px;
  font-family: YuGothicStd, sans-serif;
  margin-top: 63px;
}

.contact-mail-form input {
  border: 0px;
  border-bottom: 1px solid rgb(0, 100, 183);
  width: 100%;
  padding: 8px;
  background: rgba(223, 250, 255, 0.3);
  font-size: 16px !important;
}
.contact-mail-form textarea {
  border: 0px;
  border-bottom: 1px solid rgb(0, 100, 183);
  font-size: 16px !important;
}

.contact-mail-form-content {
  height: 380px !important;
  background: rgba(223, 250, 255, 0.3);
  width: 100%;
  font-size: 150%;
  padding: 8px;
}

.contact-form-privacy-section {
  margin-top: 104px;
  margin-bottom: 80px;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.contact-mail-input-form-privacy {
  width: 18px !important;
  height: 18px !important;
  transform: scale(1.8);
  margin: 0 !important;
}

.contact-mail-form-privacy {
  color: rgb(0, 100, 183);
  font-size: 20px;
  padding-left: 30px;
  font-family: YuGothicStd, sans-serif;
}

.contact-mail-form-privacy a {
  color: rgb(0, 100, 183) !important;
  font-size: 20px;
  font-family: YuGothicStd, sans-serif;
  border-bottom: rgb(0, 100, 183) 1px solid;
  padding-bottom: 2px !important;
}

.g-recaptcha {
  margin-bottom: 100px !important;
}

.contact-mail-second {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-submit {
  width: 683px;
  height: 87px;
  color: rgb(0, 100, 183);
  font-size: 20px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
  -webkit-appearance: none !important;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0.5px 0.5px black;
}
.contact-company-branch {
  margin-top: 145px;
}

.contact-container-company span {
  width: 100%;
  display: block;
  color: rgb(0, 100, 183);
  font-size: 25px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid rgb(0, 100, 183);
  padding-bottom: 21px;
  padding-top: 40px;
}

.contact-container-company p {
  color: rgb(0, 100, 183);
  font-size: 20px;
  padding: 0;
  font-family: YuGothicStd, sans-serif;
}

.contact-container-company-phone {
  padding-left: 50px !important;
}

.contact-container-company-address {
  padding-left: 50px !important;
}

.contact-container-company-section {
  padding-top: 47px;
  padding-bottom: 47px;
  width: 100%;
  border-bottom: 2px solid rgb(0, 100, 183);
}
.contact-container-company-section a {
  color: rgb(0, 100, 183) !important;
  font-size: 20px;
  padding: 0;
  font-family: YuGothicStd, sans-serif;
}

.contact-confirm-submit {
  width: 683px;
  height: 117px;
  color: rgb(0, 100, 183);
  font-size: 30px;
  font-family: YuGothicStd, sans-serif;
  font-weight: bold;
  text-align: center;
  -webkit-appearance: none !important;
  background-color: white !important;
  border-radius: 8px;
  margin-bottom: 50px;
}

@media only screen and (max-width: 1000px) {
  .contact-container {
    margin-top: 50px;
    margin-bottom: 78px;
    margin-left: 3%;
    margin-right: 3%;
  }

  .contact-title {
    height: 61px;
    margin-bottom: 0px;
  }

  .contact-top-background-image {
    bottom: -35px;
  }

  .contact-top-background-image-child h1 {
    font-size: 12px;
    margin-top: 0;
  }
  .contact-top-background-image-child span {
    font-size: 10px;
  }

  .contact-top-background-image-child {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0px;
  }
  .contact-container-form span {
    font-size: 12px;
    padding-bottom: 11px;
    padding-top: 20px;
    border-bottom: 1px solid rgb(0, 100, 183);
  }

  .contact-mail-form p {
    font-size: 12px;
    margin-top: 23px;
  }

  .contact-mail-form input {
    width: 100%;
    height: 30px;
  }

  .contact-mail-form-content {
    height: 200px !important;
    width: 100%;
    font-size: 100%;
  }

  .contact-form-privacy-section {
    margin-top: 54px;
    margin-bottom: 57px;
    padding-left: 10px;
  }

  .contact-mail-input-form-privacy {
    width: 14px !important;
    height: 14px !important;
    padding: 10px !important;
    transform: scale(1);
  }

  .contact-mail-form-privacy {
    color: rgb(0, 100, 183);
    font-size: 13px;
    padding-left: 10px;
  }

  .contact-mail-form-privacy a {
    font-size: 13px;
  }

  .g-recaptcha {
    margin-bottom: 70px !important;
  }

  .contact-container-company-phone {
    padding: 0 !important;
    padding-bottom: 5px !important;
  }
  .contact-container-company-address {
    padding: 0 !important;
    padding-bottom: 5px !important;
  }

  .contact-container-company span {
    font-size: 12px;
    border-bottom: 1px solid rgb(0, 100, 183);
    padding-bottom: 11px;
    padding-top: 40px;
  }
  .contact-container-company-section {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    border-bottom: 1px solid rgb(0, 100, 183);
  }
  .contact-container-company-section a {
    font-size: 12px;
  }

  .contact-container-company p {
    font-size: 12px;
  }
  .contact-submit {
    width: 90%;
    height: 50px;
    font-size: 12px;
    box-shadow: 0px 0px 0px 0px black;
  }
  .contact-company-branch {
    margin-top: 35px;
  }

  .contact-confirm-submit {
    font-size: 20px;
  }
}
