I don't see what connection there is between the HP of the player classes and the HP of the enemies.
There is a connection between the result of your damage formulae and the target's HP. There is a connection between ATK, DEF, (or whatever parameters you choose to involve) and the result of the damage formulae.
But I think you're having a hard time because you're trying, essentially, to base a parameter off of itself.
I think a more useful approach is to ask "How many actions do I want it to take to kill an average enemy?"
That will help you create your damage formula in relation to HP, which in turn will inform what you need ATK, DEF, MAT, MDEF, whatever to be.
And then the corollary to that is how the answer to your first question changes if the parties are not at the same level.
You know what, I typed out an entire post, and I just realized I was just repeating
@ATT_Turan , but in more Math'y language.
Now, my response to the OP would be: Get out an excell sheet, and some high school algebra.
Because that's what it is. Math. Game design is a tonne of math.
If you really want to get down to it, write a simple script and simulate some combats.
When designing stats and damage, and everything, you're weaving such a complex web.
Because stats are the tip of the ice berg.
Skills are there too.
I mean, if you subscribe to the Fire I/II/III model of skills upgrading, do you balance the encounter on the player playing conservative and casting the most mana efficient one, or going full ham and spamming the most powerfull one?
Do you balance for the optimizer, or the casual?
How does balance shift by getting the next tier of gear?
Being one level up?
How much randomness is in your damage formulas?
Do you count on the player always hitting those elemental weaknesses?
Are buffs & debuffs required?
There is just so much ...
But yeah, having a solid base, and playtesting the out of it is a key point.