/* === 楽天ホテルランキング用 CSS === */
.rakuten-hotels-ranking-container {
  max-width: 800px;
  margin: 0 auto;
}
.ranking-item {
  position: relative;
  margin-bottom: 25px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.ranking-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0,0,0,0.5);
}
.hotel-title {
  margin: 0 0 8px;
  padding-left: 70px;
  font-size: 1.2rem;
  font-weight: bold;
}
.hotel-summary {
  margin: 5px 0 15px;
  line-height: 1.5;
  color: #555;
}
.hotel-image {
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}
.hotel-button-area {
  margin-bottom: 10px;
}
.hotel-link {
  display: inline-block;
  background: #00b900;
  color: #fff;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 3px;
}
.hotel-link:hover {
  background: #00a300;
}
.hotel-details {
  margin-top: 8px;
  padding-left: 70px;
}
.hotel-address,
.hotel-price,
.hotel-review-count {
  margin: 5px 0;
}
.hotel-review-average {
  margin: 5px 0;
  font-weight: bold;
}
.review-stars {
  color: #ffba00;
}
.review-link {
  color: #0066cc;
  text-decoration: underline;
}
.review-link:hover {
  color: #004999;
}

/* =========================
   楽天レビューランキング（.rkRank 配下限定）
   ========================= */

.rkRank {
  --rk-text: #222;
  --rk-link: #1f5fbf;
  --rk-muted: #666;
  --rk-price: #ed1b24;
  --rk-badge-text: #fff;

  margin: 24px 0 56px;
  color: var(--rk-text);
}

.rkRank .wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 14px;
}

.rkRank .secCommon {
  margin-bottom: 56px;
}

.rkRank #contentInner,
.rkRank .rkContent {
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;

  counter-reset: rkRank;
}

@media (min-width: 768px) {
  .rkRank #contentInner,
  .rkRank .rkContent {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.rkRank #contentInner > li,
.rkRank .rkContent > li {
  position: relative;
  padding: 18px 16px 16px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  counter-increment: rkRank;
}

.rkRank #contentInner > li::before,
.rkRank .rkContent > li::before {
  content: counter(rkRank);
  position: absolute;
  top: 12px;
  left: 12px;

  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;

  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: var(--rk-badge-text);
  background: #ff8c00;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.rkRank #contentInner > li:nth-child(1)::before,
.rkRank .rkContent > li:nth-child(1)::before { background: #d4af37; }

.rkRank #contentInner > li:nth-child(2)::before,
.rkRank .rkContent > li:nth-child(2)::before { background: #b0b7c3; }

.rkRank #contentInner > li:nth-child(3)::before,
.rkRank .rkContent > li:nth-child(3)::before { background: #cd7f32; }

.rkRank #contentInner li dl,
.rkRank .rkContent li dl { margin: 0; }

.rkRank #contentInner li dl dt,
.rkRank .rkContent li dl dt { margin: 0 0 10px 0; }

.rkRank #contentInner li dl dt a img,
.rkRank .rkContent li dl dt a img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.rkRank .itemName,
.rkRank .itemPrice,
.rkRank .itemValue { margin: 10px 0 0; }

.rkRank .itemName a {
  color: var(--rk-link);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.45;
}
.rkRank .itemName a:hover { text-decoration: underline; }

.rkRank .itemPrice {
  color: var(--rk-price);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.rkRank .itemPrice span,
.rkRank .itemValue span {
  font-size: 13px;
  font-weight: 600;
  color: var(--rk-muted);
  margin-left: 4px;
}

.rkRank .itemValue {
  color: var(--rk-muted);
  font-size: 14px;
}

.rkRank .rkCatch {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #ed1b2b;
}

.rkRank .swell-block-button { margin-top: 14px; }

.rkRank .overlay-ad {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.5);
}

.rkRank .overlay-ad > div {
  display: inline-block;
  margin: auto;
  width: min(92%, 680px);
}

.rkRank .itemName a{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rkRank .rkCatch{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;

  line-height: 1.45;
  min-height: calc(1.45em * 3);
  margin-top: 10px;
}

/* =========================
   ホテル検索フォーム（見た目調整）
   ========================= */
.yuka-hotel-search .yuka-hotel-search-help{
  margin: 6px 0 10px;
  font-size: 12px;
  color: rgba(0,0,0,.65);
  text-align: center;
}

.yuka-hotel-search .yuka-hotel-search-form { margin: 10px 0 10px; }

.yuka-hotel-search .yuka-hotel-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.yuka-hotel-search .yuka-hotel-search-input {
  width: min(520px, 100%);
  padding: 9px 12px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
}

.yuka-hotel-search .yuka-hotel-search-btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: 0;
  background: #00b900;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .02em;
}
.yuka-hotel-search .yuka-hotel-search-btn:hover { opacity: .92; }

/* チップ：細く、上品に */
.yuka-hotel-search .yuka-hotel-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 8px 0 16px;
}

.yuka-hotel-search .yuka-hotel-chip {
  border: 1px solid rgba(0,0,0,.16);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;     /* ←細く */
  cursor: pointer;
  font-size: 12px;       /* ←少し小さく */
  line-height: 1.6;
  color: rgba(0,0,0,.75);
}

/* アクティブ：背景緑＋文字白 */
.yuka-hotel-search .yuka-hotel-chip.is-active {
  background: #00b900;
  border-color: #00b900;
  color: #fff;
  box-shadow: none;
}

/* クリア：控えめ */
.yuka-hotel-search .yuka-hotel-chip.is-clear {
  border-style: dashed;
  opacity: .7;
}
.yuka-hotel-search .yuka-hotel-chip.is-clear:hover { opacity: .9; }

/* =========================
   Hotel Search (mobile fix)
   - button stays next to input
   - chips 2 columns on mobile
   ========================= */

/* スマホ：入力＋ボタンを横並び固定 */
@media (max-width: 600px){
  .yuka-hotel-search .yuka-hotel-search-row{
    display: grid !important;
    grid-template-columns: 1fr 88px; /* 入力：可変 / ボタン：固定 */
    gap: 10px;
    align-items: center;
    justify-content: initial;
  }

  .yuka-hotel-search .yuka-hotel-search-input{
    width: 100% !important;
    min-width: 0; /* gridで縮むため */
  }

  .yuka-hotel-search .yuka-hotel-search-btn{
    width: 88px;
    padding: 10px 0; /* 横幅固定に合わせる */
    white-space: nowrap;
  }
}

/* チップ：スマホは2列前提 */
@media (max-width: 600px){
  .yuka-hotel-search .yuka-hotel-search-chips{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-content: initial;
    margin: 10px auto 16px;
    max-width: 520px;
  }

  .yuka-hotel-search .yuka-hotel-chip{
    width: 100%;
    text-align: center;
    padding: 6px 10px;  /* 少し押しやすく */
  }
}