/* ============================================================
   お知らせ共通スタイル / notice-style.css
   スコープ: .ai-notice-wrap 配下にのみ適用

   カラーパレット
     #2a4a8a … メインブルー（大見出し・重要枠）
     #047ad8 … サブブルー（中見出し下線・リンク）
     #C5A059 … アクセントゴールド（ハイライト・期限）
   ============================================================ */

p:empty {
  display: none;
}

/* ---------- ベース ---------- */
.ai-notice-wrap {
  font-size: 16px;
}

/* ---------- 本文テキスト ---------- */
.ai-notice-wrap .notice-block {
  font-size: 16px;
  margin: 0 0 12px 0;
  line-height: 1.9;
}

/* ---------- 大見出し ---------- */
.ai-notice-wrap .notice-heading-lg {
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  background: #2a4a8a;
  padding: 6px 14px;
  margin: 28px 0 10px 0;
  border-radius: 4px;
  line-height: 1.7;
}

/* ---------- 中見出し ---------- */
.ai-notice-wrap .notice-heading-md {
  font-size: 16px;
  font-weight: bold;
  color: #2a4a8a;
  border-bottom: 2px solid #047ad8;
  padding-bottom: 3px;
  margin: 20px 0 8px 0;
  line-height: 1.7;
}

/* ---------- 小見出し（ゴールドアクセント） ---------- */
.ai-notice-wrap .notice-heading-sm {
  font-size: 16px;
  font-weight: bold;
  color: #5a4520;
  background: #fdf8ef;
  border-left: 4px solid #C5A059;
  padding: 5px 12px;
  margin: 18px 0 6px 0;
  border-radius: 0 3px 3px 0;
  line-height: 1.7;
}

/* ---------- FAQ・項目見出し（濃青左ボーダー） ---------- */
.ai-notice-wrap .notice-faq-q {
  font-size: 16px;
  font-weight: bold;
  color: #2a4a8a;
  border-left: 5px solid #2a4a8a;
  background: #f0f3f9;
  padding: 6px 0 6px 14px;
  margin: 24px 0 0 0;
  line-height: 1.7;
}

/* faq-q 直下の説明文：左インデントで「セット」に見せる */
.ai-notice-wrap .notice-faq-q+.notice-block {
  padding-left: 14px;
  margin-top: 4px;
  margin-bottom: 6px;
}

/* ---------- Zoom参加案内（青帯） ---------- */
.ai-notice-wrap .notice-zoom {
  background: #e8edf8;
  padding: 7px 14px;
  margin: 4px 0 14px 0;
  font-weight: bold;
  border-radius: 4px;
  line-height: 1.7;
}

/* ---------- ハイライトブロック（ゴールド） ---------- */
.ai-notice-wrap .notice-highlight {
  background: #fdf8ef;
  border-left: 4px solid #C5A059;
  padding: 10px 16px;
  margin: 10px 0;
  border-radius: 0 4px 4px 0;
  line-height: 1.9;
}

/* ---------- 重要ボックス ---------- */
.ai-notice-wrap .notice-important-box {
  border: 2px solid #2a4a8a;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px 0;
}

.ai-notice-wrap .notice-important-box-title {
  font-size: 16px;
  font-weight: bold;
  color: #2a4a8a;
  border-bottom: 1px solid #2a4a8a;
  padding-bottom: 6px;
  margin: 0 0 10px 0;
  display: block;
}

/* 重要ボックス内の段落は余白を詰める */
.ai-notice-wrap .notice-important-box .notice-block {
  margin-bottom: 6px;
}

/* ---------- 期限ボックス（ゴールド） ---------- */
.ai-notice-wrap .notice-deadline-box {
  display: inline-block;
  background: #fdf8ef;
  border: 2px solid #C5A059;
  border-radius: 4px;
  padding: 8px 18px;
  margin: 6px 0 10px 0;
  line-height: 1.8;
  font-weight: bold;
  color: #7a5e28;
}

/* ---------- リンク ---------- */
.ai-notice-wrap a {
  color: #047ad8;
  text-decoration: underline;
  word-break: break-all;
}

.ai-notice-wrap a:hover {
  color: #2a4a8a;
}

/* ---------- 赤文字（警告） ---------- */
.ai-notice-wrap .notice-red {
  color: #cc2200;
}

/* ---------- 太字 ---------- */
.ai-notice-wrap .notice-bold {
  font-weight: bold;
}

/* ---------- 注釈（※） ---------- */
.ai-notice-wrap .notice-note {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
  margin: 4px 0;
}

/* ---------- 区切り線 ---------- */
.ai-notice-wrap .notice-hr {
  border: none;
  border-top: 2px solid #C5A059;
  margin: 28px 0;
}

/* ---------- 画像 ---------- */
.ai-notice-wrap img {
  border: solid 1px #ccc;
  margin: 10px 0;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 600px) {
  .ai-notice-wrap .notice-heading-lg {
    font-size: 15px;
  }

  .ai-notice-wrap .notice-important-box {
    padding: 12px 12px;
  }

  .ai-notice-wrap .notice-highlight {
    padding: 10px 10px;
  }

  .ai-notice-wrap .notice-deadline-box {
    display: block;
  }
}

/* ---------- スケジュールテーブル ---------- */
.ai-notice-wrap .notice-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin: 12px 0;
}

.ai-notice-wrap .notice-table thead tr {
  background-color: #2a4a8a;
  color: #ffffff;
}

.ai-notice-wrap .notice-table th {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: left;
  font-weight: bold;
}

.ai-notice-wrap .notice-table td {
  border: 1px solid #ccc;
  padding: 8px 10px;
}

.ai-notice-wrap .notice-table td:first-child {
  font-weight: bold;
  color: #2a4a8a;
  white-space: nowrap;
}

.ai-notice-wrap .notice-table tbody tr.notice-table-accent {
  background-color: #fdf8ef;
}

/* ---------- レスポンシブ（テーブル） ---------- */
@media (max-width: 600px) {
  .ai-notice-wrap .notice-table {
    font-size: 13px;
  }

  .ai-notice-wrap .notice-table th,
  .ai-notice-wrap .notice-table td {
    padding: 6px 8px;
  }
}

/* ---------- 箇条書き ---------- */
.ai-notice-wrap ul {
  padding-left: 1.5em;
  margin: 0.5em 0;
}

.ai-notice-wrap ul li {
  list-style-type: disc;
  margin-bottom: 0.4em;
  line-height: 1.7;
}

/* ---------- マーカー ---------- */
.ai-notice-wrap .notice-marker {
  background: linear-gradient(transparent 40%, #FFF5A0 40%);
  display: inline;
  font-weight: bold;
}