/* ==========================================================================
   お知らせ一覧・詳細（entry_list.php / entry.php）固有
   ========================================================================== */
.sato-news-page {
  padding: clamp(48px, 6vw, 88px) 24px 0;
}
.sato-news-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 56px);
}
.sato-news-layout__main {
  flex: 1 1 600px;
  min-width: 0;
}

/* 記事一覧 */
.sato-entry-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #DCEFF6;
}
.sato-entry-item {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: 22px 4px;
  border-bottom: 1px solid #DCEFF6;
  color: #1F4C5E;
}
.sato-entry-item:hover {
  background: #F2FAFD;
  color: #1F4C5E;
}
.sato-entry-item__img {
  display: block;
  flex: 0 0 auto;
  width: clamp(96px, 14vw, 160px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
}
.sato-entry-item__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.sato-entry-item__ttl {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.7;
}
.sato-entry-item__excerpt {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #5A7180;
}
.sato-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.sato-entry-meta__date {
  font-family: "Fugaz One", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #5A7180;
}
.sato-entry-meta__date--lg {
  font-size: 1.5rem;
}
/* ページ送り（CMS <%page_link%> 出力：.pages > .page_prev / .page_next） */
/* 前は左・次は右に固定（片方だけの時も位置を変えない） */
.sato-pagination .pages {
  display: flex;
  gap: 12px;
  margin: 36px 0 0;
}
.sato-pagination .page_next {
  margin-left: auto;
}
.sato-pagination .pages a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #F2FAFD;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0E7099;
  transition: none;
}
.sato-pagination .pages a:hover {
  background: #EAF7FA;
  color: #0E7099;
}

/* サイドバー */
.sato-sidebar {
  display: flex;
  flex: 0 1 300px;
  flex-direction: column;
  gap: 20px;
}
.sato-sidebar__box {
  padding: 24px 26px;
  border-radius: 20px;
  background: #F2FAFD;
}
.sato-sidebar__label {
  margin-bottom: 12px;
  font-family: "Fugaz One", sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0E7099;
}
.sato-sidebar__cat,
.sato-sidebar__recent,
.sato-sidebar__archive,
.sato-sidebar__archives li a {
  color: #1F4C5E;
}
.sato-sidebar__cat:hover,
.sato-sidebar__recent:hover,
.sato-sidebar__archive:hover,
.sato-sidebar__archives li a:hover {
  color: #0E7099;
}
.sato-sidebar__cat {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #CDEBF5;
  font-size: 1.4rem;
}
.sato-sidebar__cat span {
  color: #5A7180;
}
.sato-sidebar__recent {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid #CDEBF5;
}
.sato-sidebar__date {
  font-family: "Fugaz One", sans-serif;
  font-size: 1.2rem;
  color: #5A7180;
}
.sato-sidebar__archive,
.sato-sidebar__archives li a {
  display: block;
  padding: 9px 0;
  font-size: 1.4rem;
}

/* 記事詳細 */
.sato-entry-ttl {
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 2px solid #4FC3E8;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  color: #1F4C5E;
}
.sato-entry-body {
  margin-top: 32px;
  font-size: 1.6rem;
  line-height: 2;
  color: #1F4C5E;
}
/* CMS出力は span > div で包まれるため、gap ではなく margin で間隔を取る */
.sato-entry-body p,
.sato-entry-body h2,
.sato-entry-body h3,
.sato-entry-body ul,
.sato-entry-body ol,
.sato-entry-body table {
  margin-bottom: 20px;
}
.sato-entry-body :is(p, h2, h3, ul, ol, table):last-child {
  margin-bottom: 0;
}
.sato-entry-body a {
  text-decoration: underline;
  word-break: break-all;
}
.sato-entry-body h2 {
  margin-top: 36px;
  padding-left: 14px;
  border-left: 4px solid #4FC3E8;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1F4C5E;
}
.sato-entry-body ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 1.4em;
  list-style: disc;
}
.sato-entry-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #DCEFF6;
}
