
@layer grpro {
  .gr13-hero-search button,
  .gr13-hero-search .gr14-action,
  #gr-404-s button,
  .search-box .search-submit,
  #search-menu-content .search-submit {
    background: #c74000 !important;
    background-image: none !important;
    border: 1px solid #c74000 !important;
    color: #fff !important;
  }
  .gr13-hero-search button:hover,
  .gr13-hero-search button:focus-visible,
  .gr13-hero-search .gr14-action:hover { background: #a83600 !important; border-color: #a83600 !important; }
  .gr13-header-saved small,
  .search-trigger kbd,
  .gr12-path-links a span small,
  .gr11-feed .card .taxonomy-category a,
  .gr11-feed .card .wp-block-post-terms__separator,
  .gr13-query-footer .wp-block-post-date time,
  .gr13-query-footer .wp-block-post-date,
  .site-footer .footer-bottom span,
  .gr11-affiliate-note,
  .gr13-hero-search label,
  .gr13-purpose-link,
  .gr12-carousel-status,
  .mobile-nav a, .mobile-nav button,
  #gr11-reading-contents .toc-current,
  #gr11-reading-contents .toc-number,
  .toc .toc-list li::before, .toc-number,
  .breadcrumb, .breadcrumb a, .breadcrumb-caption, .gr12-context-path, .gr12-context-path a,
  .entry-date, .post-date, .post-update, .date-tags,
  .cat-label, .card-meta, .taxonomy-category a,
  .gr-purchase-note, .gr-purchase-label,
  .entry-content .gr-small, .entry-content .grs-small, .entry-content figcaption, .entry-content .note, .entry-content p.note {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
  .entry-content .gr-small, .entry-content .grs-small, .entry-content figcaption,
  .entry-content .note, .entry-content p.note, .gr-purchase-note { font-size: 13px !important; line-height: 1.7 !important; }
  .gr-purchase-button { font-size: 14px !important; }
  .entry-content p,
  .entry-content li,
  .entry-content blockquote,
  .entry-content .lead, .entry-content .grs-lead, .entry-content .gr-dek,
  .entry-content .gr-body p, .entry-content .gr-long-review p {
    font-size: 17px !important;
    line-height: 1.85 !important;
    color: #27332b !important;
  }
  .entry-content p { margin-bottom: 1.4em !important; }
  .entry-content table th, .entry-content table td, .entry-content table caption,
  .entry-content .tbl, .entry-content .grs-table { font-size: 14px !important; line-height: 1.6 !important; }
  .entry-content h1, h1.entry-title { font-size: 31px !important; line-height: 1.45 !important; }
  .entry-content h2 { font-size: 27px !important; line-height: 1.45 !important; }
  .entry-content h3 { font-size: 22px !important; line-height: 1.5 !important; }
  .entry-content h4 { font-size: 18px !important; line-height: 1.5 !important; }
  .entry-content .tag, .entry-content .grs-kicker, .entry-content .gr-kicker { font-size: 13px !important; line-height: 1.6 !important; }
  @media (max-width: 834px) {
    .entry-content p, .entry-content li, .entry-content blockquote,
    .entry-content .lead, .entry-content .grs-lead, .entry-content .gr-dek,
    .entry-content .gr-body p, .entry-content .gr-long-review p { font-size: 16px !important; }
    .entry-content h1, h1.entry-title { font-size: 26px !important; }
    .entry-content h2 { font-size: 23px !important; }
    .entry-content h3 { font-size: 20px !important; }
  }
  .gr13-header-saved small, .search-trigger kbd, .eyebrow, .cat-label,
  .entry-categories a, .entry-tags a, .cat-link, .tag-link { border-radius: 4px !important; }
  .gr13-header-saved, .search-trigger, .save-article,
  .gr13-hero-search > div, .gr13-hero-search input, .hero-shortcuts a, .hero-shortcuts .text-link,
  .gr12-path-links a, .compact-category-links a, .category-links .text-link,
  #gr11-reading-contents nav a,
  .cta.grs-buy > a, .gr-purchase-button, .gr-cta a, .gr-cta--compact a,
  .sns-share-buttons a, .sns-follow-buttons a,
  .popular-entry-card-thumb, .popular-entry-card-thumb img, .card-media, .card-media img,
  .related-entry-card-thumb, .related-entry-card-thumb img, .gr-purchase-photo,
  .entry-content figure img, .entry-content .grs-figure > span > span, .gr14-image-stage, .gr14-image-stage picture, .gr14-image-stage img, .gr14-image-reveal,
  .entry-content .grs-figure > span { border-radius: 6px !important; }
  .gr13-hero-search button, .gr13-hero-search .gr14-action { border-radius: 0 6px 6px 0 !important; }
  .gr12-hero, .gr11-popular-section, .popular-entry-card-link, .gr11-feed .card, .gr12-path,
  #main, #sidebar, #sidebar-scroll, #sidebar aside,
  #gr11-reading-contents, .entry-content .tbl, .entry-content .grs-table,
  .cta.grs-buy, .gr-purchase-card, .gr-cta, .gr-note, .entry-content .note, .entry-content .grs-box,
  .gr-growth-next, .grs-next, .gr-context-next, .grs-sources, .sources,
  .related-entry-card-wrap, #pager-post-navi a, .prev-post, .next-post { border-radius: 8px !important; }
  .gr-purchase-button, .cta.grs-buy > a, .gr-cta a, .skip-link, .author-link,
  .taxonomy-category a, .gr11-feed .card .taxonomy-category a, .entry-categories a, .entry-tags a,
  .breadcrumb a, .breadcrumb-home a, .gr12-context-path a,
  .sns-follow-buttons a, .mobile-nav a, .mobile-nav button {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    min-height: 44px !important; min-width: 44px !important; box-sizing: border-box !important;
  }
  .mobile-nav a, .mobile-nav button { flex-direction: column !important; }
  .gr-purchase-button { padding: 10px 18px !important; }
  .entry-content .gr-profile-links a, .entry-content .profile-articles a { min-height: 44px !important; display: inline-flex !important; align-items: center !important; }
}
@layer grpro {
  .gr12-hero { margin-top: 24px !important; margin-bottom: 0 !important; padding: 44px 48px !important; row-gap: 8px !important; column-gap: 40px !important; align-items: center !important; }
  .gr12-hero .hero-heading .eyebrow { margin: 0 0 14px !important; font-size: 13px !important; letter-spacing: .06em !important; }
  .gr12-hero .hero-heading h1 { font-size: clamp(30px, 3.6vw, 46px) !important; line-height: 1.25 !important; margin: 0 0 16px !important; letter-spacing: 0 !important; }
  .gr12-hero .hero-description { font-size: 15px !important; line-height: 1.8 !important; max-width: 36em !important; margin: 0 0 24px !important; }
  .gr12-hero .gr13-hero-search { margin: 0 0 16px !important; }
  .gr12-hero .gr13-hero-search label { margin: 0 0 8px !important; }
  .gr12-hero .gr13-purpose-link { margin: 0 0 8px !important; }
  .gr12-hero .hero-shortcuts { gap: 8px !important; margin: 0 !important; }
  .gr12-hero .hero-shortcuts a, .gr12-hero .hero-shortcuts .text-link {
    min-height: 44px !important; padding: 0 18px !important; font-size: 14px !important;
    background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.55) !important;
  }
  @media (max-width: 834px) {
    .gr12-hero { margin-top: 12px !important; padding: 28px 20px 24px !important; row-gap: 4px !important; }
    .gr12-hero .hero-heading h1 { font-size: 28px !important; margin-bottom: 12px !important; }
    .gr12-hero .hero-description { margin-bottom: 18px !important; }
  }
  .gr11 .section, .gr11-popular-section, #explore, .gr12-latest, .gr11 section.section {
    padding-top: 64px !important; padding-bottom: 64px !important; margin-top: 0 !important; margin-bottom: 0 !important;
  }
  .gr11 .section-head, #popular, #latest { padding-bottom: 0 !important; margin-bottom: 28px !important; }
  .gr11 .section-head h2, #popular h2, #latest h2 { font-size: 28px !important; line-height: 1.35 !important; margin: 0 0 8px !important; }
  .gr11 .section-head p, .gr11-section-note, .gr12-explore-note { font-size: 15px !important; line-height: 1.7 !important; margin: 0 !important; }
  .site-footer { margin-top: 0 !important; }
  @media (max-width: 834px) {
    .gr11 .section, .gr11-popular-section, #explore, .gr12-latest, .gr11 section.section { padding-top: 44px !important; padding-bottom: 44px !important; }
    .gr11 .section-head, #popular, #latest { margin-bottom: 20px !important; }
    .gr11 .section-head h2, #popular h2, #latest h2 { font-size: 24px !important; }
  }
  .popular-entry-card-link, .gr11-feed .card, .gr12-path,
  .related-entry-card-wrap, #pager-post-navi a, .prev-post, .next-post {
    background: #fbfbf7 !important; border: 1px solid #d7d3c1 !important; box-shadow: none !important;
  }
  .popular-entry-card-link { padding: 16px !important; }
  .popular-entry-card-link:hover, .gr11-feed .card:hover, .related-entry-card-wrap:hover, #pager-post-navi a:hover { border-color: #b8b2a7 !important; background: #fff !important; }
  .gr11-feed .card { padding: 16px !important; }
  .popular-entry-card-title, .gr11-feed .card .wp-block-post-title, .related-entry-card-title { font-size: 17px !important; line-height: 1.5 !important; font-weight: 700 !important; margin: 12px 0 8px !important; }
  .gr11-feed .card .wp-block-post-excerpt__excerpt, .related-entry-card-snippet { font-size: 14px !important; line-height: 1.7 !important; color: #3d5141 !important; }
  .gr11-feed .card .card-meta, .popular-entry-card-meta { font-size: 12px !important; line-height: 1.6 !important; }
  .cta.grs-buy { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .gr-purchase-card, .gr-cta, .gr-cta--compact { display: block !important; width: 100% !important; max-width: none !important; background: #fbfbf7 !important; border: 1px solid #d7d3c1 !important; padding: 20px !important; box-shadow: none !important; margin: 0 0 12px !important; }
  .gr-purchase-main { display: flex !important; gap: 20px !important; align-items: center !important; }
  .gr-purchase-photo { flex: 0 0 120px !important; background: #fff !important; border: 1px solid #e5e8df !important; }
  .gr-purchase-title { display: block !important; font-size: 17px !important; line-height: 1.5 !important; font-weight: 700 !important; margin: 0 0 10px !important; }
  .gr-purchase-store { display: flex !important; align-items: center !important; gap: 12px !important; flex-wrap: wrap !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
  .gr-purchase-button, .gr-cta a.gr-cta-button, .gr-cta .gr-purchase-button {
    background: #c74000 !important; color: #fff !important; border: 1px solid #c74000 !important; font-weight: 700 !important;
  }
  .gr-purchase-button:hover { background: #a83600 !important; border-color: #a83600 !important; }
  .cta.grs-buy > a { background: #fff !important; color: #27332b !important; border: 1px solid #b8b2a7 !important; font-weight: 700 !important; padding: 0 18px !important; }
  .gr-purchase-note { display: block !important; margin: 12px 0 0 !important; color: #536050 !important; }
  @media (max-width: 834px) {
    .gr-purchase-main { flex-direction: column !important; align-items: flex-start !important; }
    .gr-purchase-photo { flex-basis: auto !important; width: 120px !important; }
  }
  .gr-growth-next, .grs-next, .gr-context-next {
    background: #fbfbf7 !important; border: 1px solid #d7d3c1 !important; border-left: 1px solid #d7d3c1 !important;
    padding: 20px 22px !important; margin: 40px 0 !important; transform: none !important; box-shadow: none !important;
  }
  .gr-growth-next p, .grs-next p, .gr-context-next p { font-size: 15px !important; line-height: 1.8 !important; margin: 0 0 8px !important; }
  .gr-growth-next ul, .grs-next ul { margin: 0 !important; padding-left: 1.2em !important; }
  .gr-growth-next li, .grs-next li { font-size: 15px !important; line-height: 1.8 !important; margin: 4px 0 !important; }
  .grs-sources, .sources { margin-top: 48px !important; padding: 16px 20px !important; background: transparent !important; border: 1px solid #d7d3c1 !important; }
  .grs-sources p, .sources p, .gr-source { font-size: 13px !important; line-height: 1.7 !important; color: #536050 !important; margin: 0 0 6px !important; }
  .article-footer { margin-top: 48px !important; }
  .article-footer > * { margin: 0 0 48px !important; }
  .article-footer .entry-categories-tags { margin-bottom: 32px !important; }
  .article-footer .sns-share-message, .article-footer .sns-follow-message { font-size: 13px !important; line-height: 1.6 !important; margin: 0 0 10px !important; color: #536050 !important; text-align: left !important; }
  .article-footer .sns-share-buttons { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
  .article-footer .sns-share-buttons a { flex: 1 1 auto !important; height: 44px !important; min-height: 44px !important; margin: 0 !important; font-size: 13px !important; border: 1px solid #d7d3c1 !important; background: #fbfbf7 !important; color: #3d5141 !important; }
  .article-footer .sns-share-buttons a .social-icon { font-size: 18px !important; }
  .article-footer .sns-follow-buttons a { height: 44px !important; width: auto !important; min-width: 44px !important; padding: 0 14px !important; border: 1px solid #d7d3c1 !important; background: #fbfbf7 !important; color: #3d5141 !important; }
  .article-footer .footer-meta { font-size: 13px !important; }
  .under-entry-content { margin-top: 0 !important; }
  #related-entries { margin: 0 0 48px !important; }
  .related-entry-heading, .related-entry-heading .main-caption { font-size: 20px !important; line-height: 1.4 !important; margin: 0 0 20px !important; }
  #related-entries .related-list { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
  #related-entries .related-entry-card-wrap { width: auto !important; max-width: none !important; margin: 0 !important; padding: 12px !important; float: none !important; display: block !important; }
  #related-entries .related-entry-card-thumb { width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; }
  #related-entries .related-entry-card-content { padding: 0 !important; margin: 0 !important; }
  #related-entries .related-entry-card-title { font-size: 15px !important; margin: 10px 0 6px !important; }
  #related-entries .related-entry-card-snippet { font-size: 13px !important; line-height: 1.6 !important; }
  #pager-post-navi { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important; margin: 0 0 48px !important; }
  #pager-post-navi a { width: auto !important; margin: 0 !important; padding: 12px !important; display: flex !important; gap: 12px !important; align-items: center !important; min-height: 44px !important; }
  #pager-post-navi .card-thumb { flex: 0 0 96px !important; width: 96px !important; margin: 0 !important; }
  #pager-post-navi .prev-post-title, #pager-post-navi .next-post-title { font-size: 14px !important; line-height: 1.5 !important; }
  @media (max-width: 834px) {
    .gr-growth-next, .grs-next, .gr-context-next { margin: 32px 0 !important; padding: 16px 18px !important; }
    .article-footer, .grs-sources, .sources { margin-top: 40px !important; }
    .article-footer > * { margin-bottom: 40px !important; }
    .article-footer .sns-share-buttons a { flex: 1 1 calc(33.333% - 8px) !important; }
    #related-entries .related-list { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    #related-entries .related-entry-card-wrap { padding: 10px !important; }
    #related-entries .related-entry-card-title { font-size: 14px !important; }
    #pager-post-navi { grid-template-columns: 1fr !important; gap: 12px !important; }
  }
  /* 2026-10-29 追記（残件1〜3）：ヒーロー下ボタンの 44px、プロフィール記事カードの札・副題 12px、フッター「公式X」の幅 44px */
  .gr12-hero .hero-shortcuts a, .gr12-hero .hero-shortcuts .text-link { display: inline-flex !important; align-items: center !important; justify-content: center !important; }
  .profile-page .card-meta, .profile-page .card-meta span, .profile-page .card-meta .pill, .profile-page .card-footer > span { font-size: 12px !important; line-height: 1.6 !important; }
  .site-footer .footer-links a { min-width: 44px !important; justify-content: center !important; }
}
@layer grpro {
  /* 2026-10-29 C：色の是正と全ページの UI 統一（本人指摘：濃い緑の面の上の文字が同系色で読めない）。
     原因は A-3 の「.entry-content p { color:#27332b }」が、トップ・ハブ・まとめページ（.gr11 構成）の濃い緑の帯の中の文章にも効いたこと。 */
  /* C-1 .gr11 構成ページの p/li/blockquote の文字色は A-3 の前の値に戻す（記事本文だけ A-3 を残す） */
  .entry-content .gr11 p, .entry-content .gr11 li, .entry-content .gr11 blockquote,
  .entry-content .gr11 .lead, .entry-content .gr11 .gr-dek { color: revert-layer !important; }
  /* C-2 濃い緑の面（ヒーロー・ジャンル導線の帯・ハブの帯）の上の文字は生成りに統一（#edf0e4：7.2:1、小見出し #e2decb：6.3:1、見出し・ボタン #f5f5ee：7.4:1） */
  .entry-content .gr11 .gr12-hero .hero-description, .entry-content .gr11 .gr12-hero .hero-description p,
  .entry-content .gr11 .gr12-hero .gr13-hero-search label, .entry-content .gr11 .gr12-hero .gr13-purpose-link,
  .entry-content .gr11 .gr12-path-head p, .entry-content .gr11 .gr12-path-head li,
  .entry-content .gr11 .category-cover p, .entry-content .gr11 .category-cover li, .entry-content .gr11 .category-cover .lead { color: #edf0e4 !important; }
  .entry-content .gr11 .gr12-hero .hero-heading .eyebrow, .entry-content .gr11 .gr12-hero .eyebrow .gr20-subject, .entry-content .gr11 .gr12-hero .eyebrow span,
  .entry-content .gr11 .gr12-path-head .eyebrow, .entry-content .gr11 .gr12-path-head .gr12-path-count, .entry-content .gr11 .category-cover .eyebrow { color: #e2decb !important; }
  .entry-content .gr11 .gr12-hero .hero-heading h1, .entry-content .gr11 .gr12-path-head h2, .entry-content .gr11 .gr12-path-head h3,
  .entry-content .gr11 .category-cover h1, .entry-content .gr11 .category-cover h2,
  .entry-content .gr11 .gr12-hero .hero-shortcuts a, .entry-content .gr11 .gr12-hero .hero-shortcuts .text-link,
  .entry-content .gr11 .gr12-path-head a, .entry-content .gr11 .category-cover a:not(.button) { color: #f5f5ee !important; }
  /* C-3 生成り・白の面の上のテキストリンク（#3d707a＝4.45:1）を #37666f（5.1:1）に。濃い緑の面の上と記事本文（#3d5141）は対象外 */
  .gr11 .text-link:not(.gr12-hero *):not(.gr12-path-head *):not(.category-cover *),
  body.page .entry-content a:not([class]):not(.gr11 *):not(.gr-cta *):not(.wp-block-button *) { color: #37666f !important; }
  /* C-4 ハブ・まとめページの金茶ボタン（白文字 1.7:1）は濃い緑の文字に（7.8:1）。金茶の面は維持 */
  .entry-content a.button.gr14-action, .gr11 a.button.gr14-action, .gr11 .actions .button { color: #27332b !important; }
  .entry-content a.button.gr14-action:hover, .gr11 a.button.gr14-action:hover { color: #27332b !important; background: #e6d7b3 !important; }
  /* C-5 購入カード内の注記の文中リンクはボタン化せず通常のリンクに戻す（A-5 の .gr-cta a が効いていた） */
  .gr-cta p a, .gr-cta .gr-small a, .gr-cta .gr-purchase-note a { display: inline !important; min-height: 0 !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #27332b !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
  /* C-6 トップの横スクロール列の矢印（#767f66＝2.8:1）を濃い緑に（5.8:1） */
  .gr12-carousel-prev, .gr12-carousel-next, .gr12-carousel-controls button { color: #3d5141 !important; }
  /* C-7 パンくず：全ページ同じ（12px・#27332b・背景なし。カテゴリ一覧の白帯と、固定ページの灰青 #556770 をやめる） */
  .breadcrumb, .breadcrumb a, .breadcrumb-caption, .breadcrumb-item, .gr12-context-path, .gr12-context-path a { color: #27332b !important; background: transparent !important; }
  /* C-8 h1：記事・カテゴリ一覧・検索・404 で同じ（31px／SP 26px、700、#3d5141）。ヒーローとハブの h1 は除く */
  #main h1:not(.gr11 *), .archive-title, h1.search-title, h1.page-title, h1.entry-title { font-size: 31px !important; line-height: 1.45 !important; font-weight: 700 !important; color: #3d5141 !important; }
  /* C-9 h2/h3 の太さと色を統一（記事ごとに 700/800 が混在、固定ページの h3 が灰青 #34464f） */
  .entry-content h2:not(.gr11 *), .gr11 .section-head h2, .entry-content h3:not(.gr11 *) { font-weight: 700 !important; }
  .entry-content h3:not(.gr11 *), .entry-content .gr11 .section h3:not(.card *) { color: #3d5141 !important; }
  /* C-10 カード：カテゴリ一覧・検索結果（Cocoon の #f2f3ee＋#cdd2d6）とプロフィール（白＋#d5dce1）も、記事カードと同じ白地＋1px #d7d3c1＋角丸 8px に */
  .entry-card-wrap, .profile-page .card, .gr11 .cards .card, .gr11 .card { background: #fbfbf7 !important; border: 1px solid #d7d3c1 !important; border-radius: 8px !important; box-shadow: none !important; }
  /* C-11 主ボタン：検索ページの検索ボタン（18px/800）も他と同じ 14px/700 に */
  .search-box .search-submit, #search-menu-content .search-submit, #gr-404-s button { font-size: 14px !important; font-weight: 700 !important; }
  /* C-12 表のセル背景を統一（記事ごとに白と #f2f3ee が混在） */
  .entry-content table tbody td { background-color: #fff !important; }
  @media (max-width: 834px) {
    #main h1:not(.gr11 *), .archive-title, h1.search-title, h1.page-title, h1.entry-title { font-size: 26px !important; }
  }
}
/* C-F レイヤー外の保険：追加CSS（wp-custom-css）にはレイヤー外の !important も混ざっているため、
   上の C と同じ値をレイヤー外・高い詳細度でも重ねておく（どちらが勝っても同じ値になる）。wp-custom-css（優先度101）より後ろに出ることが前提 */
html body #container #content #main .entry-content .gr11 .text-link:not(.gr12-hero *):not(.gr12-path-head *):not(.category-cover *),
html body.page #container #content #main .entry-content a:not([class]):not(.gr11 *):not(.gr-cta *):not(.wp-block-button *) { color: #37666f !important; }
html body #container #content #main .entry-card-wrap, html body #container #content #main .entry-content .gr11 .card { background: #fbfbf7 !important; border: 1px solid #d7d3c1 !important; border-radius: 8px !important; box-shadow: none !important; }
html body #container #content #main .entry-content .gr11 .gr12-hero .hero-description, html body #container #content #main .entry-content .gr11 .gr12-hero .hero-description p,
html body #container #content #main .entry-content .gr11 .gr12-path-head p, html body #container #content #main .entry-content .gr11 .category-cover p, html body #container #content #main .entry-content .gr11 .category-cover .lead { color: #edf0e4 !important; }
html body #container #content #main .entry-content .gr11 .gr12-hero .hero-heading .eyebrow, html body #container #content #main .entry-content .gr11 .gr12-hero .eyebrow span,
html body #container #content #main .entry-content .gr11 .gr12-path-head .eyebrow, html body #container #content #main .entry-content .gr11 .category-cover .eyebrow { color: #e2decb !important; }
html body #container #content #main .entry-content .gr11 .gr12-hero .hero-shortcuts a, html body #container #content #main .entry-content .gr11 .gr12-path-head a, html body #container #content #main .entry-content .gr11 .category-cover a:not(.button) { color: #f5f5ee !important; }
html body #container #content #main .entry-content a.button.gr14-action, html body #container #content #main .gr11 .actions .button { color: #27332b !important; }
html body #container #content #main .breadcrumb, html body #container #content #main .breadcrumb a, html body #container #content #main .gr12-context-path, html body #container #content #main .gr12-context-path a { color: #27332b !important; background: transparent !important; }
html body #container #content #main .gr-cta p a, html body #container #content #main .gr-cta .gr-small a { display: inline !important; min-height: 0 !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #27332b !important; text-decoration: underline !important; }
html body #container #content #main .gr12-carousel-prev, html body #container #content #main .gr12-carousel-next { color: #3d5141 !important; }
@layer grpro {
  /* 2026-10-29 D：トップのスマホ表示の本人指摘 2 点（GR-PRO-B-20261028 ブロック内への追記。既存の A/B/C 規則は変更なし） */
  /* D-1 「よく読まれている記事」01/02/03 の切り替えボタン：C-6 の「.gr12-carousel-controls button { color:#3d5141 }」が、追加CSS（grstd）の選択中の文字色 #f5f5ee に勝ってしまい、モスグリーン #46543b の塗りの上で文字が読めなかった（1.06:1）。選択中（hover / focus-visible 含む）だけ生成り #f5f5ee（7.4:1）にする。非選択・矢印は現状のまま */
  .gr12-carousel-controls .gr16-picks-choice.is-current,
  .gr12-carousel-controls .gr16-picks-choice[aria-current="true"],
  .gr12-carousel-controls .gr16-picks-choice.is-current:hover,
  .gr12-carousel-controls .gr16-picks-choice[aria-current="true"]:hover,
  .gr12-carousel-controls .gr16-picks-choice.is-current:focus-visible,
  .gr12-carousel-controls .gr16-picks-choice[aria-current="true"]:focus-visible,
  .gr12-carousel-controls .gr16-picks-choice.is-current .gr16-picks-choice-number,
  .gr12-carousel-controls .gr16-picks-choice[aria-current="true"] .gr16-picks-choice-number { color: #f5f5ee !important; }
  /* D-2 「ジャンルから探す」各カード下の 3 ボタン（実使用レビュー・最新情報・比較・選び方）：ラベルが左寄せ（align-items:start / text-align:start）のため中央がずれて見える。ボタン列を中央揃えの flex（等幅・等間隔・折り返し時も中央）にし、ラベルも各ボタンの中央に置く */
  .gr12-path-links { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: stretch !important; gap: 8px !important; }
  .gr12-path-links > a { flex: 1 1 calc((100% - 16px) / 3) !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; }
  .gr12-path-links > a > span:first-child { width: auto !important; max-width: 100% !important; align-items: center !important; text-align: center !important; }
  .gr12-path-links > a b, .gr12-path-links > a small { text-align: center !important; }
  @media (max-width: 760px) {
    .gr12-path-links { gap: 6px !important; }
    .gr12-path-links > a { flex-basis: calc((100% - 12px) / 3) !important; }
  }
}
/* D-F レイヤー外の保険（C-F と同じ考え方） */
html body #container #content #main .gr12-carousel-controls .gr16-picks-choice.is-current, html body #container #content #main .gr12-carousel-controls .gr16-picks-choice[aria-current="true"],
html body #container #content #main .gr12-carousel-controls .gr16-picks-choice.is-current .gr16-picks-choice-number, html body #container #content #main .gr12-carousel-controls .gr16-picks-choice[aria-current="true"] .gr16-picks-choice-number { color: #f5f5ee !important; }
html body #container #content #main .gr11 .gr12-path-links { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; }
html body #container #content #main .gr11 .gr12-path-links > a { align-items: center !important; justify-content: center !important; text-align: center !important; }
html body #container #content #main .gr11 .gr12-path-links > a > span:first-child { width: auto !important; align-items: center !important; text-align: center !important; }
