@charset "UTF-8";

/* =========================================
people
============================================*/
.container{
    display: block;
}
.people__name p{
    color: var(--primary-white);
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 32px;
}
.people__name p:nth-of-type(1){
    font-size: 1.8rem;
}
.people__name p:nth-of-type(2){
    font-size: 1.6rem;
}
.people__text{
    color: var(--primary-white);
    font-family: "Noto Serif JP";
    font-size: 1.6rem;
    line-height: 28px;
}
.people__text p:nth-of-type(2),
.people__text p:nth-of-type(3){
    margin-top: 32px;
}
.career1{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 47px;
    position: relative; 
    padding: 4.2%;
    z-index: 1; 
    height: auto;
}
.career1::before {
    content: "";
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%; 
    height: 100%;
    background-image: url(../images/people-bg2-sp.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: skewY(-12deg); 
    z-index: -1; 
}
.career2{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 47px;
    position: relative; 
    padding: 4.2%;
    z-index: 1; 
    height: auto;
}
.career2::before {
    content: "";
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%; 
    height: 100%;
    background-image: url(../images/people-bg1-sp.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: skewY(-12deg); 
    z-index: -1;
}
.people__container img{
    max-width: 220px;
}
.career3 img,
.career4 img{
    max-width: 191px;
    margin-bottom: 20px;
}
.people__prof{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.people__container-sub{
    margin-top: 240px;
    max-width: 1160px;
}
.career3{
    padding: 60px 4.2%;
    background-image: url(../images/people-bg3-sp.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.career3 .people__text,
.career4 .people__text{
    margin-top: 40px;
}
.career4{
    margin-top: 90px;
    padding: 60px 4.2%;
    background-image: url(../images/people-bg4-sp.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.people__frame{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.people__up{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:150px;
}
.people__middle img{
    max-width: 300px;
    width: 100%;  
    height: auto;
}
.people__middle{
    display: flex;
    padding: 149px 0;
    background-image: url(../images/ringsp.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}
.people__down{
    display: flex;
    flex-direction: column;
    gap: 90px;
    padding: 0px 8% 120px;
    align-items: center; 
}
.people__down p{
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 1.6rem;
    line-height: normal;
}
.btn--contact{
    padding: 20px 65px;
    border-top: 1px solid ; 
    border-bottom: 1px solid ; 
    font-family: "Noto Serif";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: normal;
    position: relative;
}
.btn--contact::after {
    content: '>'; 
    position: absolute;
    right: 0%; 
}
.btn--contact:hover{
    background-color: rgba(255, 255, 255, 0.3);
}

/* people PC */
@media screen and (min-width:769px){
    .career1{
        flex-direction: row-reverse;
        max-width: 1160px;
        justify-content: space-between;
        height: 953px;
    }
    .career2{
        flex-direction: row;
        max-width: 1160px;
        justify-content: space-between;
        height: 953px;
        position: relative;
        margin-top: -114px;
    }
    .career1::before {
        content: "";
        position: absolute;
        left: 0%;
        width: 80%; 
        height: 74%;
        background-image: url(../images/people-bg1-pc.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        transform: skewY(-8deg); 
        z-index: -1; 
    }
    .career2::before {
        left: 20%;
        width: 80%; 
        height: 74%;
        background-image: url(../images/people-bg2-pc.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        transform: skewY(-8deg);
        z-index: -1; 
    }
    .people__name p:nth-of-type(1){
        text-align: left;
        font-size: 2rem;
        line-height: 36px; 
    }
    .people__name p:nth-of-type(2){
        font-size: 1.6rem;
        line-height: 36px; 
        text-align: left;
    }
    .people__text{
        line-height: 32px; 
    }
    .people__text p:nth-of-type(2),
    .people__text p:nth-of-type(3){
        margin-top: 22px;
    }
    .people__frame{
        align-items: flex-start;
        padding: 0 0 0 4.2%;
    }
    .career2 .people__frame{
        padding: 0 4.2% 0 0;
    }
    .people__container img{
        max-width: 300px;
    }
    .people__middle img{
        max-width: 400px;
        width: 100%;  
        height: auto;
    }
    .people__up{
        gap: 0;
    }
    .people__middle{
        background-size: contain;
        margin-top: 120px;
        background-size: contain;
    }
    .people__down{
        gap: 100px;
        padding: 50px 8% 120px;
    }
    .people__container-sub{
        display: flex;
        margin: 0 auto;
        justify-content: space-between;
        gap:10px;
    }
    .career3,.career4{
        width: 100%;
        max-width: 541px;
    }
    .career4{
        margin-top: 0;
    }
    .career3 .people__name p:nth-of-type(2),
    .career4 .people__name p:nth-of-type(2) {
        text-align: center;
    }
}
/* 769px */


