@import url("https://fonts.googleapis.com/css?family=Lato:700");

@charset "utf-8";
/* CSS Document */

/** Work **/
#work {
  font-family: "Lato";
}
#work h2 {
  text-align: center;
  font-size: 23px;
  letter-spacing: 2px;
  line-height: 18px;
  font-weight: 500;
}
#work p.lead {
  text-align: center;
  letter-spacing: 2px;
  font-size: 13px;
  line-height: 1.9;
}
#work #search {
  text-align: right;
  position: relative;
  margin-bottom: 30px;
  padding-right: 21px;
}
#work #work_search {
  width: 320px;
  height: 30px;
  padding-left: 20px;
  border: 1px solid #000;
}
#work #search #searchsubmit {
  position: absolute;
  top: 6px;
  right: 28px;
}
#work-main #boxwrap .box {
  margin-bottom: 30px;
}
#work-header {
  margin-bottom: 20px;
  margin-top: 40px;
  background: url("../../../../common/img/bg_star.png") 56px top no-repeat;
}
/* single work page */
#work .header .inner {
  padding: 30px 0px;
  border-bottom: 1px solid;
}
#toppage-lineup-work {
  margin-top: 70px;
  margin-bottom: 70px;
}
#toppage-lineup-work .work-btn {
  border: 1px solid #000 !important;
  font-size: 13px !important;
  padding: 15px 74px 13px 74px !important;
  font-weight: normal !important;
}
#work h2.work-title {
  font-size: 20px;
  margin-bottom: 0px;
  padding-top: 10px;
  line-height: 1;
  font-weight: 500;
  text-align: left;
}
#work .title {
  font-size: 13px;
  margin-top: 5px;
}
#work .detail {
  font-size: 13px;
  margin-top: 5px;
}
#work .work-detail {
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 25px;
  font-weight: 500;
  margin-top: 0px;
}
#work .work-detail img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-left: -5px;
}
#work .work-detail .comment-label {
  width: fit-content;
  border: 1px solid;
  border-radius: 5px;
  padding: 1px 20px;
  font-size: 12px;
  margin-top: 30px;
  letter-spacing: 2px;
  position: relative;
}
#work .work-detail .comment-label:after {
  content: "";
  position: absolute;
  left: 48%;
  top: 23px;
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  background: white;
  -webkit-transform: rotate(-45deg);
  transform: rotate(45deg);
  clear: both;
}
#work .work-detail.contact-menu {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  line-height: 22px;
}
#work .work-detail.contact-menu a {
  padding: 8px 50px;
  border: 1px solid;
}

#work .entry-content .work-images {
  float: left;
  width: 50%;
}
#work .entry-content .work-info {
  float: right;
  width: 49%;
  padding: 10px 10px 0px 40px;
}
#work .entry-content .work-info span {
  display: block;
}
#work .entry-content .work-link {
  clear: both;
  padding-top: 50px;
  padding-right: 10px;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 22px;
}
#work .entry-content .work-archive {
  padding-top: 10px;
}
#work .work-archive span {
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 22px;
  font-weight: 500;
  vertical-align: super;
  margin-left: 10px;
}
#work .work-images .zoom-box {
  width: 100%;
  background-color: #fff;
  text-align: center;
}
#work .work-images .zoom-box img {
  width: 100%;
}
#work .work-images .thumbnails {
  padding: 0;
  margin-top: -3px;
  margin-left: -3px;
  width: 101.5%;
}
#work .work-images .thumbnails li {
  list-style-type: none;
  float: left;
  width: 25%;
  margin: 0 0px 4px 0;
  padding: 3px;
  line-height: 0;
}
#work .work-images .thumbnails li {
}
#work .work-images .thumbnails li img {
  width: 100%;
}

#work #work-others h3 {
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 22px;
  font-weight: 500;
}
#work-others .others-list ul {
  list-style: none;
  padding-left: 0px;
}
#work-others .others-list li {
  width: 30%;
  display: inline-block;
  margin-left: 4%;
  font-size: 11px;
  line-height: 18px;
  font-weight: 500;
}
#work-others .others-list li:first-child {
  margin-left: 0px;
}
#work-others .others-list li:last-child {
  display: none;
}
#work-others .others-list li img {
  width: 100%;
}

/* #work #work-main #boxwrap {
  width: 100% !important;
} */

#work #work-main .box,
#work #work-main .grid-sizer {
  width: calc(33.3333% - 20px);
}

#boxwrap * {
  box-sizing: border-box;
}
#boxwrap {
  box-sizing: border-box;
}

#work-main img {
  max-width: 100% !important;
  width: 100% !important;
}

