Hydra Fight - DQ4

No matter how good my build is, I’ve never managed to beat the hydra fight at the end of the elemental dungeon dive. Because of the head’s high armour, I’m can never do enough damage before to win before the 50 health head revives. Any tips/ideas on a build that can beat this?