/*
 * biz-point Media 子テーマの主スタイル。
 *
 * デザイン方針:
 *   ペイッター (https://paytner.co.jp/paytter/) で使われている STORK19 (jstork19)
 *   テーマの見た目を Cocoon ベースで再現する。STORK19 は有料テーマでライセンス上
 *   流用できないため、視覚仕様 (タイポ・幅・H2/H3 装飾・カード・サイドバー等) を
 *   再構築している。
 *
 * カラー方針:
 *   ペイッターのアクセント色 (#1bb4d3 シアン系) を biz-point ブランドのネイビー
 *   #19448e に置き換え。それ以外 (黄ラベル・新着赤・ボックス用補助色等) は STORK19
 *   と同じ値を維持する。
 *
 *   "色以外は同じ" を運用ルールとし、レイアウト幅・余白・タイポは STORK19 から
 *   抽出した値をそのまま採用している。
 */

/* ─────────────────────────────────────────────────
 *  Web フォント
 *  STORK19 と同じく Yu Gothic 系のシステムフォントを優先する。
 *  ペイッター実機が読み込んでいる Concert One のみ Google Fonts から取得。
 *  CSS 仕様で @import は他のルールより先に書く必要があるため先頭に配置。
 * ───────────────────────────────────────────────── */
@import "https://fonts.googleapis.com/css?family=Concert+One&display=swap";

:root {
    /* === Brand color (biz-point ネイビー) === */
    --biz-point-color-key: #19448e;
    --biz-point-color-key-rgb: 25, 68, 142;
    --biz-point-color-key-hover: #2459b3;
    --biz-point-color-key-rgba-10: rgba(25, 68, 142, 0.1);
    --biz-point-color-key-rgba-05: rgba(25, 68, 142, 0.05);

    /* === STORK19 互換: --main-* / --header-* / --label-* / --biz-point-box-* === */
    --biz-point-text-color: #333;
    --biz-point-link-color: var(--biz-point-color-key);
    --biz-point-link-color-hover: var(--biz-point-color-key-hover);
    --biz-point-ttl-bg: var(--biz-point-color-key);
    --biz-point-ttl-bg-rgba: var(--biz-point-color-key-rgba-10);
    --biz-point-ttl-color: #fff;
    --biz-point-header-bg: #fff;
    --biz-point-header-bg-overlay: var(--biz-point-color-key);
    --biz-point-header-logo-color: var(--biz-point-color-key);
    --biz-point-header-text-color: #333;
    --biz-point-inner-content-bg: #fff;
    --biz-point-label-bg: #fcee21;
    --biz-point-label-text-color: #3e3e3e;
    --biz-point-slider-text-color: #444;
    --biz-point-side-text-color: #3e3e3e;
    --biz-point-footer-bg: #fff;
    --biz-point-footer-text-color: #333;
    --biz-point-footer-link-color: #333;
    --biz-point-new-mark-bg: #ff6347;

    /* ボックス用補助色 (STORK19 そのまま) */
    --biz-point-box-blue: var(--biz-point-color-key);
    --biz-point-box-blue-inner: #e6edf7;
    --biz-point-box-red: #ee5656;
    --biz-point-box-red-inner: #feeeed;
    --biz-point-box-yellow: #f7cf2e;
    --biz-point-box-yellow-inner: #fffae2;
    --biz-point-box-green: #39cd75;
    --biz-point-box-green-inner: #e8fbf0;
    --biz-point-box-pink: #f7b2b2;
    --biz-point-box-pink-inner: #fee;
    --biz-point-box-gray: #9c9c9c;
    --biz-point-box-gray-inner: #f5f5f5;

    /* === Layout === */
    --biz-point-wrap-width: 1166px;
    --biz-point-wide-width: 980px;
    --biz-point-main-width: 820px;
    --biz-point-side-margin: 16px;
    --biz-point-post-thumb-ratio: 1200/630;
    --biz-point-margin: 1.6em;

    /* === Typography (STORK19 と同値) === */
    --biz-point-base-font-family:
        "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic ProN", meiryo,
        sans-serif;
    --biz-point-base-font-size-pc: 103%;
    --biz-point-base-font-size-sp: 103%;

    /* === Effects === */
    --biz-point-shadow-card: 0 2px 8px rgba(20, 40, 80, 0.08);
    --biz-point-shadow-card-hover: 0 8px 22px rgba(20, 40, 80, 0.14);
    --biz-point-radius: 6px;

    /* === Site canvas === */
    --biz-point-body-bg: #f7f7f7;
}

/* ─────────────────────────────────────────────────
 *  Base
 *  STORK19 は body に薄グレーキャンバス + #inner-content を白カードとして
 *  浮かせる構成。Cocoon でも同等の見た目になるよう base 層から定義。
 * ───────────────────────────────────────────────── */
html {
    font-size: var(--biz-point-base-font-size-pc);
}

@media (max-width: 1023px) {
    html {
        font-size: var(--biz-point-base-font-size-sp);
    }
}

body,
.body {
    font-family: var(--biz-point-base-font-family);
    color: var(--biz-point-text-color);
    background-color: var(--biz-point-body-bg);
    line-height: 1.9;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 白カードのコンテンツ領域 (STORK19 の #inner-content 相当) */
#content,
.content {
    background-color: transparent;
}

#main,
.main,
#sidebar,
.sidebar {
    background-color: #fff;
    padding: 1.5em 1.8em;
    border-radius: var(--biz-point-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-top: 35px;
    margin-bottom: 35px;
}

.entry-content,
.article {
    font-family: var(--biz-point-base-font-family);
    color: var(--biz-point-text-color);
    line-height: 1.9;
}

a {
    color: var(--biz-point-link-color);
    text-decoration: none;
}

a:hover {
    color: var(--biz-point-link-color-hover);
}

/* メインコンテナ幅 (Cocoon の wrap を STORK19 と同じ 1166px に揃える) */
.wrap,
.content-in.wrap,
.header-in.wrap,
.navi-in.wrap,
.appeal-in.wrap,
.footer-in.wrap {
    width: 100%;
    max-width: var(--biz-point-wrap-width);
    box-sizing: border-box;
}

#main,
.main {
    width: 100%;
    max-width: var(--biz-point-main-width);
    margin-right: var(--biz-point-side-margin);
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    #main,
    .main {
        max-width: 100%;
        margin-right: 0;
    }
}

/* ─────────────────────────────────────────────────
 *  ヘッダー
 *  ペイッターは「白ヘッダー + ネイビーのナビ帯」構成
 * ───────────────────────────────────────────────── */
#header-container,
#header-container-in,
#header,
#header-in,
.header,
.header-in,
.header-container,
.header-container-in {
    background-color: var(--biz-point-header-bg) !important;
    color: var(--biz-point-header-text-color);
}

#header-container-in {
    min-height: 55px;
    max-width: var(--biz-point-wrap-width);
    margin: 0 auto;
}

#header-container .site-name-text,
#header-container .site-name-text-link,
.site-name-text,
.site-name-text-link {
    color: var(--biz-point-header-logo-color) !important;
    font-family: var(--biz-point-base-font-family);
    font-weight: 700;
    text-decoration: none;
}

#header-container .tagline,
.tagline {
    color: #888 !important;
    font-family: var(--biz-point-base-font-family);
    font-size: 0.85em;
}

/* ─────────────────────────────────────────────────
 *  グローバルナビ (白基調 + ネイビーリンク)
 *  ペイッターはナビ帯が白、リンクが黒/ネイビーで、ホバーで青下線。
 * ───────────────────────────────────────────────── */
#navi,
#navi-in,
.navi-in,
.navi-menu-content,
#navi .navi-in {
    background-color: #fff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#navi a,
.navi-in a,
#navi .menu-header a,
#navi .menu-header > .menu-item > a {
    color: var(--biz-point-text-color) !important;
    font-family: var(--biz-point-base-font-family);
    font-weight: 700;
    font-size: 0.85em;
    transition: color 0.15s ease;
}

#navi a:hover,
.navi-in a:hover {
    background-color: transparent !important;
    color: var(--biz-point-color-key) !important;
}

#navi .menu-header > .menu-item > a {
    position: relative;
}

