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

/*worksTop [
----------------------------------------------------------- */
.worksTop{}
.worksTop .worksH{}

/*絞り込み*/
.worksTop .ndWrap{
  margin: 10px 0 0 0;
}
.worksTop .ndWrap > ul{
  position: relative;
}
.worksTop .ndWrap > ul > li{
  position: relative;
  width: calc(100% - 120px);
  margin: 10px 0 0 auto;
  border: 1px solid var(--color-def01);
  text-align: left;
  line-height: 1.0;
}

.worksTop .ndWrap > ul > li::before{
  position: absolute;
  left: -120px;
  top: 0;
  display: flex;
  align-items: center;
  height: 35px;
  font-size: clamp(calc(13px * var(--font-markup)), calc(13vw / var(--vw-sp)), 13px);/*13 / 14*/
  text-align: left;
  line-height: 1.0;
}
.worksTop .ndWrap > ul > li:nth-of-type(1)::before{
  content: "エリアから選ぶ";
}
.worksTop .ndWrap > ul > li:nth-of-type(2)::before{
  content: "カテゴリから選ぶ";
}
.worksTop .ndWrap > ul > li:nth-of-type(3)::before{
  content: "年代から選ぶ";
}



.worksTop .ndWrap > ul > li ul{
  position: absolute;
  left: 50%;
  top: 32px;
  width: calc(100% + 2px);
  height: 0;
  padding: 10px 0 0 0;
  overflow: hidden;
  transition: .5s;
  z-index: 20;
  transform: translate(-50%,0);
}
.worksTop .ndWrap > ul > li.active ul{
  background: var(--color-white);
  border: 1px solid var(--color-def01);
  border-top: none;
}

.worksTop .ndWrap > ul > li button,
.worksTop .ndWrap > ul > li li{
  font-size: clamp(calc(15px * var(--font-markup)), calc(15vw / var(--vw-sp)), 15px);/*15 / 16*/
  line-height: 1.0;
  text-align: left;
}
.worksTop .ndWrap > ul > li button{
  position: relative;
  border: none;
  width: 100%;
  padding: 10px 0 10px 10px;
  background-color: inherit;
  cursor: pointer;
  font-family: var(--font-family);
}
.worksTop .ndWrap > ul > li button:hover{}
.worksTop .ndWrap > ul > li button::before,
.worksTop .ndWrap > ul > li button::after{
  content:"";
  position: absolute;
  top: 50%;
  width: 1.5px;
  height: 8px;
  background-color: var(--color-def01);
  transition: .5s;
}
.worksTop .ndWrap > ul > li button::before{
  transform: translateY(-50%) rotate(-45deg);
  right: 20px;
}
.worksTop .ndWrap > ul > li button::after{
  transform: translateY(-50%) rotate(45deg);
  right: 15px;
}
.worksTop .ndWrap > ul > li.active button::before{
  transform: translateY(-50%) rotate(-135deg);
  transition:.5s;
}
.worksTop .ndWrap > ul > li.active button::after{
  transform: translateY(-50%) rotate(135deg);
  transition:.5s;
}

.worksTop .ndWrap > ul > li li a{
  display: block;
  padding: 10px;
}


.worksTop .ndWrap > ul > li#selectYear li a::after{
  content: "年";
}
.worksTop .ndWrap > ul > li#selectYear li:nth-of-type(1) a::after{
  content: "";
}







.worksTop .worksList{
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0 0 0;
}
.worksTop .worksList article{
  position: relative;
  width: calc(100% / 2);
}

.worksTop .worksList article figure img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.worksTop .worksList article a{
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-white);
  text-align: center;
}
.worksTop .worksList article a > div{
  position: relative;
  opacity: 0;
  transition: var(--transition-duration01);
}
.worksTop .worksList article a h2{
  font-size: clamp(calc(16px * var(--font-markup)), calc(16vw / var(--vw-sp)), 16px);/*16 / 18*/
  line-height: var(--line-height-narrow);
}
.worksTop .worksList article a h2 + p{
  margin: 15px 0 0 0;
  font-size: clamp(calc(11px * var(--font-markup)), calc(11vw / var(--vw-sp)), 11px);/*11 / 12*/
  line-height: var(--line-height-narrow);
}
.worksTop .worksList article a .btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 16px;
  margin: 15px auto 0 auto;
  border: 1px solid var(--color-white);
  font-size: clamp(calc(10px * var(--font-markup)), calc(10vw / var(--vw-sp)), 10px);/*10 / 10*/
  line-height: 0;
}
.worksTop .worksList article a::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color-def);
  opacity: 0;
  transition: var(--transition-duration01);
}
.worksTop .worksList article a:hover,
.worksTop .worksList article a:hover > div{
  opacity: 1;
}
.worksTop .worksList article a:hover::before{
  opacity: 0.4;
}

.worksTop .btnMore{
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding: 30px 10px;
  font-size: clamp(calc(16px * var(--font-markup)), calc(16vw / var(--vw-sp)), 16px);/*16 / 18*/
  line-height: 1.0;
}
.worksTop .btnMore span{
  display: flex;
  align-items: center;
  width: 120px;
}
.worksTop .btnMore span::after{
  content: "";
  display: block;
  width: 30px;
  height: 10px;
  margin: 0 0 0 auto;
  background: url("../images/works/ico_arrow.svg") no-repeat center center;
}

.worksTop .btnMore:hover{
  cursor: pointer;
}





