/* お知らせ: 一覧と個別ページ */

.nwPage, .nwArticle { --nw-grad: linear-gradient(90deg, #00a8e0, #00a689, #edc03d, #dc336b, #b077b0); color: #393939; }

/* ---- 一覧 ---- */
.nwPage { padding-top: 30px; padding-bottom: 90px; }
.nwYear { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 70px; }
.nwYear:last-of-type { margin-bottom: 0; }
.nwYear__num { position: sticky; top: 110px; margin: 0; font-family: "Heebo", sans-serif; font-weight: 700; font-size: 5.5rem; line-height: 0.9; letter-spacing: -0.01em; color: transparent; -webkit-text-stroke: 1.5px #393939; }
.nwList { margin: 0; padding: 0; list-style: none; border-top: 1px solid #393939; }
.nwList__item { border-bottom: 1px solid #dcdcdc; }
.nwItem { position: relative; display: flex; align-items: flex-start; gap: 36px; padding: 34px 70px 34px 8px; color: #393939; text-decoration: none; transition: background-color 0.35s, padding 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nwItem::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--nw-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.nwItem:hover { text-decoration: none; background: #f7f8f9; padding-left: 20px; }
.nwItem:hover::before { transform: scaleX(1); }
.nwItem__date { flex: 0 0 auto; padding-top: 2px; font-family: "Heebo", sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1.3; letter-spacing: 0.02em; color: #00a689; }
.nwItem__text { flex: 1 1 0; min-width: 0; }
.nwItem__title { display: block; font-size: 1.25rem; font-weight: bold; line-height: 1.6; letter-spacing: 0.03em; }
.nwItem__excerpt { display: block; margin-top: 8px; color: #6b7078; font-size: 0.875rem; line-height: 1.9; }
.nwItem__arrow { position: absolute; right: 16px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 1px solid #393939; border-radius: 50%; transition: background-color 0.3s, transform 0.3s; }
.nwItem__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -6px; border-top: 2px solid #393939; border-right: 2px solid #393939; transform: rotate(45deg); transition: border-color 0.3s; }
.nwItem:hover .nwItem__arrow { background: #393939; transform: translateX(4px); }
.nwItem:hover .nwItem__arrow::before { border-color: #fff; }
.nwEmpty { padding: 40px 0; }
.nwPage .pagination { margin-top: 60px; }

/* ---- 個別ページ ---- */
.nwArticle { max-width: 860px; padding-top: 30px; padding-bottom: 90px; }
.nwArticle__head { margin-bottom: 50px; }
.nwArticle__date { display: block; margin-bottom: 14px; font-family: "Heebo", sans-serif; font-weight: 700; font-size: 1.125rem; letter-spacing: 0.06em; color: #00a689; }
.nwArticle__title { margin: 0; font-size: 2.125rem; font-weight: bold; line-height: 1.55; letter-spacing: 0.04em; }
.nwArticle__title::after { content: ""; display: block; width: 96px; height: 4px; margin-top: 24px; background: var(--nw-grad); }
.nwArticle__body { font-size: 1rem; line-height: 2.1; }
.nwArticle__body p { margin: 0 0 1.4em; }
.nwArticle__body a { color: #00a689; text-decoration: underline; text-underline-offset: 3px; }
.nwArticle__body h2 { margin: 2.4em 0 1em; font-size: 1.5rem; font-weight: bold; line-height: 1.6; }
.nwArticle__body h3 { border-left-color: #00a689; }
.nwArticle__body img { max-width: 100%; height: auto; border-radius: 8px; }
.nwNav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 80px; }
.nwNav__link { display: block; padding: 22px 26px; border: 1px solid #e3e3e3; border-radius: 8px; color: #393939; text-decoration: none; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s, border-color 0.35s; }
.nwNav__link_empty { border: 0; padding: 0; }
a.nwNav__link:hover { text-decoration: none; transform: translateY(-4px); border-color: #cfcfcf; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1); }
.nwNav__link_prev { text-align: right; }
.nwNav__label { display: block; margin-bottom: 6px; color: #8a8a8a; font-size: 0.75rem; font-weight: bold; letter-spacing: 0.06em; }
.nwNav__title { display: block; font-weight: bold; line-height: 1.6; }
.nwArticle__back { margin-top: 44px; text-align: center; }

@media print, screen and (max-width: 1070px) {
	.nwYear { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
	.nwYear__num { position: static; font-size: 4rem; }
}
@media print, screen and (max-width: 767px) {
	.nwPage { padding-top: 10px; padding-bottom: 60px; }
	.nwYear__num { font-size: 3rem; }
	.nwItem { display: block; padding: 24px 54px 24px 4px; }
	.nwItem:hover { padding-left: 4px; }
	.nwItem__date { display: block; margin-bottom: 6px; font-size: 1.125rem; }
	.nwItem__title { font-size: 1.0625rem; }
	.nwItem__arrow { right: 6px; width: 30px; height: 30px; margin-top: -15px; }
	.nwArticle { padding-top: 10px; padding-bottom: 60px; }
	.nwArticle__head { margin-bottom: 34px; }
	.nwArticle__title { font-size: 1.5rem; }
	.nwArticle__body { line-height: 2; }
	.nwNav { grid-template-columns: 1fr; margin-top: 50px; }
	.nwNav__link_empty { display: none; }
	.nwNav__link_prev { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
	.nwItem, .nwItem::before, .nwItem__arrow, .nwNav__link { transition: none !important; }
}
