こんな感じでいかがでしょう?
昔のIEなどを無視してOKならflexboxが手っ取り早いですが…
css
1body { padding-top: 75px; }
2
3.boxContainer {
4 margin: 0 auto;
5 overflow: hidden;
6}
7.box_image { display: none; }
8
9
10@media (min-width: 1200px) {
11 .navbar .container {
12 width:1470px;
13 padding-left: 165px;
14 padding-right: 165px;
15 }
16 .boxContainer {
17 display: table;
18 width:1470px;
19 }
20 .box {
21 display: table-cell;
22 }
23}
html
1<!-- <center>はhtml5で廃止されているので削除 -->
2<div class="boxContainer">
3
4 <!-- idはページ内で同名は使用できないのでclassに書く -->
5 <div class="box box_image">
6 <img src="https://dummyimage.com/150x600">
7 </div>
8
9 <div class="container box" style="background: gray">
10 <!-- コンテンツを可視化する為の空要素 -->
11 <div style="height: 1000px"></div>
12 </div>
13
14 <div class="box box_image">
15 <img src="https://dummyimage.com/150x600">
16 </div>
17</div>
18<!-- </center>は削除-->
19