@charset "utf-8";

.mockup {
    margin: 0 auto;
    padding-top: 76px;
    position: relative;
}

.mockupSp {
    width: 28%;
    transform: rotate(-15.88deg);
    z-index: 100;
    margin: 0 0 0 10%;
}

.mockupPc {
    width: 75%;
    display: block;
    margin-left: auto;
    margin-top: -50px;
    z-index: 50;
}

.sweetsImg1 {
    width: 29%;
    position: absolute;
    bottom: 10px;
    left: 11%;
    z-index: -1;
}

.sweetsImg2 {
    width: 14%;
    position: absolute;
    top: 40%;
    right: 12%;
    z-index: -1;
    transform: rotate(-34deg);
}

.sweetsImg3 {
    width: 16%;
    transform: rotate(13.743deg);
    position: absolute;
    top: 40%;
    right: 2%;
}

.works__list,
.subtitle,
.url {
    padding: 0 8%;
}

.subtitle {
    margin-top: 60px;
}

.url a {
    border-bottom: 1px solid var(--text);
}

.works__contents {
    margin-top: 40px;
}

.works__desc:nth-last-of-type(1) {
    width: 310px;
}

.themeColor {
    display: flex;
}

.colorList {
    display: block;
}

.colorList:nth-of-type(1) {
    width: 75%;
}

.colorList:nth-of-type(2) {
    width: 25%;
}

.colorList:nth-of-type(3) {
    width: 5%;
}

.baseColor {
    height: 46px;
    background-image: url(../images/fablic.jpg);
    background-size: cover;
}

.mainColor {
    height: 46px;
    background-color: #C9AA8D;
}

.accentColor {
    height: 46px;
    background-color: #663830;
}

.colorCode {
    display: inline-block;
    font-size: 0.8rem;
}

.colorCode:nth-of-type(2) {
    margin-left: 92px;
}

.colorCode:nth-of-type(3) {
    margin-left: auto;
}

.custom-shape-divider-bottom-1731140490 {
    margin-top: 35px;
    transform: translateY(3px);
}

.sc {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 30px 5%;
    background-color: var(--lightgray);
    gap: 15px;
}

.div1 {
    grid-area: 1 / 1 / 5 / 3;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

.div2 {
    grid-area: 1 / 3 / 4 / 5;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

.div3 {
    grid-area: 2 / 3 / 5 / 5;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

.div4 {
    grid-area: 1 / 5 / 5 / 6;
    text-align: end;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

.div5 {
    grid-area: 1 / 6 / 4 / 7;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.25));
}

/* all works */

.allWorks,
.title:nth-last-of-type(1) {
    background-color: var(--lightgray);
}

.allWorks {
    padding-bottom: 60px;
}

.title:nth-last-of-type(1) {
    margin-left: 0;
    padding-left: 10%;
}

.works__item {
    padding-top: 32px;
}

.allWorks__mockup {
    margin: 0 auto;
    max-width: 350px;
}

.allWorks__mockupSp {
    width: 105px;
    height: 153px;
    transform: rotate(-15.88deg);
    z-index: 10;
    margin: 0 0 0 10%;
}

.allWorks__mockupPc {
    width: 284px;
    height: 172px;
    margin: -55px 0 0 21%;
}

.banner1 {
    width: 300px;
    height: 163px;
    display: block;
    margin: 0 auto;
}

.banner2 {
    width: 300px;
    height: 250px;
    display: block;
    margin: 0 auto;
}

.works__bg1 {
    display: block;
    width: 100%;
    height: 10px;
    margin-top: -78px;
}

.works__bg2 {
    display: block;
    width: 100%;
    height: 20px;
    margin-top: 10px;
}

.works__bg3 {
    display: block;
    width: 100%;
    height: 50px;
    margin-top: 10px;
}

.portfolio__bg {
    background: var(--red);
}

.bannerS__bg {
    background-color: #000000;
}

.bannerE__bg:first-of-type {
    background-color: #ffffa8;
}

.bannerE__bg:nth-of-type(2) {
    background-color: #ffa8a8;
}

.bannerE__bg:nth-of-type(3) {
    background-color: #d3ffa8;
}

.works__subtitle {
    text-align: center;
    margin-top: 13px;
}

.allworks__desc {
    display: block;
    text-align: center;
}



/* works1 PC */
@media screen and (min-width: 769px) {
    .mockup {
        max-width: 76%;
        padding-top: 200px;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .mockupSp {
        width: 17%;
        transform: rotate(0);
        left: 23%;
        margin: 0 0 0 14%;
    }

    .mockupPc {
        width: 37%;
        margin-left: 0;
        margin-top: 0;
    }

    .sweetsImg1 {
        width: 21%;
        bottom: 0;
        left: 16%;
    }

    .sweetsImg2 {
        width: 9%;
        transform: rotate(-12deg);
        top: 29%;
        right: 15%;
    }

    .sweetsImg3 {
        width: 10%;
        transform: rotate(35deg);
        top: 34%;
        right: 9%;
    }

    .works__list,
    .subtitle,
    .url {
        padding: 0 15%;
    }

    .subtitle {
        margin-top: 38px;
    }

    .works__list {
        display: flex;
        flex-wrap: wrap;
        margin-top: 32px;
    }

    .works__contents,
    .works__desc {
        margin-bottom: 40px;
        line-height: 2;
    }

    .works__contents {
        margin: 0 20px 0 0;
        width: 13%;
        text-align: right;
    }

    .works__desc {
        width: 82%;
    }

    .works__desc:nth-last-of-type(1) {
        width: 60%;
    }

    .baseColor,
    .mainColor,
    .accentColor {
        height: 101px;
    }

    .colorCode {
        font-size: 1.5rem;
    }

    .colorCode:nth-of-type(2) {
        margin-left: 45%;
    }

    .spBr {
        display: none;
    }


    .div3 {
        grid-area: 2 / 3 / 5 / 5;
        margin-top: 0;
        

    }

    /* all works */

    .allWorks {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 40px;
        padding-bottom: 130px;
    }

    .works__item {
        margin-top: 0;
        width: calc((100% - 85px) / 2);
        max-width: 400px;
        transition: 0.4s;
    }

    .works__item:hover {
        transform: scale(0.9);
        transition: 0.4s;
    }

    .works__item:nth-of-type(1) {
        margin-top: 78px;
    }

    .works__item:nth-of-type(2) {
        margin-top: 65px;
    }

    .allWorks__mockup {
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .allWorks__mockupSp {
        width: 105px;
        height: 153px;
        margin: 0;
    }

    .allWorks__mockupPc {
        width: 284px;
        height: 172px;
        margin: 0;
    }

    .banner1 {
        width: 339px;
        height: 185px;
        display: block;
        margin: 0 auto;
    }

    .banner2 {
        width: 300px;
        height: 250px;
    }

    .works__bg1 {
        display: block;
        width: 100%;
        height: 10px;
        margin-top: -78px;
    }

    .works__subtitle {
        margin-top: 7px;
        padding: 0;
    }




}