/* ====================
    Aboutページ固有スタイル
==================== */
/* ====================
    コンセプトセクション
==================== */
.section.about-page {
    background-color: var(--background-keycolor);
}

.about-page_container {
    max-width: 1140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    padding-bottom: 150px;
}

.concept__main-text {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.concept__title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.concept__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.03em;
    color: var(--text-color);
    padding-top: 80px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile__image {
    width: 212px;
    height: 212px;
    border-radius: 50%;
    object-fit: cover;
}

.profile__text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.07em;
}

/* ====================
    スキルセクション
==================== */
.skill__container {
    margin: 0 auto;
    display: flex;
}

.skill__contents {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    background-color: #F2F2F7;
    border-radius: 5%;
}

.skill__strengths,
.skill__tools {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-basis: 50%;
}

.skill__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-color);
}

.skill__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.07em;
}

/* スマートフォン（768px以下）*/
@media screen and (max-width: 768px) {
    .skill__contents {
        flex-direction: column;
    }

    .concept__title {
        font-size: 24px;
    }

    .profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-page__main-text {
        gap: 80px;
    }

    .about-page.concept__text {
        padding-bottom: 50px;
    }
}

/* アニメーション設定 */
.about-page__main-text .section-subtitle {
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    /* 子要素がはみ出さないように設定 */
    display: inline-block;
    /* 擬似要素を正確に配置するために必要 */
    color: transparent;
    /* 文字を非表示に */
    -webkit-text-stroke: 1px #00a69d;
    /* 文字の縁を表示 */
    letter-spacing: 0.1em;
}

.about-page__main-text .section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00a69d 0%, #0062ff 70%, #1d2b53 100%);
    z-index: 1;
    animation: reveal-bg 2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.about-page__main-text .section-subtitle span {
    position: relative;
    z-index: 2;
    animation: reveal-text 2s cubic-bezier(0.8, 0, 0.2, 1) 0.5s forwards;
    opacity: 0;
}

@keyframes reveal-bg {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
        height: 100%;
        /* 高さを100%に維持 */
    }

    100% {
        width: 100%;
        left: 0;
        height: 3px;
        /* 高さを3pxに */
        top: calc(100% - 3px)
    }
}

@keyframes reveal-text {
    0% {
        opacity: 0;
    }

    100% {
        color: #1d2b53;
        opacity: 1;
        -webkit-text-stroke: 0;
        /* 縁取りを無効にする */
    }
}