@charset "UTF-8";

:root {
    --primary-white: #FFFFFF;
    --primary-gray: #F2F2F2;
    --primary-blue: #016FD7;
    --primary-orange: #FE9028;
    --primary-black: #222222;
    --section-padding: 72px 5.3%;
}

.orange {
    color: var(--primary-orange, #FE9028);
}

@media screen and (min-width: 768px) {
    :root {
        --section-padding: 108px 3em;
    }
}

/* firstview */

.firstview__inner {
    width: 100%;
    height: 100vh;
    position: relative;
}

.firstviewImg {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: 80% 50%;
}

.copyWrapper {
    z-index: 5;
    display: grid;
}

.mainCopy01 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-45%, -50%);
    color: var(--primary-white, #FFFFFF);
    width: max-content;
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1;
    background-color: var(--primary-blue, #016FD7);
    padding: 16px;
}

.mainCopy02 {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-55%, -55%);
    color: var(--primary-white, #FFFFFF);
    width: max-content;
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1;
    background-color: var(--primary-blue, #016FD7);
    padding: 16px;
}


/* firstview tab */

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

    .firstview__inner {
        height: calc(100vh - 96px);
        height: 100vh;
        grid-template-rows: 1fr 10em 10.5em 8em 1fr;
    }

    .firstviewImg {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    .mainCopy01 {
        position: absolute;
        top: 45%;
        left: 24%;
        transform: translate(-45%, -55%);
        color: var(--primary-white, #FFFFFF);
        width: max-content;
        font-size: 4.0rem;
        font-weight: 700;
        line-height: 1;
        background-color: var(--primary-blue, #016FD7);
        padding: 16px;
    }

    .mainCopy02 {
        position: absolute;
        top: 55%;
        left: 45%;
        transform: translate(-55%, -45%);
        color: var(--primary-white, #FFFFFF);
        width: max-content;
        font-size: 4.0rem;
        font-weight: 700;
        line-height: 1;
        background-color: var(--primary-blue, #016FD7);
        padding: 16px;
    }
}


/* ----------------------------------------------
 ニュースフィード 
----------------------------------------------*/

/* スマホデザイン */

.top-news-slider {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fcfcf4;
    max-width: 560px;
    width: calc(100% - 20px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 50px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, .4);
    overflow: hidden;
    z-index: 95;
}

.top-news-slider ul {
    width: 100%;
    margin: 0 auto;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

.top-news-slider ul li {
    width: 100%;
    display: none;
}

.news-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1em;
    row-gap: 0.1em;
    padding: 0 2em;
}

.top-news-slider .date {
    font-size: 1.0rem;
    color: #888686;
}

.top-news-slider .category {
    font-size: 0.8rem;
    background-color: #016FD7;
    color: #fff;
    padding: 0px 16px;
}

.top-news-slider .title {
    font-size: 1.2rem;
}

/* 矢印 */
.dli-caret-circle-fill-right {
    display: inline-block;
    vertical-align: middle;
    color: #016FD7;
    line-height: 1;
    position: relative;
    width: 0.8em;
    height: 0.8em;
    border: 0.075em solid currentColor;
    background: currentColor;
    border-radius: 50%;
    box-sizing: content-box;
}

.dli-caret-circle-fill-right::before {
    content: '';
    color: #fff;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 0.18em 0.31177em;
    border-left-color: currentColor;
    border-right: 0;
    transform: translateX(15%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

@media screen and (min-width:1024px) {
    .top-news-slider {
        position: absolute;
        bottom: 20px;
        left: unset;
        right: 2%;
        transform: translateX(-2%);
        background: #fcfcf4;
        max-width: 640px;
        width: calc(100% - 20px);
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 50px;
        box-shadow: 1px 1px 15px rgba(0, 0, 0, .4);
        overflow: hidden;
        z-index: 95;
    }

    .top-news-slider ul {
        width: 100%;
        margin: 0 auto;
        /* display: flex;
        align-items: center;
        justify-content: center; */
    }

    .top-news-slider ul li {
        width: 100%;
        display: none;
    }

    .news-item {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: inherit;
        gap: 1em;
        padding: 0.3em 2em;
        white-space: nowrap
    }

    .top-news-slider .new {
        color: red;
        font-weight: 700;
    }

    .top-news-slider .new::after {
        content: "";
        width: 20px;
        border-right: 1px solid #000;
        margin-left: 5px;
    }

    .top-news-slider .date {
        font-size: 1.4rem;
        color: #888686;
    }

    .top-news-slider .category {
        font-size: 1.4rem;
        background-color: #016FD7;
        color: #fff;
        padding: 0px 16px;
    }

    .top-news-slider .title {
        font-size: 1.4rem;
    }
}

/* ----------------------------------------------

メッセージ

----------------------------------------------*/
.secTxt.message {
    margin-top: 0px;
}

/* 仕事内容 */

.top-work .inner {
    background-color: var(--primary-gray, #F2F2F2);
}

.item.work {
    transform: 1s cubic-bezier(0, 0.55, 0.45, 1);
}

.item.work:active {
    transform: translateY(-10px);
}

.secTxt.work {
    text-align: left;
}

@media screen and (min-width:1024px) {

    .item.work:hover {
        transform: translateY(-10px);
    }

    .secTxt.work {
        text-align: center;
    }
}

/* 求人 */

.secTxt.recruit {
    text-align: left;
}

.top-recruit {
    background: url(../images/firstviewPC02.jpeg), rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
    background-size: cover;
}

.top-recruit .mainTitle {
    text-align: left;
    margin-top: 8px;
}

.button.recruit {
    margin-top: 0px;
}

/* 求人 pc */

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

    .secTxt.recruit {
        margin: 40px auto 0;
    }

    .button.recruit {
        margin: 0px;
    }

    .button__item.recruit {
        width: 48%;
    }

}

.sec-flex.message {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2em;
    flex-direction: column-reverse
}

.CotImg.message {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(8, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.CotImg.message .Img01 {
    grid-area: 1 / 1 / 7 / 8;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.CotImg.message .Img02 {
    grid-area: 5 / 7 / 10 / 12;
    object-fit: cover;
    overflow: hidden;
}

.CotImg.message .Img01 img,
.CotImg.message .Img02 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width:1024px) {

    .sec-flex.message {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: center;
        gap: 2em;
        flex-direction: row;
    }

    .CotTxt.message {
        width: 70%;
        /* padding: 0 4em 0 6em; */
        padding: 0;
    }

    .CotImg.message {
        width: 50%;
    }

    .CotImg.message {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(8, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .CotImg.message .Img01 {
        grid-area: 1 / 1 / 7 / 5;
        width: 320px;
        height: 400px;
        object-fit: cover;
        overflow: hidden;
    }

    .CotImg.message .Img02 {
        grid-area: 5 / 4 / 10 / 12;
        object-fit: cover;
        overflow: hidden;
    }
}

@media screen and (min-width:1224px) {
    .sec-flex.message {
        gap: 0;
    }

    .CotTxt.message {
        width: 50%;
        padding: 0 4em 0 6em;
    }
}

/* ----------------------------------------------

選ばれる理由

----------------------------------------------*/

.top-strength {
    width: 100%;
    /* height: 800px; */
    color: rgb(255, 255, 255);
    /* padding: 208px 0px 160px; */
    background: url(../images/mline04.jpeg) 0% 0% / cover no-repeat;
    position: relative;

}

.top-strength::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(250, 250, 250, 0.5);
    background: linear-gradient(rgb(0, 0, 0, 0.8), rgb(1, 111, 215, 0.8));
    z-index: 1;
}

.top-strength .inner {
    position: relative;
    z-index: 2;
}

.top-strength .inner .CotImg {
    margin-bottom: 3em;
}

.top-strength .secTit {}

.item.strength {
    background-color: var(--primary-gray, #F2F2F2);
}

.mainTitle.strength {
    text-align: left;
}

.top-strength .mainTitle,
.top-strength .secTit {
    text-align: center;
}

/* 強み pc */

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

    .mainTitle.strength {
        text-align: center;
    }

    .itemList.strength {
        align-items: center;
        flex-direction: column;
        gap: 7.6vh;
    }

    .item.strength {
        display: flex;
        align-items: stretch;
        width: 100%;
        max-width: 880px;
    }

    .itemImg.strength {
        width: 50%;
        height: auto;
    }

    .itemWrapper.strength {
        width: 50%;
        height: 100%;
    }

    .top-strength .sec-flex {
        align-items: center;
        justify-content: space-between;
        gap: 2em;
    }

    .top-strength .sec-flex .titleWrapper {
        justify-content: center;
    }

    .top-strength .CotImg {
        height: 800px;
    }

    .top-strength .CotImg img {
        width: 450px;
        height: 800px;
        object-position: 30% 50%;
        object-fit: cover;
    }

    .top-strength .CotTxt {
        width: 50%;
        padding: 0;
    }
}

@media screen and (min-width:1224px) {
    .top-strength .sec-flex {
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .top-strength .CotTxt {
        width: 50%;
        padding: 0;
    }
}

.top-work .itemLink {
    border: none;
    position: relative;
    height: 350px;
}

.top-work .itemLink::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(250, 250, 250, 0.5);
    background: linear-gradient(rgb(0, 0, 0, 0.5), rgb(1, 111, 215, 0.8));
    z-index: 1;
}

.item {
    border: none;
}

.item .work {
    position: relative;
    color: #fff;
    font-size: 2.4rem;
}

.itemTitle {
    color: #fff;
    font-size: 2.4rem;
}

.top-work .itemTitleWrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    z-index: 1;
    justify-content: center;
}

@media screen and (min-width:1024px) {
    .top-work .itemList {
        width: 100%;
        margin: 0 auto;
        margin-top: 72px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 16px;
        flex-wrap: wrap;
    }

    .top-work .itemList .item {
        width: auto;
    }

    .titleWrapper-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 0 auto;
        text-align: left;
    }

    .top-work .itemImg {
        height: 280px;
    }

    .top-work .itemTitleWrapper {
        padding: 0;
    }

}

@media screen and (min-width:1224px) {
    .top-work .inner {
        padding: 8em;
    }
}

.top-newsfeed .inner {
    /* padding: 1em 1em 3em; */
    background: var(--primary-gray, #F2F2F2);
}

.con-newsfeed {
    margin-top: 40px;
}

.con-newsfeed ul {
    padding: 1em 1em 4em;
    background-color: #ffffff;
    border-radius: 16px;
}

.con-newsfeed li {
    padding: 32px 0 8px;
    border-bottom: solid 1px #888686;
    overflow: hidden
}


.con-newsfeed .news-item {
    padding: 1em;
    gap: 0.5em;
}

.con-newsfeed .category {
    background-color: #016FD7;
    color: #F2F2F2;
    padding: 0px 16px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

@media screen and (min-width:768px) {
    .con-newsfeed .news-item {
        gap: 1em;
    }
}

@media screen and (min-width:1024px) {
    .top-newsfeed .inner {
        background: var(--primary-gray, #F2F2F2);
    }

    .con-newsfeed {
        margin-top: 40px;
    }

    .con-newsfeed ul {
        padding: 3em 3em 4em;
        background-color: #ffffff;
        border-radius: 16px;
    }

    .con-newsfeed li {
        padding: 32px 0 16px;
        border-bottom: solid 1px #888686;
    }

    .con-newsfeed li:last-child {
        padding-bottom: 32px;
    }

    .con-newsfeed .news-item {
        gap: 2em;
    }

    .con-newsfeed .category {
        background-color: #016FD7;
        color: #F2F2F2;
        padding: 4px 16px;
        text-align: left;
    }
}

@media screen and (min-width:1224px) {
    .top-newsfeed .inner {
        padding: 8em;
        background: var(--primary-gray, #F2F2F2);
    }

    .top-recruit .inner,
    .top-strength .inner {
        padding: 8em;
    }

    .top-recruit .inner .CotTxt {
        padding: 0;
    }

    .top-recruit .titleWrapper {
        justify-content: center;
    }

    .top-recruit .secTit {
        text-align: center;
    }
}