.container {
  max-width: 900px;
}

.announce-grid {
  display:grid;
  gap:2rem;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  margin-top:2rem;
  z-index: 100000; 
}

.announce-card {
  background:#fff;
  padding:1.5rem;
  border-radius:12px;
  box-shadow:0 3px 12px rgba(0,0,0,.04);
  transition:all .3s ease;
  flex-direction:column;
  justify-content:space-between;
}

.announce-card:hover {
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transform:translateY(-3px);
}


.info-important {
  border-collapse:collapse;
  font-size:1rem;
  margin: 0 auto;
  margin-top: 1.5rem;
}

.info {
  border-collapse:collapse;
  font-size:1rem;
  margin: 0 auto;
}

.tbl-th,
.tbl-td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.tbl-th {
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  width: 60px;
}

.notice-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.notice-label-important {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fed7aa;
}


/* 共通リンクスタイル */
a.blue-underline {
  color: #3b82f6 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a.blue-underline:hover {
  color: #1e40af !important;
}

.announce-title{
 font-size: 1.14rem;
 font-weight: bold;
}

.attention{
 font-size: 0.8rem;
}



/* ======================
      スマホ制御
========================= */

@media (max-width: 570px) {

.container {
 letter-spacing: 0;
}
.tbl-th, 
.tbl-td,
.divl-td,
.p  {
 font-size: 0.85rem;
}

.tbl-th,
.tbl-td {
  padding: 10px 7px;
}

.tbl-th {
  width:40px;
}

.announce-title{
 font-size: 1rem;
 font-weight: bold;
}


.attention{
 font-size: 0.7rem;
}

.info-important,
.info {
  width:100%;
}

.info th {
 font-size: 0.7rem;
}

}

@media (max-width: 475px) {

  .br::before {
    content: "\A";
    white-space: pre;
  }

}

/* お知らせ表の読み幅を確保 */
.info-important,
.info {
  width: min(100%, 760px);
  min-width: 640px;
}

@media (max-width: 700px) {
  .info-important,
  .info {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .info-important tbody,
  .info tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .info-important tr,
  .info tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .info-important .tbl-th,
  .info .tbl-th,
  .info-important .tbl-td,
  .info .tbl-td {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: 0;
  }

  .info-important .tbl-th,
  .info .tbl-th {
    margin-bottom: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  .notice-label {
    min-width: 44px;
    min-height: 22px;
    padding: 3px 9px;
    font-size: 0.72rem;
  }
}