#navi .menu-header > .menu-item > a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--biz-point-color-key);
}

/* サブメニュー */
#navi .sub-menu {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

#navi .sub-menu a {
    background-color: #fff !important;
    color: var(--biz-point-text-color) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

#navi .sub-menu a:hover {
    background-color: var(--biz-point-ttl-bg-rgba) !important;
    color: var(--biz-point-color-key) !important;
}

/* ─────────────────────────────────────────────────
 *  記事一覧カード (Cocoon の .entry-card-wrap)
 *  STORK19 の .post-list a:hover { transform: translateY(-5px) } を再現。
 *  Cocoon スキンが `#main #list .entry-card-wrap` (詳細度 0,2,1,1) で
 *  上書きしてくるため、`#main #list` プレフィックス + 平セレクタを並列で書く。
 * ───────────────────────────────────────────────── */
#main #list .entry-card-wrap,
#main #list .related-entry-card-wrap,
.entry-card-wrap,
.related-entry-card-wrap,
.carousel-entry-card-wrap {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--biz-point-radius);
    box-shadow: var(--biz-point-shadow-card);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    overflow: hidden;
}

#main #list .entry-card-wrap:hover,
.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: var(--biz-point-shadow-card-hover);
}

.entry-card-thumb,
.entry-card-thumb img,
.related-entry-card-thumb img {
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    width: 100%;
    height: auto;
}

.entry-card-title,
.e-card-title,
.related-entry-card-title {
    font-family: var(--biz-point-base-font-family);
    font-weight: 700;
    font-size: 1em;
    line-height: 1.5;
    color: var(--biz-point-text-color);
}

.entry-card-snippet,
.e-card-snippet {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
}

.entry-card-meta,
.e-card-meta {
    font-size: 0.75em;
    color: #888;
}

.entry-card-categorys a,
.e-card-categorys a,
.cat-name {
    background-color: var(--biz-point-ttl-bg);
    color: #fff;
    border-radius: 2px;
    padding: 0.1em 0.6em;
    font-size: 10px;
    font-weight: 700;
}

.entry-card-categorys a:hover,
.e-card-categorys a:hover {
    background-color: var(--biz-point-link-color-hover);
}

/* New ラベル */
.new-mark,
.new-entry-mark {
    background-color: var(--biz-point-new-mark-bg);
    color: #fff;
    font-size: 0.7em;
    padding: 0.1em 0.5em;
    border-radius: 2px;
}

/* 関連記事のグリッド (STORK19 は 4列 PC / 2列 SP) */
.related-entry-cards,
.related-entry,
.under-entry-content .related-entry .related-entry-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

@media (max-width: 1023px) {
    .related-entry-cards,
    .related-entry,
    .under-entry-content .related-entry .related-entry-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─────────────────────────────────────────────────
 *  トップページ用 記事一覧 4列グリッド
 *  Cocoon の .list-wrap の中にある .entry-card-wrap を grid 化。
 *  ペイッターの `.cat_postlist.typecard` 4列構成を再現。
 * ───────────────────────────────────────────────── */
.front-page-type-template-default .entry-card-wraps,
.archive .entry-card-wraps,
.list-wrap > .entry-card-wraps,
.entry-card-wraps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1023px) {
    .front-page-type-template-default .entry-card-wraps,
    .archive .entry-card-wraps,
    .list-wrap > .entry-card-wraps,
    .entry-card-wraps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* カードのタイトル 2行クランプ */
.entry-card-title,
.e-card-title,
.related-entry-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ペイッター互換クラス: .cat_postlist.typecard */
.cat_postlist.typecard {
    list-style: none;
    padding: 0;
    margin: 0 0 2em;
}

.cat_postlist.typecard .cat_postlist__ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1023px) {
    .cat_postlist.typecard .cat_postlist__ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.cat_postlist.typecard .cat_postlist__link {
    display: block;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--biz-point-radius);
    box-shadow: var(--biz-point-shadow-card);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    overflow: hidden;
}

.cat_postlist.typecard .cat_postlist__link:hover {
    transform: translateY(-3px);
    box-shadow: var(--biz-point-shadow-card-hover);
}

.cat_postlist.typecard .archives-eyecatch-image {
    width: 100%;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    display: block;
}

.cat_postlist.typecard .archives_post__meta {
    padding: 0.7em 0.8em 0.9em;
}

.cat_postlist.typecard .ttl {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--biz-point-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 0.4em;
}

.cat_postlist.typecard .date {
    font-size: 11px;
    color: #888;
    font-family: var(--biz-point-base-font-family);
}

/*
 * Cocoon shortcode `[new_list]` の出力 .new-entry-cards をグリッド化。
 * フロントページのカテゴリ別ピックアップ、サイドバーの「最新の記事」両方で使う。
 * メインエリア = 4列、サイドバー (.widget内) = 縦1列横並び。
 */
#main .new-entry-cards.widget-entry-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 1em;
}

@media (max-width: 1023px) {
    #main .new-entry-cards.widget-entry-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

#main .new-entry-card.widget-entry-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--biz-point-radius);
    box-shadow: var(--biz-point-shadow-card);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
}

#main .new-entry-card.widget-entry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--biz-point-shadow-card-hover);
}

#main .new-entry-card-link.widget-entry-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0;
}

#main .new-entry-card-thumb.widget-entry-card-thumb {
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
}

#main .new-entry-card-thumb.widget-entry-card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    display: block;
    border-radius: 0;
}

#main .new-entry-card-content.widget-entry-card-content {
    padding: 0.7em 0.8em 0.9em;
    margin: 0;
}

#main .new-entry-card-title.widget-entry-card-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--biz-point-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 0.4em;
}

#main .new-entry-card-snippet,
#main .new-entry-card-snippet.widget-entry-card-snippet {
    display: none;
}

#main .new-entry-card-meta,
#main .new-entry-card-meta.widget-entry-card-meta {
    font-size: 11px;
    color: #888;
    margin: 0;
}

#main .new-entry-card-post-date,
#main .new-entry-card-date {
    font-size: 11px;
    color: #888;
}

/* サイドバー側は縦リスト+左サムネ右タイトル の典型構成 */
#sidebar .new-entry-cards.widget-entry-cards {
    display: block;
}

#sidebar .new-entry-card.widget-entry-card {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    box-shadow: none;
    padding: 0.8em 0;
    margin: 0;
}

#sidebar .new-entry-card.widget-entry-card:last-child {
    border-bottom: none;
}

#sidebar .new-entry-card-link.widget-entry-card-link {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: start;
}

#sidebar .new-entry-card-thumb.widget-entry-card-thumb {
    width: 100px;
    margin: 0;
    float: none;
}

#sidebar .new-entry-card-thumb.widget-entry-card-thumb img {
    width: 100px;
    height: auto;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    border-radius: 3px;
}

#sidebar .new-entry-card-content.widget-entry-card-content {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#sidebar .new-entry-card-title.widget-entry-card-title {
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 0.3em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* サイドバー追従用 (5番目以降のウィジェットを sticky に) */
#sidebar .widget:last-child {
    position: sticky;
    top: 90px;
}

@media (max-width: 1023px) {
    #sidebar .widget:last-child {
        position: static;
    }
}

