/* お知らせ(全ページ上の帯・トップの欄・/news/)。モック raw/ネハヤスHP_お知らせ欄モック-2026-11-12.html */

/* 全ページの一番上の帯 */
.notice-alert {
  background: var(--nx-green-1, #eef6de);
  border-bottom: 1px solid var(--nx-green-2, #d6ebaa);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 24px;
}
.notice-alert[hidden] {
  display: none;
}
.notice-alert .notice-tag {
  border: 0;
  background: var(--color-text);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.notice-alert-text {
  font-weight: 500;
}
.notice-alert a {
  font-size: 12px;
  color: inherit;
  border-bottom: 1px solid var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.notice-alert-close {
  margin-left: 6px;
  background: none;
  border: 0;
  color: var(--color-text-sub);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
@media (max-width: 767px) {
  .notice-alert {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 16px;
    gap: 6px 8px;
    font-size: 12.5px;
  }
  .notice-alert-close {
    margin-left: auto;
  }
}

/* 分類の札 */
.notice-tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid var(--color-line-strong);
  color: var(--color-text-sub);
  white-space: nowrap;
}
.notice-tag.is-important {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}
.notice-tag.is-seminar {
  border-color: var(--brand-green);
  color: #4f7a00;
}

/* トップの欄 */
.section-notice {
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--color-line);
}
.section-notice-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}
.section-notice h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.06em;
  margin: 0;
}
.notice-en {
  font-family: var(--font-mark);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  margin: 6px 0 0;
}
.notice-more {
  display: inline-flex;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 4px;
  white-space: nowrap;
}
.notice-more .sp-only {
  display: none;
}

/* 並び */
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
}
.notice-list a {
  display: grid;
  grid-template-columns: 96px 84px 1fr 16px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  color: inherit;
  text-decoration: none;
}
.notice-list a:hover {
  background: var(--color-soft);
}
.notice-date {
  font-family: var(--font-mark);
  color: var(--color-text-sub);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.notice-ttl {
  font-weight: 500;
  line-height: 1.6;
}
.notice-arr {
  color: var(--color-text-sub);
}
@media (max-width: 767px) {
  .section-notice {
    padding: 36px 0 40px;
  }
  .section-notice-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section-notice-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .section-notice h2 {
    font-size: 24px;
  }
  .notice-more {
    margin-top: 4px;
  }
  .notice-more .pc-only {
    display: none;
  }
  .notice-more .sp-only {
    display: inline;
  }
  .notice-list a {
    grid-template-columns: auto auto 1fr;
    gap: 6px 10px;
    padding: 14px 2px;
  }
  .notice-list .notice-ttl {
    grid-column: 1 / -1;
  }
  .notice-list .notice-arr {
    display: none;
  }
}

/* /news/ の一覧と、押した先のページ */
.notice-page {
  padding: 48px 0 60px;
}
.notice-page-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.notice-crumb {
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 0 0 26px;
}
.notice-crumb a {
  color: inherit;
}
.notice-meta {
  display: flex;
  gap: 14px;
  align-items: center;
}
.notice-meta .notice-tag {
  padding: 3px 10px;
}
.notice-page h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  margin: 14px 0 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-line);
}
.notice-page h1.notice-list-title {
  margin-top: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
.notice-body p {
  font-size: 15px;
  line-height: 2;
  margin: 0 0 18px;
}
.notice-back {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 4px;
}
.notice-empty {
  color: var(--color-text-sub);
  padding: 24px 0;
}
@media (max-width: 767px) {
  .notice-page {
    padding: 30px 0 40px;
  }
  .notice-page-inner {
    padding: 0 16px;
  }
  .notice-page h1 {
    font-size: 21px;
  }
  .notice-body p {
    font-size: 14.5px;
  }
}
