/*=======================
一覧
========================*/
main {
  overflow: visible;
}

/*=======================
一覧
========================*/
.works_list_wrap {
  display: flex;
  justify-content: space-between;
}

.works_list_wrap .in {
  max-width: 1080px;
  padding: 0 37px;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  box-sizing:content-box;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in {
    padding: 0 30px;
  }
}

.works_list_wrap .side_bar {
  width: 260px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .side_bar {
    width: 100%;
    position: relative;
    top: 0;
  }
}

.works_list_wrap .in .side_bar .sec_tit {
  font-size: 36px;
  font-family: "inria-sans", sans-serif;
  font-weight: 700;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .side_bar .sec_tit {
    font-size: 21px;
  }
}

.works_list_wrap .in .side_bar .category_list {
  padding-top: 60px;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .side_bar .category_list {
    padding-top: 18px;
    padding-bottom: 40px;
  }
  .works_list_wrap .in .side_bar .category_list .list {
    display: flex;
    flex-wrap: wrap;
    padding-right: 70px;
  }
}

.works_list_wrap .in .side_bar .category_list .list .link {
  padding-bottom: 16px;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .side_bar .category_list .list .link {
    padding-bottom: 10px;
    padding-right: 23px;
  }
}

.works_list_wrap .in .side_bar .category_list .list .link a {
  font-size: 14px;
  font-family: "inria-sans", sans-serif;
  font-weight: 700;
  color: #C1C1C1;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .side_bar .category_list .list .link a {
    font-size: 12px;
  }
}

.works_list_wrap .in .side_bar .category_list .list .link.active a,
.works_list_wrap .in .side_bar .category_list .list .link a:hover {
  color: #323232;
}

.works_list_wrap .works_list {
  flex-grow: 1;
  max-width: calc(100% - 260px);
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .works_list {
    max-width: 100%;
  }
}

/* 表示切り替えボタン */
.works_list_wrap .in .works_list .view_switch_wrap {
  width: 0.85rem;
  margin-bottom: 0.60rem;
  margin-left: auto;
  padding: 0.10rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.15rem;
  border-top: 1px solid #989898;
  border-bottom: 1px solid #989898;
}

.works_list_wrap .in .works_list .view_switch_wrap .switch {
  width: 0.20rem;
  height: 0.20rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  /* transition: all 0.3s; */
  opacity: 0.2;
}

.works_list_wrap .in .works_list .view_switch_wrap .switch.-active,
.works_list_wrap .in .works_list .view_switch_wrap .switch:hover {
  opacity: 1;
}

.works_list_wrap .in .works_list .view_switch_wrap .switch.-column {
  background-image: url(../img/common/list_icon02.svg);
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .view_switch_wrap .switch.-column {
    background-image: url(../img/common/list_icon02_sp.svg);
  }
}
.works_list_wrap .in .works_list .view_switch_wrap .switch.-list {
  background-image: url(../img/common/list_icon01.svg);
}

.works_list_wrap .in .works_list .list.-column {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.30rem;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list.-column {
    justify-content: space-between;
    gap: 0.20rem 0;
  }
}

.works_list_wrap .in .works_list .list .detail {
  padding-bottom: 40px;
}
.works_list_wrap .in .works_list .list.-column .detail {
  width: 100%;
  max-width: 2.50rem;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list.-column .detail {
    width: 47%;
    max-width: auto;
  }
}

.works_list_wrap .in .works_list .list .detail a {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  color: #323232;
  height: 100%;
}
.works_list_wrap .in .works_list .list.-column .detail a {
  display: block;
}

.works_list_wrap .in .works_list .list .detail a:hover {
  opacity: 0.7;
}

.works_list_wrap .in .works_list .list .detail a .txt_box {
  width: 43.20%;
  border-top: 1px solid #B4B4B4;
  position: relative;
  padding-top: 30px;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list .detail a .txt_box {
    width: 100%;
  }
}

.works_list_wrap .in .works_list .list.-column .detail a .txt_box {
  width: 100%;
  padding: 0 0 0 0.20rem;
  margin-top: 0.20rem;
  border-top: 0;
  border-left: 1px solid #B4B4B4;
  box-sizing: border-box;
  height: calc(100% - 2.70rem);
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list.-column .detail a .txt_box {
    padding: 0;
    margin-top: 0.10rem;
    border-left: 0;
    height: auto;
  }
}

