/* プロフィールページ専用CSS */

.profileMainBlock {
    counter-reset: section;
}
/* 画像 */
.avatar-image,
.profile-main-image {
    margin-left: -16px;
    margin-right: -16px;
}

/* 見出し部分 */
.profileMainBlock h3{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    align-items: center;
    position: relative;
    line-height: 1.5;
    background: linear-gradient(
        to right,
        var(--line-black-color) 0,
        var(--line-black-color) calc(100% - 126px),
        transparent calc(100% - 126px),
        transparent 100%
    );

    background-size: 100% 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    z-index: 0;
}
/* 見出し本文 */
.profileMainBlock h3 span{
    grid-column: 1;
    grid-row: 1;
    font-size: medium;
    font-weight: 600;
    z-index: 2;
    padding-right: 40px;
}
/* 数字 */
.profileMainBlock h3::before{
    grid-column: 2;
    grid-row: 1;
    position: relative;
    top: 2px;
    right: 16px;
    justify-self: end;
    counter-increment: section;
    content: "0" counter(section);
    z-index: 1;
    line-height: 0.7;
    color: #333;
    font-size: 2.4em;
    font-weight: 400;
}
/* 矩形 */
.profileMainBlock h3::after{
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    position:relative;
    bottom: 0px;
    display: block;
    content: '';
    width: 104px;
    height: auto;
    color: #fff;
    background: transparent;
    padding: 36px 0px;
    margin-left: -16px;
    z-index: 0;
    flex-shrink: 0;
    transform: skewX(-32deg);
    border-top: 1px solid var(--line-black-color);
    border-left: 1px solid var(--line-black-color);
}


@media (min-width: 768px) {
    /* タブレット */
}

@media (min-width: 1025px) {
    /* PC */
}