@charset "utf-8";
/*!
 * WIZE — page-news.css
 * 読み込みは inc/enqueue.php（base → ページ別 page-* → wordpress の順。ページ別の割り当ては wize_css_pages_for_current_page）
 */
/* ---- 41-page-news.css ---- */
/* =========================================================
   Page: NEWS — 一覧・タクソノミー・記事詳細（the_content）
   archive-news.php / taxonomy-*.php / single-news.php
   ========================================================= */
/* =========================================================
   NEWS ARCHIVE
   ========================================================= */
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .archive-layout { grid-template-columns: 1fr; gap: 32px; } .archive-side { order: -1; } }
.filter-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border: 1px solid rgba(var(--c-indigo-rgb), 0.08); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }

.filter-group + .filter-group { margin-top: 24px; }
.filter-group__title { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line-cool); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--c-ink); }
.filter-group__title span { margin-left: 8px; font-family: var(--f-sans); font-weight: 500; letter-spacing: 0.04em; color: var(--c-muted); }
.filter-group li a { display: flex; justify-content: space-between; padding: 7px 0; font-family: var(--f-sans); font-size: 13px; color: var(--c-sub); }
.filter-group li a span { font-family: var(--f-en); font-size: 11px; color: var(--c-muted); }
.filter-group li a:hover, .filter-group li.is-current a { color: var(--c-indigo); }
/* SP: 絞り込み（テーマの checkbox トグル互換） */
.filter-toggle { position: absolute; opacity: 0; pointer-events: none; }
.filter-toggle-label { display: none; }
@media (max-width: 960px) {
  .filter-box { position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .filter-toggle-label { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border: 1px solid var(--c-border-tint); border-radius: 30px; background: #fff; font-family: var(--f-sans); font-size: 13px; font-weight: 600; color: var(--c-indigo-deep); cursor: pointer; }
  .filter-toggle-label::after { content: "+"; font-family: var(--f-en); font-size: 18px; font-weight: 400; transition: transform 0.3s var(--ease); }
  .filter-toggle:checked + .filter-toggle-label::after { transform: rotate(45deg); }
  .filter-box__body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
  .filter-toggle:checked ~ .filter-box__body { max-height: 900px; }
  .filter-box__inner { margin-top: 12px; padding: 22px; border: 1px solid rgba(var(--c-indigo-rgb), 0.08); border-radius: var(--radius); background: #fff; }
}

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--c-border-tint);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-sub);
}
.pagination a:hover { border-color: var(--c-indigo); color: var(--c-indigo); }
.pagination .is-current { border-color: transparent; background: var(--grad); color: #fff; box-shadow: 0 4px 15px rgba(var(--c-indigo-rgb), 0.25); }
/* =========================================================
   ARTICLE (single news)
   ========================================================= */
.article { padding: 72px 0 120px; }
.article__card { padding: 56px; border: 1px solid rgba(var(--c-indigo-rgb), 0.06); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.article__meta .date { font-size: 13px; }
.article__title { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--c-line); font-family: var(--f-sans); font-size: clamp(20px, 3vw, 26px); font-weight: 700; line-height: 1.6; color: var(--c-ink); }

.article__back { margin-top: 56px; text-align: center; }
@media (max-width: 767px) { .article { padding: 40px 0 80px; } .article__card { padding: 28px 22px; border-radius: var(--radius); } }

/* post content (the_content) */
.entry { font-family: var(--f-sans); font-size: 15px; line-height: 2.1; color: var(--c-text); }
.entry > * + * { margin-top: 1.4em; }
.entry h2 { position: relative; margin-top: 2.4em; padding-left: 18px; font-size: 19px; font-weight: 700; line-height: 1.6; color: var(--c-ink); }
.entry h2::before { content: ""; position: absolute; left: 0; top: 0.3em; bottom: 0.3em; width: 4px; border-radius: 4px; background: var(--grad); }
.entry h3 { margin-top: 2em; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); font-size: 16px; font-weight: 700; color: var(--c-ink); }
.entry h2 + *, .entry h3 + * { margin-top: 0.9em; }
.entry ul li { position: relative; padding-left: 1.2em; }
.entry ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.9em; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.entry ol { list-style: decimal; padding-left: 1.4em; }
.entry a { overflow-wrap: anywhere; color: var(--c-indigo-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--c-indigo-rgb), 0.35); }
.entry a:hover { text-decoration-color: currentColor; }
.entry table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry th, .entry td { padding: 14px 16px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.entry th { width: 30%; background: var(--c-bg-tint); font-weight: 600; color: var(--c-ink); }

/* =========================================================
   NEWS 一覧（サムネイル付きの行）
   ========================================================= */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-row__link { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; border: 1px solid rgba(var(--c-indigo-rgb), 0.06); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.post-row__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(var(--c-indigo-rgb), 0.14); }
.post-row__thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--grad-soft); }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-row__link:hover .post-row__thumb img { transform: scale(1.05); }
.post-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 10px; }
.post-row__meta .date { margin-left: 4px; }
.post-row__title { font-family: var(--f-sans); font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--c-ink); transition: color 0.3s; }
.post-row__link:hover .post-row__title { color: var(--c-indigo); }
.post-row__corp { margin-top: 10px; font-family: var(--f-sans); font-size: 11px; color: var(--c-muted); }
/* 検索結果のニュース以外の行（parts/search-row.php）：サムネイルなし */
.post-row--plain .post-row__link { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) {
  .post-row__link { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .post-row__title { font-size: 14px; }
}
.tag--press-release { border-color: rgba(16, 185, 129, 0.3); color: var(--c-green); }
.tag--notice, .tag--social { border-color: rgba(138, 146, 166, 0.35); color: var(--c-sub); }
.tag--media { border-color: rgba(236, 72, 153, 0.3); color: #db2777; }
.tag--ir-news { border-color: rgba(var(--c-indigo-rgb), 0.25); color: var(--c-indigo); }
/* サイドバー：「全て」はテキストリンク */
.filter-all { margin-bottom: 18px; font-family: var(--f-sans); font-size: 14px; font-weight: 700; }
.filter-all a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(var(--c-indigo-rgb), 0.35); }
.filter-all a:hover, .filter-all.is-current a { color: var(--c-indigo); text-decoration-color: currentColor; }
.filter-group li.is-current a { font-weight: 700; }
.filter-group li.is-current a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--grad); vertical-align: 2px; }
/* =========================================================
   NEWS 詳細（single-news.php／the_content の出力に対応）
   ========================================================= */
