/* === 楽天ホテルランキング用 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;
}

/* =========================
   ホテル検索フォーム（rakuten_hotels_search 用）
   ========================= */
.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;
}

/* スマホ：入力＋ボタンを横並び固定 */
@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;
  }

  .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;
  }
}

/* =========================
   YUKA Hotel Search Form
   [yuka_hotel_search_form] 用
   駐車場検索窓寄せ
   ========================= */

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

.yuka-hotel-search-form__row{
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.yuka-hotel-search-form__input{
  flex: 1;
  min-width: 260px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.2;
  background: #fff;
  color: #222;
  appearance: none;
  -webkit-appearance: none;
}

.yuka-hotel-search-form__input:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(20,190,20,.18);
  border-color: rgba(20,190,20,.35);
}

.yuka-hotel-search-form__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 1.1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  background: #14BE14;
  color: #fff;
  font-weight: 700;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.yuka-hotel-search-form__btn:hover{
  filter: brightness(0.97);
}

@media (max-width: 767px){
  .yuka-hotel-search-form__row{
    flex-wrap: nowrap;
  }

  .yuka-hotel-search-form__input{
    min-width: 0;
    font-size: 15px;
  }

  .yuka-hotel-search-form__btn{
    font-size: 15px;
    padding: 12px 14px;
  }
}