@charset UTF-8;

main {
    width: 100%;
    margin: 0 auto;
}

.main-visual {
    max-width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
    margin-bottom: 100px;
    position: relative;
}

.main-visual p {
    font-size: 24px;
    letter-spacing: 3px;
    color: #f1f1f3;
    position: absolute;
    bottom:10%;
    left:10%;
}

.concept {
    margin: 0 auto;
    margin-bottom: 100px;
    position: relative;
}

.concept img {
    width: 100vw;
    height:auto;
}
.concept p {
    color: #f1f1f3;
    font-size: 16px;
    line-height: 3em;
    position: absolute;
    bottom:10%;
    right:10%;
}

.production {
    width: 100vw;
    overflow: hidden;
}

.production_img_wrap {
    width: 500%;
    display: flex;
    margin-bottom: 80px;
}

.production_img {
    display: flex;
}

.production_img {
    display: flex;
    animation: loopAnimation 60s linear infinite;
}

@keyframes loopAnimation {
    0% {
    transform: translate(0%);
    }
    100% {
    transform: translate(-100%);
    }
}

.production p {
    font-size: 16px;
    line-height: 2.5em;
    text-align: center;
    margin-bottom: 100px;
}

.about p {
    font-size: 16px;
    line-height: 2.5em;
    text-align: center;
    margin-bottom: 100px;
}

.works_wrap {
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 100px;
}

.works {
    display: flex;
    justify-content: space-between;
    padding:30px 0 30px 60px;
    border-top: 2px solid #dbdbdd;
    align-items: flex-end;
}

.kiyosumi {
    border-bottom:2px solid #dbdbdd;
}

.works p {
    font-size: 14px;
    line-height: 1.7em;
}

.slider ul {
    display: flex;
    gap: 20px;
    max-width: 800px;
    overflow: hidden;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    width: 100vw;
    }
      
.slider li {
    max-width: 512px;
    flex: 0 0 512px;
    scroll-snap-align: start;
    object-fit: cover;
    filter: grayscale(1);
    transition: .3s ease-in-out;
    }

.slider li:hover {
    filter: none;
}

@media screen and (max-width: 960px) {
    .main-visual p {
        max-width: 930px;
        width: 100%;
        font-size: 20px;
    }

    .concept {
        margin: 0 auto;
        margin-bottom: 100px;   
    }

    .concept img {
        max-width: 960px;
        width: 100vw;
        height: 650px;
    }

    .concept p {
        font-size: 16px;
        line-height: 3em;
        width: 75%;
        margin: 0 auto;
        position: absolute;
        bottom: 10%;
        left:10%;
    }

    .works {
        display: block;
        border-top: 2px solid #dbdbdd;
        padding: 35px 0 30px 25px;
    }

    .works p {
        align-items: flex-start;
        font-size: 14px;
        line-height: 1.7em;
        margin-bottom: 30px;
    }
    
    .slider ul {
        max-width: 960px;
    }

    .slider li {
        width: 420px;
        flex: 0 0 420px;
        scroll-snap-align: start;
        object-fit: cover;
        filter: none;
    }
}

@media screen and (max-width: 767px) {
    .main-visual {
        max-width: 500px;
        padding: 0 20px;
        margin: 0 auto;
        margin-bottom: 100px;
        position: relative;
    }

    .concept img {
        max-width: 767px;
        width: 100vw;
        height: 700px;
    }

    .concept p {
        font-size: 14px;
        line-height: 2.5em;
    }

    .production_img_wrap {
        width: 1000%;
        display: flex;
        margin-bottom: 80px;
    }

    .production p {
        width: 70%;
        font-size: 14px;
        line-height: 2em;
        margin: 0 auto;
        margin-bottom: 100px;
        text-align: start;
    }

    .about p {
        width: 70%;
        font-size: 14px;
        line-height: 2em;
        margin: 0 auto;
        margin-bottom: 100px;
        text-align: start;
    }

    .slider li {
        width: 300px;
        flex: 0 0 300px;
    }
}
