<h1 class="cp_h1title">見出しテキスト</h1>
.cp_h1title {
position: relative;
margin-bottom: 1em;
text-align: center;
}
.cp_h1title:before {
content: '';
position: absolute;
bottom: -15px;
display: inline-block;
width: 10%;
height: 5px;
left: 50%;
transform: translateX(-50%);
background-color: #F06292;
border-radius: 2px;
}