@charset "utf-8";

/*******************************************
common
*******************************************/
.career-main {
    .section__inner {
        padding-bottom: clamp(70px,11.8vw,170px);
    }
}

.careerBox {
    margin-bottom: clamp(30px, 7.29vw, 105px);
    background-color: var(--white);
    padding: max(var(--size55), 25px) max(var(--size50), 15px) max(var(--size80), 30px);
    border-radius: var(--radius30);

    &:last-child {
        margin-bottom: 0;
    }

    .section__ttl {
        font-size: var(--font32);

        .en {
            font-size: var(--font19);
        }

        margin-bottom: 20px;
    }
}

.career__txt {
    margin-bottom: 20px;
    line-height: 2.11;

    @media screen and (max-width: 480px) {
        line-height: var(--lineHight164);
    }
}
.page-btn__list {
    & li {
        .btn {
            font-size: 16px;
            letter-spacing: 0;
            line-height: 1.315;
            padding: 0 1.5em;
			
			 @media screen and (max-width: 480px) {
       font-size: 14px;
        }
    }
}
}

/*******************************************
step
*******************************************/

.stepList {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--size55);

    li {
        flex: 1;

        &:first-child {
            margin-top: 65px;
        }

        &:nth-child(2) {
            margin-top: 40px;
        }

        p {
            line-height: var(--lineHight120);
            margin-top: 15px;
        }
    }

    @media screen and (max-width: 768px) {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        width: min(100%, 400px);
        margin: 0 auto;

        li {
            margin: 0 !important;
            flex: none;

            .img {
                width: min(100%, 250px);
                margin: 0 auto;
            }
        }
    }

    @media screen and (max-width: 480px) {

        li {
            .img {
                width: min(100%, 200px);
            }

            p {
                line-height: initial;
            }
        }
    }
}


/*******************************************
model
*******************************************/

.modelDetail {
    padding-top: 13px;

    @media screen and (max-width: 480px) {
        padding-top: 0;
    }
}

.modelDetail__item {
    background-color: var(--beige06);
    margin-bottom: max(var(--size55), 20px);
    padding: 0 var(--size40);
    border-radius: 10px;
    font-size: var(--font23);

    dt {
        font-size: 1em;
        padding: 1em 0;

        p {
            font-size: 1em;
            font-weight: var(--weight600);
            text-align: left;
        }

        .number {
            font-size: 0.913em;
            font-family: var(--poppins);
            margin-right: var(--size40);
            color: var(--red07);
            font-weight: var(--weight600);
        }
    }

    @media screen and (max-width: 768px) {
        padding: 0 1em;

        dt {
            .number {
                margin-right: 1em;
            }
        }
    }

    @media screen and (max-width: 768px) {
        dt {
            p {
                padding-right: 1.5em;
            }
        }
    }
}

.dd-inner-model {
    border-top: 1px solid var(--gray07);
}

.modelDetail__flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--size80);

    padding-top: var(--size70);
    padding-bottom: var(--size80);
    width: min(100%, 890px);
    margin: 0 auto;


    .icon {

        img {
            display: block;
            width: clamp(140px, 16.153vw, 210px);
            margin: 0 auto;
        }


        .txt {
            display: block;
            text-align: center;
            width: 100%;
            margin-top: 1em;
        }
    }

    @media screen and (max-width: 768px) {
        flex-direction: column;

        .icon {
            width: 100%;

            .txt {
                width: 100%;
            }
        }


    }

    @media screen and (max-width:480px) {
        .icon {

            img {
                width: min(80%, 100px);
            }
        }
    }
}

.historyList {
    flex: 1;

    @media screen and (max-width: 768px) {
        flex: none;
        width: min(90%, 400px);
    }
}

.historyList__item {
    --bottom: max(var(--size40), 15px);

    position: relative;
    padding-left: max(var(--size45), 30px);
    margin-bottom: var(--bottom);
    font-size: var(--font19);

    &:last-child {
        margin-bottom: 0;

        &::after {
            height: 100%;
        }
    }

    &::before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 1.05em;
        aspect-ratio: 1;
        border-radius: var(--radiusCircle);
        background-color: var(--red07);
        transform: translateX(-45%);
    }

    &::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 3px;
        height: calc(100% + var(--bottom));
        border-left: 3px dotted var(--red07);
    }

    @media screen and (max-width: 480px) {
        padding-left: 20px;

        &::before {
            width: 15px;
        }

        &::after {
            border-left: 2px dotted var(--red07);
        }
    }

}

.historyList__itemInner {
    background-color: var(--white);
    font-size: 1em;
    padding: 1em 1.25em 1.57em;
    border-radius: 10px;

    .txt {
        line-height: var(--lineHight150);
        font-size: max(0.736em, 11px);
        letter-spacing: var(--fontSpace040);
    }
}

.historyList__years {
    display: block;
    font-size: 1em;
    color: var(--red07);
    margin-bottom: 0.5em;
}

/*******************************************
training
*******************************************/
.training {
    .career__txt {
        margin-bottom: max(var(--size50), 20px);
    }
}

.training__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;

    @media screen and (max-width: 480px) {
        width: min(100%, 300px);
        margin: 0 auto;
    }
}

.training__item {
    display: flex;
    flex-direction: column;
    width: calc((100% - 120px)/5);

    .icon {
        width: 73px;
        margin: 0 auto 10px;
    }

    @media screen and (max-width: 1024px) {
        width: calc((100% - 60px)/3);
    }

    @media screen and (max-width: 768px) {
        width: calc((100% - 30px)/2);
    }

    @media screen and (max-width: 480px) {
        width: 100%;

        .icon {
            width: min(100%, 50px);
        }
    }
}

.training__detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    font-size: var(--font17);

    dt {
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1.41;
        min-height: calc(1.41*2em);
        text-align: center;
        color: var(--red07);
        font-weight: var(--weight700);
        margin-bottom: 0.8em;
    }

    dd {
        font-size: 0.82em;

        p {
            font-size: 1em;
            line-height: var(--lineHight150);
            letter-spacing: var(--fontSpace040);
        }
    }

    @media screen and (max-width: 480px) {
        dt {
            min-height: initial;
            margin-bottom: 5px;
        }
    }
}