.note-article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.note-article-nav__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 164px;
  padding: 26px;
  border: 1px solid #9eaf94;
  border-radius: 4px;
  background: #edf2e8;
  color: #35443b;
  box-shadow: 0 2px 5px rgba(49, 69, 39, .035);
  text-decoration: none;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.note-article-nav__item--next {
  text-align: right;
}

.note-article-nav__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e6d9;
}
.note-article-nav__item--next .note-article-nav__header { flex-direction: row-reverse; }

.note-article-nav__arrow {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #7b926c;
  border-radius: 50%;
  background: #7b926c;
  transition: background .2s, border-color .2s;
}

.note-article-nav__arrow img {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform .2s;
}

.note-article-nav__content { display: flex; flex: 1; flex-direction: column; min-width: 0; }

.note-article-nav__meta {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.5;
}

.note-article-nav__item--next .note-article-nav__meta { justify-content: flex-end; }
.note-article-nav__label { color: #49613e; font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.note-article-nav__hint {
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #fff;
  color: #49613e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.note-article-nav__title {
  display: block;
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

.note-article-nav__date {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  color: #778171;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.5;
}

a.note-article-nav__item:hover {
  border-color: #78906c;
  background: #e3ecd9;
  box-shadow: 0 3px 9px rgba(49, 69, 39, .07);
  text-decoration: none;
  transform: translateY(-2px);
}

a.note-article-nav__item:hover .note-article-nav__arrow { background: #6b815d; border-color: #6b815d; }
a.note-article-nav__item--prev:hover .note-article-nav__arrow img { transform: translateX(-2px); }
a.note-article-nav__item--next:hover .note-article-nav__arrow img { transform: translateX(2px); }
a.note-article-nav__item:focus-visible { outline: 2px solid #597b61; outline-offset: 4px; }

.note-article-nav__item.is-disabled {
  color: #a5aaa1;
  box-shadow: none;
}
.note-article-nav__item.is-disabled .note-article-nav__label,
.note-article-nav__item.is-disabled .note-article-nav__hint { color: #a5aaa1; }
.note-article-nav__item.is-disabled .note-article-nav__hint { background: #f0f2ec; }
.note-article-nav__item.is-disabled .note-article-nav__header { border-bottom-color: #e9ece4; }
.note-article-nav__item.is-disabled .note-article-nav__title { font-size: 14px; font-weight: 400; }
.note-article-nav__item.is-disabled .note-article-nav__arrow { border-color: #c3ccb9; background: #d0d8c9; }

@media (max-width: 860px) {
  .note-article-nav { gap: 14px; }
  .note-article-nav__item { padding: 20px; }
  .note-article-nav__title { font-size: 17px; }
}

@media (max-width: 600px) {
  .note-article-nav { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 12px; margin-top: 40px; }
  .note-article-nav__item {
    min-height: 132px;
    padding: 18px 16px;
  }
  .note-article-nav__header { gap: 12px; padding-bottom: 9px; }
  .note-article-nav__arrow { flex-basis: 34px; width: 34px; height: 34px; }
  .note-article-nav__arrow img { width: 22px; height: 22px; }
  .note-article-nav__meta { gap: 6px 8px; }
  .note-article-nav__label { font-size: 13px; }
  .note-article-nav__hint { padding: 2px 6px; font-size: 10px; letter-spacing: 0; }
  .note-article-nav__title { margin-top: 10px; font-size: 16px; line-height: 1.7; letter-spacing: 0; text-wrap: balance; }
  .note-article-nav__date { padding-top: 8px; font-size: 10px; letter-spacing: .04em; }
  .note-article-nav__item.is-disabled .note-article-nav__title { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .note-article-nav__item, .note-article-nav__arrow, .note-article-nav__arrow img { transition: none; }
  a.note-article-nav__item:hover, a.note-article-nav__item:hover .note-article-nav__arrow img { transform: none; }
}
