/* 特集「旅館レーダー」（guide/ryokan-radar.md、site/js/radar.js）。色は style.css の変数 */
.rr { margin: 1.6em 0 2em; font-size: .9rem; line-height: 1.6; }
.rr-box { background: var(--washi); border: 1px solid var(--rule); padding: 12px 14px; margin: 0 0 12px; }
.rr-box h3 { font-size: .95rem; margin: 0 0 8px; font-family: var(--gothic); }
.rr-axes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rr-axes label { min-width: 0; display: grid; gap: 3px; font-size: .78rem; color: var(--muted); }
.rr-axes select { width: 100%; min-width: 0; font: inherit; font-size: .9rem; padding: 6px 8px; border: 1px solid var(--rule); background: #fff; color: var(--sumi); border-radius: 4px; }
.rr-axdesc { font-size: .76rem; color: var(--sub); margin: 8px 0 0; }

/* レーダー */
.rr-scope { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1; }
.rr-scope svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
/* 動き：中央から広がるソナーの波紋＋回転する光（SVG の上に重ね、操作は下の SVG が受ける） */
.rr-fx { position: absolute; left: 5.5%; top: 5.5%; width: 89%; height: 89%; border-radius: 50%; overflow: hidden; pointer-events: none; }
.rr-fx i { position: absolute; inset: 0; border-radius: 50%; display: block; }
.rr-sweep { background: conic-gradient(from 0deg, rgba(126, 224, 180, 0) 0deg 280deg, rgba(126, 224, 180, .06) 315deg, rgba(126, 224, 180, .38) 358deg, rgba(190, 255, 220, .85) 359.5deg, rgba(126, 224, 180, 0) 360deg);
  mix-blend-mode: screen; animation: rr-spin 6s linear infinite; }
.rr-wave { border: 2.5px solid rgba(150, 240, 200, .9); background: radial-gradient(circle, rgba(126, 224, 180, 0) 60%, rgba(126, 224, 180, .14) 100%); transform: scale(0); opacity: 0; animation: rr-wave 4.5s cubic-bezier(.2, .6, .4, 1) infinite; }
.rr-wave:nth-child(2) { animation-delay: 1.5s; }
.rr-wave:nth-child(3) { animation-delay: 3s; }
@keyframes rr-wave { 0% { transform: scale(.02); opacity: 1; } 70% { opacity: .45; } 100% { transform: scale(1); opacity: 0; } }
.rr-core { inset: 48.5% !important; background: #bfffe0; box-shadow: 0 0 10px 4px rgba(126, 224, 180, .8); animation: rr-core 1.5s ease-in-out infinite; }
@keyframes rr-core { 50% { box-shadow: 0 0 18px 8px rgba(126, 224, 180, .45); } }
@keyframes rr-spin { to { transform: rotate(360deg); } }
.rr-dot { animation: rr-ping 6s linear infinite; cursor: pointer; }
@keyframes rr-ping { 0% { opacity: 1; } 2% { opacity: 1; } 40% { opacity: .62; } 100% { opacity: .62; } }
.rr-dot.n { animation: none; opacity: .35; }
.rr-dot.sel { animation: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rr-sweep, .rr-wave { display: none; } .rr-core { animation: none; } .rr-dot { animation: none; opacity: .8; } }
.rr-count { text-align: center; font-size: .82rem; color: var(--sub); margin: 6px 0 0; }
.rr-count b { font-family: var(--latin); font-size: 1.05rem; color: var(--shu); }
.rr-hint { text-align: center; font-size: .72rem; color: var(--muted); margin: 2px 0 10px; }

/* 価格帯 */
.rr-hist { position: relative; height: 92px; margin: 4px 8px 0; }
.rr-bars { position: absolute; inset: 0 0 0 0; display: flex; align-items: flex-end; gap: 2px; }
.rr-bars button { flex: 1; border: 0; padding: 0; background: var(--rule); min-height: 2px; cursor: pointer; border-radius: 2px 2px 0 0; }
.rr-bars button.on { background: var(--shu); }
.rr-range { position: relative; height: 30px; margin: 0 8px; }
.rr-range input { position: absolute; left: -8px; right: -8px; width: calc(100% + 16px); top: 6px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 18px; }
.rr-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--ai); cursor: grab; }
.rr-range input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ai); cursor: grab; }
.rr-range input::-webkit-slider-runnable-track { background: none; }
.rr-range input::-moz-range-track { background: none; }
.rr-range::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: var(--rule); }
.rr-ticks { position: relative; height: 1.2em; font-family: var(--latin); font-size: .68rem; color: var(--muted); margin: 0 8px; }
.rr-ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }


