.jobs {
    padding-bottom: 16rem;
}
#jobs {
    scroll-margin-top: 100px;
} 
.jobs_txt {
    margin-top: 4rem;
    line-height: 2;
}

.jobs_box {
    margin-top: 8rem;
}

.jobs_box_ttl {
    margin-bottom: 4rem;
}

.jobs_box_inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;

    img {
        width: 100%;
    }
}

.jobs_item {
    &.col2 {
        display: grid;
        align-content: center;
        margin-bottom: 2rem;

        .jobs_item_txt {
            margin-top: 2rem;
            margin-bottom: 4rem;
        }

        .jobs_item_img {
            margin-top: 0;
        }
    }
}

.jobs_item_txt {
    line-height: 2;
    margin-top: 1rem;
}

.jobs_item_img {
    border-radius: 8px;
    margin-top: 1rem;
}

@media (max-width: 1600px) {
    .jobs_item_ttl {
        height: 4rem;
        display: flex;
        align-items: center;
    }

}


@media (max-width: 1024px) {
    .jobs {
        margin-top: 8rem;
        padding-bottom: 12rem;
    }

    .jobs_item_ttl {
        height: 6rem;
        display: flex;
        align-items: center;
    }

    .jobs_txt {
        margin-top: 2rem;
    }

    .jobs_box {
        margin-top: 6rem;
    }

    .jobs_box_ttl {
        margin-bottom: 2rem;
    }

    .jobs_box_inner {
        gap: 2rem;
    }

    .jobs_item {
        &.col2 {
            .jobs_item_txt {
                margin-top: 1rem;
                margin-bottom: 2rem;
            }
        }
    }
}

