.job-work { height: 380px; } .job-role { height: 850px; } .job-cover .title h2{ font-size: 1.5rem; line-height: 1.5; } .job-cover .title .role { } .job-cover .inner .title-panel{ left: 0; } .job-cover .inner .photo{ text-align: right; } .job-work .inner .message-panel{ width: 620px; right: 0; left: auto; } .job-work .inner .photo{ left: 0; } .job-role .inner .message-panel{ width: 60%; position: relative; margin: 0 auto; right: auto; top: 68%; left: auto; } .job-future { height: 420px; } @media screen and (max-width: 52.5em) and (min-width: 40.0625em){ .job-work { height: auto; } .job-role { } .job-future { height: auto; } .job-cover .inner .photo{ text-align: center; } .job-work .inner .message-panel{ } .job-role .inner .message-panel{ width: 560px; top: 70%; } job-role { height: 750px; } .job-future{ height: 660px; } .job-role .message-panel { top: 75%; right: auto; left: 50%; } .job-future .inner .message-panel{ } } @media screen and (max-width:40em){ .job-work { height: auto; } .job-role { height: auto; } .job-future { height: auto; } .job-cover .inner .title-panel{ left: 10px; } .job-work .inner .message-panel{ right: 0; width: 100%; } .job-role .inner .message-panel{ width: 100%; left: 0; margin-top: -20px; } .job-future{ } .job-cover .inner .title .role{ } }