.site-footer {
  margin: 0;
  padding: 0;
  background: transparent;
}

.blog .site,
.blog #page,
.page .site,
.page #page {
  background: #fff;
  max-width: none;
  overflow-x: hidden;
  overflow-x: clip;
}

.blog .site-content,
.blog .inside-article,
.blog .content-area,
.blog .site-main,
.page .site-content,
.page .inside-article,
.page .content-area,
.page .site-main {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.blog .site-content,
.page .site-content {
  display: block;
}

.blog .content-area,
.page .content-area {
  float: none;
}

.blog .grid-container,
.blog .container.grid-container,
.page .grid-container,
.page .container.grid-container {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.blog.one-container .site-content,
.blog.separate-containers .inside-article,
.blog.separate-containers .site-main,
.page.one-container .site-content,
.page.separate-containers .inside-article,
.page.separate-containers .site-main {
  margin: 0;
  padding: 0;
}

.ks-news-page,
.ks-news-page * {
  box-sizing: border-box;
}

.ks-news-page {
  padding: 214px 0 120px;
  color: #222;
}

.ks-news-page .ks-inner {
  width: min(calc(100% - 40px), 600px);
  max-width: 600px;
  margin-inline: auto;
}

.ks-news-page-header {
  margin-bottom: 88px;
  text-align: center;
}

.ks-news-page-title {
  margin: 0;
  color: #151515;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.ks-news-page-list {
  border-top: 2px solid #dddddd;
}

.ks-news-page-item {
  margin: 0;
  border-bottom: 2px solid #dddddd;
}

.ks-news-page-link {
  display: grid;
  grid-template-columns: 110px 98px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ks-news-page-link:hover {
  opacity: 0.72;
}

.ks-news-page-date {
  color: #2c2c2c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

.ks-news-page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #48a9ea;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.ks-news-page-item-title {
  margin: 0;
  min-width: 0;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.ks-news-page-empty {
  padding: 44px 0;
  border-top: 2px solid #dddddd;
  border-bottom: 2px solid #dddddd;
}

.ks-news-page-empty p {
  margin: 0;
  color: #444;
  font-size: 18px;
  line-height: 1.8;
}

.ks-news-page-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
}

.ks-news-page-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d6dce2;
  color: #1c1c1c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.ks-news-page-pagination .page-numbers.current {
  border-color: #48a9ea;
  background: #48a9ea;
  color: #fff;
}

@media (max-width: 1024px) {
  .ks-news-page {
    padding: 180px 0 96px;
  }

  .ks-news-page .ks-inner {
    width: min(calc(100% - 40px), 600px);
  }

  .ks-news-page-header {
    margin-bottom: 64px;
  }

  .ks-news-page-link {
    grid-template-columns: 110px 98px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 0;
  }

  .ks-news-page-date {
    font-size: 16px;
  }

  .ks-news-page-badge {
    min-width: 98px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .ks-news-page-item-title {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .ks-news-page {
    padding: 124px 0 72px;
  }

  .ks-news-page .ks-inner {
    width: calc(100% - 32px);
  }

  .ks-news-page-header {
    margin-bottom: 40px;
  }

  .ks-news-page-title {
    font-size: 22px;
    letter-spacing: 0.06em;
  }

  .ks-news-page-list {
    border-top-width: 1px;
  }

  .ks-news-page-item {
    border-bottom-width: 1px;
  }

  .ks-news-page-link {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .ks-news-page-date {
    font-size: 14px;
  }

  .ks-news-page-badge {
    width: fit-content;
    min-width: 0;
    padding: 8px 16px;
    font-size: 13px;
  }

  .ks-news-page-item-title {
    font-size: 17px;
    line-height: 1.7;
  }

  .ks-news-page-empty {
    padding: 30px 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
  }

  .ks-news-page-empty p {
    font-size: 15px;
  }

  .ks-news-page-pagination {
    gap: 8px;
    margin-top: 36px;
  }

  .ks-news-page-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }
}
