@charset "utf-8";

.sp {
        display: none;
}

.pc {
        display: block;
}

.interview-title-box {
        position: relative;
        margin-top: 3rem;
}

.interview-title-flex {
        display: flex;
        align-items: center;
        list-style-type: none;
}

.main-staff-list {
        width: calc(100% / 5);
}

.main-staff-img,
.main-message-img {
        width: 100%;
        vertical-align: top;
}

.messe-area {
        position: absolute;
        width: 40%;
        top: 50%;
        left: 20%;
        transform: rotate(-5deg);
}

.interview-title-message02 {
        margin-left: 100px;
}

div.colorbox,
div.colorbox02 {
        position: relative;
        width: 100%;
}

div.colorbox div.color {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        z-index: 2;
        background-color: #e5001b;
}

div.colorbox02 div.color {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        z-index: 2;
        background-color: #e5001b;
}

div.colorbox img,
div.colorbox02 img {
        display: block;
        width: 100%;
}

.content02 {
        margin: 8rem auto;
}

.recruit-old {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 4rem auto 0;
}

.recruit-title-wrap {
        margin-bottom: 5rem;
        text-align: center;
}

.recruit-title-main-img {
        width: 20%;
}

.old-box {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 2rem;
}

.staff-photo {
        width: 100%;
        vertical-align: top;
}

.staff-link-box {
        width: 30%;
        display: flex;
        margin-bottom: 4rem;
        flex-direction: column;
        text-decoration: none;
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.staff-link-box:hover {
        box-shadow: 4px 4px 0 #e5001b;
        transition: .3s;
}

.staff-link-box:hover .staff-photo {
        transform: scale(1.05);
        transition: .3s;
}

.staff-link-style {
        position: relative;
        overflow: hidden;
}

.staff-link-box.is-empty {
        height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
}

.staff-box-bgc {
        flex-grow: 1;
        padding: 2rem;
        background-color: #f9f9f9;
}

.figcaption {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 0 4rem;
        top: 50%;
        left: 50%;
        color: #ffffff;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: .3s;
}

.staff-link-box:hover .figcaption {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.6);
}

.staff-position {
        position: absolute;
        bottom: 0;
        left: 0;
        font-size: 14px;
        padding: 1rem 2rem;
        color: #ffffff;
        background-color: #e5001b;
}

.staff-message {
        margin-bottom: 1rem;
}

.staff-profile {
        position: relative;
        list-style-type: none;
}

.profile-item {
        line-height: 1.6;
}

.name-img {
        width: 90%;
        margin-bottom: 1rem;
}

.year {
        color: #8b8b8b;
        font-size: 14px;
}


/* ---------- 採用情報 - 社員インタビュー(個別ページ) ---------- */

#interview-detail .detail-title-box .title-body {
        position: relative;
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 0 auto;
}

.top-img-box {
        width: 62%;
        margin: 0 0 0 auto;
}

.title-staff-img {
        width: 100%;
        animation: faderight 1s ease .05s 1 normal backwards;
}

@keyframes faderight {
        from {
                opacity: 0;
                transform: translateX(-100px);
        }

        to {
                opacity: 1;
                transform: translateX(0);
        }
}

.top-profile-box {
        width: 50%;
        position: absolute;
        top: 22%;
        left: 6%;
        z-index: 1;
        padding: 0;
        line-height: 1.9em;
        animation: fadetop 1s ease .05s 1 normal backwards;
}

@keyframes fadetop {
        from {
                opacity: 0;
                transform: translateY(100px);
        }

        to {
                opacity: 1;
                transform: translateY(0px);
        }
}

.top-profile-title {
        padding: 0;
        letter-spacing: 0.12em;
        line-height: 1.5em;
        font-size: 4rem;
        text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7);
}

.top-profile-info {
        position: relative;
        display: inline-block;
        width: auto;
        padding: 0 0 0 2em;
        top: 80px;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 0;
        list-style-type: none;
        -webkit-transform: none;
        transform: none;
        background-color: transparent;
        border-left: 2px solid #e5001b;
}