/* ペイッター互換: .cat_postlist.typesimple (画像横並びの最新記事系) */
.cat_postlist.typesimple .cat_postlist__ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat_postlist.typesimple .cat_postlist__li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.8em 0;
}

.cat_postlist.typesimple .cat_postlist__li:last-child {
    border-bottom: none;
}

.cat_postlist.typesimple .cat_postlist__link {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: start;
    text-decoration: none;
    color: inherit;
}

.cat_postlist.typesimple .archives-eyecatch-image {
    width: 100px;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    border-radius: 3px;
}

.cat_postlist.typesimple .ttl {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--biz-point-text-color);
    margin: 0 0 0.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat_postlist.typesimple .date {
    font-size: 11px;
    color: #888;
}

/* セクション見出し ("お役立ちコンテンツ" 等のカテゴリ別ピックアップ見出し) */
#main .entry-content h2.section-title,
#main .entry-content h3.section-title,
#main .entry-content h4.section-title,
.entry-content h3.section-title,
.section-title,
.frontpage-section-title {
    font-size: 1.4em !important;
    font-weight: 700 !important;
    color: var(--biz-point-text-color) !important;
    border-top: none !important;
    border-bottom: none !important;
    border-right: none !important;
    border-left: 6px solid var(--biz-point-ttl-bg) !important;
    padding: 0.3em 0 0.3em 0.8em !important;
    margin: 2.5em 0 1em !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.4;
}

/* セクション末の "もっと見る" ボタン */
.section-more-button {
    text-align: center;
    margin: 1.5em 0 2.5em;
}

