@charset "UTF-8";
/* =====================================================================
 * Papa's Gadget サイトデザイン（2026-11 リニューアル）
 * 読み込み: functions.php → inc/pg-design.php（子テーマ style.css の後に読み込む）
 *
 * body に付くクラス（inc/pg-design.php で付与）
 *   .pg-design … 新デザイン有効時の全ページ（見出し・表・カードなど）
 *   .pg-layout … 記事ページ・カテゴリ・タグ・検索結果（グレー地＋白カード＋サイドバー）
 *   .pg-list   … カテゴリ・タグ・検索結果の一覧
 *   .pg-page   … 固定ページ（トップ以外。グレー地＋白カード、サイドバーなし）
 *
 * 色: 文字#1E2320 / 補助#5B625E / 線#E3E5E1 / 緑#167A45 / 薄緑#E8F3EC / 地#F7F7F4
 * ブレークポイント: 1023px（Cocoonがサイドバーを本文下に回す）/ 834px（スマホ）/ 600px
 *
 * 目次
 *  1. フッター
 *  2. 共通パーツ（SNS・プロフィール・カテゴリ一覧・著者欄・ブログカード・目次ジャンプ）
 *  3. レイアウト共通（グレー地・パンくず・サイドバーのカード化）
 *  4. 記事ページ
 *  5. 一覧ページ（カテゴリ・タグ・検索）
 *  6. トップページのカード
 *  7. 個別記事→まとめ記事リンク
 *  8. 見出し・表・結論の囲み（デザインv2）
 *  9. 固定ページ（About・運営者情報・プライバシーポリシー・お問い合わせ）
 * 10. スマホ下部メニューとメニュー一覧
 * 11. トップページ（スマホ）の上書き
 * ===================================================================== */

/* ---------------------------------------------------------------------
 * 1. フッター（Cocoon標準の絶対配置・floatを打ち消して横並びに）
 * --------------------------------------------------------------------- */
