@charset "utf-8";

#contents h1 .bg-fixed {
  background-image: url("../img/works/h1bg.jpg");
}

#worksListWrapper .sectionInner {
  width: 100%;
  max-width: none;
  margin: 0 auto 80px auto !important;
  padding: 0;
}
@media only screen and (max-width: 1080px) {
  #worksListWrapper .sectionInner{
  }
}
@media only screen and (max-width: 560px) {
  #worksListWrapper .sectionInner{
  }
}

#tagFilter {
  margin: 0 auto 50px auto;
  width: 90%;
  max-width: 1000px;
}

#tagFilter th {
  background: #000000;
  text-align: center;
  vertical-align: middle;
  padding: 1.5em;
  border-radius: 15px 0 0 15px;
  line-height: 1em;
}
@media only screen and (max-width: 1080px) {
  #tagFilter th {
    padding: 1em;
  }
}
@media only screen and (max-width: 560px) {
  #tagFilter th {
    display: none;
  }
}

#tagFilter th img {
  width: 30px;
}

#tagFilter .tagFilterTags {
  background: #e6e6e6;
  vertical-align: middle;
  padding: 0.5em 2em;
}
@media only screen and (max-width: 1080px) {
  #tagFilter .tagFilterTags {
    padding: 0.5em 1em;
  }
}
@media only screen and (max-width: 560px) {
  #tagFilter .tagFilterTags {
    padding: 0.5em 0.5em;
    border-radius: 15px 15px 0 0;
    display: block;
    text-align: center;
  }
}

#tagFilter label {
  display: inline-block;
  margin: 0.2em 0.2em 0.2em 0;
  background: #999999;
  border-radius: 1em;
  color: #FFF;
  line-height: 0;
  padding: 1em 1em;
  white-space: nowrap;
  cursor: pointer;
  font-size: 0.9em;
}

#tagFilter .tagFilterTags input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

#tagFilter .tagFilterTags label.label-checked {
  background-color: #000 !important;
}

#tagFilter .tagFilterButton {
  background: #b7b7b7;
  text-align: center;
  vertical-align: middle;
  padding: 1em;
  border-radius: 0 15px 15px 0;
}
@media only screen and (max-width: 560px) {
  #tagFilter .tagFilterButton {
    display: block;
    padding: 0.5em;
    border-radius: 0 0 15px 15px;
  }
}

#tagFilter .tagFilterButton button {
  display: inline-block;
  margin: 0.2em 0.2em 0.2em 0;
  background: #000;
  border: none;
  border-radius: 1em;
  color: #FFF;
  line-height: 0;
  padding: 0.5em 1em;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.9em;
}

#tagFilter .tagFilterButton button:hover {
  display: inline-block;
  opacity: 0.8;
}
@media only screen and (max-width: 560px) {
  #tagFilter .tagFilterButton button:hover {
    opacity: 1;
  }
}

#tagFilter .tagFilterButton button img {
  vertical-align: middle;
  width: 1.1em;
}

table#narrowList {
  border-radius: 1em;
  background: #FFF;
  width: 96%;
  margin: 5px auto 40px auto;
  box-shadow: 0px 5px 12px -6px rgba(0,0,0,0.5);
}
@media only screen and (max-width: 560px) {
  table#narrowList {
    display: block;
    padding: 1em;
  }
}

table#narrowList th {
  width: 7em;
  padding: 1em;
  text-align: center;
}
@media only screen and (max-width: 560px) {
  table#narrowList th {
    display: block;
    width: auto;
    text-align: left;
    padding: 0;
    margin-bottom: 1em;
  }
}

table#narrowList td {
  padding: 0.5em 1em 0.5em 0;
}
@media only screen and (max-width: 560px) {
  table#narrowList td {
    display: block;
    padding: 0;
  }
}

table#narrowList td dl {
  margin: 0;
  padding: 0;
}

table#narrowList td dl:first-of-type {
}
@media only screen and (max-width: 560px) {
  table#narrowList td dl:first-of-type {
    margin-bottom: 0.75em;
  }
}

