@charset "UTF-8";

/* main-visual --------------------------- */
#main-visual{
    width: 100%;
    height: 640px;
    position: relative;
}

#main-visual .img-area{
    display: flex;
    overflow-x: hidden;
}
#main-visual .img-area .mv-list{
    display: flex;
    animation: slide-left 60s infinite linear both;
}
#main-visual .img-area .mv-list li{
    width: 640px;
    margin-right: 20px;
}
#main-visual .img-area .mv-list li img{
    width: 100%;
}

@keyframes slide-left {
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-100%);
    }
}

#main-visual .text-area{
    width: 550px;
    height: 640px;
    background-color: rgba(255, 255, 255, 0.85);
    position: absolute;
    top: 0;
    left: 60px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 0 35px;
}
#main-visual .text-area .main-copy{
    font-size: 4.26rem;
    font-weight: 600;
    line-height: 1.2em;
    color: #335592;
    text-align: left;
    margin-top: 120px;
    margin-bottom: 40px;
}
#main-visual .text-area .main-copy .small{
    font-size: 3.2rem;
}
#main-visual .text-area .sub-copy{
    font-size: 2.13rem;
    font-weight: 600;
    line-height: 1.2em;
    color: #335592;
    text-align: left;
    margin-bottom: 60px;
}
#main-visual .text-area .text{
    width: 447px;
}


/* strength  ----------------------------- */
#strength{
    width: 100%;
    padding: 0;
    background-image: url(../img/strength-backimage.jpg);
    background-attachment: fixed;
    background-position: top right;
    background-size: 50%;
}

#strength .section-title .ja{
    writing-mode: vertical-rl;
    margin-top: -20px;
    margin-left: calc(10% - 32px);
}

#strength .list-area{
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -120px;
    margin-left: 15%;
    margin-bottom: 120px;
}
#strength .list-area ul{
    margin-right: 20px;
}
#strength .list-area li{
    max-width: 555px;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 10px 5px rgba(204, 204, 204, 0.25);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 30px;
}
#strength .list-area li:last-child{
    margin-bottom: 0;
}
#strength .list-area li .list-title{
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2em;
    margin-bottom: 40px;
    position: relative;
}
#strength .list-area li .list-title::before{
    content: "";
    width: 60px;
    height: 50px;
    background-image: url(../img/icon-house.svg);
    background-size: contain;
    position: absolute;
    top: -25px;
    left: -20px;
}
#strength .list-area li .list-title::after{
    content: "";
    width: 35px;
    height: 1px;
    background-color: #CC911B;
    position: absolute;
    bottom: -20px;
    left: 0;
}

#strength .polygon-area{
    width: 100%;
    padding: 0;
}
#strength .polygon-area img{
    width: 100%;
}

/* service  ------------------------------ */
#service{
    width: 100%;
    background-color: #EEF4FF;
    padding: 60px 0;
}

#service .section-title{
    text-align: right;
}
#service .section-title .en{
    color: #fff;
}
.section-title .ja{
    margin-top: -20px;
    margin-right: 40px;
}

#service .service-list{
    width: 90%;
    margin: 60px 5%;
}
#service .service-list li{
    width: 100%;
    height: 320px;
    background-color: #335592;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}
#service .service-list li a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding: 40px 60px;
    position: relative;
}
#service .service-list li a:hover{
    opacity: 1;
}
#service .service-list li a::before{
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    z-index: 1;  
}
#service .service-list li:nth-child(1) a::before{
    background-image: url(../img/top-service01.jpg);
}
#service .service-list li:nth-child(2) a::before{
    background-image: url(../img/top-service02.jpg);
}
#service .service-list li:nth-child(3) a::before{
    background-image: url(../img/top-service03.jpg);
}
#service .service-list li a:hover::before {
    transform: scale(1.08);
}
#service .service-list li a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

#service .service-list li a p{
    position: relative;
    z-index: 2;
    color: #fff;
}
#service .service-list li a .service-item-title{
    font-size: 1.6rem;
    margin-bottom: 20px;
}
#service .service-list li a .service-item-text{
    max-width: 450px;
}
#service .service-list li a .more {
    position: absolute;
    right: 30px;
    bottom: 30px;
    font-family: "Ubuntu", sans-serif;
    transition: transform 0.3s ease;
}
#service .service-list li a:hover .more {
    transform: translateX(6px);
}


/* works  -------------------------------- */
#works{
    width: 100%;
    background: linear-gradient(to bottom, #EEF4FF 20%, #fff);
    padding: 60px 0;
}

#works .section-title .en{
    color: #fff;
}
#works .section-title .ja{
    margin-left: 5%;
}

#works .main-wrap{
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
#works .main-wrap .info-wrap{
    width: 250px;
    flex-shrink: 0;
    margin-right: 60px;
}
#works .main-wrap .info-wrap p{
    margin-top: 20px;
    margin-bottom: 60px;
}

#works .main-wrap .works-list{
    width: calc(100% - 200px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
#works .main-wrap .works-list li{
    width: 100%;
}
#works .main-wrap .works-list li a{
    display: block;
    width: 100%;
    text-decoration: none;
}
#works .main-wrap .works-list li a:hover{
    opacity: 1;
}

