/*
Theme Name: ZUU CC Child
Template: swell
Version: 1.0.0
*/

/* ========================================
   共通: 投資サイト基調
   ======================================== */
:root {
    --zuu-black: #1a1a1a;
    --zuu-dark: #2c2c2c;
    --zuu-gray-900: #333;
    --zuu-gray-700: #555;
    --zuu-gray-500: #888;
    --zuu-gray-300: #ccc;
    --zuu-gray-100: #f5f5f5;
    --zuu-white: #fff;
    --zuu-accent: #0066ff;
    --zuu-accent-light: #e8f0fe;
    --zuu-green: #00b894;
    --zuu-red: #e74c3c;
    --zuu-warn-bg: #fdf6ec;
    --zuu-warn-border: #e6c76a;
    --zuu-warn-text: #8a6d1b;
    --zuu-radius: 6px;
    --zuu-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --zuu-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --zuu-shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
}

/* ========================================
   SWELLデフォルトヘッダーを完全に非表示・無効化
   ======================================== */
.l-header,
.l-header__inner,
.c-gnav,
.l-fixHeader,
#header.l-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}
/* SWELLがヘッダー分の余白を body/wrap に付ける場合のリセット */
body,
#body_wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ========================================
   ヘッダー: ZUU online風 2段構成
   ======================================== */
.zuucc-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* --- 共通インナー --- */
.zuucc-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.2em;
    display: flex;
    align-items: center;
}

/* === Row 1: トップバー（ダーク） === */
.zuucc-header__topbar {
    background: var(--zuu-black);
}
.zuucc-header__topbar .zuucc-header__inner {
    height: 52px;
    justify-content: space-between;
}

/* ロゴ */
.zuucc-header__logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.zuucc-header__logo-img {
    height: 28px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.zuucc-header__logo-text {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--zuu-white);
    letter-spacing: -0.01em;
}

/* 右側: ボタン + ハンバーガー */
.zuucc-header__right {
    display: flex;
    align-items: center;
    gap: 0.6em;
}

/* ボタン群 */
.zuucc-header__buttons {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.zuucc-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45em 1.1em;
    font-size: 0.72em;
    font-weight: 600;
    line-height: 1;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.04em;
    transition: background 0.15s, opacity 0.15s;
    border: 1px solid transparent;
}

/* ZUU online: 白枠アウトライン */
.zuucc-header__btn--red {
    background: transparent;
    color: var(--zuu-white);
    border-color: rgba(255,255,255,0.4);
}
.zuucc-header__btn--red:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: var(--zuu-white);
}

/* NET MONEY: 白テキスト薄背景 */
.zuucc-header__btn--blue {
    background: rgba(255,255,255,0.12);
    color: var(--zuu-white);
    border-color: transparent;
}
.zuucc-header__btn--blue:hover {
    background: rgba(255,255,255,0.2);
    color: var(--zuu-white);
}

/* ハンバーガー（SPのみ表示） */
.zuucc-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.zuucc-header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--zuu-white);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

/* === Row 2: ナビゲーションバー（白背景） === */
.zuucc-header__nav {
    background: var(--zuu-white);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
.zuucc-header__nav .zuucc-header__inner {
    height: 40px;
    gap: 0;
}

/* ホームアイコン */
.zuucc-header__home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #d32f2f;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s;
}
.zuucc-header__home:hover {
    background: rgba(0,0,0,0.04);
}

