@font-face {
  font-family: 'HIWA News Shippori Mincho';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/shippori-mincho-bold-full.woff2') format('woff2');
}
.hiwa-news-heading h2,.hiwa-news-detail h2 {
  font-family: 'HIWA News Shippori Mincho','Yu Mincho',serif;
}
/* トップとWordPressの新着情報で使う共通部品。 */
.home-news-list { margin-top: 32px; }
.home-news .home-news-item { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.home-news .home-news-item:first-child { border-top: 1px solid rgba(255,255,255,.28); }
.home-news .home-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 16px; }
.home-news .home-news-meta time { font-variant-numeric: tabular-nums; opacity: .8; }
.home-news .home-news-category { padding: 3px 11px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; font-size: 13px; color: #fff; text-decoration: none; }
.home-news .home-news-item h4 { margin: 11px 0 8px; font-size: clamp(22px,2.2vw,28px); line-height: 1.65; }
.home-news .home-news-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; text-decoration: none; }
.home-news .home-news-title span { font-family: Arial,sans-serif; transition: transform .2s ease; }
.home-news .home-news-title:hover span { transform: translateX(4px); }
.home-news .home-news-item p { margin: 0; max-width: 900px; color: #fff; font-size: 17px; line-height: 1.85; }
.home-news .home-news-all { display: table; margin: 26px 0 0 auto; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: #fff; font-size: 16px; text-decoration: none; }
body[data-page="/category/sews/"] main>.hiwa-news-content { background: #dfdfdd; color: #131d66; }
.hiwa-news-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 24px; }
.hiwa-news-heading h2 { margin: 0; font-size: 32px; line-height: 1.6; font-weight: 700; }
.hiwa-news-heading p { margin: 0; color: #46516a; font-size: 15px; }
.hiwa-news-filters { display: flex; position: static; width: auto; padding: 0; background: transparent; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hiwa-news-filters a { padding: 10px 22px; border: 2px solid #131d66; background: transparent; border-radius: 3px; color: #131d66; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s,color .2s; }
.hiwa-news-filters a[aria-current="page"],.hiwa-news-filters a:hover { background: #131d66; border-color: #131d66; color: #fff; }
.hiwa-news-list { display: grid; gap: 18px; }
.hiwa-news-card { min-width: 0; background: #fff; border: 1px solid #b9bdc4; border-radius: 0; }
.hiwa-news-card-link { display: grid; grid-template-columns: 125px minmax(0,1fr) 48px; align-items: center; gap: 34px; padding: 36px; color: #131d66; text-decoration: none; transition: background .2s; }
.hiwa-news-card-link:hover,.hiwa-news-card-link:focus-visible { background: #f4f4f1; }
.hiwa-news-card-link:hover h2,.hiwa-news-card-link:focus-visible h2 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hiwa-news-date { align-self: start; padding-top: 5px; color: #3d4863; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hiwa-news-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.hiwa-news-tag { display: inline-block; padding: 3px 12px; background: transparent; color: #131d66; border: 2px solid #131d66; border-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1.6; text-decoration: none; }
.hiwa-news-card h2 { margin: 0 0 11px; font-size: 28px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.hiwa-news-card p { margin: 0; color: #344158; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.hiwa-news-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 0; font-family: Arial,sans-serif; font-size: 30px; transition: transform .2s; }
.hiwa-news-card-link:hover .hiwa-news-arrow,.hiwa-news-card-link:focus-visible .hiwa-news-arrow { transform: translateX(6px); }
.hiwa-news-detail { width: 100%; min-width: 0; margin: 0 0 35px; padding: 0; background: transparent; border: 0; }
.hiwa-news-detail h2 { margin: 20px 0 28px; font-size: clamp(28px,3vw,40px); font-weight: 700; line-height: 1.6; }
.hiwa-news-detail .entry-content { color: #263247; font-size: 18px; line-height: 2; overflow-wrap: anywhere; }
.hiwa-news-detail .hiwa-news-tags { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid #a8adb5; }
.hiwa-news-detail .entry-content p { margin-bottom: 24px; }
.hiwa-news-detail .entry-content img { max-width: 100%; height: auto; }
.hiwa-news-back { display: table; margin: 30px 0 0; color: #131d66; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding: 5px 0; }
.hiwa-news-empty { padding: 45px 24px; background: #fff; text-align: center; color: #687084; }
.hiwa-news-content .navigation.pagination { display: block; position: static; width: auto; padding: 0; background: transparent; margin-top: 44px; }
.hiwa-news-content .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hiwa-news-content .page-numbers { padding: 9px 15px; border: 2px solid #131d66; color: #131d66; font-size: 16px; font-weight: 700; text-decoration: none; }
.hiwa-news-content .page-numbers.current { background: #131d66; color: #fff; }
@media(max-width:760px) {
  .home-news .home-news-item { padding: 22px 0; }
  .home-news .home-news-meta { gap: 8px 12px; }
  .home-news .home-news-item p { font-size: 16px; }
  .hiwa-news-heading { display: block; }
  .hiwa-news-heading h2 { font-size: 27px; margin-bottom: 8px; }
  .hiwa-news-filters { gap: 8px; margin-bottom: 24px; }
  .hiwa-news-filters a { padding: 8px 15px; font-size: 14px; }
  .hiwa-news-card-link { grid-template-columns: minmax(0,1fr) 26px; gap: 16px 12px; padding: 25px 22px; }
  .hiwa-news-date { grid-column: 1 / -1; padding: 0; }
  .hiwa-news-card h2 { font-size: 23px; margin-bottom: 12px; }
  .hiwa-news-card p { font-size: 16px; }
  .hiwa-news-arrow { width: 26px; height: 32px; font-size: 25px; }
  .hiwa-news-detail { padding: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .home-news-title span,.hiwa-news-card-link,.hiwa-news-arrow,.hiwa-news-filters a { transition: none; }
}