table#narrowList td dl dt {
  display: inline-block;
  width: 7em;
  margin: 0;
  padding: 0.15em;
}
@media only screen and (max-width: 560px) {
  table#narrowList td dl dt {
    width: auto;
    padding: 0;
  }
}

table#narrowList td dl dt a {
  width: 7em;
}

table#narrowList td dl dd {
  display: inline-block;
  margin: 0;
  padding: 0.15em;
}
@media only screen and (max-width: 560px) {
  table#narrowList td dl dd {
    width: auto;
    margin: 0 0 0 0.5em;
    padding: 0 0 0 1em;
    border-left: 2px solid #BCBCBC;
  }
}

table#narrowList a {
  color: #FFF;
  text-decoration: none;
  display: inline-block;
  padding: 0.25em 1em;
  font-size: 0.8em;
  margin: 0.25em 3px 0.25em 0;
  opacity: 0.3;
  white-space: nowrap;

}

table#narrowList a:hover, table#narrowList a.active {
  opacity: 1;
}

#worksListWrapper ul.worksList {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw 0; 
}
@media only screen and (max-width: 1080px) {
  #worksListWrapper ul.worksList {
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw 0; 
  }
}
@media only screen and (max-width: 560px) {
  #worksListWrapper ul.worksList {
    display: block;
    grid-template-columns: repeat(1, 1fr);
  }
}

#worksListWrapper ul.worksList li:nth-child(3n+1) {
  padding-left: 2vw;
}
#worksListWrapper ul.worksList li:nth-child(3n) {
  padding-right: 2vw;
}
#worksListWrapper ul.worksList li:nth-child(3n-1) {
  padding-left: 1vw;
  padding-right: 1vw;
}
@media only screen and (max-width: 1080px) {
  #worksListWrapper ul.worksList li:nth-child(3n+1), #worksListWrapper ul.worksList li:nth-child(3n), #worksListWrapper ul.worksList li:nth-child(3n-1) {
    padding-left: 0;
    padding-right: 0;
  }
  #worksListWrapper ul.worksList li:nth-child(odd) {
    padding-left: 3vw;
  }
  #worksListWrapper ul.worksList li:nth-child(even) {
    padding-right: 3vw;
  }
}
@media only screen and (max-width: 560px) {
  #worksListWrapper ul.worksList li {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0.1vw;
  }
}

#worksListWrapper ul.worksList li::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: #ededed;
  z-index: 1;
}




#worksDetailWrapper {
  background: #ededed;
  margin-top: 3vw;
}

#worksDetail h1 {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
}
@media only screen and (max-width: 560px) {
  #worksDetail h1 .h1Inner {
    display: block;
    width: 80%;
    margin: auto 10%;
    padding: 15px 0 5px 0;
  }
}

#worksDetail h1::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  filter: blur(5px);
  background: inherit;
}

#worksDetail h1 .h1Inner {
  z-index: 1;
}

#worksDetailHeader {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 30px !important;
  align-items: flex-start;
  padding-left: 3vw; 
  padding-right: 3vw; 
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader {
    display: block !important;
    max-width: 94%;
  }
}

#worksDetailHeader dl {
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader dl {
    width: auto;
    margin-bottom: 30px;
  }
}

#worksDetailHeader dl dt {
  margin: 0;
  padding: 0;
}

#worksDetailHeader dl dt h2 {
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1.25em;
  text-align: left;
  font-size: 2em;
  font-weight: 400;
  color: #000;
  position: static;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader dl dt h2 {
    text-align: center;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailHeader dl dt h2 {
    font-size: 1.7em;
  }
}

h2::after {
  content: none;
}

#worksDetailHeader dl dd {
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader dl dd {
    text-align: center;
  }
}

#worksDetailHeader dl dd .worksListTags span {
  font-size: 1em;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader dl dd .worksListTags span {
    font-size: 0.9em;
  }
}

