.wp-block-group {
    padding-top: 88px;
    margin-top: -88px;
}

h2.wp-block-heading {
    margin-bottom: 64px;
}

.pagelink {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
    padding-top: 40px;
    margin-bottom: 70px;
}

.pagelink .btn {
    background-color: #F5FAFD;
    box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.16);
    border-radius: 20px;
    padding: 0;
}

.pagelink .btn a {
    display: block;
    width: 100%;
    padding: 30px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #0E4D8F;
    position: relative;

    @media screen and (max-width: 480px) {
        /* font-size: 20px; */
        font-size: 16px !important;
    }

}

.pagelink .btn a::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-image: url(../../images/entry/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);

    @media screen and (max-width: 480px) {
        width: 20px;
        height: 20px;
    }
}

.button-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 54px;
}

.button-group button {
    width: 458px;
    padding: 25px;
    font-size: 24px;
    color: #0E4D8F;
    background-color: #fff;
    border: 1px solid #AAAAAA;
    border-radius: 10px;

    @media screen and (max-width: 480px) {
        /* font-size: 20px; */
        font-size: 16px !important;
    }
}

.button-group button.active,
.tab-group button.active {
    background-color: #0E4D8F;
    color: #fff;
}

.button-group button.active {
    border: none;
}

.recruit-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}

.tab-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-group button {
    width: 50%;
    font-size: 24px;
    font-weight: 600;
    padding: 35px;
    background-color: #fff;
    border-top: 5px solid #F3F9FC;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.job-contents {
    border: 3px solid #0E4D8F;
    padding: 120px 40px 40px;
}

.job-contents .job-content dl {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 50px;
}

.job-contents .job-content dl dt {
    width: 240px;
    font-size: 20px;
}

.job-contents .job-content dl dd {
    width: 710px;
    font-size: 18px;
    line-height: 1.7;
}

#entry .wrap {
    background-color: #F3F9FC;
    padding: 30px 20px 60px;
}

#entry .wrap p {
    font-size: 18px;
    font-weight: 600;
}

#entry .wrap .desc {
    font-size: 23px;
    margin-bottom: 80px;

    @media screen and (max-width: 480px) {
        /* font-size: 20px; */
        font-size: 16px !important;
    }
}

#entry .wrap .text-b {
    width: fit-content;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
    font-size: 23px;

    @media screen and (max-width: 480px) {
        /* font-size: 20px; */
        font-size: 16px !important;
    }
}

#entry .wrap .text-b::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background-color: rgba(90, 207, 214, 0.34);
    position: absolute;
    left: 0;
    bottom: 7px;
    z-index: -1;
}

#entry .wrap a {
    display: block;
    margin-bottom: 20px;
}

#flow h2 {
    border-bottom: 1px solid #AAAAAA;
    padding-bottom: 10px;
}

#flow h2 mark {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#flow h2 span {
    font-size: 24px;

    @media screen and (max-width: 480px) {
        font-size: 20px;
    }
}

#flow .wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
}

#flow .wrap p {
    padding-top: 85px;
    padding-right: 20px;
    font-size: 23px;
    line-height: 1.8;

    @media screen and (max-width: 480px) {
        /* font-size: 20px; */
        font-size: 16px !important;
    }
}

@media screen and (max-width:990px) {
    .pagelink {
        grid-template-columns: 1fr;
        width: 72%;
        margin-left: auto;
        margin-right: auto;
    }

    #flow .wrap {
        flex-direction: column;
    }
}

@media screen and (max-width:768px) {

    h2.wp-block-heading {
        margin-bottom: 30px;
        font-size: 140%;
    }

    .wp-block-group {
        margin-bottom: 60px;
    }

    .button-group button {
        font-size: 24px;
        padding: 15px;
    }

    .recruit-title {
        font-size: 30px;
    }

    .tab-group button {
        font-size: 20px;
        padding: 20px;
        border-top: 3px solid #F3F9FC;
    }

    .job-contents {
        padding: 60px 10px 10px;
    }

    .job-contents .job-content dl {
        gap: 15px;
    }

    .job-contents .job-content dl dt {
        font-size: 16px;
        width: 25%;
    }

    .job-contents .job-content dl dd {
        font-size: 16px;
        width: 70%;
    }

    #entry h2.wp-block-heading {
        background-color: #F3F9FC;
        margin-bottom: 0;
        padding: 40px 20px;
    }

    #entry .wrap {
        padding: 0 20px 40px;
    }

    #entry .wrap .desc {
        margin-bottom: 40px;
    }

    #entry .wrap p {
        font-size: 16px;
    }

    #entry .wrap .text-b::after {
        top: 20px;
        bottom: auto;
    }

    #flow h2 mark {
        flex-direction: column;
        align-items: flex-start;
    }

    #flow h2 mark span {
        margin-top: 10px;
    }

    #flow .wrap p {
        font-size: 16px;
        padding-top: 20px;
    }

}

@media screen and (max-width: 480px) {
    .tab-group button {
        font-size: 16px !important;
    }
}