/* ─────────────────────────────────────────
   PAGE NEWS — ニュース一覧
───────────────────────────────────────── */
.sn-news-archive { background: #fff; padding: 24px 0 80px; }
.sn-news-inner { max-width: 960px; margin: 0 auto; padding: 0 2rem; }

/* Breadcrumb */
.sn-news-breadcrumb-wrap {
  max-width: 1281px;
  margin: 0 auto;
  padding: 0 40px;
  margin-bottom: 24px;
}
.sn-news-breadcrumb-wrap .sn-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.sn-news-breadcrumb-wrap .sn-breadcrumb a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #6A778B;
  text-decoration: none;
}
.sn-news-breadcrumb-wrap .sn-breadcrumb a:hover {
  text-decoration: underline;
}
.sn-news-breadcrumb-wrap .sn-breadcrumb-sep {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sn-news-breadcrumb-wrap .sn-breadcrumb-sep svg path {
  stroke: #6A778B;
}
.sn-news-breadcrumb-wrap .sn-breadcrumb-current {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #061C3D;
}

.sn-news-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: #061C3D;
  text-align: center;
  margin: 16px 0 32px;
}

/* Search */
.sn-news-search {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 878px;
  margin: 0 auto 28px;
}
.sn-news-search-box {
  position: relative;
  flex: 1;
  min-width: 0;
}
.sn-news-search-box input {
  width: 100%;
  height: 56px;
  box-sizing: border-box;
  padding: 16px 20px;
  border: 1px solid #CDD2D8;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #6A778B;
  background: #fff;
}
.sn-news-search-box input::placeholder { color: #6A778B; }
.sn-news-search-box input:focus { outline: none; border-color: #008F8D; }
.sn-news-search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  pointer-events: none;
  color: #6A778B;
}
.sn-news-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 224px;
  height: 56px;
  padding: 10px 16px 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #008F8D;
  background-image: url('../../images/btn_background_blue.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: opacity .15s ease;
}
.sn-news-search-btn:hover { opacity: .9; }
.sn-news-search-btn svg { display: block; }

/* Category tabs */
.sn-news-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.sn-news-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 1px 12px;
  border: 1px solid #E6E8EC;
  border-radius: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #6A778B;
  text-decoration: none;
  background: #FFFFFF;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.sn-news-tab:hover { border-color: #D6E6E6; color: #008E8C; }
.sn-news-tab.active {
  background: #008E8C;
  border-color: #D6E6E6;
  color: #FFFFFF;
}

/* News list */
.sn-news-list { display: flex; flex-direction: column; gap: 20px; }
.sn-news-item {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #CDD2D8;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sn-news-item:hover {
  border-color: #008F8D;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
}
.sn-news-item-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: #061C3D;
  margin: 0 0 6px 0;
}
.sn-news-item-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 0 0 13px 0;
}
.sn-news-item-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #243752;
}
.sn-news-item-excerpt {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #42526B;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category badge (outline) */
.sn-news-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 1px 12px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap;
  background: #FFFFFF;
}
.sn-news-tag.tag-osirase { color: #007C7A; }
.sn-news-tag.tag-goannai { color: #008F8D; }
.sn-news-tag.tag-seminar { color: #1E40AF; }
.sn-news-tag.tag-juyou   { color: #E7380D; }

.sn-news-empty {
  text-align: center;
  color: #6A778B;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 48px 0;
}

/* Pagination */
.sn-news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0; /* For page numbers */
  margin-top: 48px;
}
.sn-news-pg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  text-decoration: none;
  background: transparent;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}
.sn-news-pg:hover:not(.active):not(.ellipsis) { 
  background: #f0f0f0; 
}
.sn-news-pg.active {
  background: #008F8D;
  color: #FFFFFF;
  box-shadow: 0px 1px 2px -1px rgba(17, 12, 34, 0.08);
}
.sn-news-pg.prev,
.sn-news-pg.next {
  background: #FFFFFF;
  border: 1px solid #ECECED;
  box-shadow: 0px 1px 2px -1px rgba(17, 12, 34, 0.08);
}
.sn-news-pg.prev { margin-right: 24px; }
.sn-news-pg.next { margin-left: 24px; }

.sn-news-pg.prev.disabled,
.sn-news-pg.next.disabled {
  cursor: not-allowed;
}

.sn-news-pg.ellipsis {
  background: transparent;
  color: #000000;
  min-width: 24px;
  width: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .sn-news-inner { padding: 0 1rem; }
  .sn-news-title { font-size: 26px; margin: 8px 0 24px; }
  .sn-news-search { flex-direction: column; align-items: stretch; gap: 12px; }
  .sn-news-search-btn { width: 100%; }
  .sn-news-tabs { gap: 8px; margin-bottom: 24px; }
  .sn-news-tab { height: 36px; padding: 0 16px; font-size: 14px; }
  .sn-news-item { padding: 16px; }
  .sn-news-item-title { font-size: 16px; }
}

/* Single News Detail */
.sn-single-news-card {
  max-width: 884px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #CDD2D8;
  border-radius: 8px;
  padding: 40px;
}
.sn-single-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: #061C3D;
  margin: 0 0 24px 0;
}
.sn-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px 0;
}
.sn-single-date {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #243752;
}
.sn-single-content {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #000000;
}
.sn-single-content p {
  margin: 0 0 1em;
}
.sn-single-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.sn-single-close-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 106px;
  height: 32px;
  background: #008F8D;
  background-image: url('../../images/btn_background.png');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity .15s ease;
}
.sn-single-close-btn:hover {
  opacity: 0.9;
}
