@charset "UTF-8";

/* works top */
.sub-top-cover.worksimg {
    background-image: url("../img/cover/cv_works.webp");
}

/* works list */
.sub-works {
    padding: 50px 0;
}
.sub-works .container {
    display: flex;
    flex-direction: column;
}
.sub-works-body {
    display: flex;
    /* flex-direction: row-reverse; */
    /* justify-content: space-between; */
    /* 20260305-追加-「WORKS非表示」 */
    justify-content: center;
}
.works-list {
    display: flex;
    flex-direction: column;
}
.works-list-item .js-rest-api {
    display: grid;
    padding-right: 20px;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 25px;
    justify-content: start;
    max-width: 270px;
}
.works-item {
    border: 1px solid #222831;
    border-radius: 20px;
    margin-bottom: 30px;
    background: #FFFFFF;
    width: 250px;
}
.works-item.show {
    display: block;
}
.item-head {
    height: 35px;
    background-color: #393E46;
    border-radius: 17px 17px 0 0;
}
.category {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    padding: 4px 10px;
    margin-top: 10px;
    font-size: 12px;
    border: 1px solid #393E46;
    background: #FFFFFF;
    border-radius: 20px;
    line-height: 1.5;
}
.category-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    width: 20%;
}
.category-button {
    border: 1px solid #393E46;
    border-radius: 20px;
    background: #FFFFFF;
    color: #393E46;
    font-size: 11.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.category-button.active {
    background: #393E46;
    color: #FFFFFF;
}
.pagination {
    display: none;
}
.sp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px;
    list-style-type: none;
    margin-top: 50px;
    border-radius: 20px;
}
.sp-pagination li {
    box-sizing: border-box;
    width: 2em;
    height: 2em;
    border-radius: 25px;
    color: #393E46;
    font-size: 14px;
    padding: 5px;
    line-height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.current {
    background-color: #393E46;
    color: #FFFFFF;
    border: 1px solid #393E46;
    pointer-events: none;
}
.pagination li {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border-radius: 25px;
    color: #393E46;
    font-size: 14px;
    padding: 5px;
    line-height: 1rem;
}
.current {
    background-color: #393E46;
    border: 1px solid #393E46;
    pointer-events: none;
}
.current a {
    color: #FFFFFF;
}
/* 20260305-追加-「WORKS非表示」 */
/* .next,
.prev {
    background-color: transparent;
    border: 1px solid #393E46;
    width: 2em;
    height: 2em;
}
.next {
    padding-left: 7px;
}
.prev {
    padding-left: 3px;
} */
.pagination a:not(:hover) {
    text-decoration: none;
}
.pagination a:hover {
    opacity: .45;
}
.pagination .current a {
    color: #FFFFFF;
    pointer-events: none;
}
.sub-works .sub-works-body .subline {
    display: block;
    width: 100%;
}
.subline.noneview {
    display: none !important;
}

/* 20260305-追加-「WORKS非表示」 */
.works-hidden {
    padding: 40px 0 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.works-hidden p {
    font-size: 22px;
}
.hidden {
    display: none;
}

/* ------- TABLET#sub-contents  ------- */
@media (min-width: 768px) and (max-width: 1240px) {

#sub-contents  .sub-works .container,
#sub-contents  .equipment-body .container {
    padding: 0 50px;
    margin: auto;
}

}


/* ------- 768px以上 ------- */
@media (min-width: 768px) {

/* works list */
.sub-works-body {
    flex-direction: column;
    padding: 90px 0;
    width: 100%;
}
.works-list-item .js-rest-api {
    margin-top: 50px;
    padding: 0;
    max-width: none;
}
.works-item {
    margin-bottom: 30px;
    width: auto;
}
.item-text.jpn {
    line-height: 2rem;
    height: 70px;
    max-height: 70px;
}
.item-title {
    padding-bottom: 25px;
}
.item-detail {
    margin-bottom: 25px;
}
.category-menu {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-start;
    margin-bottom: 20px;
    width: 100%;
}
.category-button:hover {
    background-color: #393E46;
    color: #FFFFFF;
    border: 1px solid #393E46;
    transition: background-color 0.8s ease;
}
.sp-category-menu {
    display: none;
}
.category-button {
    width: 100px;
    height: 35px;
    font-size: 14px;
    font-weight: bold;
}
.category {
    width: 110px;
    height: 30px;
    font-size: 14px;
    font-weight: bold;
}
.subline.noneview {
    display: block !important;
}
.works-item-noneview {
    display: block;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    margin-top: 50px;
    gap: 0 30px;
}
.sp-pagination {
    display: none;
}
.pagination li {
    font-size: 17px;
    width: 2.5em;
    height: 2.5em;
    font-weight: bold;
    padding: 12px;
    line-height: 5rem;
}
.next,
.prev {
    width: 2.5em;
    height: 2.5em;
}
.next {
    padding-left: 15px;
}
.prev {
    padding-left: 8px;
}

/* 20260305-追加-「WORKS非表示」 */
.works-hidden {
    padding: 110px 0;
}
.works-hidden p {
    font-size: 32px;
}
.hidden {
    display: none;
}


}