/* メニューリスト */
.zuucc-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.zuucc-header__menu::-webkit-scrollbar {
    display: none;
}
.zuucc-header__menu li {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.zuucc-header__menu li a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 1em;
    color: var(--zuu-gray-700);
    font-size: 0.82em;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.zuucc-header__menu li a:hover,
.zuucc-header__menu li.current-menu-item a,
.zuucc-header__menu li.current_page_item a {
    background: rgba(0,0,0,0.04);
    color: var(--zuu-black);
}

/* === SP対応 === */
@media (max-width: 767px) {
    .zuucc-header__topbar .zuucc-header__inner {
        height: 46px;
    }
    .zuucc-header__btn {
        font-size: 0.62em;
        padding: 0.4em 0.7em;
    }
    .zuucc-header__hamburger {
        display: flex;
    }

    /* ナビバー: SP時はハンバーガーで開閉 */
    .zuucc-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--zuu-white);
        box-shadow: var(--zuu-shadow-lg);
        border-top: 1px solid #e5e5e5;
    }
    .zuucc-header__nav.is-open {
        display: block;
    }
    .zuucc-header__nav .zuucc-header__inner {
        flex-direction: column;
        height: auto;
        padding: 0;
    }
    .zuucc-header__home {
        display: none;
    }
    .zuucc-header__menu {
        flex-direction: column;
        height: auto;
        width: 100%;
        overflow: visible;
    }
    .zuucc-header__menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .zuucc-header__menu li a {
        height: auto;
        padding: 0.9em 1.2em;
        width: 100%;
        color: var(--zuu-gray-700);
    }
}

/* ========================================
   見出し: SWELLデフォルトを上書き
   ======================================== */

/* SWELLの装飾をリセット */
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5 {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    position: relative;
    font-feature-settings: "palt";
}
.post_content h2::before,
.post_content h2::after,
.post_content h3::before,
.post_content h3::after,
.post_content h4::before,
.post_content h4::after,
.post_content h5::before,
.post_content h5::after {
    content: none !important;
    display: none !important;
}

/* h2 ── 太い黒ライン + 大きめ */
.post_content h2 {
    font-size: 1.45em;
    font-weight: 800;
    color: var(--zuu-black);
    line-height: 1.4;
    margin: 2.5em 0 1em;
    padding-bottom: 0.5em !important;
    border-bottom: 3px solid var(--zuu-black) !important;
    letter-spacing: -0.01em;
}

/* h3 ── 左の縦アクセント */
.post_content h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--zuu-dark);
    line-height: 1.45;
    margin: 2em 0 0.8em;
    padding-left: 0.8em !important;
    border-left: 3px solid var(--zuu-accent) !important;
}

/* h4 ── ミニマル・テキストのみ */
.post_content h4 {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--zuu-gray-900);
    line-height: 1.5;
    margin: 1.8em 0 0.6em;
}

/* h5 ── ラベル風キャプション */
.post_content h5 {
    font-size: 0.82em;
    font-weight: 700;
    color: var(--zuu-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.5;
    margin: 1.5em 0 0.5em;
}

/* 最初の見出しは上マージン詰め */
.post_content > h2:first-child,
.post_content > h3:first-child,
.post_content > h4:first-child,
.post_content > h5:first-child {
    margin-top: 0;
}

/* セクション見出し共通 */
.future-event-table h2,
.future-sources h2,
.future-related-coin h2,
.news-related h2 {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--zuu-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1em;
    padding-bottom: 0.6em;
    border-bottom: 2px solid var(--zuu-black);
    display: inline-block;
}

/* ========================================
   single-future.php（将来性・予想）
   ======================================== */

/* まとめ・結論 ── NewsPicks「KEY POINTS」風 */
.future-summary {
    position: relative;
    background: var(--zuu-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--zuu-radius);
    padding: 0;
    margin-bottom: 2em;
    overflow: hidden;
    box-shadow: var(--zuu-shadow-sm);
}
.future-summary::before {
    content: "KEY POINTS";
    display: block;
    background: var(--zuu-black);
    color: var(--zuu-white);
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.6em 1.4em;
}
.future-summary-body {
    padding: 1.2em 1.5em;
    font-size: 0.95em;
    line-height: 1.8;
    color: var(--zuu-gray-900);
}

/* 注意書き ── 金融サイト定番のディスクレーマー */
.future-disclaimer {
    position: relative;
    background: var(--zuu-warn-bg);
    border-left: 3px solid var(--zuu-warn-border);
    border-radius: 0 var(--zuu-radius) var(--zuu-radius) 0;
    padding: 1em 1.2em 1em 2.8em;
    margin-bottom: 2em;
    font-size: 0.8em;
    line-height: 1.7;
    color: var(--zuu-warn-text);
}
.future-disclaimer::before {
    content: "\26A0";
    position: absolute;
    left: 0.8em;
    top: 0.85em;
    font-size: 1.1em;
}

/* イベントカレンダー */
.future-event-table {
    margin: 2.5em 0;
}
.future-event-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e0e0e0;
    border-radius: var(--zuu-radius);
    overflow: hidden;
    font-size: 0.9em;
}
.future-event-table thead th {
    background: var(--zuu-black);
    color: var(--zuu-white);
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.8em 1em;
    text-align: left;
    border: none;
}
.future-event-table tbody td {
    padding: 0.8em 1em;
    border-bottom: 1px solid #eee;
    color: var(--zuu-gray-900);
    vertical-align: top;
}
.future-event-table tbody tr:last-child td {
    border-bottom: none;
}
.future-event-table tbody tr:hover {
    background: var(--zuu-gray-100);
}
.future-event-table .event-updated {
    text-align: right;
    font-size: 0.78em;
    color: var(--zuu-gray-500);
    margin-top: 0.6em;
}

