@charset "UTF-8";
.section-top{
  position: relative;
  z-index: 10;
  width: 100%;
}
.section-top-img{
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: contain;
  object-position: center;
  user-select: none;
}
.section-post{
  width: 100%;
  padding:48px 8% 80px 8%;
}
.section-post-title{
  font-size: 3.6rem;
  font-weight: 300;
  text-align: center;
  margin: 0 auto;
  padding: 16px;
}
.section-post__content-wrapper{
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 32px 6px;
}
@media(max-width:910px){
  .section-post__content-wrapper{
      grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width:768px){
  .section-top-img {
    min-height: 0;
  }
  .section-post__content-wrapper{
      grid-template-columns: 1fr;
  }
}
.section-post__content-wrapper-masonry{
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.video-entry{
  width: 100%;
  height: auto;
  text-decoration: none;
}
.video-img{
  width: 100%;
  height: auto;
}
.video-img img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.video-title{
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--font-body);
}
.storyboard-title{
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック";
  font-size: 2rem;
  line-height: 2;
  font-weight: 300;
  color: var(--font-body);
}
.works-content-wrapper{
  width: 100%;
  height: auto;
}
.works-content-wrapper-masonry{
  width: 33.333%; 
  padding: 0 3px;
  margin-bottom: 16px;
  float: left;
  box-sizing: border-box;
  text-decoration: none;
}
.works-content-wrapper-masonry.storyboard {
  padding: 0 8px;
}
@media(max-width:1093px){
  .works-content-wrapper-masonry{
    width: 50%; 
  }
}
@media(max-width:768px){
  .works-content-wrapper-masonry{
    width: 100%; 
  }
}
.works-img{
  width: 100%;
  height: auto;
  user-select: none;
}
.works-img:hover{
  cursor: pointer;
}
.works-img img{
  width: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
}
.no-image{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.swiper-wrapper{
  height: 80vh;
  align-items: center;
}
.swiper-slide{
  display: flex;
  align-items: center;
}
.swiper-button-next, .swiper-button-prev{
  color: var(--font-body);
  z-index: 1000000;
  width: 64px;
  height: 64px;
}
@media(max-width:768px){
  .swiper-button-next, .swiper-button-prev{
    top: auto;
    bottom: 0;
  }
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}
.modal.is-open {
  display: flex;
}
.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
.modal-content img {
  display: flex;
  object-fit: contain;
  object-position: center;
  width: 70vw;
  max-width: 80%;
  max-height: 70vh;
  margin: 0 auto;
  user-select: none;
}
@media(max-width:768px){
  .modal-content img {
    width: 88vw;
    max-width: none;
  }
}
.modal-close {
  position: absolute;
  top: 0;
  right: 5%;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--font-body);
  width: fit-content;
  height: fit-content;
  padding: 4px;
  border: solid 2px var(--font-body);
  border-radius: 1000px;
  z-index: 10;
  cursor: pointer;
  background-color: transparent;
  transition: 0.2s ease-in-out;
}
.modal-close:hover {
  background-color: rgba(255,255,255,0.5);
  transition: 0.2s ease-in-out;
}
@media(max-width:768px){
  .section-post{
    padding:40px 4% 32px 4%;
  }
  .modal-close {
    font-size: 2.4rem;
  }
}
/* photographyページサブカテゴリ切り替え */
.sub-category-list{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 32px;
}
.sub-category-content{
  text-decoration: none;
  flex: 1;
  text-align: center;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--font-body);
  transition: ease-in-out 0.2s;
}
.sub-category-content:hover{
  color: var(--font-hover);
  cursor: pointer;
  transition: ease-in-out 0.2s;
}
.sub-category-content.active{
  font-weight: 500;
}
@media(max-width:768px){
  .sub-category-content{
    font-size: 2.4rem;
  }
}
@media(max-width:400px){
  .sub-category-list {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
  }
}