<h1 class="cp_h1title"><span>見出しテキスト</span></h1>
.cp_h1title {
position: relative;
border: 1px solid #0081b2;
border-radius: 5px;
box-shadow: 2px 2px 0 0 #0081b2;
padding: 5px 20px;
}
.cp_h1title::before,
.cp_h1title::after,
.cp_h1title span::before,
.cp_h1title span::after {
position: absolute;
content: '';
width: 10px;
border-top: 1px solid #0081b2;
transform: rotate(-45deg);
}
.cp_h1title span::before,
.cp_h1title span::after {
transform: rotate(45deg);
}
.cp_h1title::before {
top: 10px;
left: 5px;
}
.cp_h1title::after {
bottom: 10px;
right: 5px;
}
.cp_h1title span::before {
top: 10px;
right: 5px;
}
.cp_h1title span::after {
bottom: 10px;
left: 5px;
}