/* ===========================
   NEWS PAGE
   =========================== */

.news-fv {
  position: relative;
  width: 100%;
  height: 409px;
  overflow: hidden;
  background: #1f1f1f;
}

.news-fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/news/fv_news_pc.webp') center / cover no-repeat;
  opacity: 1;
}

.news-fv__inner {
  position: absolute;
  top: 178px;
  left: 120px;
  z-index: 1;
  color: #fff;
}

.news-fv__label {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 39.6px;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 10px;
}

.news-fv__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.5px;
}

.news-fv--index .news-fv__inner {
  top: 178px;
  left: 124px;
}

.news-fv--index .news-fv__label {
  margin-left: 5px;
  color: #fff;
}

.news-fv--index .news-fv__title {
  line-height: 30px;
}

.breadcrumb {
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}

.breadcrumb__list {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.45;
  color: #777;
}

.breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.breadcrumb__list li:not(:last-child)::after {
  content: ">";
  display: inline-block;
  margin-left: 10px;
  color: #aaa;
}

.breadcrumb__list a {
  color: #222;
}

.news-index {
  padding: 68px 0 86px;
  background: #fff;
}

.news-index__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.news-filter {
  margin-bottom: 34px;
}

.news-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-filter__btn {
  min-width: 104px;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #949aa4;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.news-filter__btn:hover,
.news-filter__btn.is-active {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 34px;
}

.news-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.news-card.is-hidden {
  display: none;
}

.news-card__link {
  display: block;
  height: 100%;
}

.news-card__thumb-link,
.news-card__content-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9d9d9;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card__thumb img {
  transform: scale(1.04);
}

.news-card__body {
  padding: 18px 20px 22px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #777;
  line-height: 1.3;
}

.news-card__meta time {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.6px;
  color: #9ca3af;
}

.news-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: #949aa4;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.news-card__tag--link {
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.news-card__tag--link:hover {
  background: #111;
  color: #fff;
  opacity: 1;
}

.news-card__title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
  color: #111;
}

.news-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #555;
}

.news-index__empty {
  margin: 54px 0 0;
  padding: 34px 20px;
  border: 1px solid #e5e5e5;
  background: #f8f8f8;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #555;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
}

.news-pagination__item {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #222;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.news-pagination__item.is-current,
.news-pagination__item:hover {
  border-color: #111;
  background: #111;
  color: #fff;
  opacity: 1;
}

/* ===========================
   NEWS DETAIL
   =========================== */

.news-detail {
  padding: 72px 0 92px;
  background: #fff;
}

.news-detail__inner {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.news-detail__header {
  padding-bottom: 34px;
  border-bottom: 1px solid #e5e5e5;
}

.news-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.news-detail__meta time {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #9ca3af;
}

.news-detail__title {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  color: #111;
}

.news-detail__subtitle {
  max-width: 760px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: #444;
}

.news-detail__eyecatch {
  margin: 42px 0 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #e6e6e6;
}

.news-detail__eyecatch img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-detail__content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.news-detail__content a {
  color: #006fe6;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-detail__content > * + * {
  margin-top: 22px;
}

.news-detail__content h2 {
  position: relative;
  margin-top: 48px;
  padding: 0 0 12px;
  border-bottom: 1px solid #dfe6e0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  color: #111;
}

.news-detail__content h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 3px;
  background: #028b16;
}

.news-detail__content h3 {
  margin-top: 38px;
  padding: 16px 20px;
  border-bottom: 0;
  background: #f1f1f1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
}

.news-detail__content ul {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.news-detail__content li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
}

.news-detail__content li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #028b16;
}

.news-detail__table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.news-detail__table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #dedede;
  font-size: 15px;
  line-height: 1.7;
}

.news-detail__table th,
.news-detail__table td {
  padding: 18px 20px;
  border-bottom: 1px solid #dedede;
  text-align: left;
  vertical-align: top;
}

.news-detail__table th {
  width: 180px;
  border-right: 1px solid #dedede;
  background: #f3f3f3;
  color: #222;
  font-weight: 900;
}

.news-detail__table td {
  color: #333;
}

.news-detail__schedule {
  margin-top: 24px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.news-detail__content .news-detail__schedule-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.news-detail__schedule-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid #d8d8d8;
}

