/* 【エリア別】おすすめ不用品回収業者ランキング スライダー */
.area_ranking_area .ttl_area{ margin-bottom: 28px; }
.area-ranking-swiper{
  position: relative;
  overflow: hidden;
  padding: 8px 4px 0;
}
.area-ranking-swiper .swiper-wrapper{
  align-items: stretch;
}
.area-ranking-slide{
  flex-shrink: 0;
  height: auto;
  box-sizing: border-box;
}
.area-ranking-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 6px 16px -8px rgba(0,0,0,.18);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.area-ranking-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,.12), 0 12px 24px -10px rgba(0,0,0,.25);
}
.area-ranking-thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
  overflow: hidden;
}
.area-ranking-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.area-ranking-body{
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.area-ranking-pref{
  align-self: flex-start;
  display: inline-block;
  background-color: #dfeed0;
  color: #338751;
  padding: 0.3em 1em;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
}
.area-ranking-title{
  color: #222;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.area-ranking-pagination{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.area-ranking-pagination .swiper-pagination-bullet{
  width: 9px;
  height: 9px;
  background: #c4d3e0;
  opacity: 1;
  border-radius: 50%;
  transition: width .25s ease, background .25s ease;
}
.area-ranking-pagination .swiper-pagination-bullet-active{
  width: 24px;
  border-radius: 6px;
  background: #338751;
}
@media screen and (max-width: 768px){
  .area-ranking-title{ font-size: 1.4rem; }
}
/* 連続マーキー：一定速度で滑らかに流す */
.area-ranking-swiper .swiper-wrapper{
  transition-timing-function: linear !important;
}
/* スライドが少なくループしないケースのフォールバック中央寄せ */
.area-ranking-swiper:not(.swiper-initialized) .swiper-wrapper{
  justify-content: center;
}

/* カードを約半分サイズに（スライダーを中央寄せの細幅バンドにして3枚ループを維持） */
.area-ranking-swiper{ max-width: 580px; margin-left: auto; margin-right: auto; }
.area-ranking-body{ padding: 12px 14px 16px; gap: 6px; }
.area-ranking-title{ font-size: 1.3rem; }
.area-ranking-pref{ font-size: 1.1rem; padding: 0.25em 0.9em; }
@media screen and (max-width: 768px){
  .area-ranking-title{ font-size: 1.25rem; }
}

/* ===== トップ用 箇条書き装飾（品目カード / チェーン縦線リスト）2026移行 ===== */
/* 見出し(ttl_area/main_ttl)・説明文は既存のまま。リスト部のみ装飾 */

/* パターン1：イラスト付きカードグリッド（売りたい品目から探す） */
.ys-poplist-card{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(110px,1fr));
  gap:15px;list-style:none;padding:0;margin:0 auto;max-width:800px;
}
.ys-poplist-card li{
  background:#dfeed0;border-radius:12px;
  transition:all .3s ease;border:2px solid transparent;
}
.ys-poplist-card li a{
  display:block;padding:20px 10px;text-align:center;
  text-decoration:none;color:#444;
}
.ys-poplist-card li:hover{
  transform:translateY(-5px);border-color:#338751;background:#fff;
  box-shadow:0 5px 15px rgba(56,118,209,.15);
}
.ys-poplist-card .mock-img{
  width:50px;height:50px;background:#fff;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 10px;color:#338751;font-size:22px;
}
.ys-poplist-card span{font-weight:bold;color:#444;font-size:14px;}

/* パターン5：縦線区切りリスト（大手チェーン） */
.ys-poplist-inline{
  display:flex;flex-wrap:wrap;justify-content:center;list-style:none;
  padding:20px 0;margin:0 auto;background:#fff;border-radius:12px;
  border:2px solid #dfeed0;max-width:900px;
}
.ys-poplist-inline li{
  padding:10px 25px;position:relative;text-align:center;transition:color .3s;
}
.ys-poplist-inline li a{color:#444;font-weight:bold;text-decoration:none;display:block;}
.ys-poplist-inline li:hover a{color:#338751;}
@media (min-width:768px){
  .ys-poplist-inline li:not(:last-child)::after{
    content:'';position:absolute;right:0;top:50%;transform:translateY(-50%);
    height:50%;width:2px;background:#dcdcdc;
  }
}
@media (max-width:767px){
  .ys-poplist-inline{padding:0;border:none;}
  .ys-poplist-inline li{
    width:50%;box-sizing:border-box;border-bottom:2px solid #dfeed0;padding:0;font-size:14px;
  }
  .ys-poplist-inline li a{padding:15px 10px;}
  .ys-poplist-inline li:nth-child(odd){border-right:2px solid #dfeed0;}
  .ys-poplist-inline li:nth-last-child(-n+2){border-bottom:none;}
  .ys-poplist-card{grid-template-columns:repeat(4,1fr);}
}
@media (max-width:480px){
  .ys-poplist-card{grid-template-columns:repeat(2,1fr);}
}
