To add a CSS variable, you can use setProperty:
----------------------------------------------
ele_root.style.setProperty("--id000001","\"どうも\\3042\\308a\"");
----------------------------------------------
You can use Hex number to specify characters.
Those hex numbers stay as hex in the element tab of DevTools.


に


が


が