<h1 class="cp_h1title">見出しテキスト</h1>
.cp_h1title {
position: relative;
padding: 4px 20px 4px 40px;
background: #FFB74D;
border-top: 2px solid #E65100;
border-bottom: 2px solid #E65100;
z-index:1;
color:#ffffff;
}
.cp_h1title:before {
position: absolute;
content: '';
left: 0px;
top: -3px;/*ボーダーサイズ分マイナス*/
width: 0;
height: 0;
border: none;
border-left: solid 40px #fafcfc;/*bodyのカラーと同じ色に*/
border-bottom: solid 55px transparent;
z-index: 2;
}
.cp_h1title:after {
position: absolute;
content: '';
right: 0px;
top: -3px;/*ボーダーサイズ分マイナス*/
width: 0;
height: 0;
border: none;
border-left: solid 40px transparent;/*bodyのカラーと同じ色に*/
border-bottom: solid 55px white;
z-index: 2;
}