.article__header { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--c-line); }
.article__meta { flex-wrap: wrap; gap: 8px; }
.article__meta .tag { text-decoration: none; }
.article__meta .date { margin-left: 6px; }
.article__header .article__title { padding: 0; margin: 0; border: 0; }
.article__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.article__corp { margin-left: auto; font-family: var(--f-sans); font-size: 12px; color: var(--c-muted); }
/* AddToAny：プラグインのデザインのまま（テーマ側ではスタイルを当てない） */
/* 印刷ボタン（single-news.php。動きは main.js の printButton） */
.article__footer .print-button { display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; margin: 0; padding: 10px 18px 10px 15px; border: 1px solid var(--c-border-tint); border-radius: var(--radius-sm); background: #fff; color: var(--c-indigo-deep); font-family: var(--f-sans); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: 0.04em; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); cursor: pointer; transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.article__footer .print-button::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E") center / contain no-repeat; }
.article__footer .print-button:hover, .article__footer .print-button:focus-visible { border-color: var(--c-indigo); color: var(--c-indigo); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--c-indigo-rgb), 0.1); }
.article__footer .print-button:focus-visible { outline: 2px solid var(--c-indigo); outline-offset: 2px; }
/* 投稿本文：ブロックエディタ（wp-block-*）とクラシックエディタ（aligncenter / wp-caption）の両方 */
.entry > p:first-child strong { font-weight: 700; color: var(--c-ink); }
.entry h4 { margin-top: 1.8em; font-size: 15px; font-weight: 700; color: var(--c-ink); }
.entry h4 + * { margin-top: 0.6em; }
.entry img { border-radius: 12px; }
.entry figure { margin: 2em 0; }
.entry .wp-block-image img, .entry img.aligncenter { margin: 0 auto; }
.entry .aligncenter, .entry .wp-block-image.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry .aligncenter img { display: inline-block; }
.entry .alignleft { float: left; margin: 0.4em 1.5em 1em 0; }
.entry .alignright { float: right; margin: 0.4em 0 1em 1.5em; }
.entry figcaption, .entry .wp-caption-text, .entry .wp-element-caption { margin-top: 10px; font-size: 12px; color: var(--c-muted); text-align: center; }
.entry .wp-block-table, .entry .entry-table { overflow-x: auto; }
.entry .wp-block-table table, .entry .entry-table > table { min-width: 560px; overflow: hidden; border-radius: 12px; border: 1px solid var(--c-line); border-collapse: separate; border-spacing: 0; }
.entry thead th { width: auto; background: var(--grad); color: #fff; font-weight: 600; border-bottom: 0; }
.entry tbody tr:last-child > * { border-bottom: 0; }
.entry td { vertical-align: top; }
.entry .has-fixed-layout { table-layout: fixed; }
.entry .wp-block-separator, .entry hr { height: 0; margin: 2.4em 0; border: 0; border-top: 1px solid var(--c-line); }
.entry blockquote, .entry .wp-block-quote { padding: 18px 24px; border-left: 3px solid var(--c-indigo); border-radius: 0 12px 12px 0; background: var(--c-bg-tint); color: var(--c-sub); }
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.entry .wp-block-button__link { display: inline-flex; padding: 12px 26px; border-radius: 30px; background: var(--grad); color: #fff; text-decoration: none; font-weight: 600; }
.entry .wp-block-embed__wrapper, .entry .wp-block-embed iframe { width: 100%; }
.entry .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.entry .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; height: 100%; border-radius: 12px; }
.entry .has-text-align-center { text-align: center; }
.entry .has-text-align-right { text-align: right; }
.entry .has-small-font-size { font-size: 12px; line-height: 1.9; color: var(--c-muted); }
.entry .note-omit { padding: 12px 16px; border-radius: 10px; background: var(--c-bg-tint-strong); font-size: 12px; color: var(--c-indigo-deep); }
.entry::after { content: ""; display: table; clear: both; }
@media (max-width: 767px) { .article__corp { margin-left: 0; width: 100%; } }
.filter-group li.is-current a { justify-content: flex-start; align-items: center; }
