@charset "utf-8";

.About-img {
    width: 100%;
    padding: 30px 24px;
    margin-top: 80px;
}

h1 {
    margin-bottom: 40px;
}

.name {
    padding: 0 24px;
}

.span-name {
    color: #CD8858;
}

.name-1 {
    margin-bottom: 30px;
}

.name-2 {
    margin-bottom: 30px;
}

.name-3 {
    margin-bottom: 60px;
}

/* ここから今できること */

.section-title {
    margin-top: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    /* 線と文字の間隔 */
    font-size: 18px;
    color: #CD8858;
    position: relative;
    overflow: hidden;
}

.section-title .line {
    display: block;
    height: 2px;
    background-color: #CD8858;
    width: 0;
    animation: line-grow 1s forwards;
}

/* アニメーション */
@keyframes line-grow {
    from {
        width: 0;
    }

    to {
        width: 50px;
        /* お好みで調整 */
    }
}

.marjin {
    padding: 0 24px;
}

h3 {
    color: #CD8858;
    padding: 40px 0 20px 0;
    font-size: 16px;
}

.marjin ul {
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #CD8858;
    border-bottom: 1px solid #CD8858;
}

/* 私の強み */
.about-2 h4 {
    margin: 40px 0 20px 0;
}

/* ここからpc */
@media (min-width: 960px) {
    .About-img {
        width: 50%;
        height: 600px;
    }

    .flex-box {
        display: flex;
        align-items: center;
        max-width: 900px;
        margin: 0 auto;
    }

    .name {
        margin-top: 120px;
    }

    /* ここからweb */
    .web {
        max-width: 900px;
        margin: 0 auto;
    }

    /* ここからabouto-1 */
    .about-1 {
        max-width: 900px;
        margin: 0 auto;
    }

}

/* jsアニメーション */
.scroll {
    transform: translateY(30px);
    opacity: 0;
    transition: all 2s;
}

.scroll.on {
    transform: translateY(0px);
    opacity: 1;
}

/* 横からアニメーション */
.scrolle {
    opacity: 0;
    transform: translateX(-50px);
    /* 横ずれ */
    transition: all 1s ease-out;
}

.scrolle.on {
    opacity: 1;
    transform: translateX(0);
}