@charset "UTF-8";

#work {
    width: 100%;
    margin-bottom: 7rem;
    @media screen and (max-width: 767px) {
        margin-bottom: 3rem;
    }
    .white-card {
        background-color: #fff;
        border-radius: 15.2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 14rem 17.7rem 13.1rem;
        box-sizing: border-box;
        @media screen and (max-width: 767px) {
            border-radius: 5.2rem;
            padding: 5.2rem 3rem 6.9rem;
        }
        .block1 {
            padding-bottom: 14rem;
            @media screen and (max-width: 767px) {
                padding-bottom: 7.3rem;
            }
            .centered-text {
                font-style: normal;
                font-weight: 500;
                font-size: 2rem;
                line-height: 4.7rem;
                text-align: center;
                letter-spacing: 0.06em;
                color: #000;
                @media screen and (max-width: 767px) {
                    font-size: 1.6rem;
                    line-height: 173%;
                }
                & span {
                    color: #005293;
                    font-weight: 800;
                }
            }
        }
        .block2 {
            background-color: #f0faff;
            padding: 12.5rem 17.7rem 13rem;
            box-sizing: border-box;
            width: calc(100% + 35.4rem);
            border-radius: 15.2rem;
            margin-bottom: 12.8rem;
            @media screen and (max-width: 767px) {
                border-radius: 5.2rem;
                padding: 6.5rem 3rem 6.5rem;
                margin-bottom: 5rem;
                width: calc(100% + 6rem);
            }
            .contents-flex:nth-child(odd) {
                flex-direction: row-reverse;
                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    gap: 2rem;
                    margin-bottom: 4rem;
                }
            }
            .contents-flex {
                display: flex;
                gap: 7.9rem;
                margin-bottom: 11rem;
                @media screen and (max-width: 767px) {
                    flex-direction: column;
                    gap: 2rem;
                    margin-bottom: 4rem;
                }
                .img-container {
                    width: 70rem;
                    @media screen and (max-width: 1200px) {
                        width: 48%;
                        @media screen and (max-width: 767px) {
                            width: 100%;
                            margin-bottom: 1rem;
                        }
                    }
                    & img {
                        width: 100%;
                        vertical-align: top;
                    }
                }
                .text-container {
                    margin-top: -1rem;
                    width: 100%;
                    flex: 1;
                    .header-flex {
                        display: flex;
                        gap: 2.2rem;
                        margin-bottom: 4.6rem;
                        @media screen and (max-width: 767px) {
                            margin-top: 0;
                            gap: 1rem;
                            margin-bottom: 2.2rem;
                        }
                        .num {
                            font-family: "Roboto", sans-serif;
                            font-style: normal;
                            font-weight: 700;
                            font-size: 12.5832rem;
                            line-height: 1;
                            letter-spacing: -0.08em;
                            color: #005293;
                            white-space: nowrap;
                            @media screen and (max-width: 767px) {
                                font-size: 6.1rem;
                                line-height: 1;
                                margin-top: -0.9rem;
                            }
                        }
                        .num-title {
                            font-family: "Noto Sans JP", sans-serif;
                            font-style: normal;
                            font-weight: 900;
                            font-size: 5.4rem;
                            line-height: 6.5rem;
                            color: #000000;
                            @media screen and (max-width: 767px) {
                                font-size: 2.643rem;
                                line-height: 1.4;
                            }
                            & span {
                                font-size: 7rem;
                                line-height: 8.4rem;
                                position: relative;
                                z-index: 1;
                                @media screen and (max-width: 767px) {
                                    font-size: 3.4rem;
                                    line-height: 1;
                                    white-space: nowrap;
                                }
                                &:before {
                                    content: "";
                                    position: absolute;
                                    width: 100%;
                                    height: 3rem;
                                    left: 0;
                                    bottom: 0;
                                    background: #fff955;
                                    z-index: -1;
                                    @media screen and (max-width: 767px) {
                                        height: 1.5rem;
                                    }
                                }
                            }
                            .shortened-yellow-bar {
                                margin-left: -1.5rem;
                                &:before {
                                    left: 50%;
                                    transform: translateX(-50%);
                                    width: 85%;
                                }
                            }
                        }
                    }
                    .blue-text {
                        font-style: normal;
                        font-weight: 900;
                        font-size: 2.4rem;
                        line-height: 2.9rem;
                        color: #005293;
                        margin-bottom: 2rem;
                        @media screen and (max-width: 767px) {
                            margin-bottom: 1.2rem;
                            font-style: normal;
                            font-weight: 900;
                            font-size: 2.2rem;
                            line-height: 3.4rem;
                            color: #005293;
                        }
                    }
                    & p {
                        font-style: normal;
                        font-weight: 400;
                        font-size: 1.8rem;
                        line-height: 170%;
                        letter-spacing: 0.06em;
                        color: #000000;
                        @media screen and (max-width: 767px) {
                            font-size: 1.6rem;
                        }
                    }
                }
            }
            .contents-flex:last-child {
                margin-bottom: 0;
            }
        }
        .block3 {
            width: 100%;
            .common-header002 {
                margin-bottom: 5.7rem;
                @media screen and (max-width: 767px) {
                    margin-bottom: 3rem;
                }
            }
            .common-header002.career-support {
                margin-bottom: 4rem;
                @media screen and (max-width:767px){
                    margin-bottom: 3rem;
                }
            }
            .flex-contents {
                width: 100%;
                margin-bottom: 10rem;
                .slick-slide {
                    @media screen and (max-width: 767px) {
                        margin: 0 0.4rem;
                    }
                }
                .slick-slide:nth-child(even) .card {
                    padding-top: 4.8rem;
                    @media screen and (max-width: 767px) {
                        padding-top: 0;
                    }
                }
                .card {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    .card-bubble {
                        border: 0.361rem solid #005293;
                        padding: 2.3rem;
                        box-sizing: border-box;
                        border-radius: 0.992rem;
                        margin: 0 auto 4.5rem;
                        position: relative;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        z-index: 0;
                        width: 33.9rem;
                        @media screen and (max-width: 767px) {
                            width: 100%;
                            padding: 2.1rem;
                            margin: 0 auto 4rem;
                            border-radius: 0.878rem;
                        }
                        & span {
                            position: relative;
                            font-family: "Noto Sans JP", sans-serif;
                            font-style: normal;
                            font-weight: 900;
                            font-size: 2.2rem;
                            line-height: 140%;
                            text-align: center;
                            letter-spacing: 0.08em;
                            color: #005293;
                            z-index: 2;
                            @media screen and (max-width: 767px) {
                                font-size: 1.95rem;
                            }
                            /* &:before {
                                content: "";
                                position: absolute;
                                width: 100%;
                                height: 1.1rem;
                                left: 0;
                                bottom: 0;
                                background: #fff955;
                                z-index: -1;
                                @media screen and (max-width: 767px) {
                                    height: 0.974rem;
                                }
                            } */
                        }
                        &:after {
                            content: "";
                            position: absolute;
                            width: 1.05rem;
                            height: 1.9rem;
                            left: 50%;
                            transform: translateX(-50%);
                            bottom: -1.8rem;
                            background: #fff url("../../img/home/bubble-arrow.png") no-repeat bottom right / 100% auto;
                            z-index: 2;
                        }
                    }
                    .card-img {
                        width: 26.7rem;
                        margin: 0 auto 3.1rem;
                        @media screen and (max-width: 767px) {
                            width: 23.65rem;
                            margin: 0 auto 2.8rem;
                        }
                        & img {
                            width: 100%;
                            vertical-align: top;
                        }
                    }
                    .blue-pill {
                        font-family: "Noto Sans JP", sans-serif;
                        font-style: normal;
                        font-weight: 700;
                        font-size: 1.8rem;
                        line-height: 149%;
                        text-align: center;
                        letter-spacing: 0.08em;
                        color: #ffffff;
                        background-color: #005293;
                        border-radius: 4.1rem;
                        padding: 1rem 1.9rem;
                        margin: 0 auto 1rem;
                        display: table;
                        @media screen and (max-width: 767px) {
                            font-size: 1.6rem;
                            padding: 0.9rem 1.7rem;
                            border-radius: 3.6rem;
                        }
                    }
                    .line1 {
                        margin-bottom: 0.5rem;
                        font-family: "Noto Sans JP", sans-serif;
                        font-style: normal;
                        font-weight: 700;
                        font-size: 1.8rem;
                        line-height: 149%;
                        text-align: center;
                        letter-spacing: 0.08em;
                        color: #000000;
                        @media screen and (max-width: 767px) {
                            margin-bottom: 0.8rem;
                            font-size: 1.6rem;
                        }
                    }
                    .line2 {
                        font-family: "Noto Sans JP", sans-serif;
                        font-style: normal;
                        font-weight: 700;
                        font-size: 2.6rem;
                        line-height: 149%;
                        text-align: center;
                        letter-spacing: 0.08em;
                        color: #000000;
                        @media screen and (max-width: 767px) {
                            font-size: 2.3rem;
                        }
                    }
                }
            }
            .career-path-img {
                width: 100%;
                margin-bottom: 12.6rem;
                @media screen and (max-width: 767px) {
                    margin-bottom: 7rem;
                }
                & img {
                    width: 100%;
                    vertical-align: top;
                }
            }
            .schedule-table {
                width: 100%;
                border-collapse: separate;
                border-spacing: 0 10px;
                & tr {
                    & th,
                    & td {
                        background-color: #eef4f8;
                        padding-top: 5.4rem;
                        padding-bottom: 5.4rem;
                        vertical-align: top;
                        @media screen and (max-width: 767px) {
                            padding-top: 2rem;
                            padding-bottom: 2rem;
                            background-color: #fff;
                        }
                    }
                    & th {
                        font-style: normal;
                        font-weight: 900;
                        font-size: 2.5rem;
                        line-height: 3rem;
                        color: #005293;
                        padding-left: 3.7rem;
                        box-sizing: border-box;
                        width: 16.7rem;
                        position: relative;
                        @media screen and (max-width: 767px) {
                            font-size: 1.8rem;
                            line-height: 1;
                            width: 6.5rem;
                            padding-left: 0;
                            text-align: left;
                        }
                        &:after {
                            content: "";
                            position: absolute;
                            width: 1.6rem;
                            height: 1.6rem;
                            border-radius: 1.6rem;
                            background-color: #005293;
                            right: -0.8rem;
                            top: 6.1rem;
                            z-index: 2;
                            @media screen and (max-width: 767px) {
                                width: 1rem;
                                height: 1rem;
                                border-radius: 1rem;
                                top: 2.6rem;
                                right: -0.5rem;
                            }
                        }
                        &:before {
                            content: "";
                            position: absolute;
                            width: 0.1rem;
                            height: 100%;
                            border-radius: 1.6rem;
                            background-color: #005293;
                            right: 0;
                            top: 7.5rem;
                            z-index: 2;
                            @media screen and (max-width: 767px) {
                                top: 3.6rem;
                            }
                        }
                    }
                    & td {
                        width: calc(100% - 16.7rem);
                        padding-left: 4.2rem;
                        padding-right: 4.2rem;
                        box-sizing: border-box;
                        @media screen and (max-width: 767px) {
                            padding-left: 2rem;
                            padding-right: 0;
                        }
                        .line1 {
                            font-style: normal;
                            font-weight: 900;
                            font-size: 2.6rem;
                            line-height: 3.1rem;
                            color: #000000;
                            margin-bottom: 2rem;
                            @media screen and (max-width: 767px) {
                                margin-bottom: 1rem;
                                font-size: 1.8rem;
                                line-height: 1;
                            }
                        }
                        .line2 {
                            font-style: normal;
                            font-weight: 400;
                            font-size: 1.8rem;
                            line-height: 170%;
                            letter-spacing: 0.06em;
                            color: #000000;
                            @media screen and (max-width: 767px) {
                                font-size: 1.6rem;
                                line-height: 157%;
                            }
                        }
                    }
                }
                & tr:last-child {
                    th {
                        &:before {
                            display: none;
                        }
                    }
                }
            }
        }
    }
}
