/**
 * _component.scss
 */
/* mixin
--------------------------------------------------*/
/**
 * works.scss
 */
#content #pageHdr {
  background: #fff url(../imgs/works/page-title-bg.jpg) no-repeat center center;
  background-size: cover;
}
#content #pageHdr .pageTitle span {
  background: url(../imgs/works/page-title.svg) no-repeat center center;
  background-size: auto 100%;
  left: -50px;
}

/* SP */
@media only screen and (max-width: 767px) {
  #content #pageHdr {
    background: #fff url(../imgs/news/page-title-bg_sp.jpg) no-repeat top center;
    background-size: 100% auto;
  }
}
#works .list {
  margin-bottom: 20px;
}
#works .list ul {
  zoom: 1;
  margin-right: -3%;
  box-sizing: border-box;
}
#works .list ul:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}
#works .list ul li {
  display: block;
  width: 30.33%;
  float: left;
  margin-right: 3%;
  margin-bottom: 45px;
}
#works .list ul li a {
  display: block;
  text-decoration: none;
}
#works .list ul li a .thumb {
  margin-bottom: 15px;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
  transition: all 0.2s ease 0s;
}
#works .list ul li a .thumb img {
  max-width: 100%;
  height: auto;
}
#works .list ul li a .text dt {
  margin-bottom: 8px;
}
#works .list ul li a .text dt .category {
  font-size: 12px;
  background: #0d1d91;
  color: #fff;
  padding: 4px 8px;
  line-height: 1;
  margin-right: 5px;
}
#works .list ul li a:hover .thumb {
  opacity: 0.8;
}
#works .list ul li a:hover dd {
  text-decoration: underline;
}

/* TB */
/* SP */
@media only screen and (max-width: 767px) {
  #works .list {
    margin-bottom: 40px;
  }
  #works .list ul {
    margin-right: 0;
    text-align: center;
  }
  #works .list ul li {
    display: inline-block;
    width: inherit;
    float: none;
    margin-right: 0;
    margin-bottom: 0;
  }
  #works .list ul li + li {
    margin-top: 25px;
  }
  #works .list ul li a .thumb {
    margin-bottom: 15px;
  }
  #works .list ul li a .text {
    text-align: left;
  }
}
#worksDetail .wrap {
  max-width: 1000px;
}
#worksDetail .post {
  zoom: 1;
  border: 1px solid #e8e8e8;
  padding: 40px;
  margin-bottom: 40px;
}
#worksDetail .post:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}
#worksDetail .post .postHead {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 35px;
}
#worksDetail .post .postHead .text dt {
  margin-bottom: 8px;
}
#worksDetail .post .postHead .text dt .date {
  color: #0d1d91;
  margin-right: 8px;
}
#worksDetail .post .postHead .text dt .category {
  margin-right: 5px;
}
#worksDetail .post .postHead .text dt .category a {
  font-size: 12px;
  background: #0d1d91;
  color: #fff;
  padding: 3px 7px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  border: 1px solid #0d1d91;
}
#worksDetail .post .postHead .text dt .category a:hover {
  background: #fff;
  color: #0d1d91;
}
#worksDetail .post .postHead .title-m {
  margin-bottom: 10px;
}
#worksDetail .post .mainImg {
  margin-bottom: 30px;
  text-align: center;
}
#worksDetail .post .mainImg img {
  max-width: 100%;
  height: auto;
}
#worksDetail .post .table {
  margin-top: 40px;
  margin-bottom: 40px;
}
#worksDetail .post .list {
  padding: 30px 30px 10px 30px;
  background: #f7f8fb;
}
#worksDetail .post .list ul {
  zoom: 1;
  margin-right: -3%;
  box-sizing: border-box;
}
#worksDetail .post .list ul:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}
#worksDetail .post .list ul li {
  display: block;
  width: 30.33%;
  float: left;
  margin-right: 3%;
  margin-bottom: 20px;
}
#worksDetail .post .list ul li img {
  width: 100%;
  height: auto;
}
#worksDetail .post .list ul li .cap {
  margin-top: 5px;
}

/* SP */
@media only screen and (max-width: 767px) {
  #worksDetail .post {
    border: none;
    padding: 0px;
    margin-bottom: 30px;
  }
  #worksDetail .post .postHead {
    margin-bottom: 20px;
  }
  #worksDetail .post .postHead .text dt .category a {
    margin-bottom: 3px;
    display: inline-block;
  }
  #worksDetail .post .postHead .title-m {
    line-height: 1.4;
  }
  #worksDetail .post .mainImg {
    margin-bottom: 20px;
  }
  #worksDetail .post .table {
    margin-top: 25px;
    margin-bottom: 25px;
  }
  #worksDetail .post .list ul {
    margin-right: -2.5%;
  }
  #worksDetail .post .list ul li {
    display: block;
    width: 47.5%;
    float: left;
    margin-right: 2.5%;
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 540px) {
  #worksDetail .post .list {
    padding: 15px;
  }
  #worksDetail .post .list ul {
    margin-right: 0;
  }
  #worksDetail .post .list ul li {
    width: inherit;
    float: none;
    margin-right: 0;
    margin-bottom: 0;
  }
  #worksDetail .post .list ul li + li {
    margin-top: 20px;
  }
}
