@charset "UTF-8";

/* ABOUT */
.about {
    margin-top: 170px;
    margin-bottom: 100px;
}
.about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.about__img {
    width: 300px;
    img {
        width: 100%;
        object-fit: cover;
        box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.25);
    }
}
.about__text {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.about__name {
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
}
.about__ruby {
    font-size: var(--sp-text-font-size);
    margin-left: 1em;
}
@media (min-width: 768px) {
    .about {
        margin-top: 180px;
        margin-bottom: 120px;
    }
    .about__content {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }
    .about__img {
        flex: 0 0 300px;
    }
    .about__text {
        max-width: unset;
        align-items: start;
        gap: 24px;
    }
    .about__name {
        font-size: 24px;
    }
    .about__ruby {
        font-size: var(--pc-text-font-size);
    }
}

/* 保有スキル */
.skills {
    margin-bottom: 100px;
}
.skills__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.skills__item {
    max-width: 400px;
}
.skills__category {
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-black);
    text-align: center;
}
.skills__name {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}
.skills__img-list {
    margin-top: 1em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}
.skills__img-item {
    height: 50px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.skills__img {
    height: 100%;
    object-fit: cover;
}
.skills__text {
    line-height: 1.8;
}
@media (min-width: 768px) {
    .skills {
        margin-bottom: 120px;
    }
    .skills__list {
        flex-direction: row;
        align-items: start;
        justify-content: center;
        gap: 80px;
    }
    .skills__item {
        max-width: 420px;
    }
    .skills__category {
        font-size: 24px;
        padding-bottom: 10px;
    }
    .skills__name {
        margin-top: 20px;
        font-size: 20px;
    }
}

/* 強み */
.strength {
    margin-bottom: 100px;
}
.strength__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}
.strength__item {
    padding-right: 20px;
    padding-bottom: 20px;
    position: relative;
    max-width: 500px;
}
.strength__text {
    padding: 1rem;
    border: 2px solid var(--color-green);
    background: var(--color-white);
}
.strength__name {
    padding-bottom: 4px;
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-black);
    margin-bottom: 20px;
}
.strength__explain {
    line-height: 1.8;
}
.strength__bg {
    background: var(--color-green);
    width: calc(100% - 1em);
    height: calc(100% - 1em);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
}



@media (min-width: 768px) {
    .strength {
        margin-bottom: 120px;
    }
    .strength__name {
        font-size: 24px;
        margin-bottom: 24px;
    }
}
@media (min-width: 1000px) {
    
    .strength__list {
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
    }
    .strength__item {
        flex: 0 0 30%;
    }
}