Long-term debt refers to the duration of a liability/amount owed, and to qualify it must be due at least 12 months out.
The period is in reference to 12+ months from the date of the balance sheet. A company will typically take on long-term debt in the form of a mortgage for property owned, or as capital for growth raised through bond sales or other debentures.