/* =========================================================================
 * コラム記事・コラム一覧・資料DL一覧・資料DL個別 新デザイン（確認用表示 ?tobe=1 のときだけ）2026-11-17 article 担当
 *  template/tobe/single-column.php・archive-column.php・archive-download.php・single-download.php が先頭で読む（template/tobe/article-lib.php の pga_css）
 *  色・字・動きは css/tobe.css の変数（--pg-*）。クラスは .pga- に閉じる（旧テーマの style.css / single.css / archive-articles.css と重ねない）
 *  余白・見出し・カードはメンバー個人ページ（css/tobe-member.css）にそろえる。サイズは px（テーマの html font-size が画面幅で変わるため rem を使わない）
 * ========================================================================= */
.pga { --pga-gut: 20px; --pga-w: 720px; position: relative; display: block; background: #fff; color: var(--pg-ink); font-family: "Noto Sans JP", sans-serif; line-height: 1.7; letter-spacing: 0; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; overflow-x: clip; padding-bottom: 56px; }
.pga *, .pga *::before, .pga *::after { box-sizing: border-box; }
:where(.pga h1, .pga h2, .pga h3, .pga p, .pga ul, .pga ol, .pga li, .pga figure) { margin: 0; padding: 0; }
.pga ul, .pga ol { list-style: none; }
.pga img { max-width: 100%; height: auto; }
.pga picture { display: block; }
.pga a { color: inherit; text-decoration: none; }
.pga h1::before, .pga h1::after, .pga h2::before, .pga h2::after { content: none; }
.pga a:focus-visible, .pga summary:focus-visible { outline: 3px solid var(--pg-cyan); outline-offset: 3px; border-radius: 4px; }

.pga-en { font-family: var(--pg-num); font-stretch: condensed; font-weight: 600; font-size: 14px; letter-spacing: .24em; color: var(--pg-cyan); text-transform: uppercase; }
.pga-h1 { font-size: clamp(23px, 6.2vw, 28px); font-weight: 900; line-height: 1.45; letter-spacing: .01em; color: var(--pg-deep); margin-top: 12px !important; text-wrap: pretty; }
.pga-h2 { font-size: clamp(22px, 6vw, 28px); font-weight: 900; line-height: 1.35; letter-spacing: .02em; color: var(--pg-deep); margin-top: 6px !important; }
.pga-note { font-size: 12px; color: var(--pg-muted); margin-top: 8px !important; line-height: 1.6; }
.pga-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--pg-navy) !important; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.pga-link::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--pg-out); }
@media (hover: hover) { .pga-link:hover::after { transform: translateX(3px) rotate(45deg); } }
.pga-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 10px 28px; border-radius: 999px; background: var(--pg-orange); color: #fff !important; font-weight: 700; font-size: 16px; line-height: 1.35; letter-spacing: .04em; text-align: center; box-shadow: 0 10px 24px rgba(250,119,72,.3); transition: transform .2s var(--pg-out), box-shadow .2s; }
.pga-btn::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(135deg); margin-top: -4px; }
.pga-btn:active { transform: scale(.97); }
@media (hover: hover) { .pga-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(250,119,72,.38); } }

/* パンくず */
.pga-bc { padding: 12px var(--pga-gut) 0; font-size: 11px; color: var(--pg-muted); line-height: 1.6; overflow-wrap: anywhere; }
.pga-bc a { color: var(--pg-muted); }

