@charset "utf-8";

/*------トップページ------*/
#recruit .bg:not(.onWhite) {
    opacity: 1;
}

/*---メインビジュアル---*/
.cover {
    background: #da1521;
    height: calc(100vh - 118px);
    min-height: 500px;
}
.cover:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: 0;
    background: #ba0204;
    mask-image: url(../images/cover_bg.svg);
    -webkit-mask-image: url(../images/cover_bg.svg);
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    -webkit-mask-position: 230% bottom;
    mask-position: 230% bottom;
    -webkit-mask-size: auto 20%;
    mask-size: auto 20%;
}
@media screen and (min-width: 1920px) {
    .cover .coverInner {
        font-size: 193px;
    }
}
.cover .decoration {
    font-size: 100%;
}
.cover h1 {
    font-size: 160%;
}
.cover h2 {
    font-size: 29%;
    position: absolute;
    line-height: 1.5em;
    text-align: left;
    height: auto;
    top: 8.5em;
    left: -0.1em;
    right: auto;
    bottom: auto;
    margin: 0;
}
.cover .coverImg {
    position: absolute;
    right: 0;
    bottom: 0;
    transition: .3s;
}
.cover .coverImg > div {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: .3s;
}
.cover .coverImg > div:first-of-type {
    z-index: 1;
    background-image: url("../images/coverimg01_l.png?20250321");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
}
/*.cover .coverImg > div:last-of-type {
    background-image: repeating-linear-gradient(
-45deg
, transparent, transparent 6px, rgb(255 255 255) 6px, rgb(255 255 255) 8px);
    z-index: 0;
    -webkit-mask-image: url("../images/coverimg01_l.svg?202503211800");
    mask-image: url("../images/coverimg01_l.svg?202503211800");
    -webkit-mask-position: top left;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-position: top left;
    mask-repeat: no-repeat;
    mask-size: cover;
}*/
.cover .btnScroll {
    letter-spacing: 0.1em;
    font-size: 13px;
    line-height: 0.8;
    position: absolute;
    left: 10%;
    bottom: 30px;
    text-align: center;
    width: 60px;
    height: 70px;
    padding-top: 2px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}
.cover .btnScroll i {
    transform: scaleX(1.4);
    position: absolute;
    width: 100%;
    height: 100%;
    top: -5px;
    left: 0;
}
.cover .btnScroll i:before,
.cover .btnScroll i:after {
    content: "";
    display: block;
    position: absolute;
    width: 70px;
    height: 70px;
    margin: auto;
    top: -25px;
    left: -10%;
    transform: rotate(45deg);
}
.cover .btnScroll i:before {
    border-bottom: 6px solid #fff;
    border-right: 6px solid #fff;
    top: -32px;
}
.cover .btnScroll i:after {
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transition: .3s;
}
.cover .btnScroll:hover i:after {
    top: -22px;
}

@media (min-aspect-ratio: 16/9) {
    .cover .coverTxt {
        font-size: 90%;
    }
    .cover .coverImg {
        width: 73.02%;
        padding-top: 28.51%;
    }
}
@media (max-aspect-ratio: 16/9) {
    .cover .coverTxt {
        font-size: 103%;
    }
    .cover .coverImg {
        width: 73.02%;
        padding-top: 31.11%;
    }
}
@media (max-aspect-ratio: 3/2) {
    .cover .coverTxt {
        font-size: 110%;
    }
    .cover .coverImg {
        width: 63%;
        padding-top: 47%;
    }
    .cover .coverImg > div:first-of-type {
        background-image: url("../images/coverimg01_m.png?20250321");
    }
    /*.cover .coverImg > div:last-of-type {
        -webkit-mask-image: url("../images/coverimg01_m.svg?20250321");
        mask-image: url("../images/coverimg01_m.svg?20250321");
    }*/
}
@media (max-aspect-ratio: 4/3) {
    .cover .coverTxt {
        font-size: 125%;
    }
    .cover .coverImg {
        width: 68%;
        padding-top: 55%;
    }
}
@media (max-aspect-ratio: 1/1) {
    .cover .coverTxt {
        font-size: 155%;
    }
    .cover .coverImg {
        width: 75%;
        padding-top: 55%;
    }
}
@media (max-aspect-ratio: 3 / 4) {
    .cover {
        height: 100vh;
    }
    .cover h1 {
        top: 0.455em;
    }
    .cover h2 {
        font-size: 38%;
        top: 8.9em;
        text-align: right;
        left: auto;
        right: -0.1em;
    }
    .cover .coverImg {
        width: 100%;
        padding-top: 118%;
    }
    .cover .coverImg > div:first-of-type {
        background-image: url("../images/coverimg01_s.png?20250321");
    }
    /*.cover .coverImg > div:last-of-type {
        -webkit-mask-image: url("../images/coverimg01_s.svg?20250321");
        mask-image: url("../images/coverimg01_s.svg?20250321");
    }*/
    .cover .btnScroll {
        left: 0;
        right: 0;
        margin: auto;
        text-shadow: 0 0 5px rgb(0 0 0 / 50%);
    }
    .cover .btnScroll i:before, .btnScroll i:after {
        box-shadow: 0 0 5px rgb(0 0 0 / 50%);
    }
}

