/* お知らせポップアップ 共通CSS（他ページでも流用可） */
.notice-banner {
  max-width: 1256px;
  margin: 16px auto;
  padding: 12px 16px;
  background: #f2f8fb;
  box-sizing: border-box;
  text-align: center;
}
.notice-banner__title {
  display: block;
  color: #006497;
  font-weight: bold;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}
.notice-banner__title:hover {
  text-decoration: none;
}

.notice-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}
.notice-modal-overlay.is-active {
  display: flex;
}
.notice-modal {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 20px;
  background: #fff;
  border-radius: 4px;
  box-sizing: border-box;
}
.notice-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 24px;
  line-height: 32px;
  cursor: pointer;
}
.notice-modal__header {
  margin-bottom: 16px;
  padding-right: 32px;
  font-weight: bold;
  font-size: 16px;
}
.notice-modal__body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
}
.notice-modal__body p:last-child {
  margin-bottom: 0;
}
.notice-modal__subhead {
  font-weight: bold;
}
body.notice-modal-open {
  overflow: hidden;
}
