With the hypothesis of minimal flavor violation, we find that there exists a power-aligned relation between the Yukawa couplings of the two scalar doublets in the two-Higgs-doublet model with Hermitian Yukawa matrices. Within such a power-aligned framework, it is found that a simultaneous explanation of the anomalies observed in the electron and muon anomalous magnetic moments can be reached with TeV-scale quasi-degenerate Higgs masses, and the resulting parameter space is also phenomenologically safer under the B-physics, Z and tau decay data, as well as the current LHC bounds. Furthermore, t...