@charset "utf-8";

/* ============WORKS=========== */

.section--works {
    background: url(../img/bg_desk.jpg);
    background-size: contain;
    background-repeat: repeat;
    text-align: center;
    position: relative;

}

.works__title p {
    font-family: "Zen Kurenaido", sans-serif;
    margin-top: 4px;
}

.works__title {
    margin-bottom: 12px;
}

.works_data {
    text-align: left;
    margin-top: 12px;
}

.data_item {
    border-bottom: solid 1px var(--primary-black, #341500);
    padding: 12px 0;
}

.topic {
    margin: 50px 0 30px;
    padding-bottom: 0;
}

h3 {
    font-size: 1.4rem;
}
.section--works::after {
    content: '';
    position: absolute;
    top: 180px;
    left: 0;
    right: 0;
    bottom: 0px;
    background: url(../img/img_bgc_skb.jpg) no-repeat center / cover;
    border-radius: 25px 25px 0 0;
    z-index: 1;
}

.section--works__content {
    position: relative;
    z-index: 2;
}

.works__content {
    padding-top: 75px;
    max-width: 327px;
    width: 100%;
    margin: 0 auto;
}

.works__item {
    margin-bottom: 50px;
}

.works__sentence {
    margin-top: 8px;
    text-align: left;
}

.section--works h2 {
    border-bottom: solid 1.5px #341500;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.work_img {
    margin: 24px 0 0;
}

.work_img img {
    margin-bottom: 24px;
}

.other_works {
    background-image: url(../img/bg_desk.jpg);
    background-size: contain;
    background-repeat: repeat;
    padding: 50px 0;
    text-align: center;
}

.slider-wrapper {
    overflow: hidden;
    display: flex;
} 

.slider {
    animation: scroll-left 20s linear infinite 0s both;
    display: flex;
}

.slide {
    width: calc(100% / 1);
    margin-right: 48px;
}

.slide a {
    display: block;
    width: 40vw;
    transition: 0.4s;
}

.slide a img {
    box-shadow: 0 8px 8px gray;
}

.slide a:hover {
    opacity: 0.5;
}

.btn {
    margin-top: 32px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.section--works::before {
    content: '';
    display: block;
    background-image: url(../img/sp_skb_top_sp.svg);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: 300px;
    width: 90%;
    height: 100px;
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
}



/* PC */
@media screen and (min-width:1280px) {


    .section--works__content {
        border-radius: 50px 50px 0 0 ;
    }

    .works__content {
        max-width: 1160px;
        width: 100%;
        margin: 0 auto;
        padding-top: 50px;
    }

    .section--works h2 {
        border-bottom: solid 3px #341500;
    }

    .topic {
        margin: 0 0 90px;
    }

    .section--works {
        padding-top: 200px;
    }
    .section--works::after {
        content: '';
        position: absolute;
        top: 365px;
        left: 0;
        right: 0;
        bottom: 0;
        background: url(../img/img_bgc_skb.jpg) no-repeat center / cover;
        border-radius: 50px 50px 0 0;
        z-index: 1;
    }

    .main_img_sp, .span_tab {
        display: none;
    }

    .works__sentence {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .work_img img:last-child {
        margin-bottom: 0;
    }

    .works__content h2 {
        padding: 100px 0 0;
        border-bottom: 0;
        font-size: 3.2rem;
    }

    .works__title p {
        font-size: 2.4rem;
        padding: 100px 0 0;
    }
    
    .works__title {
        display: flex;
        justify-content: space-between;
        border-bottom: solid 3px var(--primary-black, #341500);
        padding-bottom: 8px;
    }

    .txt {
        font-size: 2rem;
        width: 420px;
        text-align: left;
        padding: 20px 0;
    }

    .data_item {
        display: flex;
        justify-content: space-between;
        width: 550px;
    }

    .works_data {
        order: 2;
    }

    .work_img {
        order: 1;
        max-width: 600px;
        margin-right: 30px;
    }

    h3 {
        padding-top: 20px;
        font-size: 2rem;
    }

    .slide a {
        width: 15vw;
    }

    .other_works {
        padding: 100px 0; 
    }

    .other_works h1 {
        margin-bottom: 48px;
    }

    .btn {
        margin-top: 48px;
    }

    .section--works::before {
        background-size: 1200px;
        top: 325px;
    }
}



/* TAB */
@media screen and (min-width:769px) and (max-width: 1279px) {
    .works__title p {
        font-size: 2.4rem;
    }
    
    .works__content {
        display: initial;
        display: inline-block;
        max-width: 1160px;
        padding-top: 0;
        margin: 100px 0 ;
    }

    .section--works h2 {
        border-bottom: solid 2px #341500;
        font-size: 3.2rem;
    }

    .section--works__content {
        border-radius: 50px 50px 0 0 ;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        max-height: 4618px;
    }

    .topic{
        margin: 0 0 90px;
    }

    .section--works::before {
        content: '';
        display: block;
        background-image: url(../img/sp_skb_top_sp.svg);
        background-size: contain;
        background-repeat: repeat-x;
        width: 87%;
        height: 100px;
        position: absolute;
        top: 343px;
        right: 0;
        left: 0;
        margin: 0 auto;
        z-index: 2;
    }

    .section--works::after {
        content: '';
        position: absolute;
        top: 365px;
        left: 0;
        right: 0;
        bottom: 0;
        background: url(../img/img_bgc_skb.jpg) no-repeat center / cover;
        border-radius: 25px 25px 0 0;
        z-index: 1;
    }

    .data_item h3, .data_item p {
        font-size: 1.6rem;
    }

    .data_item p {
        margin: 10px 0;
    }

    .br_tab {
        display: none;
    }

    .slide a {
        width: 25vw;
    }

    .other_works.topic {
        margin: 0 0 0 0;
        margin-bottom: 48px;
        padding-top: 0;
    }

    .btn {
        margin-top: 48px;
    }

    .other_works {
        padding: 50px 0 100px;
    }

    .main_img_pc {
        display: none;
    }

    .work_img img:last-child {
        margin-bottom: 0;
    }


    .section--works::before {
        background-size: 600px;
        width: 90%;
        height: 100px;
        top: 345px;
    }

}


/* SP */
@media screen and (max-width:768px) {
    .section--works::after {
        content: '';
        position: absolute;
        top: 180px;
        left: 0;
        right: 0;
        bottom: 0;
        background: url(../img/img_bgc_skb.jpg) no-repeat center / cover;
        border-radius: 25px 25px 0 0;
        z-index: 1;
        min-height: 62.2%;
    }

    .main_img_pc, .span_tab  {
        display: none;
    }
}


/* ============WORKS=========== */