@media screen and (max-width: 768px) {
  #work #work-main .box,
  #work #work-main .grid-sizer {
    width: calc(50% - 20px);
  }
  #boxwrap {
    box-sizing: border-box;
    width: calc(100% + 20px);
  }
  #work .detail {
    font-size: 11px;
  }
}
/*@media screen and (max-width: 992px) {
  #work .entry-content .work-images {

    width: 100%;
}
  #work .entry-content .work-info{
    padding: 40px 10px 0px 40px;
    width: 100%;
}
#work .header .inner {
    padding: 80px 0px 10px 0px;
    border-bottom: 1px solid;
}
#work p.lead {
    text-align: center;
    letter-spacing: 2px;
    font-size: 10px;
    margin: 0px;
    line-height: 1.9;
}
#work-header {
    margin-top: 90px;
}
}*/

@media screen and (max-width: 992px) {
  #work {
    text-align: center;
    margin-bottom: 30px;
  }
  #work-header {
    margin-bottom: 30px;
  }
  #work h2 {
    font-size: 25px;
  }

  #work .header .inner {
    width: 90%;
    min-width: initial;
    padding: 20px;
    border-bottom: 1px solid #000;
    display: inline-block;
  }

  #work h2.work-title {
    font-size: 20px;
    text-align: left;
    width: 90%;
    display: inline-block;
  }
  #work .work-detail {
    text-align: left;
    margin: 10px 0px;
    line-height: 16px;
  }
  #work .work-detail.work-no {
    padding-left: 5%;
  }
  #work-header .lead {
    font-size: 1.2em;
    letter-spacing: 2px;
    line-height: 30px;
    color: #000000;
    font-weight: 500;
    text-align: center;
    padding: 0px 20px;
  }
  #work-header .lead.second {
    max-width: 355px;
    display: inline-block;
  }

  #work #searchmenu {
    margin-bottom: 30px;
    padding: 0px 20px;
    position: relative;
  }

  #work #search {
    text-align: center;
    margin-bottom: 0px;
    padding-right: 0px;
  }

  #work #workform {
    position: relative;
    max-width: 500px;
    display: inline;
  }
  #work #workform #work_search {
    max-width: 470px;
    width: 100%;
    height: 40px;
    padding: 0px 20px;
    border: 1px solid #000;
  }
  #work #workform #searchsubmit {
    position: absolute;
    right: 15px;
    top: -2px;
  }

  #boxwrap {
    margin: 0 auto;
  }
  #boxwrap .box {
    margin-bottom: 30px;
    text-align: left;
  }
  #boxwrap .box .title {
    margin-top: 10px;
  }

  #work .entry-content {
    margin-top: 10px;
    padding: 0px 5%;
    text-align: left;
  }
  #work .entry-content .work-images {
    width: 100%;
  }

  #work .entry-content .work-info {
    float: none;
    margin-top: 20px;
    padding-left: 10px;
    width: 100%;
  }

  #work .zoom-box img {
    width: 100%;
  }

  #work .work-images .thumbnails {
    display: inline-block;
    margin-top: 20px;
    margin-left: 0px;
    width: 100%;
  }
  #work .work-images .thumbnails li {
    list-style-type: none;
    float: left;
    width: 23.5%;
    margin: 0px 2% 10px 0;
    padding: 0px;
    line-height: 0;
  }
  #work .work-images .thumbnails li:nth-child(4n + 0) {
    margin-right: 0px;
  }
  .thumbnails img {
    width: 100%;
  }
  #work .work-detail img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: -5px;
  }
  #work .entry-content .work-info span {
    display: block;
  }
  #work .work-detail .comment-label {
    width: fit-content;
    border: 1px solid;
    border-radius: 5px;
    padding: 6px 20px;
    font-size: 1em;
    margin-top: 30px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
  }
  #work .work-detail .comment-label:after {
    content: "";
    position: absolute;
    left: 48%;
    top: 23px;
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    background: white;
    -webkit-transform: rotate(-45deg);
    transform: rotate(45deg);
    clear: both;
  }
  .work-detail p {
    line-height: 20px;
  }
  #work .work-detail.contact-menu {
    margin-top: 50px;
    margin-bottom: 30px;
  }
  #work a {
    color: #000;
  }
  #work .work-detail.contact-menu a {
    padding: 10px 80px;
    border: 1px solid #000;
  }
  #work .entry-content .work-archive {
    padding: 20px 0px;
    text-align: center;
    clear: both;
    margin-bottom: 30px;
  }
  #work .work-archive span {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 22px;
    font-weight: 500;
    vertical-align: super;
    margin-left: 10px;
  }
  #work #work-others h3 {
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 20px;
  }

  #work-others .others-list li {
    width: 40%;
    display: inline-block;
    line-height: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    margin-left: 0px;
    text-align: left;
  }
  #work-others .others-list li:nth-child(odd) {
    margin-right: 3%;
  }
  #work-others .others-list li:nth-child(even) {
    margin-left: 3%;
  }

  #work-others .others-list li:last-child {
    display: inline-block;
  }
  #work-others .others-list li img {
    width: 100%;
  }
}
