/* ===== お知らせ（/news/） 承認済みデザインを再現 ===== */
.nw { overflow: hidden; background: #fff; --serif: 'Noto Serif JP', 'Noto Serif CJK JP', 'Hiragino Mincho ProN', serif; }
.nw-hero { position: relative; background: #f0fafb url(/assets/img/news-hero-bg.jpg) right top / cover no-repeat; min-height: clamp(320px, 28.3vw, 480px); }
.nw-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.nw-hero .breadcrumb, .nw-hero-copy { position: relative; z-index: 1; }
.nw-hero-copy { padding: 14px 28px 50px; }
.nw-hero-en { display: inline-block; margin: 0; padding: 0 14px 4px 4px; font-size: 30px; font-weight: 800; font-style: italic; color: var(--teal-dark); border-bottom: 2px solid var(--teal); }
.nw-hero-title { margin: 10px 0 0; font-family: var(--serif); font-weight: 900; font-size: 64px; letter-spacing: .04em; line-height: 1.2; }
.nw-hero-lead { margin: 14px 0 0; font-size: 21px; font-weight: 700; color: #3a4f5c; line-height: 1.6; letter-spacing: .04em; }

.nw-main { padding: 26px 0 90px; position: relative; }
.nw-main::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -170px; height: 300px; border-radius: 50%; background: linear-gradient(180deg, #d6f5f5, #9fe4e6); opacity: .7; z-index: 0; }
.nw-main .wrap { position: relative; z-index: 1; max-width: 1120px; }

.nw-years { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; padding: 4px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px #d5eded, 0 6px 16px rgba(0,110,120,.08); }
.nw-years button { flex: 0 0 auto; width: 215px; border: 0; background: none; padding: 14px 10px; border-radius: 999px; font-size: 22px; font-weight: 800; color: var(--navy); cursor: pointer; position: relative; transition: background .2s, color .2s; }
.nw-years button + button::before { content: ''; position: absolute; left: 0; top: 30%; height: 40%; width: 1px; background: #c6d5d8; }
.nw-years button[aria-pressed="true"] { background: linear-gradient(180deg, #17aeac, #0d9a9a); color: #fff; }
.nw-years button[aria-pressed="true"]::before, .nw-years button[aria-pressed="true"] + button::before { display: none; }
.nw-years button:hover:not([aria-pressed="true"]) { color: var(--teal-dark); }
.nw-cat { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 18px 30px 0 0; font-size: 14px; font-weight: 700; color: #4a6370; }
.nw-cat select { padding: 7px 12px; border: 1px solid #c9dbdf; border-radius: 8px; font: inherit; color: var(--navy); background: #fff; }

.nw-list { margin-top: 18px; scroll-margin-top: calc(var(--header-h) + 20px); }
.nw-item { display: grid; grid-template-columns: 190px 120px 1fr 30px; align-items: center; gap: 20px; padding: 26px 28px; border-bottom: 1px solid #dde8ea; transition: background .2s; }
a.nw-item:hover { background: #f2fbfb; }
a.nw-item:hover .nw-title { color: var(--teal-dark); }
.nw-date { font-size: 19px; font-weight: 500; color: #33454f; }
.nw-tag { justify-self: start; padding: 3px 22px; border: 2px solid var(--teal); border-radius: 999px; color: var(--teal-dark); font-size: 15px; font-weight: 800; white-space: nowrap; }
.nw-tag.is-seminar { border-color: #ff9a2e; color: #f37b00; }
.nw-title { font-size: 21px; font-weight: 800; transition: color .2s; }
.nw-arrow { font-size: 34px; line-height: 1; color: var(--teal); text-align: right; transform: translateY(-3px); font-weight: 700; }
.nw-empty { margin: 40px 0; text-align: center; font-size: 17px; font-weight: 700; color: #4a6370; }

.nw-pager { display: flex; justify-content: center; gap: 14px; margin-top: 44px; }
.nw-page { min-width: 54px; height: 54px; padding: 0 10px; border-radius: 10px; border: 2px solid #d5e3e6; background: #fff; font-size: 21px; font-weight: 800; color: var(--navy); cursor: pointer; transition: .2s; }
.nw-page[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.nw-page:hover:not(:disabled):not([aria-current]) { border-color: var(--teal); color: var(--teal-dark); }
.nw-prev, .nw-next { border-radius: 50%; min-width: 46px; height: 46px; align-self: center; margin: 0 16px; font-size: 26px; line-height: 1; }
.nw-page:disabled { opacity: .35; cursor: default; }
.nw-column-link { margin: 40px 0 0; text-align: center; font-size: 14px; color: #4a6370; }
.nw-column-link a { color: var(--teal-dark); text-decoration: underline; font-weight: 800; margin: 0 2px; }

/* 個別ページ */
.nw-article { max-width: 860px; padding-bottom: 80px; }
.nw-article-meta { display: flex; align-items: center; gap: 16px; margin: 30px 0 10px; }
.nw-article-title { margin: 0 0 26px; font-size: 30px; font-weight: 900; line-height: 1.5; }
.nw-article-body { font-size: 16px; line-height: 2; }
.nw-article-body a { color: var(--teal-dark); text-decoration: underline; }
.nw-back { margin-top: 50px; }
.nw-back a { color: var(--teal-dark); font-weight: 800; }

@media (max-width: 900px) {
  .nw-item { grid-template-columns: auto 1fr 20px; grid-template-areas: "date tag arrow" "title title arrow"; gap: 8px 14px; padding: 18px 8px; }
  .nw-date { grid-area: date; font-size: 15px; }
  .nw-tag { grid-area: tag; font-size: 12px; padding: 2px 14px; }
  .nw-title { grid-area: title; font-size: 17px; }
  .nw-arrow { grid-area: arrow; font-size: 26px; }
}
@media (max-width: 640px) {
  .nw-hero { background-position: 75% top; min-height: 0; }
  .nw-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240,250,252,.92), rgba(240,250,252,.5)); }
  .nw-hero-copy { padding: 10px 16px 40px; }
  .nw-hero-en { font-size: 22px; }
  .nw-hero-title { font-size: 44px; }
  .nw-hero-lead { font-size: 16px; }
  .nw-years { overflow-x: auto; }
  .nw-years button { width: auto; min-width: 84px; font-size: 15px; padding: 11px 14px; white-space: nowrap; }
  .nw-cat { margin-right: 0; }
  .nw-page { min-width: 44px; height: 44px; font-size: 17px; }
  .nw-prev, .nw-next { margin: 0 4px; min-width: 40px; height: 40px; }
  .nw-pager { gap: 8px; }
}
