@charset "utf-8";

:root{
    --body-color: #7CF513;
    --base-font: "Noto Sans JP", sans-serif;
    --font-futura: "futura-pt", "Noto Sans JP", sans-serif;

    --wrap: 1600px;
}
body{
    position: relative;
}
body::before{
    content: "";
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    z-index: 10;
    pointer-events: none;
    border: 2px solid #000;
    border-radius: 10px;
    width: calc(100% - 2.5rem);
    height: calc(100% - 2.5rem);
    position: fixed;
}
.wrap{
    width: 100%;
    margin: 0 auto;
    max-width: var(--wrap);
}
@media screen and (max-width: 1640px) {
    :root{
        --wrap: 1200px;
    }
}
.mv{
    height: 200vh;
    position: relative;
}
.mv-bg{
    height: 100vh;
}
.mv-bg video,
.mv-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mv-filter{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #000;
    opacity: 0;
    z-index: 1;
}
.mv-text{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100vh;
    filter: blur(20px);
}
.mv-text img{
    width: 30.2vw;
}
.top-concept-message{
    position: relative;
    z-index: 0;
    background: #000;
}
.top-concept-message__bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: url(../images/top/concept-bg.webp) no-repeat calc(50% - 2vw) 210px / 2687px ;
    pointer-events: none;
}
.top-concept__bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}
.top-concept__bg-color{
    background-color: var(--body-color);
}
.top-concept__bg-dot img{
    width: 100%;
}
.top-concept{
    padding: 180px 0 115px;
    position: relative;
    z-index: 3;
}
.top-concept .wrap{
    position: relative;
    height: 100%;
}
.top-concept__box.top{
    text-align: right;
    margin-bottom: 440px;
}
.top-concept__box.bottom{
    color: #fff;
}
.top-concept__box-text{
    line-height: 2;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-family: var(--font-futura);
    display: inline-block;
    text-align: left;
    font-size: 12px;
}
.top-concept__lead{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
}
.top-message{
    position: relative;
    padding: 1120px 0 16vw;
    background: url(../images/top/message-light.webp) no-repeat calc(50% + 10vw) 15vw / 2000px, url(../images/top/bg.svg) repeat;
    overflow: hidden;
}
.top-message__flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}
.top-message__flex-cont__lead{
    margin-bottom: 50px;
}
.top-message__flex-cont__lead span{
    display: inline-block;
    font-size: 70px;
    font-weight: 900;
    letter-spacing: 0.1em;
    background-color: var(--body-color);
    line-height: 1;
    padding: 0 10px 5px;
    margin-bottom: 10px;
}
.top-message__flex-cont__lead span:last-child{
    margin-bottom: 0;
}
.top-message__flex-cont__text{
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: var(--body-color);
}
.top-message__flex-en{
    color: var(--body-color);
    font-size: 18px;
    font-family: var(--font-futura);
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 2.2;
}
.top-message .wrap{
    position: relative;
}
.top-message__img{
    position: absolute;
    top: -70px;
    right: -250px;
    overflow: hidden;
    pointer-events: none;
    width: 1200px;
    z-index: 1;
}
.top-message__dot{
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}
.top-message__dot img{
    width: 100%;
}
.top-works{
    overflow: hidden;
    background: var(--body-color);
    height: 100svh;
}
.top-works__scrollable-wrap{
    padding-left: calc((100vw - 1260px)/2);
}
.top-works__scrollable{
    display: flex;
    white-space: nowrap;
    /* width: calc((960px + (7.8vw * 2)) * 2); */
    /* width: calc(1260px * 3); */
    width: calc(1260px * 2);
}
/* .top-works__section{
    padding: 0 7.8vw;
} */
.top-works__section-intro{
    position: relative;
    z-index: 0;
}
.top-works__section-intro__img{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    z-index: -1;
    width: max-content;
    opacity: 0;
}
.top-works__section-intro__img img{
    width: 1120px;
}
.top-works__section-intro__text{
    width: 1260px;
}
.top-works__section-intro__text img{
    width: 840px;
    display: block;
    margin: 0 auto;
}
.top-works__section-cont__flex{
    width: 1260px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 100px;
}
@media only screen and (min-width:1201px){
    .top-works__section-cont__flex{
        width:1760px;
        padding-right:500px;
    }
}
.top-works__section-cont__flex-img{
    width: 100%;
    max-width: 560px;
}
.top-works__section-cont__flex-box{
    width: 100%;
    max-width: 300px;
    white-space: normal;
}
.top-works__section-cont__flex-box__ttl{
    font-size: 44px;
    font-weight: bold;
    margin-bottom: 25px;
}
.top-works__section-cont__flex-box__text{
    font-weight: bold;
    letter-spacing: 0.1em;
}
.top-works__section-cont__flex-box__btn{
    margin-top: 40px;
}
.top-works__bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
}
.top-works__bg-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.top-works__bg-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
    opacity: 0;
}
.top-works__bg-img.is-active .top-works__bg-img__filter,
.top-works__bg-img.is-active img{
    opacity: 1;
}
.top-works__nav{
    width: 160px;
    height: 60px;
    background-color: rgb(255 255 255 / .3);
    border-radius: 30px;
    margin: 5svh auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-works__nav-bar{
    width: 100px;
    height: 2px;
    background-color: #000;
    position: relative;
}
.top-works__nav .dot{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    top: 50%;
    background-color: #000;
    position: absolute;
    transition: .3s;
}
.top-works__nav .dot:nth-of-type(1){
    left: 0;
}
.top-works__nav .dot:nth-of-type(2){
    left: 50%;
}
.top-works__nav .dot:nth-of-type(3){
    left: 100%;
}
.top-works__nav .dot.active{
    width: 10px;
    height: 10px;
}
.top-works__nav .point{
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 0;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    opacity: 0.5;
    background-color: #000;
    transition: .3s;
}
.top-works__bg-img__filter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}
.n1 .top-works__bg-img__filter,
.n3 .top-works__bg-img__filter{
    background: url(../images/top/works-bg-left.svg) no-repeat center left / auto 100%;
}
.n2 .top-works__bg-img__filter{
    background: url(../images/top/works-bg-right.svg) no-repeat center right / auto 100%;
}
.top-benefit{
    padding: 240px 0 150px;
    background: var(--body-color) url(../images/top/benefit-bg.webp) no-repeat center right / auto 100%;
}
.top-benefit__flex-cont__ttl{
    text-align: center;
}
.top-benefit__flex{
    display: flex;
    flex-wrap: wrap;
}
.top-benefit__flex-cont{
    width: 100%;
    max-width: 300px;
}
.top-benefit__flex-cont__lead{
    margin-bottom: 30px;
}
.top-benefit__flex-cont__lead span{
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    background-color: #000;
    line-height: 1;
    padding: 4px 5px 6px;
    display: inline-block;
    margin-bottom: 5px;
}
.top-benefit__flex-cont__lead span:last-child{
    margin-bottom: 0;
}
.top-benefit__flex-cont__text{
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
}
.top-benefit__flex-cont__en{
    font-size: 10px;
    font-family: var(--font-futura);
    letter-spacing: 0.1em;
    font-weight: 500;
    color: #fff;
    max-width: 260px;
    width: 100%;
}
.top-benefit__flex-link{
    width: 100%;
    max-width: calc(100% - 300px);
    padding-left: 60px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.top-company{
    padding: 150px 0;
    background: #000 url(../images/top/bg.svg) repeat;
}
.top-company__ttl{
    color: #fff;
}
.top-company__ttl span{
    border-color: #fff;
}
.top-message__flex-cont__btn{
    margin-top: 50px;
}
.top-company__slider-btn a{
    margin: 0 auto;
}
.top-company__slider-btn{
    margin-top: 60px;
}


@media screen and (max-height: 800px) and (min-width: 1200px) {
    .top-works__section-intro__text img{
        width: 640px;
    }
    .top-works__section-cont__flex-box__ttl{
        font-size: 34px;
    }
}


@media screen and (max-width: 1640px) {
    .top-message__flex-cont__lead span{
        font-size: 50px;
    }
    .top-message__flex-cont__text{
        font-size: 30px;
    }
    .top-message__flex-en{
        font-size: 14px;
    }
    .top-message__img{
        width: 980px;
    }
}

@media screen and (max-width: 1199px) {
    :root{
        --wrap: 100%;
    }
    body.home .wrap,
    #footer .wrap,
    .wrap{
        padding: 0 20px;
    }
}
@media screen and (max-width: 991px) {
    .top-concept-message__bg{
        background-size: 200%;
        background-position-y: 310px;
    }
    .top-message{
        padding: 50vw 0 200px;
    }
    .top-message__flex-cont__lead span{
        font-size: 20px;
    }
    .mv,
    .mv-bg{
        height: auto;
    }
    .mv-bg video, .mv-bg img{
        height: 65svh;
        vertical-align: bottom;
    }
    .top-message__flex-cont__text{
        font-size: 20px;
        position: relative;
        z-index: 1;
    }
    .top-message__img{
        top: 0;
        width: 780px;
        opacity: 0.5;
    }
    .top-message{
        background: url(../images/top/message-light.webp) no-repeat calc(50% + 10vw) 15vw / 100%, url(../images/top/bg.svg) repeat;
    }
    .top-message__flex{
        display: block;
        position: relative;
    }
    .top-message__flex-en{
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 1;
        font-size: 12px;
    }
    .top-works__section-intro__text,
    .top-works__section-cont__flex{
        width: 100%;
    }
    .top-works__section-intro__text img{
        width: 640px;
    }
    .top-works__section-intro__img{
        opacity: 1;
        width: 100%;
    }
    .top-works__scrollable{
        display: block;
        white-space: normal;
        width: initial;
        padding: 0 36px;
    }
    .top-works__section:not(:last-child){
        margin-bottom: 100px;
    }
    .top-works__section-cont__flex-img{
        max-width: 100%;
        margin-bottom: 40px;
    }
    .top-works__section-cont__flex-box{
        max-width: 100%;
    }
    .top-works__scrollable-wrap{
        padding: 0;
    }
    .top-works{
        height: auto;
        padding-bottom: 100px;
    }
    .top-works__section-cont__flex{
        display: block;
    }
    .top-works__section-cont__flex-box__ttl{
        font-size: 34px;
    }
    .top-works__section-cont__flex-box__text{
        font-size: 14px;
    }
    .top-interview{
        padding: 100px 0;
    }
    .top-benefit{
        background-position-x: 40vw;
        padding: 100px 0;
    }
    .top-benefit__flex-link{
        grid-template-columns: repeat(2,1fr);
    }
    .top-benefit__flex-link{
        padding-left: 20px;
    }
}


@media screen and (max-width: 767px) {
    body::before{
		width: calc(100% - 20px);
		height: calc(100% - 20px);
	}
	.top-interview{
		padding: 60px 0;
	}
    .top-message__img{
        width: 100%;
        right: 0;
        top: 300px;
        overflow: hidden;
    }
    .top-message__img img{
        position: relative;
        right: -80px;
    }
    .top-message__flex-cont__btn{
        position: relative;
        z-index: 1;
    }
    .top-message__flex-en{
        position: relative;
        z-index: 1;
    }
    .top-benefit__flex-cont__lead span{
        font-size: 22px;
    }
    .top-benefit__flex-cont__lead{
        margin-bottom: 20px;
    }
    .top-benefit__flex-cont__text{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .top-benefit{
        padding: 60px 0;
    }
    .top-company{
        padding: 60px 0;
    }
    .top-message__flex-cont__lead{
        position: relative;
        z-index: 1;
        margin-bottom: 20px;
    }
    .top-message__flex-cont__lead span{
        font-size: 24px;
    }
    .top-message__flex-cont__text{
        font-size: 15px;
        line-height: 2;
    }
    .top-message__flex-en{
        position: initial;
        margin-top: 50px;
    }
    .top-message {
        padding: 130px 0 60px;
    }
    .top-interview__intro-text,
    .top-concept__box-text{
        transform: initial !important;
    }
    .top-concept{
        padding: 60px 0 30px;
    }
    .top-concept__lead{
        position: initial;
        transform: initial;
        margin: 25vw 0 20px;
    }
    .top-concept__box.top{
        text-align: left;
        margin: 0;
    }
    .top-concept__box.top{
        color: #fff;
    }
    .top-concept__box.bottom{
        color: #000;
    }
    .top-concept-message__bg {
        background-size: 100%;
        background-position-y: 40px;
    }
    .top-works__section-cont__flex-box__ttl{
        font-size: 24px;
        margin-bottom: 10px;
    }
    .top-works__section-cont__flex-img{
        margin-bottom: 20px;
    }
    .top-works__section-cont__flex-box__btn{
        margin-top: 30px;
    }
    .top-benefit__flex{
        display: block;
    }
    .top-benefit__flex-cont{
        max-width: 100%;
        margin-bottom: 30px;
    }
    .top-benefit__flex-link{
        max-width: 100%;
        gap: 10px;
        padding-left: 0;
        grid-template-columns: repeat(1,1fr);
    }
    body.home .top-interview__intro-img{
        margin: 0 0 30px;
    }
    .top-concept__box.bottom .top-concept__box-text{
        font-size: 9px;
    }
    .top-interview__intro-text br, .top-concept__box-text br{
        display: none;
    }
    .top-interview__intro-text{
        display: none;
    }
    body.home .top-interview__slider-wrap{
        padding-top: 0;
    }
    body.home .top-interview__slider-wrap .top-works__ttl{
        display: none;
    }
}