.first-block {
    position: relative;
    margin-top: clamp(10%, 14%, 14%);

    width: 37%;
    margin-left: 7%;
}

.first-block::before {
    content: "";
    position: absolute;
    z-index: 100;

    top: -0.5em;
    left: -5px;
    bottom: -1em;

    width: 1.5px;
    background: var(--hl-lv2-color);
}



.name {
    padding: 0;
    padding-left: 20px;

    position: relative;
    white-space: nowrap;

    display: flex;
    align-items: baseline;
}


.name::after {
    content: "";
    position: absolute;
    width: 100%;
    left: -5px;
    right: -2px;
    bottom: -6px;
    height: 2px;
    background: var(--hl-lv1-color);
}

.name h1,
.name h2,
.name img {
    margin: 0;
    line-height: 1;
    font-weight: 400;
    text-align: left;
    transition: transform 0.3s ease;
}


.name h1 {
    font-size: clamp(22px, 27px, 30px);
    color: var(--hl-lv1-color);
    letter-spacing: 3.0px;

    padding-right: 2em;
}

.name h2 {
    font-size: clamp(12px, 13px, 15px);
    color: var(--hl-lv4-color);
    letter-spacing: 2.0px;
}

.name img {
    width: 24px;
    margin-left: auto;
    margin-right: 3px;
    align-self: flex-end;

    cursor: pointer;

    transform: scaleX(-1) rotateY(var(--rotation, 0deg));
    transform-style: preserve-3d;
    perspective: 500px;

    transition: transform 0.2s ease;
}

.about {
    position: relative;
    padding-left: 20px;
    margin-top: 1em;
    margin-bottom: 20px;
}

.about p {
    font-size: clamp(11px, 15px, 17px);
    color: var(--text-color);
    margin: 0px;
    margin-bottom: 3px;
}

#p-interested {
    letter-spacing: 2.0px;
}

#p-info {
    letter-spacing: 1.75px;
}

.portfolio-link::before {
    content: "";
    position: absolute;
    padding: 0px;
    margin: 0px;

    top: -0.5em;
    left: -5px;
    bottom: -0.5em;

    width: 1.5px;
    background: var(--hl-lv2-color);
}

.portfolio-link {
    position: relative;

    margin-left: 7%;
    width: fit-content;

    margin-top: 4em;
    margin-bottom: 20px;
    padding-left: 20px;

    display: flex;
    flex-direction: column;

    letter-spacing: 1.8px;
}

.sp-link {
    color: var(--hl-lv1-color);
    font-size: clamp(16px, 2vw, 18px);
}

.second-block {
    padding-bottom: 100px; /* for super wide screen */
}

.links::before {
    content: "";
    position: absolute;
    padding: 0px;
    margin: 0px;

    left: -5px;
    top: -10px;
    bottom: -50px;

    width: 1.5px;
    background: var(--hl-lv2-color);
}

.links {
    position: relative;

    margin-left: 7%;
    width: fit-content;

    margin-top: 4em;
    padding-left: 20px;

    display: flex;
    flex-direction: column;

    letter-spacing: 1.5px;
}

.link-row {
    display: grid;
    align-items: center;
    grid-template-columns: 11ch 21ch auto;
    column-gap: 10px;
}

.link-row > * {
    display: block;
    font-size: clamp(16px, 2vw, 18px);
}

.platform {
    color: var(--hl-lv3-color);
}

.id {
    color: var(--hl-lv5-color);
}


.links a {
    color: var(--hl-lv1-color);
}

.svg-bottom {
    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 170px;

    pointer-events: none;
    z-index: 0;
}

.svg-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* footer { */
/*     color: #aaaaaa; */
/**/
/*     position: absolute; */
/*     left: 0; */
/*     bottom: 0; */
/*     width: 100%; */
/*     height: 100px; */
/**/
/*     display: flex; */
/*     align-items: center; */
/*     justify-content: center; */
/**/
/*     pointer-events: none; */
/*     z-index: 0; */
/* } */


/* タブレット, スマホ */
@media (max-width: 1023px) {
    main {
    width: 100%;}

    .first-block {
        /* right: -3px; */
    }

    .name img {
        display: none;
    }


    .name {
        width: max-content;
        padding-right: 0.75em;
    }

    .about{
        width: 200%;
    }

    .hv-ul {
        width: fit-content;
    }

    span {
        display: block;
    }

    .sep {
        display: none !important;
    }

    .links {
        width: fit-content;
    }

    .link-row {
        grid-template-columns: 14em auto;
        padding-right: 1em;
    }

    .link-row .id {
        display: none;
    }
}

