/*---------- 一覧ページ ----------*/
section.jobs_wrap-section {
    margin-top: 150px;
}

/*---------- 部署トップ ----------*/
section.top-jobs_title {
    margin-top: 150px;
}
p.top-jobs__description {
    font-size: 18px;
}
.top-jobs__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin: 30px auto;
}
h3.job-assignments__title {
    font-size: 28px;
    border-left: 5px solid var(--main-color);
    padding-left: 15px;
    margin-bottom: 30px;
}
@media screen and (max-width: 1260px) {
    h3.job-assignments__title {
        font-size: 24px;
        border-left: 4px solid var(--main-color);
        padding-left: 10px;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 760px) {
    p.top-jobs__description {
        font-size: 16px;
    }
    .top-jobs__image-wrapper img {
        height: 100%;
        min-height: 240px;
        border-radius: 10px;
        margin: 15px auto 0;
    }
    h3.job-assignments__title {
        font-size: 22px;
    }
}

/*---------- 職種一覧 ----------*/
.job-assignments__list-wrapper {
    background: #F6F9FF;
    padding: 50px 30px;
    border-radius: 20px;
}
ul.job-assignments__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
li.job-assignments__item {
    border-bottom: 2px dotted #B0BACF;
    padding: 0 30px 20px;
}
p.job-assignments__name {
    position: relative;
    font-size: 20px;
    font-weight: 500;
    padding: 0 0 15px 15px;
    letter-spacing: .1em;
    color: var(--main-color);
}
p.job-assignments__name::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--main-color);
    border-radius: 50%;
    left: 0;
    top: 30%;
    transform: translateY(-50%);
}
@media screen and (max-width: 1260px) {
    .job-assignments__list-wrapper {
        background: #F6F9FF;
        padding: 35px 15px;
        border-radius: 20px;
    }
    li.job-assignments__item {
        padding: 0 20px 20px;
    }
    p.job-assignments__name {
        font-size: 18px;
    }
    p.job-assignments__name::after {
        width: 6px;
        height: 6px;
    }
}
@media screen and (max-width: 760px) {
    .job-assignments__list-wrapper {
        padding: 25px 10px;
        border-radius: 10px;
    }
    p.job-assignments__name {
        font-size: 17px;
        padding: 0 0 10px 15px;
    }
}
@media screen and (max-width: 475px) {
    li.job-assignments__item {
        padding: 0 10px 15px;
    }
}

/*---------- 求める人物像 ----------*/
.candidate-profile__main {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 50px auto;
    justify-content: center;
}
.candidate-profile__image-block {
    display: flex;
    flex-direction: column;
    margin-left: 50px;
}
.speechBubble {
    border-radius: 10px;
    padding: 15px 15px;
    position: relative;
    text-align: center;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    color: #1c3e85;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, .2));
    max-width: 230px;
    width: 100%;
}
.speechBubble::after {
    background-color: #fff;
    content: "";
    height: 20px;
    position: absolute;
    width: 20px;
    bottom: -18px;
    clip-path: polygon(0 0, 120% 100%, 100% 0);
    left: 30%;
}
.candidate-profile__image-block img {
    max-width: 375px;
    margin-top: 40px;
    width: 100%;
}
p.candidate-profile__lead {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 20px;
}
li.candidate-profile__item {
    padding-left: 2.5em;
    padding-bottom: 15px;
    font-size: 15px;
}
p.candidate-profile__item-title {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 5px;
}
p.candidate-profile__item-title::before {
    content: "";
    position: absolute;
    background: var(--main-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 40%;
    left: -35px;
    transform: translateY(-50%);
}
p.candidate-profile__item-title::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    left: -30px;
    transform: rotate(45deg) translateY(-50%);
    top: 30%;
}
p.candidate-profile__note {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
@media screen and (max-width: 1260px) {
    .candidate-profile__main {
        margin: 30px auto;
    }
    .candidate-profile__main {
        align-items: center;
    }
    p.candidate-profile__lead {
        font-size: 20px;
    }
    p.candidate-profile__item-title {
        font-size: 16px;
    }
    p.candidate-profile__item-title::before {
        width: 23px;
        height: 23px;
        left: -30px;
    }
    p.candidate-profile__item-title::after {
        left: -24px;
    }
    p.candidate-profile__note {
        font-size: 16px;
    }
}
@media screen and (max-width: 860px) {
    .candidate-profile__main {
        flex-direction: column;
        gap: 30px;
    }
    p.candidate-profile__note {
        text-align: left;
    }
    p.candidate-profile__lead {
        font-size: 17px;
    }
}

/*---------- その他職種 ----------*/
ul.dept-overview__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 15px;
}
p.dept-overview__desc {
    font-size: 15px;
    height: 150px;
}
@media screen and (max-width: 1260px) {
   ul.dept-overview__list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}