#works .main-wrap .works-list li a .img-area{
    width: 100%;
    aspect-ratio: 3 / 2;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 5px;
}
#works .main-wrap .works-list li a .img-area img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
#works .main-wrap .works-list li a:hover .img-area img{
    transform: scale(1.08);
}

#works .main-wrap .works-list li a .img-area .works-category{
    width: 40%;
    min-width: 100px;
    height: 40px;
    background-color: #fff;
    border-radius: 0 10px 0 0;
    text-align: center;
    padding-top: 10px;
    position: absolute;
    bottom: -1px;
    left: -1px;
    z-index: 10;
}

#works .main-wrap .works-list li a .works-date{
    font-size: 0.8rem;
    margin-bottom: 5px;
}
#works .main-wrap .works-list li a .works-title{
    font-size: 1.15rem;
    line-height: 1.2em;
    font-weight: 500;
}

/* instagram  ---------------------------- */
#instagram{
    width: 100%;
    padding: 100px 10% 160px;
}

#instagram .section-title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
#instagram .section-title .insta-icon{
    width: 80px;
    height: 80px;
    display: block;
    margin-right: 5px;
}
#instagram .section-title .en{
    color: #335592;
}


#instagram .feed-wrap{
    width: 90%;
    background-color: #EEF4FF;
    border-radius: 20px;
    padding: 60px;
    margin: -30px auto 0;
}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* strength  ----------------------------- */
    #strength{
        background-attachment: scroll;
    }

    #strength .list-area{
        width: 70%;
        flex-direction: column;
        justify-content: flex-end;
    }
    #strength .list-area ul{
        margin-right: 0;
        margin-bottom: 30px;
    }
    #strength .list-area li{
        width: 100%;
        max-width: 555px;
    }

    /* works  -------------------------------- */
    #works .main-wrap .works-list{
        grid-template-columns: repeat(1, 1fr);
    }

    #works .main-wrap .works-list li{
        width: 80%;
        margin: 0 auto;
    }

    /* instagram  ---------------------------- */
    #instagram{
        padding: 100px 5%;
    }

    #instagram .section-title .insta-icon{
        width: 60px;
        height: 60px;
    }

    #instagram .feed-wrap{
        width: 100%;
        margin: -20px auto 0;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* main-visual --------------------------- */
    #main-visual{
        height: 740px;
    }

    #main-visual .img-area{
        width: 100%;
        display: flex;
        overflow-x: hidden;
    }
    #main-visual .img-area .mv-list li{
        width: 370px;
        margin-right: 10px;
    }
    #main-visual .text-area{
        width: 100%;
        height: auto;
        top: 370px;
        left: 0;
        padding: 0 5%;
    }
    #main-visual .text-area .main-copy{
        font-size: 2.13rem;
        margin-top: 60px;
        margin-bottom: 10px;
    }
    #main-visual .text-area .main-copy .small{
        font-size: 1.8rem;
    }
    #main-visual .text-area .sub-copy{
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    #main-visual .text-area .text{
        width: 100%;
    }

    /* strength  ----------------------------- */
    #strength .section-title .ja{
        writing-mode: horizontal-tb;
        margin-left: 5%;
    }

    #strength .list-area{
        width: 90%;
        justify-content: center;
        margin-top: 40px;
        margin-left: 5%;
        margin-bottom: 80px;
    }
    #strength .list-area li{
        padding: 40px;
    }
    #strength .list-area li .list-title{
        font-size: 1.33rem;
        margin-bottom: 30px;
    }
    #strength .list-area li .list-title::before{
        width: 45px;
        height: 38px;
        top: -20px;
        left: -15px;
    }
    #strength .list-area li .list-title::after{
        bottom: -15px;
    }


    /* service  ------------------------------ */
    #service .service-list{
        margin: 40px 5%;
    }

    #service .service-list li a{
        padding: 30px 30px;
    }
    #service .service-list li a:hover::before {
        transform: scale(1);
    }

    #service .service-list li a .service-item-title{
        font-size: 1.33rem;
        margin-bottom: 15px;
    }
    #service .service-list li a .service-item-text{
        width: 100%;
    }
    #service .service-list li a:hover .more {
        transform: translateX(0);
    }

    /* works  -------------------------------- */
    #works{
        padding: 40px 0;
    }

    #works .main-wrap{
        flex-direction: column;
        justify-content: center;
    }
    #works .main-wrap .info-wrap{
        width: 100%;
        margin-right: 0;
        margin-bottom: 60px;
    }
    #works .main-wrap .info-wrap p{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #works .main-wrap .info-wrap .btn{
    margin: 0 0 0 auto;
    }

    #works .main-wrap .works-list{
        width: 100%;
    }

    /* instagram  ---------------------------- */
    #instagram{
        padding: 40px 5%;
    }

    #instagram .section-title .insta-icon{
        width: 35px;
        height: 35px;
    }

    #instagram .feed-wrap{
        padding: 30px;
        margin: -10px auto 0;
    }

}

