/* CSS Document */
@charset "UTF-8";

/* profileページのcss */
body {
    background: #DACDCD;
}
main {
    padding: 200px 0;
}

/* タイトル */
.profile_ttl {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

/* プロフィール上段 */
.profile_blk01 {
    display: flex;
    justify-content: center;
    margin-top: 70px;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.profile_nm {
    width: 300px;
    height: 300px;
}
.name_txt {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 0;
    gap: 40px;
    border-top: 3px solid #3C3635;
    border-bottom: 3px solid #3C3635;
}
.name_m >span {
    font-size: 1.35rem;
    font-weight: 500;
}
.name_n >span {
    font-size: 1.35rem;
    font-weight: 500;
}
.hobby {
    padding: 30px 20px;
    width: 380px;
    height: auto;
    border: 3px solid #3C3635;
    border-radius: 20px;
}
.hobby_ttl {
    display: flex;
    margin: auto;
    justify-content: center;
    padding-bottom: 20px;
    font-weight: 500;
    font-size: 1.25rem;
}
.hobby_lst {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
    max-width: 340px;
    margin: 0 auto;
}
.hobby_itm {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid #3C3635;
}
.hobby_itm >p {
    margin-top: 10px;
    color: #DACDCD;
}
.hobby_itm >img {
    margin: auto;
    width: 100px;
    height: auto;
}
.profile-contact {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    border-left: 3px solid #3C3635;
    border-right: 3px solid #3C3635;
}
.profile-contact >div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-top: 3px solid #3C3635;
}
.profile-contact div>p {
    margin-top: 20px;
    font-weight: 500;
}
.profile_address {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    color: inherit !important;
}
.profile_address >p {
    margin-top: 20px;
}
.profile_address > img {
    width: 50px; /* Adjust the width as needed */
    height: auto;
}

@media(max-width: 797px) {
    .profile_blk01 {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }
    .profile_nm {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }
    .hobby {
        width: 100%;
        max-width: 380px;
        margin: 20px auto;
        text-align: center;
    }
    .hobby_lst {
        max-width: 320px;
    }
    .profile-contact {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        border-left: none;
        border-right: none;
    }
}

@media(max-width: 480px) {
    .hobby_itm {
        width: 130px;
        height: 130px;
    }
    .hobby_itm >img {
        width: 90px;
    }
    .hobby_lst {
        max-width: 280px;
        gap: 10px;
    }
}

/* 技術レベルのグラフ */
.skill-level {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-top: 3px solid #3C3635;
    border-bottom: 3px solid #3C3635;
}
.skill-level span {
    margin: 10px auto;
    font-weight: 500;
    font-size: 1.25rem;
}
.pie-chart-wrap {
    display: flex;
    margin: auto;
    flex-wrap: wrap; /* 折り返し可能に */
    justify-content: center; /* 中央寄せ */
    gap: 20px;
}
.box .percent {
    position: relative;
    width: 200px;
    height: 200px;
}
.box .percent svg {
    position: relative;
    width: 200px;
    height: 200px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.box .percent svg circle {
    position: relative;
    fill: none;
    stroke-width: 10;
    stroke: rgba(60, 54, 53, 0.3);
    stroke-dasharray: 565.5;
    stroke-dashoffset: 0;
    stroke-linecap: round;
}
.box .percent .number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #3C3635;
}
.number {
    flex-direction: column;
    margin: auto;
}
.number > h3 {
    position: relative;
    margin-top: 10px;
}
.number > h3::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: scaleY(-50%);
    left: 50px;
    width: 20px;
    height: 3px;
    background: #3C3635;
}
.number > h3::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: scaleY(-50%);
    right: 50px;
    width: 20px;
    height: 3px;
    background: #3C3635;
}
.box .percent .number .title {
    font-size: 1.25rem;
}
.box .percent .number .title span {
    font-size: 1rem;
}
.box .percent .line {
    -webkit-animation: circleAnim 1s forwards;
    animation: circleAnim 1s forwards;
}
.box.ai .percent .line {
    stroke-dasharray: 565.5;
    stroke-dashoffset: 565.5;
    stroke: #3C3635;
    animation: animAI 1.5s ease forwards;
}
.box.ps .percent .line {
    stroke-dasharray: 565.5;
    stroke-dashoffset: 565.5;
    stroke: #3C3635;
    animation: animPS 1.5s ease forwards;
}
.box.figma .percent .line {
    stroke-dasharray: 565.5;
    stroke-dashoffset: 565.5;
    stroke: #3C3635;
    animation: animFigma 1.5s ease forwards;
}
.box.vscode .percent .line {
    stroke-dasharray: 565.5;
    stroke-dashoffset: 565.5;
    stroke: #3C3635;
    animation: animVSCode 1.5s ease forwards;
}
.box.wp .percent .line {
    stroke-dasharray: 565.5;
    stroke-dashoffset: 565.5;
    stroke: #3C3635;
    animation: animWP 1.5s ease forwards;
}
@keyframes animAI {
    to {
      stroke-dashoffset: 226.2; /* 60% */
    }
}
@keyframes animPS {
    to {
      stroke-dashoffset: 226.2; /* 60% */
    }
}
@keyframes animFigma {
    to {
      stroke-dashoffset: 113.1; /* 80% */
    }
}
@keyframes animVSCode {
    to {
      stroke-dashoffset: 169.65; /* 70% */
    }
}
@keyframes animWP {
    to {
      stroke-dashoffset: 197.93; /* 65% */
    }
}

.message_blk {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    padding: 10px;
    border: 3px solid #3C3635;
    border-radius: 20px;
}
.message_blk > span {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.25rem;
}

