@charset "UTF-8";

.first-block {
    padding-top: 6.5rem;
    max-width: 102rem;
    margin: 0 auto 17.6rem;
    @media screen and (max-width: 767px) {
        padding-top: 0;
        margin: 0 auto 5rem;
    }
    .header {
        font-family: var(--zenkaku);
        font-style: normal;
        font-weight: 700;
        font-size: 4.4rem;
        line-height: 7.1rem;
        text-align: center;
        letter-spacing: 0.1em;
        color: #212121;
        margin-bottom: 4.6rem;
        @media screen and (max-width: 767px) {
            font-size: 2rem;
            line-height: 1.4;
            margin-bottom: 3rem;
            letter-spacing: 0.05em;
            text-align: left;
        }
    }
    & p {
        max-width: 96rem;
        margin: 0 auto;
        @media screen and (max-width: 767px) {
            max-width: 100%;
        }
    }
}

.career-path {
    margin-bottom: 5rem;
    width: 100%;
    @media screen and (max-width: 767px) {
        margin-bottom: 4rem;
    }
    .header-flex {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #5e4939;
        height: 10.6rem;
        border-radius: 2rem 2rem 0 0;
        padding: 0 6rem;
        box-sizing: border-box;
        @media screen and (max-width: 767px) {
            padding: 0 2rem;
            flex-direction: column;
            justify-content: center;
        }
        .header {
            font-family: var(--zenkaku);
            font-style: normal;
            font-weight: 700;
            font-size: 2.4rem;
            line-height: 1;
            text-align: right;
            letter-spacing: 0.1em;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 1.4rem;
            @media screen and (max-width: 767px) {
                font-size: 1.8rem;
                line-height: 1.4;
                gap: 1rem;
                display: block;
                text-align: center;
                letter-spacing: 0.03em;
            }
            & span {
                font-family: var(--zenkaku);
                font-style: normal;
                font-weight: 700;
                font-size: 5.1rem;
                line-height: 1;
                letter-spacing: 0.06em;
                color: #ffffff;
                padding-bottom: 1rem;
                @media screen and (max-width: 767px) {
                    font-size: 3.2rem;
                }
            }
        }
        .sub-hd {
            font-family: var(--lato);
            font-style: normal;
            font-weight: 700;
            font-size: 2rem;
            line-height: 1;
            letter-spacing: 0.06em;
            color: #f08300;
            @media screen and (max-width: 767px) {
                font-size: 1.6rem;
            }
        }
    }
    .white-card {
        background-color: #fff;
        padding: 6rem 6rem 7rem;
        box-sizing: border-box;
        @media screen and (max-width: 767px) {
            padding: 3rem 2rem 3rem;
        }
        .bold-header {
            font-family: "Zen Kaku Gothic New", sans-serif;
            font-style: normal;
            font-weight: 700;
            font-size: 2.4rem;
            line-height: 3.3rem;
            letter-spacing: 0.06em;
            color: #000000;
            margin-bottom: 4rem;
            @media screen and (max-width: 767px) {
                font-size: 1.8rem;
                line-height: 2.4rem;
                margin-bottom: 2rem;
            }
        }
        .divider {
            width: 100%;
            padding-bottom: 5rem;
            border-bottom: #a2a2a2 1px solid;
            margin-bottom: 5.3rem;
            font-weight: 500;
            @media screen and (max-width: 767px) {
                padding-bottom: 2.5rem;
                margin-bottom: 2.8rem;
            }
        }
        & ul {
            & li {
                margin-bottom: 4.8rem;
                display: flex;
                gap: 3.7rem;
                @media screen and (max-width: 767px) {
                    gap: 1rem;
                    margin-bottom: 1.2rem;
                }
                .step {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 11.7rem;
                    height: 5rem;
                    background: #ffffff;
                    border: 2px solid #f08300;
                    border-radius: 3.9rem;
                    font-family: var(--zenkaku);
                    font-style: normal;
                    font-weight: 700;
                    font-size: 2.2rem;
                    line-height: 1;
                    text-align: center;
                    letter-spacing: 0.1em;
                    color: #f08300;
                    @media screen and (max-width: 767px) {
                        width: 7rem;
                        font-size: 1.4rem;
                        height: 3.4rem;
                    }
                }
                & p {
                    flex: 1;
                }
            }
        }
    }
}

.career-path.last {
    margin-bottom: 12rem;
    @media screen and (max-width:767px){
        margin-bottom: 6rem;
    }
}

.chart-container {
    margin-top: 4rem;
    width: 100%;
    border: 0.4rem #f08300 solid;
    border-radius: 2rem;
    background-color: #fff;
    padding: 8.3rem 11.1rem;
    @media screen and (max-width: 767px) {
        padding: 3rem 2rem;
    }
    .header {
        font-family: var(--zenkaku);
        font-style: normal;
        font-weight: 700;
        font-size: 3.1rem;
        line-height: 1.2;
        text-align: center;
        letter-spacing: 0.1em;
        color: #212121;
        margin-bottom: 4.8rem;
        @media screen and (max-width: 767px) {
            font-size: 1.8rem;
            margin-bottom: 3rem;
        }
    }
    & p {
        margin-bottom: 6rem;
        @media screen and (max-width: 767px) {
            margin-bottom: 3rem;
        }
    }
    .chart {
        width: 100%;
        & img {
            width: 100%;
            vertical-align: top;
        }
    }
}