.top-staff-name {
        font-size: 2.5rem;
        font-weight: bold;
}

.top-staff-rb {
        color: #e5001b;
        margin-bottom: 3rem;
}

#interview-detail .content {
        width: 100%;
        height: auto;
        overflow: hidden;
        text-align: justify;
}

#interview-detail .detail-box {
        width: 100%;
        height: auto;
}

#interview-detail .detail-box h3 {
        width: max-content;
        height: auto;
        font-size: 3rem;
        text-align: center;
        color: #ffffff;
        background-color: #0068b7;
        padding: 1rem 2rem;
        margin-bottom: 4rem;
}

#interview-detail.staff-f .detail-box h3 {
        background-color: #e60033;
}

#interview-detail .detail-content {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        height: auto;
        overflow: hidden;
        margin: 4rem auto;
        padding-bottom: 2rem;
}

#interview-detail .detail-text-box {
        width: 50%;
        height: auto;
        padding: 1rem;
        float: left;
        line-height: 2;
}

#interview-detail .detail-text-box:first-letter {
        font-size: 4rem;
        font-weight: bold;
        margin-right: 1rem;
        line-height: 1;
        color: #e60033;
}

#interview-detail.staff-f .detail-text-box:first-letter {
        color: #0068b7;
}

#interview-detail .detail-image-box {
        width: 50%;
        height: auto;
        padding: 1rem;
        float: left;
        text-align: center;
}

#interview-detail .detail-image-box img {
        width: 100%;
        height: auto;
}

#interview-detail .detail-box02 {
        background-color: rgba(138, 207, 212, 0.1);
}

#interview-detail.staff-f .detail-box02 {
        background-color: rgba(234, 96, 158, 0.05);
}

#interview-detail .detail-box02 .detail-text-box,
#interview-detail .detail-box02 .detail-image-box {
        float: right;
}

#interview-detail.staff02 .detail-title-box .title-body h2 {
        text-shadow: rgba(255, 255, 255, 0.3) 2px 2px 4px, rgba(255, 255, 255, 0.3) -2px 2px 4px;
}

#interview-detail .detail-title-box {
        margin: 4rem auto 8rem;
}

.mb01 {
        margin-bottom: 1rem;
}

/* entry */
.entry-title-box {
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 500px;
        background: url(../images/interview_new/entry_title_pc.jpg)center center no-repeat;
        background-size: 100% auto;
        margin: 4rem auto;
}

.entry-title-wrap {
        position: absolute;
        bottom: -4vw;
        left: 50%;
        text-align: center;
        transform: translateX(-50%);
}

.entry-title {
        font-size: 130px;
        color: #e5001b;
}

.entry-btn-contents {
        max-width: calc(1200px + 6%);
        padding-left: 3%;
        padding-right: 3%;
        margin: 15rem auto;
}

.entry-btn-wrap-new {
        display: flex;
        justify-content: space-between;
}

.entry-btn-new,
.entry-btn-career {
        display: flex;
        align-items: center;
        width: calc(100% / 3 - 1rem);
        text-align: center;
        color: #ffffff;
        overflow: hidden;
}

.entry-link-new,
.entry-link-career {
        display: block;
        width: 100%;
        height: 100%;
        padding: 2rem 0 1rem 0;
        color: #ffffff !important;
        text-decoration: none;
        cursor: pointer;
        background-color: #e5001b;
}

.entry-link-career {
        background-color: var(--sub-color02);
}

.btn-name {
        display: block;
        /* margin-bottom: 5px; */
        font-size: 2.5rem;
        font-weight: bold;
}

.sub-name {
        font-size: 1.4rem;
}

.mynavi-box-new {
        position: relative;
        display: flex;
        align-items: center;
        width: calc(100% / 3);
        height: 100%;
        border: 3px solid #00ABEB;
        overflow: hidden;
}

