@charset "UTF-8";

.about__container {
    padding: 80px 6.4%;
}

.staffImg {
    max-width: 220px;
    margin: 0 auto;
}

.staff__container {
    margin-top: 30px;
}

.staff__name h2,
.staff__name h3 {
    text-align: center;
}

.staff__name h3 {
    padding: 0;
}

.staff__introBox {
    margin-top: 60px;
}

.career,
.staff__careerBox,
.staff__text {
    margin-top: 40px;
}

.staff__textBox {
    margin-top: 100px;
}

.staff__intro dt {
    font-size: 1.4rem;
    color: var(--primary-brown);
}

.staff__intro dd {
    margin: 8px 0 24px;
}

.staff__intro dd:last-of-type {
    margin-bottom: 0;
}

.staff__careerBox p:nth-child(n+1) {
    margin-top: 30px;
}

.career p {
    font-weight: 600;
    display: flex;
    align-items: center
}

.career p::after {
    content: '';
    width: 80%;
    height: 1px;
    margin-left: 20px;
    background-color: var(--primary-darkBrown);
}

/* ipad-600px */
@media screen and (min-width:600px) {
    .about__item {
        display: flex;
    }

    .staffImg {
        flex: 0 0 300px;
        position: sticky;
        top: 160px;
        height: 100vh;
    }

    .staff__container {
        flex: 1;
        margin-left: 5.2%;
        overflow-y: auto;
        margin-top: 40px;
    }

    .staff__name h2,
    .staff__name h3 {
        text-align: left;
    }

    .career,
    .staff__careerBox,
    .staff__text {
        margin-top: 60px;
    }
}

/* pc-1024px */
@media screen and (min-width:1024px) {
    .about__container {
        padding: 60px 15.1% 120px;
    }

    .staffImg {
        max-width: 464px;
    }

    .staff__textBox {
        margin-top: 160px;
    }

    .staff__name h2 {
        font-size: 3.6rem;
        text-align: left;
    }

    .staff__name h3 {
        font-size: 2rem;
    }

}