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

projects用CSS

**************************/
/**************************
/**************************
id="projects" -->
  <section id="projects"
************/
h1.page_title .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1.page_title .inner.w100 {
  max-width: 2100px;
  padding: 0 2em;
  box-sizing: content-box;
}
/*---------------------
more
-------*/
section#projects h1 .inner a.more {
  display: flex;
  font-size: 12px;
  position: relative;
  padding-right: 7em;
  font-weight: 400;
}
section#projects h1 .inner a.more::after, section#projects h1 .inner a.more::before {
  content: '';
  margin-left: 10px;
  width: 70px;
  height: 1px;
  background-color: #707070;
  position: absolute;
  right: 2px;
  bottom: 0.8em;
  transition: 0.15s;
}
section#projects h1 .inner a.more:hover::after {
  width: 50px;
  transition: 0.3s;
}
section#projects h1 .inner a.more::before {
  right: 0;
  width: 1.2em;
  bottom: 1.1em;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
}
/*スマートフォン https://caroa.jp/design/article/IuBFNKUn */
@media screen and (max-width: 414px) {
  h1.page_title .inner {
    flex-direction: column;
  }
  section#projects h1 .inner a.more {
    margin-top: 1em;
    padding-right: 4em;
  }
  section#projects h1 .inner a.more::after {
    width: 35px;
    bottom: 0.75em;
  }
  section#projects h1 .inner a.more::before {
    width: 0.8em;
    bottom: 1em;
  }
}
/*---------------------
カテゴリーナビ
-------*/
h1.page_title .inner .nav {
  font-size: 16px;
  line-height: 2;
}
#contents h1.page_title .inner .nav a {
  padding: 0.2em 0;
  color: #000 !important;
  text-decoration: none;
}
h1.page_title .inner .nav a:hover, h1.page_title .inner .nav a.active {
  border-bottom: 1px rgba(0, 0, 0, 0.5) solid;
}
/*---------------------
ul.projects_list 「#contents」が付くのは下層だけの 
-------*/
#projects ul.projects_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#projects ul.projects_list {
  margin: auto;
  /*max-width: 2100px;*/
  justify-content: flex-start;
    gap: 1px;
  padding-bottom: 1px;
}
#contents #projects ul.projects_list {
  background: #CDCDCD;
}
#projects ul.projects_list li {
  width: calc(33.34% - 1px);
  margin-bottom: 0px;
}
#projects ul.projects_list li a {
  position: relative;
}
#projects ul.projects_list li img {
  width: 100%;
}
#projects ul.projects_list li .data {
  position: absolute;
  left: 1em;
  bottom: 1em;
  color: #fff;
  line-height: 1.2;
  transition: opacity 0.2s;
  font-weight: 300;
}
#projects ul.projects_list li .data .year {
  display: block;
}
#projects ul.projects_list li .data .name {
  font-size: 120%;
}
/*hover*/
#projects ul.projects_list li .data {
  opacity: 0;
}
#projects ul.projects_list li a:hover .data {
  opacity: 1;
  transition: opacity 0.5s;
}
#projects ul.projects_list li a:hover img {
  width: 100%;
  filter: brightness(70%);
  transition: filter 1s;
}
/*------------- 
小・大表示
*/
@media screen and (max-width: 780px) {
  #projects ul.projects_list li {
    width: calc(50% - 0.5px);
  }
}
@media screen and (max-width: 414px) { /*スマートフォン https://caroa.jp/design/article/IuBFNKUn*/
  h1.page_title .inner .nav {
    font-size: 15px;
    margin-top: 1.5em;
  }
  #contents #projects ul.projects_list {
    background: #fff;
  }
  #projects ul.projects_list li {
    width: 100%;
    position: relative;
  }
  #projects ul.projects_list li a {
    display: block;
    padding-bottom: 3.6em;
    margin-bottom: 1.1em;
  }
  #projects ul.projects_list li .data {
    opacity: 1;
    color: var(--main-txt-color) !important;
    position: absolute;
    bottom: 0.8em;
    left: 0.7em;
  }
  #projects ul.projects_list li .data .year {
    font-size: 12px;
  }
  #projects ul.projects_list li .data .name {
    font-size: 15px;
    color: #000;
  }
}
@media screen and (min-width: 1700px) {
  #contents #projects ul.projects_list li {
    width: calc(25% - 1px);
  }
}
@media screen and (min-width: 2100px) {
  #contents #projects ul.projects_list li {
    width: calc(20% - 1px);
  }
}
/*//--*/
/*カテゴリー切り替え*/
#contents #projects ul.projects_list li {
  display: none;
  animation: disappear 2.5s ease;
}
#contents #projects ul.projects_list li.active {
  display: block;
  animation: appear 2.5s ease;
}
@keyframes disappear {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*---------------------
project_single
-------*/
#project_single #contents figure.main_photo {
  /* aspect-ratio: 16 / 9  ;*/
  overflow: hidden;
  max-height: 80vh;
}
#project_single #contents figure.main_photo img {
  width: 1920px;
  display: block;
  margin: auto;
}
/*------------- 
大表示
*/
@media screen and (min-width: 1600px) {
  #project_single #contents figure.main_photo {
    aspect-ratio: inherit;
  }
  #project_single #contents figure.main_photo img {
    width: 100%;
    height: 900px;
    object-fit: cover;
    object-position: 50% 50%;
  }
}
/*---//*/
#project_single #contents .photo_list .leader_text {
  padding-bottom: 5em;
}
#project_single #contents .photo_list .leader_text p {
  line-height: 1.6;
}
#project_single #contents .photo_list .leader_text h1 {
  font-size: 36px;
  margin-top: 2.7em;
  margin-bottom: 1.2em;
}
#project_single #contents .photo_list .leader_text h1 .data {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
#project_single #contents .photo_list .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 160px;
}
#project_single #contents .photo_list .list li {
  width: calc(50% - 0.5px);
  margin-bottom: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  overflow: hidden;
}
#project_single #contents .photo_list .list li img {
  width: 100%;
  transition: 0.1s;
}
#project_single #contents .photo_list .list li a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  transition: 0.5s;
}
/*------------ 
小表示
*/
@media screen and (max-width: 780px) {
  #project_single #contents .photo_list .leader_text h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-top: 1.2em;
    margin-bottom: 0.8em;
  }
}