@charset "UTF-8";

/* かぎ括弧の調整 -------------------------- */
.kakko{
    text-indent: -1em;
    padding-left: 1em;
}

.kakko-left {
    margin-right: 0.2em;
}

/* 各section ----------------------------- */
#works section{
    width: 80%;
    display: flex;
    gap: 40px;
    padding: 90px 0;
    margin: 0 auto;
}
#works section:nth-child(even){
    flex-direction: row;
}
#works section:nth-child(odd){
    flex-direction: row-reverse;
}

#works section .img-wrap{
    width: 320px;
}
#works section .img-wrap img{
    object-fit: cover;
    overflow: hidden;
}

#works section .text-wrap{
    width: calc(100% - 320px - 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#works section:nth-child(even) .text-wrap{
    align-items: flex-end;
}
#works section:nth-child(odd) .text-wrap{
    align-items: flex-start;
}
#works section .text-wrap .section-title{
    font-size: 15px;
    font-weight: 400;
}
#works section .text-wrap .info-wrap{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#works section:nth-child(even) .text-wrap .info-wrap{
    margin: 0 0 0 auto;
}
#works section:nth-child(odd) .text-wrap .info-wrap{
    margin: 0 auto 0 0;
}
#works section .text-wrap .info-wrap .title-wrap{
    margin-bottom: 40px;
}
#works section .text-wrap .info-wrap .title-wrap .case{
    font-family: "League Spartan", sans-serif;
    font-size: 24px;
    color: #FF5F09;
}
#works section .text-wrap .info-wrap .title-wrap .title{
    font-family: "Shippori Mincho B1", serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4em;
}
#works section .text-wrap .info-wrap .description{
    width: 75%;
    max-width: 430px;
    position: relative;
}
#works section .text-wrap .info-wrap .description::before{
    content: "";
    width: 70px;
    height: 1px;
    background-color: #222;
    position: absolute;
    top: 15px;
    left: -90px;
}


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

/* 各section ----------------------------- */
#works section{
    width: 90%;
}

#works section .img-wrap{
    width: 35%;
}

#works section .text-wrap{
    width: calc(100% - 35% - 40px);
}
#works section .text-wrap .info-wrap .title-wrap{
    display: table;
    margin: 0 auto 40px 0;
}

}

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

    /* 各section ----------------------------- */
    #works section:nth-child(even){
        flex-direction: column-reverse;
    }
    #works section:nth-child(odd){
        flex-direction: column-reverse;
    }

    #works section .img-wrap{
        width: 100%;
    }

    #works section .text-wrap{
        width: 100%;
    }
    #works section:nth-child(odd) .text-wrap{
        align-items: flex-end;
    }
    #works section .text-wrap .info-wrap .description{
        width: 85%;
    }
    #works section .text-wrap .info-wrap .description::before{
        width: 30px;
        left: -40px;
    }

}