It's not that hard to pull off when you realize that female seiyuu have voiced male characters and vice versa. https://tvtropes.org/pmwiki/pmwiki.php/Main/CrossDressingVoices#:~:text=Sometimes%2C%20an%20animated%20character%20is,being%20voiced%20by%20adult%20women.