/*---ニュース---*/

#news {
    padding: 20px 0;
    height: 118px;
    position: relative;
    z-index: 3;
}
#news:after {
    content: none !important;
}
#news .inner {
    display: flex;
    padding: 0 10px !important;
}
#news .ttl {
    font-size: 21px;
    padding: 20px 20px;
    border-right: 1px solid #333;
    margin-right: 15px;
    display: flex;
    align-items: center;
}
#news ul {
    align-self: center;
    width: 100%;
}
#news li {
    margin-top: 5px;
    height: 1.5em;
    line-height: 1.5;
    overflow: hidden;
    width: 100%;
}
#news li:nth-of-type(n+4) {
    display: none;
}


#company {
    background: #009bdc;
    color: #fff;
    position: relative;
}
#company:before,#company:after {
    background: #009bdc !important;
}
#company .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px !important;
}
#company .ttlCont {
    position: static;
    width: 46%;
}
#company .ttl h2 {
    position: absolute;
    top: 0;
    left: calc((100% - 100vw) / 2);
    transform: none;
    text-align: left;
}
#company a.btn:before {
    background: #009bdc;
}
#company a.btn > span:after {
    border-color: #009bdc;
}
#company ul {
    width: 50%;
    counter-reset: num;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#company li {
    counter-increment: num;
    width: calc((100% - 30px) / 2);
    margin-top: 30px;
}
#company li:first-of-type {
    width: 100%;
    margin-top: 0;
}
#company li a.btn {
    font-size: 32px;
}
#company li a.btn > span {
    padding: 1.3em 0;
}
#company li a.btn span span {
    display: block;
    font-size: 30%;
    color: #009bdc;
    opacity: .5;
}
#company li a.btn > span:before {
    content: counter(num, decimal-leading-zero);
    color: #009bdc;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 250%;
    line-height: 0.7;
    z-index: -1;
}
#company li a.btn:hover span span,
#company li a.btn:hover > span:before {
    color:#fff;
    transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#company .decorationCont {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    height: calc(100% + 9.9vw);
    overflow: hidden;
    top: 0;
    z-index: 2;
}
#company .decoration {
    max-width: 1280px;
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}
#company .decoration div {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    border-radius: 50%;
    position: absolute;
}
#company .decoration div:nth-of-type(1) {
    background-image: url("../company/images/company_ph01.jpg");
    width: 8.5%;
    padding-top: 8.5%;
    top: 3%;
    left: -8%;
}
#company .decoration div:nth-of-type(2) {
    background-image: url("../company/images/company_ph02.jpg");
    width: 14.1%;
    padding-top: 14.1%;
    top: 32%;
    left: -18%;
}
#company .decoration div:nth-of-type(3) {
    background-image: url("../company/images/company_ph03.jpg");
    width: 14.1%;
    padding-top: 14.1%;
    top: 28%;
    right: -18%;
}
#company .decoration div:nth-of-type(4) {
    background-image: url("../company/images/company_ph04.jpg");
    width: 8.5%;
    padding-top: 8.5%;
    bottom: 23%;
    right: -8%;
}


#interviews {
    background: #f5c500;
    color: #fff;
}
#interviews:before,#interviews:after {
    background: #f5c500 !important;
}
#interviews ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#interviews li {
    background: #fff;
    margin: 30px 30px;
    position: relative;
}
@media screen and (min-width: 1025px) {
    #interviews li {
        width: calc(100% / 4 - 45px);
    }
    #interviews li:nth-of-type(7n+1) {
        margin-left: 0;
    }
    #interviews li:nth-of-type(7n+4) {
        margin-right: 0;
    }
}
@media screen and (max-width: 1024px) {
    #interviews li {
        width: calc(100% / 3 - 64px);
    }
    #interviews li:nth-of-type(3n) {
        margin-right: 0;
    }
    #interviews li:nth-of-type(3n-2) {
        margin-left: 0;
    }
}