.section-more-button a {
    display: inline-block;
    background: linear-gradient(180deg, var(--biz-point-color-key) 0%, #143672 100%);
    color: #fff !important;
    padding: 0.9em 2.5em;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9em;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease;
}

.section-more-button a:hover {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* ─────────────────────────────────────────────────
 *  cbox ボックス系 (STORK19 互換)
 *  .is-style-blue_box / green_box / yellow_box / red_box / pink_box / glay_box / black_box
 *  .type_ttl (タイトルバー付き) / .type_simple (タイトル無)
 * ───────────────────────────────────────────────── */
.cbox,
.wp-block-stk-plugin-cbox,
.wp-block-stk-plugin-cbox-notitle {
    border-radius: var(--biz-point-radius);
    margin: 1.5em 0;
    overflow: hidden;
}

.cbox.is-style-site_color,
.cbox.is-style-blue_box {
    border: 2px solid var(--biz-point-color-key);
    background-color: rgba(25, 68, 142, 0.05);
}

.cbox.is-style-green_box {
    border: 2px solid var(--biz-point-box-green);
    background-color: var(--biz-point-box-green-inner);
}

.cbox.is-style-yellow_box {
    border: 2px solid var(--biz-point-box-yellow);
    background-color: var(--biz-point-box-yellow-inner);
}

.cbox.is-style-red_box {
    border: 2px solid var(--biz-point-box-red);
    background-color: var(--biz-point-box-red-inner);
}

.cbox.is-style-pink_box {
    border: 2px solid var(--biz-point-box-pink);
    background-color: var(--biz-point-box-pink-inner);
}

.cbox.is-style-glay_box,
.cbox.is-style-gray_box {
    border: 2px solid var(--biz-point-box-gray);
    background-color: var(--biz-point-box-gray-inner);
}

.cbox.is-style-black_box {
    border: 2px solid #313131;
    background-color: #404040;
    color: #fff;
}

/* type_simple: タイトルバー無し、padding のみ */
.cbox.type_simple,
.cbox.type_normal,
.wp-block-stk-plugin-cbox-notitle {
    padding: 1.2em 1.4em;
}

/* type_ttl: タイトルバー付き */
.cbox.type_ttl {
    padding: 0;
}

.cbox.type_ttl .cbox__ttl,
.cbox.type_ttl > h3:first-child,
.cbox.type_ttl > .wp-block-heading:first-child {
    background-color: var(--biz-point-color-key);
    color: #fff;
    margin: 0;
    padding: 0.7em 1em;
    font-size: 1em;
    font-weight: 700;
    border: none;
}

.cbox.type_ttl.is-style-green_box .cbox__ttl,
.cbox.type_ttl.is-style-green_box > h3:first-child {
    background-color: var(--biz-point-box-green);
}

.cbox.type_ttl.is-style-yellow_box .cbox__ttl,
.cbox.type_ttl.is-style-yellow_box > h3:first-child {
    background-color: var(--biz-point-box-yellow);
    color: #3e3e3e;
}

.cbox.type_ttl.is-style-red_box .cbox__ttl,
.cbox.type_ttl.is-style-red_box > h3:first-child {
    background-color: var(--biz-point-box-red);
}

.cbox.type_ttl > *:not(:first-child) {
    padding-left: 1.4em;
    padding-right: 1.4em;
}

.cbox.type_ttl > *:last-child {
    padding-bottom: 1.4em;
}

.cbox p:last-child {
    margin-bottom: 0;
}

/* ─────────────────────────────────────────────────
 *  マーカー (黄/青/緑/ピンク) アンダーライン風ハイライト
 *  STORK19: .span-stk-maker-yellow / -blue / -green / -pink
 * ───────────────────────────────────────────────── */
.span-stk-maker-yellow,
.pre--maker.span-stk-maker-yellow,
mark {
    background: linear-gradient(transparent 60%, #ff6 0);
    padding: 0 2px;
}

.span-stk-maker-blue,
.pre--maker.span-stk-maker-blue {
    background: linear-gradient(transparent 60%, #b5dfff 0);
    padding: 0 2px;
}

.span-stk-maker-green,
.pre--maker.span-stk-maker-green {
    background: linear-gradient(transparent 60%, #cff7c7 0);
    padding: 0 2px;
}

.span-stk-maker-pink,
.pre--maker.span-stk-maker-pink {
    background: linear-gradient(transparent 60%, #ffd5d5 0);
    padding: 0 2px;
}

/* フォントサイズユーティリティ */
.span-stk-fs-l {
    font-size: 130%;
}

.span-stk-fs-m {
    font-size: 110%;
}

.span-stk-fs-s {
    font-size: 85%;
}

/* ─────────────────────────────────────────────────
 *  shiny ボタン (rich_blue / rich_green) - pill 角丸
 *  STORK19: .stk-shiny-button.is-style-rich_blue / rich_green
 * ───────────────────────────────────────────────── */
.stk-shiny-button,
.is-style-rich_blue,
.is-style-rich_green,
.is-style-rich_yellow,
.is-style-rich_pink,
.is-style-rich_orange {
    display: inline-block;
    border-radius: 100px;
    padding: 1em 2em;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease;
}

.stk-shiny-button:hover,
.is-style-rich_blue:hover,
.is-style-rich_green:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.is-style-rich_blue,
.stk-shiny-button.is-style-rich_blue {
    background: linear-gradient(180deg, #2a7ed3 0%, var(--biz-point-color-key) 100%);
}

.is-style-rich_green,
.stk-shiny-button.is-style-rich_green {
    background: linear-gradient(180deg, #46d683 0%, #1eae59 100%);
}

.is-style-rich_yellow,
.stk-shiny-button.is-style-rich_yellow {
    background: linear-gradient(180deg, #ffe05a 0%, #f7cf2e 100%);
    color: #3e3e3e !important;
}

.is-style-rich_pink,
.stk-shiny-button.is-style-rich_pink {
    background: linear-gradient(180deg, #ff8080 0%, #ee5656 100%);
}

.is-style-rich_orange,
.stk-shiny-button.is-style-rich_orange {
    background: linear-gradient(180deg, #ffb966 0%, #ef9b2f 100%);
}

/* shiny エフェクト (右上の光沢) */
.stk-shiny-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(20deg);
    animation: shiny 3s infinite;
}

@keyframes shiny {
    0% {
        left: -75%;
    }
    50% {
        left: 125%;
    }
    100% {
        left: 125%;
    }
}

.wp-block-buttons.is-style-big .wp-block-button__link {
    padding: 1em 2em;
    font-size: 1em;
    border-radius: 100px;
}

/* ─────────────────────────────────────────────────
 *  ふきだし (voicecomment) STORK19 互換
 * ───────────────────────────────────────────────── */
.wp-block-stk-plugin-voicecomment,
.voicecomment,
.voice {
    display: grid;
    align-items: start;
    gap: 16px;
    margin: 1.5em 0;
}

/* 左ふきだし (.l) */
.voice.l,
.voicecomment.l {
    grid-template-columns: 80px 1fr;
}

/* 右ふきだし (.r) */
.voice.r,
.voicecomment.r {
    grid-template-columns: 1fr 80px;
}

.voice.r .voicecomment__icon,
.voicecomment.r .voicecomment__icon,
.voice.r .icon,
.voicecomment.r .icon {
    order: 2;
}

.voicecomment__icon,
.voicecomment .icon,
.voice .icon {
    width: 80px;
}

.voicecomment__icon img,
.voicecomment .icon img,
.voice .icon img,
.voice figure.icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    background: #fff;
}

.avatar-name,
.voicecomment__name {
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 4px;
    display: block;
}

.voicecomment__text,
.voicecomment .balloon,
.voice .balloon-text,
.voice > p,
.voicecomment > p {
    background-color: #f1f1f1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1em 1.2em;
    position: relative;
    margin: 0;
    line-height: 1.7;
}

/* 三角しっぽ (左ふきだし: 左辺から右向き) */
.voice.l .balloon-text::before,
.voice.l > p::before,
.voicecomment.l .voicecomment__text::before,
.voicecomment.l > p::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 12px 8px 0;
    border-color: transparent #f1f1f1 transparent transparent;
}

/* 三角しっぽ (右ふきだし: 右辺から左向き) */
.voice.r .balloon-text::before,
.voice.r > p::before,
.voicecomment.r .voicecomment__text::before,
.voicecomment.r > p::before {
    content: "";
    position: absolute;
    top: 18px;
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #f1f1f1;
}

/* ふきだし色違い */
.voice.comment_blue .balloon-text,
.voice.comment_blue > p,
.voicecomment.comment_blue .voicecomment__text {
    background-color: #d4f3ff;
    border-color: rgba(25, 180, 211, 0.3);
}

.voice.comment_green .balloon-text,
.voice.comment_green > p,
.voicecomment.comment_green .voicecomment__text {
    background-color: #e8fbf0;
    border-color: rgba(57, 205, 117, 0.3);
}

.voice.comment_yellow .balloon-text,
.voice.comment_yellow > p {
    background-color: #fffae2;
}

.voice.comment_pink .balloon-text,
.voice.comment_pink > p {
    background-color: #fee;
}

/* ─────────────────────────────────────────────────
 *  PC/SP 出し分けユーティリティ (STORK19 互換)
 * ───────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .stk-hidden_pc,
    .pc-hide {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .stk-hidden_sp,
    .sp-hide {
        display: none !important;
    }
}

/* ─────────────────────────────────────────────────
 *  関連記事 RECOMMEND ブロック
 *  Cocoon の .related-entry-cards を 3列 グリッドに整える
 * ───────────────────────────────────────────────── */
.related-entry-main-heading::before {
    content: "RECOMMEND";
    display: block;
    font-family: "Concert One", "Times New Roman", serif;
    font-size: 1.8em;
    color: var(--biz-point-color-key);
    letter-spacing: 0.05em;
    margin-bottom: 0.2em;
}

.related-entry-main-heading {
    text-align: center;
    background: none !important;
    color: var(--biz-point-text-color) !important;
    border: none !important;
    padding: 1em 0 !important;
    font-size: 0.85em !important;
    letter-spacing: 0.1em;
}

.related-entry-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 1023px) {
    .related-entry-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 前後ナビ (Cocoon の .navi-prev-next-wrap) */
.navi-prev-next-wrap,
.np-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 2em 0;
}

.navi-prev-next-wrap .prev-post,
.navi-prev-next-wrap .next-post,
.np-post a {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--biz-point-radius);
    padding: 0.8em 1em;
    text-decoration: none;
    color: var(--biz-point-text-color);
    transition: transform 0.15s ease;
}

.navi-prev-next-wrap a:hover {
    transform: translateY(-2px);
    box-shadow: var(--biz-point-shadow-card-hover);
}

/* SNS シェアボタン */
.sns-share,
.sns_btn__ul {
    list-style: none;
    padding: 0;
    margin: 1.5em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sns-share-button a,
.sns_btn__ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--biz-point-text-color);
    text-decoration: none;
    transition: transform 0.15s ease;
}

.sns-share-button a:hover {
    transform: translateY(-2px);
}

/* シェアラベル "SHARE" */
.sns-share::before {
    content: "SHARE";
    display: block;
    width: 100%;
    text-align: center;
    font-family: "Concert One", "Times New Roman", serif;
    font-size: 1.2em;
    color: var(--biz-point-color-key);
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
}

/* ─────────────────────────────────────────────────
 *  記事詳細: 見出し
 *  STORK19 の H2/H3/H4 装飾を再現 (色のみネイビー)
 * ───────────────────────────────────────────────── */

/* H1: 記事タイトル */
.article h1,
.entry-title {
    font-family: var(--biz-point-base-font-family);
    font-weight: 700;
    font-size: 1.75em;
    line-height: 1.4;
    color: var(--biz-point-text-color);
    margin: 0.5em 0 0.8em;
}

/*
 * H2/H3/H4: STORK19 の見出し装飾を再現。
 * Cocoon スキンが `#main .entry-content h2` (詳細度 0,1,1,1) で枠線色を
 * 強制してくるため、`#main .entry-content` プレフィックスを付与してこちらを
 * 後勝ちさせる。
 */

/* H2: 塗りつぶし背景 + 白文字 (STORK19 の標準スタイル) */
#main .entry-content h2:not([class*="is-style-"]),
#main .article h2:not([class*="is-style-"]),
.entry-content h2:not([class*="is-style-"]),
.article h2:not([class*="is-style-"]) {
    position: relative;
    background-color: var(--biz-point-ttl-bg);
    color: var(--biz-point-ttl-color);
    border: none;
    font-size: 125%;
    font-weight: 700;
    padding: 1em 1.1em;
    margin-top: 2.1em;
    margin-bottom: 1em;
    border-radius: var(--biz-point-radius);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
    line-height: 1.5;
}

/* H3: 上下 4px ボーダー (STORK19 標準) */
#main .entry-content h3:not([class*="is-style-"]),
#main .article h3:not([class*="is-style-"]),
.entry-content h3:not([class*="is-style-"]),
.article h3:not([class*="is-style-"]) {
    border-top: 4px solid var(--biz-point-ttl-bg);
    border-bottom: 4px solid var(--biz-point-ttl-bg);
    border-left: none;
    border-right: none;
    padding: 0.5em 0.2em;
    margin-top: 1.8em;
    margin-bottom: 0.9em;
    font-size: 115%;
    font-weight: 700;
    line-height: 1.5;
    background: none;
    color: var(--biz-point-text-color);
}

/* H4: 左 4px ボーダーのみ (STORK19 標準) */
#main .entry-content h4:not([class*="is-style-"]),
#main .article h4:not([class*="is-style-"]),
.entry-content h4:not([class*="is-style-"]),
.article h4:not([class*="is-style-"]) {
    border-left: 4px solid var(--biz-point-ttl-bg);
    border-top: none;
    border-bottom: none;
    border-right: none;
    padding: 0.5em 0 0.5em 0.8em;
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    font-size: 105%;
    font-weight: 700;
    line-height: 1.4;
    color: var(--biz-point-text-color);
    background: none;
}

/* H5 / H6: 文字色のみ */
#main .entry-content h5:not([class*="is-style-"]),
#main .entry-content h6:not([class*="is-style-"]),
.entry-content h5:not([class*="is-style-"]),
.entry-content h6:not([class*="is-style-"]) {
    color: var(--biz-point-ttl-bg);
    font-weight: 700;
    margin-top: 1.4em;
}

/* ─────────────────────────────────────────────────
 *  記事詳細: 本文・段落・リスト・引用
 * ───────────────────────────────────────────────── */
.entry-content p,
.article p {
    margin: 0 0 var(--biz-point-margin);
}

.entry-content ul,
.entry-content ol,
.article ul,
.article ol {
    margin: 0 0 var(--biz-point-margin);
    padding-left: 1.6em;
    line-height: 1.8;
}

.entry-content li,
.article li {
    margin-bottom: 0.4em;
}

.entry-content blockquote,
.article blockquote {
    background-color: #f5f5f5;
    border-left: 4px solid var(--biz-point-ttl-bg);
    padding: 1em 1.2em;
    margin: 1.5em 0;
    color: #555;
    font-style: normal;
}

.entry-content blockquote p:last-child,
.article blockquote p:last-child {
    margin-bottom: 0;
}

/* インラインコード / コードブロック */
.entry-content code,
.article code {
    background-color: #f5f5f5;
    padding: 0.1em 0.4em;
    border-radius: 2px;
    font-size: 0.9em;
}

.entry-content pre,
.article pre {
    background-color: #2d2d2d;
    color: #f8f8f8;
    padding: 1em;
    border-radius: var(--biz-point-radius);
    overflow-x: auto;
    margin: 1.5em 0;
}

/* テーブル */
.entry-content table,
.article table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5em 0;
}

.entry-content th,
.entry-content td,
.article th,
.article td {
    border: 1px solid #ddd;
    padding: 0.6em 0.8em;
}

.entry-content th,
.article th {
    background-color: var(--biz-point-ttl-bg-rgba);
    color: var(--biz-point-text-color);
    font-weight: 700;
}

/* STORK19 互換: 偶数行ストライプ */
.entry-content tbody tr:nth-child(odd),
.article tbody tr:nth-child(odd) {
    background-color: rgba(102, 102, 102, 0.04);
}

/* ─────────────────────────────────────────────────
 *  ラベル / バッジ (STORK19 の .labeltext)
 * ───────────────────────────────────────────────── */
.labeltext,
.label {
    font-size: 70%;
    font-weight: 700;
    background-color: var(--biz-point-label-bg);
    color: var(--biz-point-label-text-color);
    display: inline-block;
    padding: 0.1em 0.5em;
    position: relative;
    top: -2px;
    text-align: center;
    margin-right: 0.5em;
    border-radius: 2px;
}

/* ─────────────────────────────────────────────────
 *  ボタン / CTA
 * ───────────────────────────────────────────────── */
.btn,
.entry-content .wp-block-button__link,
.article .wp-block-button__link,
button.btn-primary,
.btn-primary {
    display: inline-block;
    background-color: var(--biz-point-ttl-bg);
    color: #fff !important;
    padding: 0.8em 2em;
    border-radius: var(--biz-point-radius);
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: background-color 0.2s ease;
}

.btn:hover,
.entry-content .wp-block-button__link:hover,
.article .wp-block-button__link:hover,
button.btn-primary:hover,
.btn-primary:hover {
    background-color: var(--biz-point-link-color-hover);
    color: #fff !important;
}

/* CTA ボックス (STORK19 .is-style-stk-cta 相当) */
.cta-box,
.is-style-stk-cta,
.is-style-stk-cta-inner {
    background-color: var(--biz-point-ttl-bg-rgba);
    border: 2px solid var(--biz-point-ttl-bg);
    border-radius: var(--biz-point-radius);
    padding: 1.5em;
    margin: 2em 0;
}

/* ─────────────────────────────────────────────────
 *  ボックス装飾 (STORK19 oc-box シリーズ)
 * ───────────────────────────────────────────────── */
.is-style-stk-box-blue,
.box-blue {
    border: 2px solid var(--biz-point-box-blue);
    background-color: var(--biz-point-box-blue-inner);
    padding: 1em 1.2em;
    border-radius: var(--biz-point-radius);
    margin: 1.2em 0;
}

.is-style-stk-box-red,
.box-red {
    border: 2px solid var(--biz-point-box-red);
    background-color: var(--biz-point-box-red-inner);
    padding: 1em 1.2em;
    border-radius: var(--biz-point-radius);
    margin: 1.2em 0;
}

.is-style-stk-box-yellow,
.box-yellow {
    border: 2px solid var(--biz-point-box-yellow);
    background-color: var(--biz-point-box-yellow-inner);
    padding: 1em 1.2em;
    border-radius: var(--biz-point-radius);
    margin: 1.2em 0;
}

.is-style-stk-box-green,
.box-green {
    border: 2px solid var(--biz-point-box-green);
    background-color: var(--biz-point-box-green-inner);
    padding: 1em 1.2em;
    border-radius: var(--biz-point-radius);
    margin: 1.2em 0;
}

.is-style-stk-box-pink,
.box-pink {
    border: 2px solid var(--biz-point-box-pink);
    background-color: var(--biz-point-box-pink-inner);
    padding: 1em 1.2em;
    border-radius: var(--biz-point-radius);
    margin: 1.2em 0;
}

.is-style-stk-box-gray,
.box-gray {
    border: 2px solid var(--biz-point-box-gray);
    background-color: var(--biz-point-box-gray-inner);
    padding: 1em 1.2em;
    border-radius: var(--biz-point-radius);
    margin: 1.2em 0;
}

/* ─────────────────────────────────────────────────
 *  目次 (Table of Contents Plus)
 * ───────────────────────────────────────────────── */
#toc_container,
.toc {
    background-color: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--biz-point-radius);
    padding: 1.2em 1.5em;
    margin: 2em 0;
    font-size: 0.95em;
}

#toc_container .toc_title,
.toc_title {
    color: var(--biz-point-ttl-bg);
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 0.5em;
    margin-bottom: 0.6em;
}

#toc_container ul,
.toc ul {
    padding-left: 1.4em;
}

#toc_container a,
.toc a {
    color: var(--biz-point-text-color);
    text-decoration: none;
}

#toc_container a:hover,
.toc a:hover {
    color: var(--biz-point-link-color);
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────
 *  サイドバー (STORK19 のフラット区切りスタイル)
 *  ウィジェットを箱で囲わず、下線で区切る STORK19 のスタイルに揃える。
 * ───────────────────────────────────────────────── */
#sidebar,
.sidebar {
    color: var(--biz-point-side-text-color);
    font-size: 0.95em;
}

#sidebar .widget,
.sidebar .widget {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 1.5em;
    margin-bottom: 1.5em;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#sidebar .widget:last-child,
.sidebar .widget:last-child {
    border-bottom: none;
}

#sidebar .widget-sidebar-title,
.sidebar .widget-sidebar-title,
#sidebar h3,
.sidebar h3 {
    color: var(--biz-point-text-color);
    font-size: 0.95em;
    font-weight: 700;
    padding: 0 0 0.5em;
    margin: 0 0 0.8em;
    background: none;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid var(--biz-point-ttl-bg);
    display: inline-block;
}

#sidebar a,
.sidebar a {
    color: var(--biz-point-side-text-color);
    text-decoration: none;
}

#sidebar a:hover,
.sidebar a:hover {
    color: var(--biz-point-link-color);
}

#sidebar ul,
.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#sidebar ul li,
.sidebar ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5em 0;
}

#sidebar ul li:last-child,
.sidebar ul li:last-child {
    border-bottom: none;
}

/* ─────────────────────────────────────────────────
 *  関連記事
 * ───────────────────────────────────────────────── */
.related-entry-main-heading,
.related-entry h3,
h3.related-entry-main-heading {
    background-color: transparent;
    color: var(--biz-point-text-color);
    border-top: 4px solid var(--biz-point-ttl-bg);
    border-bottom: 4px solid var(--biz-point-ttl-bg);
    padding: 0.5em 0.2em;
    margin: 2em 0 1em;
    font-size: 115%;
    font-weight: 700;
}

/* ─────────────────────────────────────────────────
 *  パンくず
 * ───────────────────────────────────────────────── */
.breadcrumb,
.breadcrumb-in {
    font-size: 0.8em;
    color: #888;
    margin-bottom: 1em;
}

.breadcrumb a {
    color: var(--biz-point-link-color);
}

/* ─────────────────────────────────────────────────
 *  フッター (3カラム + コピーライト)
 *  ペイッター: --style-col-three (会社概要 / サービス / 方針)
 * ───────────────────────────────────────────────── */
#footer,
.footer,
.footer-container {
    background-color: var(--biz-point-color-key);
    color: #fff;
    border-top: none;
    margin-top: 60px;
    padding: 50px 0 0;
}

#footer-in.wrap,
.footer-in.wrap {
    max-width: var(--biz-point-wrap-width);
    margin: 0 auto;
    padding: 0 24px;
}

#footer a,
.footer a {
    color: #fff;
}

#footer a:hover,
.footer a:hover {
    color: #fcee21;
    text-decoration: underline;
}

/* 3カラムグリッド (Cocoon: .footer-widgets > .footer-left/.footer-center/.footer-right) */
.footer-widgets {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

@media (max-width: 1023px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.footer-widgets .footer-left,
.footer-widgets .footer-center,
.footer-widgets .footer-right {
    width: auto;
    float: none;
    margin: 0;
}

.footer-widgets .widget {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #fff;
    box-shadow: none !important;
}

.footer-widgets h3,
.footer-widgets h4,
.footer-widgets .widget-title,
.footer-widgets .footer-title,
.footer-widgets .widget-footer-left-title,
.footer-widgets .widget-footer-center-title,
.footer-widgets .widget-footer-right-title {
    color: #fff !important;
    font-size: 0.95em !important;
    font-weight: 700 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0 0 0.5em !important;
    margin: 0 0 1em !important;
    background: none !important;
    display: block !important;
}

.footer-widgets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widgets ul li {
    border: none !important;
    padding: 0.4em 0 !important;
    font-size: 0.85em;
}

.footer-widgets a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    line-height: 1.6;
}

.footer-widgets a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-widgets p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85em;
    line-height: 1.7;
    margin: 0 0 0.8em;
}

/* コピーライト帯 */
#footer .footer-bottom,
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    text-align: center;
    font-size: 0.8em;
    margin: 0;
}

#footer .footer-bottom-logo,
.footer-bottom-logo {
    color: #fff;
    margin-bottom: 0.5em;
}

#footer .navi-footer ul,
.navi-footer ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    list-style: none;
    padding: 0;
    margin: 0 0 0.8em;
}

#footer .navi-footer ul li,
.navi-footer ul li {
    border: none !important;
    padding: 0 !important;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8em;
}

/* ─────────────────────────────────────────────────
 *  フロントページ調整
 *  - 固定ページ「ホーム」のページタイトルを非表示
 *  - アイキャッチも非表示 (フロント独自レイアウトのため)
 * ───────────────────────────────────────────────── */
.home.page .entry-title,
.home.page .eye-catch-wrap,
.home.page .article-header {
    display: none;
}

.home.page .article {
    padding-top: 0;
}

/* ─────────────────────────────────────────────────
 *  ふきだし (STORK19 .is-style-stk-balloon 相当)
 *  Cocoon もふきだしブロックを持つので両方カバー。
 *  STORK19 の :before で 12px の三角しっぽを再現する。
 * ───────────────────────────────────────────────── */
.speech-wrap,
.is-style-stk-balloon {
    margin: 1.5em 0;
}

.speech-balloon,
.is-style-stk-balloon .balloon-text {
    background-color: #f1f1f1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.8em 1em;
    position: relative;
}

.speech-balloon::before,
.is-style-stk-balloon .balloon-text::before {
    content: "";
    position: absolute;
    top: 18px;
    left: -12px;
    width: 12px;
    height: 12px;
    background-color: #f1f1f1;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transform: rotate(45deg);
}

/* 右寄せふきだし */
.speech-wrap.sb-id-r .speech-balloon::before,
.is-style-stk-balloon-right .balloon-text::before {
    left: auto;
    right: -12px;
    border-left: none;
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ─────────────────────────────────────────────────
 *  リード文 (STORK19 .lead-box 相当)
 * ───────────────────────────────────────────────── */
.lead-box,
.is-style-stk-lead {
    background-color: var(--biz-point-ttl-bg-rgba);
    border-left: 4px solid var(--biz-point-ttl-bg);
    padding: 1em 1.2em;
    margin: 1.5em 0;
    font-size: 0.95em;
    line-height: 1.8;
}

/* ─────────────────────────────────────────────────
 *  Q&A
 * ───────────────────────────────────────────────── */
.q-box,
.is-style-stk-qa-q {
    background-color: var(--biz-point-ttl-bg-rgba);
    border-left: 4px solid var(--biz-point-ttl-bg);
    padding: 0.8em 1em 0.8em 2.2em;
    margin: 1em 0 0.5em;
    position: relative;
    font-weight: 700;
}

.q-box::before,
.is-style-stk-qa-q::before {
    content: "Q";
    position: absolute;
    left: 0.6em;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4em;
    height: 1.4em;
    background-color: var(--biz-point-ttl-bg);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
}

.a-box,
.is-style-stk-qa-a {
    padding: 0.8em 1em 0.8em 2.2em;
    margin: 0 0 1.5em;
    position: relative;
}

.a-box::before,
.is-style-stk-qa-a::before {
    content: "A";
    position: absolute;
    left: 0.6em;
    top: 0.8em;
    width: 1.4em;
    height: 1.4em;
    background-color: #f5f5f5;
    color: var(--biz-point-ttl-bg);
    border: 2px solid var(--biz-point-ttl-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 700;
}

/* ─────────────────────────────────────────────────
 *  ページネーション
 * ───────────────────────────────────────────────── */
.pagination a,
.pagination .current,
.page-numbers {
    display: inline-block;
    padding: 0.5em 0.9em;
    margin: 0 0.2em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--biz-point-radius);
    color: var(--biz-point-text-color);
    text-decoration: none;
}

.pagination .current,
.page-numbers.current {
    background-color: var(--biz-point-ttl-bg);
    color: #fff !important;
    border-color: var(--biz-point-ttl-bg);
}

.pagination a:hover,
.page-numbers:hover {
    background-color: var(--biz-point-ttl-bg-rgba);
    color: var(--biz-point-link-color);
}

/* ─────────────────────────────────────────────────
 *  検索ボックス
 * ───────────────────────────────────────────────── */
.search-box input[type="search"],
.search-form input[type="search"] {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--biz-point-radius);
    padding: 0.5em 0.8em;
    font-family: var(--biz-point-base-font-family);
}

.search-box input[type="submit"],
.search-form button {
    background-color: var(--biz-point-ttl-bg);
    color: #fff;
    border: none;
    border-radius: var(--biz-point-radius);
    padding: 0.5em 1em;
    cursor: pointer;
}

/* ─────────────────────────────────────────────────
 *  レスポンシブ調整
 *  STORK19 / Cocoon ともに 1023px 以下を SP/タブレット扱い。
 * ───────────────────────────────────────────────── */
@media (max-width: 1023px) {
    #main,
    .main {
        max-width: 100%;
        width: auto;
        margin-right: 0;
        padding: 1em 1.2em;
    }

    #sidebar,
    .sidebar {
        padding: 1em 1.2em;
    }

    #main .entry-content h2:not([class*="is-style-"]),
    #main .article h2:not([class*="is-style-"]),
    .entry-content h2:not([class*="is-style-"]),
    .article h2:not([class*="is-style-"]) {
        font-size: 115%;
        padding: 0.8em 1em;
    }

    #main .entry-content h3:not([class*="is-style-"]),
    .entry-content h3:not([class*="is-style-"]) {
        font-size: 108%;
    }
}

/* ─────────────────────────────────────────────────
 *  Quick Wins (ペイッターインスパイア寄せ)
 *  CSSの順序的にここが最後勝ち。クイックウィン5項目を集中配置。
 * ───────────────────────────────────────────────── */

/* === Paytter-style Header: 1行 (ロゴ左 + メニュー右) === */

/* コンテナ全体: 白 + 下シャドウ */
#header-container,
.header-container {
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    position: relative;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

#header-container-in,
.header-container-in {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    max-width: var(--biz-point-wrap-width) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    min-height: 84px;
    background-color: #fff !important;
}

/* タグライン非表示 */
#header-container .tagline,
.tagline {
    display: none !important;
}

/* ロゴ帯 (#header) を flex の最初の項目に */
#header,
.header {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

#header-in,
#header-in.wrap {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
}

.logo,
.logo.logo-header,
.logo-header,
.hlt-center-logo .logo-header {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    line-height: 1 !important;
}

.logo a,
.logo-header a,
.site-name-text-link {
    display: inline-flex !important;
    align-items: center;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-logo-image,
.header-site-logo-image {
    display: block !important;
    width: auto !important;
    height: 44px !important;
    max-height: 44px !important;
    max-width: 220px !important;
    margin: 0 !important;
}

/* ナビ帯 (#navi) を flex の2項目目として伸ばす */
#navi,
.navi {
    flex: 1 1 auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#navi-in,
#navi-in.wrap,
.navi-in {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* メニュー本体 ul.menu-header (右寄せ) */
ul.menu-header,
#navi ul.menu-header,
.menu-header {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
    flex: 0 1 auto;
}

.menu-header > .menu-item,
#navi .menu-header > .menu-item,
.navi-in > ul li,
#navi .navi-in > ul li {
    display: flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    flex: 0 0 auto !important;
}

#navi .navi-in > ul {
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    width: 100%;
}

/* Cocoon は PC 用 .menu-pc とモバイル用 .menu-mobile を同じ #navi に出力する。
   独自ハンバーガーではヘッダーメニューをレスポンシブ表示するため、重複する
   モバイルメニュー側は #navi 内では隠す。 */
#navi .menu-mobile {
    display: none !important;
}

.menu-header > .menu-item > a,
#navi .menu-header > .menu-item > a,
#navi a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 14px !important;
    height: 84px;
    color: #1a1a1a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-decoration: none !important;
    background-color: transparent !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.menu-header > .menu-item > a .item-label,
#navi .menu-header > .menu-item > a .caption-wrap {
    display: inline-block;
    padding: 0 !important;
    margin: 0 !important;
    line-height: inherit;
}

.menu-header > .menu-item > a:hover,
#navi .menu-header > .menu-item > a:hover,
#navi a:hover {
    color: var(--biz-point-color-key) !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

#navi .menu-header > .menu-item > a:hover::after,
.menu-header > .menu-item > a::after {
    display: none !important;
}

/* サブメニュー (PCホバープルダウン) */
#navi .sub-menu,
.menu-header .sub-menu {
    background-color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    min-width: 200px;
}

#navi .sub-menu a,
.menu-header .sub-menu a {
    height: auto;
    padding: 12px 16px !important;
    background-color: #fff !important;
    color: #1a1a1a !important;
    font-size: 13px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

#navi .sub-menu a:hover,
.menu-header .sub-menu a:hover {
    background-color: var(--biz-point-ttl-bg-rgba) !important;
    color: var(--biz-point-color-key) !important;
}

/* ヘッダーレスポンシブ */
@media (max-width: 1100px) {
    .menu-header > .menu-item > a,
    #navi .menu-header > .menu-item > a,
    #navi a {
        padding: 0 10px !important;
        font-size: 12px !important;
    }
}

/* ハンバーガーボタン (PCでは非表示) */
.bzm-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
}

.bzm-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    margin: 5px auto;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.bzm-mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.bzm-mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.bzm-mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 834px) {
    #header-container-in,
    .header-container-in {
        flex-wrap: nowrap;
        min-height: 0;
        padding: 12px 56px !important;
        justify-content: center;
        position: relative;
    }
    #header,
    .header {
        flex: 0 0 auto;
        min-height: 0;
        margin: 0 auto !important;
    }
    #header-in,
    #header-in.wrap {
        justify-content: center !important;
    }
    .logo,
    .logo.logo-header,
    .logo-header,
    .hlt-center-logo .logo-header {
        text-align: center !important;
    }

    .bzm-mobile-toggle {
        display: block;
    }

    #navi,
    .navi {
        flex: 1 1 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        z-index: 25;
    }
    #navi-in,
    .navi-in {
        background-color: #fff !important;
    }
    body.bzm-menu-open #navi {
        max-height: 80vh;
        overflow-y: auto;
    }
    #navi-in,
    #navi-in.wrap,
    .navi-in {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 8px 0 !important;
    }
    ul.menu-header,
    #navi ul.menu-header,
    .menu-header {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    #navi .navi-in > ul {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    .menu-header > .menu-item,
    #navi .menu-header > .menu-item {
        width: 100% !important;
    }
    .menu-header > .menu-item > a,
    #navi .menu-header > .menu-item > a,
    #navi a {
        height: 48px;
        padding: 0 20px !important;
        justify-content: flex-start !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 14px !important;
    }

    /* 本文フォント縮小 */
    body,
    .article,
    .entry-content,
    .post-content {
        font-size: 15px !important;
    }
    .article p,
    .entry-content p,
    .post-content p {
        font-size: 15px !important;
        line-height: 1.8;
    }
    .article h2,
    .entry-content h2 {
        font-size: 19px !important;
    }
    .article h3,
    .entry-content h3 {
        font-size: 17px !important;
    }
}

