
/* ========================================
   AKANESASU NEWS
   最新情報エリア
======================================== */

/* NEWS全体：フルワイド */
.post_content > .ak-news {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  transform: none !important;
  padding: 40px max(20px, calc((100vw - 1100px) / 2)) 60px !important;
  background: #fff !important;
  box-sizing: border-box;
  color: #263343;
}

.ak-news * {
  box-sizing: border-box;
}

/* 見出し */
.ak-news__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.ak-news__heading-text {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ak-news__en {
  color: #285484;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
}

.ak-news__title {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #263343 !important;
}

/* 一覧を見る */
.ak-news__more {
  color: #285484 !important;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}

.ak-news__more:hover {
  text-decoration: underline !important;
}

/* 記事一覧 */
.ak-news__items {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid #e1e7ed;
}

.ak-news__item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #e1e7ed;
}

/* 記事リンク */
.ak-news__link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 14px 3px;
  text-decoration: none !important;
  color: inherit !important;
}

.ak-news__link:hover .ak-news__entry-title {
  color: #285484;
  text-decoration: underline;
}

/* 日付 */
.ak-news__date {
  flex: 0 0 92px;
  color: #667381;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* カテゴリ */
.ak-news__category {
  flex: 0 0 90px;
  display: inline-block;
  padding: 4px 7px;
  text-align: center;
  background: #eef3f8;
  color: #285484;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 3px;
}

/* 記事タイトル */
.ak-news__entry-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* 矢印 */
.ak-news__arrow {
  color: #285484;
  font-size: 21px;
  line-height: 1;
}

/* ========================================
   スマートフォン
======================================== */

@media (max-width: 600px) {

  .post_content > .ak-news {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 25px 16px 40px !important;
  }

  .ak-news__heading {
    gap: 10px;
  }

  .ak-news__title {
    font-size: 18px !important;
  }

  .ak-news__link {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 12px 2px;
  }

  .ak-news__date {
    flex: 0 0 auto;
  }

  .ak-news__category {
    flex: 0 0 auto;
    min-width: 76px;
  }

  .ak-news__entry-title {
    flex: 0 0 100%;
    order: 3;
    font-size: 13px;
  }

  .ak-news__arrow {
    margin-left: auto;
  }
}
.post_content > div:has(+ .ak-news) {
  margin-bottom: 0 !important;
}

/* 最新情報の詳細ページのみ */
body.single-ak_news .post_content {
  font-size: 16px;
  line-height: 1.9;
}

body.single-ak_news .post_content > p {
  margin-top: 0;
  margin-bottom: 1.8em;
}

body.single-ak_news .post_content > p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  body.single-ak_news .post_content {
    font-size: 15px;
  }
}
/* お知らせ詳細：本文開始位置の余白 */
body.single-ak_news > .p-articleMetas{
  margin-bottom: 30px !important;
}