@charset "utf-8";

.mockup {
    margin: 0 auto;
    max-width: 360px;
    padding-top: 76px;
}

.works__list,
.subtitle,
.size {
    padding: 0 8%;
}

.subtitle {
    margin-top: 60px;
}

.works__contents {
    margin-top: 40px;
}

.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-color: #FFFFA8;
}

.mainColor {
    height: 46px;
    background-color: #FFCD29;
}

.accentColor {
    height: 46px;
    background-color: #FF8378;
}


.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;
}

.sc {
    padding: 48px 12% 80px;
    background-color: var(--lightgray);
}

.sc img {
    margin-top: 15px;
}


/* 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;
}

.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;
}

.mauve__bg {
    background-color: #faeef0;
}

.portfolio__bg {
    background: var(--red);
}

.bannerS__bg {
    background-color: #000000;
}

.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: 1100px;
        padding-top: 146px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .works__list,
    .subtitle,
    .size {
        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%;
    }

    .baseColor,
    .mainColor,
    .accentColor {
        height: 101px;
    }

    .colorCode {
        font-size: 1.5rem;
    }

    .colorCode:nth-of-type(2) {
        margin-left: 45%;
    }

    .sc img {
        margin-top: 15px;
    }

    .spBr {
        display: none;
    }


    /* 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;
    }

    .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),
    .works__item:nth-of-type(2) {
        margin-top: 12px;
    }

    .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;
    }

    .works__bg1 {
        display: block;
        width: 100%;
        height: 10px;
        margin-top: -78px;
    }

    .works__subtitle {
        margin-top: 7px;
        padding: 0;
    }

    .sc {
        padding: 48px 0 80px;
        display: flex;
        justify-content: center;
    }

    .sc img {
        width: 300px;
        height: 250px;
        margin: 0 auto;
    }




}