#worksDetailHeaderData {
  background: #d5d5d5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1em;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeaderData {
    width: fit-content;
    margin: auto;
    padding: 1em 3em;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailHeaderData {
    padding: 0.5em 1em;
    font-size: 0.9em;
  }
}


#worksDetailHeaderData h3 {
  margin: 0;
  padding: 0 2em 0 0;
  font-size: 1.5em;
}
@media only screen and (max-width: 560px) {
  #worksDetailHeaderData h3 {
    display: none;
  }
}

#worksDetailHeader table {
  width: auto;
  border-collapse: separate;
  border-spacing: 3px;
  color: #000;
  white-space: nowrap;
  font-weight: 400;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader table {
    width: auto;
    margin: auto;
    white-space: normal;
  }
}

#worksDetailHeader table th {
  text-align: left;
  vertical-align: top;
  padding: 0 1em 0 0;
  width: 4em;
  color: #848484;
  font-weight: 400;
}

#worksDetailHeader table td {
  padding: 0 2em 0 0;
  vertical-align: top;
}
@media only screen and (max-width: 1080px) {
  #worksDetailHeader table td {
    padding: 0 0.5em;
  }
}



#worksDetailAfter {
  padding: 50px 0 50px 0;
  position: relative;
  margin-top: 0;
  width: 100% !important;
  max-width: none;
}
@media only screen and (max-width: 1080px) {
  #worksDetailAfter {
    padding-top: 40px;
    padding-bottom: 30px;
    padding-left: 0;
    padding-right: 0;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailAfter {
    padding-top: 30px;
    padding-bottom: 20px;
  }
}

#worksDetailAfter h3 {
  position: absolute;
  margin: 0;
  padding: 0;
  right: 8vw;
  top: 50px;
  z-index: 5;
}
@media only screen and (max-width: 1080px) {
  #worksDetailAfter h3 {
    right: 2vw;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailAfter h3 {
    top: 30px;
  }
}

#worksDetailAfter h3 img {
  width: 25vw;
}
@media only screen and (max-width: 1080px) {
  #worksDetailAfter h3 img {
    width: 30vw;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailAfter h3 img {
    width: 35vw;
  }
}

#worksDetailAfterPhotosWrapper {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  padding: 5vw 0;
}
@media only screen and (max-width: 560px) {
  #worksDetailAfterPhotosWrapper {
    padding: 12vw 5vw calc(12vw - 1em) 5vw;
  }
}

#worksDetailAfterPhotosWrapper::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  filter: blur(5px);
  background: inherit;
  z-index: 1;
}

#worksDetailAfterPhotosWrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2;
  width: 100%;
  height: 100%;
}


#worksDetailAfterPhotos {
  max-width: 1060px;
  margin: auto;
  z-index: 3;
}
    
#worksDetailAfterPhotos dl {
  margin: 0;
  padding: 0;
  position: relative;
  background-size: cover;
  background-position: center;
}
    
#worksDetailAfterPhotos dt {
  margin: 0;
  padding: 0;
  text-align: center !important;
}
    
#worksDetailAfterPhotos dt img {
  margin: auto !important;
  max-width: 100%;
  max-height: 600px;
  box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.6);
}
@media only screen and (max-width: 1080px) {
  #worksDetailAfterPhotos dt img {

  }
}
   
#worksDetailAfterPhotos dd {
  margin: 0 auto;
  padding: 0 1em;
  box-sizing: border-box;
  color: #FFF;
  font-size: 0.8em;
  line-height: 2em;
  text-align: center;
}
@media only screen and (max-width: 560px) {
  #worksDetailAfterPhotos dd {
    line-height: 1.5em;
  }
}

#worksDetailAfterPhotos .org-slick-prev {
}
@media only screen and (max-width: 560px) {
  #worksDetailAfterPhotos .org-slick-prev {
    left: -3vw;
  }

  #worksDetailAfterPhotos .org-slick-next {
    right: -3vw;
  }
}