.footer{background:#1E2320;color:#D6DBD7;margin-top:40px}
.footer-in{padding-top:28px;padding-bottom:28px}
.footer .footer-in{padding-left:24px;padding-right:24px}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;margin:0}
.footer .footer-bottom{margin-top:0;padding:0;position:static}
.footer-bottom-logo{flex:none;width:auto;margin:0}
.footer .footer-bottom-logo{position:static;float:none;bottom:auto;line-height:1}
.footer .footer-bottom-logo,.footer .logo-footer{text-align:left}
.footer .logo-footer{margin:0;padding:0}
.footer .logo-footer a,.footer .logo-footer .site-name-text,.footer .footer-site-logo-image{padding:0;margin:0}
.footer .footer-site-logo-image{filter:brightness(0) invert(1);max-height:28px;width:auto}
.footer-bottom-content{flex:1 1 520px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;margin:0;text-align:left}
.footer .footer-bottom-content{float:none}
.footer .navi-footer{margin:0}
.footer .navi-footer-in>.menu-footer{display:flex;flex-wrap:wrap;gap:4px 20px;justify-content:flex-start;margin:0}
.footer .navi-footer-in>.menu-footer li{border:0;width:auto;margin:0}
.footer .navi-footer-in>.menu-footer li{flex:none!important;width:auto!important}
.footer .navi-footer-in>.menu-footer li a{color:#D6DBD7;font-size:13px;padding:10px 0;display:inline-block}
.footer .navi-footer-in>.menu-footer li a:hover{color:#FFFFFF;background:none;text-decoration:underline}
.footer .copyright{color:#D6DBD7;font-size:13px;margin:0;text-align:right}
.footer .copyright .pr-note{display:block;font-size:12px;margin-top:2px}
@media screen and (max-width:834px){
  .footer{padding-bottom:64px} /* スマホ下部の固定メニューに隠れないように */
  .footer .footer-in{padding-left:16px;padding-right:16px}
  .footer-bottom,.footer-bottom-content{flex-direction:column;align-items:flex-start}
  .footer .footer-bottom-content{flex:none;width:100%}
  .footer .copyright{text-align:left}
}

/* ---------------------------------------------------------------------
 * 2. 共通パーツ
 * --------------------------------------------------------------------- */
/* サイドバーのプロフィール（ウィジェット block-7） */
.pg-side-profile{text-align:center}
.pg-side-avatar{display:block;margin:0 auto;border-radius:999px;width:96px;height:96px}
.pg-side-name{margin:10px 0 0;font-size:18px;font-weight:900;color:#1E2320}
.pg-side-text{margin:8px 0 0;font-size:13px;line-height:1.8;color:#5B625E;text-align:left}
.pg-side-more{margin:12px 0 0;font-size:13px;font-weight:700}
.pg-side-more a,.pg-author-more a{color:#167A45;text-decoration:none}
/* SNSボタン [pg_sns] */
.pg-sns{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.pg-side-profile .pg-sns{justify-content:center}
.pg-sns a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:44px;padding:0 12px;border-radius:999px;border:1px solid #CBD2CC;background:#fff;color:#1E2320;font-size:12px;font-weight:700;text-decoration:none;line-height:1}
.pg-sns a:hover{border-color:#167A45;color:#167A45}
/* サイドバーの見出し・カテゴリ一覧 [pg_side_cats] */
.sidebar .pg-side-h{margin:0 0 12px;padding:0;border:0;background:none;font-size:15px;font-weight:900;color:#1E2320}
.sidebar .pg-side-h::before,.sidebar .pg-side-h::after{display:none}
.pg-side-cats{list-style:none;margin:0;padding:0;font-size:14px;line-height:2.2}
.pg-side-cats li{border:0;margin:0;padding:0}
.pg-side-cats li::before{display:none}
.pg-cat-parent{color:#1E2320;font-weight:700;text-decoration:none}
.pg-side-cats ul{list-style:none;margin:0;padding-left:14px;font-size:13px;line-height:2}
.pg-side-cats ul a{color:#167A45;text-decoration:none}
.pg-side-cats a.is-current{font-weight:700}
.sidebar .pg-side-cats li,.sidebar .pg-side-cats li a{padding:0;margin:0;border:0;background:none}
.sidebar .pg-side-cats>li{line-height:2.3}
.sidebar .pg-side-cats ul li{line-height:2}
/* 記事下の「この記事を書いた人」 */
.pg-author-box{display:flex;gap:20px;align-items:flex-start;margin:40px 0 28px;padding:22px;background:#FAFBF9;border:1px solid #E3E5E1;border-radius:12px}
.pg-author-box .pg-author-img{flex:none;width:80px;height:80px;border-radius:999px;margin:0}
.pg-author-body{flex:1;min-width:0}
.entry-content .pg-author-body p{margin:0}
.entry-content .pg-author-kicker{font-size:12px;font-weight:700;color:#167A45}
.entry-content .pg-author-name{font-size:18px;font-weight:900;margin-top:2px}
.entry-content .pg-author-text{font-size:14px;line-height:1.8;color:#5B625E;margin-top:6px}
.entry-content .pg-author-more{font-size:13px;font-weight:700;margin-top:10px}
/* ブログカード下部：サイトURLと日付を1行に（長いURLは…で省略） */
.entry-content .blogcard-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap;font-size:12px;line-height:1.5}
.entry-content .blogcard-footer::before,.entry-content .blogcard-footer::after{display:none}
.entry-content .blogcard-site{float:none;display:flex;align-items:center;gap:4px;flex:1 1 auto;min-width:0;overflow:hidden}
.entry-content .blogcard-favicon{flex:none;margin:0}
.entry-content .blogcard-domain{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entry-content .blogcard-date{float:none;flex:none;white-space:nowrap}
/* 目次リンクのジャンプ先に上余白（見出し上端が画面上から約33pxに来るように。ログイン時は管理バー32px分を足す） */
.entry-content [id^="toc"]{scroll-margin-top:52px}
.admin-bar .entry-content [id^="toc"]{scroll-margin-top:84px}
.entry-content h3 [id^="toc"],.entry-content h4 [id^="toc"]{scroll-margin-top:37px}
.admin-bar .entry-content h3 [id^="toc"],.admin-bar .entry-content h4 [id^="toc"]{scroll-margin-top:69px}
@media screen and (max-width:834px){
  #block-7,#toc-2{display:none} /* スマホではサイドバーのプロフィール・目次を出さない（記事下の著者欄・本文中の目次と重複） */
  .pg-author-box{gap:14px;padding:16px}
  .pg-author-box .pg-author-img{width:64px;height:64px}
}

/* ---------------------------------------------------------------------
 * 3. レイアウト共通（記事・カテゴリ・タグ・検索）
 * --------------------------------------------------------------------- */
body.pg-layout{background:#F7F7F4}
.pg-layout .main{background:transparent;border:0;padding:0;box-shadow:none}
/* パンくず */
.pg-layout .main .breadcrumb{margin:0 0 14px;padding:4px 0 0;font-size:13px;color:#5B625E}
.pg-layout .main .breadcrumb a{color:#167A45}
.single .main .breadcrumb .fa{display:inline-block}
.pg-layout .main .breadcrumb .fa-home,.pg-layout .main .breadcrumb .fa-folder,.pg-layout .main .breadcrumb .fa-tag,.pg-layout .main .breadcrumb .fa-tags{display:none}
.pg-layout .main .breadcrumb .sp{margin:0 6px;color:#5B625E}
/* サイドバー：ウィジェットごとに白カード */
.pg-layout .sidebar{background:transparent;border:0;padding:0;box-shadow:none}
.pg-layout .sidebar .widget{background:#fff;border:1px solid #E3E5E1;border-radius:14px;padding:18px 20px;margin:0 0 20px}
.pg-layout .sidebar #block-7{padding:22px}
.pg-layout .sidebar .pg-side-more{margin-top:18px}
.pg-layout .sidebar .widget-title{margin:0 0 12px;padding:0;border:0!important;background:none;font-size:15px;font-weight:900;color:#1E2320}
.pg-layout .sidebar .widget-title::before,.pg-layout .sidebar .widget-title::after{display:none}
.pg-layout .sidebar .pg-side-box,.pg-layout .sidebar .wp-block-search,.pg-layout .sidebar .toc-widget-box{margin:0!important;padding-bottom:0}
.pg-layout .sidebar .pg-side-box > p:empty{display:none}
.single .sidebar #block-8 > *,.single .sidebar #block-8 .pg-side-box > *{margin-bottom:0!important}
/* サイドバー：検索 */
.pg-layout .sidebar .wp-block-search__label{display:block;margin:0 0 12px;font-size:15px;font-weight:900;color:#1E2320}
.pg-layout .sidebar .wp-block-search__inside-wrapper{display:flex;gap:8px;border:0;padding:0}
.pg-layout .sidebar .wp-block-search__input{flex:1;min-width:0;height:44px;border:1px solid #CBD2CC;border-radius:8px;padding:0 12px;font-size:14px;background:#fff}
.pg-layout .sidebar .wp-block-search__button{flex:none;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:8px;background:#167A45;color:#fff;display:flex;align-items:center;justify-content:center}
.pg-layout .sidebar .wp-block-search__button svg{fill:#fff;width:22px;height:22px;min-width:22px}
/* サイドバー：よく読まれている記事（番号付きテキストリスト。1〜3位は緑、4位以降はグレー） */
.pg-layout .sidebar .popular-entry-cards,.pg-layout .sidebar .widget-entry-cards{counter-reset:pgrk;margin:0!important;padding:0!important}
.pg-layout .sidebar .widget-entry-cards .a-wrap{margin-bottom:0!important}
.pg-layout .sidebar .popular-entry-card-link{display:block;margin:0!important;padding:10px 0;border-bottom:1px solid #EEF0EC;text-decoration:none;background:none}
.pg-layout .sidebar .popular-entry-card-link:last-child{border-bottom:0}
.pg-layout .sidebar .popular-entry-card{display:flex;gap:12px;align-items:flex-start;margin:0;padding:0;border:0;background:none;min-height:0!important}
.pg-layout .sidebar .popular-entry-card::before{counter-increment:pgrk;content:counter(pgrk);flex:none;width:24px;height:24px;border-radius:999px;background:#167A45;color:#fff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1}
.pg-layout .sidebar .popular-entry-card-link:nth-child(n+4) .popular-entry-card::before{background:#E9ECE7;color:#1E2320}
.pg-layout .sidebar .popular-entry-card-thumb,.pg-layout .sidebar .popular-entry-card-snippet,.pg-layout .sidebar .popular-entry-card-meta,.pg-layout .sidebar .popular-entry-card .card-meta{display:none}
.pg-layout .sidebar .popular-entry-card-content{margin:0;padding:0;min-height:0!important}
.pg-layout .sidebar .popular-entry-card-title{margin:0;font-size:13px;font-weight:500;line-height:1.55;color:#1E2320}
.pg-layout .sidebar .popular-entry-card-link:hover .popular-entry-card-title{color:#167A45}
/* サイドバーの開始位置をメインカラム上端に揃える（パンくず27px＋余白14px）。パンくずの無いタグ・検索は0 */
@media screen and (min-width:1024px){
  .single .sidebar,.category .sidebar{margin-top:41px}
}
/* 1023px以下はサイドバーが本文の下に回るので、プロフィール（記事下の著者欄と重複）・検索（下部メニューと重複）・目次を隠す */
@media screen and (max-width:1023px){
  .pg-layout .sidebar #block-7,.pg-layout .sidebar #block-2,.single .sidebar #toc-2{display:none!important}
  .single .sidebar,.category .sidebar,.tag .sidebar{margin-top:0!important}
}
@media screen and (max-width:834px){
  .pg-layout .main .breadcrumb{padding:12px 16px 0;margin:0 0 12px;font-size:12px}
  .pg-layout .sidebar{padding:0 16px;margin:0}
  .pg-layout .sidebar .widget{padding:16px;margin-bottom:16px}
  .pg-layout .sidebar .popular-entry-card-link:nth-child(n+4){display:none}
  .pg-layout .sidebar .popular-entry-card-link:nth-child(3){border-bottom:0}
  /* カテゴリ一覧は親カテゴリだけの行リストに */
  .pg-layout .sidebar #block-9{padding:4px 16px}
  .pg-layout .sidebar #block-9 .pg-side-h{display:none}
  .pg-layout .sidebar .pg-side-cats ul{display:none}
  .pg-layout .sidebar .pg-side-cats > li{border-bottom:1px solid #E3E5E1}
  .pg-layout .sidebar .pg-side-cats > li:last-child{border-bottom:0}
  .pg-layout .sidebar .pg-cat-parent{display:flex;justify-content:space-between;align-items:center;min-height:50px;font-size:15px}
  .pg-layout .sidebar .pg-cat-parent::after{content:"›";font-size:18px;color:#5B625E}
}

/* ---------------------------------------------------------------------
 * 4. 記事ページ
 * --------------------------------------------------------------------- */
.single .article{background:#fff;border:1px solid #E3E5E1;border-radius:14px;padding:40px 48px;margin-bottom:32px}
/* 記事ヘッダー：カテゴリラベル → タイトル → メタ行 → アイキャッチ（並びは order で制御） */
.single .article-header{display:flex;flex-direction:column}
.single .article-header > *{order:1}
.single .article-header .pg-entry-label{order:-3;align-self:flex-start}
.single .article-header .entry-title{order:-2}
.single .article-header .pg-entry-meta{order:-1}
.pg-entry-label{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border-radius:999px;padding:3px 10px;text-decoration:none}
.pg-entry-label:hover{color:#0F5A32}
.single .entry-title{margin:12px 0 0;padding:0;font-size:30px;line-height:1.5;font-weight:900;color:#1E2320}
.pg-entry-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 24px;font-size:13px;color:#5B625E}
.pg-meta-author{display:flex;align-items:center;gap:8px;font-weight:700;color:#1E2320}
.pg-meta-author img{width:32px;height:32px;border-radius:999px;display:block}
.pg-meta-pr{margin-left:auto;font-size:12px;border:1px solid #E3E5E1;border-radius:999px;padding:2px 10px;line-height:1.5}
/* アイキャッチ（style.css の「.post .eye-catch 非表示」を記事ページでは打ち消す） */
.single .article-header .eye-catch-wrap,.single .article-header .eye-catch{display:block!important;width:100%;margin:0}
.single .eye-catch img{border-radius:10px}
.single .article-header .eye-catch img{width:100%;height:auto;display:block}
.single .article-header .eye-catch .cat-label{display:none}
.single .sns-share.ss-top{display:none}
/* 本文 */
.single .entry-content{margin-top:28px}
.single .article .entry-content{margin-bottom:0!important;padding-bottom:0!important}
.single .entry-content p{font-size:16px;line-height:1.95}
.single .article h2::before,.single .article h2::after{display:none}
.single .article h3::before,.single .article h3::after{display:none}
.single .entry-content hr,.single .entry-content .wp-block-separator{display:none}
/* 本文中の目次（スマホは初期状態で折りたたみ：JS） */
.single .entry-content .toc{display:block;width:auto;margin:0 0 28px;padding:18px 22px;border:1px solid #E3E5E1;border-radius:12px;background:#FAFBF9;text-align:left;font-size:14px}
.single .entry-content .toc .toc-title{display:flex;justify-content:space-between;align-items:center;margin:0;padding:0 0 8px;border:0;font-size:14px;font-weight:900;color:#1E2320;text-align:left;cursor:pointer}
.single .entry-content .toc .toc-title::after{content:"閉じる ▴";font-size:13px;font-weight:700;color:#167A45}
.single .entry-content .toc-checkbox:not(:checked) + .toc-title{padding-bottom:0}
.single .entry-content .toc-checkbox:not(:checked) + .toc-title::after{content:"開く ▾"}
.single .entry-content .toc-content{padding:0}
.single .entry-content .toc-list{margin:0;padding-left:20px;line-height:2;font-size:14px}
.single .entry-content .toc-list ol{padding-left:18px}
.single .entry-content .toc a{color:#167A45;text-decoration:none}
/* 記事下：タグ（#ピル）・著者欄。Cocoon標準の記事フッター・前後記事・コメントは非表示 */
.pg-entry-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:32px;padding-top:24px;border-top:1px solid #E3E5E1}
.pg-entry-tags a{font-size:13px;line-height:1.5;padding:6px 12px;border:1px solid #CBD2CC;border-radius:999px;color:#1E2320;text-decoration:none}
.pg-entry-tags a:hover{border-color:#167A45;color:#167A45}
.single .pg-author-box{margin:28px 0 0;border:0}
.single .article .entry-content > .pg-author-box:last-child{margin-bottom:0}
.single .entry-content .pg-author-box p.pg-author-kicker{font-size:12px;line-height:1.6}
.single .entry-content .pg-author-box p.pg-author-name{font-size:18px;line-height:1.5}
.single .entry-content .pg-author-box p.pg-author-text{font-size:14px;line-height:1.8}
.single .entry-content .pg-author-box p.pg-author-more{font-size:13px;line-height:1.6;margin-top:16px}
.single .article-footer,.single .pager-post-navi,.single #comment-area,.single .comment-area{display:none}
/* あわせて読みたい（関連記事：縦型カード3件） */
.single .under-entry-content{margin-top:0}
.single .related-entries{margin:0 0 32px;padding:0;background:none;border:0}
.single .related-entry-heading{margin:0 0 16px;padding:0;background:none;border:0;font-size:20px;font-weight:900;color:#1E2320}
.single .related-entry-heading::before,.single .related-entry-heading::after{display:none}
.single .related-entry-sub-heading{display:none}
.single .related-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.single .related-list > a{display:block;width:auto;margin:0;padding:0;background:#fff;border:1px solid #E3E5E1;border-radius:14px;overflow:hidden;color:#1E2320;text-decoration:none}
.single .related-list > a:hover{border-color:#167A45}
.single .related-entry-card{display:block;width:auto;margin:0;padding:0}
.single .related-entry-card-thumb{float:none;width:100%;margin:0;position:static}
.single .related-entry-card-thumb img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:0}
.single .related-entry-card .cat-label{position:static;display:inline-block;margin:12px 14px 0;font-size:12px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border:0;border-radius:999px;padding:3px 10px;opacity:1}
.single .related-entry-card-content{margin:0;padding:6px 14px 14px}
.single .related-entry-card-title{margin:0;font-size:14px;font-weight:700;line-height:1.55;color:#1E2320}
.single .related-entry-card-snippet,.single .related-entry-card-meta,.single .related-entry-card .card-meta{display:none}
/* サイドバーの追従目次（ボックス上端から5px。今読んでいる見出しを緑に：JS） */
.single .sidebar-scroll{top:5px}
.admin-bar.single .sidebar-scroll{top:37px}
.single .sidebar .widget_toc .toc{display:block;width:auto;margin:0;padding:0;border:0;background:none;text-align:left}
.single .sidebar .widget_toc .toc-title,.single .sidebar .widget_toc .toc-checkbox{display:none}
.single .sidebar .widget_toc .toc-content{display:block!important;padding:0}
.single .sidebar .widget_toc .toc-widget-box,.single .sidebar .widget_toc .toc-content,.single .sidebar .widget_toc .toc-list{border:0!important;background:none}
.single .sidebar .widget_toc .toc-list,.single .sidebar .widget_toc .toc-list ol{list-style:none;margin:0;padding:0;counter-reset:none}
.single .sidebar .widget_toc .toc-list li{margin:0;padding:0}
.single .sidebar .widget_toc .toc-list li::before{display:none}
.single .sidebar .widget_toc .toc-list a{display:block;padding:7px 0 7px 14px;border-left:2px solid #E3E5E1;color:#5B625E;font-size:13px;line-height:1.5;text-decoration:none}
.single .sidebar .widget_toc .toc-list ol a{padding-left:26px;font-size:12px}
.single .sidebar .widget_toc .toc-list a:hover{color:#167A45}
.single .sidebar .widget_toc .toc-list a.is-active{border-left-color:#167A45;color:#167A45;font-weight:700}
@media screen and (max-width:834px){
  .single .main{margin:0;padding:0}
  .single .article{border-radius:0;border-left:0;border-right:0;padding:22px 16px 28px;margin:0 0 28px}
  .single .entry-title{margin-top:10px;font-size:22px}
  .pg-entry-meta{gap:10px;margin:14px 0 16px;font-size:12px}
  .pg-meta-author img{width:28px;height:28px}
  .pg-entry-meta.has-mod .pg-meta-pub{display:none} /* スマホは更新日だけ */
  .pg-meta-pr{padding:1px 8px}
  .single .entry-content{margin-top:20px}
  .single .entry-content .toc{padding:0 16px}
  .single .entry-content .toc .toc-title{min-height:48px;padding:0;font-size:15px}
  .single .entry-content .toc-checkbox:checked ~ .toc-content{padding-bottom:14px}
  .single .under-entry-content{padding:0 16px}
  /* 関連記事は横長の小カード */
  .single .related-list{grid-template-columns:1fr;gap:10px}
  .single .related-list > a{padding:10px}
  .single .related-list .related-entry-card{display:flex!important;flex-direction:row!important;gap:12px;align-items:center;text-align:left!important}
  .single .related-list .related-entry-card-thumb{flex:none!important;width:96px!important;margin:0!important}
  .single .related-entry-card-thumb img{border-radius:10px;aspect-ratio:96/66}
  .single .related-entry-card .cat-label{display:none}
  .single .related-list .related-entry-card-content{flex:1;min-width:0;padding:0!important;margin:0!important}
  .single .related-list .related-entry-card-title{font-size:14px}
}

/* ---------------------------------------------------------------------
 * 5. 一覧ページ（カテゴリ・タグ・検索結果）
 * --------------------------------------------------------------------- */
/* 見出しカード（種別ラベル・名前・件数・子カテゴリのピル／検索フォーム） */
.pg-arch-head{background:#fff;border:1px solid #E3E5E1;border-radius:14px;padding:28px 32px;margin:0 0 24px}
.pg-arch-kicker{display:inline-block;font-size:12px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border-radius:999px;padding:3px 10px}
.main .pg-arch-title,.main .archive-title.pg-arch-title{margin:10px 0 0;padding:0;border:0;background:none;font-size:28px;font-weight:900;line-height:1.4;color:#1E2320}
.main .pg-arch-title::before,.main .pg-arch-title::after{display:none}
.pg-arch-desc{margin:8px 0 0;font-size:14px;line-height:1.8;color:#5B625E}
.pg-arch-count{white-space:nowrap}
.pg-arch-cats{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid #E3E5E1}
.pg-arch-cats a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid #CBD2CC;border-radius:999px;background:#fff;color:#1E2320;font-size:13px;font-weight:700;text-decoration:none}
.pg-arch-cats a:hover{border-color:#167A45;color:#167A45}
.pg-arch-cats a.is-current{background:#167A45;border-color:#167A45;color:#fff}
.pg-search-form{display:flex;gap:8px;margin-top:18px;padding-top:18px;border-top:1px solid #E3E5E1;max-width:560px}
.pg-search-form input[type=search]{flex:1;min-width:0;height:46px;border:1px solid #CBD2CC;border-radius:8px;padding:0 14px;font-size:15px;background:#fff;color:#1E2320}
.pg-search-form input[type=search]:focus{outline:2px solid #167A45;outline-offset:1px;border-color:#167A45}
.pg-search-form button{flex:none;width:46px;height:46px;border:0;border-radius:8px;background:#167A45;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.pg-search-form button:hover{background:#0F5A32}
/* 記事カード一覧 */
.pg-list #list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 32px}
.pg-list #list > a{display:block;width:auto!important;margin:0!important;padding:0;background:#fff;border:1px solid #E3E5E1;border-radius:14px;overflow:hidden;color:#1E2320;text-decoration:none;box-shadow:none}
.pg-list #list > a:hover{border-color:#167A45;background:#fff}
.pg-list #list .entry-card{display:flex;flex-direction:column;height:100%;width:auto;margin:0;padding:0}
.pg-list #list .entry-card-thumb{float:none;width:100%;margin:0;position:static}
.pg-list #list .entry-card-thumb img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:0}
.pg-list #list .entry-card-thumb,.pg-list #list .entry-card-thumb img{box-shadow:none!important;border:0!important}
.pg-list #list .entry-card .cat-label{position:static;display:inline-block;margin:12px 14px 0;font-size:12px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border:0;border-radius:999px;padding:3px 10px;opacity:1;align-self:flex-start}
.pg-list #list .entry-card-content{flex:1;display:flex;flex-direction:column;margin:0;padding:6px 14px 14px}
.pg-list #list .entry-card-title{margin:0;font-size:15px;font-weight:700;line-height:1.55;color:#1E2320;border:0;padding:0}
.pg-list #list .entry-card-snippet{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 0;font-size:12px;line-height:1.7;color:#5B625E}
.pg-list #list .entry-card-meta{margin-top:auto;padding-top:10px;text-align:left!important;font-size:12px;color:#5B625E}
.pg-list #list .entry-card-meta .fa{display:none}
.pg-list #list .post-update{margin-left:8px}
/* ページ送り（「次のページ」大ボタンは出さない） */
.pg-list .pagination-next{display:none}
.pg-list .pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:8px 0 40px}
.pg-list .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;margin:0;padding:0 10px;border:1px solid #CBD2CC;border-radius:10px;background:#fff;color:#1E2320;font-size:14px;font-weight:700;text-decoration:none}
.pg-list .pagination .page-numbers:hover{border-color:#167A45;color:#167A45;background:#fff}
.pg-list .pagination .page-numbers.current{background:#167A45;border-color:#167A45;color:#fff}
.pg-list .pagination .page-numbers.dots{border:0;background:none;min-width:24px}
/* 検索：見出しカードにフォームがあるのでサイドバーの検索は常に隠す／0件のときの案内 */
.search .sidebar #block-2{display:none!important}
.search .posts-not-found,.search .pg-notfound{background:#fff;border:1px solid #E3E5E1;border-radius:14px;padding:24px 28px;margin:0 0 32px}
.pg-notfound-lead{margin:0;font-size:15px;line-height:1.9;color:#1E2320}
.pg-notfound-h{margin:22px 0 10px;font-size:15px;font-weight:900;color:#1E2320}
.pg-notfound .pg-notfound-cats{margin-top:0;padding-top:0;border-top:0}
.pg-notfound .pgh-hubs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pg-notfound .pgh-hub{display:flex;gap:10px;align-items:center;padding:10px 12px 10px 10px;background:#fff;border:1px solid #E3E5E1;border-radius:12px;color:#1E2320;text-decoration:none}
.pg-notfound .pgh-hub:hover{border-color:#167A45}
.pg-notfound .pgh-hub img{flex:none;width:72px;height:54px;object-fit:cover;border-radius:8px;display:block;margin:0}
.pg-notfound .pgh-hub-b{min-width:0;display:flex;flex-direction:column;gap:4px}
.pg-notfound .pgh-hub-l{align-self:flex-start;font-size:11px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border-radius:999px;padding:2px 8px}
.pg-notfound .pgh-hub-t{font-size:14px;font-weight:700;line-height:1.5}
@media screen and (max-width:834px){
  .pg-arch-head{border-radius:0;border-left:0;border-right:0;padding:20px 16px;margin:0 0 16px}
  .main .pg-arch-title{font-size:22px}
  .pg-arch-cats{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scrollbar-width:none}
  .pg-arch-cats::-webkit-scrollbar{display:none}
  .pg-arch-cats a{flex:none}
  .pg-search-form{max-width:none}
  .pg-list #list{grid-template-columns:1fr;gap:10px;padding:0 16px;margin-bottom:24px}
  .pg-list #list > a{padding:10px}
  .pg-list #list .entry-card{flex-direction:row;gap:12px;align-items:flex-start}
  .pg-list #list .entry-card-thumb{flex:none;width:112px}
  .pg-list #list .entry-card-thumb img{border-radius:10px;aspect-ratio:16/11}
  .pg-list #list .entry-card .cat-label{display:none}
  .pg-list #list .entry-card-content{padding:0}
  .pg-list #list .entry-card-title{font-size:14px}
  .pg-list #list .entry-card-snippet{display:none}
  .pg-list #list .entry-card-meta{padding-top:6px}
  .pg-list .pagination{padding:0 16px}
  .search .posts-not-found,.search .pg-notfound{border-radius:0;border-left:0;border-right:0;padding:20px 16px}
  .pg-notfound .pg-notfound-cats{flex-wrap:wrap;overflow:visible;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
}
@media screen and (max-width:600px){ .pg-notfound .pgh-hubs{grid-template-columns:1fr} }

/* ---------------------------------------------------------------------
 * 6. トップページ：よく読まれている記事／新着記事 [pg_cards]
 *    （ヒーロー・悩みから探す などトップ固有の見た目は固定ページ8141内の <style>）
 * --------------------------------------------------------------------- */
.pg-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 48px}
.pg-cards .pg-card{display:flex;flex-direction:column;background:#fff;border:1px solid #E3E5E1;border-radius:14px;overflow:hidden;color:#1E2320;text-decoration:none;transition:border-color .15s}
.pg-cards .pg-card:hover{border-color:#167A45;color:#1E2320}
.pg-card-img{position:relative;background:#E9ECE7;aspect-ratio:16/9}
.pg-card-img img{width:100%;height:100%;object-fit:cover;display:block;margin:0;border-radius:0}
.pg-card-rank{position:absolute;top:10px;left:10px;width:30px;height:30px;border-radius:999px;background:#167A45;color:#fff;font-size:14px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.pg-card-rank.is-low{background:#fff;color:#1E2320}
.pg-card-body{flex:1;display:flex;flex-direction:column;padding:14px 16px 16px}
.pg-card-label{align-self:flex-start;font-size:12px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border-radius:999px;padding:3px 10px}
.pg-cards p.pg-card-title{margin:8px 0 0;font-size:15px;font-weight:700;line-height:1.55;color:#1E2320}
.pg-cards p.pg-card-desc{margin:8px 0 0;font-size:13px;line-height:1.7;color:#5B625E;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pg-card-date{margin-top:auto;padding-top:10px;font-size:12px;color:#5B625E}
@media screen and (max-width:1023px){ .pg-cards{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media screen and (max-width:600px){
  .pg-cards{grid-template-columns:1fr;gap:10px;margin-bottom:36px}
  .pg-cards .pg-card{flex-direction:row;gap:12px;padding:10px;align-items:flex-start}
  .pg-card-img{flex:none;width:112px;aspect-ratio:16/11;border-radius:10px;overflow:hidden}
  .pg-card-rank{top:6px;left:6px;width:24px;height:24px;font-size:12px}
  .pg-card-body{padding:0;min-width:0}
  .pg-card-label{display:none}
  .pg-cards p.pg-card-title{margin:0;font-size:14px}
  .pg-cards p.pg-card-desc{margin-top:4px;font-size:12px;line-height:1.6}
  .pg-card-date{padding-top:4px;font-size:11px}
}

/* ---------------------------------------------------------------------
 * 7. 個別記事 → まとめ記事リンク（導入後の1行／「まとめ」前のカード）
 * --------------------------------------------------------------------- */
.entry-content p.pg-hub-line{margin:0 0 22px;padding:12px 16px;background:#F1F5F2;border-radius:10px;font-size:14px;line-height:1.7;color:#1E2320}
.entry-content p.pg-hub-line a{color:#167A45;font-weight:700}
.entry-content a.pg-hub-card{display:flex;align-items:center;gap:14px;margin:8px 0 32px;padding:16px 18px;background:#fff;border:1px solid #167A45;border-radius:14px;color:#1E2320;text-decoration:none}
.entry-content a.pg-hub-card:hover{background:#F7FBF8}
.pg-hub-label{flex:none;font-size:12px;font-weight:700;line-height:1.5;color:#167A45;background:#E8F3EC;border-radius:999px;padding:3px 10px}
.pg-hub-title{font-size:15px;font-weight:700;line-height:1.5}
@media screen and (max-width:600px){
  .entry-content a.pg-hub-card{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}
}

/* ---------------------------------------------------------------------
 * 8. 見出し・表・結論の囲み（デザインv2）
 * --------------------------------------------------------------------- */
/* h2：24px・左に緑の縦線・薄緑の背景 */
.pg-design.single .article h2{margin:56px 0 20px;padding:14px 18px 14px 20px;font-size:24px;line-height:1.45;font-weight:800;color:#1E2320;background:#EAF3EC;border:0;border-left:5px solid #167A45;border-radius:4px 10px 10px 4px}
/* h3：19px太字のみ（装飾なし） */
.pg-design.single .article h3{margin:40px 0 14px;padding:0;font-size:19px;line-height:1.5;font-weight:800;color:#1E2320;background:none;border:0}
.pg-design.single .article h4{margin:28px 0 10px;font-size:16px;font-weight:800;color:#167A45;border:0;background:none;padding:0}
/* 「結論」を含む h2 から次の h2 までを囲む（.pg-conclusion は PHP で付与） */
.pg-design .pg-conclusion{margin:40px 0 36px;padding:22px 24px 8px;background:#F3F8F4;border:1px solid #CFE3D5;border-radius:14px}
.pg-design.single .article .pg-conclusion h2{margin:0 0 12px;padding:0;font-size:20px;background:none;border:0;border-radius:0;color:#167A45}
.pg-design .pg-conclusion ol,.pg-design .pg-conclusion ul{margin-bottom:12px}
.pg-design .pg-conclusion p{margin-bottom:14px}
/* 表：濃い見出し行・左揃え・15px・1列目太字・1行おきの薄い背景・角丸 */
.pg-design .entry-content .wp-block-table{margin:24px 0 28px;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #E3E5E1;border-radius:12px}
.pg-design .entry-content .wp-block-table table{width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;font-size:15px;line-height:1.7}
.pg-design .entry-content .wp-block-table thead{border:0}
.pg-design .entry-content .wp-block-table th{padding:12px 14px;background:#1E2320;color:#fff;font-weight:700;text-align:left;white-space:nowrap;border:0}
.pg-design .entry-content .wp-block-table td{padding:12px 14px;border:0;border-top:1px solid #E3E5E1;background:#fff;color:#1E2320;text-align:left;vertical-align:top}
.pg-design .entry-content .wp-block-table td,.pg-design .entry-content .wp-block-table th{font-size:15px!important;line-height:1.7} /* Cocoonがスマホで表セルを縮めるのを打ち消す */
.pg-design .entry-content .wp-block-table tbody tr:first-child td{border-top:0}
.pg-design .entry-content .wp-block-table tbody tr:nth-child(even) td{background:#FAFBF9}
.pg-design .entry-content .wp-block-table td:first-child{font-weight:700}
.pg-design .entry-content .wp-block-table figcaption{margin:0;padding:10px 14px;font-size:12px;line-height:1.7;color:#5B625E;text-align:left;border-top:1px solid #E3E5E1;background:#fff}
/* 横にはみ出す表のヒント（JSで .pg-tscroll に包む）：上に「横にスクロールできます →」、端に影 */
.pg-design .pg-tscroll{position:relative;margin:24px 0 28px}
.pg-design .pg-tscroll .wp-block-table{margin:0}
.pg-design .pg-tscroll-hint{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:0 0 6px;font-size:12px;font-weight:700;color:#167A45;line-height:1.5}
.pg-design .pg-tscroll-hint::after{content:"→";display:inline-block;animation:pgNudge 1.4s ease-in-out infinite}
@keyframes pgNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
.pg-design .pg-tscroll-box{position:relative}
.pg-design .pg-tscroll-box::before,.pg-design .pg-tscroll-box::after{content:"";position:absolute;top:1px;bottom:1px;width:28px;pointer-events:none;transition:opacity .2s;z-index:2}
.pg-design .pg-tscroll-box::after{right:1px;border-radius:0 11px 11px 0;background:linear-gradient(to right,rgba(30,35,32,0),rgba(30,35,32,.16));opacity:1}
.pg-design .pg-tscroll-box::before{left:1px;border-radius:11px 0 0 11px;background:linear-gradient(to left,rgba(30,35,32,0),rgba(30,35,32,.16));opacity:0}
.pg-design .pg-tscroll.is-end .pg-tscroll-box::after{opacity:0}
.pg-design .pg-tscroll.is-scrolled .pg-tscroll-box::before{opacity:1}
.pg-design .pg-tscroll.is-end .pg-tscroll-hint{visibility:hidden}
@media (prefers-reduced-motion:reduce){ .pg-design .pg-tscroll-hint::after{animation:none} }
@media screen and (max-width:834px){
  .pg-design.single .article h2{margin-top:44px;font-size:21px;padding:12px 14px 12px 16px}
  .pg-design.single .article h3{font-size:18px}
  .pg-design .pg-conclusion{padding:18px 16px 4px}
  .pg-design .entry-content .wp-block-table table{min-width:600px}
}

/* ---------------------------------------------------------------------
 * 9. 固定ページ（About・運営者情報・プライバシーポリシー・お問い合わせ）
 *    記事ページと同じ「グレー地＋白カード」。サイドバーは無しで中央に1カラム
 * --------------------------------------------------------------------- */
body.pg-page{background:#F7F7F4}
.pg-page .main{background:transparent;border:0;padding:0;box-shadow:none;max-width:880px;float:none}
@media screen and (min-width:835px){ body.pg-page .main{margin-left:auto!important;margin-right:auto!important} }
.pg-page .article{background:#fff;border:1px solid #E3E5E1;border-radius:14px;padding:40px 48px;margin-bottom:32px}
.pg-page .entry-title{margin:0;padding:0;font-size:30px;line-height:1.5;font-weight:900;color:#1E2320}
.pg-page .date-tags{margin:12px 0 0;text-align:left;font-size:13px;color:#5B625E}
.pg-page .sns-share.ss-top,.pg-page .article-footer,.pg-page .breadcrumb-page,.pg-page .eye-catch-wrap{display:none!important}
/* 本文 */
.pg-page .entry-content{margin-top:28px;margin-bottom:0!important;padding-bottom:0!important}
.pg-page .entry-content p,.pg-page .entry-content li{font-size:16px;line-height:1.95}
.pg-page .entry-content a{color:#167A45}
.pg-page .entry-content hr,.pg-page .entry-content .wp-block-separator{display:none}
.pg-design.pg-page .article h2{margin:48px 0 20px;padding:14px 18px 14px 20px;font-size:24px;line-height:1.45;font-weight:800;color:#1E2320;background:#EAF3EC;border:0;border-left:5px solid #167A45;border-radius:4px 10px 10px 4px}
.pg-design.pg-page .article h3{margin:36px 0 14px;padding:0;font-size:19px;line-height:1.5;font-weight:800;color:#1E2320;background:none;border:0}
.pg-page .article h2::before,.pg-page .article h2::after,.pg-page .article h3::before,.pg-page .article h3::after{display:none}
.pg-page .entry-content > h2:first-child{margin-top:0}
/* 目次（記事ページと同じ見た目） */
.pg-page .entry-content .toc{display:block;width:auto;margin:0 0 28px;padding:18px 22px;border:1px solid #E3E5E1;border-radius:12px;background:#FAFBF9;text-align:left;font-size:14px}
.pg-page .entry-content .toc .toc-title{display:flex;justify-content:space-between;align-items:center;margin:0;padding:0 0 8px;border:0;font-size:14px;font-weight:900;color:#1E2320;text-align:left;cursor:pointer}
.pg-page .entry-content .toc .toc-title::after{content:"閉じる ▴";font-size:13px;font-weight:700;color:#167A45}
.pg-page .entry-content .toc-checkbox:not(:checked) + .toc-title{padding-bottom:0}
.pg-page .entry-content .toc-checkbox:not(:checked) + .toc-title::after{content:"開く ▾"}
.pg-page .entry-content .toc-content{padding:0}
.pg-page .entry-content .toc-list{margin:0;padding-left:20px;line-height:2;font-size:14px}
.pg-page .entry-content .toc-list ol{padding-left:18px}
.pg-page .entry-content .toc a{color:#167A45;text-decoration:none}
/* お問い合わせフォーム（WPForms）：入力欄とボタンを緑基調に */
.pg-page .wpforms-container input[type=text],.pg-page .wpforms-container input[type=email],.pg-page .wpforms-container textarea{border:1px solid #CBD2CC!important;border-radius:8px!important;font-size:16px!important}
.pg-page .wpforms-container input:focus,.pg-page .wpforms-container textarea:focus{border-color:#167A45!important;box-shadow:0 0 0 1px #167A45!important}
.pg-page .wpforms-container .wpforms-field-label{font-weight:700;color:#1E2320}
.pg-page .wpforms-container .wpforms-submit{background:#167A45!important;border:0!important;border-radius:999px!important;padding:12px 32px!important;height:auto!important;font-weight:700;color:#fff!important}
.pg-page .wpforms-container .wpforms-submit:hover{background:#0F5A32!important}
@media screen and (max-width:834px){
  .pg-page .main{margin:0;padding:0}
  .pg-page .article{border-radius:0;border-left:0;border-right:0;padding:22px 16px 28px;margin:0 0 28px}
  .pg-page .entry-title{font-size:22px}
  .pg-page .entry-content{margin-top:20px}
  .pg-page .entry-content .toc{padding:0 16px}
  .pg-page .entry-content .toc .toc-title{min-height:48px;padding:0;font-size:15px}
  .pg-page .entry-content .toc-checkbox:checked ~ .toc-content{padding-bottom:14px}
  .pg-design.pg-page .article h2{margin-top:40px;font-size:21px;padding:12px 14px 12px 16px}
  .pg-design.pg-page .article h3{font-size:18px}
  /* 固定ページの表は2列なので、記事ページの「最小600px＋横スクロール」をやめて画面幅に収める */
  .pg-design.pg-page .entry-content .wp-block-table table{min-width:0;table-layout:auto}
  .pg-design.pg-page .entry-content .wp-block-table td{overflow-wrap:anywhere}
  .pg-design.pg-page .entry-content .wp-block-table td:first-child{white-space:nowrap;width:1%}
}

/* ---------------------------------------------------------------------
 * 10. スマホ下部メニュー（メニュー・ホーム・目次・検索）とメニュー一覧
 *     旧スキンの青緑をやめて、白地＋黒文字＋緑アクセントに
 * --------------------------------------------------------------------- */
.pg-design .mobile-footer-menu-buttons{background:#fff;border-top:1px solid #E3E5E1;box-shadow:0 -2px 10px rgba(30,35,32,.06)}
.pg-design .mobile-footer-menu-buttons .menu-icon,.pg-design .mobile-footer-menu-buttons .menu-icon .fa{color:#1E2320}
.pg-design .mobile-footer-menu-buttons .menu-caption{color:#5B625E;font-weight:700}
.pg-design .mobile-footer-menu-buttons .menu-button > a:active .menu-icon,.pg-design .mobile-footer-menu-buttons .menu-button-in:active .menu-icon{color:#167A45}
/* メニュー一覧（左から出るドロワー） */
.pg-design .navi-menu-content{background:#fff}
.pg-design .navi-menu-content .menu-close-button{color:#1E2320}
.pg-design .navi-menu-content .menu-drawer a{color:#1E2320;border-bottom:1px solid #EEF0EC;font-weight:700}
.pg-design .navi-menu-content .menu-drawer .sub-menu a{color:#5B625E;font-weight:500;font-size:14px}
.pg-design .navi-menu-content .menu-drawer a::after,.pg-design .navi-menu-content .menu-drawer a::before{color:#167A45}
.pg-design .navi-menu-content .menu-drawer a:hover{background:#E8F3EC;color:#167A45}
/* 目次（下部メニューの「目次」から開くパネル） */
.pg-design .toc-menu-content{background:#fff}
.pg-design .toc-menu-content .toc a{color:#167A45}
/* 検索パネル */
.pg-design .search-menu-content .search-edit{border:1px solid #CBD2CC;border-radius:8px}
.pg-design .search-menu-content .search-edit:focus{border-color:#167A45;outline:0;box-shadow:0 0 0 1px #167A45}

/* ---------------------------------------------------------------------
 * 11. トップページ（スマホ）の上書き
 *     元のスタイルはトップページ本文内の <style>。本文は触らずここで上書きする
 * --------------------------------------------------------------------- */
@media (max-width:600px){
  /* 子どもの年齢・家庭の状況：横スクロールをやめ、小さめのボタンを折り返して全部見せる */
  .pg-design .pgh-box{padding:16px}
  .pg-design .pgh-pills{flex-wrap:wrap;overflow-x:visible;gap:8px;padding-bottom:0}
  .pg-design .pgh-pill{min-height:36px;padding:0 13px;font-size:13px}
}
/* カテゴリから探す（スマホ）：JS で .pgh-cats-acc を付けたときだけのアコーディオン表示（PCは従来どおり） */
.pg-design .pgh-cats.pgh-cats-acc{display:block;border-top:1px solid #E3E5E1}
.pg-design .pgh-cats-acc > div{border-bottom:1px solid #E3E5E1}
.pg-design .pgh-cats-acc summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:52px;font-size:15px;font-weight:900;color:#1E2320;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pg-design .pgh-cats-acc summary::-webkit-details-marker{display:none}
.pg-design .pgh-cats-acc .pgh-acc-cnt{margin-left:auto;font-size:12px;font-weight:700;color:#5B625E}
.pg-design .pgh-cats-acc summary::after{content:"＋";width:20px;text-align:center;font-weight:900;color:#167A45}
.pg-design .pgh-cats-acc details[open] summary::after{content:"－"}
.pg-design .pgh-cats-acc details ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;line-height:1.5}
.pg-design .pgh-cats-acc details li a{display:inline-block;padding:6px 12px;border:1px solid #CBD2CC;border-radius:999px;font-size:13px;color:#1E2320;text-decoration:none}
.pg-design .pgh-cats-acc details li a.pgh-acc-all{border-color:#167A45;color:#167A45;font-weight:700}
/* 選び方まとめ（トップのヒーロー下の小カード）：メニューから長いタイトルの記事が来ても高さが揃うよう2行で切る */
.pg-design .pgh-hub-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
