/* ============================================================
 * MVセクション
 * ============================================================ */

.mv--news {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -80px;
  margin-bottom: 0;
  padding: 0;
  height: 270px;
  background-image: url('http://kindergarten-hokkaido.com/wp-content/uploads/2025/12/mv.pc_.jpg');
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.mv--news .mv__container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 180px 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mv--news .mv__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fefefe;
  text-align: center;
  font-weight: 600;
  line-height: 1.5;
  width: 100%;
  margin: 15px 0 2px 0;
}

@media (min-width: 768px) {
  .mv--news {
    height: 450px;
    margin-top: -90px;
  }
  .mv--news .mv__container {
    padding: 240px 5% 3rem;
  }
}

@media (min-width: 1200px) {
  .mv--news {
    height: 400px;
  }
  .mv--news .mv__container {
    padding-top: 230px;
  }
}



/* ============================================================
 * NEWSアーカイブ（左カラム削除・1カラム専用）
 * ============================================================ */

/* --------------------------------
 * News 全体
 * -------------------------------- */
/* 背景は news-bg にのみ付ける */
.news-bg {
  background-image: url('http://kindergarten-hokkaido.com/wp-content/uploads/2025/11/news_sp.jpg');
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .news-bg {
    background-image: url('http://kindergarten-hokkaido.com/wp-content/uploads/2025/11/news_pc.jpg');
  }
}

.wp-site-blocks > * {
	max-width: none;
}

.news {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin: 0 auto;
  background-size: cover;
  background-position: center;
}


/* --------------------------------
 * コンテナ（1カラム化）
 * -------------------------------- */
.news .news__container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 769px) {
.news .news__container {
  padding: 2rem 5% 6rem;

}
}

@media (min-width: 1200px) {
.news .news__container {
   padding: 1rem 5% 8rem;
}
}
	
/* --------------------------------
 * Query Loop（1カラム中央寄せ）
 * -------------------------------- */
.news .news__query {
  margin: 0 auto;
}

@media (min-width: 769px) {
.news .news__query {
  width: 100%;
}
}
	
/* リスト */
.news .wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.news .wp-block-post-template > li {
  padding: 0;
  margin: 0;
}

/* --------------------------------
 * 各ニュース行（TOPと同じ）
 * -------------------------------- */
.news .news__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 11px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(254, 254, 254, 0.3);
}

@media (min-width: 769px) {
  .news .news__item {
    flex-wrap: nowrap;
    gap: 19px;
    padding: 19px 0;
  }
}


/* @media (max-width: 768px) {
  .news .news__item > .wp-block-group {

    width: 100% !important;
  }
 */


/* --------------------------------
 * 日付
 * -------------------------------- */
.news .news__date {
  min-width: 165px;
  font-variant-numeric: tabular-nums;
  color: #fefefe;
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 768px) {
  .news .news__date {
    min-width: auto;
    font-size: 14px;
    order: 1;
    flex: 0 0 auto;
  }
}

/* --------------------------------
 * カテゴリ
 * -------------------------------- */
.news .news__cat {
  display: flex;
  gap: 8px;
  margin: 0;
}

@media (max-width: 768px) {
  .news .news__cat {
    order: 2;
  }
}

.news .news__cat a {
  display: inline-block;
  background: #dc8452;
  color: #fefefe;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .news .news__cat a {
    font-size: 13px;
    padding: 4px 9px;
  }
}

/* --------------------------------
 * タイトルリンク
 * -------------------------------- */
.news .news__link {
  flex: 1;
  padding-left: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .news .news__link {
    order: 3;
    flex: 0 0 100%;
  }
}

.news .news__link a {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fefefe;
  padding-right: 18px;
}

@media (max-width: 768px) {
  .news .news__link a {
    font-size: 15px;
    line-height: 1.6;
  }
}

.news .news__link a:hover {
  text-decoration: underline;
}

/* 矢印 */
.news .news__link a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.8;
  margin-right: 18px;
}

/* 本文フォント統一 */
.news .wp-block-post-title.news__link,
.news .wp-block-post-title.news__link a {
  font-size: clamp(16px, 2vw, 16px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: normal;
}

.news__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .news__meta {
    width: auto;
    justify-content: flex-start;
  }
}







/* --------------------------------
 * カテゴリータブ
 * -------------------------------- */
.news .news__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0 auto 3rem;
  max-width: 1100px;
}

.news .news__tab a {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background-color: #fff;
  color: #493d35;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: 0.3s;
}

@media (min-width: 768px) {
.news .news__tab a {
padding: 0.6rem 1.5rem;
 }
}


.news .news__tab a:hover,
.news .news__tab.active a {
  background-color: #dc8452;
  color: #fefefe;
  border-color: #dc8452;
}

/* --------------------------------
 * ページネーション
 * -------------------------------- */
.archive-news__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 3rem;
  padding: 0;
}

.archive-news__pager a,
.archive-news__pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background-color: #fff;
  color: #493d35;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.archive-news__pager a:hover {
  background-color: #dc8452;
  color: #fefefe;
  border-color: #dc8452;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 132, 82, 0.2);
}

.archive-news__pager .page-numbers.current {
  background-color: #dc8452;
  color: #fefefe;
  border-color: #dc8452;
  font-weight: 600;
}

.archive-news__pager .page-numbers.dots {
  border: none;
  background: transparent;
  color: #999;
}






/* ============================================================
 * Yoastパンくず：news 系すべて対応
 * ============================================================ */

/* news（カスタム投稿タイプ） */
.post-type-archive-news .yoast-breadcrumbs,
.post-type-archive-news .yoast-breadcrumbs a,
.post-type-archive-news .yoast-breadcrumbs span,
.single-news .yoast-breadcrumbs,
.single-news .yoast-breadcrumbs a,
.single-news .yoast-breadcrumbs span {
    color: #fefefe;
}

/* news カテゴリー（タクソノミー） */
.tax-news_category .yoast-breadcrumbs,
.tax-news_category .yoast-breadcrumbs a,
.tax-news_category .yoast-breadcrumbs span {
    color: #fefefe;
}

.yoast-breadcrumbs {
	margin-bottom: 30px;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	margin-left: 0 !important;
	margin-right: 0 !important;
}