#inquiry {
  padding: 100px 0;
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 80px auto 0;
}

#inquiry form {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 30px auto 0;
}

#inquiry form .wrap {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #B3B3B3;
  display: flex;
  align-items: center;
  padding: 10px 50px;
  position: relative;
}

#inquiry form .wrap label {
  width: 170px;
  height: auto;
  display: block;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 15px;
  color: #4B3A2D;
  flex-shrink: 0;
}

#inquiry form .wrap input[type=text],
#inquiry form .wrap input[type=tel],
#inquiry form .wrap input[type=email],
#inquiry form .wrap input[type=file] {
  width: 100%;
  height: 30px;
  border: 0;
  background: 0;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 15px;
  color: #4B3A2D;
}

#inquiry form .wrap span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 15px;
  color: #4B3A2D;
}

#inquiry form .wrap span:first-of-type {
  margin-right: 20px;
}

#inquiry form .wrap input[type=radio] {
  width: 14px;
  height: 14px;
  border: 1px solid #B3B3B3;
  background: none;
}

#inquiry form .wrap textarea {
  width: 100%;
  height: 180px;
  resize: none;
  border: none;
  background: none;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 15px;
  color: #4B3A2D;
}

#inquiry form .wrap #captcha button {
  font-size: 0;
}

#inquiry form .wrap input[type=file] + span {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 12px;
  color: #B3B3B3;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0;
}

#inquiry form .agree_box {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #B3B3B3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 50px;
  position: relative;
  gap: 10px;
}

#inquiry form .agree_box input {
  width: 14px;
  height: 14px;
  border: 1px solid #B3B3B3;
  background: #F3F3F3;
}

#inquiry form .agree_box label {
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 15px;
  color: #4B3A2D;
}

#inquiry form .agree_box .agree_text {
  width: 100%;
  height: 200px;
  overflow-y: scroll;
  background: #F3F3F3;
  padding: 20px;
  font-family: 'PB_R';
	font-weight: normal;
  font-size: 12px;
  color: #4B3A2D;
}

#inquiry form input[type=submit] {
  display: block;
  width: 200px;
  height: 50px;
  margin: 50px auto 0;
  background: #8C735F;
  border-radius: 5px;
  font-family: 'PB_B';
	font-weight: bold;
  font-size: 20px;
  color: #fff;
  border: none;
}

@media (max-width: 1400px) {
  #inquiry {
    max-width: 90%;
  }
}

@media (max-width: 900px) {
  #inquiry form .wrap {
    padding: 10px 30px;
  }

  #inquiry form .agree_box {
    padding: 10px 30px;
  }
}

@media (max-width: 700px) {
  #inquiry form .wrap label {
    width: 70px;
    font-size: 12px;
  }

  #inquiry form .wrap input[type=text], #inquiry form .wrap input[type=tel], #inquiry form .wrap input[type=email], #inquiry form .wrap input[type=file] {
    height: 20px;
    font-size: 12px;
  }

  #inquiry form .wrap span {
    font-size: 12px;
  }

  #inquiry form .wrap input[type=radio] {
    width: 12px;
    height: 12px;
  }

  #inquiry form .wrap textarea {
    font-size: 12px;
    height: 100px;
  }

  #inquiry form .wrap input[type=file] {
    height: 25px;
  }

  #captcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  #captcha #captcha_key {
    width: 70%;
  }

  #inquiry form .agree_box label {
    font-size: 12px;
  }

  #inquiry form .agree_box input {
    width: 12px;
    height: 12px;
  }

  #inquiry form .agree_box .agree_text {
    font-size: 10px;
    height: 100px;
  }

  #inquiry form input[type=submit] {
    width: 150px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  #inquiry form .wrap input[type=file] + span {
    display: none;
  }

  #captcha_audio {
    order: 2;
    width: 100%;
    height: 30px;
  }

  #captcha #captcha_key {
    order: 3;
  }

  #inquiry {
    padding: 50px 0;
    margin: 50px auto 0;
  }
}

@media (max-width: 400px) {
  #inquiry form .wrap {
    padding: 10px;
  }

  #inquiry form .agree_box {
    padding: 10px;
  }

  #inquiry form {
    margin: 0;
  }

  #inquiry form .wrap label {
    width: 60px;
    font-size: 10px;
  }

  #inquiry form .wrap input[type=text], #inquiry form .wrap input[type=tel], #inquiry form .wrap input[type=email], #inquiry form .wrap input[type=file] {
    height: 15px;
    font-size: 10px;
  }

  #captcha {
    gap: 5px;
  }

  #captcha #captcha_img {
    height: 30px;
  }

  #captcha #captcha_reload {
    width: 30px;
    height: 30px;
    background: url(../../../img/captcha2.png) no-repeat -6px -45px;
  }

  #captcha #captcha_key {
    width: 100%;
    height: 30px;
  }

  #inquiry form .wrap textarea {
    font-size: 10px;
    height: 70px;
  }

  #inquiry form .agree_box label {
    font-size: 10px;
  }

  #inquiry form .wrap span {
    font-size: 10px;
  }

  #inquiry form .agree_box .agree_text {
    font-size: 10px;
    height: 70px;
    padding: 10px;
  }

  #inquiry form input[type=submit] {
    width: 120px;
    height: 30px;
    font-size: 14px;
    margin-top: 30px;
  }

  #inquiry form .wrap input[type=file] {
    height: 25px;
  }
}