#worksDetailAfterThumbsWrapper {
  background: url("../img/common/bg02.png") repeat;
  padding: 15px 0 0 0;
}
@media only screen and (max-width: 1080px) {
  #worksDetailAfterThumbsWrapper {
    padding: 17px 0 0 0;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailAfterThumbsWrapper {
    padding: 5px 0 0 0;
  }
}

#worksDetailAfterThumbs {
  max-width: 800px;
  margin: auto;
  max-height: 150px;
  overflow: hidden;
}
@media only screen and (max-width: 560px) {
  #worksDetailAfterThumbs {
    max-height: 17vw;
  }
}

#worksDetailAfterThumbs img, #worksDetailAfterThumbs div {
  line-height: 0;
  box-sizing: border-box;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

#worksDetailAfterThumbs .slick-slide div {
  border: 4px solid #777777;
}

#worksDetailAfterThumbs .slick-current > div{
  border: 4px solid #000;
}

#worksDetailBeforeWrapper {
  padding: 3vw;
}
@media only screen and (max-width: 560px) {
  #worksDetailBeforeWrapper {
    padding: 3vw 10vw;
  }
}

#worksDetailBefore {
  width: fit-content;
  background: url("../img/works/beforeBg.jpg") repeat;
  position: relative;
  margin-top: 20px;
  padding: 25px 3%;
  overflow: visible !important;
}
@media only screen and (max-width: 1080px) {
  #worksDetailBefore {
    padding: 20px 3%;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailBefore {
  }
}

#worksDetailBefore h3 {
  position: absolute;
  margin: 0;
  padding: 0;
  line-height: 0;
  left: -30px;
  top: -80px;
  z-index: 3;
}
@media only screen and (max-width: 1080px) {
  #worksDetailBefore h3 {
    top: -60px;
  }
}
@media only screen and (max-width: 560px) {
  #worksDetailBefore h3 {
    top: -30px;
  }
}

#worksDetailBefore h3 img {
  width: 200px;
}
@media only screen and (max-width: 1080px) {
  #worksDetailBefore h3 img {
    width: 25vw;
  }
}

#worksDetailBefore ul {
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 2vw;
  line-height: 0;
}
@media only screen and (max-width: 560px) {
  #worksDetailBefore ul {
    grid-template-columns: repeat(2, 1fr); 
  }
}

#worksDetailBefore ul li {
  margin: 0;
  padding: 0;
}

#worksDetailBefore ul li img {
  width: 100%;
}

#worksDetailInfo {
  margin-top: 0 !important;
}

#worksDetailInfo dl {
  border: 12px solid #d9d9d9;
  background: #FFF;
  margin: 30px auto;
  padding: 40px 25px;
  background-repeat: no-repeat;
  background-position: 1% center;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}
@media only screen and (max-width: 560px) {
  #worksDetailInfo dl {
    border: 6px solid #d9d9d9;
    margin: 20px auto;
    padding: 3vw 5vw;
    display: block;
    background-position: right center;
    background-size: 50vw;
  }
}

#worksDetailInfo dl#worksDetailInfo01 {
  background-image: url( "../img/works/info-icon01.png");
}
#worksDetailInfo dl#worksDetailInfo02 {
  background-image: url( "../img/works/info-icon02.png");
}
#worksDetailInfo dl#worksDetailInfo03 {
  background-image: url( "../img/works/info-icon03.png");
}

#worksDetailInfo dl dt {
  margin: 0 0 0.5em 0;
  padding: 0;
  font-size: 1.3em;
  font-weight: 500;
  width: 10em;
}
@media only screen and (max-width: 560px) {
  #worksDetailInfo dl dt {
    width: auto;
  }
}

#worksDetailInfo dl dd {
  margin: 0;
  padding: 0;
  width: calc(100% - 10em);
}
@media only screen and (max-width: 560px) {
  #worksDetailInfo dl dd {
    width: auto;
    padding-bottom: 0.5em;
  }
}

#worksDetailMore {
  padding-top: 0 !important;
}

#worksDetailMore .moreInformation {
  font-size: 1.2em;
}