/* ─────────────────────────────────────────────────
 *  メディア向けに不要な Cocoon 既定セクションを非表示にする
 *  - 著者フォローボックス (.sns-follow / .author-box)
 *  - コメントセクション (#comments / .comment-respond / .comments-area)
 * ───────────────────────────────────────────────── */
.sns-follow,
.follow-box,
.author-box,
.author-info,
#comments,
.comments-area,
.comment-respond,
.no-comments {
    display: none !important;
}

/* 吹き出し (speech-balloon) を Q&A 風のシンプルなコールアウトに置き換え */
.speech-wrap {
    display: block !important;
    margin: 1.5em 0;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.speech-wrap .speech-person,
.speech-wrap .speech-name {
    display: none !important;
}

.speech-balloon {
    margin: 0 !important;
    padding: 14px 18px !important;
    background: #f5f7fb !important;
    border: none !important;
    border-left: 4px solid var(--biz-point-color-key) !important;
    border-radius: 4px !important;
    color: #1a1a1a !important;
    font-weight: 700;
    line-height: 1.7;
    box-shadow: none !important;
}

.speech-balloon::before,
.speech-balloon::after {
    display: none !important;
    content: none !important;
}

/* QW3: トップ3カードグリッド (スクロール無し / 3列固定) */
.home-carousel {
    margin: 0.5em 0 2em;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-carousel a {
    text-decoration: none;
    color: inherit;
    display: block;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-carousel a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.home-carousel img {
    width: 100%;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    display: block;
}

.home-carousel h2,
.home-carousel .home-carousel-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 !important;
    padding: 10px 12px 14px !important;
    color: var(--biz-point-text-color);
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
    .home-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─────────────────────────────────────────────────
 *  ペイッター風 TOP5 ランキング (画像 + ランクバッジ + タイトル + CTA)
 *  「業務ポイ活の基本」より上に配置する人気記事ピックアップ。
 * ───────────────────────────────────────────────── */
.bzm-top5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 1em 0 2em;
}

.bzm-top5-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--biz-point-shadow-card);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    position: relative;
}

