@charset "UTF-8";

/* ----------------------------------------------------------
fv
---------------------------------------------------------- */
.fv_inner {
    position: relative;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/fv_img.png) no-repeat center center;
    background-size: cover;
    z-index: 2;
    -webkit-mask-image: url(../img/fv_img.png);
    mask-image: url(../img/fv_img.png);
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.fv .main_copy {
    position: absolute;
    left: 7%;
    bottom: 6%;
    z-index: 3;
}

.fv .main_copy p {
    font-size: 14.5rem;
    font-family: "din-2014-narrow", sans-serif;
    font-weight: 600;
    line-height: 14.6rem;
    color: #fff;
}

.fv .sub_copy {
    position: absolute;
    top: 14%;
    right: 3%;
    z-index: 3;
}

.fv .sub_copy p {
    font-size: 5rem;
    font-weight: 600;
    line-height: 8.4rem;
    color: #fff;
    text-align: right;
}

/************ scrollを促す ************/
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down {
  position: static;
  width: 100%;
  height: 100vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
}

.scroll_down:hover {
    pointer-events: none;
}

.scroll_down a {
    display: inline-block;
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 2;
    width: 0px;
    padding: 23px 23px 272px;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 600;
    font-family: "din-2014-narrow", sans-serif;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    overflow: hidden;
}


.scroll_down a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 76%;
    width: 2px;
    height: 260px;
    background: #96bffe;
}

.scroll_down a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 76%;
    width: 2px;
    height: 260px;
    background: #fff;
}

.scroll_down a {
    pointer-events: none;
    cursor: none;
}

#type01 a:after {
    animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

@media screen and (max-width: 1500px) {
    .fv .main_copy p {
        font-size: 11.5rem;
        line-height: 12rem;
    }

    .fv .sub_copy {
        top: 16%;
    }

    .fv .sub_copy p {
        font-size: 3.8rem;
        line-height: 6.4rem;
    }

    .scroll_down a {
        font-size: 1.8rem;
        padding: 23px 23px 186px;
    }

    .scroll_down a:before,.scroll_down a:after {
        left: 68%;
        height: 174px;
    }
}

@media screen and (max-width: 1200px) {
    .fv .main_copy p {
        font-size: 8.5rem;
        line-height: 9.2rem;
    }

    .fv .sub_copy {
        top: 18%;
    }

    .fv .sub_copy p {
        font-size: 1.8em;
        line-height: 4.6rem;
    }
}

@media screen and (max-width: 1024px) {
    .image-overlay {
        background: url(../img/fv_img_sp.png) no-repeat center center;
        background-size: cover;
        z-index: 2;
        -webkit-mask-image: url(../img/fv_img_sp.png);
        mask-image: url(../img/fv_img_sp.png);
        -webkit-mask-size: cover;
        mask-size: cover;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        width: 100%;
    }

    .fv .main_copy p {
        font-size: 12.5rem;
        line-height: 13.2rem;
    }

    .fv .sub_copy {
        top: 12%;
    }

    .fv .sub_copy p {
        font-size: 3.2em;
        line-height: 8.6rem;
    }
}

@media screen and (max-width: 768px) {
    .fv .main_copy p {
        font-size: 10.5rem;
        line-height: 11.2rem;
    }

    .fv .sub_copy {
        top: 10%;
    }

    .fv .sub_copy p {
        font-size: 2.4em;
        line-height: 6.3rem;
    }
}

@media screen and (max-width: 500px) {
    .fv .main_copy p {
        font-size: 6.9rem;
        line-height: 7.2rem;
    }

    .fv .sub_copy {
        top: 14%;
    }

    .fv .sub_copy p {
        font-size: 1.8em;
        line-height: 4.8rem;
    }

    .scroll_down a {
        font-size: 1.3rem;
        padding: 23px 22px 74px;
        right: 2%;
    }

    .scroll_down a {
        pointer-events: none;
    }

    .scroll_down a:before, .scroll_down a:after {
        left: 64%;
        height: 67px;
        width: 1px;
    }
}

@media screen and (max-width: 450px) {
    .fv .main_copy {
        position: absolute;
        left: 6%;
        bottom: 6%;
        z-index: 3;
    }

    .fv .main_copy p {
        font-size: 5.7rem;
        line-height: 6.2rem;
    }

    .fv .sub_copy {
        top: 17%;
        right: 4%;
    }

    .fv .sub_copy p {
        font-size: 2rem;
        line-height: 3.3rem;
    }
}

/* ----------------------------------------------------------
news
---------------------------------------------------------- */
.news {
    margin-top: 100px;
}

