@charset "UTF-8";
.works {
  padding: 60px 40px 120px;
}
@media screen and (max-width: 768px) {
  .works {
    padding: 60px 24px 72px;
  }
}
@media screen and (max-width: 576px) {
  .works {
    padding: 56px 4.25% 72px;
  }
}
.works--top {
  padding: 0 40px;
}
@media screen and (max-width: 576px) {
  .works--top {
    padding: 0 4.25%;
  }
}
.works .worksList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}
.works .worksList__item {
  margin-bottom: 2.6667vw;
  overflow: hidden;
  width: 24%;
  border-radius: 4px;
  background-color: #000;
  box-shadow: 0 3px 0 #dbdbdb;
  transition: 0.3s;
}
@media screen and (max-width: 576px) {
  .works .worksList__item {
    margin-bottom: 24px;
    width: 100%;
  }
}
.works .worksList__item:hover {
  opacity: 0.96;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .38);
}
.works .worksList__item a {
  position: relative;
  display: block;
  padding-top: 72%;
  background: no-repeat center -12px;
  background-size: 130%;
  font-size: 15px;
}
@media screen and (max-width: 576px) {
  .works .worksList__item a {
    padding-top: 66%;
  }
}
.works .worksList__item a span {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 24px 12px 8px;
  background: linear-gradient(to bottom, rgba(68, 68, 68, 0.03), #000);
  color: #eee;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: 0.04rem;
}
.works .worksList__item a span .stickyLabel {
  margin-right: 2px;
  padding: 4px 2px;
  font-family: "Josefin Sans", "游ゴシック体", Yu Gothic, YuGothic, "ヒラギノ角ゴ Pro", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, sans-serif;
  background: #fff;
  color: #000;
}
.worksCatList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
  font-family: "Josefin Sans", "游ゴシック体", Yu Gothic, YuGothic, "ヒラギノ角ゴ Pro", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, sans-serif;
}
@media screen and (max-width: 576px) {
  .worksCatList {
    margin-bottom: 16px;
  }
}
.worksCatList__item {
  margin: 4px;
  font-size: 14px;
}
.worksCatList__item a {
  display: inline-block;
  padding: 4px 16px;
  background: #eee;
  border-radius: 4px;
  transition: 0.3s;
}
@media screen and (max-width: 576px) {
  .worksCatList__item a {
    font-size: 12px;
  }
}
.worksCatList__item a:hover, .worksCatList__item a.current {
  background: #a8a8a8;
}
.worksCatList__item--children a {
  padding: 4px 8px;
}
.worksCatContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 40px auto;
  max-width: 1340px;
  width: 100%;
}
.worksCatContainer .worksPost {
  width: 48%;
  max-width: 600px;
  margin-bottom: 64px;
}
@media screen and (max-width: 768px) {
  .worksCatContainer .worksPost {
    width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .worksCatContainer .worksPost {
    margin-bottom: 32px;
  }
}
.worksCatContainer .worksPost img {
  margin-bottom: 16px;
  border-radius: 4px;
  transition: 0.3s;
}
@media screen and (max-width: 576px) {
  .worksCatContainer .worksPost img {
    width: 100%;
    height: auto;
  }
}
.worksCatContainer .worksPost img:hover {
  opacity: 0.9;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .2);
}
.worksCatContainer .worksPost__ttl {
  margin-bottom: 8px;
  font-size: 16px;
  transition: 0.3s;
}
@media screen and (max-width: 576px) {
  .worksCatContainer .worksPost__ttl {
    font-size: 14px;
  }
}
.worksCatContainer .worksPost__ttl:hover {
  opacity: 0.7;
}
.gotoWorksTop {
  display: flex;
  justify-content: center;
}
.gotoWorksTop a {
  position: relative;
  margin-left: 40px;
  padding: 0 24px 4px 32px;
  border-bottom: 1px solid #000;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}
.gotoWorksTop a::before {
  position: absolute;
  top: 22px;
  left: 2px;
  height: 20px;
  width: 20px;
  content: '';
  border-left: 1px solid #000;
  transform: rotate(45deg);
}
.gotoWorksTop a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 576px) {
  .gotoWorksTop a {
    margin-left: 0;
    padding: 0 12px 1px 24px;
    font-size: 14px;
  }
  .gotoWorksTop a::before {
    top: 15px;
  }
}
.termsList, .tagsList {
  display: flex;
  margin-bottom: 16px;
}
@media screen and (max-width: 576px) {
  .termsList, .tagsList {
    padding: 0 4.25%;
  }
}
.termsList li, .tagsList li {
  margin-right: 8px;
}
.termsList li a, .tagsList li a {
  display: inline-block;
  padding: 4px 8px 2px;
  background: #eee;
  border-radius: 4px;
  font-family: "Josefin Sans", "游ゴシック体", Yu Gothic, YuGothic, "ヒラギノ角ゴ Pro", Hiragino Kaku Gothic Pro, "メイリオ", Meiryo, sans-serif;
  font-size: 12px;
  transition: 0.3s;
}
.termsList li a:hover, .tagsList li a:hover {
  background: #a8a8a8;
}
/*=========================/
 works投稿ページ
 /=========================*/
.worksBottomLink {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 576px) {
  .worksBottomLink {
    margin: 0 4.25%;
  }
}
.worksBottomLink li {
  text-align: center;
  transition: 0.5s;
}
@media screen and (max-width: 576px) {
  .worksBottomLink li {
    width: 100%;
    margin-bottom: 16px;
  }
}
.worksBottomLink li.officialSiteLink {
  margin-right: 16px;
  background: #e8e8e8;
  font-family: "Josefin Sans";
}
@media screen and (max-width: 576px) {
  .worksBottomLink li.officialSiteLink {
    margin-right: 0;
  }
}
.worksBottomLink li.officialSiteLink:hover {
  background: #dac69a;
}
.worksBottomLink li a {
  display: inline-block;
  width: 270px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12rem;
}
@media screen and (max-width: 576px) {
  .worksBottomLink li a {
    width: 100%;
  }
}
.worksBottomLink li.contactBtn {
  background: #77a19a;
}
.worksBottomLink li.contactBtn:hover {
  background: #50a19a;
}
.worksBottomLink li.contactBtn a {
  color: #fff;
}
.relatedWorks {
  margin-top: 64px;
}
@media screen and (max-width: 768px) {
  .relatedWorks {
    padding: 0 4.25%;
  }
}
.relatedWorks__ttl {
  margin-bottom: 8px;
}
.relatedWorks__posts li {
  line-height: 2.2;
}
.relatedWorks__posts li a {
  display: inline-block;
  text-decoration: underline;
  transition: 0.3s;
}
.relatedWorks__posts li a:hover {
  opacity: 0.4;
}
.relatedWorks__noPosts {
  margin-top: 24px;
}
@media screen and (max-width: 576px) {
  .relatedWorks__noPosts {
    margin-left: 4.25%;
  }
}
