.news-home-section {
  font-family: 'Helvetica Neue', sans-serif;
  padding: 2.5em 1.5em;
  color: #000;
  overflow-x: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.news-home-heading {
  margin-bottom: 1.5em;
}
.news-home-en {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0;
}
.news-home-ja {
  font-size: 1.2rem;
  color: #00AEEF;
  font-weight: 500;
  margin-top: 0.2em;
}

.news-home-tabs-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #00AEEF #eee;
  margin-bottom: 1.5em;
}
.news-home-tabs {
  display: flex;
  gap: 2em;
  min-width: max-content;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5em;
}
.news-home-tab-link {
  text-decoration: none;
  color: #777;
  font-weight: 500;
  white-space: nowrap;
  padding-bottom: 0.3em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.news-home-tab-link.active {
  color: #00AEEF;
  font-weight: 700;
  border-bottom: 2px solid #00AEEF;
}

.news-home-list-wrapper {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #00AEEF #eee;
  margin-bottom: 1em;
  width: 100%;
}
.news-home-list {
  display: flex;
  gap: 1.5em;
  min-width: max-content;
  padding-bottom: 0.5em;
}
.news-home-item {
  flex: 0 0 260px;
  border: 1px solid #eee;
  background: #fff;
  padding: 1.2em;
  box-shadow: 0 2px 4px #0001;
}
.news-home-date {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.news-home-topic .news-home-label {
  color: #00AEEF;
  font-weight: bold;
}
.news-home-label.pdf {
  border: 1px solid #f00;
  color: #f00;
  padding: 0.1em 0.5em;
  font-size: 0.8em;
  border-radius: 3px;
  display: inline-block;
  font-weight: bold;
}
.news-home-title-text {
  margin-top: 0.6em;
  font-weight: 500;
  line-height: 1.4;
}

.news-home-footer {
  margin-top: 1em;
  text-align: center;  /* これを追加！ */
}
.news-home-view-all {
  color: #00AEEF;
  text-decoration: none;
  font-weight: bold;
  display: inline-block; /* これで中央揃えでも横幅が詰まります */
}

.news-home-library {
  margin-top: 3em;
  border-top: 1px solid #ccc;
  padding-top: 2em;
  text-align: center;   /* ← これを追加！ */
}
.news-home-library p {
  margin-bottom: 0.8em;
  font-size: 1rem;
  line-height: 1.5;
}
.news-home-library-link {
  display: inline-block;
  background: #eee;
  padding: 1em 2em;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}
.news-home-library-link:hover {
  background: #ddd;
}

/* Webkit用スクロールバー */
.news-home-tabs-wrapper::-webkit-scrollbar,
.news-home-list-wrapper::-webkit-scrollbar {
  height: 8px;
}
.news-home-tabs-wrapper::-webkit-scrollbar-track,
.news-home-list-wrapper::-webkit-scrollbar-track {
  background: #eee;
}
.news-home-tabs-wrapper::-webkit-scrollbar-thumb,
.news-home-list-wrapper::-webkit-scrollbar-thumb {
  background-color: #00AEEF;
  border-radius: 4px;
}

.news-home-title {
  margin-top: 0.6em;
  font-weight: bold;
  font-size: 1.15em;
  line-height: 1.5;
}

.news-home-category {
  color: #00AEEF;
  font-size: 0.95em;
  font-weight: 600;
  margin-right: 0.5em;
}

.news-home-title-text {
  color: #222;
  font-weight: bold;
  font-size: 1.08em;
}

.news-home-content {
  font-size: 0.8em;
  color: #444;
  line-height: 1.7;
  margin-top: 0.6em;
  margin-bottom: 0.2em;
  letter-spacing: 0.01em;
}