@media (max-width: 767px) {
    .jobs {
        padding-bottom: 8rem;
    }

    .jobs_box_inner {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .jobs_box_ttl {
        margin-bottom: 0;
    }

    .jobs_item_ttl {
        height: auto;
        margin-top: 4rem;
        margin-bottom: 1.6rem;
    }


    .jobs_item {
        &.col2 {
            margin-bottom: 0;

            .jobs_item_txt {
                margin-top: 0rem;
                margin-bottom: 2rem;
            }

            &:nth-of-type(2) {
                order: -1;
            }

        }

        .jobs_item_img {
            margin-top: 0r;
        }
    }

    .jobs_item_img_col2 {
        margin-top: 4rem;
    }
}


/* schedule */
.schedule {
    padding: 16rem 0;
    background-color: #F3F8FB;
    border-radius: 40px;
}


.schedule_h3 {
    margin-top: 8rem;
}

.schedule_txt {
    line-height: 2;
    margin-top: 4rem;
}







/* ===== schedule timeline (no CSS vars) ===== */

.schedule_timeline {
    list-style: none;
    margin: 2.8rem 0 0;
    padding: 0;
    position: relative;
}

/* 1行 */
.schedule_row {
    position: relative;
    display: flex;
    padding: 3rem 0rem 3rem 2.6rem;

}

.schedule_row:not(:first-child):has(.schedule_row_img) {
    padding-top: 5.5rem;

}

/* ● */
.schedule_row::before {
    content: "";
    position: absolute;
    left: 0rem;
    /* line-x(1.6rem) - dot/2(0.7rem) + line/2(0.1rem) */
    top: 3.5rem;
    /* dot-top */
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: currentColor;
    z-index: 2;
}

.schedule_row:not(:first-child):has(.schedule_row_img)::before {
    top: 6rem;
}

/* 線（●の中心 → 次の●の中心まで伸ばす） */
.schedule_row::after {
    content: "";
    position: absolute;
    left: 0.6rem;
    /* line-x */
    top: 3.5rem;
    /* dot-top(2.8rem) + dot/2(0.7rem) */
    bottom: -3.5rem;
    /* 次の行へ食い込ませて連結させる */
    width: 0.2rem;
    border-radius: 999px;
    background: currentColor;
    z-index: 1;
}

/* 最後は線を描かない（突き出しゼロ） */
.schedule_row:last-child::after {
    content: none;
}

.schedule_list {
    color: #3583C6;
    background-color: #FFF;
    border-radius: 40px;
    margin-top: 13rem;
    padding: 1rem;
    position: relative;
}

.schedule_inner {
    border: 1px solid #3583C6;
    border-radius: 40px;
    background-image: linear-gradient(to right, var(--grid_40_line_blue) 0.1rem, transparent 1px), linear-gradient(to bottom, var(--grid_40_line_blue) 0.1rem, transparent 1px);
    background-size: var(--grid_40_size) var(--grid_40_size);
    background-position: 0 0;
    padding: 5.8rem 5rem 4rem 5rem;
}

.schedule_ttl {
    position: absolute;
    background-color: #3683C6;
    color: #FFF;
    font-size: 2.4rem;
    font-weight: bold;
    padding: 2.4rem 6rem;
    border-radius: 8px;
    left: 8rem;
    top: 0;
    transform: translateY(-50%);

    img {
        position: absolute;
        line-height: 6rem;
        top: 99%;
    }
}

/* テキスト */
.schedule_time {
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.5;
    min-width: 4.6rem;
    margin-right: 2rem;
}

.schedule_row_ttl {
    margin: 0;
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.5;
    color: #4A4A4A;
}

.schedule_row_txt {
    margin: 1.0rem 0 0;
    font-size: 1.6rem;
    line-height: 2;
    color: #4A4A4A;
}

.schedule_body {
    margin-right: 0rem;
}

.schedule_row_img {
    width: 20rem;
    flex-shrink: 0;
    margin-top: -2.5rem;
    margin-left: 4rem;
}

@media (max-width: 1024px) {
    .schedule {
        padding: 12rem 0;
        border-radius: 32px;
    }

    .schedule_h3 {
        margin-top: 6rem;
    }

    .schedule_txt {
        margin-top: 2rem;
    }

    .schedule_list {
        margin-top: 8rem;
    }

    .schedule_ttl {
        left: 4rem;
        padding: 1.6rem 4rem;
        font-size: 1.8rem;

        img {
            width: 4rem;
        }
    }

    .schedule_inner {
        padding: 2rem 3rem 5rem 3rem;
    }
}

@media (max-width: 767px) {

    /* --------------------
    SCHEDULE
  -------------------- */
    .schedule {
        padding: 8rem 0;
        border-radius: 20px;
    }

    .schedule_h3 {
        margin-top: 4rem;
    }

    .schedule_txt {
        margin-top: 2rem;
    }

    .schedule_list {
        margin-top: 6rem;
        padding: 0.8rem;
        border-radius: 24px;
    }

    .schedule_inner {
        padding: 4rem 2rem 3.2rem 2rem;
        border-radius: 24px;
    }

    .schedule_ttl {
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 1.2rem 2.2rem;
        font-size: 1.6rem;
        border-radius: 6px;
        max-width: calc(100% - 4rem);
        text-align: center;
        white-space: nowrap;

        .ttL_under {
            width: 4rem;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    .schedule_timeline {
        margin-top: 0rem;
    }

    .schedule_row {
        display: block;
        padding: 2.2rem 0 2.2rem 2.6rem !important;
    }

    .schedule_row::before {
        top: 2.6rem !important;
    }

    .schedule_row::after {
        top: 2.9rem;
        bottom: -2.9rem;
    }

    .schedule_time {
        min-width: auto;
        margin-right: 0;
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    .schedule_body {
        margin-right: 0;
    }

    .schedule_row_ttl {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .schedule_row_txt {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .schedule_row_img {
        width: 100%;
        display: block;
        margin-top: 1.4rem;
        flex-shrink: 0;
        margin-left: 0;
    }

}

.career_path {
    padding: 16rem 0;
}

.career_path_txt {
    margin-top: 4rem;
    line-height: 2;
}

.career_path_img {
    margin-top: 8rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .career_path {
        padding: 12rem 0;
    }

    .career_path_txt {
        margin-top: 2rem;
    }

    .career_path_img {
        margin-top: 4rem;
    }
}

@media (max-width: 767px) {
    .career_path {
        padding: 8rem 0;
    }

    .career_path_txt {
        margin-top: 2rem;
    }

    .career_path_img {
        margin: 3rem auto 0;
        width: 90%;
    }
}


.training {
    background-color: #F3F8FB;
    border-radius: 40px;
    padding: 16rem 0;
    background-image: linear-gradient(to right, var(--grid_40_line_blue) 0.1rem, transparent 1px), linear-gradient(to bottom, var(--grid_40_line_blue) 0.1rem, transparent 1px);
    background-size: var(--grid_40_size) var(--grid_40_size);
    background-position: 0 0;
    position: relative;

    &::before {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        background-color: #FFF;
        z-index: -1;
    }
}

.training_txt {
    margin-top: 4rem;
    line-height: 2;
}

.training_box {
    margin-top: 8rem;
    display: grid;
    gap: 2rem;
}

.training_item {
    background-color: #FFF;
    padding: 4rem;
    border-radius: 8px;
}

.training_item_txt {
    margin-top: 2rem;
    line-height: 2;
}

@media (max-width: 1024px) {
    .training {
        padding: 12rem 0;
        border-radius: 32px;
    }

    .training_txt {
        margin-top: 2rem;
    }

    .training_box {
        margin-top: 4rem;
    }

    .training_item {
        padding: 4rem;
    }
}

@media (max-width: 767px) {
    .training {
        padding: 8rem 0;
        border-radius: 20px;
    }

    .training_txt {
        margin-top: 2rem;
    }

    .training_box {
        margin-top: 4rem;
        gap: 1.6rem;
    }

    .training_item {
        padding: 2.4rem;
    }

    .training_item_txt {
        margin-top: 1.6rem;
    }

}