@media print, screen and (min-width:768px) {
  .worksTop{}
  .worksTop .worksH{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  /*絞り込み*/
  .worksTop .ndWrap{
    margin: 0;
  }
  .worksTop .ndWrap > ul{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: auto;
  }
  .worksTop .ndWrap > ul > li{
    min-width: 200px;
    margin: 0 0 0 20px;
  }
  .worksTop .ndWrap > ul > li::before{
    display: block;
    left: 0;
    top: -1.8em;
    font-size: clamp(calc(14px * var(--font-markup)), calc(14vw / var(--vw-pc)), 14px);/*13 / 14*/
  }
  .worksTop .ndWrap > ul > li ul{}
  .worksTop .ndWrap > ul > li.active ul{}
  .worksTop .ndWrap > ul > li button,
  .worksTop .ndWrap > ul > li li{
    font-size: clamp(calc(15px * var(--font-markup)), calc(15vw / var(--vw-pc)), 15px);/*15 / 16*/
  }



  .worksTop .worksList{
    margin-top: 40px;
  }
  .worksTop .worksList article{
    width: calc(100% / 3);
  }
  .worksTop .worksList article a{}
  .worksTop .worksList article a > div{}
  .worksTop .worksList article a h2{
    font-size: clamp(calc(18px * var(--font-markup)), calc(18vw / var(--vw-pc)), 18px);/*16 / 18*/
  }
  .worksTop .worksList article a h2 + p{
    font-size: clamp(calc(11px * var(--font-markup)), calc(11vw / var(--vw-pc)), 11px);/*11 / 12*/
  }
  .worksTop .worksList article a .btn{
    width: 64px;
    height: 20px;
    font-size: clamp(calc(10px * var(--font-markup)), calc(10vw / var(--vw-pc)), 10px);/*10 / 10*/
  }
  .worksTop .worksList article a::before{}

  .worksTop .worksList article a:hover > div{}
  .worksTop .worksList article a:hover::before{}

  .worksTop .btnMore{
    padding: 40px;
    font-size: clamp(calc(18px * var(--font-markup)), calc(18vw / var(--vw-pc)), 18px);/*16 / 18*/
  }
  .worksTop .btnMore span{
    width: 130px;
  }
  .worksTop .btnMore span::after{}
}


/*もっと見る処理*/
.worksTop .worksList .item{
  visibility: visible;
  opacity: 1;
  height: auto;
  transition: .3s;
}
.worksTop .worksList .item.hidden{
  /*display: none;*/
  visibility: hidden;
  opacity: 0;
  height: 0px;
}




/*worksDtl [
----------------------------------------------------------- */
.worksDtl{
  margin: 20px 0 0 0;
}
.worksDtl .worksP{
  margin: 0 0 40px 0;
}
.worksDtl .worksP:first-of-type{
  margin-bottom: 0;
}
.worksDtl .worksP figure img{
  width: 100%;
  height: auto;
}
.worksDtl .worksP p,
.worksDtl .worksP figure figcaption{
  margin: 5px 0 0 0;
  font-size: clamp(calc(13px * var(--font-markup)), calc(13vw / var(--vw-sp)), 13px);/*13 / 13*/
  text-align: left;
}
.worksDtl .data{
  margin: 40px 0;
}
.worksDtl .data h1{
  font-size: clamp(calc(20px * var(--font-markup)), calc(20vw / var(--vw-sp)), 20px);/*20 / 24*/
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}
.worksDtl .data dl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 0 0;
}
.worksDtl .data dl dt,
.worksDtl .data dl dd{
  margin: 10px 0 0 0;
  font-size: clamp(calc(13px * var(--font-markup)), calc(13vw / var(--vw-sp)), 13px);/*13 / 13*/
  line-height: 1.8;
  text-align: left;
}
.worksDtl .data dl dt:first-of-type,
.worksDtl .data dl dd:first-of-type{
  margin-top: 0;
}
.worksDtl .data dl dt{
  width: 8em;
}
.worksDtl .data dl dd{
  width: calc(100% - 8em);
}

@media print, screen and (min-width:768px) {
  .worksDtl{
    margin-top: 0;
  }
  .worksDtl .worksP{
    margin-bottom: 100px;
  }
  .worksDtl .worksP figure{
    aspect-ratio: 4 / 3;
  }
  .worksDtl .worksP figure img{
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  .worksDtl .worksP p{
    font-size: clamp(calc(13px * var(--font-markup)), calc(13vw / var(--vw-pc)), 13px);/*13 / 13*/
  }
  .worksDtl .data{
    margin: 60px 0;
  }
  .worksDtl .data h1{
    font-size: clamp(calc(20px * var(--font-markup)), calc(20vw / var(--vw-sp)), 20px);/*20 / 24*/
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
  }
  .worksDtl .data dl{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0 0 0;
  }
  .worksDtl .data dl dt,
  .worksDtl .data dl dd{
    margin: 10px 0 0 0;
    font-size: clamp(calc(13px * var(--font-markup)), calc(13vw / var(--vw-sp)), 13px);/*13 / 13*/
    line-height: 1.8;
    text-align: left;
  }
  .worksDtl .data dl dt:first-of-type,
  .worksDtl .data dl dd:first-of-type{
    margin-top: 0;
  }
  .worksDtl .data dl dt{
    width: 8em;
  }
  .worksDtl .data dl dd{
    width: calc(100% - 8em);
  }

  
}