Согласно моему комментарию, я бы использовал элемент после и до - ниже я добавил блок div и стилизовал его как
.hero-banner {
width: 100%;
height: 40vw;
background-image: url('https://i.imgur.com/Ft1XsIn.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-color: blue; /* for my test as imiur is blocked */
margin: 0;
padding: 0;
position: relative;
}
.hero-banner h1 {
color: #fff;
position: absolute;
top: 40%;
left: 200px;
}
.box {
position: absolute;
/* use rgba colour for opacity */
border: 1px solid rgba(255, 255, 255, 0.5);
border-top: 0;
top: 40px;
left: 40px;
bottom: 40px;
right: 40px;
}
.box:after {
content: '';
display: block;
border-top: 1px solid rgba(255, 255, 255, 0.5);
position: absolute;
top: 0;
right: 0;
left: calc(100% - 100px);
/* the minus number is where you want it to stop from the right */
}
.box:before {
content: '';
display: block;
border-top: 1px solid rgba(255, 255, 255, 0.5);
position: absolute;
top: 0;
left: 0;
right: 450px; /* width of logo plus amount of space on right */
}
.hero-banner::before {
content: '';
display: block;
position: absolute;
top: 0;
right: 150px;
height: 122px;
width: 300px;
background: url('http://www.technozion.org/tz15/assets/mat/images/generic-logo.png') left top no-repeat;
background-size: cover;
}
<div class="hero-banner">
<div class="box">
<h1><small>The Story of</small><br/>This House</h1>
</div>
</div>