@charset "utf-8";

.top-main::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 160vw;
    background: url(../img/top/bg_mv.png) no-repeat top / 100% auto;
}

.mv .container {
    position: relative;
    min-height: 53vw;
    padding-top: 110px;
}

.mv-en {
    font-size: 7.2rem;
    line-height: 1.2;
}

.mv :is(h2:where(:not(.hx)),:is(div,p,span,h1,h2,h3,h4,h5,h6):where(.h2-x)) {
    margin-left: auto;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.mv-scroll {
    position: absolute;
    right: 0;
    bottom: 0;
    padding-bottom: 150px;
}

.mv-scroll::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 150px;
    background-color: #666;
}

.mv-scroll::after {
    content: '';
    position: absolute;
    left: calc(50% - 6px);
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #666666 transparent transparent transparent;
}

.top-ttl .en {
    font-size: 9.8rem;
    line-height: 1;
}

@media screen and (max-width: 1600px) {
    .top-main::before {
        top: -90px;
        height: 2150px;
        background: url(../img/top/bg_mv.png) no-repeat top center / 1600px auto;
    }
    .mv .container {
        min-height: 0;
        height: 770px;
    }
    .mv-scroll {
        padding-bottom: 100px;
    }
    .mv-scroll::before {
        height: 100px;
    }
    .top-ttl .en {
        font-size: 7rem;
    }
}

@media screen and (max-width: 1024px) {
    .top-main::before {
        display: none;
    }
    .mv {
        z-index: 2;
    }
    .mv::before {
        content: '';
        position: absolute;
        left: -38vw;
        bottom: -20vw;
        width: 115vw;
        height: 200vw;
        background-image: url(../img/top/bg_mv-tb.png);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: 100% auto;
        z-index: -1;
    }
    .mv-scroll {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .mv .container {
        height: 600px;
    }
    .mv-en {
        font-size: 8.5vw;
    }
}

@media screen and (max-width: 599px) {
    .mv::before {
        left: -37vw;
        top: 0;
        bottom: auto;
        background-position: top;
    }
    .mv .container {
        height: 490px;
    }
    .top-ttl .en {
        font-size: 4.5rem;
    }
}

.top-about-main {
    width: 60%;
    margin-left: auto;
}

.top-about-main .top-ttl {
    padding-left: 8%;
}

@media screen and (max-width: 1024px) {
    .top-about {
        z-index: 3;
    }
    .top-about::before {
        content: '';
        position: absolute;
        left: -10vw;
        top: -32vw;
        width: 130vw;
        height: 200vw;
        background-image: url(../img/top/bg_about.png);
        background-repeat: no-repeat;
        background-position: top;
        background-size: 100% auto;
        z-index: -1;
    }
    .top-about-main {
        width: 100%;
    }
}

@media screen and (min-width: 600px) {
    .top-about .cmn-btn a {
        color: #fff;
        border-color: #fff;
    }
    
    .top-about .cmn-btn a::before,
    .top-about .cmn-btn a::after {
        background-color: #fff;
    }
}

@media screen and (max-width: 599px) {
    .top-about::before {
        display: none;
    }
    .top-about-main {
        color: #000 !important;
    }
    .top-about-main .top-ttl {
        padding-left: 0;
    }
}

.top-txt-box {
    width: 270px;
    margin-right: 30px;
}

.top-service,
.top-recruit {
    z-index: 3;
}

.top-service .effect-box {
    width: calc(50% - 7px);
}

.top-company .sub-ttl--lt::before {
    background-image: url(../img/common/background02.png);
}

@media screen and (max-width: 768px) {
    .top-company .sub-cont {
        margin-top: 0;
    }
    .top-txt-box {
        width: 100%;
        margin-top: 30px;
    }
    .top-service .flex-1,
    .top-company .flex-1 {
        flex: none;
        width: 100%;
    }
}

.top-recruit a {
    position: relative;
    display: block;
    padding: 30px;
    background-color: #FFC800;
}

.top-recruit a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../img/top/bg_recruit.png) no-repeat center / cover;
}

.top-recruit a::after {
    content: '';
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
    bottom: 0;
    background: url(../img/top/bg_recruit-shape.png) no-repeat right / auto 100%;
}

.top-recruit__cont {
    position: relative;
    z-index: 4;
}

.top-recruit__cont .en {
    font-size: 6.7rem;
    color: #1B1464;
    line-height: 1;
}

@media screen and (max-width: 599px) {
    .top-recruit a::before,
    .top-recruit a::after {
        display: none;
    }
    .top-recruit__cont .en {
        font-size: 3.7rem;
    }
}

.top-news .sub-ttl--rt::before {
    background-image: url(../img/common/background01.png);
}

.top-news .sub-ttl--rt .en {
    font-size: 6.7rem;
}

.top-news-list li {
    max-width: 670px;
}

.top-news-list li:nth-child(2) {
    margin-left: auto;
}

.top-news-list__thumb {
    width: 40%;
    margin-right: 20px;
}

@media screen and (max-width: 599px) {
    .top-news .sub-ttl--rt .en {
        font-size: 4rem;
    }
}

@media screen and (max-width: 480px) {
    .top-news-list__thumb {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .top-news-list li a>.flex-1 {
        flex: none;
        width: 100%;
    }
}