/* 楽天ホテルウィジェット スタイル */
.rhw-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  max-width: 640px;
  background: #fff;
  margin: 1.5em 0;
  box-sizing: border-box;
}

/* ─── ヘッダー */
.rhw-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.rhw-thumb {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #eee;
}
.rhw-hotel-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
}
.rhw-hotel-name a {
  color: inherit;
  text-decoration: none;
}
.rhw-hotel-name a:hover {
  text-decoration: underline;
}
.rhw-hotel-meta {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* ─── 日程バー */
.rhw-dates {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.rhw-date-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rhw-date-label {
  font-size: 10px;
  color: #999;
}
.rhw-date-val {
  font-size: 14px;
  font-weight: 500;
}
.rhw-arrow {
  font-size: 16px;
  color: #bbb;
}

/* ─── セクションラベル */
.rhw-section-label {
  font-size: 11px;
  color: #999;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

/* ─── プランリスト */
.rhw-plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rhw-plan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.rhw-plan-row.rhw-plan-best {
  border: 2px solid #1a73e8;
}
.rhw-badge {
  font-size: 11px;
  background: #e8f0fe;
  color: #1a73e8;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.rhw-plan-names {
  flex: 1;
  min-width: 0;
}
.rhw-plan-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rhw-room-name {
  display: block;
  font-size: 11px;
  color: #888;
}
.rhw-plan-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.rhw-price {
  font-size: 18px;
  font-weight: 700;
  color: #c00;
}
.rhw-cta {
  font-size: 13px;
  font-weight: 500;
  background: #bf0000;
  color: #fff !important;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}
.rhw-cta:hover {
  background: #990000;
}

/* ─── 空室なし */
.rhw-vacant-none {
  text-align: center;
  padding: 16px 0;
  color: #666;
  font-size: 14px;
}
.rhw-min-charge {
  font-size: 13px;
  color: #999;
  margin: 4px 0 12px;
}
.rhw-cta-full {
  display: inline-block;
  background: #bf0000;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
}
.rhw-cta-full:hover { background: #990000; }

/* ─── 注意書き */
.rhw-disclaimer {
  font-size: 10px;
  color: #bbb;
  margin: 12px 0 0;
  text-align: right;
}

/* ─── エラー */
.rhw-error {
  color: #c00;
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  background: #fff0f0;
}

/* ─── レスポンシブ */
@media (max-width: 480px) {
  .rhw-plan-right { flex-direction: column; align-items: flex-end; gap: 6px; }
  .rhw-plan-row { flex-wrap: wrap; }
}
