body{
    /* margin: 0;
    padding: 0;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: scroll; */

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-y: scroll;
    overflow-x: hidden;
}





.start {
	background: var(--accent-color);
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
}
.start p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 280px;
}

    .start p img{
        width: 100%;
        height: auto;
    }










.main{
    max-width: 100vw;
    padding: 0;
    margin: 0;
}

    .section{
        max-width: 1500px;
        margin: 150px auto;
    }

    .sec-title{
        /* font-size: 4rem; */
        text-align: center;
        color: var(--main-color);
        margin: 100px auto;
    }

    .section-top{
        max-width: 100vw;
        margin: 0 auto;
    }

        .top-view{
            width: 100%;
        }

            .top-view video{
                width: 100vw;
                height: 100vh;
                object-fit: cover;
            }
            /* .top-view img{
                width: 100%;
                height: 100vh;
                object-fit: cover;
            } */

    .section-about{
    }

        .sec-box{
            display: flex;
            gap: 50px;
        }

            .sec-box .about-box{
                width: 50%;
                height: 300px;
                padding: 20px 20px;
                display: flex;
                align-items: center;
            }

            .text-and-btn{
                display: block;
            }

                .sec-box .about-box img{
                    width: 100%;
                    height: auto;
                }

                .sec-box .about-box p{
                    font-size: 2rem;
                    font-weight: bold;
                    line-height: 3;
                }

                .sec-box .about-box .about-box-btn{
                    width: 100%;
                    justify-content: center;
                    text-align: center;
                }

    .section-list{
        width: 100vw;
        margin: 150px auto;
    }

        .all-service{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            height: 700px;
            align-items: center;
            vertical-align: middle;
        }

            .service-card{
                position: relative;
                width: calc(100% / 3);
                height: 500px;
                transition: 0.5s;
                border-radius: 0;
            }

            .service-card:hover{
                height: 500px;
                border-radius: 0;
                /* box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px; */
                transition: 0.5s;
            }
            .service-card:hover .service-img{
                border-radius: 0;
                transition: 0.5s;
                filter: brightness(0.6);
            }

                .service-card h3{
                    z-index: 10;
                    width: 100%;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    -webkit-transform: translate(-50%, -50%);
                    -ms-transform: translate(-50%, -50%);
                    
                }

                    .service-card h3 a{
                        cursor: pointer;
                    }

                    .service-card h3 img{
                        width: 70%;
                        margin: 0 15%;
                        opacity: 0;

                    }

                    .service-card:hover h3 img{
                        opacity: 1;
                    }

                .service-card .service-img{
                    z-index: 8;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: 0.5s;
                }

                .service-info{
                    z-index: 10;
                    position: absolute;
                    bottom: 50px;
                    width: 100%;
                    padding:0 15%;
                }

                    .service-info .service-name{
                        font-size: 1.8rem;
                        color: var(--background-color);
                    }

                    .service-info a.btn-flat {
                        /* ボタンサイズの変更 */
                        padding: 1rem 4rem;
                    }

                    .service-info a.btn-flat::before {
                        position: absolute;
                        top: 0;
                        left: 30px;
                        width: 150%;
                        height: 500%;
                        content: '';
                        -webkit-transition: all .5s ease-in-out;
                        transition: all .5s ease-in-out;
                        -webkit-transform: translateX(-98%) translateY(-70%) rotate(135deg);
                        /* traslateXの値で黄色のスタート位置の操作 */
                        transform: translateX(-120%) translateY(-70%) rotate(135deg);
                    }

                    .service-info a.btn-flat:hover:before {
                        -webkit-transform: translateX(-9%) translateY(-25%) rotate(135deg);
                        transform: translateX(-9%) translateY(-25%) rotate(135deg);
                    }

    
    .section-works{
        max-width: 1500px;
        height: auto;
    }

        .works-wrapper{
            width: 100%;
            align-items: center;
            text-align: center;
        }

                .swiper-slide{
                    justify-content: center;
                    width: 100%;
                    height: 100%;
                }

                    .swiper-page{
                        position: relative;
                        width: 1000px;
                        height: 600px;
                        margin: 0 auto;
                    }

                        .swiper-slide img{
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 90%;
                            object-fit: cover;
                        }

                        .works-paper-dec{
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            width: 100%;
                            height: auto;
                            margin-bottom: 30px;
                            background-color: var(--main-color);
                        }

                            .works-paper-dec p{
                                color: var(--background-color);
                                margin-left: 15px;
                            }
            
            .works-box-btn{
                margin-top: 100px;
                width: 100%;
                justify-content: center;
                text-align: center;
            }


                
                    












@media screen and (max-width: 1300px){

        .swiper-page{
            position: relative;
            width: 80%;
            aspect-ratio: 5 / 3;
            height: auto;
            margin: 0 auto;
        }

}




@media screen and (max-width: 800px) {

    .hamburger{
        display: block;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position: fixed;
        left: 100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item{
        margin: 16px 0;
    }



    


    .all-service{
        display: block;
        height: auto;
    }

    .sec-box{
        display: block;
        gap: 50px;
    }

        .sec-box .about-box{
            width: 90vw;
            height: auto;
            display: flex;
            align-items: center;
        }

        .service-card{
            margin: 50px auto;
            position: relative;
            width: 50vw;
            height: 40vh;
            border-radius: 10px;
            transition: 0.5s;
        }

        .service-card:hover{
            width: 50vw;
            height: 40vh;
        }


    .swiper-page{
        position: relative;
        width: 90%;
        aspect-ratio: 5 / 3;
        height: auto;
        margin: 0 auto;
    }

    .swiper-button-next{
        color: var(--background-color);
        margin-right: 5%;
    }

    .swiper-button-prev{
        color: var(--background-color);
        margin-left: 5%;
    }

    .works-paper-dec{
        margin-bottom: 15px;
    }

    .works-paper-text{
        font-size: 0.7rem;
    }
}


@media screen and (max-width: 600px) {

    .service-card{
        margin: 50px auto;
        position: relative;
        width: 70vw;
        height: 40vh;
        border-radius: 10px;
        transition: 0.5s;
    }

    .service-card:hover{
        width: 70vw;
        height: 40vh;
    }

}




@media screen and (max-width: 400px) {

/* body{
    max-width: 100vw;
    width: 100vw;
    padding: 0;
    margin: 0;
} */

    .navbar{
        min-height: 60px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;
    }


    .bottom-info{
        padding: 30px 5vw;
    }
}