@charset "utf-8";

/* ======================
.main
====================== */
/* article header */
.mainImg {
    position: absolute;
}

.mainImg .mainImg__sp {
    display: block;
}

.mainImg__pc {
    display: none;
}

.mainImg__sp {
    display: block;
}

.section--works .section__topic {
    margin-top: 20px;
}

.decoration_X_sp {
    position: relative;
    top: 0;
    width: 100vw;
}

.decoration_X {
    display: none;
}

/* article header pc */
@media screen and (min-width: 769px) {
    .mainImg .mainImg__pc {
        display: block;
        width: 100vw;
    }

    .mainImg .mainImg__sp {
        display: none;
    }

    .mainImg {
        position: absolute;
    }

    .decoration_X {
        display: block;
        position: relative;
        top: 0;
        width: 100vw;
    }

    .decoration_X_sp {
        display: none;
    }
}/* pc 769px */

/* ======================
.works
====================== */
.section--works {
    width: 100%;
    margin: 0 auto;
    margin-top: 8%;
}

.works__name {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.works__txt {
    font-size: 1.3rem;
    font-weight: 400;
    color: #a095aa;
    text-align: center;
}

.works__decoration2_pc {
    display: none;
}

.works__decoration2_sp {
    margin-top: 70px;
}

.works__item {
    margin: 0 auto;
    margin-top: 80px;
}

.works__item:first-of-type {
    margin-top: 0;
}

.worksItem {
    position: relative;
}

.works__imgAfter {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.5s;
}

.works__imgBefore:hover {
    opacity: 0;
}

.works__imgAfter:hover {
    opacity: 1;
}

.wroks__btn {
    margin-top: 5px;
    padding-right: 9%;
}

/* .works pc */
@media screen and (min-width: 600px) {
    .works__decoration2_sp {
        display: none;
    }

    .works__decoration2_pc {
        display: block;
        margin-top: 50px;
    }
}/* pc 600px */

@media screen and (min-width: 769px) {
    .section--works {
        max-width: 1400px;
    }

    .works {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
        max-width: 100%;
        padding: 0 7%;
    }

    .works__item {
        width: 50%;
        padding: 3%;
        margin-top: 50px;
    }

     .works__item:nth-child(2) {
        margin-top: 0;
    }
}/* pc 769px */

/* ======================
.about
====================== */
.about {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

.about__item {
    text-align: center;
}

.about__img img {
    max-width: 250px;
    margin: 0 auto;
}

.about__content {
    margin-top: 40px;
}

.about__name {
    font-size: 2.0rem;
    font-weight: 700;
}

.about__txt {
    width: 80%;
    max-width: 400px;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
    line-height: 1.8;
    margin: 0 auto;
    margin-top: 10px;
}

.about__txtSkills {
    font-size: 1.3rem;
    color: #a095aa;
}

.about__btn {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}


/* .about pc */
@media screen and (min-width: 990px) {
    .section--about {
        margin: 100%;
        margin: 0 auto;
    }

    .about {
        padding: 0px 13.8%;
        margin-top: 60px;
    }

    .about__item {
        display: flex;
        align-items: center;
        gap: 40px;

    }

    .about__img img {
        max-width: 350px;
    }

    .about__content {
        width: 70%;
    }

    .about__name {
        font-size: 2.4rem;
        font-weight: 700;
        text-align: center;
    }

    .about__txt {
        font-weight: 400;
        text-align: left;
        width: 75%;
        margin: 0 auto;
        margin-top: 15px;
    }

    .about__btn {
        display: inline-block;
        width: 85%;
        margin-right: 40px;
    }
}/* pc 990px */

/* ======================
.otherMenu
====================== */
.section__otherMenu {
    margin-top: 80px;
}

.section__photograph {
    margin-top: 70px;
}

.decoration3_sp {
    margin-top: 30px;
}

.decoration3_pc {
    display: none;
}

/* .otherMenu pc */
@media screen and (min-width: 600px) {
    .decoration3_sp {
        display: none;
    }

    .decoration3_pc {
        display: block;
        margin-top: 50px;
    }
}/* pc 600px */

@media screen and (min-width: 769px) {
    .section__otherMenu {
        padding: 0 100px;
        margin-top: 200px;
    }

    .section__photograph {
        margin-top: 80px;
    }
}/* pc 769px */
