@charset "utf-8";

.sp {
        display: none;
}

.pc {
        display: block;
}

.top-career-title-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 300px;
        overflow: hidden;
        background-image: url(../../images/recruit_fresh.png);
        background-size: 100% auto;
        background-position: center center;
        margin: 4rem auto 8rem;
}

.top-career-title-box h2 {
        width: 100%;
        height: auto;
        text-align: center;
        padding: 2rem;
        background-color: rgba(0, 0, 0, 0.15);
        font-size: 3rem;
        letter-spacing: 0.5rem;
        color: #fff;
}

.mb01 {
        margin-bottom: 1rem;
}

.career-text-box {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 0 auto;
        text-align: justify;
}

.career-flow-box {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 10rem auto;
}

.title-box {
        margin: 3rem auto;
}

.career-flow-title {
        padding: 0.25em 0.5em;
        color: #494949;
        background: transparent;
        border-left: solid 5px #e5001b;
}

.flow {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        list-style-type: none;
        margin: 0 0 8rem;
}

.flow02 {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        list-style-type: none;
}

.flow-wrap {
        width: 11%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2rem;
        border: 2px solid #e5001b;
}

.fa-angle-right02 {
        color: #015FA7;
}
.fa-angle-right03 {
        color: #FFFFFF;
}

.flow-wrap02 {
        border: 2px solid #015FA7;        
}

.flow-wrap:last-child {
        border: 2px solid #015FA7;
}

.step-number {
        position: absolute;
        top: -1rem;
        left: -1rem;
        padding: 1rem 1.2rem;
        color: #ffffff;
        background-color: #e5001b;
}

.last-step .step-number {
        background-color: #015FA7;
}

.flow-text {
        padding: 3rem 0;
        color: #e5001b;
        text-align: center;
        font-size: 1.8rem;
        font-weight: 600;
}

.last-step .flow-text {
        color: #015FA7;
}

.angle-right {
        width: 1%;
        padding-top: 1%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #e5001b;
}

.flow02 .angle-right {
        padding: 2%;
        padding-top: 3%;
}

.button-position {
        position: relative;
}

.interview-title-flex.pc {
        display: flex;
        align-items: center;
}

.interview-title-flex li {
        list-style-type: none;
}

#recruit-career .career-title-box {
        display: flex;
        justify-content: end;
        align-items: center;
        flex-flow: column;
        width: 100%;
}

.main-staff-list {
        width: calc(100% / 5);
}

.main-staff-img {
        width: 100%;
}

#recruit-career .career-title-box h2 {
        height: auto;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
        background-color: rgba(255, 255, 255, 0.5);
        font-size: 2.5rem;
        letter-spacing: 0.5rem;
        color: #e5001b;
}

#recruit-career .button-box {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translateX(-50%);
        height: auto;
        text-align: center;
        padding: 2rem 6rem;
        background-color: rgba(255, 255, 255, 0.3);
        margin-bottom: 5vW;
        border-radius: 0 0 1rem 1rem;
}

#recruit-career .button-box span {
        display: block;
        color: #ffffff;
}

#recruit-career .button-box a {
        display: block;
        width: max-content;
        height: auto;
        padding: 1rem 8rem;
        font-size: 2rem;
        color: #ffffff;
        background-color: #015FA7;
        margin: 1rem auto 0;
        text-decoration: none;
        border: solid 1px #ffffff;
        transition: 0.5s;
}

#recruit-career .button-box a:hover {
        transform: scale(1.03, 1.03);
}

#recruit-career .button-box a i {
        margin-left: 2rem;
}

@media screen and (max-width:767px) {
        .sp {
                display: block;
        }

        .pc {
                display: none;
        }

        .top-career-title-box {
                height: 20rem;
                background-size: cover;
                margin: 0 auto;
        }

        .top-career-title-box h3 {
                font-size: 1.8rem;
        }

        .career-text-box {
                margin: 2rem auto;
        }

        .flow,
        .flow02 {
                flex-direction: column;
                align-items: center;
        }

        .flow {
                margin-bottom: 4rem;
        }

        .flow-wrap {
                width: 80%;
                margin-top: 0;
        }

        .step-number {
                top: 0;
                left: 0;
                padding: 0.5rem;
        }

        .angle-right {
                justify-content: center;
                padding: 2%;
        }

        .angle-right .fa-angle-right {
                transform: rotate(90deg);
        }

        .flow-text {
                padding: 1.5rem;
                font-size: 1.4rem;
        }

        .career-flow-box {
                margin: 3rem 0 5rem;
        }

        .career-flow-title {
                font-size: 1.8rem;
        }

        #recruit-career .career-title-box {
                display: block;
                height: auto;
                background-size: cover;
                margin: 0 auto;
                background-image: none;
                padding: 0;
        }

        #recruit-career .career-title-box h2 {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                padding: 0.5rem;
                margin-bottom: 0.5rem;
                font-size: 2rem;
                letter-spacing: 0.5rem;
        }

        .interview-title-flex.pc {
                display: none;
        }

        .interview-title-flex.sp {
                display: flex;
                flex-wrap: wrap;
        }

        .main-staff-list {
                width: calc(100% / 3);
        }

        .main-staff-img {
                vertical-align: top;
        }

        #recruit-career .button-box {
                width: 94%;
                top: 43%;
                left: 50%;
                transform: translate(-50%, -50%);
                padding: 0;
        }

        #recruit-career .button-box span {
                /* color: #444444; */
                font-size: 1.5rem;
        }

        #recruit-career .button-box a {
                max-width: 98%;
                font-size: 1.8rem;
                padding: 0.5rem 1rem;
                margin: 1rem auto;
        }

        #recruit-career .button-box a i {
                margin-left: 1rem;
        }

}