<h1 class="cp_h1title">見出しテキスト</h1>
.cp_h1title {
position: relative;
padding: .6em .3em .3em .3em;
border: 1px solid #0097A7;
}
.cp_h1title::after{
content: "check!";
position: absolute;
top: -8px;
left: 10px;
background: #fafcfc;
font-size: 14px;
color: #0097A7;
padding: 0 10px;
}