<h1 class="cp_headline01">見出しテキスト</h1>
.cp_headline01 {
position: relative;
padding: 0.3em 0.3em 0.3em 0.8em;
background: #fffff2;
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
}
.cp_headline01::before,
.cp_headline01::after {
position: absolute;
width: 0;
height: 51.95px;
content: '';
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
border-width: 0 0 0 1px;
border-style: solid;
border-color: #e60012;
}
.cp_headline01::before {
top: -15px;
right: 10px;
}
.cp_headline01::after {
bottom: -15px;
left: 10px;
}