The best solution I've seen for making sidenotes responsive is to move them into the body text. Examples:
http://craftinginterpreters.com/a-map-of-the-territory.html
https://www.martigeon.com/textbook-themed-webdesign/
I'm not sure how well this would work for shorter notes though.