@charset "UTF-8";
.gallery_detail {
  padding: 10vw 0;
}
.gallery_detail__title {
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
  font-size: clamp(1.375rem, 1.75vw, 1.75rem);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Yu Mincho", "游明朝体", "MS PMincho", "MS 明朝", serif;
  font-weight: 600;
  text-align: center;
}
.gallery_detail__img {
  width: 62%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: clamp(3rem, 3.5vw, 3.5rem);
}
.gallery_detail__img__main {
  margin-bottom: clamp(1rem, 1.75vw, 1.75rem);
  width: 100%;
  height: auto;
  aspect-ratio: 400/260;
}
.gallery_detail__img__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery_detail__img__thumb {
  width: fit-content;
  margin: 0 auto;
}
.gallery_detail__img__thumb .swiper-slide {
  width: clamp(6rem, 8vw, 8rem) !important;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.gallery_detail__img__thumb .swiper-slide:last-child {
  margin-right: 0 !important;
}
.gallery_detail__img__thumb .swiper-slide img {
  width: 100%;
}
.gallery_detail__img__thumb .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
  border: 1px solid #000; /* 任意で枠を付けてもOK */
}
.gallery_detail__product {
  position: relative;
  width: 62%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: clamp(0.75rem, 1vw, 1rem);
  border-bottom: 1px solid #333;
}
.gallery_detail__product__title {
  margin-bottom: clamp(0.5rem, 0.75vw, 0.75rem);
  position: relative;
}
.gallery_detail__product__title p {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding-right: 0.5vw;
  background-color: #fff;
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-family: "Noto Sans JP", "Source Han Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
}
.gallery_detail__product__title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background-color: #333;
}
.gallery_detail__product__item {
  white-space: normal;
  word-break: keep-all;
  font-size: clamp(0.625rem, 0.875vw, 0.875rem);
  line-height: 2;
  font-family: "Noto Sans JP", "Source Han Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
}
.gallery_detail__product__item span {
  display: inline-block;
  margin-right: 0.25em;
}

@media screen and (max-width: 960px) {
  .gallery_detail__img {
    width: 80%;
  }
  .gallery_detail__img__main {
    margin-bottom: 0.5rem;
  }
}
@media screen and (max-width: 520px) {
  .gallery_detail {
    padding: 5rem 0;
  }
  .gallery_detail__title {
    width: 92%;
    margin: 0 auto 0.75rem;
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.75;
  }
  .gallery_detail__img {
    width: 92%;
    margin-bottom: 1.5rem;
  }
  .gallery_detail__img__main {
    aspect-ratio: 400/300;
  }
  .gallery_detail__img__thumb {
    width: 100%;
    overflow-x: auto;
    margin: 0 auto;
  }
  .gallery_detail__img__thumb .swiper-slide {
    width: 4.5rem !important;
  }
  .gallery_detail__product {
    width: 92%;
    padding-bottom: 0.5rem;
  }
  .gallery_detail__product__title {
    margin-bottom: 0.375rem;
  }
}