Learning pawn structures, middlegame strategy, and endgames will make openings a lot easier. You'll be able to navigate openings you've never even seen before with that knowledge + opening principals.
But after that if you need to study openings, then you'd ideally find a GM who uses the opening frequently, and go over 50 to 100 games. A few games a day, make your own notes, that sort of thing. A database (like chessbase) a reference book (like MCO) and a site (like chessgames.com) is better than any opening book IMO. Plus you can use these to learn any opening while a book can only show you some things about 1 opening.
I am starting to ramp up my chess study. I currently have a couple of books on middle game strategy, silman's how to reassess your chess, silman's end game book, and some tactic books. I'm also looking into some slightly more advanced endgame/ technique books.
I just don't want to fall behind on the opening, and I really want to try and start building my repertoire and to learn which openings best suit me. I really want to learn the benoni, french, sicilian and ruy lopez for example. How would I learn these openings? I can look up lines etc. all day, but they don't help with understanding the ideas behind each variation, and which variations would best suit me. Do I just get a book or something?