/**
 * Mixin
 */
:root {
  --ww: 100vw;
  --pw: 1920;
}
@media (min-width: 1921px) {
  :root {
    --ww: 1920px;
  }
}
@media only screen and (max-width: 767px) {
  :root {
    --pw: 375;
  }
}

.page_ttl {
  background-image: url(../img/works/header.jpg);
}
@media only screen and (max-width: 767px) {
  .page_ttl {
    background-image: url(../img/works/sp_header.jpg);
  }
}

.page_subttl {
  color: #000000;
  padding: 200px 0 0;
}
@media only screen and (max-width: 767px) {
  .page_subttl {
    padding: 80px 0 0;
  }
}

.works_content {
  padding-bottom: 445px;
}
@media only screen and (max-width: 767px) {
  .works_content {
    padding-bottom: 140px;
  }
}

.page_subttl + .works_cat_link {
  margin-top: 90px;
}
@media only screen and (max-width: 767px) {
  .page_subttl + .works_cat_link {
    margin-top: 50px;
  }
}

.works_cat_link {
  display: flex;
  flex-wrap: wrap;
  max-width: 1040px;
  margin: 0 auto;
  row-gap: 15px;
  column-gap: 10px;
}

@media only screen and (max-width: 1155px) {
  .works_cat_link {
    max-width: 830px;
  }
}
@media only screen and (max-width: 923px) {
  .works_cat_link {
    max-width: 620px;
  }
}
@media only screen and (max-width: 767px) {
  .works_cat_link {
    max-width: 290px;
    row-gap: 10px;
  }
}
.works_cat_link a {
  width: 200px;
  height: 44px;
  line-height: 44px;
  border: 1px solid;
  color: #4a4949;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.works_cat_link a img {
  width: 25px;
}
@media only screen and (max-width: 767px) {
  .works_cat_link a {
    font-size: 1.2rem;
    width: 140px;
    height: 35px;
    line-height: 35px;
  }
  .works_cat_link a img {
    width: 16px;
  }
}
.works_cat_link .is-current {
  background-color: #006fb5;
  color: #fff;
}

.works_logind {
  text-align: center;
  margin: 60px 0 80px;
}
@media only screen and (max-width: 767px) {
  .works_logind {
    margin: 50px 0 20px;
  }
}
.works_logind p + p {
  margin-top: 20px;
}

.works_list {
  margin-top: 110px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 50px 10px;
  justify-content: center;
}
@media only screen and (max-width: 767px) {
  .works_list {
    margin-top: 30px;
    gap: 20px 15px;
  }
}

.works_item {
  width: calc((100% - 40px) / 5);
  max-width: 360px;
}
@media only screen and (max-width: 1332px) {
  .works_item {
    width: calc((100% - 30px) / 4);
  }
}
@media only screen and (max-width: 1063px) {
  .works_item {
    width: calc((100% - 20px) / 3);
  }
}
@media only screen and (max-width: 794px) {
  .works_item {
    width: calc((100% - 16px) / 2);
  }
}
@media only screen and (max-width: 530px) {
  .works_item {
    width: calc(100% - 16px);
  }
}

.works_item__shadow {
  -webkit-box-shadow: 0 0 5px 0 rgba(17, 51, 72, 0.2);
  box-shadow: 0 0 5px 0 rgba(17, 51, 72, 0.2);
}

.works_item__inner {
  width: 100%;
  height: 0;
  padding-top: 83.1896551724%;
  position: relative;
}

.works_item__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.2rem;
  height: 33px;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
@media only screen and (max-width: 767px) {
  .works_item__header {
    font-size: 1rem;
  }
}
.works_item__header img {
  margin-bottom: 5px;
}

.works_item_date {
  margin-left: auto;
}

.works_item__tmn {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.works_item__ni {
  width: 100%;
  height: 100%;
  background-color: #eee;
  top: 0;
  left: 0;
  position: absolute;
}

.works_item__pass_box {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.works_item__pass_box p {
  font-size: 1.3rem;
}
.works_item__pass_box p + p {
  margin-top: 5px;
}
.works_item__pass_box button {
  background-color: #c40900;
  color: #fff;
  border: 0;
  margin-top: 5px;
  font-size: 1.2rem;
  width: 115px;
  height: 34px;
  line-height: 34px;
  border-radius: 8px;
}

.works_item__ttl {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
}

.works_item__bottom {
  font-size: 1.2rem;
  padding: 0 10px;
  min-height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.works_item__label {
  border: 1px solid;
  padding: 0 7px;
}

.works_item__label + .works_item__label {
  margin-left: 5px;
}

.works_item__label--member {
  color: #c40900;
}

.works_item__inner--op {
  cursor: pointer;
}

.works_modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #fff;
  z-index: 999;
  padding: 85px 0 110px;
  width: 800px;
  max-width: 90%;
}
@media only screen and (max-width: 767px) {
  .works_modal {
    padding: 80px 0 40px;
  }
}

.is-show.works_modal {
  display: block;
  max-height: 90vh;
  overflow-y: auto;
}

.works_modal__close {
  position: absolute;
  left: 15px;
  top: 15px;
}

.works_modal__inner {
  width: 470px;
  max-width: 90%;
  margin: 0 auto;
}

.works_modal__tmn {
  margin-top: 15px;
}

.works_modal__tmn img {
  width: 100%;
}

.works_modal__dl {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.works_modal__dl dt,
.works_modal__dl dd {
  padding: 10px;
  border-bottom: #bcbcbc 1px solid;
  font-size: 1.4rem;
}
.works_modal__dl dt {
  width: 100px;
  font-weight: bold;
}
.works_modal__dl dd {
  width: calc(100% - 100px);
}

.navigation {
  margin: 88px auto 0;
  text-align: right;
}
@media only screen and (max-width: 767px) {
  .navigation {
    margin: 60px 0 0;
  }
}
.navigation span{
  color: #006fb5;
}
.page-numbers + .page-numbers::before {
  margin: 0 3px;
}

.dots.page-numbers {
  vertical-align: text-top;
}

