/** project
--------------------------------------------------*/

.project__list {
    margin-top: 40rem;
}

.project__item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    margin-top: 40rem;
}

.project__thumb {
    width: 656rem;
    z-index: 1;
}

.project__thumb>img {
    width: 656rem;
    height: auto;
}

.project__item:nth-child( 2n - 1)>.project__thumb {
    order: 1;
}

.project__item:nth-child( 2n)>.project__thumb {
    order: 2;
}

.project__detail {
    padding-bottom: 20rem;
    width: 544rem;
    z-index: 1;
}

.project__item:nth-child( 2n - 1)>.project__detail {
    margin-left: 20rem;
    order: 2;
}

.project__item:nth-child( 2n)>.project__detail {
    margin-right: 20rem;
    order: 1;
}

.project__title-main {
    margin-top: 20rem;
    width: 100%;
    text-align: left;
}

.project__title-main>img {
    width: 213rem;
    height: auto;
}

.project__title-sub {
    margin-top: 20rem;
    width: 100%;
    text-align: left;
}

.project__title-sub>img {
    width: auto;
    height: 30rem;
}

.project__text {
    margin-top: 20rem;
    width: 100%;
    height: 90rem;
    font-size: 20rem;
    line-height: 1.5;
    text-align: left;
    overflow-y: hidden;
}

.project__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20rem;
    transition: all 200ms ease-in-out;
    cursor: pointer;
}

.project__btn:hover {
    transform: translate(-4rem, -4rem);
}

.project__btn>img {
    width: 410rem;
}

.project__btn a>img {
    width: 410rem;
}

.project__item::before,
.project__item::after {
    content: '';
    position: absolute;
    width: 1280rem;
    height: 300rem;
    bottom: 40rem;
    background-color: #e9e9e9;
}

.project__item::before {
    left: 50%;
    transform: translateX( -50%);
    -webkit-transform: translateX( -50%);
    -ms-transform: translateX( -50%);
    border-radius: 300rem;
}

.project__item:nth-child( 2n - 1)::after {
    left: 0;
}

.project__item:nth-child( 2n)::after {
    right: 0;
}

@media screen and ( max-width: 768px) {
    .project__detail {
        width: 100%;
        padding-bottom: 40rem;
    }
    .project__thumb {
        width: 100%;
    }
    .project__thumb>img {
        width: 100%;
    }
    .project__title-main {
        margin-top: 20rem;
    }
    .project__title-main>img {
        width: 213rem;
    }
    .project__title-sub {
        margin-top: 20rem;
    }
    .project__text {
        margin-top: 20rem;
        height: 90rem;
        font-size: 21rem;
    }
    .project__btn {
        margin-top: 20rem;
    }
    .project__btn>img {
        width: 410rem;
    }
    .project__item::before,
    .project__item::after {
        width: 100%;
        height: 310rem;
        bottom: 10rem;
    }
    .project__item::before {
        border-radius: 310rem;
    }
    .project__item:nth-child( 2n - 1)::after {
        left: -50%;
    }
    .project__item:nth-child( 2n)::after {
        right: -50%;
    }
    .project__item:nth-child( 2n)>.project__thumb {
        order: 1;
    }
    .project__item:nth-child( 2n)>.project__detail {
        order: 2;
    }
    .project__item:nth-child( 2n - 1)>.project__detail {
        margin-left: 0;
    }
    .project__item:nth-child( 2n)>.project__detail {
        margin-right: 0;
    }
    .project__item:nth-child( 2n - 1)>.project__detail>.project__title-main,
    .project__item:nth-child( 2n - 1)>.project__detail>.project__title-sub,
    .project__item:nth-child( 2n - 1)>.project__detail>.project__text {
        padding-right: 70rem;
    }
    .project__item:nth-child( 2n)>.project__detail>.project__title-main,
    .project__item:nth-child( 2n)>.project__detail>.project__title-sub,
    .project__item:nth-child( 2n)>.project__detail>.project__text {
        padding-left: 70rem;
    }
}