/* 情報ソース */
.future-sources {
    margin: 2.5em 0;
    padding: 1.5em;
    background: var(--zuu-gray-100);
    border-radius: var(--zuu-radius);
}
.future-sources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.future-sources li {
    padding: 0.4em 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 0.88em;
}
.future-sources li:last-child {
    border-bottom: none;
}
.future-sources li a {
    color: var(--zuu-accent);
    text-decoration: none;
    transition: opacity 0.15s;
}
.future-sources li a:hover {
    opacity: 0.7;
}
.future-sources li a::after {
    content: "\2197";
    display: inline-block;
    margin-left: 0.3em;
    font-size: 0.85em;
    opacity: 0.5;
}

/* 対象コイン */
.future-related-coin {
    margin: 2.5em 0;
}
.future-related-coin .coin-card {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em 1.2em;
    background: var(--zuu-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--zuu-radius);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
}
.future-related-coin .coin-card:hover {
    box-shadow: var(--zuu-shadow-md);
    transform: translateY(-1px);
}
.future-related-coin .coin-card img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eee;
}
.future-related-coin .coin-card span {
    font-weight: 600;
    font-size: 0.95em;
    color: var(--zuu-gray-900);
}

/* ========================================
   single-news.php（NewsPicks風）
   ======================================== */
