オークション会場への案内
/* 🔍 駅名・会場名切り替えボタン */
.search-switch {
display: flex;
justify-content: center;
gap: 10px;
margin: 20px 0; /* 上下余白を増やした */
font-family: “Noto Sans JP”, sans-serif;
}
.switch-btn {
display: inline-block;
padding: 10px 18px;
border-radius: 25px;
background: #ffd6e8; /* 桜ピンク */
color: #555;
text-decoration: none;
font-weight: bold;
box-shadow: 0 3px 6px rgba(0,0,0,0.1);
transition: all 0.25s ease;
}
.switch-btn:hover {
background: #ffbcd9;
transform: translateY(-2px);
}
.switch-btn.active {
background: #ff8ab5; /* アクティブは濃いピンク */
color: #fff;
box-shadow: 0 4px 10px rgba(255,138,181,0.4);
}
#bus-modal {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
inset: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
z-index: 9999;
}
#bus-modal.show {
opacity: 1;
visibility: visible;
}
#bus-modal .modal-content {
background: #fff;
border-radius: 10px;
padding: 20px;
max-width: 600px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
}
/* アニメーション(控えめ) */
@keyframes modalPop {
from { transform: translateY(-6px) scale(.99); opacity: 0; }
to { transform: translateY(0) scale(1); opacity: 1; }
}
/* 読み込み表示とテーブル */
#bus-schedule.loading { color: #777; }
#bus-schedule table { width:100%; border-collapse: collapse; margin-top:10px; }
#bus-schedule th, #bus-schedule td {
padding: 6px 8px;
border-bottom: 1px dashed rgba(0,0,0,0.06);
font-size: 14px;
}
/* 閉じるボタン */
.close-modal {
position: absolute;
top: 10px;
right: 20px;
font-size: 22px;
border: none;
background: none;
cursor: pointer;
}
.close-modal:hover { filter: brightness(.95); }
/* ボタンのフォーカス痕跡抑制(アクセシビリティは残す) */
.open-modal:focus { outline: 3px solid rgba(255,159,199,0.25); outline-offset: 3px; }
/* スマホで高さが足りないときはスクロール */
@media (max-height: 600px) {
#bus-modal .modal-content { max-height: 90vh; overflow-y: auto; }
}
/* 駅ボタン(共通) */
.station-btn {
display: inline-block;
padding: 8px 16px;
border-radius: 20px;
background: #ff7eb9; /* ピンク */
color: white;
font-weight: bold;
margin: 5px;
border: none;
cursor: pointer;
transition: background 0.3s ease;
}
/* 🚌 送迎バスボタンだけ色変更(緑) */
.station-btn.bus-btn {
background: #4caf50; /* 緑 */
}
/* ホバー時の反応 */
.station-btn:hover {
opacity: 0.85;
}