#interviews li:after {
    content: "";
    position: absolute;
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    z-index: 0;
    transition: .8s;
}
#interviews li:hover:after {
    opacity: 0;
    filter: blur(5px);
}
#interviews li a {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 100%;
    z-index: 1;
}
#interviews li a:after {
    content: "";
    display: block;
    width: 18px;
    height: 6px;
    position: absolute;
    border-right: 1px solid #f5c500;
    border-bottom: 1px solid #f5c500;
    right: 15px;
    bottom: 10px;
    transform: skewX(45deg);
    transition: .3s;
}
#interviews li a img {
    transition: .8s;
    max-width: none;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#interviews li .nameCont {
    background: rgb(255 255 255 / 90%);
    color: #333;
    position: absolute;
    width: 100%;
    padding: 15px;
    bottom: 0;
    line-height: 1;
    transition: .3s;
    z-index: 0;
    border: 1px solid #fff;
}
#interviews li .nameCont:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    display: block;
    content: '';
    background: rgb(245 197 0 / 90%);
    transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}
#interviews .dept {
    font-size: 13px;
    margin-bottom: 8px;
}
#interviews .name {
    font-size: 26px;
}
#interviews li a:hover .nameCont:before {
    width: 100%;
}
#interviews li a:hover .nameCont {
    color: #fff;
    background: none;
}
#interviews li a:hover:after {
    right: 8px;
    border-color: #fff;
}
#interviews li a:hover img {
    transform: translate(-50%, -50%) scale(1.05);
}


#visualization {
    background: #51b63a;
    color: #fff;
}
#visualization:before,#visualization:after {
    background: #51b63a !important;
}
#visualization ul {
    display: flex;
    flex-wrap: wrap;
}
#visualization li {
    width: calc((87% - 50px) / 2);
    margin-top: 50px;
    margin-right: 50px;
    min-height: 160px;
}
#visualization li:nth-of-type(even) {
    margin-right: 0;
}
#visualization li:nth-of-type(4n+3) {
    margin-left: 13%;
}
#visualization li a.btn:before {
    background: #51b63a;
}
#visualization li a.btn > span:after {
    border-color: #51b63a;
}
#visualization li a.btn {
    font-size: 30px;
    height: 100%;
}
#visualization li a.btn > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.6em 0 0.6em 4em;
    height: 100%;
}
#visualization li a.btn span span {
    display: block;
    font-size: 30%;
    color: #51b63a;
    opacity: .5;
}
#visualization li a.btn:hover span span {
    color:#fff;
    transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#visualization li .icon {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #51b63a;
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-position: left;
    mask-position: left;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    opacity: 0.2;
    transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#visualization li a.btn:hover .icon {
    background: #fff;
}
#visualization li:nth-of-type(4n+3) a.btn > span,
#visualization li:nth-of-type(4n+4) a.btn > span {
    padding: 0.6em 4em 0.6em 0;
}
#visualization li:nth-of-type(4n+3) a.btn:after,
#visualization li:nth-of-type(4n+4) a.btn:after{
    right: 10px;
    left: auto;
}
#visualization li:nth-of-type(4n+3) .icon,
#visualization li:nth-of-type(4n+4) .icon{
    -webkit-mask-position: right;
    mask-position: right;
}



#group {
    background: #154994;
    color: #fff;
}
#group:before,#group:after {
    background: #154994 !important;
}
#group ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#group li {
    width: calc((100% - 50px) / 3);
    margin-top: 50px;
    margin-right: 25px;
}
#group li:nth-of-type(3n) {
    margin-right: 0;
}

#group li a.btn:before {
    background: #154994;
}
#group li a.btn > span:after {
    border-color: #154994;
}
#group li a.btn {
    font-size: 30px;
    height: 100%;
}
#group li a.btn > span {
    display: flex;
    justify-content: space-between;
    padding: 0;
    align-items: center;
    height: 100%;
}
#group li a.btn img {
    width: 100%;
    height: auto;
    transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#group li a.btn img:last-of-type {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
#group li a.btn:hover img {
    opacity: 0;
}
#group li a.btn:hover img:last-of-type {
    opacity: 1;
}