@charset "utf-8";

/* --- スライダー非活性時 --- */
.news-code .news-wrap:not(.swiper-initialized) {
  padding: 0;
}

.news-code .swiper-button-prev,
.news-code .swiper-button-next {
  display: none;
}

.news-code .news-wrap:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* --- news-wrap --- */
.news-code .news-wrap.swiper {
  padding: 5px;
}


/* --- yell-slide --- */
.yell-archive{
  overflow: hidden;
}
.yell-inner{
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: content-box;
}

.yell-wrap{
  padding: 0 10px;
}

.yell-list{
  padding: 5px;
}

.yell-wrap .yell-list a{
  display: block;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(89, 78, 82, 0.5);
  overflow: hidden;
}

.yell-list-img{
  position: relative;
  padding-bottom: 32px;
  overflow: hidden;
}

.yell-list .yell-list-img img{
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.yell-list .yell-meta{
  padding: 0 10px 15px;
}

.yell-list .yell-text{
  margin-bottom: 10px;
  font-size: 1.3em;
  line-height: 1.1;
  color: #000;
}

.yell-list .yell-name{
  color: #000;
  font-size: 1.3em;
  font-weight: bold;
  transition: all .3s ease;
}
.yell-list .yell-info{
  color: #594e52;
  font-size: .9em;
  line-height: 1.2em;
  transition: all .3s ease;
}
.yell-list a:hover .yell-name,
.yell-list a:hover .yell-info{
  color: #e4007f;
}

.yell-inner .swiper-button-next,
.yell-inner .swiper-button-prev{
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 0 5px rgba(89, 78, 82, 0.5);
}

.yell-inner .swiper-button-next{
  right: 2px;
}

.yell-inner .swiper-button-prev{
  left: 2px;
}

.yell-inner .swiper-button-next::after,
.yell-inner .swiper-button-prev::after{
  font-size: 20px;
  font-weight: bold;
}


@media print, screen and (max-width: 1024px) {
  /* --- ナビボタン --- */
  .news-code .swiper-button-prev,
  .news-code .swiper-button-next {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 7px rgba(89, 78, 82, .5);
  }

  .news-code .swiper-button-prev {
    left: -5px;
  }

  .news-code .swiper-button-next {
    right: -5px;
  }

  .news-code .swiper-button-prev::after,
  .news-code .swiper-button-next::after {
    font-size: 20px;
  }
}
