@charset "UTF-8";
/*------------------- Company -------------------*/
/*-------------------p-gallery.css -------------------*/
/* ---------------------------------------- */
/* ---------------------------------------- */
.p-gallery {
  margin-top: 90px;
}

/*-------------------p-gallery-filter.scss -------------------*/
.p-gallery-filter {
  width: 87.8vw;
  max-width: 1290px;
  margin: 0 auto;
  font-size: 2rem;
  position: relative;
}
.p-gallery-filter__select {
  width: 88vw;
  margin: 0 auto;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.p-gallery-filter__select::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  display: inline-block;
  position: absolute;
  transform: translateY(-50%) rotate(45deg);
  right: 20px;
  top: 50%;
  pointer-events: none;
}
.p-gallery-filter__select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.p-gallery-filter__selectbox {
  height: 45px;
  width: 100%;
  padding: 0 20px;
  line-height: 45px;
  border-radius: 10px;
  border: #292929 solid 1px;
}
.p-gallery-filter__slider-wrapper {
  width: 85.71vw;
  max-width: 1260px;
  margin: 0 auto;
}
.p-gallery-filter__slider-container {
  width: 100%;
  padding: 0 30px 0 50px;
}
.p-gallery-filter__list {
  margin: 0 -20px;
  width: 100%;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
}
.p-gallery-filter__item {
  margin: 0 20px;
  white-space: nowrap;
}
.p-gallery-filter__link {
  display: block;
  height: 49px;
  padding: 0 38px 19px 20px;
  line-height: 30px;
  border-bottom: solid 1px #231815;
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
}
.p-gallery-filter__link::before, .p-gallery-filter__link::after {
  width: 17px;
  height: 2px;
  border-radius: 0.1em;
  line-height: 1;
  background: #CD4F2F;
  content: "";
  display: inline-block;
  position: absolute;
  top: calc(50% - 8px);
  right: 19px;
}
.p-gallery-filter__link::after {
  transform: rotate(90deg);
}
.p-gallery-filter__link.is-active {
  color: #cc4e2f;
  border-bottom-color: #cc4e2f;
}
.p-gallery-filter__arrow-box {
  width: 100%;
  height: 50px;
  position: absolute;
  top: 0;
  pointer-events: none;
}
.p-gallery-filter__arrow {
  width: 30px;
  height: 30px;
  background-image: url(../images/gallery/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
  border: none;
  background-color: transparent;
  padding: 0;
  font-size: 0;
}
.p-gallery-filter__arrow--prev {
  left: 0;
}
.p-gallery-filter__arrow--next {
  transform: scale(-1, 1);
  right: 0;
}

/*-------------------p-gallery-section.css -------------------*/
.p-gallery-section {
  width: 85.71vw;
  max-width: 1260px;
  margin: 70px auto 0;
}
@media screen and (min-width: 769px) {
  .p-gallery-section {
    margin-top: 100px;
  }
}

/*-------------------p-gallery-list.css -------------------*/
.p-gallery-list {
  margin: 0;
  padding: 0;
  display: grid;
  /* Gridを使用する */
  grid-template-columns: 1fr;
  /* 1列表示に変更 */
  gap: 30px;
  /* 縦方向のギャップを調整（お好みで変更）*/
  list-style: none;
}
@media screen and (min-width: 769px) {
  .p-gallery-list {
    grid-template-columns: repeat(3, 1fr);
    /* 3列を均等な幅にする */
    gap: 50px 4.08vw;
    /* 縦方向 50px, 横方向 60px */
  }
}
/*-------------------p-gallery-card.css -------------------*/
.p-gallery-card {
  width: 100%;
  display: block;
  color: inherit;
}
.p-gallery-card__thumbnail {
  width: 100%;
  padding-bottom: 78.74%;
  background-color: #dcdddd;
  position: relative;
  overflow: hidden;
}
.p-gallery-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.p-gallery-card__content {
  margin-top: 20px;
}
@media screen and (min-width: 769px) {
  .p-gallery-card__content {
    margin-top: clamp(13px, 1.4vw, 20px);
  }
}
.p-gallery-card__category {
  width: clamp(100px, 8.1vw, 120px);
  height: 25px;
  border: 1px solid #CD4F2F;
  border-radius: 8px;
  color: #CD4F2F;
  font-size: clamp(1.2rem, 0.1vw, 1.4rem);
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .p-gallery-card__category {
    width: clamp(80px, 8.1vw, 120px);
    height: clamp(25px, 2.1vw, 30px);
    border-radius: 10px;
  }
}
.p-gallery-card__title {
  margin-top: 15px;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 500;
}
@media screen and (min-width: 769px) {
  .p-gallery-card__title {
    margin-top: clamp(10px, 1vw, 15px);
    font-size: clamp(1.6rem, 1.3vw, 2rem);
  }
}