<div class="cp_h1title"><span>Lorem ipsum dolor sit amet, consectetur adipisicing elit. </span><h1>見出しテキスト</h1><data>0123</data></div>
.cp_h1title {
border: 1px solid #000000;
display: flex;
align-items: center;
justify-content: space-between;
text-align: center;
}
.cp_h1title span {
font-size: 10px;
line-height: 1.1;
display: block;
width: 20%;
padding: 5px;
text-align: left;
}
.cp_h1title h1 {
position: relative;
width: calc(100% - 25%);
margin: 0;
padding: 0 15px;
}
.cp_h1title h1::before,
.cp_h1title h1::after {
position: absolute;
content: '';
background: #000000;
top: 0;
width: 40px;
height: 100%;
clip-path: polygon(0% 0%, 0% 100%, 20% 100%, 5% 80%, 1% 50%, 5% 20%, 20% 0);
}
.cp_h1title h1::before {
left: 0;
}
.cp_h1title h1::after {
right: 0;
transform: rotate(180deg);
}
.cp_h1title data {
width: 5%;
font-size: 10px;
padding: 0 5px;
}