.news-single {
    max-width: 680px;
    margin: 0 auto;
}
.news-single .news-category-label {
    display: inline-block;
    background: var(--zuu-black);
    color: var(--zuu-white);
    font-size: 0.68em;
    font-weight: 700;
    padding: 0.35em 0.9em;
    border-radius: 2px;
    margin-bottom: 1em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.news-single .news-title {
    font-size: 1.7em;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.6em;
    color: var(--zuu-black);
    letter-spacing: -0.01em;
}
@media (min-width: 768px) {
    .news-single .news-title {
        font-size: 2.4em;
        line-height: 1.3;
    }
}
.news-single .news-date {
    font-size: 0.88em;
    color: var(--zuu-gray-500);
    margin-bottom: 1.8em;
    font-variant-numeric: tabular-nums;
}
.news-single .news-eyecatch {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 2.5em;
    border-radius: var(--zuu-radius);
}
.news-single .news-eyecatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 関連ニュース */
.news-related {
    margin-top: 3.5em;
    padding-top: 2em;
    border-top: 2px solid var(--zuu-black);
}
.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
}
@media (max-width: 767px) {
    .news-related-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .news-related-card {
        display: flex;
        align-items: center;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 0.8em 0;
    }
    .news-related-card img {
        width: 100px !important;
        min-width: 100px;
        aspect-ratio: 1 / 1 !important;
        border-radius: 4px !important;
        order: 2;
    }
    .news-related-card .card-body {
        order: 1;
        flex: 1;
        padding: 0 0.8em 0 0 !important;
    }
}
.news-related-card {
    text-decoration: none;
    color: inherit;
    border-radius: var(--zuu-radius);
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.15s;
}
.news-related-card:hover {
    box-shadow: var(--zuu-shadow-md);
    transform: translateY(-2px);
}
.news-related-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.news-related-card .card-body {
    padding: 0.8em 1em;
}
.news-related-card .card-body h3 {
    font-size: 0.88em;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 0.3em;
    color: var(--zuu-gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-related-card .card-body time {
    font-size: 0.75em;
    color: var(--zuu-gray-500);
    font-variant-numeric: tabular-nums;
}

/* ========================================
   category-price.php（価格・相場）
   ======================================== */
.price-widget-area {
    margin-bottom: 2em;
    border-radius: var(--zuu-radius);
    overflow: hidden;
}
.price-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    margin-top: 2em;
}
@media (max-width: 767px) {
    .price-archive-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .price-archive-card {
        display: flex;
        align-items: center;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 0.8em 0;
    }
    .price-archive-card img {
        width: 90px !important;
        min-width: 90px;
        aspect-ratio: 1 / 1 !important;
        border-radius: 4px !important;
        order: 2;
    }
    .price-archive-card .card-body {
        order: 1;
        flex: 1;
        padding: 0 0.8em 0 0 !important;
    }
}
.price-archive-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: var(--zuu-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.15s;
}
.price-archive-card:hover {
    box-shadow: var(--zuu-shadow-md);
    transform: translateY(-2px);
}
.price-archive-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.price-archive-card .card-body {
    padding: 0.8em 1em;
}
.price-archive-card .card-body h3 {
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 0.3em;
    color: var(--zuu-gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-archive-card .card-body time {
    font-size: 0.75em;
    color: var(--zuu-gray-500);
    font-variant-numeric: tabular-nums;
}

/* ========================================
   analysis-widget
   ======================================== */
.analysis-widget-area {
    margin-bottom: 2em;
    border-radius: var(--zuu-radius);
    overflow: hidden;
}

/* ========================================
   取引所一覧ページ
   ======================================== */
.exchange-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    margin: 1.5em 0;
}
.exchange-archive-card {
    background: var(--zuu-white);
    border: 1px solid #e5e5e5;
    border-radius: var(--zuu-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
    display: block;
}
.exchange-archive-card:hover {
    box-shadow: var(--zuu-shadow-md);
    transform: translateY(-2px);
}
.exchange-archive-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.exchange-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.exchange-archive-body {
    padding: 12px 14px;
}
.exchange-archive-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 6px;
    color: var(--zuu-gray-900);
}
.exchange-archive-excerpt {
    font-size: 12px;
    color: var(--zuu-gray-700);
    line-height: 1.6;
    margin: 0 0 6px;
}
.exchange-archive-date {
    font-size: 11px;
    color: var(--zuu-gray-500);
}
@media (max-width: 767px) {
    .exchange-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   記事本文: 行間・テーブル（旧テーマ継承）
   ======================================== */
.p-entry-body p {
    line-height: 1.4 !important;
    font-size: 1.05rem;
    margin-bottom: 1.8em;
    letter-spacing: 0.03em;
}
.p-entry-body table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin-bottom: 2em;
    font-size: 1rem;
}
.p-entry-body th,
.p-entry-body td {
    border: 1px solid #ddd;
    padding: 0.8em 1em;
    text-align: center;
}
.p-entry-body tr:nth-child(even) {
    background-color: #f9f9f9;
}
.p-entry-body tr:hover {
    background-color: #f1f1f1;
}

/* ========================================
   記事タイトル（旧テーマ継承）
   ======================================== */
.c-entry-title {
    font-size: 1.5rem;
    font-weight: bold;
    border-left: 6px solid var(--zuu-brand-red, #b80000);
    padding-left: 1rem;
    background-color: #f8f8f8;
    margin: 3rem 0 2rem;
    color: #222;
}

/* ========================================
   投稿メタ（旧テーマ継承）
   ======================================== */
.p-entry-meta {
    background-color: #f7f7f7;
    padding: 0.6em 1em;
    font-size: 0.9rem;
    color: #666;
    border-left: 4px solid var(--zuu-brand-red, #b80000);
    margin-bottom: 2em;
    display: inline-block;
    border-radius: 4px;
}
.p-entry-meta time,
.p-entry-meta .p-entry-author {
    margin-right: 1em;
    display: inline-block;
}

/* ========================================
   Speech Balloon 吹き出し（旧テーマ継承）
   ======================================== */
.speech-balloon {
    margin: 30px 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.speech-balloon-inner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    max-width: 100%;
    animation: slideInLeft 0.6s ease-out;
}
.speech-balloon-inner:before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid #667eea;
}
.speech-balloon-content {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}
.speech-balloon-content p {
    margin: 0;
}

/* ========================================
   タイムライン [timeline][tl]
   ======================================== */
.zuu-timeline {
    margin: 2em 0;
    border: 1px solid var(--zuu-gray-300);
    border-radius: 8px;
    overflow: hidden;
    background: var(--zuu-white);
}
.zuu-timeline__header {
    background: var(--zuu-accent);
    color: var(--zuu-white);
    font-size: 16px;
    font-weight: 700;
    padding: 12px 20px;
}
.zuu-timeline__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}
.zuu-timeline__step {
    position: relative;
    padding: 20px 20px 20px 24px;
    border-bottom: 1px solid var(--zuu-gray-100);
    margin-left: 0;
}
.zuu-timeline__step:last-child {
    border-bottom: none;
}
/* 左の縦線 */
.zuu-timeline__step::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--zuu-accent);
}
.zuu-timeline__step:first-child::before { top: 28px; }
.zuu-timeline__step:last-child::before  { bottom: calc(100% - 28px); }
/* ステップラベル */
.zuu-tl-label {
    display: inline-block;
    background: var(--zuu-accent);
    color: var(--zuu-white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.zuu-tl-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--zuu-gray-900);
    line-height: 1.5;
}
.zuu-tl-body {
    margin-top: 8px;
    font-size: 14px;
    color: var(--zuu-gray-700);
    line-height: 1.7;
}
.zuu-tl-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0;
}
@media (max-width: 768px) {
    .zuu-timeline__step { padding: 16px 16px 16px 20px; }
    .zuu-timeline__step::before { left: 8px; }
    .zuu-tl-title { font-size: 14px; }
}