.works_list_wrap .in .works_list .list .detail a .txt_box::after {
  content: "";
  width: 0.38rem;
  height: 0.07rem;
  background-image: url(../img/works/link_arrow.svg);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all 0.3s;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list .detail a .txt_box::after {
    content: none;
  }
}

.works_list_wrap .in .works_list .list .detail a:hover .txt_box::after {
  left: 0.06rem;
}

.works_list_wrap .in .works_list .list.-column .detail a .txt_box::after {
  left: 0.20rem;
}
.works_list_wrap .in .works_list .list.-column .detail a:hover .txt_box::after {
  left: 0.26rem;
}

.works_list_wrap .in .works_list .list .detail a .txt_box .works_tit {
  font-size: 24px;
  font-family: "inria-sans", sans-serif;
  font-weight: 700;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list .detail a .txt_box .works_tit {
    font-size: 16.2px;
  }
}

.works_list_wrap .in .works_list .list.-column .detail a .txt_box .works_tit {
  font-size: 18px;
  line-height: 1.5;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list.-column .detail a .txt_box .works_tit {
    font-size: 14px;
  }
}


.works_list_wrap .in .works_list .list .detail a .txt_box .category {
  padding-top: 10px;
  padding-bottom: 0.25rem;
  font-size: 12px;
  font-family: "inria-sans", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  max-width: 240px;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list .detail a .txt_box .category {
    padding-top: 12px;
    font-size: 11px;
    max-width: 160px;
    padding-bottom: 20px;
  }
}
.works_list_wrap .in .works_list .list.-column .detail a .txt_box .category {
  padding-top: 5px;
  padding-bottom: 0.25rem;
  max-width: 100%;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list.-column .detail a .txt_box .category {
    display: none;
  }
}

.works_list_wrap .in .works_list .list .detail a .txt_box .category span::after {
  content: "/";
  font-weight: 400;
  display: inline-block;
  padding: 0 0.06rem;
}

.works_list_wrap .in .works_list .list .detail a .txt_box .category span:last-child:after {
  content: none;
}

.works_list_wrap .in .works_list .list .detail a .ph_wrap {
  width: 55.55%;
  height: 300px;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list .detail a .ph_wrap {
    width: 100%;
    height: 56.00vw;
  }
}

.works_list_wrap .in .works_list .list .detail a .ph_wrap.-column {
  display: none;
}
.works_list_wrap .in .works_list .list.-column .detail a .ph_wrap.-list {
  display: none;
}
.works_list_wrap .in .works_list .list.-column .detail a .ph_wrap.-column {
  display: block;
  width: 100%;
  max-width: 2.50rem;
  height: 2.50rem;
}
@media only screen and (max-width: 640px) {
  .works_list_wrap .in .works_list .list.-column .detail a .ph_wrap.-column {
    height: 36vw;
  }
}

.works_list_wrap .in .works_list .list .detail a .ph_wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s;
}

.works_list_wrap .in .works_list .list .detail a:hover .ph_wrap img {
  transform: scale(1.04);
}

/* 一覧用ページャー */
.list_navi_wrap {
  padding-top: 80px;
  width: 100%;
}
@media only screen and (max-width: 640px) {
  .list_navi_wrap {
    padding-top: 40px;
  }
}

.list_navi_wrap .wp-pagenavi {
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-family: "inria-sans", sans-serif;
  font-weight: 700;
}

.list_navi_wrap .wp-pagenavi a,
.list_navi_wrap .wp-pagenavi .current {
  color: #C1C1C1;
  display: block;
  margin: 0 10px;
}

.list_navi_wrap .wp-pagenavi a:hover {
  color: #323232;
}

.list_navi_wrap .wp-pagenavi .current {
  color: #323232;
}

/* 詳細ページ用記事送り */
.list_navi_wrap .wp-pagenavi a.link_prev span::before {
  content: "<<";
  display: inline-block;
  padding-right: 25px;
}

.list_navi_wrap .wp-pagenavi a.link_next span::after {
  content: ">>";
  display: inline-block;
  padding-left: 25px;
}

/*=======================
詳細
========================*/
.works_detail {
  padding-top: 94px;
}

.works_detail_wrap .works_detail_header {
  height: 80vh;
  max-height: 700px;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .works_detail_header {
    height: 30vh;
  }
}

.works_detail_wrap .works_detail_header img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works_detail_wrap .in {
  padding-top: 90px;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in {
    padding-top: 50px;
  }
}

