Can the sperm that was almost dried and put on the girl's pants cause pregnancy? Can sperm go through the pants?

You're safe! Sperm are pretty fragile and often don't make it from the vagina into the uterus and fallopian tube to meet its mate. Swimming through dry clothing would be remarkable!