/* ========================================
   目次: フォーマルデザイン（旧テーマ継承）
   ======================================== */
.swell-toc-wrapper.custom-toc-wrapper.formal-toc {
    margin: 3rem 0 4rem;
    max-width: 100%;
}
.formal-toc .swell-toc.custom-toc {
    background: #ffffff;
    border: 1px solid #2c3e50;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.formal-toc .swell-toc-header {
    background: #2c3e50 !important;
    padding: 1.5rem 2rem !important;
    margin: 0 !important;
    border-bottom: 3px solid #6d071a !important;
    border: none !important;
    border-left: none !important;
    display: block !important;
}
.formal-toc h2.swell-toc-title,
.formal-toc .swell-toc-title {
    all: unset !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.05em !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Arial', 'Noto Sans JP', sans-serif !important;
    display: block !important;
    line-height: 1.5 !important;
    background: transparent !important;
    border: none !important;
}
.formal-toc .swell-toc-content {
    padding: 2rem;
    background: #fafbfc;
}
.formal-toc .swell-toc-list {
    margin: 0;
    padding: 0;
}
.formal-toc .swell-toc-item {
    margin-bottom: 0;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}
.formal-toc .swell-toc-item:last-child {
    border-bottom: none;
}
.formal-toc .swell-toc-item:hover {
    background: rgba(109, 7, 26, 0.02);
}
.formal-toc .swell-toc-item-h2 .swell-toc-link {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}
.formal-toc .swell-toc-item-h3 .swell-toc-link {
    padding: 0.8rem 1.5rem 0.8rem 3rem;
    color: #495057;
    font-size: 0.95rem;
}
.formal-toc .swell-toc-item-h4 .swell-toc-link {
    padding: 0.6rem 1.5rem 0.6rem 4.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}