.works_detail_wrap .in .works_info_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.works_detail_wrap .in .works_info_wrap .works_info_left {
  width: 360px;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_info_wrap .works_info_left {
    width: 100%;
    padding-bottom: 30px;
  }
}

.works_detail_wrap .in .works_info_wrap .works_info_left .tit {
  font-size: 26px;
  font-family: "inria-sans", sans-serif;
  font-weight: 700;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_info_wrap .works_info_left .tit {
    font-size: 18px;
  }
}

.works_detail_wrap .in .works_info_wrap .works_info_left .lead {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.61;
  padding-top: 20px;
}

.works_detail_wrap .in .works_info_wrap .works_info_right {
  width: 100%;
  max-width: 450px;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_info_wrap .works_info_right {
    width: 100%;
  }
}

.works_detail_wrap .in .works_info_wrap .works_info_right table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_info_wrap .works_info_right table {
    font-size: 12px;
  }
}

.works_detail_wrap .in .works_info_wrap .works_info_right table .info_tit {
  width: 180px;
  font-weight: 500;
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid #323232;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_info_wrap .works_info_right table .info_tit {
    width: 120px;
  }
}

.works_detail_wrap .in .works_info_wrap .works_info_right table tr:first-child .info_tit {
  border-top: 1px solid #323232;
}

.works_detail_wrap .in .works_info_wrap .works_info_right table .txt {
  padding: 18px 0;
  border-bottom: 1px solid #C1C1C1;
}

.works_detail_wrap .in .works_info_wrap .works_info_right table tr:first-child .txt {
  border-top: 1px solid #C1C1C1;
}

.works_detail_wrap .in .works_info_wrap .works_info_right table .txt a {
  color: #323232;
}

.works_detail_wrap .in .works_info_wrap .works_info_right table .txt a:hover {
  text-decoration: underline;
}

.works_detail_wrap .in .works_detail_ph_wrap {
  padding-top: 90px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph_gallery {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph {
  margin-bottom: 50px;
  position: relative;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_detail_ph_wrap .ph {
    margin-bottom: 30px;
  }
}

/*
.works_detail_wrap .in .works_detail_ph_wrap .ph_gallery .ph.-gallery {
  display: none;
}
.works_detail_wrap .in .works_detail_ph_wrap .ph_gallery .ph.-gallery:nth-of-type(1) {
  display: block;
}
*/

.works_detail_wrap .in .works_detail_ph_wrap .ph.-mov {
  cursor: pointer;
  transition: opacity 0.5s;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph.-mov:hover {
  opacity: 0.7;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph.-mov .play_icon {
  width: 0.80rem;
  height: 0.80rem;
  background-image: url(../img/common/mov_play_btn.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph a {
  display: block;
  position: relative;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph a::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/common/zoom_icon.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.26rem 0.26rem;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 2;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph a:hover::before {
  opacity: 0.8;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph a::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph a:hover::after {
  opacity: 1;
}

/* 動画のときはアイコン不要 */
.works_detail_wrap .in .works_detail_ph_wrap .ph.-mov a::before {
  content: none;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works_detail_wrap .in .works_detail_ph_wrap .ph.-col1 {
  width: 100%;
  height: 600px;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_detail_ph_wrap .ph.-col1 {
    height: 56.66vw;
  }
}

.works_detail_wrap .in .works_detail_ph_wrap .ph.-col2 {
  width: 47.22%;
  /*height: 637px*/
    height: auto;
  overflow: hidden;
}
@media only screen and (max-width: 640px) {
  .works_detail_wrap .in .works_detail_ph_wrap .ph.-col2 {
    width: 100%;
    height: auto;
  }
}



/*==================================
モーダルウィンドウ
==================================*/
.mv_modal_wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
}

.mv_modal_wrap .mv_modal_bg {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0,0,0,0.98);
  top: 0;
  left: 0;
  z-index: 0;
  transition: backdrop-filter 0.5s;
}

.mv_modal_wrap.-open .mv_modal_bg {
  backdrop-filter: blur(16px);
}

.mv_modal_wrap .mv_modal_close {
  width: 60px;
  height: 60px;
  position: absolute;
  top: -80px;
  right: 30px;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s;
}
@media screen and (max-width: 767px) {
  .mv_modal_wrap .mv_modal_close {
    width: 30px;
    height: 30px;
    top: -50px;
    right: 15px;
  }
}

.mv_modal_wrap .mv_modal_close::before {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}
.mv_modal_wrap .mv_modal_close:after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}

.mv_modal_wrap .mv_modal_close:hover {
  opacity: 0.7;
}

.mv_modal_wrap .mv_modal_box {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 667px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .mv_modal_wrap .mv_modal_box {
    max-width: 90%;
    max-height: 50vw;
  }
}

.mv_modal_wrap .mv_modal_box .yt_player,
.mv_modal_wrap .mv_modal_box .mp4_player {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.mv_modal_wrap .mv_modal_box .yt_player iframe,
.mv_modal_wrap .mv_modal_box .mp4_player video {
  width: 100%;
  height: 100%;
}

/* 背景のオーバーレイ */
#cboxTitle {
  color: #FFF;
  font-size: 0.13rem;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  #cboxTitle {
    font-size: 0.11rem;
  }
}

#cboxClose {
  width: 0.3rem;
  height: 0.30rem;
  right: 0.15rem;
  top: -0.35rem;
}
@media screen and (max-width: 767px) {
  #cboxClose {
    width: 0.20rem;
    height: 0.30rem;
    right: 0.10rem;
    top: -0.30rem;
  }
}

#cboxClose::before {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}
#cboxClose::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #FFF;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 50%;
}

/* 前へボタン　*/
#cboxPrevious {
  position:absolute;
  bottom:auto;
  top: 0;
  left:0;
  background-image:url(../img/common/icon_right_white_rev.svg);
  background-position: 0.20rem center;
  background-repeat: no-repeat;
  background-size: 0.16rem auto;
  width:30%;
  height:100%;
  text-indent:-9999px;
  transition: all 0.3s;
  opacity: 0;
}
#cboxPrevious:hover{
  background-position: 0.15rem center;
  opacity: 1;
}

