SHIROI PONZU

線の両端に丸が付いた正円の装飾

<div class="plan">
<div class="plan_txt">
<p class="line">STEP</p>
<p class="item">1</p>
</div>
</div>
p{
margin: 0;
}
.plan{
background: #960417;
border-radius: 50%;
box-sizing: border-box;
color: #fff;
height: 130px;
padding: 10px;
text-align: center;
width: 130px;
position: relative;
}
.line{
align-items: center;
border-bottom: solid 1.8px #fff;
box-sizing: border-box;
font-size: 16px;
line-height: 1.0;
display: flex;
justify-content: center;
padding-bottom: 5px;
position: relative;
width: 100px;
}
.line::after,.line::before{
content: "";
background: #fff;
border-radius: 50%;
height: 4px;
width: 4px;
bottom: -3px;
position: absolute;
}
.line::after{
right: 0;
}
.line::before{
left: 0;
}
.plan_txt {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
}
.item{
font-size: 50px;
font-weight: bold;
margin-top: 10px;
line-height: 1.0;
}