/* CSS Document */
@media (max-width: 768px) {

}
/*------------------------------
MARK:TOP
------------------------------*/
.top-mv{
    width: 100%;
    position: fixed;
    z-index: 0;
    height: 100lvh; 
    .video{
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 0;
        overflow: hidden;
        video{
            -o-object-fit: cover;
            object-fit: cover;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
            min-width: 100%;
            min-height: 100%;
            height: 100%;
            width: 100%;
        }
    }
}
.top-blank{
    height: calc(100svh - var(--gnav-margin) - 5.4rem);
    display: block;
    @media (max-width: 768px) {
        height: 100lvh;
    }
}
/*------------------------------*/
.top-business{
    color: #fff;
    background-color: var(--bg-black);
    padding-top: 4rem;
    position: relative;
    z-index: 1;
    .hd{
        margin-bottom: 5rem;
        @media (max-width: 768px) {
            margin-bottom: 4rem;
        }
        h2{
            margin-bottom: 0.8rem;
            font-size: 1.6rem;
            @media (max-width: 768px) {
                font-size: 1.2rem;
            }
        }
        p{
            font-size: 2rem;
            font-weight: 500;
            @media (max-width: 768px) {
                font-size: 1.6rem;
            }
        }
    }
    .business_content{
        padding-bottom: 6rem;
        .message{
            font-size: 3.6rem;
            margin-bottom: 3rem;
            @media (max-width: 768px) {
                font-size: 2.8rem;
            }
        }
    }
    .movie{
        width: 100%;
        aspect-ratio: 2/1;
        position: relative;
        z-index: 0;
        overflow: hidden;
        &::before,&::after{
            content: "";
            position: absolute;
            width: 100%;
            height: 20%;
            display: block;
            left: 0;
            right: 0;
            z-index: 2;
        }
        &::before{
            top: 0;
            background: linear-gradient(to bottom, var(--bg-black),transparent);
        }
        &::after{
            bottom: 0;
            background: linear-gradient(to top, var(--bg-black),transparent);
        }
        video{
            -o-object-fit: cover;
            object-fit: cover;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
            min-width: 100%;
            min-height: 100%;
            height: 100%;
            width: 100%;
            z-index: 1;
        }
    }
}
/*------------------------------*/
.top-mission{
    color: #fff;
    background-color: var(--bg-black);
    padding-top: 6rem;
    text-align: center;
    position: relative;
    z-index: 1;
    @media (max-width: 768px) {
        padding-top: 4rem;
    }
    .section-hd{
        margin-bottom: 5rem;
    }
    .mission_content{
        padding-bottom: 6rem;
        .alignCenter{
            @media (max-width: 768px) {
                text-align: justify;
            }
        }
    }
    .image{
        width: 100%;
        aspect-ratio: 2/1;
        position: relative;
        z-index: 0;
        overflow: hidden;
        &::before,&::after{
            content: "";
            position: absolute;
            width: 100%;
            height: 20%;
            display: block;
            left: 0;
            right: 0;
            z-index: 2;
        }
        &::before{
            top: 0;
            background: linear-gradient(to bottom, var(--bg-black),transparent);
        }
        &::after{
            bottom: 0;
            background: linear-gradient(to top, #fff,transparent);
        }
        img{
            -o-object-fit: cover;
            object-fit: cover;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
            min-width: 100%;
            min-height: 100%;
            height: 100%;
            width: 100%;
            z-index: 1;
        }
    }
}
/*------------------------------*/
.top-service{
    overflow: hidden;
    position: relative;
    z-index: 1;
    background-color: #fff;
    /* @media (max-width: 768px) {
        padding-top: 5rem;
        padding-bottom: 6rem;
    } */
    .section-hd{
        margin-top: 7rem;
        margin-bottom: 8rem;
        @media (max-width: 768px) {
            margin-top: 4rem;
            margin-bottom: 4rem;
        }
    }

    .desc{
        .title{
            font-size: 2.2rem;
            line-height: 1.5;
        }
        .readText{
            margin-top: 3rem;
            line-height: 1.6;
        }
    }

    .service_content{
        margin-top: 10rem;
        padding-bottom: 8rem;
        @media (max-width: 768px) {
            margin-top: 6rem;
            padding-bottom: 6rem;
        }
        .wrap{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            @media (max-width: 768px) {
                gap: 1rem;
            }
        }
        a{
            position: relative;
            display: block;
            overflow: hidden;
            background-color: var(--bg-black);
            @media (any-hover:hover) {
                &:hover{
                    img{
                        transform: scale(1.03);
                        filter: brightness(2);
                    }
                    .text-wrap .view-more::after{
                        transform: scale(1,1);
                    }
                }
            }
            img{
                transition: 0.8s ease;
                transition-property: filter, transform;
            }
            .text-wrap{
                position: absolute;
                color: #fff;
                inset: 0;
                display: flex;
                align-items: flex-end;
                justify-content: space-between;
                padding-bottom: 4rem;
                padding-inline: 3rem;
                @media (max-width: 768px) {
                    flex-direction: column;
                    align-items: flex-start;
                    padding-inline: 1rem;
                    padding-block: 1rem;
                }
                .hd{
                    p{
                        font-size: 3.2rem;
                        white-space: nowrap;
                        @media (max-width: 768px) {
                            font-size: 1.8rem;
                        }
                    }
                    h3{
                        font-size: 1.8rem;
                        margin-top: 1.2rem;
                        @media (max-width: 768px) {
                            font-size: 1.2rem;
                            margin-top: 0.6rem;
                        }
                    }
                }
                .view-more{
                    font-size: 1.8rem;
                    position: relative;
                    @media (max-width: 768px) {
                        font-size: 1.2rem;
                        align-self: flex-end;
                    }
                    &::after{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        bottom: -0.5em;
                        width: 100%;
                        height: 0.1rem;
                        background-color: #fff;
                        transform-origin: left;
                        transform: scale(0,1);
                        transition: transform 0.4s ease;
                    }
                }
            }
        }
    }

    .service_slide{
        width: 100%;
        aspect-ratio: 5/2;
        position: relative;
        z-index: 0;
        overflow: hidden;
        margin-bottom: 8rem;
        @media (max-width: 768px) {
            margin-bottom: 6rem;
        }
        &::before,&::after{
            content: "";
            position: absolute;
            width: 100%;
            height: 20%;
            display: block;
            left: 0;
            right: 0;
            z-index: 2;
        }
        &::before{
            top: 0;
            background: linear-gradient(to bottom, #fff,transparent);
        }
        &::after{
            bottom: 0;
            background: linear-gradient(to top, #fff,transparent);
        }
        li{
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            z-index: 1;
            animation: fadezoom 25s linear infinite;
            &:nth-child(1){ animation-delay: 0s;}
            &:nth-child(2){ animation-delay: -5s;}
            &:nth-child(3){ animation-delay: -10s;}
            &:nth-child(4){ animation-delay: -15s;}
            &:nth-child(5){ animation-delay: -20s;}
            img{
                -o-object-fit: cover;
                object-fit: cover;
                position: absolute;
                min-width: 100%;
                min-height: 100%;
                height: 100%;
                width: 100%;
            }
        }
    }
}
@keyframes fadezoom {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    4%,20%{
        opacity: 1;
    }
    24%{
        opacity: 0; 
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
    }
}
/*------------------------------*/
.top-company{
    position: relative;
    @media (max-width: 768px) {
        background-color: #fff;
    }
    .inner{
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 2;
        inset: 0;
        height: 100%;
        @media (max-width: 768px) {
            position: relative;
            background-color: #fff;
        }
    }
    .company_wrap01{
        display: flex;
        justify-content: space-between;
        padding-top: 4rem;
        @media (max-width: 768px) {
            padding-top: 3rem;
            justify-content: flex-start;
            flex-direction: column-reverse;
        }
    }
    .company_wrap02{
        padding-bottom: 4rem;
        text-align: center;
    }
    .hd{
        text-align: right;
        @media (max-width: 768px) {
            margin-bottom: 2rem;
        }
        h2{
            margin-bottom: 0.8rem;
            font-size: 1.6rem;
            @media (max-width: 768px) {
                font-size: 1.2rem;
            }
        }
        p{
            font-size: 2rem;
            font-weight: 500;
            @media (max-width: 768px) {
                font-size: 1.6rem;
            }
        }
    }
    .company_title{
        font-size: 2.8rem;
        line-height: 1.8;
        font-weight: 500;
        @media (max-width: 768px) {
            font-size: 2rem;
            margin-bottom: 3rem;
        }
        .spmask{
            display: inline-block;
            @media (max-width: 768px) {
                display: none;
            }
        }
    }
    .company_button{
        margin-top: 4rem;
        a{
            display: inline-block;
            text-decoration: none;
            padding-block: 1rem 1.2rem;
            padding-inline: 2rem;
            font-weight: 500;
            font-size: 2rem;
            border-bottom: 0.1rem #000 solid;
            transition: all 0.2s;
            @media (hover: hover) and (pointer: fine) {
                &:hover{
                    opacity: 0.5;
                }
            }
        }
    }
    .movie{
        width: 100%;
        position: relative;
        z-index: 1;
        video{
            object-fit: cover;
            object-position: center;
            width: 100%;
        }
    }
}

/*------------------------------
MARK:COMPANY
------------------------------*/
.company-philosophy{
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding-top: 7rem;
    padding-bottom: 12rem;
    @media (max-width: 768px) {
        padding-top: 4rem;
        padding-bottom: 8rem;
    }
    .bg-logo{
        position: absolute;
        z-index: 0;
        inset: 0;
        @media (max-width: 768px) {
            top: 8rem;
            bottom: 4rem;
        }
    }
    .bg-logo-sticky{
        position: absolute;
        width: 43rem;
        bottom: 6rem;
        right: 2rem;
        @media (max-width: 768px) {
            position: sticky;
            width: 24rem;
            top: calc(100dvh - (605 / 644 * 24rem) - 2rem);
            bottom: 10rem;
            margin-inline: auto 2rem;
        }
    }
    .wrap{
        display: flex;
        margin-top: 10rem;
        column-gap: 6rem;
        justify-content: space-between;
        @media (max-width: 768px) {
            margin-top: 4rem;
            flex-direction: column;
        }
    }
    .message{
        h3{
            font-family: "Zen Old Mincho", serif;
            font-size: 2.4rem;
            line-height: 1.8;
            @media (max-width: 768px) {
                line-height: 1.6;
                font-size: 2rem;
            }
        }
        p{
            font-size: 1.6rem;
            line-height: 1.8;
            margin-top: 3rem;
            @media (max-width: 768px) {
                font-size: 1.4rem;
                margin-top: 2rem;
            }
        }
    }
    .readText{
        line-height: 1.5;
        font-size: 1.4rem;
        width: 50%;
        flex-shrink: 0;
        @media (max-width: 768px) {
            width: 100%;
        }

    }
}

/* .company-mission{
    padding-top: 10rem;
    padding-bottom: 10rem;
    position: relative;
    z-index: 1;
    background: url(/public/images/company/bg.jpg) no-repeat center/cover;
    color: #fff;
    @media (max-width: 768px) {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .wrap{
        width: fit-content;
        margin-inline: auto;
    }
    .readText{
        border-top: 0.1rem #fff solid;
        padding-inline: 2rem;
        padding-top: 3rem;
        margin-inline: auto;
        @media (max-width: 768px) {
            padding-inline: 0;
        }
    }
    .page-link{
        border-color: #fff;
        margin-top: 6rem;
        @media (max-width: 768px) {
            margin-top: 4rem;
        }
    }
} */

.company-message{
    padding-top: 12rem;
    padding-bottom: 10rem;
    position: relative;
    z-index: 1;
    background: url(/public/images/company/bg_message.jpg) no-repeat center/cover;
    background-attachment: fixed;
    color: #fff;
    @media (max-width: 768px) {
        padding-top: 5rem;
        padding-bottom: 20rem;
    }
    .wrap{
        position: relative;
        padding-bottom: 6rem;
        @media (max-width: 768px) {
            padding-bottom: 0;
        }
    }
    .message{
        h3{
            font-family: "Zen Old Mincho", serif;
            font-weight: 700;
            font-size: 2.4rem;
            @media (max-width: 768px) {
                line-height: 1.6;
                font-size: 2rem;
            }

        }
        p{
            font-family: "Zen Old Mincho", serif;
            font-size: 1.6rem;
            margin-top: 10rem;
            line-height: 2;
            @media (max-width: 768px) {
                margin-top: 3rem;
                font-size: 1.4rem;
                line-height: 1.8;
            }
        }
    }
    .sign{
        position: absolute;
        bottom: 0;
        right: 0;
        @media (max-width: 768px) {
            width: 60%;
            bottom: -16rem;
        }
        p{
            font-size: 2rem;
            @media (max-width: 768px) {
                font-size: 1.4rem;
            }
        }
        img{
            width: 38rem;
            @media (max-width: 768px) {
                width: 100%;
                margin-top: 1rem;
            }
        }
    }
}
.company-information{
    position: relative;
    z-index: 1;
    background-color: #fff;
}
/* .company-philosophy-link{
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding-top: 8rem;
    @media (max-width: 768px) {
        padding-top: 4rem;
    }
} */
.company-figure{
    position: relative;
    z-index: 1;
    padding-bottom: 12rem;
    background-color: #fff;
    @media (max-width: 768px) {
        padding-bottom: 6rem;
    }
    h2{
        border-top: 0.1rem #000 solid;
        font-size: 2.4rem;
        text-align: center;
        line-height: 1.5;
        padding-top: 7rem;
        font-weight: 500;
        @media (max-width: 768px) {
            padding-top: 3rem;
            font-size: 2rem;
        }
    }
}

/*------------------------------
MARK:DEAL
------------------------------*/
.deal-mv{
    margin-top: calc(-20px - var(--gnav-margin) - 5.4rem);
    position: relative;
    @media (max-width: 768px) {
        margin-top: 4.4rem;
    }
    .inner{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 100%;
        padding-bottom: 6.5rem;
        @media (max-width: 768px) {
            padding-bottom: 3rem;
        }
    }
    .title{
        position: absolute;
        inset: 0;
        color: #fff;
        span{
            display: inline-block;
            width: fit-content;
            line-height: 1.5;
            font-weight: 600;
        }
        .sub{
            font-size: 2.4rem;
            @media (max-width: 768px) {
                font-size: 1.2rem;
            }
        }
        .main{
            font-size: 4rem;
            @media (max-width: 768px) {
                font-size: 1.6rem;
            }
        }
        span.row{
            display: flex;
            align-items: flex-end;

        }
        .image{
            width: 5rem;
            padding-bottom: 1rem;
            margin-left: 1rem;
            @media (max-width: 768px) {
                width: 2rem;
                padding-bottom: 0.5rem;
                margin-left: 0.5rem;
            }
        }
    }
}
.deal-contents{
    margin-bottom: 6rem;
    @media (max-width: 768px) {
        margin-bottom: 4rem;
    }
    .item{
        position: relative;
        padding-block: 16rem;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem calc(100% - 4rem), transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem calc(100% - 4rem), transparent 100%);
        margin-top: -4rem;
        @media (max-width: 768px) {
            padding-block: 6rem 8rem;
            margin-top: -2rem;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 2rem calc(100% - 2rem), transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 2rem calc(100% - 2rem), transparent 100%);
        }
        &:has(#appraisal){
            background: url(/public/images/service/bg_appraisal.jpg) no-repeat center/cover;
        }
        &:has(#buyandsell){
            background: url(/public/images/service/bg_buyandsell.jpg) no-repeat center/cover;
            transform: translateY(-4rem);
            @media (max-width: 768px) {
                transform: translateY(-2rem);
            }
            .text-wrap{
                margin-inline: auto 0;
                .item-hd{
                    text-align: right;
                }
            }
        }
        .text-wrap{
            color: #fff;
            width: 65%;
            @media (max-width: 768px) {
                width: 100%;
            }
            .item-hd{
                p{
                    font-size: 3.6rem;
                    @media (max-width: 768px) {
                        font-size: 2.8rem;
                    }
                }
                h3{
                    font-size: 1.8rem;
                    margin-top: 1.5rem;
                    @media (max-width: 768px) {
                        font-size: 1.6rem;
                        margin-top: 1rem;
                    }
                }
            }
            &> p{
                font-size: 1.6rem;
                line-height: 1.6;
                margin-top: 4rem;
                @media (max-width: 768px) {
                    font-size: 1.4rem;
                    margin-top: 3rem;
                }
            }
        }
    }
}
.deal-philosophy,
.renovation-philosophy,
.company-philosophy-link,
.recruit-philosophy,
.news-philosophy{
    padding-bottom: 12rem;
    @media (max-width: 768px) {
        padding-bottom: 6rem;
    }
    h2{
        border-top: 0.1rem #000 solid;
        font-size: 2.4rem;
        text-align: center;
        line-height: 1.5;
        padding-top: 7rem;
        font-weight: 500;
        @media (max-width: 768px) {
            padding-top: 3rem;
            font-size: 2rem;
        }
    }
    .wrap{
        display: flex;
        justify-content: space-between;
        column-gap: 6rem;
        margin-top: 5rem;
        @media (max-width: 768px) {
            display: block;
            margin-top: 4rem;
        }
    }
    .item{
        h3{
            font-size: 2rem;
            font-weight: 500;
            @media (max-width: 768px) {
                font-size: 1.6rem;
            }
        }
        .readText{
            line-height: 1.6;
            margin-top: 3rem;
            @media (max-width: 768px) {
                font-size: 1.4rem;
                margin-top: 2rem;
            }
        }
        @media (max-width: 768px) {
            &+ .item{
                margin-top: 4rem;
            }
        }
    }
}

/*------------------------------
MARK:RENOVATION
------------------------------*/
.renovation-bg{
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    img{
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.renovation-mv{
    margin-top: calc(-20px - var(--gnav-margin) - 5.4rem);
    position: relative;
    @media (max-width: 768px) {
        margin-top: 4.4rem;
    }
    .service_slide{
        width: 100%;
        aspect-ratio: 5/2;
        position: relative;
        z-index: 0;
        overflow: hidden;
        li{
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            z-index: 1;
            animation: fadezoom 25s linear infinite;
            &:nth-child(1){ animation-delay: 0s;}
            &:nth-child(2){ animation-delay: -5s;}
            &:nth-child(3){ animation-delay: -10s;}
            &:nth-child(4){ animation-delay: -15s;}
            &:nth-child(5){ animation-delay: -20s;}
            img{
                -o-object-fit: cover;
                object-fit: cover;
                position: absolute;
                min-width: 100%;
                min-height: 100%;
                height: 100%;
                width: 100%;
            }
        }
    }
}

.renovation-service{
    position: relative;
    z-index: 1;
    padding-top: 14rem;
    padding-bottom: 12rem;
    background-color: var(--bg-black);
    color: #fff;
    margin-top: -4rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%,#000 4rem calc(100% - 4rem), transparent 100%);
    -mask-image: linear-gradient(to bottom, transparent 0%,#000 4rem calc(100% - 4rem), transparent 100%);
    @media (max-width: 768px) {
        padding-top: 8rem;
        padding-bottom: 10rem;
    }
    .wrap{
        display: flex;
        justify-content: space-between;
        @media (max-width: 768px) {
            flex-direction: column;
        }
    }
    .title{
        p{
            font-size: 3.6rem;
            @media (max-width: 768px) {
                font-size: 2.8rem;
            }
        }
        h3{
            font-size: 1.6rem;
            font-weight: 400;
            margin-top: 1.5rem;
            @media (max-width: 768px) {
                margin-top: 0.5rem;
                font-size: 1.4rem;
            }
        }
    }
    .readText{
        width: 50rem;
        flex-shrink: 0;
        line-height: 1.6;
        @media (max-width: 768px) {
            width: 100%;
            margin-top: 3rem;
        }
    }
    .image{
        position: relative;
        margin-top: 10rem;
        @media (max-width: 768px) {
            margin-top: 6rem;
        }
        &::before,&::after{
            content: "";
            position: absolute;
            width: 100%;
            height: 20%;
            display: block;
            left: 0;
            right: 0;
            z-index: 2;
        }
        &::before{
            top: 0;
            background: linear-gradient(to bottom, var(--bg-black),transparent);
        }
        &::after{
            bottom: 0;
            background: linear-gradient(to top, #fff,transparent);
        }
    }
}

.renovation-contents{
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 10rem;
    @media (max-width: 768px) {
        padding-top: 2rem;
        padding-bottom: 6rem;
    }
    .wrap{
        display: flex;
        justify-content: space-between;
        @media (max-width: 768px) {
            flex-direction: column;
        }
    }
    .item-wrap{
        width: calc(50% - 3rem);
        @media (max-width: 768px) {
            width: 100%;
            &+ .item-wrap{
                margin-top: 6rem;
            }
        }
    }
    .item{
        h3{
            font-size: 2.4rem;
            font-weight: 500;
            @media (max-width: 768px) {
                font-size: 2rem;
                line-height: 1.5;
            }
        }
        .readText{
            margin-top: 4rem;
            line-height: 1.6;
            @media (max-width: 768px) {
                margin-top: 2rem;
            }
        }
        &+ .item{
            margin-top: 7rem;
        }
    }
}
.renovation-philosophy{
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding-top: 16rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6rem);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 6rem);
    @media (max-width: 768px) {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem);
        padding-top: 10rem;
    }
}

/*------------------------------
MARK:MVV
------------------------------*/
#page-mvv{
    background-color: var(--bg-black);
}
.mvv-mv{
    margin-top: calc(-20px - var(--gnav-margin) - 5.4rem);
    position: relative;
    @media (max-width: 768px) {
        margin-top: 4.4rem;
    }
    .title{
        position: absolute;
        bottom: 4rem;
        left: 0;
        width: 100%;
        @media (max-width: 768px) {
            bottom: 1rem;
        }
        h2{
            position: relative;
            color: #fff;
            font-size: 3.2rem;
            line-height: 1.5;
            width: fit-content;
            @media (max-width: 768px) {
                font-size: 1.8rem;
            }
            span{
                position: relative;
                z-index: 1;
            }
            .yakumono-first{
                display: inline-block;
                margin-inline: -0.5em -0.1em;
            }
            .yakumono-last{
                display: inline-block;
                margin-inline: 0.1em -0.5em;
            }
        }
        img{
            position: absolute;
            z-index: 0;
            width: 14rem;
            right: -9rem;
            bottom: -1.2rem;
            @media (max-width: 768px) {
                width: 6rem;
                right: -4rem;
                bottom: 0rem;
            }

        }
    }
    .mv-logo{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 40rem;
        @media (max-width: 768px) {
            display: none;
        }
    }
}

/* .mvv-aside{
    position: fixed;
    z-index: 5;
    font-size: 2.4rem;
    writing-mode: vertical-lr;
    color: #fff;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    @media (max-width: 768px) {
        display: none;
    }
} */

.mvv-contents{
    position: relative;
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 10rem;
    @media (max-width: 768px) {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
    .bg-sign-wrap{
        position: absolute;
        background-color: var(--bg-black);
        inset: 0;
        top: 5rem;
        @media (max-width: 768px) {
            top: 0;
        }
    }
    .bg-sign{
        position: sticky;
        z-index: 0;
        width: 50rem;
        left: calc(50% - 25rem);
        top: calc(50dvh - 26rem);
        opacity: 0.2;
        @media (max-width: 768px) {
            width: 20rem;
            left: calc(50% - 10rem);
            top: calc(50dvh - 10rem);
        }
    }
    .item{
        display: flex;
        justify-content: space-between;
        position: relative;
        @media (max-width: 768px) {
            flex-direction: column;
        }
        .title{
            position: relative;
            z-index: 1;
            p{
                font-size: 3.6rem;
                @media (max-width: 768px) {
                    font-size: 2.8rem;
                }
            }
            h2{
                font-size: 1.6rem;
                margin-top: 1rem;
                @media (max-width: 768px) {
                    font-size: 1.2rem;
                    margin-top: 0.5rem;
                }
            }
        }
        .readText{
            position: relative;
            z-index: 1;
            width: 66rem;
            flex-shrink: 0;
            line-height: 1.5;
            padding-left: 2.5rem;
            border-left: 0.1rem #fff solid;
            @media (max-width: 768px) {
                width: 100%;
                padding-left: 1rem;
                margin-top: 3rem;
            }
        }
        &+ .item{
            margin-top: 16rem;
            @media (max-width: 768px) {
                margin-top: 6rem;
            }
        }

    }
}

.mvv-philosophy{
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 10rem;
    @media (max-width: 768px) {
        padding-top: 2rem;
        padding-bottom: 6rem;
    }
    h2{
        font-size: 2.4rem;
        line-height: 1.5;
        text-align: center;
        @media (max-width: 768px) {
            font-size: 2rem;
        }
    }
    .page-link{
        border-color: #fff;
        margin-top: 7rem;
        @media (max-width: 768px) {
            margin-top: 4rem;
        }
    }
}
.mvv-philosophy{
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 10rem;
    @media (max-width: 768px) {
        padding-top: 2rem;
        padding-bottom: 6rem;
    }
    h2{
        border-top: 0.1rem #fff solid;
        font-size: 2.4rem;
        text-align: center;
        line-height: 1.5;
        padding-top: 7rem;
        font-weight: 500;
        @media (max-width: 768px) {
            padding-top: 3rem;
            font-size: 2rem;
        }
    }
    .wrap{
        display: flex;
        justify-content: space-between;
        column-gap: 6rem;
        margin-top: 5rem;
        @media (max-width: 768px) {
            display: block;
            margin-top: 4rem;
        }
    }
    .item{
        h3{
            font-size: 2rem;
            font-weight: 500;
            @media (max-width: 768px) {
                font-size: 1.6rem;
            }
        }
        .readText{
            line-height: 1.6;
            margin-top: 3rem;
            @media (max-width: 768px) {
                font-size: 1.4rem;
                margin-top: 2rem;
            }
        }
        @media (max-width: 768px) {
            &+ .item{
                margin-top: 4rem;
            }
        }
    }
    .page-link{
        border-color: #fff;
        margin-top: 7rem;
        @media (max-width: 768px) {
            margin-top: 4rem;
        }
    }
}

/*------------------------------
MARK:RECRUIT
------------------------------*/
.recruit-bg{
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100lvh;
    img{
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.recruit-contents{
    margin-top: calc(-20px - var(--gnav-margin) - 5.4rem);
    position: relative;
    z-index: 1;
    padding-top: 20rem;
    padding-bottom: 26rem;
    background-color: #fff;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 6rem), transparent 100%);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 6rem), transparent 100%);
    @media (max-width: 768px) {
        margin-top: 4.4rem;
        padding-top: 5rem;
        padding-bottom: 10rem;
        -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 4rem), transparent 100%);
        mask-image: linear-gradient(to bottom, #000 calc(100% - 4rem), transparent 100%);
    }
    .inner{
        position: relative;
    }
    .message{
        position: relative;
        z-index: 1;
        margin-top: 8rem;
        @media (max-width: 768px) {
            margin-top: 4rem;
        }
        h3{
            font-size: 3rem;
            line-height: 1.5;
            @media (max-width: 768px) {
                font-size: 2rem;
            }
        }
        p{
            font-size: 1.6rem;
            margin-top: 1.5rem;
            @media (max-width: 768px) {
                font-size: 1.2rem;
            }
        }
        img{
            width: 16rem;
            margin-top: 5rem;
            filter: drop-shadow(0 0.4rem 0.1rem #00000040);
            @media (max-width: 768px) {
                width: 12rem;
            }
        }
    }
    .readText{
        position: relative;
        z-index: 1;
        margin-top: 2rem;
        line-height: 1.7;
        @media (max-width: 768px) {
            margin-top: 5rem;
        }
    }
    .link-wrap{
        position: absolute;
        z-index: 1;
        right: 0;
        bottom: -7rem;
        display: grid;
        row-gap: 1.5rem;
        .page-link{
            width: 20rem;
            height: 5rem;
            font-size: 1.6rem;
            margin-top: 0;
            @media (max-width: 768px) {
                font-size: 1.4rem;
            }
        }
        @media (max-width: 768px) {
            position: static;
            margin-top: 4rem;
            row-gap: 1rem;
        }
    }
    .bg{
        position: absolute;
        z-index: 0;
        right: 0;
        bottom: 10rem;
        width: 74rem;
        @media (max-width: 768px) {
            display: none;
            bottom: 10rem;
        }
    }
}

.recruit-requirements{
    padding-top: 10rem;
    padding-bottom: 10rem;
    color: #fff;
    position: relative;
    @media (max-width: 768px) {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }
    h2{
        font-size: 3rem;
        @media (max-width: 768px) {
            font-size: 2rem;
        }
    }
    .wrap{
        display: flex;
        margin-top: 3rem;
        column-gap: 5rem;
        justify-content: space-between;
        @media (max-width: 768px) {
            flex-direction: column;
            margin-top: 2rem;
        }
    }
    .card-wrap{
        width: 63rem;
        flex-shrink: 0;
        @media (max-width: 768px) {
            width: 100%;
        }
    }
    .card{
        border: 0.1rem solid currentColor;
        padding: 2.5rem 2rem;
        background-color: #ffffff4d;
        @media (max-width: 768px) {
            padding: 2rem 1.5rem;
        }
        &+ .card{
            margin-top: 4rem;
            @media (max-width: 768px) {
                margin-top: 3rem;
            }
        }
        h3{
            border-bottom: 0.1rem solid currentColor;
            width: fit-content;
            padding-bottom: 0.8rem;
            font-size: 2rem;
            @media (max-width: 768px) {
                font-size: 1.6rem;
            }
        }
        .item{
            margin-top: 3rem;
            display: flex;
            justify-content: space-between;
            &+ .item{
                margin-top: 4rem;
            }
            h4{
                font-weight: 500;
                font-size: 1.6rem;
                @media (max-width: 768px) {
                    font-size: 1.4rem;
                }
            }
            .readText{
                flex-shrink: 0;
                width: 55%;
                line-height: 1.5;
                @media (max-width: 768px) {
                    width: 68%;
                }
            }
        }
    }
    .info-wrap{
        @media (max-width: 768px) {
            margin-top: 3rem;
        }
        dl{
            line-height: 1.5;
        }
        dt{
            font-weight: 500;
            @media (max-width: 768px) {
                font-size: 1.4rem;
            }
        }
        dd{
            @media (max-width: 768px) {
                font-size: 1.4rem;
            }
            &+ dt{
                margin-top: 3rem;
                @media (max-width: 768px) {
                    margin-top: 2rem;
                }
            }
        }
        p{
            margin-top: 3rem;
            @media (max-width: 768px) {
                margin-top: 2rem;
            }
        }
    }
}

.recruit-philosophy{
    position: relative;
    z-index: 1;
    background-color: var(--bg-black);
    padding-top: 16rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6rem);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 6rem);
    color: #fff;
    @media (max-width: 768px) {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem);
        padding-top: 10rem;
    }
    .page-link,h2{
        border-color: #fff;
    }
}

/*------------------------------
MARK:NEWS
------------------------------*/
#page-news {
    background-color: var(--bg-black);
}
.news-mv {
    margin-top: calc(-20px - var(--gnav-margin) - 5.4rem);
    position: relative;
    @media (max-width: 768px) {
        margin-top: 4.4rem;
    }
    .image{
        position: relative;
        z-index: 0;
    }
    .inner{
        color: #fff;
        position: absolute;
        padding-top: 10rem;
        z-index: 1;
        inset: 0;
        display: grid;
        place-content: center;
        @media (max-width: 768px) {
            padding-top: 0;
        }
    }
}