.news .inner {
    display: flex;
    justify-content: space-between;
}

.news .til_wrapper {
    margin-bottom: 36px;
}

.news .news_column {
    width: 82%;
}

.news article a {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 30px 0;
    border-bottom: solid 1px var(--gray);
}

.news article:first-child a {
    padding-top: 0;
}

.news article a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* 下線の位置を調整 */
    width: 0;
    height: 1px; /* 下線の太さ */
    background-color: currentColor; /* テキストカラーと同じ色を使用 */
    transition: width 0.3s ease-in-out; /* 下線が伸びるアニメーション */
    cursor: pointer;
}

.news article a:hover::after {
    width: 100%; /* 下線がリンク全体に表示される */
}

.news article a time {
    font-size: 1.4rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.news article a span {
    font-size: 1.4rem;
    color: var(--sub);
    border: solid 1px var(--sub);
    border-radius: 50vw;
    padding: 0.2rem 0.8rem;
    line-height: normal;
}

.news article a time,.news article a span {
    margin-right: 30px;
}

.news article a h3 {
    font-size: 1.5rem;
    font-weight: 400;
    flex: 1;
    line-height: 2.7rem;
}

@media screen and (max-width: 768px) {
    .news {
        margin-top: 60px;
    }

    .news .inner {
        display: block;
        justify-content: space-between;
        position: relative;
    }

    .news .til_wrapper {
        margin-bottom: 30px;
    }

    .news .news_column {
        width: 100%;
    }

    .news article a {
        flex-wrap: wrap;
        padding: 20px 0;
    }

    .news article a time {
        margin-right: 20px;
    }

    .news article a h3 {
        flex: unset;
        margin-top: 10px;
    }

    .news a.btn.sp {
        display: inline-block;
        position: absolute;
        right: 0;
        text-align: right;
        margin-top: 35px;
    }
}

#info_entry_inquiry {
    width: 628px;
    border: 1px solid #ddd;
    padding: 25px 0;
    margin: 60px auto;
}

.news-detail #info_entry_inquiry dl dt {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}

/* ----------------------------------------------------------
service
---------------------------------------------------------- */

.service {
    margin-top: 100px;
}

.service .til_column {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}




