/* =============================================
   News Page
   ============================================= */

/* -- Header -- */
.news-header {
  width: 100%;
  background-color: #fff;
}
.news-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2vw;
  padding: 1.67vw 2.67vw;
}
.news-header__logo-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 1.2vw;
}
.news-header__logo-card-inner {
  display: flex;
  align-items: center;
  gap: 2.33vw;
  padding: 0.8vw 0.8vw 0.8vw 2.13vw;
}
.news-header__logo-link {
  display: flex;
  align-items: center;
}
.news-header__logo {
  width: auto;
  height: 2.4vw;
}
.news-header__actions {
  display: flex;
  align-items: center;
  gap: 0.53vw;
}
.news-header__contact-btn {
  display: flex;
  align-items: center;
  gap: 1.33vw;
  padding: 1vw 1.67vw;
  border: 2px solid #eee;
  border-radius: 0.67vw;
  color: #242426;
  text-decoration: none;
}
.news-header__contact-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.07vw;
  font-weight: 700;
  line-height: 1.45;
}
.news-header__contact-dot {
  display: block;
  width: 0.4vw;
  height: 0.4vw;
  background-color: #0b50ae;
  border-radius: 50%;
}
.news-header__menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2vw;
  width: 3.53vw;
  height: 3.53vw;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}
.news-header__menu-bar {
  display: block;
  width: 1.2vw;
  height: 0.15vw;
  background-color: #242426;
  border-radius: 0.1vw;
}
.news-header__tagline {
  color: #242426;
  font-family: Figtree, sans-serif;
  font-size: 0.87vw;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}

/* -- Page -- */
.news-page {
  width: 100%;
  background-color: #fff;
}
.news-page__inner {
  display: flex;
  flex-direction: column;
  gap: 4vw;
  padding: 13.87vw 16.8vw 8vw;
}

/* -- Title -- */
.news-page__title-area {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  width: 22.07vw;
}
.news-page__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.47vw;
}
.news-page__eyebrow svg {
  width: 0.47vw;
  height: 0.47vw;
}
.news-page__eyebrow-text {
  color: #242426;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1vw;
  font-weight: 700;
  line-height: 1.4;
}
.news-page__title {
  color: #242426;
  font-family: Figtree, sans-serif;
  font-size: 5.33vw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* -- News List -- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 4vw;
  width: 100%;
}
.news-list__items {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  list-style: none;
}
.news-list__item {
  list-style: none;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  color: inherit;
  text-decoration: none;
}
.news-card__row {
  display: flex;
  align-items: center;
  gap: 2.73vw;
}
.news-card__inner {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 2.13vw;
  min-width: 0;
}
.news-card__thumb {
  flex-shrink: 0;
  width: 13.13vw;
  height: 7.33vw;
  border-radius: 0.33vw;
  object-fit: cover;
}
.news-card__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.47vw;
  min-width: 0;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  min-width: 0;
}
.news-card__date {
  flex-shrink: 0;
  color: #242426;
  font-family: Figtree, sans-serif;
  font-size: 0.87vw;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.05em;
}
.news-card__category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 16vw;
  min-width: 0;
  padding: 0.13vw 0.47vw;
  overflow: hidden;
  background-color: #0b50ae;
  border-radius: 0.27vw;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8vw;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #242426;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.33vw;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.news-card__arrow {
  display: block;
  flex-shrink: 0;
  width: 0.67vw;
  height: 0.67vw;
  background-color: #dcdcdc;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.news-card:hover .news-card__arrow,
