<h1 class="cp_h1title">見出しテキスト</h1>
.cp_h1title {
position: relative;
color:#ffffff;
background: #90CAF9;
border-radius: 4px;
padding: 0 0 0 45px;
}
.cp_h1title:before,
.cp_h1title:after {
position: absolute;
content: '';
left: 15px;
}
.cp_h1title:before{/*リボン部分の四角い要素*/
top: -2px;
width: 20px;
height: 23px;
padding: 5px 0 0 0;
background: #1976D2;
}
.cp_h1title:after{/*リボン部分の蝶々型の要素*/
top: 16px;
border: 10px solid;
border-color: transparent #1976D2;
}