/* 次へボタン */
#cboxNext {
  position:absolute;
  bottom:auto;
  top: 0;
  right:0;
  background-image:url(../img/common/icon_right_white.svg);
  background-position: calc(100% - 0.20rem) center;
  background-repeat: no-repeat;
  background-size: 0.16rem auto;
  width:30%;
  height:100%;
  text-indent:-9999px;
  transition: all 0.3s;
  opacity: 0;
}
#cboxNext:hover{
  background-position: calc(100% - 0.15rem) center;
  opacity: 1;
}

@media screen and (max-width: 767px) {
  #cboxSlideshow,
  #cboxPrevious,
  #cboxNext {
    display: none !important;
  }
}

/* #cboxLoadedContent {
  transition: transform 0.3s;
} */


/* swipeboxの設定 */
#swipebox-slider .slide img {
  padding: 0.40rem;
  box-sizing: border-box;
  max-width: 12rem;
  max-height: 10rem;
  margin: auto;
}
@media screen and (max-width: 767px) {
  #swipebox-slider .slide img {
    padding: 0.30rem;
    max-width: 100%;
    max-height: 100%;
  }
}

#swipebox-close {
  top: 0.4rem;
  right: 0.4rem;
  width: 0.30rem;
  height: 0.30rem;
  background-image: url(../swipebox/img/close.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  #swipebox-close {
    top: 0.2rem;
    right: 0.15rem;
    width: 0.24rem;
    height: 0.24rem;
    background-size: auto 0.16rem;
  }
}

#swipebox-top-bar {
  background-color: transparent;
  font-size: 0.14rem;
  top: 0.20rem;
}

#swipebox-bottom-bar {
  height: 100%;
  background-color: transparent;
  bottom: 0 !important;
}

#swipebox-prev,
#swipebox-next {
  width: 0.30rem;
  height: 0.30rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-size: auto 0.16rem;
}
@media screen and (max-width: 767px) {
  #swipebox-prev,
  #swipebox-next {
    width: 0.10rem;
    height: 0.15rem;
  }
}

#swipebox-prev {
  left: 0.40rem;
  background-image: url(../swipebox/img/arrow_prev.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  #swipebox-prev {
    left: 0.10rem;
    background-position: center center;
  }
}

#swipebox-next {
  right: 0.40rem;
  background-image: url(../swipebox/img/arrow_next.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  #swipebox-next {
    right: 0.10rem;
    background-position: right center;
  }
}

#swipebox-overlay {
  background-color: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
}