.mynavi-new {
        text-align: center;
}

.mynavi-link-new {
        display: block;
        width: 100%;
        height: 100%;
        padding: 1.2rem 1rem;
        text-decoration: none;
}

.mynavi-img-new {
        width: 70%;
        margin: 0 auto;
}

.mynavi-img-size {
        width: 100%;
        vertical-align: top;
}

.entry-link-new:hover,
.entry-link-career:hover,
.mynavi-new:hover {
        transform: scale(1.05);
        transition: .3s;
}

#footer {
        margin-top: 0;
}

@media screen and (max-width:1040px) {
        .btn-name {
                font-size: 2rem;
        }
}

@media screen and (max-width:767px) {
        .sp {
                display: block;
        }

        .pc {
                display: none;
        }

        .interview-title-box .interview-title-flex {
                flex-wrap: wrap;
        }

        .main-staff-list {
                width: calc(100%/3);
        }

        .messe-area {
                width: 80%;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%) rotate(-5deg);
        }

        .interview-title-message02 {
                margin-left: 10px;
        }

        .interview-title-box {
                margin-top: 0;
        }

        .content02,
        .recruit-old {
                margin-top: 3rem;
        }

        .recruit-title-wrap {
                margin-bottom: 3rem;
        }

        .recruit-title-main-img {
                width: 45%;
        }

        .staff-link-box {
                width: 100%;
        }

        /*interview-detail */
        #interview-detail .detail-title-box {
                margin: 2rem auto 4rem;
        }

        .top-img-box {
                width: 100%;
        }

        #interview-detail .detail-title-box .title-body {
                padding-left: 0;
                padding-right: 0;
        }

        .top-profile-box {
                position: relative;
                left: 0;
                width: 96%;
                margin: -4rem auto 0;
                padding: 2rem;
                background-color: #ffffff;
        }

        .top-profile-title {
                margin-bottom: 2.5rem;
                font-size: 2rem;
        }

        .top-profile-info {
                position: static;
        }

        .top-staff-name {
                font-size: 1.8rem;
        }

        .top-staff-rb {
                margin-bottom: 2rem;
        }

        #interview-detail .detail-content {
                width: 100%;
                margin: 0 auto;
        }

        #interview-detail .detail-box h3 {
                max-width: 100%;
                font-size: 2rem;
                margin-bottom: 1rem;
                text-align: left;
        }

        #interview-detail .detail-text-box {
                width: 100%;
                float: none;
                padding: 0;
                margin: 0 auto;
        }

        #interview-detail .detail-image-box {
                width: 100%;
                padding: 0;
                float: none;
                margin: 1rem auto;
        }

        #interview-detail .detail-box02 .detail-text-box,
        #interview-detail .detail-box02 .detail-image-box {
                float: none;
        }

        #recruit-interview .wrap {
                margin: 0 auto;
        }

        .entry-title-box {
                padding-top: 300px;
                margin-top: 0;
                background: url(../images/interview_new/entry_title_sp.jpg)center center no-repeat;
                background-size: cover;
        }

        .entry-title-wrap {
                width: 100%;
                padding-left: 3%;
                padding-right: 3%;
                margin: 0 auto;
                bottom: -15vw;
        }

        .entry-title {
                font-size: 23vw;
        }

        .entry-btn-contents {
                margin: 8rem auto 5rem;
        }

        .entry-btn-wrap-new {
                display: block;
                box-shadow: none;
        }

        .entry-btn-new,
        .mynavi-box-new,
        .entry-btn-career {
                width: 100%;
        }

        .entry-btn-new,
        .mynavi-box-new,
        .entry-btn-career {
                margin-bottom: 3rem;
                box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
        }

        .mynavi-link-new {
                padding: 1rem;
        }
        .btn-name {
                font-size: 2rem;
        }

        .sub-name {
                font-size: 1.3rem;
        }


}

@media screen and (max-width:600px) {
        .entry-title {
                font-size: 23vw;
        }
}