@charset "utf-8";
/*===================
gallery
===================*/
.heading {
  padding: 166px 0 30px;
}
.gallery {
  padding: 85px 0 176px;
}
/* menu */
.gallery__cat {
  font-size: max(13px, 0.9vw);
  font-weight: 400;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 1em;
  margin-top: 42px;
}
.gallery__cat a span {
  position: relative;
  display: inline-block;
}

.gallery__cat a span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.gallery__cat a:hover span::after,
.gallery__cat a.is-active span::after {
  width: 100%;
}

.gallery__list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
  width: 100%;
  max-width: max(1018px, 70.69vw);
  margin: 0 auto;
  padding-bottom: 65px;
}
.gallery__list-item {
  width: calc((100% - 60px) / 3);
}
.gallery__img {
  width: 100%;
  aspect-ratio: 318 / 179;
  overflow: hidden;
}
.gallery__img img {
  transition: 0.3s;
}
.gallery__list-item a:hover .gallery__img img {
  scale: 1.05;
}
.gallery__name {
  font-size: max(12px, 0.83vw);
  letter-spacing: 0.1em;
  padding: 10px 0;
}

.lightbox .lb-image {
  /*max-width:800px;
	height:auto!important;*/
}

.gallery-more {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto;
  background-color: #181818;
  border: none;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.gallery-more span {
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-more span::after {
  content: "";
  width: 13px;
  height: 7px;
  background: url(../imgs/gallery/more_arrow.svg) no-repeat;
  background-size: contain;
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  transition: all 0.3s;
}

/* hover（開いてない時だけ動く） */
.gallery-more:not(.is-open):hover span::after {
  top: calc(100% + 15px);
}

/* open状態＝閉じる状態 */
.gallery-more.is-open span::after {
  transform: translateX(-50%) rotate(180deg);
  top: calc(100% + 9px);
}

.is-hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  /* menu */
  .gallery__cat {
    font-size: 16px;
  }
  .gallery {
    padding: 60px 0 100px;
  }
  .gallery__list {
    gap: 30px 20px;
  }
  .gallery__list-item {
    width: calc((100% - 20px) / 2);
  }
}

@media screen and (max-width: 480px) {
}
