/* notices.css — avis importants (fermetures, saisons, précautions) au-dessus de la carte */
.notices-box { margin: 0 0 22px; }
.notices-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 900; color: #222; }
.notices-head::before { content: '!'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; }
.notices-sub { margin: -4px 0 12px; font-size: 12px; color: #666; }
.notices-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }

.notice-card { --nc: var(--gray); --nc-bg: #f6f6f6;
    position: relative; padding: 12px 14px 12px 16px; background: var(--nc-bg);
    border: 1px solid var(--line); border-left: 5px solid var(--nc); border-radius: 3px;
    transition: box-shadow .2s, transform .2s; }
.notice-card.t-closure { --nc: var(--red);    --nc-bg: #fff4f4; }
.notice-card.t-warning { --nc: var(--orange); --nc-bg: #fff8ee; }
.notice-card.t-season  { --nc: var(--green);  --nc-bg: #f2fbf5; }
.notice-card.t-info    { --nc: #2a6fb0;       --nc-bg: #f1f7fd; }

.notice-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.notice-type { padding: 1px 10px; border-radius: 2px; background: var(--nc); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.notice-dest { padding: 0 8px; border: 1px solid var(--nc); border-radius: 20px; background: #fff; color: var(--nc); font-size: 11px; font-weight: 900; }
.notice-title { margin: 0 0 4px; font-size: 14px; font-weight: 900; line-height: 1.5; color: #222; }
.notice-period { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 6px; padding: 2px 10px; background: #fff; border: 1px dashed var(--nc); border-radius: 3px; font-size: 13px; font-weight: 900; color: var(--nc); }
.notice-body { margin: 0; font-size: 12.5px; line-height: 1.8; color: #444; white-space: pre-line; }

/* Avis lié à un site actuellement sélectionné sur la carte */
.notice-card.is-selected { box-shadow: 0 0 0 3px var(--yellow), 0 4px 12px rgba(0, 0, 0, .15); transform: translateY(-2px); }
.notice-card.is-selected::after { content: '選択中のスポットに関するお知らせ'; display: block; margin-top: 8px; font-size: 11px; font-weight: 900; color: var(--nc); }

@media (max-width: 560px) { .notices-grid { grid-template-columns: 1fr; } }