/* ========================================
   SiteHub News UI
======================================== */

.sh-news-ui {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}


/* ===== Header ===== */

.sh-news-ui__header {
  margin-bottom: 42px;
}

.sh-news-ui__en {
  display: block;
  margin-bottom: 6px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;

  color: var(--sh-accent, #53bbd3);
}

.sh-news-ui__title {
  margin: 0;

  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.3;
}

.sh-news-ui__line {
  display: block;

  width: 48px;
  height: 3px;

  margin-top: 16px;

  background: var(--sh-accent, #53bbd3);
}


/* ===== News List ===== */

.sh-news-ui__list {
  border-top: 1px solid #e5e5e5;
}

.sh-news-ui__item {
  margin: 0;
  border-bottom: 1px solid #e5e5e5;
}

.sh-news-ui__link {
  position: relative;

  display: grid;
  grid-template-columns: 220px 1fr 30px;
  gap: 28px;
  align-items: center;

  padding: 28px 8px;

  color: inherit;
  text-decoration: none;

  transition:
    background-color .25s ease,
    padding-left .25s ease;
}

.sh-news-ui__link:hover {
  padding-left: 18px;
  background: #fafafa;
}


/* ===== Meta ===== */

.sh-news-ui__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sh-news-ui__date {
  font-size: 13px;
  color: #777;
  white-space: nowrap;
}

.sh-news-ui__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 78px;
  padding: 6px 10px;

  border: 1px solid
    color-mix(in srgb, var(--sh-accent, #53bbd3) 50%, #ddd);

  border-radius: 999px;

  font-size: 11px;
  line-height: 1;

  color: var(--sh-accent, #53bbd3);
}


/* ===== Title ===== */

.sh-news-ui__post-title {
  margin: 0;

  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

.sh-news-ui__arrow {
  font-size: 20px;
  color: var(--sh-accent, #53bbd3);

  transition: transform .25s ease;
}

.sh-news-ui__link:hover .sh-news-ui__arrow {
  transform: translateX(5px);
}


/* ===== Pagination ===== */

.sh-news-ui__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;

  margin-top: 44px;
}

.sh-news-ui__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  height: 42px;

  padding: 0 12px;

  border: 1px solid #ddd;
  border-radius: 50%;

  color: #333;
  text-decoration: none;

  box-sizing: border-box;
}

.sh-news-ui__pagination .current {
  border-color: var(--sh-accent, #53bbd3);
  background: var(--sh-accent, #53bbd3);
  color: #fff;
}


/* ===== Archive / Category ===== */

.sh-news-ui__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;

  margin-top: 80px;
  padding-top: 36px;

  border-top: 1px solid #e5e5e5;
}

.sh-news-ui__footer-label {
  display: block;

  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;

  color: var(--sh-accent, #53bbd3);
}

.sh-news-ui__footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.sh-news-ui__footer li {
  margin: 0;
}

.sh-news-ui__footer a {
  color: #555;
  text-decoration: none;
}

.sh-news-ui__footer a:hover {
  color: var(--sh-accent, #53bbd3);
}


/* ===== Empty ===== */

.sh-news-ui__empty {
  padding: 50px 0;
  text-align: center;
  color: #777;
}


/* ========================================
   Mobile
======================================== */

@media (max-width: 768px) {

  .sh-news-ui {
    padding: 56px 20px;
  }

  .sh-news-ui__header {
    margin-bottom: 30px;
  }

  .sh-news-ui__link {
    display: block;
    padding: 22px 4px;
  }

  .sh-news-ui__link:hover {
    padding-left: 4px;
  }

  .sh-news-ui__meta {
    margin-bottom: 10px;
  }

  .sh-news-ui__post-title {
    padding-right: 32px;
    font-size: 15px;
  }

  .sh-news-ui__arrow {
    position: absolute;
    right: 6px;
    bottom: 23px;
  }

  .sh-news-ui__footer {
    grid-template-columns: 1fr;
    gap: 36px;

    margin-top: 56px;
  }
}

/* ========================================
   News見出し：テーマ共通装飾を解除
======================================== */

.sh-news-ui__title::before,
.sh-news-ui__title::after {
  content: none !important;
  display: none !important;
}

.sh-news-ui__title {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.sh-news-ui__header {
  margin-bottom: 32px;
}

.sh-news-ui__en {
  margin-bottom: 10px;
}

.sh-news-ui__line {
  margin-top: 14px;
}

.sh-news-ui__list {
  margin-top: 0;
}

.sh-news-ui__header .sh-news-ui__title {
  margin: 8px 0 0 !important;
}