.rr-plabel { font-size: .86rem; margin: 6px 0 0; }
.rr-plabel b { color: var(--shu); }
.rr-note { font-size: .72rem; color: var(--muted); margin: 6px 0 0; }

/* カレンダー */
.rr-cal { display: grid; gap: 12px; }
@media (min-width: 640px) { .rr-cal { grid-template-columns: 1fr 1fr; } }
.rr-month b { display: block; font-size: .85rem; margin-bottom: 4px; }
.rr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-family: var(--latin); font-size: .8rem; }
.rr-grid span { font-size: .68rem; color: var(--muted); font-family: var(--gothic); }
.rr-grid button { font: inherit; border: 1px solid transparent; background: #fff; padding: 6px 0; border-radius: 4px; cursor: pointer; color: var(--sumi); }
.rr-grid button:disabled { background: none; color: #c9c0b0; cursor: default; }
.rr-grid button.sat { color: #24508f; }
.rr-grid button.sun { color: var(--shu); }
.rr-grid button.on { background: var(--ai); color: #fff; }
.rr-calbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; }
.rr-calbar b { color: var(--shu); }
.rr-calbtn { display: flex; gap: 6px; flex: none; }
.rr-cal { margin-top: 10px; }
.rr-cal[hidden] { display: none; }
.rr-calbar button { font: inherit; font-size: .8rem; border: 1px solid var(--ai); background: #fff; color: var(--ai); padding: 5px 12px; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.rr-calbar .rr-open { background: var(--ai); color: var(--kinari); }

/* 宿のカード */
.rr-pick { margin: 10px 0 0; }
.rr-pick:empty { display: none; }
.rr-pick > small { display: block; color: var(--muted); font-size: .76rem; margin-bottom: 4px; }
.rr-cards { display: grid; gap: 8px; }
@media (min-width: 700px) { .rr-cards.two { grid-template-columns: 1fr 1fr; } }
.rr-card { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: start; background: #fff; border: 1px solid var(--rule); padding: 8px; text-decoration: none; color: inherit; font-size: .82rem; line-height: 1.55; }
.rr-card:hover { border-color: var(--ai); }
.rr-card img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; background: var(--tan); }
.rr-card b { display: block; font-size: .95rem; line-height: 1.4; }
.rr-card small { display: block; color: var(--muted); font-size: .74rem; text-wrap: pretty; }
.rr-card i { font-style: normal; display: inline-block; font-size: .7rem; background: var(--tan); padding: 0 6px; margin: 2px 4px 0 0; border-radius: 3px; }
.rr-card .p { color: var(--shu); font-weight: 700; }

/* エリア */
.rr-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.rr-chips button { font: inherit; font-size: .78rem; border: 1px solid var(--ai); background: #fff; color: var(--ai); padding: 2px 9px; border-radius: 999px; cursor: pointer; }
.rr-chips button span { font-family: var(--latin); font-size: .66rem; color: var(--muted); margin-left: 4px; }
.rr-chips button[aria-pressed="true"] { background: var(--ai); color: var(--kinari); }
.rr-chips button[aria-pressed="true"] span { color: #c9d0de; }
.rr-groups button { border-style: dashed; }

/* 軸の説明は開いたときだけ（2026-11-02） */
.rr-axbox { padding: 10px 12px; }
.rr-more { margin-top: 6px; }
.rr-more summary { cursor: pointer; font-size: .76rem; color: var(--ai); list-style: none; display: inline-block; }
.rr-more summary::-webkit-details-marker { display: none; }
.rr-more summary::before { content: "＋ "; color: var(--shu); }
.rr-more[open] summary::before { content: "－ "; }
.rr-chips[hidden] { display: none; }
