@charset "UTF-8";
/* ============
gallery-archive | photo gallery
============ */
#gallery-archive {
  padding: 9rem 0 8rem;
}
@media screen and (max-width: 767px) {
  #gallery-archive {
    padding: 6rem 0 5rem;
  }
}
#gallery-archive .contents-title {
  margin-bottom: 4rem;
}
#gallery-archive {
  /* タブ（トップギャラリーと同じ挙動：未選択＝淡ラベンダー／選択中＝強調ピンク） */
}
#gallery-archive .button__group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}
#gallery-archive .button__group .button01-01 {
  width: calc(18% - 1rem);
}
@media screen and (max-width: 767px) {
  #gallery-archive .button__group .button01-01 {
    width: calc(33% - 1rem);
  }
}
#gallery-archive .button__group .button01-01 a {
  width: 100%;
  font-size: 0.875rem;
  padding: 0.7rem 0;
}
#gallery-archive .button__group .button01-01 a {
  background-color: #C7C1CF;
  border: 1px solid #C7C1CF;
}
#gallery-archive .button__group .button01-01 a,
#gallery-archive .button__group .button01-01 .button1__text {
  color: #555555;
}
#gallery-archive .button__group .button01-01:not(.is-active) a:hover {
  background-color: #F9F9D4;
  border-color: #F9F9D4;
}
#gallery-archive .button__group .button01-01.is-active a {
  background-color: #F092A1;
  border-color: #F092A1;
}
#gallery-archive .button__group .button01-01.is-active a,
#gallery-archive .button__group .button01-01.is-active .button1__text {
  color: #ffffff;
}
#gallery-archive {
  /* 画像グリッド：5列・正方形・角丸 */
}
#gallery-archive .contents {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3125rem;
}
#gallery-archive .contents.is-active {
  display: grid;
}
@media screen and (max-width: 767px) {
  #gallery-archive .contents {
    grid-template-columns: repeat(2, 1fr);
  }
}
#gallery-archive .contents .image {
  border-radius: 0.6875rem;
  overflow: hidden;
  aspect-ratio: 1/1;
}
#gallery-archive .contents .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}
#gallery-archive .contents .image:hover img {
  transform: scale(1.08);
}
#gallery-archive .gallery-archive__empty {
  grid-column: 1/-1;
  text-align: center;
  color: #888888;
  padding: 3rem 0;
}
