@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% 40px 8%;
}
.section-post.commercial{
  width: 100%;
  padding:8px 8% 40px 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);
}
.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;
}
@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;
}
.works-img img{
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.no-image{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
/* モーダル全体 */
.modal {
    display: none;
    position: fixed;
    z-index: 100000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

/* 中身 */
.modal-content {
    background: #fff;
    padding: 0;
    position: relative;
    width:80%;
    aspect-ratio: 16 / 9;
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background-color: #000000;
}
.video-frame{
    width: 100%;
    height: 100%;
    border: none;
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}
@media(max-width:768px){
  .section-post{
    padding:40px 4% 32px 4%;
  }
}