@charset "utf-8";

.sp {
        display: none;
}

#recruit-flow .career-title-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 300px;
        overflow: hidden;
        background-image: url(../../images/recruit_flow.png);
        background-size: 100% auto;
        background-position: center 80%;
        margin: 4rem auto;
}

#recruit-flow .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;
}

.timeline {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 10rem auto 3rem;
        list-style-type: none;
}

.timeline-first-block {
        list-style-type: none;
}

.sub-list-ul {
        list-style-type: none;
        line-height: 1.9;
        flex-grow: 1;
}

.timeline-list {
        margin-bottom: 5rem;
}

.timeline-step {
        display: flex;
}

.timeline-step .txt {
        width: 85%;
        display: flex;
        align-items: center;
        background-color: #eeeeee;
}

.timeline-step-number {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 15%;
        height: 100%;
        padding: 2rem;
        background-color: #e5001b;
        letter-spacing: 2px;
}

.timeline-step-number::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -14px;
        left: 0;
        width: 0px;
        height: 0px;
        margin: auto;
        border-style: solid;
        border-color: #e5001b transparent transparent transparent;
        border-width: 14px 15px 0 14px;
}

.last::after {
        display: none;
}

.timeline-step-number p {
        color: #ffffff;
}

.step {
        font-size: 2rem;
        line-height: 1em;
}

.number {
        font-size: 5rem;
        line-height: 1em;
}

.timeline-step-box {
        display: flex;
        align-items: center;
}

.step-title {
        width: 30%;
        padding-left: 5%;
        font-size: 2rem;
        font-weight: bold;
}

.timeline-step-link {
        width: 20%;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.timeline-step-link:hover {
        transform: scale(1.02);
        transition: .3s;
}

.entry-btn-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        margin: 5rem auto;
}

.entry-btn {
        width: calc(100%/3 - 1rem);
        /* margin-right: 10%; */
        margin-top: 1%;
        cursor: pointer;
        text-align: center;
}

.entry-link {
        display: inline-block;
        width: 100%;
        padding: 3rem;
        outline: none;
        border: 2px solid #e5001b;
        background-color: #ffffff;
        color: #ffffff;
        position: relative;
        letter-spacing: 1px;
}

.entry-link::before {
        content: '新卒エントリー';
        /*Button's value/text-content */
        position: absolute;
        top: -10%;
        left: -2%;
        background-color: #e5001b;
        width: 100%;
        height: 100%;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.2s ease-in-out;
        font-size: 3rem;
        font-weight: bold;
}

.entry-link:hover::before {
        top: 0;
        left: 0;
}

.mynavi-box {
        width: calc(100%/3 - 1rem);
        display: flex;
        align-items: center;
}

.mynavi {
        height: auto;
}


.mynavi p {
        margin-top: 0.5rem;
}

.mynavi .mynavi-link {
        display: inline-block;
        text-decoration: none;
        text-align: center;
}

.mynavi-img {
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.mynavi-img:hover {
        transform: scale(1.02);
        transition: .3s;
}

.mynavi-img img {
        width: 100%;
        vertical-align: top;
}

.arrow-inner {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 0 auto 10rem;
}

.arrow {
        position: relative;
        text-align: center;
        margin-bottom: 3rem;
}

.arrow::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        border: 14px solid transparent;
        border-top: 15px solid #e5001b;
        transform: translateX(-50%);
}

.step-8 {
        padding-top: 3rem;
        font-size: 2rem;
        font-weight: bold;
}

.flow {
        justify-content: space-between;
        margin: 0 auto;
}
.flow-wrap {
        width: 16%;
}
.flow::after {
        content: "";
        width: 21.3%;
        display: block;
}
.flow-text p {
        font-weight: 600;
        font-size: 14px;
        margin: 0.5rem 2rem 0;
        line-height: 1.3;
}
.entry-btn-wrap {
        margin: 3rem auto;
        padding: 2rem 0 1rem;
}
.entry-btn-wrap02 {
        padding-left: 3%;
        padding-right: 3%;
}
.career-flow-box {
        margin: 0 auto 4rem;
}
.title-box {
        margin: 0 auto 3rem;
}


@media screen and (max-width:767px) {
        .pc {
                display: none;
        }

        .sp {
                display: block;
        }

        #recruit-flow .career-title-box {
                height: 20rem;
                background-size: cover;
                margin: 0 auto;
                background-size: 200% auto;
        }

        .timeline {
                margin: 3rem auto;
        }

        .timeline-first-block {
                display: flex;
                flex-direction: column;
        }

        .timeline-first-block .timeline-list {

                order: 2;
        }

        .timeline-first-block .entry-btn-wrap {

                order: 1;
        }

        .timeline-list {
                margin-bottom: 2rem;
        }

        .timeline-step {
                display: block;
        }

        .timeline-step-number {
                width: 100%;
                padding: 1rem;
        }

        .timeline-step-box {
                display: block;
                padding-left: 1.5rem;
        }

        .step-title {
                width: 100%;
                padding-left: 0;
                margin-bottom: 1rem;
                font-size: 1.6rem;
        }

        .timeline-step .txt {
                display: block;
                width: 100%;
                padding: 2rem;
        }

        .timeline-step-link {
                width: 80%;
                object-fit: contain;
                margin-top: 1%;
        }

        .step {
                font-size: 1.6rem;
        }

        .number {
                font-size: 2rem;
        }

        .entry-btn-wrap {
                display: block;
        }

        .entry-btn,
        .mynavi-box {
                width: 80%;
                margin: 0 auto;
        }

        .mynavi-img {
                margin: 2rem auto 0;
        }

        .entry-btn p {
                font-size: 1.4rem;
        }

        .mynavi p {
                font-size: 1.4rem;
                margin: 0.5rem auto;
        }

        .timeline-step-number::after {
                display: none;
        }

        .timeline-step .txt {
                text-align: center;
        }

        .step-text-sp {
                font-size: 2rem;
        }

        .flow-wrap {
                width: 80%;
                margin-top: 0;
        }
        .flow-text {
                font-size: 18px;
        }
        .flow-text p {
                margin: 0.5rem 0.5rem 0;
        }

}