@charset "UTF-8";
#project {
  background-attachment: fixed;
  background-image: url("../img/project/bg-header.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #222;
  position: relative;
}
#project .bg-text {
  background-size: 100% auto;
  padding-top: 4.375rem;
  background-image: url("../img/project/bg-ttl-text.png");
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #project .bg-text {
    background-size: auto 110px;
  }
}
#project .bg-text h1 {
  font-weight: 600;
  font-size: clamp(2rem, 0.636rem + 5.82vw, 5rem);
  text-align: center;
  letter-spacing: 0.2em;
  line-height: 1.2;
}
@media screen and (min-width: 481px) and (max-width: 1024px) {
  #project .bg-text h1 {
    padding: 0 3.75rem;
  }
}
@media screen and (max-width: 480px) {
  #project .bg-text h1 {
    font-size: 2.25rem;
  }
}
#project .bg-text h1 .char {
  display: inline-block;
  will-change: transform, opacity;
}
#project .bg-text p {
  text-align: center;
}
#project .bg-text p::after {
  content: "";
  display: block;
  width: 1px;
  height: 50px;
  background: #fff;
  margin: 8px auto 0;
  transform: scaleY(0);
  transform-origin: top;
  animation: lineGrow 0.8s ease-out forwards;
}
@media screen and (max-width: 768px) {
  #project .bg-text p::after {
    height: 20px;
  }
}
@keyframes lineGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
#project .lead-box {
  background: #000;
  text-align: center;
  font-size: 1.125rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #project .lead-box {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
    font-size: 1rem;
  }
}
#project .project-box {
  background-color: #222;
  padding-left: 5vw;
  padding-right: 5vw;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  #project .project-box {
    padding: 0;
  }
}
#project .project-box h2 {
  margin: 2em auto 2em;
  font-size: 2.5rem;
  text-align: center;
  font-weight: 500;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #project .project-box h2 {
    font-size: 2rem;
    margin: 1.5em auto;
    font-weight: 400;
  }
}
#project .movie-wrapper {
  background-color: #222;
  padding-left: 5vw;
  padding-right: 5vw;
  text-align: center;
}
#project .movie-wrapper .movie-link {
  position: relative;
  display: inline-block;
}
#project .movie-wrapper .movie-link img {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 6px;
  display: block;
}
@media screen and (max-width: 768px) {
  #project .movie-wrapper .movie-link img {
    max-width: 100%;
  }
}
#project .movie-wrapper .movie-link .movie-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
#project .movie-wrapper .movie-link .movie-overlay .play-icon {
  width: 80px;
  height: 80px;
}
#project .movie-wrapper .movie-link .movie-overlay .play-icon circle {
  fill: rgba(0, 0, 0, 0.45);
}
#project .movie-wrapper .movie-link .movie-overlay .play-icon polygon {
  fill: #fff;
}
#project .movie-wrapper .movie-link:hover .movie-overlay {
  opacity: 0.85;
}
#project .movie-wrapper .movie-ttl {
  color: #fff;
  font-size: 1.125rem;
  text-align: center;
  margin-top: 1.5em;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  #project .movie-wrapper .movie-ttl {
    font-size: 1rem;
    text-align: left;
  }
}
#project .project-box-inner {
  margin: 0 auto 10em auto;
  width: 1280px;
  max-width: 94vw;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
}
@media screen and (max-width: 1024px) {
  #project .project-box-inner {
    flex-direction: row;
    justify-content: center;
  }
}
@media screen and (max-width: 480px) {
  #project .project-box-inner {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    padding: 1rem;
    margin: 0 auto 5em;
  }
}
#project .project-box-inner a.f-box {
  display: block;
}
#project .project-box-inner a.f-box .project-item {
  box-sizing: border-box;
  flex: 1 1 calc((100% - 32px) / 3);
  background: #f5f5f5;
  padding: 0;
  text-align: left;
  overflow: hidden;
  position: relative;
  min-width: 400px;
  max-width: 400px;
}
@media screen and (max-width: 1024px) {
  #project .project-box-inner a.f-box .project-item {
    flex: 1 1 calc((100% - 16px) / 2);
    min-width: 320px;
    max-width: 320px;
    background: #f5f5f5;
  }
}
@media screen and (max-width: 768px) {
  #project .project-box-inner a.f-box .project-item {
    flex: 1 1 100%;
    margin: 0 auto 1.5rem;
    min-width: 80svw;
    max-width: 88svw;
  }
}
#project .project-box-inner a.f-box .project-item .thumb {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
}
#project .project-box-inner a.f-box .project-item .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
#project .project-box-inner a.f-box .project-item:hover .thumb img {
  transform: scale(1.1);
}
#project .project-box-inner a.f-box .project-item .f-box-text {
  padding: 16px;
  display: flex;
  flex-direction: column;
}
#project .project-box-inner a.f-box .project-item .f-box-text .no {
  font-size: 3rem;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  #project .project-box-inner a.f-box .project-item .f-box-text .no {
    font-size: 2.25rem;
  }
}
#project .project-box-inner a.f-box .project-item .f-box-text h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5em;
  min-height: 3em;
}
@media screen and (max-width: 1024px) {
  #project .project-box-inner a.f-box .project-item .f-box-text h3 {
    min-height: 5rem;
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 768px) {
  #project .project-box-inner a.f-box .project-item .f-box-text h3 {
    font-size: 1.5rem;
  }
}
#project .project-box-inner a.f-box .project-item::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 24px;
  height: 24px;
  background: url("../img/project/icon-full.png") no-repeat center center;
  background-size: contain;
  pointer-events: none;
}

.fancybox__container {
  top: 0;
  bottom: 0;
}

/* キャプション部分をスタイリング */
.fancybox__caption {
  font-size: 16px;
  padding: 12px 16px;
  max-width: 640px;
}

/* クローズボタンの色・サイズ変更 */
.fancybox__button--close {
  color: #fff;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

/* ボタンホバー時のエフェクト */
.fancybox__button--close:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}

.fancybox__button--slideshow,
.fancybox__button--fullscreen,
.fancybox__button--zoom {
  display: none;
}

.fancybox__button--close,
.fancybox__button--close:hover {
  margin-right: 2em;
}

.hanabira-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  /* iOS Safari対策 */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  contain: layout paint; /* 不要な再描画を防止 */
  z-index: 1;
}

.hanabira {
  position: absolute;
  width: 20px;
  height: 30px;
  background: url("../img/project/hanabira.svg") no-repeat center/contain;
  /* GPUを使って滑らかに */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: -1;
}

@media (min-width: 1024px) {
  .fancybox__nav .carousel__button.is-next {
    right: 24%;
  }
  .fancybox__nav .carousel__button.is-prev {
    left: 24%;
  }
}
footer {
  border-top: 1px solid #444;
}/*# sourceMappingURL=project.css.map */