/* Notice cards retain readable text and full links after their display period ends. */
.notice-list { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.notice-card { overflow: hidden; border: 1px solid #dfe6df; border-radius: 20px; background: #fffdf8; transition: border-color .2s, box-shadow .2s, transform .2s; }
.notice-card:hover, .notice-card:focus-within { border-color: #889e8c; box-shadow: 0 8px 24px #22392e0a; }
.notice-card-link { display: grid; grid-template-columns: 134px minmax(0,1fr); gap: 25px; color: #22392e; padding: 22px; min-height: 160px; }
.notice-card-link:focus-visible { outline: 3px solid #976d30; outline-offset: -4px; border-radius: 20px; }
.notice-visual { width: 134px; height: 134px; overflow: hidden; display: grid; place-content: center; border-radius: 12px; background: #ecefe5; flex-shrink: 0; }
.notice-visual img { display: block; width: 134px; height: 134px; object-fit: cover; transition: filter .2s, opacity .2s; }
.notice-visual--text { color: #778a71; text-align: center; gap: 8px; }
.notice-visual--text svg { width: 37px; height: 37px; margin: auto; }
.notice-visual--text > span { letter-spacing: .23em; font-size: 9px; font-weight: 700; }
.notice-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
.notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #6a756a; font-size: 12px; font-weight: 500; }
.notice-meta time { font-variant-numeric: tabular-nums; }
.notice-category { color: #42614a; font-weight: 750; }
.notice-status { font-size: 10px; line-height: 1.4; border: 1px solid #d1dcd1; color: #536b52; border-radius: 999px; padding: 3px 7px; }
.notice-title { font-size: 21px; line-height: 1.5; font-weight: 750; letter-spacing: -.04em; margin-top: 9px; word-break: keep-all; overflow-wrap: anywhere; }
.notice-excerpt { margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #657366; font-size: 14px; line-height: 1.8; }
.notice-open { margin-top: 14px; color: #43604b; font-size: 12px; font-weight: 650; }
.notice-open > span { margin-left: 4px; }
.notice-card.is-archived { background: #f6f5f0; border-color: #e4e4dc; }
.notice-card.is-archived .notice-visual { background: #ebebe5; }
.notice-card.is-archived .notice-visual img { opacity: .52; filter: grayscale(.75); }
.notice-card.is-archived .notice-title { color: #6b7166; }
.notice-card.is-archived .notice-excerpt, .notice-card.is-archived .notice-meta, .notice-card.is-archived .notice-category, .notice-card.is-archived .notice-open { color: #697065; }
.notice-card.is-archived .notice-status, .notice-detail.is-archived .notice-status { color: #6b7166; border-color: #d1d4ca; background: #e9ebe3; }
.notice-list--compact { gap: 12px; }
.notice-card--compact { border-radius: 14px; }
.notice-card--compact .notice-card-link { grid-template-columns: 78px minmax(0,1fr); gap: 17px; padding: 17px; min-height: 122px; }
.notice-card--compact .notice-visual, .notice-card--compact .notice-visual img { width: 78px; height: 88px; }
.notice-card--compact .notice-title { font-size: 17px; margin-top: 7px; line-height: 1.45; }
.notice-card--compact .notice-excerpt { -webkit-line-clamp: 1; font-size: 12px; margin-top: 5px; }
.notice-card--compact .notice-open { display: none; }
.notice-card--compact .notice-meta { font-size: 11px; gap: 6px 10px; }
.notice-card--compact .notice-status { font-size: 9px; }
.notice-empty { padding: 36px 22px; background: #f3f4ee; border: 1px solid #dce3d8; border-radius: 14px; color: #556951; line-height: 1.8; }
.notice-page { background: #f8f7f1; min-height: 60vh; }
.notice-board, .notice-detail { width: min(940px, 90vw); margin: 0 auto; padding: 58px 0 110px; }
.notice-back { display: inline-block; color: #567057; font-size: 13px; font-weight: 650; margin-bottom: 44px; }
.notice-page-head { border-bottom: 1px solid #dbe2d7; padding-bottom: 42px; }
.notice-eyebrow { color: #7e8769; font-size: 11px; letter-spacing: .2em; font-weight: 700; }
.notice-page h1 { color: #243e2f; font-size: clamp(29px, 4.5vw, 46px); font-weight: 800; line-height: 1.35; letter-spacing: -.055em; margin: 14px 0 20px; word-break: keep-all; }
.notice-page-head p { color: #647160; line-height: 1.9; font-size: 16px; }
.notice-list-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; padding: 28px 0 20px; }
.notice-list-heading h2 { color: #2d4633; font-size: 20px; font-weight: 700; }
.notice-list-heading h2 span { color: #8b977d; margin-left: 7px; font-size: 17px; }
.notice-list-heading > span { color: #737f6d; font-size: 12px; }
.notice-list-status { color: #697663; font-size: 13px; text-align: center; margin-top: 20px; min-height: 0; }
.notice-list-status:empty { margin: 0; }
.notice-load-more { display: block; min-width: 250px; margin: 30px auto 0; padding: 16px 26px; background: transparent; border: 1px solid #b2bfa8; border-radius: 999px; color: #3c553e; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.notice-load-more:hover { background: #edf1e6; }
.notice-detail { max-width: 800px; }
.notice-detail > h1 { margin-top: 18px; font-size: clamp(28px,4.3vw,40px); }
.notice-period { margin: 24px 0; padding: 15px 18px; background: #eef1e7; color: #53654c; font-size: 13px; line-height: 1.8; border-radius: 10px; }
.notice-period > span { margin: 0 12px; font-weight: 600; }
.notice-period small { font-size: 11px; color: #738069; white-space: nowrap; }
.notice-expired-message { background: #eeeee7; border-left: 3px solid #9aa190; padding: 16px 20px; color: #606953; line-height: 1.8; font-size: 14px; margin: 24px 0; }
.notice-expired-message a { text-decoration: underline; text-underline-offset: 3px; }
.notice-detail-image { margin: 30px 0; overflow: hidden; border-radius: 14px; background: #fff; }
.notice-detail-image img { display: block; max-width: 100%; height: auto; margin: auto; }
.notice-body { border-top: 1px solid #dce3d6; margin-top: 30px; padding-top: 12px; }
.notice-body p { color: #455441; font-size: 17px; line-height: 1.95; word-break: keep-all; overflow-wrap: anywhere; margin: 22px 0; }
.notice-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 28px; border-top: 1px solid #dce3d6; }
.notice-detail-actions a { color: #fffdf6; background: #304c39; border-radius: 999px; font-size: 14px; padding: 13px 22px; font-weight: 650; }
.notice-detail-actions a:first-child { color: #425b3e; background: #e7eddf; }
@media (max-width: 767px) {
  .notice-board, .notice-detail { width: min(92vw, 580px); padding: 36px 0 80px; }
  .notice-back { margin-bottom: 30px; }
  .notice-card-link { grid-template-columns: 88px minmax(0,1fr); padding: 17px; gap: 15px; }
  .notice-visual, .notice-visual img { width: 88px; height: 108px; }
  .notice-title { font-size: 18px; }
  .notice-excerpt { font-size: 13px; }
  .notice-meta { font-size: 11px; }
  .notice-card--compact .notice-card-link { grid-template-columns: 65px minmax(0,1fr); padding: 14px; gap: 13px; }
  .notice-card--compact .notice-visual, .notice-card--compact .notice-visual img { width: 65px; height: 86px; }
  .notice-card--compact .notice-title { font-size: 16px; }
  .notice-body p { font-size: 16px; }
  .notice-detail-actions a { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .notice-card, .notice-visual img { transition: none; } }