.news-list{
    padding-top: 18rem;
    padding-bottom: 10rem;
    position: relative;
    z-index: 1;
    color: #fff;
    background-color: var(--bg-black);
    @media (max-width: 768px) {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .inner{
        width: 130rem;
        @media (max-width: 768px) {
            width: 92vw;
        }
    }
    .hd-wrap{
        padding-inline: 5rem;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 5rem;
        position: relative;
        @media (max-width: 768px) {
            padding-bottom: 3rem;
            padding-inline: 2rem;
            align-items: stretch;
            flex-direction: column;
            row-gap: 2rem;
        }
        &::before{
            content: "";
            display: block;
            position: absolute;
            top: -3rem;
            left: calc(50% - 50vw);
            width: 70%;
            height: 18rem;
            background-color: #2a2a2a;
        }
        .title-wrap{
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            column-gap: 1rem;
            @media (max-width: 768px) {
                justify-content: stretch;
                width: 100%;
            }
            .title{
                h2{
                    margin-bottom: 1rem;
                    font-size: 1.6rem;
                    @media (max-width: 768px) {
                        font-size: 1.2rem;
                    }
                }
                p{
                    font-size: 3rem;
                    font-weight: 500;
                    @media (max-width: 768px) {
                        font-size: 2rem;
                    }
                }
            }
            .line{
                content: "";
                display: block;
                height: 0.1rem;
                width: 8rem;
                background-color: #fff;
                rotate: -45deg;
                @media (max-width: 768px) {
                    width: 6rem;
                }
            }
            a{
                display: flex;
                align-items: center;
                column-gap: 0.5rem;
                padding-top: 1rem;
                font-size: 1.8rem;
                &::after{
                    content: "→";
                    display: inline-block;
                }
                @media (max-width: 768px) {
                    justify-self: flex-end;
                }
            }
        }
        .btn-wrap{
            display: flex;
            column-gap: 1.5rem;
            position: relative;
            z-index: 2;
            @media (max-width: 768px) {
                width: 100%;
                justify-content: space-between;
            }
            button,
            a{
                border: 0.1rem solid currentColor;
                border-radius: 0.3rem;
                font-size: 1.4rem;
                line-height: 2;
                width: 11rem;
                display: grid;
                place-content: center;
                font-weight: 500;
                background-color: var(--bg-black);
                text-decoration: none;
                &.current{
                    background-color: #fff;
                    color: var(--bg-black);
                }
                @media (max-width: 768px) {
                    width: calc((100% - 2rem) / 2);
                }
            }
        }
    }
    ul{
        padding-inline: 5rem;
        padding-top: 8rem;
        padding-bottom: 3rem;
        margin-top: -7rem;
        position: relative;
        z-index: 1;
        background-color: var(--bg-black);
        @media (max-width: 768px) {
            padding-inline: 2rem;
            padding-top: 6rem;
            margin-top: -4rem;
        }
        li{
            a{
                display: flex;
                align-items: center;
                column-gap: 2rem;
                border-bottom: 0.1rem solid #fff;
                padding-bottom: 0.8rem;
                @media (max-width: 768px) {
                    column-gap: 1.2rem;
                }
            }
            .category-name{
                border-radius: 0.3rem;
                font-size: 1.4rem;
                line-height: 2;
                width: 12rem;
                display: grid;
                place-content: center;
                font-weight: 500;
                background-color: #fff;
                color: var(--bg-black);
                @media (max-width: 768px) {
                    font-size: 1.2rem;
                    width: 9rem;
                }
            }
            h3{
                @media (max-width: 768px) {
                    font-size: 1.4rem;
                    line-height: 1.5;
                }
            }
            &+ li{
                margin-top: 3rem;
            }
        }
    }
}
.news-list a{
    transition: opacity 0.1s ease;
}
.news-list a:hover{
    opacity: 0.6;
}
.news-list .btn-wrap button{
    transition: opacity 0.1s ease;
}
.news-list .btn-wrap button:hover{
    opacity: 0.6;
}

.news-pagination{
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.news-pagination .page-numbers{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.6rem;
    height: 3.6rem;
    padding-inline: 1rem;
    border: 0.1rem solid #fff;
    border-radius: 0.4rem;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    transition: background-color 0s ease, color 0s ease;
}
.news-pagination .page-numbers.current{
    background-color: #fff;
    color: var(--bg-black);
}
.news-pagination .page-numbers:hover{
    background-color: rgba(255,255,255,0.2);
}

.news-single{
    .pankuzu{
        padding-block: 2rem 3rem;
        color: #fff;
        display: flex;
        align-items: center;
        column-gap: 1rem;
        a{
            cursor: pointer;
            @media (any-hover:hover) {
                &:hover{
                    text-decoration: underline;
                }
            }
        }
    }
    .contents-inner{
        background-color: #e5e5e5;
        padding: 5rem 2rem;
        width: 118rem;
        margin-inline: auto;
        @media (max-width: 768px) {
            width: 92vw;
            padding: 3rem 1.5rem 2.5rem;
            .inner{
                width: 100%;
            }
        }
        .contents-title{
            font-size: 2.8rem;
            line-height: 1.5;
            font-weight: 600;
            @media (max-width: 768px) {
                font-size: 2.4rem;
            }
        }
        .category{
            text-align: right;
        }
        .contents-box{
            margin-top: 4rem;
            p{
                line-height: 1.7;
                font-size: 1.6rem;
                @media (max-width: 768px) {
                    font-size: 1.4rem;
                }
                &:not(:first-child){
                    margin-top: 1lh;
                }
            }
            img{
                font-size: 1.6rem;
                margin-top: 1lh;
                @media (max-width: 768px) {
                    font-size: 1.4rem;
                }
            }
            a{
                color: #007bff;
                text-decoration: underline;
                @media (any-hover:hover) {
                    &:hover{
                        text-decoration: none;
                    }
                }
            }
        }
        .contents-back{
            font-size: 1.4rem;
            font-weight: 500;
            color: #fff;
            display: grid;
            place-content: center;
            width: 16rem;
            height: 4.2rem;
            border-radius: 0.3rem;
            background-color: var(--bg-black);
            margin-inline: auto;
            margin-top: 6rem;
            border: 0.1rem solid var(--bg-black);
            cursor: pointer;
            @media (any-hover:hover) {
                &:hover{
                    color: var(--bg-black);
                    background-color: #e5e5e5;
                }
            }
        }
    }
}

.news-philosophy{
    color: #fff;
    padding-top: 10rem;
    padding-bottom: 10rem;
    @media (max-width: 768px) {
        padding-top: 2rem;
        padding-bottom: 6rem;
    }
    h2{
        font-size: 2.4rem;
        line-height: 1.5;
        text-align: center;
        border-color: #fff;
        @media (max-width: 768px) {
            font-size: 2rem;
        }
    }
    .page-link{
        border-color: #fff;
        margin-top: 7rem;
        @media (max-width: 768px) {
            margin-top: 4rem;
        }
    }
}

/*------------------------------
MARK:CONTACT
------------------------------*/
#page-contact {
    background-color: var(--bg-black);
}

.contact-mv {
    margin-top: calc(-20px - var(--gnav-margin) - 5.4rem);
    @media (max-width: 768px) {
        margin-top: 0;
    }
    .inner {
        color: #fff;
        padding-top: 10rem;
        z-index: 1;
        inset: 0;
        display: grid;
        place-content: center;
        height: 40rem;
        @media (max-width: 768px) {
            padding-top: 10rem;
            padding-bottom: 4rem;
            height: auto;
        }
    }
}

.contact-form{
    padding-bottom: 10rem;
    @media (max-width: 768px) {
        padding-bottom: 6rem;
    }
    form{
        padding: 6rem 10rem;
        background-color: #fff;
        border-radius: 1.8rem;
        @media (max-width: 768px) {
            padding: 4rem 3rem 3rem;
        }
        .message{
            text-align: center;
            h3{
                font-size: 2.4rem;
                font-weight: 600;
                line-height: 1.5;
                @media (max-width: 768px) {
                    font-size: 2rem;
                }
            }
            .readText{
                text-align: center;
                line-height: 1.5;
                margin-block: 3rem 6rem;
                @media (max-width: 768px) {
                    margin-block: 2rem 4rem;
                }
            }
        }

        .form-container{
            label{
                display: flex;
                flex-direction: column;
                row-gap:1rem;
                span{
                    display: inline-block;
                    font-weight: 600;
                    font-size: 1.8rem;
                    @media (max-width: 768px) {
                        font-size: 1.6rem;
                    }
                    &::after{
                        content: "*";
                        color: red;
                    }
                }
                input,
                textarea,
                select{
                    width: 100%;
                    padding: 1.6rem 1.2rem;
                    background-color: #f8f8f8;
                    border-radius: 0.8rem;
                    border: 0.1rem solid #ccc;
                    font-size: 1.8rem;
                }
                &+ label{
                    margin-top: 3rem;
                }
                &:is([for="confirm"]){
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: center;
                    column-gap: 1rem;
                    input{
                        width: fit-content;
                    }
                }
            }
            button{
                margin-top: 5rem;
                margin-inline: auto;
                display: grid;
                place-content: center;
                background-color: #2a2a2a;
                color: #fff;
                font-size: 1.8rem;
                font-weight: 600;
                width: 26rem;
                height: 7rem;
                border-radius: 1rem;
                transition: opacity 0.1s;
                @media (max-width: 768px) {
                    height: 6rem;
                    font-size: 1.6rem;
                    width: 24rem;
                    margin-top: 4rem;
                }
                @media (any-hover:hover) {
                    &:hover{
                        opacity: 0.6;
                    }
                }
            }
        }
    }
    .thanks{
        color: #fff;
        text-align: center;
        h3{
            font-size: 2rem;
        } 
        .readText{
            margin-top: 4rem;
            text-align: center;
        }
        .page-link{
            margin-top: 6rem;
            border-color: #fff;
        }
    }
}
