/* =========================
   YUKA Luxe Slider CSS
   v1.1.7 向け 調整版
   - 吹き出しズレ修正
   - 左右ボタンの縦位置修正
   - 左右拡張マークを「フェード+矢印」に整理
   ========================= */

.yuka-luxe{
  margin: 24px 0 40px;
}

/* -------------------------
   上部バー
   ------------------------- */
.yuka-luxe-topbar{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 10px;
}

/* 吹き出し */
.yuka-luxe-badge{
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 12px 18px;
  background: #b99143;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 0;
  box-sizing: border-box;
}

.yuka-luxe-badge::after{
  content: "";
  position: absolute;
  left: 10px;
  bottom: -9px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid #b99143;
}

/* チップ */
.yuka-luxe-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.yuka-luxe-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
}

.yuka-luxe-chip.is-active{
  background: #111;
  color: #fff;
  border-color: #111;
}

.yuka-luxe-chip.is-clear{
  color: #666;
}

/* -------------------------
   フレーム
   ------------------------- */
.yuka-luxe-frame{
  position: relative;
  background: #050505;
  padding: 14px 18px;
  overflow: hidden;
  box-sizing: border-box;
}

/* 左右のフェードで「続きがある感」を出す */
.yuka-luxe-frame::before,
.yuka-luxe-frame::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
}

.yuka-luxe-frame::before{
  left: 0;
  background: linear-gradient(to right, rgba(5,5,5,1) 0%, rgba(5,5,5,.82) 45%, rgba(5,5,5,0) 100%);
}

.yuka-luxe-frame::after{
  right: 0;
  background: linear-gradient(to left, rgba(5,5,5,1) 0%, rgba(5,5,5,.82) 45%, rgba(5,5,5,0) 100%);
}

/* -------------------------
   スライダー本体
   ------------------------- */
.yuka-luxe-slider{
  position: relative;
}

.yuka-luxe-track{
  overflow: hidden;
}

.yuka-luxe-strip{
  display: flex;
  gap: 16px;
  align-items: stretch;
  will-change: transform;
}

/* PC 2.5枚見え */
.yuka-luxe-slide{
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 16px * 2) / 2.5);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background: #111;
}

.yuka-luxe-slide img{
  display: block;
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
}

/* オーバーレイ */
.yuka-luxe-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.38) 52%, rgba(0,0,0,0) 100%);
  box-sizing: border-box;
}

.yuka-luxe-rating{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.yuka-luxe-rating .stars{
  font-size: 18px;
  letter-spacing: .04em;
}

.yuka-luxe-rating .score{
  font-size: 16px;
}

.yuka-luxe-name{
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* -------------------------
   左右ボタン
   ------------------------- */
.yuka-luxe-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 40px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255,255,255,.10);
  cursor: pointer;

  font-size: 0;
  line-height: 0;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.yuka-luxe-nav:hover{
  background: rgba(255,255,255,.18);
}

.yuka-luxe-nav.prev{
  left: 10px;
}

.yuka-luxe-nav.next{
  right: 10px;
}

/* テキストの代わりに疑似要素で矢印 */
.yuka-luxe-nav::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -4px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  box-sizing: border-box;
}

.yuka-luxe-nav.prev::before{
  transform: rotate(-135deg);
  margin-left: -2px;
}

.yuka-luxe-nav.next::before{
  transform: rotate(45deg);
  margin-left: -6px;
}

/* -------------------------
   タイトル
   ------------------------- */
.yuka-luxe-title{
  margin: 0 0 12px;
}

/* -------------------------
   クレジット
   ------------------------- */
.yuka-luxe .yuka-rakuten-credit{
  margin-top: 8px;
}

/* -------------------------
   タブレット以下
   ------------------------- */
@media (max-width: 1024px){
  .yuka-luxe-slide{
    flex-basis: calc((100% - 16px) / 2.1);
  }
}

/* -------------------------
   スマホ
   ------------------------- */
@media (max-width: 767px){
  .yuka-luxe{
    margin: 20px 0 32px;
  }

  .yuka-luxe-topbar{
    gap: 10px;
    margin-bottom: 8px;
  }

  .yuka-luxe-badge{
    font-size: 14px;
    padding: 10px 16px;
  }

  .yuka-luxe-badge::after{
    left: 8px;
    bottom: -8px;
    border-left-width: 7px;
    border-right-width: 7px;
    border-top-width: 8px;
  }

  .yuka-luxe-frame{
    padding: 12px 12px 10px;
  }

  .yuka-luxe-frame::before,
  .yuka-luxe-frame::after{
    width: 34px;
  }

  /* スマホ 1.5枚見え */
  .yuka-luxe-slide{
    flex: 0 0 calc((100% - 12px) / 1.5);
  }

  .yuka-luxe-strip{
    gap: 12px;
  }

  .yuka-luxe-overlay{
    padding: 14px 12px 12px;
  }

  .yuka-luxe-rating{
    gap: 6px;
    margin-bottom: 5px;
  }

  .yuka-luxe-rating .stars{
    font-size: 15px;
  }

  .yuka-luxe-rating .score{
    font-size: 13px;
  }

  .yuka-luxe-name{
    font-size: 12px;
    line-height: 1.4;
  }

  .yuka-luxe-nav{
    width: 32px;
    height: 48px;
  }

  .yuka-luxe-nav.prev{
    left: 6px;
  }

  .yuka-luxe-nav.next{
    right: 6px;
  }

  .yuka-luxe-nav::before{
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}