@charset "UTF-8";
*, *::before, *::after {
	box-sizing: border-box;
}
html {
  font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo","Verdana","Osaka","ＭＳ Ｐゴシック",sans-serif;
	font-size: 14px;
  line-height: 1.5;
	-webkit-text-size-adjust: 100%;
}

/* header */
header {
  position: relative;
  height: 250px;
  background-size: cover;
  overflow: hidden;
}
header::after {
  position: absolute;
  content: '';
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000 url(../images/filter_bg.png);
  opacity: 0.6;
}
.main-title {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  padding: 0 15px;
  color: #fff;
  font-size: 30px;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.main-title_sub {
  font-size: 14px;
}
.main-bg {
  position: absolute;
  top: -500px;
  bottom: -500px;
  left: -200px;
  right: -200px;
  background: url(../images/main.jpg);
  /*opacity: 0.5;*/
  transform: rotate(10deg);
  /*animation: headerAnim 35s infinite linear;*/
}
@keyframes headerAnim {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1000px -500px;
  }
}
/* main */
main {
  position: relative;
  display: block;
  background: #ddd;
  padding: 50px 0 30px;
}
.inner-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 25px;
  z-index: 20;
}

/* work-list */
.work-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.work-list > li {
  width: calc((100% - 50px) / 3);
  margin-bottom: 25px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.5s;
}
.work-list > li:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.work-list_item {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
}
.work-list_img {
  overflow: hidden;
}
.work-list_img > img {
  width: 100%;
  vertical-align: bottom;
  transition: transform 0.3s;
}
.work-list_item:hover .work-list_img > img {
  transform: scale(1.2);
}
.work-list_title {
  display: block;
  width: 100%;
  bottom: 0;
  padding: 10px;
  color: #333;
  text-align: center;
}
.work-list_text {
  font-size: 12px;
  padding: 0 10px 20px;
}

/* magnific-popup */
.mfp-container {
  padding-top: 10px;
  animation: mfpShow 0.5s both;
}
@keyframes mfpShow {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.mfp-inline-holder .mfp-content {
  width: 100%;
  max-width: 620px;
  padding: 20px;
}
.mfp-close-btn-in .mfp-close {
  color: #fff;
  background: #333;
  opacity: 1;
  line-height: 42px;
  border-radius: 22px;
  border: solid 2px #fff;
}

/* work-detail */
.work-detail {
  padding: 10px;
  border-radius: 2px;
  background: #fff;
}
.work-detail_img > img {
  width: 100%;
  vertical-align: bottom;
}
.work-detail_list {
  width: 100%;
  table-layout: fixed;
  margin-top: 10px;
  border-collapse: separate;
  border-spacing: 0px 10px;
}
.work-detail_list th {
  width: 100px;
}
.work-detail_list th > span {
  display: inline-block;
  width: 100px;
  font-size: 12px;
  padding: 2px;
  background: #333;
  border-radius: 15px;
  color: #fff;
  text-align: center;
}
.work-detail_list td {
  padding-left: 10px;
  word-break: break-all;
}
.work-detail_list td > span + span::before {
  content: ' ／ ';
}

@media screen and (max-width: 680px) {
  .work-list > li {
    width: calc((100% - 25px) / 2);
  }
}
@media screen and (max-width: 480px) {
  .work-list > li {
    width: 100%;
  }
  .work-detail_list th {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
  .work-detail_list td {
    display: block;
    text-align: center;
  }
}