@charset "utf-8";

/*---------------------------------
work
---------------------------------*/
.work_list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}
.work_item {
    /* padding: 20px 15px; */
    margin: 50px 30px 30px;
    box-sizing: border-box;
    width: calc((1100px / 2) - 60px);
}
.work_title {
    text-align: left;
    /* font */
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}
.work_title > span {
    display: block;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    /* font */
    font-family: 'ivypresto-headline';
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1;
}
.work_img img {
    width: calc((1100px / 2) - 60px);
    max-width: unset;
}
.work_img figure {
    width: calc((1100px / 2) - 60px);
    height: 280px;
    overflow: hidden;
    display: block;
}
.work_img {
    position: relative;
    display: block;
}
.work_text {
    display: flex;
    justify-content: left;
    margin-top: 20px;
    /* font */
    font-size: 1.4rem;
}
.work_item .btn {
    margin-top: 20px;
    width: auto;
    color: #333;
    background-color: #e6e6e6;
    border: none;
}
.work_item .btn:hover {
    background-color: #333;
    color: #fff;
}
.work_item .category {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 145px;
    padding: 4px;
    font-family: 'ivypresto-headline';
    font-weight: 600;
    font-size: 2.0rem;
    color: #fff;
    text-align: center;
    background-color: #333;
}
.work_item .num {
    position: absolute;
    bottom: -40px;
    right: 10px;
    display: block;
    font-family: 'ivypresto-headline';
    font-weight: 600;
    font-size: 7.0rem;
    color: #f39800;
}
@media screen and (max-width:1024px) {
    .work_list {
        justify-content: center;
    }
    .work_item {
        width: 100%;
        padding: 0;
        margin: 20px auto;
    }
}
.work_category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.work_category p {
    display: block;
    width: 17%;
    font-size: 2.2rem;
    font-weight: 700;
}
.category_list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 90%;
    padding: 0 20px;
    border-left: solid 1px #333;
}
.category_list li {
    margin-right: 20px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-family: 'ivypresto-headline';
    font-weight: 600;
    color: #333;
    background-color: #e6e6e6;
}
.category_list li.active {
    background-color: #333;
}
.category_list li a {
    display: block;
    padding: 4px 20px;
}
.category_list li.active a {
    color: #fff;
}
@media screen and (max-width:1024px) {
    #work .inner {
        background-position-x: -30px;
        background-position-y: 400px;
        background-size: contain;
        padding: 35px 2%;
        width: 100%;
    }
    .work_category {
        flex-direction: column;
    }
    .work_category p {
        width: 100%;
    }
    .category_list {
        width: 100%;
        padding: 10px 0 0;
        border-top: solid 1px #333;
        border-left: none;
    }
    .category_list li {
        margin-right: 10px;
    }
    .work_list {
        margin: 0 auto;
        justify-content: center;
    }
    .work_item {
        width: 100%;
        padding: 0;
        margin: 20px auto;
    }
    .work .btn {
        width: 90%;
        margin: 0 auto;
    }
    .work_img img {
        width: 100%;
        max-width: unset;
    }
    .work_img figure {
        width: 100%;
        height: 190px;
        overflow: hidden;
        display: block;
    }
}