.formal-toc .swell-toc-link {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    transition: all 0.2s ease;
    line-height: 1.5;
}
.formal-toc .swell-toc-link:hover {
    color: #6d071a;
    background: rgba(109, 7, 26, 0.03);
}
.formal-toc .toc-number {
    flex-shrink: 0;
    margin-right: 1rem;
    font-weight: 500;
    color: #6d071a;
    min-width: 2.5rem;
}
.formal-toc .toc-text {
    flex: 1;
    line-height: 1.6;
}
.formal-toc .swell-toc-link.current {
    color: #6d071a;
    font-weight: 600;
    background: rgba(109, 7, 26, 0.05);
    border-left: 3px solid #6d071a;
    margin-left: -1px;
}

/* ========================================
   口コミBOX（旧テーマ継承）
   ======================================== */
.box25 {
    margin: 20px 0;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}
.box25:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.box25 .box-title {
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    margin: 0;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 12px 12px 0 0;
    position: relative;
    display: flex;
    align-items: center;
}
.box25 .box-title::before {
    content: '\1F44D';
    margin-right: 8px;
    font-size: 1.2rem;
}
.box25 .box-content {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: white;
    background: transparent;
}
.box205 {
    margin: 20px 0;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border: none;
}
.box205:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.box205 .box-title {
    background: #f44336;
    color: white;
    padding: 12px 20px;
    margin: 0;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 12px 12px 0 0;
    position: relative;
    display: flex;
    align-items: center;
}
.box205 .box-title::before {
    content: '\1F44E';
    margin-right: 8px;
    font-size: 1.2rem;
}
.box205 .box-content {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    background: transparent;
}

/* ========================================
   記事カード（旧テーマ継承）
   ======================================== */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.article-card {
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.article-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.article-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.article-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.article-content {
    padding: 1em;
}
.article-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5em;
    display: block;
}
.article-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5em;
}
.article-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   スクロールテーブル（旧テーマ継承）
   ======================================== */
.wp-table-scroll {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 20px;
    box-sizing: border-box;
}
.wp-table-scroll table {
    width: auto !important;
    min-width: 1800px !important;
    max-width: none !important;
    table-layout: fixed !important;
    border-collapse: collapse;
    margin: 0 !important;
    font-size: 12px;
}
.wp-table-scroll th,
.wp-table-scroll td {
    padding: 5px 8px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 70px;
}
.wp-table-scroll th {
    font-weight: bold;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}
.wp-table-scroll * {
    max-width: none !important;
}

/* ========================================
   目次非表示（特定CPT）
   ======================================== */
.single-column .p-toc,
.single-insight .p-toc,
.single-notice .p-toc,
.single-column [class*="toc-container"],
.single-insight [class*="toc-container"],
.single-notice [class*="toc-container"] {
    display: none !important;
}

/* ========================================
   スムーススクロール・ターゲットハイライト
   ======================================== */
html {
    scroll-behavior: smooth;
}
@keyframes highlight {
    0% { background-color: rgba(109, 7, 26, 0.2); }
    100% { background-color: transparent; }
}
h2:target,
h3:target,
h4:target {
    animation: highlight 2s ease;
    scroll-margin-top: 80px;
}

/* ========================================
   アニメーション共通
   ======================================== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   レスポンシブ: 旧テーマ継承パーツ
   ======================================== */