.service .til_column a.btn_sq {
    background: white;
    background-size: 400% 100%;
    background-image: linear-gradient(125deg, #015296, #005eae, #5fa3ff, white 50%);
    background-position: 100% 0;
    transition: background-position 0.3s ease-in-out;
    cursor: pointer;
}

.service .til_column a.btn_sq:hover {
    border: solid 1px;
    border-image: linear-gradient(to bottom, #015296, #005eae, #5fa3ff) 1;
    background-position: 0% 0;
    color: #fff;
}

.service .service-con_wrapper {
    position: relative;
}


/************ panel ************/

.service ul.service-panel_wrapper {
    position: relative;
    margin-right: auto;
    width: 76vw;
}

.service ul.service-panel_wrapper li {
    color: #fff;
    background: linear-gradient(125deg, #015296, #005eae, #5fa3ff);
    color: #fff;
    width: 100%;
    padding: 50px 5%;
}

.area_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
}

.service ul.service-panel_wrapper li::before {
    content: "";
    position: absolute;
    background: url("../img/bg_mark.png") no-repeat;
    background-size: contain;
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
    width: 100%;
    height: 120%;
}

.service ul.service-panel_wrapper li .txt_area {
    width: 62%;
    margin-right: 5%;
}

.service ul.service-panel_wrapper li .txt_area img {
    width: 34vw;
    margin-bottom: 50px;
}

.service ul.service-panel_wrapper li:nth-child(2) .txt_area img,.service ul.service-panel_wrapper li:last-child .txt_area img {
    width: 32vw;
    margin-bottom: 10px;
}

.service ul.service-panel_wrapper li:nth-child(3) .txt_area img {
    width: 30vw;
}

.service ul.service-panel_wrapper li span {
    display: block;
    font-size: 2.4rem;
    font-family: "din-2014-narrow", sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 30px;
}

.service ul.service-panel_wrapper li p {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 4.4rem;
    margin-bottom: 60px;
}

.service ul.service-panel_wrapper li a.btn_sq {
    border: solid 1px;
    border-color: hsla(0, 0%, 100%, .3);
}

.service ul.service-panel_wrapper li a.btn_sq:hover {
    border-color: #fff;
    cursor: pointer;
}

.service ul.service-panel_wrapper .img_area {
    flex-shrink: 0;
    width: 38%;
}


/************ nav btn ************/

.service-nav_wrapper {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 76vw;
    margin-left: 4.1666666667vw;
}

.service-nav_wrapper li {
    margin-bottom: 25px;
}

.service-nav_wrapper li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 28px;
    height: 65px;
    border: solid 1px;
    border-image: linear-gradient(to bottom, #015296, #005eae, #5fa3ff) 1;
}

.service-nav_wrapper li a.selected {
    background: linear-gradient(125deg, #015296, #005eae, #5fa3ff);
}

.service-nav_wrapper li a img {
    max-width: 135px;
}

.service-nav_wrapper li:nth-child(2) a img {
    margin-top: 4px;
}

.service-nav_wrapper li:nth-child(3) a img {
    max-width: 110px;
}

.service-nav_wrapper li:last-child a img {
    margin-top: 4px;
    max-width: 100px;
}

.service-nav_wrapper li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 28px;
    height: 65px;
    border: solid 1px;
    border-image: linear-gradient(to bottom, #015296, #005eae, #5fa3ff) 1;
    background: white; /* 初期背景色は白 */
    background-size: 400% 100%;
    background-image: linear-gradient(125deg, #015296, #005eae, #5fa3ff, white 50%);
    background-position: 100% 0;
    transition: background-position 0.3s ease-in-out;
}

.service-nav_wrapper li a:hover {
    background-position: 0% 0;
}

.service-nav_wrapper li a.selected {
    background-position: 0% 0;
    background-image: linear-gradient(125deg, #015296, #005eae, #5fa3ff);
}

.service-nav_wrapper li a.selected img,
.service-nav_wrapper li a:hover img {
    content: url('../img/logo_mscareer_wh.png');
}

.service-nav_wrapper li:nth-child(2) a.selected img,
.service-nav_wrapper li:nth-child(2) a:hover img {
    content: url('../img/logo_msagent_wh.png');
}

.service-nav_wrapper li:nth-child(3) a.selected img,
.service-nav_wrapper li:nth-child(3) a:hover img {
    content: url('../img/logo_msjobs_wh.png');
}

.service-nav_wrapper li:last-child a.selected img,
.service-nav_wrapper li:last-child a:hover img {
    content: url('../img/logo_manegy_wh.png');
}


@media screen and (max-width: 1400px) {
    .service ul.service-panel_wrapper li .txt_area {
        width: 62%;
    }

    .service ul.service-panel_wrapper .img_area {
        width: 42%;
    }
}

@media screen and (max-width: 1200px) {
    .service ul.service-panel_wrapper li p {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 1024px) {
    .service .til_column a.btn_sq.pc {
        display: none;
    }

    .service .service-con_wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .service ul.service-panel_wrapper {
        margin-right: 0;
        width: 100%;
        background: linear-gradient(125deg, #015296, #005eae, #5fa3ff);
    }

    .service ul.service-panel_wrapper li {
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
        background: unset;
    }

    .service ul.service-panel_wrapper li span {
        margin-bottom: 18px;
    }

    .service ul.service-panel_wrapper li p {
        margin-bottom: 40px;
    }

    .service ul.service-panel_wrapper li .txt_area img {
        width: 47vw;
    }

    .service ul.service-panel_wrapper li:nth-child(2) .txt_area img {
        width: 45vw;
    }

    .service ul.service-panel_wrapper li:nth-child(3) .txt_area img {
        width: 40vw;
    }

    .service ul.service-panel_wrapper li:last-child .txt_area img {
        width: 40vw;
    }

    .service-nav_wrapper {
        display: flex;
        position: static;
        gap: 20px;
        width: 90%;
        margin: 0 auto;
    }

    .service-nav_wrapper li {
        width: 25%;
        margin-bottom: 40px;
    }

    .service-nav_wrapper li a {
        padding: 0 16px;
    }

    .service .btn_inner {
        position: relative;
        margin: 0 4vw;
    }

    .service a.btn {
        display: inline-block;
        position: absolute;
        right: 0;
        text-align: right;
        margin-top: 35px;
    }
}

@media screen and (max-width: 768px) {
    .service {
        margin-top: 110px;
    }
    .service .service-con_wrapper {
        overflow: hidden;
    }

    .area_wrapper {
        flex-direction: column-reverse;
    }

    .service-nav_wrapper {
        flex-wrap: wrap;
        gap: 2%;
        margin-bottom: 20px;
    }

    .service-nav_wrapper li {
        width: 49%;
        margin-bottom: 2%;
    }

    .service ul.service-panel_wrapper li {
        padding: 30px 0;
    }

    .service ul.service-panel_wrapper li::before {
        top: unset;
        left: unset;
        transform: unset;
        bottom: -40px;
        right: -14%;
        width: 70%;
        height: 70%;
    }

    .service ul.service-panel_wrapper .img_area {
        width: 100%;
    }

    .service ul.service-panel_wrapper .img_area img {
        display: block;
        width: 50%;
        min-width: 220px;
        margin: 0 auto 20px;
    }

    .service ul.service-panel_wrapper li .txt_area img {
        width: 47vw;
        min-width: 198px;
        margin-bottom: 20px;
    }

    .service ul.service-panel_wrapper li:nth-child(3) .txt_area img {
        min-width: 170px;
    }

    .service ul.service-panel_wrapper li:last-child .txt_area img {
        min-width: 170px;
    }

    .service ul.service-panel_wrapper li span {
        font-size: 1.8rem;
        line-height: normal;
        margin-bottom: 10px;
    }

    .service ul.service-panel_wrapper li p {
        font-size: 1.8rem;
        margin-bottom: 20px;
        line-height: 2.8rem;
    }

    .service ul.service-panel_wrapper li p br.dn_max1500 {
        display: none;
    }

    .service ul.service-panel_wrapper li .txt_area {
        width: 100%;
        margin: 0 auto;
    }

    .service ul.service-panel_wrapper li a.btn_sq {
        width: 100%;
    }

    .service .btn_inner {
        position: relative;
        width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 450px) {
    .service-nav_wrapper li a{
        height: 50px;
    }

    .service-nav_wrapper li a img {
        max-width: 115px;
    }

    .service-nav_wrapper li:nth-child(2) a img {
        max-width: 109px;
    }

    .service-nav_wrapper li:nth-child(3) a img {
        max-width: 92px;
    }

    .service-nav_wrapper li:last-child a img {
        max-width: 92px;
    }

    .service ul.service-panel_wrapper li span {
        font-size: 1.4rem;
        line-height: normal;
        margin-bottom: 8px;
    }

    .service ul.service-panel_wrapper li p {
        font-size: 1.4rem;
        line-height: normal;
    }
}

@media screen and (max-width: 400px) {
    .service ul.service-panel_wrapper li::before {
        bottom: -80px;
    }
}

/* ----------------------------------------------------------
scroll-infinity
---------------------------------------------------------- */

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes infinity-scroll-right {
    from {
      transform: translateX(-100%);
    }
      to {
      transform: translateX(0%);
    }
}

.scroll-infinity {
    margin-top: 110px;
}

.scroll-infinity_wrap {
    display: flex;
    overflow: hidden;
}

.scroll-infinity_list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity_list-left {
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity_list-right{
    animation :infinity-scroll-right 80s infinite linear 0.5s both;
}

.scroll-infinity_item {
    width: calc(100vw / 1.5);
    margin: 10px 20px;
}

.scroll-infinity_item>img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .scroll-infinity_item {
        width: calc(100vw / 0.9);
        margin: 5px 15px;
    }
}

@media screen and (max-width: 500px) {
    .scroll-infinity_item {
        width: calc(100vw / 0.5);
    }
}

/* ----------------------------------------------------------
ir-and-recuruit
---------------------------------------------------------- */
.ir-and-recuruit {
    margin-top: 100px;
}

.ir-and-recuruit .inner {
    display: flex;
}

.ir-and-recuruit .wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 540px
}

.ir-and-recuruit .wrapper:first-child:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url(../img/ir_img.jpg) no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.ir-and-recuruit .wrapper:last-child:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: url(../img/recuruit_img.jpg) no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.ir-and-recuruit .wrapper:hover:after {
    opacity: .8;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.ir-and-recuruit .wrapper a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    height: 100%;
    text-decoration: none;
    color: #fff
}

.ir-and-recuruit .wrapper .til_wrapper {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 10%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ir-and-recuruit .wrapper .til_wrapper h2 {
    background: unset;
    -webkit-text-fill-color: unset;
}

.ir-and-recuruit .wrapper .btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: "din-2014-narrow", sans-serif;
    font-weight: 500;
    padding: 0 0 3px 30px;
    border-bottom: solid 1px #fff;
}

.ir-and-recuruit .wrapper .btn::before {
    content: "";
    position: absolute;
    background: url(../img/btn_arrow_wh.png) no-repeat;
    background-size: contain;
    width: 16px;
    height: 12px;
    top: 20%;
    left: 0;
}

@media screen and (max-width: 768px) {
    .ir-and-recuruit {
        margin-top: 60px;
    }

    .ir-and-recuruit .inner {
        display: block;
    }

    .ir-and-recuruit .wrapper {
        height: 78vw;
    }

    .ir-and-recuruit .wrapper .btn {
        bottom: 20px;
        right: 20px;
    }
}