Have you had your septic tank pumped out. Over the years not everthing breaks down and leaches out.
It's probably organic sludge that ahs accumulated over the years.
If the drain line is flat or even slightly back graded it does not drain properly.
Have the tank pumped then have a drain cleaning service with a high pressure jetter clean the lines for you. Then have them run a camera done the line to see if it is holding water. If it's holding water then it's not draing properly
__________________
. . . . . . . . . . -(@@)- . . . . . . . . .
. . . . . ----o00--()--00o----. . . . .
|