.bzm-top5-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--biz-point-shadow-card-hover);
}

.bzm-top5-item img {
    width: 200px;
    height: 100%;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    display: block;
    margin: 0;
}

.bzm-top5-body {
    padding: 14px 18px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.bzm-top5-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--biz-point-text-color);
    margin: 0 0 0.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bzm-top5-cta {
    align-self: flex-end;
    background: var(--biz-point-color-key);
    color: #fff;
    padding: 0.45em 1.2em;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 0 #0e2e63;
    transition: transform 0.15s ease;
}

.bzm-top5-item:hover .bzm-top5-cta {
    transform: translateY(2px);
    box-shadow: 0 0 0 #0e2e63;
}

@media (max-width: 1023px) {
    .bzm-top5-item {
        grid-template-columns: 130px 1fr;
        gap: 12px;
    }
    .bzm-top5-item img {
        width: 130px;
    }
    .bzm-top5-body {
        padding: 10px 12px 10px 0;
    }
    .bzm-top5-title {
        font-size: 13px;
        margin-bottom: 0.4em;
    }
    .bzm-top5-cta {
        font-size: 11px;
        padding: 0.35em 0.9em;
    }
}

@media (max-width: 640px) {
    .home-carousel {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .bzm-top5-item {
        grid-template-columns: 110px 1fr;
        gap: 10px;
    }
    .bzm-top5-item img {
        width: 110px;
    }
    .bzm-top5-body {
        padding: 8px 10px 8px 0;
    }
    .bzm-top5-cta {
        font-size: 10px;
        padding: 0.3em 0.8em;
    }
}

/* ─────────────────────────────────────────────────
 *  サイドバー右余白の詰め
 *  Cocoonデフォルトで #sidebar に大きい padding が当たって右に空白が出る。
 * ───────────────────────────────────────────────── */
#sidebar.sidebar,
.sidebar.nwa {
    padding: 1em 1.2em !important;
}

#sidebar .widget,
.sidebar .widget {
    margin-bottom: 1.2em;
}

#sidebar img,
.sidebar img {
    max-width: 100%;
    height: auto;
}

/* メイン-サイドバー間のギャップを詰める */
#main,
.main {
    margin-right: 16px;
}

/* サイドバー幅を明示 (Cocoonデフォルトの幅崩れ対策) */
#sidebar.sidebar,
.sidebar.nwa {
    width: 300px;
    min-width: 300px;
    flex: 0 0 300px;
}

/*
 * サイドバー内 .new-entry-card を「サムネ左 + テキスト右」横並びに。
 * Cocoon の DOM は <a class="link"> > <div class="card"> > <figure thumb> + <div content>
 * なので、グリッドは .new-entry-card そのものに当てる必要がある。
 */
#sidebar .new-entry-card-link.widget-entry-card-link {
    display: block !important;
    padding: 0 !important;
}