.news-detail__schedule-item:last-child {
  border-bottom: 0;
}

.news-detail__schedule-item::before {
  display: none;
}

.news-detail__schedule-item time {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.6px;
  color: #222;
}

.news-detail__schedule-item span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: #444;
}

.news-detail__note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: #777;
}

.news-detail__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 64px;
}

.news-detail__pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.news-detail__pager-arrow svg {
  width: 18px;
  height: 18px;
}

.news-detail__pager-arrow:hover {
  border-color: #028b16;
  background: #028b16;
  color: #fff;
  opacity: 1;
}

.news-detail__pager-arrow--empty {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
  visibility: hidden;
}

.news-detail__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.news-detail__back:hover {
  background: #028b16;
  opacity: 1;
}

@media (max-width: 767px) {
  .news-fv {
    height: 150px;
  }

  .news-fv::before {
    background: url('../images/news/fv_news_sp.webp') center / cover no-repeat;
  }

  .news-fv__inner {
    top: 49px;
    left: 30px;
  }

  .news-fv__label {
    font-size: 18px;
    line-height: 39.6px;
    margin-bottom: 0;
  }

  .news-fv__title {
    font-size: 25.88px;
    line-height: 1.25;
    letter-spacing: 0.65px;
  }

  .news-fv--index .news-fv__inner {
    top: 66px;
    left: 30px;
  }

  .news-fv--index .news-fv__label {
    margin-left: 0;
    margin-bottom: -2px;
    color: #fff;
  }

  .news-fv--index .news-fv__title {
    line-height: 32.35px;
    letter-spacing: 0.3235px;
  }

  .breadcrumb__list {
    width: calc(100% - 40px);
    padding: 14px 0;
    line-height: 1.25;
  }

  .breadcrumb__list li {
    margin-right: 8px;
    margin-bottom: 4px;
  }

  .breadcrumb__list li:not(:last-child)::after {
    margin-left: 8px;
  }

  .news-index {
    padding: 46px 0 72px;
  }

  .news-index__inner {
    width: calc(100% - 40px);
  }

  .news-filter {
    margin-bottom: 28px;
  }

  .news-filter__list {
    gap: 10px;
  }

  .news-filter__btn {
    min-height: 38px;
    min-width: 92px;
    padding: 0 16px;
    font-size: 12px;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .news-card__body {
    padding: 16px 16px 20px;
  }

  .news-card__title {
    font-size: 17px;
  }

  .news-card__text {
    font-size: 13px;
  }

  .news-pagination {
    margin-top: 42px;
  }

  .news-detail {
    padding: 48px 0 72px;
  }

  .news-detail__header {
    padding-bottom: 28px;
  }

  .news-detail__meta {
    margin-bottom: 18px;
  }

  .news-detail__title {
    font-size: 22px;
  }

  .news-detail__subtitle {
    font-size: 14px;
    line-height: 1.8;
  }

  .news-detail__eyecatch {
    margin: 32px 0 38px;
  }

  .news-detail__content {
    font-size: 15px;
    line-height: 1.9;
  }

  .news-detail__content h2 {
    margin-top: 38px;
    padding-bottom: 10px;
    font-size: 19px;
  }

  .news-detail__content h3 {
    margin-top: 32px;
    padding: 14px 16px;
    font-size: 15px;
  }

  .news-detail__content ul {
    padding: 20px;
  }

  .news-detail__table {
    min-width: 520px;
    font-size: 14px;
  }

  .news-detail__table th,
  .news-detail__table td {
    padding: 14px 16px;
  }

  .news-detail__table th {
    width: 150px;
  }

  .news-detail__schedule-item {
    grid-template-columns: 82px 1fr;
    gap: 14px;
    padding: 16px 18px;
  }

  .news-detail__schedule-item time {
    font-size: 16px;
  }

  .news-detail__schedule-item span {
    font-size: 14px;
  }

  .news-detail__pager {
    gap: 10px;
    margin-top: 48px;
  }

  .news-detail__pager-arrow {
    width: 46px;
    height: 46px;
  }

  .news-detail__back {
    min-width: 180px;
    height: 50px;
  }
}