/* ---- 記事の冒頭（コラム・資料DL共通） ---- */
.pga-hd { padding: 20px var(--pga-gut) 0; }
.pga-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pga-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border-radius: 999px; background: var(--pg-paper); color: var(--pg-navy) !important; font-size: 12px; font-weight: 700; line-height: 1.4; transition: background .2s; }
.pga-chip--cat { background: var(--pg-deep); color: #fff !important; }
.pga-chip--tag { background: #fff; border: 1px solid #d9e0ea; font-weight: 500; }
@media (hover: hover) { .pga-chip:not(.pga-chip--cat):hover { background: #dfe7f1; } }
.pga-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 12px !important; font-size: 12.5px; color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.pga-meta__v { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pg-navy) !important; border-bottom: 1px solid currentColor; }
.pga-meta__v i { width: 16px; height: 16px; border-radius: 50%; background: var(--pg-orange); position: relative; }
.pga-meta__v i::after { content: ""; position: absolute; left: 6px; top: 4px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* 動画の出演者・監修者 */
.pga-by { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: #F3F6FA; }
.pga-by:not(:has(.pga-by__ph)) { grid-template-columns: minmax(0, 1fr) auto; }
.pga-by__ph { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #dfe6ef; }
.pga-by__ph img, .pga-by__ph picture { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.pga-by__tx { min-width: 0; line-height: 1.4; }
.pga-by__tx small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #00879A; }
.pga-by__tx b { display: block; font-size: 16px; font-weight: 900; color: var(--pg-deep); }
.pga-by__tx span { display: block; font-size: 11.5px; color: var(--pg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pga-by__tx a:hover b { text-decoration: underline; }
.pga-by__go { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--pg-orange); color: var(--pg-orange) !important; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, transform .15s var(--pg-out); }
.pga-by__go:active { transform: scale(.96); }
@media (hover: hover) { .pga-by__go:hover { background: var(--pg-orange); color: #fff !important; } }

.pga-eye { margin: 20px var(--pga-gut) 0 !important; border-radius: var(--pg-r); overflow: hidden; background: #f3f4f6; }
.pga-eye img { display: block; width: 100%; height: auto; }

/* ---- 目次 ---- */
.pga-toc--sp { margin: 24px var(--pga-gut) 0; border: 1px solid #dfe4ec; border-radius: 6px; background: #fff; }
.pga-toc--sp summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 900; color: var(--pg-deep); }
.pga-toc--sp summary::-webkit-details-marker { display: none; }
.pga-toc--sp summary small { font-size: 12px; font-weight: 500; color: var(--pg-muted); }
.pga-toc--sp summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--pg-navy); border-bottom: 2px solid var(--pg-navy); transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--pg-out); }
.pga-toc--sp[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.pga-toc--sp .pga-toc__l { padding: 0 16px 14px; }
.pga-toc__l { counter-reset: pga-toc; }
.pga-toc__l li { counter-increment: pga-toc; }
.pga-toc__l a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; padding: 9px 0; border-top: 1px solid #eef1f5; font-size: 14px; line-height: 1.55; color: var(--pg-ink); transition: color .2s; }
.pga-toc__l a::before { content: counter(pga-toc, decimal-leading-zero); font-family: var(--pg-num); font-weight: 700; font-size: 14px; color: var(--pg-cyan); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .pga-toc__l a:hover { color: var(--pg-navy); text-decoration: underline; } }
.pga-side { display: none; }

/* ---- 本文（the_content のまま。WordPress のブロックの見た目だけ整える。見出しは標準ブロック（コラムはクラス無しも）だけ＝資料DLの独自デザインの見出しは触らない） ---- */
.pga-body h2, .pga-body h3 { scroll-margin-top: calc(var(--pg-hd, 60px) + 16px); }
.pga-body { padding: 0 var(--pga-gut); margin-top: 28px; font-size: 16px; line-height: 1.95; color: var(--pg-ink); overflow-wrap: anywhere; }
.pga-body > * + * { margin-top: 1.25em !important; }
.pga-body p { margin: 0; }
.pga-body a { color: var(--pg-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) { .pga-body a:hover { color: var(--pg-cyan); } }
.pga-body strong, .pga-body b { font-weight: 700; background: linear-gradient(transparent 64%, rgba(0,182,201,.16) 64%); }
:is(.pga-body h2.wp-block-heading, .pga-col .pga-body h2:not([class])) { position: relative; margin-top: 2.6em !important; padding: 0 0 12px; font-size: 21px; font-weight: 900; line-height: 1.5; color: var(--pg-deep); border-bottom: 2px solid var(--pg-deep); scroll-margin-top: calc(var(--pg-hd, 60px) + 16px); background: none; }
:is(.pga-body h2.wp-block-heading, .pga-col .pga-body h2:not([class]))::after { content: "" !important; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--pg-cyan); }
:is(.pga-body h3.wp-block-heading, .pga-col .pga-body h3:not([class])) { margin-top: 2em !important; padding-left: 12px; font-size: 18px; font-weight: 900; line-height: 1.55; color: var(--pg-deep); border-left: 4px solid var(--pg-cyan); scroll-margin-top: calc(var(--pg-hd, 60px) + 16px); background: none; }
.pga-body h4 { margin-top: 1.6em !important; font-size: 16px; font-weight: 700; color: var(--pg-deep); }
.pga-body h2 + *, .pga-body h3 + *, .pga-body h4 + * { margin-top: .9em !important; }
.pga-body > :first-child { margin-top: 0 !important; }
.pga-body span[id] { scroll-margin-top: calc(var(--pg-hd, 60px) + 16px); }
.pga-body ul, .pga-body ol { padding-left: 1.4em; }
.pga-body ul { list-style: disc; }
.pga-body ol { list-style: decimal; }
.pga-body li { margin: 0; }
.pga-body li + li { margin-top: .45em; }
.pga-body li::marker { color: var(--pg-cyan); }
.pga-body figure { margin-left: 0; margin-right: 0; }
.pga-body img { display: block; border-radius: var(--pg-r); }
.pga-body figcaption { margin-top: 6px; font-size: 12px; color: var(--pg-muted); text-align: center; }
.pga-body hr { border: 0; border-top: 1px solid #dfe4ec; margin: 2em 0 !important; }
.pga-body blockquote { margin-left: 0; margin-right: 0; padding: 14px 18px; border-left: 3px solid var(--pg-cyan); background: #F3F6FA; border-radius: 2px; }
.pga-body .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pga-body table { width: 100% !important; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.pga-body th, .pga-body td { padding: 10px 12px; border: 1px solid #dfe4ec; vertical-align: top; text-align: left; }
.pga-body th { background: var(--pg-paper); color: var(--pg-deep); font-weight: 700; }
/* 動画（ブロックの埋め込み・旧 js/single.js が包む .responsive-iframe-container のどちらでも 16:9） */
.pga-body .wp-block-embed { margin-top: 1.4em !important; }
.pga-body .wp-block-embed__wrapper, .pga-body .responsive-iframe-container { position: relative; width: 100%; aspect-ratio: 16 / 9; height: auto !important; padding: 0 !important; overflow: hidden; border-radius: 6px; background: #000; }
.pga-body .wp-block-embed__wrapper::before { content: none !important; }
.pga-body .wp-block-embed__wrapper iframe, .pga-body .responsive-iframe-container iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.pga-body > p > iframe[src*="youtube"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
/* 目次プラグイン（資料DLページなどで本文に入るもの） */
.pga-body #toc_container { width: auto !important; display: block; padding: 14px 16px; border: 1px solid #dfe4ec; border-radius: 6px; background: #fff; font-size: 14px; }
.pga-body #toc_container .toc_title { font-weight: 900; color: var(--pg-deep); text-align: left; }
.pga-body #toc_container ul { list-style: none; padding-left: 0; margin-top: 6px; }
.pga-body #toc_container ul ul { padding-left: 1em; margin-top: 0; }
.pga-body #toc_container li { margin: 0; padding: 4px 0; line-height: 1.55; }
.pga-body #toc_container a { text-decoration: none; color: var(--pg-ink); }
.pga-body .wp-block-gallery.has-nested-images figure.wp-block-image:only-child { width: 100% !important; }
.pga-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.pga-body .wp-block-button__link { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--pg-navy); color: #fff !important; text-decoration: none; font-weight: 700; }

/* 監修者情報 */
.pga-author { margin: 40px var(--pga-gut) 0; padding: 20px; border: 1px solid #dfe4ec; border-radius: 6px; }
.pga-author__k { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #00879A; }
.pga-author__row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.pga-author__ph { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #eef1f5; }
.pga-author__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pga-author__n { font-size: 17px; font-weight: 900; color: var(--pg-deep); line-height: 1.4; }
.pga-author__c { font-size: 12px; color: var(--pg-muted); }
.pga-author__p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; }
/* 監修者（inc/column-supervisor.php・11/20） */
.pga-author__ph picture { display: block; width: 100%; height: 100%; }
.pga-author__ph picture img { object-position: 50% 16%; }
.pga-author__n a { color: inherit; text-decoration: none; }
@media (hover: hover) { .pga-author__n a:hover { text-decoration: underline; } }
.pga-author__why { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--pg-muted); }
.pga-author__go { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--pg-deep) !important; text-decoration: none; }
.pga-author__go::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
@media (hover: hover) { .pga-author__go:hover { text-decoration: underline; } }

/* 記事下の相談欄（template/tobe/column-cta.php の .pgc をそのまま。外側の余白だけ） */
.pga-cta { padding: 0 var(--pga-gut); }
.pga-cta .pgc { margin: 40px 0 0; }

/* 前後の記事 */
.pga-pn { display: grid; gap: 10px; margin: 40px var(--pga-gut) 0; }
.pga-pn__a { display: block; padding: 14px 16px; border: 1px solid #dfe4ec; border-radius: 6px; transition: border-color .2s, box-shadow .2s, transform .15s var(--pg-out); }
.pga-pn__a:active { transform: scale(.99); }
@media (hover: hover) { .pga-pn__a:hover { border-color: var(--pg-navy); box-shadow: 0 8px 20px rgba(11,31,68,.08); } }
.pga-pn__a small { display: block; font-size: 11.5px; font-weight: 700; color: var(--pg-muted); }
.pga-pn__a small::before { content: "← "; }
.pga-pn__a--next { text-align: right; }
.pga-pn__a--next small::before { content: none; }
.pga-pn__a--next small::after { content: " →"; }
.pga-pn__a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--pg-deep); }

/* ---- カード（新着コラム・コラム一覧・資料DL一覧） ---- */
.pga-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pga-card > a { display: block; height: 100%; }
.pga-card__ph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--pg-r); background: #f3f4f6; }
.pga-card__ph picture, .pga-card__ph img { display: block; width: 100%; height: 100%; }
.pga-card__ph img { object-fit: cover; transition: transform .5s var(--pg-out); }
@media (hover: hover) { .pga-card > a:hover .pga-card__ph img { transform: scale(1.03); } .pga-card > a:hover .pga-card__t { color: var(--pg-navy); text-decoration: underline; text-underline-offset: 3px; } }
.pga-card__v { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: rgba(11,31,68,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; }
.pga-card__v::before { content: ""; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.pga-card__tx { display: block; margin-top: 10px; }
.pga-card__m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 11.5px; color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.pga-card__m span { font-weight: 700; color: #00879A; }
.pga-card__t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.55; color: var(--pg-deep); }
.pga-card__x { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--pg-muted); }
.pga-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--pg-orange); }
.pga-card__go::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--pg-out); }
@media (hover: hover) { .pga-card > a:hover .pga-card__go::after { transform: translateX(3px) rotate(45deg); } }
.pga-card > a:active { transform: scale(.99); transition: transform .12s; }

/* コラム一覧（スマホ）: 先頭の1本は大きく、2本目からは左に小さな画像の横並び */
.pga-cards--list { gap: 0; }
.pga-cards--list .pga-card { padding: 16px 0; border-top: 1px solid #eef1f5; }
.pga-cards--list .pga-card:first-child { border-top: 0; padding-top: 0; }
.pga-cards--list .pga-card:not(.pga-card--lead) > a { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 12px; align-items: start; }
.pga-cards--list .pga-card:not(.pga-card--lead) .pga-card__tx { margin-top: 0; }
.pga-cards--list .pga-card:not(.pga-card--lead) .pga-card__t { font-size: 14px; line-height: 1.5; }
.pga-cards--list .pga-card:not(.pga-card--lead) .pga-card__v { left: 5px; bottom: 5px; padding: 1px 7px 1px 6px; font-size: 10px; }
.pga-card--lead { padding-bottom: 20px !important; }
.pga-card--lead .pga-card__t { font-size: 18px; }

/* 新着のコラム（記事の下） */
.pga-more { margin-top: 56px; padding: 48px var(--pga-gut) 0; border-top: 1px solid #eef1f5; }
.pga-more__hd { margin-bottom: 20px; }
.pga-more__ft { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 32px; }
.pga-line { display: block; width: 100%; max-width: 360px; border-radius: 6px; overflow: hidden; }
.pga-line img { display: block; width: 100%; height: auto; }

/* ---- 一覧の冒頭・絞り込み ---- */
.pga-lhd { padding: 28px var(--pga-gut) 0; }
.pga-h1--list { font-size: clamp(26px, 7.4vw, 34px); margin-top: 6px !important; }
.pga-lhd__lead { margin-top: 12px !important; font-size: 14px; line-height: 1.85; color: var(--pg-ink); max-width: 40em; }
.pga-filter { margin-top: 22px; }
.pga-filter__h { padding: 0 var(--pga-gut); font-size: 12px; font-weight: 700; color: var(--pg-muted); }
.pga-filter__l { display: flex; gap: 8px; margin-top: 8px !important; padding: 2px var(--pga-gut) 6px; overflow-x: auto; scroll-padding: 0 var(--pga-gut); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.pga-filter__l::-webkit-scrollbar { display: none; }
.pga-filter__l li { flex: none; }
.pga-fchip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #d3dbe6; background: #fff; color: var(--pg-navy) !important; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .12s var(--pg-out); }
.pga-fchip small { font-family: var(--pg-num); font-size: 13px; font-weight: 600; color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.pga-fchip:active { transform: scale(.96); }
@media (hover: hover) { .pga-fchip:hover { border-color: var(--pg-navy); } }
.pga-fchip[aria-current="page"] { background: var(--pg-deep); border-color: var(--pg-deep); color: #fff !important; }
.pga-fchip[aria-current="page"] small { color: rgba(255,255,255,.7); }
.pga-lbody { padding: 24px var(--pga-gut) 0; }
.pga-lbody__now { margin-bottom: 16px !important; font-size: 13px; font-weight: 700; color: var(--pg-muted); }
.pga-empty { padding: 40px 0; font-size: 14px; text-align: center; }
.pga-empty a { color: var(--pg-navy); text-decoration: underline; }

/* ページ送り（旧と同じ my_custom_pagination の出力に見た目だけ当てる） */
.pga-pager .l-articles__pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; }
.pga-pager .l-articles__pagination li { margin: 0; }
.pga-pager .page-numbers { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 !important; border: 1px solid #d3dbe6; border-radius: 50%; background: #fff; color: var(--pg-navy); font-family: var(--pg-num); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s; }
.pga-pager a.page-numbers:active { transform: scale(.94); }
@media (hover: hover) { .pga-pager a.page-numbers:hover { border-color: var(--pg-navy); opacity: 1; } }
.pga-pager .page-numbers.current { background: var(--pg-deep); border-color: var(--pg-deep); color: #fff; }
.pga-pager .page-numbers.dots { width: 20px; border: 0; background: none; }
.pga-pager .page-numbers.prev, .pga-pager .page-numbers.next { position: relative; background: #fff; font-size: 0; color: transparent; overflow: hidden; }
.pga-pager .page-numbers.prev::before, .pga-pager .page-numbers.next::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--pg-navy); border-right: 2px solid var(--pg-navy); transform: translate(-30%, -50%) rotate(45deg); }
.pga-pager .page-numbers.prev::before { transform: translate(-70%, -50%) rotate(-135deg); }
.pga-pager .page-numbers[disabled] { opacity: .35; }
.pga-pager .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- 資料DL個別 ---- */
.pga-dl__jump { margin-top: 18px; }
.pga-body--dl { margin-top: 32px; }
.pga-dl .pgdl { padding: 0 var(--pga-gut); }
.pga-dl__grid > .pgdl { padding: 0 var(--pga-gut); }
.pga-dl__side { margin-top: 40px; padding: 0 var(--pga-gut); }
.pga-form { scroll-margin-top: calc(var(--pg-hd, 60px) + 12px); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(11,31,68,.04), 0 10px 30px rgba(11,31,68,.10); border: 1px solid #e3e8ef; }
.pga-form__h { padding: 16px 18px; background: var(--pg-deep); color: #fff; font-size: 17px; font-weight: 900; line-height: 1.45; text-align: center; letter-spacing: .04em; }
.pga-form .mw_wp_form { max-height: none; overflow: visible; }
.pga-form .l-seminar-form { padding: 22px 18px 24px; background: #fff; }
.pga-form .l-seminar-form__name { font-size: 14px; font-weight: 700; color: var(--pg-deep); line-height: 1.5; }
.pga-form .l-seminar-form__parts input[type="text"], .pga-form .l-seminar-form__parts input[type="tel"], .pga-form .l-seminar-form__parts input[type="email"], .pga-form .l-seminar-form__parts textarea, .pga-form .l-seminar-form__parts select { min-height: 48px; border: 1px solid #c9d2de; border-radius: 6px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.pga-form .l-seminar-form__parts input:focus, .pga-form .l-seminar-form__parts textarea:focus, .pga-form .l-seminar-form__parts select:focus { outline: none; border-color: var(--pg-cyan); box-shadow: 0 0 0 3px rgba(0,182,201,.2); }
.pga-form .l-seminar-form__select::after { top: 20px; }
.pga-form .l-seminar-form__required { background: var(--pg-orange); }
.pga-form .l-seminar-form__btn input { min-height: 56px; background: var(--pg-orange); font-size: 16px; font-weight: 700; letter-spacing: .04em; color: #fff; box-shadow: 0 10px 24px rgba(250,119,72,.3); transition: transform .2s var(--pg-out), box-shadow .2s; -webkit-appearance: none; appearance: none; }
.pga-form .l-seminar-form__btn input:active { transform: scale(.97); }
@media (hover: hover) { .pga-form .l-seminar-form__btn input:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(250,119,72,.38); } }
.pga-form .l-seminar-form__caution { letter-spacing: 0; }
.pga-form .recaptcha { margin-top: 12px; font-size: 11px; color: var(--pg-muted); line-height: 1.5; }
.pga-form .recaptcha a { color: var(--pg-muted); text-decoration: underline; }
.pga-pn--wide { margin-top: 48px; }
.pga-back { margin-top: 28px !important; text-align: center; }

/* ---- PC ---- */
@media (min-width: 768px) {
  .pga-cards--3, .pga-cards--dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .pga-pn { grid-template-columns: 1fr 1fr; }
  .pga-pn__a--next:only-child { grid-column: 2; }
}
@media (min-width: 1024px) {
  .pga { --pga-gut: max(48px, calc((100% - 1160px) / 2)); padding-bottom: 96px; }
  .pga-bc { padding-top: 16px; }
  .pga-h1 { font-size: 34px; line-height: 1.45; }
  .pga-h2 { font-size: 34px; }

  /* コラム記事: 本文 720px ＋ 右に目次 */
  .pga-col .pga-bc { max-width: calc(var(--pga-w) + 96px); margin: 0 auto; padding: 16px 48px 0; }
  .pga-col:has(.has-toc) .pga-bc { max-width: calc(var(--pga-w) + 64px + 264px + 96px); }
  .pga-col__grid { display: grid; grid-template-columns: minmax(0, var(--pga-w)); justify-content: center; padding: 0 48px; }
  .pga-col__grid.has-toc { grid-template-columns: minmax(0, var(--pga-w)) 264px; gap: 64px; }
  .pga-col__main { --pga-gut: 0px; min-width: 0; }
  .pga-col .pga-hd { padding-top: 40px; }
  .pga-toc--sp { display: none; }
  .pga-side { display: block; padding-top: 48px; }
  .pga-toc--pc { position: sticky; top: calc(var(--pg-hd, 72px) + 24px); max-height: calc(100vh - var(--pg-hd, 72px) - 48px); overflow-y: auto; scrollbar-width: thin; padding-left: 20px; border-left: 1px solid #e3e8ef; }
  .pga-toc__h { font-family: var(--pg-num); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--pg-cyan); }
  .pga-toc--pc .pga-toc__l { margin-top: 8px !important; }
  .pga-toc--pc .pga-toc__l a { grid-template-columns: 24px minmax(0, 1fr); padding: 8px 0; border-top: 0; font-size: 13px; color: var(--pg-muted); }
  .pga-toc--pc .pga-toc__l a::before { font-size: 13px; color: #9aa6b6; transition: color .2s; }
  .pga-toc--pc .pga-toc__l a[aria-current="true"] { color: var(--pg-deep); font-weight: 700; }
  .pga-toc--pc .pga-toc__l a[aria-current="true"]::before { color: var(--pg-orange); }
  .pga-body { font-size: 17px; line-height: 2; margin-top: 36px; }
  :is(.pga-body h2.wp-block-heading, .pga-col .pga-body h2:not([class])) { font-size: 25px; }
  :is(.pga-body h3.wp-block-heading, .pga-col .pga-body h3:not([class])) { font-size: 20px; }
  .pga-eye { margin-top: 28px !important; }
  .pga-by { max-width: 520px; }
  .pga-more { padding-top: 72px; margin-top: 88px; }
  .pga-more__hd { margin-bottom: 32px; }
  .pga-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pga-more__ft { flex-direction: row; justify-content: space-between; }

  /* 一覧 */
  .pga-lhd { padding-top: 48px; }
  .pga-h1--list { font-size: 44px; }
  .pga-lhd__lead { font-size: 15px; }
  .pga-filter { margin-top: 28px; }
  .pga-filter__l { flex-wrap: wrap; overflow: visible; }
  .pga-lbody { padding-top: 36px; }
  .pga-cards--list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
  .pga-cards--list .pga-card { padding: 0; border-top: 0; }
  .pga-cards--list .pga-card:not(.pga-card--lead) > a { display: block; }
  .pga-cards--list .pga-card:not(.pga-card--lead) .pga-card__tx { margin-top: 12px; }
  .pga-cards--list .pga-card:not(.pga-card--lead) .pga-card__t { font-size: 15.5px; }
  .pga-cards--list .pga-card:not(.pga-card--lead) .pga-card__v { left: 8px; bottom: 8px; padding: 3px 9px 3px 7px; font-size: 11px; }
  .pga-card--lead { grid-column: 1 / -1; padding-bottom: 8px !important; }
  .pga-card--lead > a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
  .pga-card--lead .pga-card__tx { margin-top: 0; }
  .pga-card--lead .pga-card__t { font-size: 26px; line-height: 1.5; -webkit-line-clamp: 4; }
  .pga-cards--dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
  .pga-pager .l-articles__pagination { margin-top: 64px; }

  /* 資料DL個別: 左に説明、右にフォーム */
  .pga-dl__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 56px; align-items: start; padding: 0 var(--pga-gut); }
  .pga-dl__main { --pga-gut: 0px; min-width: 0; }
  .pga-dl .pga-hd { padding-top: 40px; }
  .pga-dl__jump { display: none; }
  .pga-dl__side { grid-column: 2; grid-row: 1 / span 2; margin-top: 40px; padding: 0; }
  .pga-dl__side.is-stick { position: sticky; top: calc(var(--pg-hd, 72px) + 24px); }
  .pga-dl__grid > .pgdl { padding: 0; }
  .pga-dl .pga-author, .pga-dl .pgdl { margin-left: 0; margin-right: 0; }
  .pga-form .l-seminar-form { padding: 24px 24px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .pga *, .pga *::before, .pga *::after { transition: none !important; animation: none !important; }
}