.news-card:focus-visible .news-card__arrow {
  background-color: #007ee5;
}
.news-card__separator {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #dcdcdc;
}
.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8vw;
  padding: 5.33vw 2.67vw;
  background-color: #f6f7f9;
  border-radius: 0.67vw;
  text-align: center;
}
.news-empty__title {
  color: #242426;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6vw;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.news-empty__text {
  color: #717686;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1vw;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

/* -- Pagination -- */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8vw;
}
.news-pagination__numbers {
  display: flex;
  align-items: center;
  gap: 0.33vw;
}
.news-pagination__num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.93vw;
  color: #717686;
  font-family: Figtree, sans-serif;
  font-size: 1.2vw;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.news-pagination__num--active {
  color: #242426;
}
.news-pagination__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.93vw;
  color: #242426;
  font-family: Figtree, sans-serif;
  font-size: 1.2vw;
  font-weight: 500;
  line-height: 1;
}
.news-pagination__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007ee5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.news-pagination__arrow--disabled {
  color: #e5e5e5;
  pointer-events: none;
}
.news-pagination__arrow:not(.news-pagination__arrow--disabled):hover,
.news-pagination__arrow:not(.news-pagination__arrow--disabled):focus-visible {
  opacity: 0.75;
}
.news-pagination__arrow svg {
  width: 1.87vw;
  height: 1.87vw;
}

/* =============================================
   SP (mobile)
   ============================================= */
@media (width <= 767px) {
  /* ===== Header SP ===== */
  .news-header__inner {
    gap: 0;
    padding: 4vw 5.33vw;
  }
  .news-header__logo-card {
    flex: 1;
    border-radius: 2.67vw;
  }
  .news-header__logo-card-inner {
    justify-content: space-between;
    gap: 4vw;
    padding: 2.13vw 2.67vw 2.13vw 4.27vw;
  }
  .news-header__logo {
    height: 5.33vw;
  }
  .news-header__contact-btn {
    gap: 2.67vw;
    padding: 2.67vw 4vw;
    border-radius: 2.13vw;
  }
  .news-header__contact-text {
    font-size: 3.2vw;
  }
  .news-header__contact-dot {
    width: 1.33vw;
    height: 1.33vw;
  }
  .news-header__menu {
    gap: 1vw;
    width: 10vw;
    height: 10vw;
  }
  .news-header__menu-bar {
    width: 4.8vw;
    height: 0.6vw;
    border-radius: 0.3vw;
  }
  .news-header__tagline {
    display: none;
  }

  /* ===== Title SP ===== */
  .news-page__inner {
    gap: 8vw;
    padding: 43.2vw 5.33vw 10.67vw;
  }
  .news-page__title-area {
    gap: 2.67vw;
    width: 100%;
  }
  .news-page__eyebrow {
    gap: 1.87vw;
  }
  .news-page__eyebrow svg {
    width: 1.6vw;
    height: 1.6vw;
  }
  .news-page__eyebrow-text {
    font-size: 3.47vw;
  }
  .news-page__title {
    font-size: 13.33vw;
  }

  /* ===== News List SP ===== */
  .news-list {
    gap: 8vw;
  }
  .news-list__items {
    gap: 8vw;
  }

  /* ===== Card SP（縦レイアウト） ===== */
  .news-card {
    gap: 0;
  }
  .news-card__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4vw;
  }
  .news-card__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3.2vw;
    width: 100%;
  }
  .news-card__thumb {
    width: 100%;
    height: auto;
    border-radius: 1.6vw;
    aspect-ratio: 16 / 9;
  }
  .news-card__text {
    gap: 1.6vw;
    width: 100%;
  }
  .news-card__meta {
    gap: 2.13vw;
  }
  .news-card__date {
    font-size: 3.46vw;
  }
  .news-card__category {
    max-width: 46vw;
    padding: 0.45vw 2vw;
    border-radius: 1.07vw;
    font-size: 2.67vw;
  }
  .news-card__title {
    font-size: 4.53vw;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }
  .news-card__arrow {
    display: none;
  }
  .news-card__separator {
    margin-top: 8vw;
  }
  .news-empty {
    gap: 2.67vw;
    padding: 13.33vw 5.33vw;
    border-radius: 2.13vw;
  }
  .news-empty__title {
    font-size: 4.8vw;
  }
  .news-empty__text {
    font-size: 3.47vw;
  }

  /* ===== Pagination SP ===== */
  .news-pagination {
    gap: 2.67vw;
  }
  .news-pagination__numbers {
    gap: 1.33vw;
  }
  .news-pagination__num {
    width: 8vw;
    font-size: 3.73vw;
  }
  .news-pagination__dots {
    width: 8vw;
    font-size: 3.73vw;
  }
  .news-pagination__arrow svg {
    width: 7.47vw;
    height: 7.47vw;
  }
}