#sidebar .new-entry-card.widget-entry-card {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    gap: 12px !important;
    align-items: start;
    padding: 0 !important;
    background: none;
    border: none !important;
    box-shadow: none !important;
}

#sidebar .new-entry-card-thumb.widget-entry-card-thumb {
    width: 100px !important;
    margin: 0 !important;
    float: none !important;
    grid-column: 1;
}

#sidebar .new-entry-card-thumb.widget-entry-card-thumb img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: var(--biz-point-post-thumb-ratio);
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

#sidebar .new-entry-card-content.widget-entry-card-content {
    grid-column: 2;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    overflow: hidden;
}

#sidebar .new-entry-card-title.widget-entry-card-title {
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 700;
    margin: 0 0 0.4em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#sidebar .new-entry-card-meta.widget-entry-card-meta,
#sidebar .new-entry-card-info {
    font-size: 11px;
    color: #888;
    margin: 0;
}

/* QW4: カード border廃止 + ふっくらshadow + gap広げ */
#main #list .entry-card-wrap,
#main #list .related-entry-card-wrap,
.entry-card-wrap,
.related-entry-card-wrap,
.carousel-entry-card-wrap,
#main .new-entry-card.widget-entry-card,
.cat_postlist.typecard .cat_postlist__link {
    border: none !important;
    border-radius: 6px !important;
    box-shadow: var(--biz-point-shadow-card);
}

