<h1 class="cp_h1title">見出しテキスト</h1>
.cp_h1title {
position: relative;
display: inline-block;
width: 100%;
padding: 0 17%;
text-align: center;
color:#00acc1;
}
.cp_h1title::before,
.cp_h1title::after {
content: '';
position: absolute;
top: 50%;
display: inline-block;
width: 15%;
height: 3px;
border-top: 3px solid #00acc1;
}
.cp_h1title::before {
left:0;
}
.cp_h1title::after {
right: 0;
}