/* 鍋ヶ滝公園 開園状況表示 */
.nbg-status {
  --nbg-accent: #4caf50;
  --nbg-bg: rgba(0, 0, 0, 0.55);
  --nbg-fg: #fff;
  box-sizing: border-box;
  color: var(--nbg-fg);
  background: var(--nbg-bg);
  border-left: 6px solid var(--nbg-accent);
  border-radius: 4px;
  padding: 14px 20px;
  line-height: 1.5;
  text-align: left;
  min-width: 240px;
  max-width: 100%;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.nbg-status p { margin: 0; }
.nbg-status[hidden], .nbg-status [hidden] { display: none !important; }

.nbg-status__date   { font-size: 13px; opacity: .9; }
.nbg-status__title  { font-size: 14px; font-weight: 700; margin-top: 2px !important; }
.nbg-status__state  { font-size: 24px; font-weight: 700; line-height: 1.3; margin-top: 6px !important; }
.nbg-status__sub    { font-size: 15px; margin-top: 2px !important; }
.nbg-status__period { font-size: 13px; margin-top: 4px !important; opacity: .95; }
.nbg-status__notice { font-size: 12px; margin-top: 8px !important; }
.nbg-status__notice a { color: inherit; text-decoration: underline; }
.nbg-status__notice a:not([href]) { text-decoration: none; }

/* パターン別アクセント */
.nbg-status--a  { --nbg-accent: #4caf50; }  /* 通常開園中 */
.nbg-status--a2 { --nbg-accent: #ff9800; }  /* 入園終了（退園中） */
.nbg-status--b  { --nbg-accent: #9e9e9e; }  /* 現在閉園中 */
.nbg-status--c  { --nbg-accent: #64b5f6; }  /* 年末年始休園中 */
.nbg-status--d  { --nbg-accent: #e53935; }  /* 臨時休園 */

/*
 * overlay: メインビジュアル上に重ねる。親要素に position: relative が必要。
 * 位置は --nbg-top / --nbg-left / --nbg-right で調整（右上にする場合は --nbg-left: auto; --nbg-right: 24px）
 */
.nbg-status--overlay {
  position: absolute;
  top: var(--nbg-top, 120px);
  left: var(--nbg-left, 24px);
  right: var(--nbg-right, auto);
  z-index: 5;
}

@media (max-width: 767px) {
  .nbg-status { padding: 10px 14px; min-width: 0; }
  .nbg-status__state { font-size: 20px; }
  .nbg-status__sub { font-size: 14px; }

  .nbg-status--overlay {
	  border-radius: 0;
	  right: 10px;
	  left: auto;
	  top: 170px;
  }
}