#main .new-entry-cards.widget-entry-cards {
    gap: 24px !important;
}

#main .new-entry-card-content.widget-entry-card-content {
    padding: 0.9em 1em 1.1em !important;
}

#main .new-entry-card-title.widget-entry-card-title {
    font-size: 14px !important;
    line-height: 1.55 !important;
    letter-spacing: 0.01em;
}

/* QW5: ランキングボタンに 01/02/.. 黄色Concert Oneバッジ */
.home .entry-content,
.home.page .entry-content {
    counter-reset: rank;
}

.home .entry-content .wp-block-buttons.is-style-big {
    margin: 0.5em 0 !important;
}

.home .entry-content .wp-block-buttons.is-style-big .wp-block-button__link {
    display: block !important;
    width: 100%;
    text-align: left !important;
    padding: 1.1em 1.4em 1.1em 4em !important;
    position: relative;
    background: var(--biz-point-color-key) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 3px 0 #0e2e63,
        0 6px 12px rgba(25, 68, 142, 0.18) !important;
    font-size: 0.95em;
    letter-spacing: 0.02em;
    border-radius: 6px !important;
}

.home .entry-content .wp-block-buttons.is-style-big .wp-block-button__link:hover {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #0e2e63 !important;
}

.home .entry-content .wp-block-buttons.is-style-big .wp-block-button__link::before {
    content: counter(rank, decimal-leading-zero);
    counter-increment: rank;
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Concert One", "Times New Roman", serif;
    font-size: 1.5em;
    color: #fcee21;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* shineエフェクトを控えめに */
.stk-shiny-button::before {
    animation: shiny 8s infinite !important;
    width: 30% !important;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
}

/* サイドバー先頭ウィジェットの border 廃止 (ベタ画像感) */
#sidebar .widget_custom_html:first-child,
#sidebar .widget_media_image:first-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 1em;
}

#sidebar .widget_custom_html:first-child img,
#sidebar .widget_media_image:first-child img {
    border-radius: 6px;
}

/* セクション見出しを下線も足してリッチに */
#main .entry-content h2.section-title,
#main .entry-content h3.section-title,
.entry-content h3.section-title,
.section-title {
    border-bottom: 2px solid rgba(25, 68, 142, 0.12) !important;
    font-size: 1.5em !important;
    padding: 0.2em 0 0.5em 0.8em !important;
}
