Note on Custodial Symmetry in the Two-Higgs-Doublet Model