.works {
  padding-top: 140px;
}
@media screen and (min-width: 768px) {
  .works {
    padding-top: 180px;
  }
}
.works .pageTtl {
  margin-bottom: 40px;
}
.works .pageTtl .txt {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .works .pageTtl {
    margin-bottom: 106px;
  }
  .works .pageTtl .txt {
    margin-bottom: 32px;
  }
}
.works__body {
  padding-bottom: 100px;
}
.works__body__images {
  width: 100%;
  margin: 0 auto;
}
.works__body__images .item {
  width: calc(50% - 5px);
  margin-bottom: 10px;
  border-radius: 16px;
  overflow: hidden;
}
.works__body__images .item a {
  color: #fff;
  font-size: 14px;
  display: block;
  position: relative;
}
.works__body__images .item a::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.works__body__images .item a .ttl {
  width: 100%;
  height: 100%;
  padding: 0 10px 15px;
  display: flex;
  align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
.works__body__images .item a:hover {
  opacity: 1;
}
.works__body__images .item a:hover::before {
  opacity: 1;
}
.works__body__images .item a:hover .ttl {
  opacity: 1;
}
.works__body__images .item img {
  width: 100%;
  display: block;
}
@media screen and (min-width: 576px) {
  .works__body__images .item {
    width: calc((100% - 20px) / 3);
  }
}
@media screen and (min-width: 768px) {
  .works__body__images {
    padding-bottom: 200px;
  }
  .works__body__images .item {
    width: calc((100% - 30px) / 4);
  }
}
.works__modal {
  width: 100%;
  height: 100%;
  background-color: #FDFDF9;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: -100;
  pointer-events: none;
  transition: opacity 1s ease;
}
.works__modal.show {
  opacity: 1;
  z-index: 1050;
  pointer-events: auto;
}
.works__modal__header {
  width: 100%;
  height: 60px;
}
.works__modal__header > .u-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.works__modal__header__logo {
  max-width: initial;
  width: 106px;
  padding: 0 0 0 5px;
}
.works__modal__header__logo a, .works__modal__header__logo img {
  width: 100%;
  display: block;
}
.works__modal__header__closeBtn {
  width: 22px;
  height: 22px;
  padding-bottom: 15px;
  position: relative;
}
.works__modal__header__closeBtn span {
  -webkit-transform: translateX(-50%);
  display: block;
  position: absolute;
  left: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateX(-50%);
  background-color: #1c1c1c;
  transition: 0.3s;
  top: 10px;
  pointer-events: none;
}
.works__modal__header__closeBtn span:nth-of-type(1) {
  transform: translateX(-50%) rotate(45deg);
}
.works__modal__header__closeBtn span:nth-of-type(2) {
  transform: translateX(-50%) rotate(-45deg);
}
.works__modal__body {
  height: calc(100% - 60px);
}
.works__modal__body > .u-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.works__modal__body .arrowWrap {
  width: 100%;
  margin-bottom: 20px;
}
.works__modal__body .arrows {
  width: 72px;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
}
.works__modal__body .arrows__arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #1c1c1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.works__modal__body .arrows__arrow img {
  width: 8px;
  display: block;
}
.works__modal__body .arrows__arrow.prev img {
  transform: scale(-1, 1);
}
.works__modal__body__slider {
  width: 100%;
}
.works__modal__body__slideItem {
  width: 100%;
}
.works__modal__body__slideItem img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (min-width: 768px) {
  .works__modal__header {
    height: 100px;
  }
  .works__modal__header > .u-inner {
    justify-content: flex-end;
  }
  .works__modal__body {
    height: calc(100% - 200px);
  }
  .works__modal__body > .u-inner {
    width: calc(100% - 80px);
  }
  .works__modal__body .arrows__arrow {
    margin: auto 0;
    position: absolute;
    top: 0;
    bottom: 0;
  }
  .works__modal__body .arrows__arrow.prev {
    left: -36px;
  }
  .works__modal__body .arrows__arrow.next {
    right: -36px;
  }
}
@media screen and (min-width: 1200px) {
  .works__modal__body .arrows__arrow {
    width: 40px;
    height: 40px;
  }
  .works__modal__body .arrows__arrow.prev {
    left: -60px;
  }
  .works__modal__body .arrows__arrow.next {
    right: -60px;
  }
}
@media screen and (min-width: 1440px) {
  .works__modal .arrows__arrow {
    width: 40px;
    height: 40px;
  }
  .works__modal .arrows__arrow.prev {
    left: -70px;
  }
  .works__modal .arrows__arrow.next {
    right: -70px;
  }
}