.galleryArea__list {
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media screen and (min-width: 768px) {
  .galleryArea__list {
    gap: 20px;
    grid-template-columns: repeat(4, auto);
  }
}

@media screen and (max-width: 768px) {
  .galleryArea__list {
    gap: 20px;
    grid-template-columns: repeat(2, auto);
  }
}

.galleryArea__item {
  aspect-ratio: 300 / 194;
  position: relative;
  width: 100%;
}

.galleryArea__btn {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  height: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.galleryArea__btn.show-poster .galleryArea__video {
  display: none;
}

.galleryArea__btn.show-poster .galleryArea__poster {
  display: block;
}

.galleryArea__btn .photo {
  height: 100%;
  width: 100%;
}

.galleryArea__btn .photo__pic, .galleryArea__btn .photo__inner, .galleryArea__btn .photo__image {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.galleryArea__btn .playCircle {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  position: absolute;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .galleryArea__btn .playCircle {
    bottom: 20px;
    height: 42px;
    right: 20px;
    width: 42px;
  }
}

@media screen and (max-width: 768px) {
  .galleryArea__btn .playCircle {
    bottom: calc(20 / 750 * 100vw);
    height: calc(50 / 750 * 100vw);
    right: calc(20 / 750 * 100vw);
    width: calc(50 / 750 * 100vw);
  }
}

.galleryArea__btn .playCircle:after {
  background-color: #000000;
  border-radius: 1000px;
  content: '';
  height: 100%;
  left: 0;
  opacity: .4;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.galleryArea__btn .playCircle:before {
  content: '';
  display: inline-block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .galleryArea__btn .playCircle:before {
    border-bottom: 7px solid transparent;
    border-left: 10px solid #ffffff;
    border-top: 7px solid transparent;
  }
}

@media screen and (max-width: 768px) {
  .galleryArea__btn .playCircle:before {
    border-bottom: calc(8 / 750 * 100vw) solid transparent;
    border-left: calc(14 / 750 * 100vw) solid #ffffff;
    border-top: calc(8 / 750 * 100vw) solid transparent;
  }
}

.galleryArea__btn:hover .galleryArea__hover {
  opacity: 1;
}

.galleryArea__hover {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: rgba(255, 255, 255, 0.75);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  -webkit-transition: .8s ease;
  transition: .8s ease;
  width: 100%;
  z-index: 2;
}

.galleryArea__hover .ttl {
  text-align: center;
}

.galleryArea__hover .ttl__en {
  color: #8a6533;
  display: block;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .galleryArea__hover .ttl__en {
    font-size: 26px;
  }
}

@media screen and (max-width: 768px) {
  .galleryArea__hover .ttl__en {
    font-size: calc(26 / 750 * 100vw);
  }
}

.galleryArea__hover .ttl__ja {
  color: #333333;
  display: block;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .galleryArea__hover .ttl__ja {
    font-size: 10px;
    margin-top: 14px;
  }
}

@media screen and (max-width: 768px) {
  .galleryArea__hover .ttl__ja {
    font-size: calc(10 / 750 * 100vw);
    margin-top: calc(14 / 750 * 100vw);
  }
}

.galleryArea__video {
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  position: relative;
  width: 100%;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .galleryArea__video.only-pc {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .galleryArea__video.only-sp {
    display: none;
  }
}

.galleryArea__poster {
  display: none;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.galleryArea__poster .photo {
  height: 100%;
  width: 100%;
}

.galleryArea__poster .photo__image {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.galleryArea__cont {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .galleryArea__cont {
    max-height: calc(100vh - 120px);
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.modalCard {
  margin: auto;
}

@media screen and (min-width: 768px) {
  .modalCard {
    width: 998px;
  }
}

@media screen and (max-width: 768px) {
  .modalCard {
    width: 100%;
  }
}

.modalCard__video {
  aspect-ratio: 800 / 450;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .modalCard__video {
    height: 100%;
  }
}

@media screen and (max-width: 768px) {
  .modalCard__video {
    height: auto;
  }
}

.modalCard__video .video {
  height: 100%;
  min-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: auto;
}

.modalCard__cont {
  -ms-flex-negative: 1;
      flex-shrink: 1;
  position: relative;
}

.modalCard__gif {
  height: 100%;
  position: relative;
  z-index: 2;
}

.modalCard__gif .photo {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  width: 100%;
}

.modalCard__gif .photo__image {
  aspect-ratio: 800 / 450;
  height: auto;
  min-width: 100%;
  width: 100%;
}

.modalCard__poster {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.modalCard__poster .photo {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  width: 100%;
}

.modalCard__poster .photo__image {
  height: 100%;
  min-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: auto;
}

.modalCard__ttl {
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .modalCard__ttl {
    font-size: 30px;
    margin-top: 16px;
  }
}

@media screen and (max-width: 768px) {
  .modalCard__ttl {
    font-size: 16px;
    margin-top: 8px;
  }
}

.modalCard.show-poster .modalCard__poster {
  display: block;
}

.modalCard.show-poster .modalCard__video {
  opacity: 0;
}

.generalModal:has(.modalCard) .generalModal__inner {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .generalModal:has(.modalCard) .generalModal__cont {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}

.movieSect {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .movieSect {
    width: 960px;
  }
}

.movieSect__head {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .movieSect__head + .movieSect__cont {
    margin-top: 56px;
  }
}

@media screen and (max-width: 768px) {
  .movieSect__head + .movieSect__cont {
    margin-top: 40px;
  }
}

@media screen and (min-width: 768px) {
  .gallery-modal {
    padding: 140px 0;
  }
}

@media screen and (max-width: 768px) {
  .gallery-modal {
    padding: 120px 0;
  }
}

@media screen and (min-width: 768px) {
  .gallery-movie {
    padding: 140px 0;
  }
}

@media screen and (max-width: 768px) {
  .gallery-movie {
    padding: 120px 0;
  }
}
