.notice-wrap {
  width: 1160px;
  margin: 30px auto 0;
  padding: 0;
}

/* 見出しの「INFORMATION」 */
.notice-head {
  margin-bottom: 0;
  position: relative;
  height: 44px;
}

.notice-empty {
  padding: 20px 24px;
  text-align: center;
  color: #6b6f7a;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  background: #223a6b;
  /* 濃い青 */
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.04em;
  border-radius: 6px 6px 0 0;
  font-size: 13px;
}

/* 枠 */
.notice-box {
  border: 1px solid #aeb6c7;
  border-radius: 0 6px 6px 6px;
  background: #fff;
  overflow: hidden;
}

/* 一覧 */
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 1行（1件） */
.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid #e6e9f0;
}

.notice-item:first-child {
  border-top: none;
}

/* 日付（固定幅） */
.notice-date {
  flex: 0 0 120px;
  /* 日付の幅を固定 */
  color: #6b6f7a;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* 件名（残り幅） */
.notice-link {
  flex: 1 1 auto;
  min-width: 0;
  /* 省略表示に必須 */
  color: #223a6b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  /* 長い件名は1行で省略 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-link:hover {
  text-decoration: underline;
}

/* 件数が多い時に高さ固定＋スクロールしたい場合（任意）
   必要なら .notice-box に以下を追加してください。
*/
/*
.notice-box {
  max-height: 280px;
  overflow-y: auto;
}
*/

/* 画面が狭い時の保険（任意：1160pxより狭い環境用） */
@media (max-width: 1200px) {
  .notice-wrap {
    width: auto;
    margin: 0 20px;
  }

  .notice-date {
    flex-basis: 110px;
    font-size: 16px;
  }

  .notice-link {
    font-size: 18px;
  }
}

/* ===== Modal base ===== */
.notice-modal {
  display: none;
  /* JSで表示切替 */
  position: fixed;
  inset: 0;
  z-index: 9999;
  font-family: inherit;
}

.notice-modal[aria-hidden="false"] {
  display: block;
}

/* 背景の暗幕 */
.notice-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* パネル（白い大きい箱） */
.notice-modal__panel {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 1280px);
  /* 画像はかなり横長なので広め */
  height: min(84vh, 720px);
  /* 高さは画面に収める */
  background: #fff;
  border: 1px solid #c9ccd3;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border-radius: 5px;
}

/* 閉じるボタン（右上の×） */
.notice-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 44px;
  line-height: 44px;
  cursor: pointer;
  color: #1c2b4a;
  opacity: 0.9;
}

.notice-modal__close:hover {
  opacity: 1;
}

/* ヘッダー */
.notice-modal__header {
  padding: 20px 84px 16px 30px;
  /* 右は×の分余白 */
}

.notice-modal__date {
  color: #8b8f97;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.notice-modal__title {
  margin: 0;
  color: #1c2b4a;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* 画像のような濃いめの区切り線 */
.notice-modal__divider {
  height: 3px;
  background: #223a6b;
}

/* 本文 */
.notice-modal__body {
  padding: 22px 44px 28px 30px;
  height: calc(100% - 26px - 16px - 3px - 44px - 44px);
  /* ↑ざっくり：ヘッダ/区切り/余白分。厳密にしたいならJSで測る or flex化が良い */

  overflow: auto;
  color: #2b2f36;
  font-size: 16px;
  line-height: 1.9;
}

/* 本文内の段落など（最低限） */
.notice-modal__body p {
  margin: 0 0 18px 0;
}

.notice-modal__body a {
  color: #223a6b;
  text-decoration: underline;
}

/* ===== より堅牢にするなら flex レイアウト版（おすすめ） ===== */
/* 上の height calc が嫌なら、下に切り替え（上の body height は消す） */
/*
.notice-modal__panel {
  display: flex;
  flex-direction: column;
}
.notice-modal__header { flex: 0 0 auto; }
.notice-modal__divider { flex: 0 0 auto; }
.notice-modal__body {
  flex: 1 1 auto;
  height: auto;
}
*/

/* モバイル調整 */
@media (max-width: 768px) {
  .notice-modal__panel {
    top: 16px;
    height: 90vh;
  }

  .notice-modal__header {
    padding: 18px 66px 12px 18px;
  }

  .notice-modal__body {
    padding: 16px 18px 18px 18px;
  }

  .notice-modal__title {
    font-size: 20px;
  }

  .notice-modal__close {
    top: 10px;
    right: 10px;
  }
}