@charset "UTF-8";
/* 簡易リセットCSS */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
  background-color: rgba(120, 123, 131, 0.8);
}

/* モーダルがactiveの時 */
.modal.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 100;
}

/* モーダル背景のオーバーレイ部分 */
.modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* モーダルのコンテンツ */
.modal__content {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 781px;
  padding: 20px;
}

/* モーダルを閉じるボタン */
.modal__close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
  z-index: 10;
}

/* Swiperの矢印部分 */
@media (max-width: 768px) {
  .modal .swiper-button-next,
  .modal .swiper-button-prev {
    display: none;
  }
}

.slider_list img {
  width: 240px;
}
@media (max-width: 768px) {
  .slider_list img {
    width: 250px;
  }
}
.slider_list {
    margin: 0 auto;
    /* display: flex;
    flex-wrap: wrap;
    justify-content: left; */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
    @media screen and (max-width: 767px) {
        grid-template-columns: repeat(4, 1fr);
    }
    @media screen and (max-width: 575px) {
        grid-template-columns: repeat(3, 1fr);
    }
}
.js-open-modal {
    display: block;
    margin: 3px;
    border: none;
    cursor: pointer;
    @media(hover: hover) {
        transition: opacity 0.2s ease-out;
        &:hover {
            opacity: 0.8;
        }
    }
}

.swiper-slide img {
    width: 100%;
}
