/* お知らせ・ブログ 一覧／記事ページ（2026-10-01）
   トップの「お知らせ」欄と同じ、明朝の日付＋細い区切り線の並びを基本にする。
   色は既存の紺 #356FA1・黄 #F4D63D・文字 #101C2E に合わせる。 */

.posts_main{padding-bottom:40px}
.posts_section{padding-top:10px}
.posts_in{max-width:900px;margin:0 auto;padding:0 20px;box-sizing:border-box}

/* お知らせ／ブログ 切り替え */
.posts_switch{display:flex;justify-content:center;gap:0;margin:0 auto 44px;border-bottom:1px solid #d9dfe6}
.posts_switch_link{display:block;min-width:140px;padding:12px 24px;text-align:center;font-size:16px;letter-spacing:.12em;color:#5b6573;text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px}
.posts_switch_link:hover{color:#356FA1}
.posts_switch_link.is_current{color:#101C2E;border-bottom-color:#F4D63D;font-weight:600}

/* 一覧 */
.posts_list{list-style:none;margin:0;padding:0;border-top:1px solid #d9dfe6}
.posts_item{border-bottom:1px solid #d9dfe6}
.posts_link{display:flex;gap:28px;align-items:flex-start;padding:24px 8px;color:#101C2E;text-decoration:none;transition:background-color .2s}
.posts_link:hover{background:#f6f9fb}
.posts_link:hover .posts_title{color:#356FA1;text-decoration:underline;text-underline-offset:4px}
.posts_text{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 28px;min-width:0;flex:1}
.posts_date{font-size:15px;letter-spacing:.06em;color:#356FA1;white-space:nowrap}
.posts_title{font-size:17px;line-height:1.7;letter-spacing:.05em;flex:1;min-width:0}
.posts_excerpt{flex-basis:100%;font-size:14px;line-height:1.8;color:#4a5361;font-family:"Noto Sans JP",sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ブログ一覧はサムネイル付き */
.posts_list_blog .posts_link{align-items:center}
.posts_thumb{flex:0 0 240px;aspect-ratio:3/2;overflow:hidden;background:#eef2f5}
.posts_thumb img{width:100%;height:100%;object-fit:cover;display:block}
.posts_list_blog .posts_text{flex-direction:column;align-items:flex-start;gap:6px}
.posts_list_blog .posts_title{font-size:18px;font-weight:600}

.posts_empty{text-align:center;padding:48px 0;color:#4a5361;font-size:16px;line-height:1.9}
.posts_back{text-align:center}
.posts_back a{color:#356FA1}

/* ページ送り */
.posts_pagination{display:flex;justify-content:center;gap:8px;margin:44px 0 0}
.posts_pagination a,.posts_pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border:1px solid #cdd5de;color:#101C2E;text-decoration:none;font-size:15px}
.posts_pagination a:hover{border-color:#356FA1;color:#356FA1}
.posts_pagination .is_current{background:#356FA1;border-color:#356FA1;color:#fff}

/* 記事ページ */
.posts_single_in{max-width:800px}
.posts_meta{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.posts_cat{display:inline-block;padding:3px 14px;background:#8EBAC4;color:#fff;font-size:13px;letter-spacing:.1em}
.posts_single_title{font-size:26px;line-height:1.6;letter-spacing:.06em;color:#101C2E;font-weight:600;margin:0 0 32px;padding-bottom:22px;border-bottom:1px solid #d9dfe6}
.posts_eyecatch{margin:0 0 32px}
.posts_eyecatch img{width:100%;height:auto;display:block}
.posts_body{font-family:"Noto Sans JP",sans-serif;font-size:16px;line-height:2;letter-spacing:.03em;color:#27303d;word-break:break-word}
.posts_body>*{margin:0 0 1.4em}
.posts_body h2:not(:where(.hx1)){font-family:"Shippori Mincho","Noto Sans JP",serif;font-size:22px;line-height:1.6;margin:2.2em 0 .9em;padding-left:14px;border-left:4px solid #F4D63D;color:#101C2E}
.posts_body h3{font-family:"Shippori Mincho","Noto Sans JP",serif;font-size:19px;margin:1.8em 0 .7em;color:#101C2E}
.posts_body img{max-width:100%;height:auto}
.posts_body figure{margin:0 0 1.6em}
.posts_body figcaption{font-size:13px;color:#5b6573;margin-top:6px}
.posts_body a{color:#356FA1;text-decoration:underline}
.posts_body ul,.posts_body ol{padding-left:1.5em}
.posts_body li{list-style:inherit}
.posts_body ul li{list-style:disc}
.posts_body ol li{list-style:decimal}
.posts_body blockquote{border-left:3px solid #cdd5de;padding-left:16px;color:#4a5361}

/* 前後の記事 */
.posts_pager{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin-top:56px;padding-top:28px;border-top:1px solid #d9dfe6}
.posts_pager a{color:#101C2E;text-decoration:none;font-size:14px;line-height:1.6}
.posts_pager a span{display:block;font-size:12px;letter-spacing:.1em;color:#356FA1;margin-bottom:2px}
.posts_pager a:hover{color:#356FA1}
.posts_pager_next{text-align:right}
.posts_pager_list{display:inline-block;padding:12px 28px;background:#F4D63D;color:#101C2E !important;letter-spacing:.1em;white-space:nowrap}
.posts_pager_list:hover{filter:brightness(1.04)}

@media screen and (max-width:767px){
  .posts_in{padding:0 16px}
  .posts_switch{margin-bottom:28px}
  .posts_switch_link{min-width:0;flex:1;padding:12px 8px;font-size:15px}
  .posts_link{gap:14px;padding:18px 4px}
  .posts_text{flex-direction:column;gap:4px}
  .posts_date{font-size:13px}
  .posts_title{font-size:15px}
  .posts_list_blog .posts_link{align-items:flex-start}
  .posts_thumb{flex-basis:112px}
  .posts_list_blog .posts_title{font-size:15px}
  .posts_excerpt{display:none}
  .posts_single_title{font-size:20px;margin-bottom:24px;padding-bottom:16px}
  .posts_body{font-size:15px;line-height:1.95}
  .posts_body h2:not(:where(.hx1)){font-size:18px}
  .posts_pager{grid-template-columns:1fr 1fr;margin-top:40px}
  .posts_pager_list{grid-column:1 / -1;grid-row:2;justify-self:center}
}