@media (max-width: 768px) {
    .speech-balloon-inner {
        padding: 15px 20px;
        margin-left: 20px;
    }
    .formal-toc {
        margin: 2rem -1rem 3rem;
    }
    .formal-toc .swell-toc {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .formal-toc .swell-toc-content {
        padding: 1.5rem;
    }
    .formal-toc .swell-toc-item-h2 .swell-toc-link {
        padding: 0.8rem 1rem;
    }
    .formal-toc .swell-toc-item-h3 .swell-toc-link {
        padding: 0.7rem 1rem 0.7rem 2rem;
    }
    .box25, .box205 {
        margin: 15px 0;
    }
}
@media (max-width: 480px) {
    .wp-step-header {
        padding: 15px;
    }
    .wp-step-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    .wp-step-title h3 {
        font-size: 16px;
    }
    .wp-step-content {
        padding: 20px 15px;
    }
}

/* ========================================
   フッター（ZUU online準拠）
   ======================================== */

/* SWELLデフォルトフッターのリセット */
.zuucc-footer,
.zuucc-footer * {
    box-sizing: border-box;
}
.zuucc-footer.l-footer {
    background: var(--zuu-black) !important;
    color: #aaa;
    padding: 0 !important;
    margin: 0;
}

.zuucc-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3em 1.5em 2em;
}

/* 上段: ロゴ + SNS */
.zuucc-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2em;
}
.zuucc-footer__logo a {
    display: inline-block;
    line-height: 1;
    text-decoration: none;
}
.zuucc-footer__logo-img {
    height: 28px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s;
}
.zuucc-footer__logo a:hover .zuucc-footer__logo-img {
    opacity: 1;
}
.zuucc-footer__logo-text {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--zuu-white);
    opacity: 0.9;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}
.zuucc-footer__logo a:hover .zuucc-footer__logo-text {
    opacity: 1;
}

/* SNSアイコン */
.zuucc-footer__sns {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.zuucc-footer__sns li {
    margin: 0;
    padding: 0;
}
.zuucc-footer__sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #888;
    text-decoration: none;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.zuucc-footer__sns a:hover {
    color: var(--zuu-white);
    background: rgba(255,255,255,0.08);
}

/* 区切り線 */
.zuucc-footer__divider {
    border: none;
    border-top: 1px solid #333;
    margin: 1.8em 0;
}

/* 下段: バッジ + 企業情報 */
.zuucc-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5em;
}

/* 認証バッジ */
.zuucc-footer__badges {
    display: flex;
    align-items: center;
    gap: 1.5em;
}
.zuucc-footer__badge {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.zuucc-footer__badge img {
    height: 36px;
    width: auto;
    opacity: 0.85;
}
.zuucc-footer__badge span {
    font-size: 0.72em;
    color: #777;
    white-space: nowrap;
}

/* 企業テキスト */
.zuucc-footer__corp {
    text-align: right;
}
/* フッターナビゲーション */
.zuucc-footer__nav {
    margin-top: 1.2em;
}
.zuucc-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1.5em;
}
.zuucc-footer__nav-list li a {
    color: #ccc;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}
.zuucc-footer__nav-list li a:hover {
    color: #fff;
    text-decoration: underline;
}

.zuucc-footer__texts {
    margin-top: 1.2em;
    font-size: 10px; /* カスタマイザーのインラインスタイルで上書きされる */
}
.zuucc-footer__custom-text {
    font-size: inherit;
    color: #888;
    line-height: 1.7;
    margin: 0 0 0.2em;
    text-align: left;
}
.zuucc-footer__custom-text:last-child {
    margin-bottom: 0;
}
.zuucc-footer__custom-text a {
    color: #aaa;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.zuucc-footer__custom-text a:hover {
    color: var(--zuu-white);
}

/* SP対応 */
@media (max-width: 767px) {
    .zuucc-footer__inner {
        padding: 2em 1.2em 1.5em;
    }
    .zuucc-footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1em;
    }
    .zuucc-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .zuucc-footer__corp {
        text-align: left;
    }
    .zuucc-footer__badges {
        flex-wrap: wrap;
    }
}
