@charset "utf-8";
/* 1. 親要素の overflow による sticky 阻害を解除 */
.l-pagebody {
    overflow: visible !important;
}

/* 2. 白帯エリア（.l-header）に強制的（!important）に sticky を適用 */
.l-header {
    position: -webkit-sticky !important; /* Safari対応 */
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;            /* 最前線に表示 */
    background-color: #ffffff !important;/* 下の文字が透けないよう白背景を強制 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* コーポレートヘッダーロゴ（h1→div変更に伴うスタイル補完） */
body header .corp-header-logo {
    margin: 0;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}
body header .corp-header-logo a {
    display: inline-flex;
    align-items: center;
}
body header .corp-header-logo img {
    height: 28px;
    max-height: 28px;
    width: auto;
    vertical-align: middle;
    display: block;
}

/* 右上のモバイルメニューボタンを完全に消去（完全非表示） */
.box__btn-toggle,
.btn__toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 全体フォント適用 */
body, button, input, select, textarea, .news-title, .ranking-link {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 2カラムレイアウト */
.l-column-container {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

/* 左側メインカラム */
.column-main {
    flex: 1 1 auto;
    min-width: 0;
}

/* 右側サイドバー */
.column-sidebar {
    width: 300px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* カテゴリ切り替えタブ（上部） */
.tab-filter-group {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tab-btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    background-color: #f1f5f9;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.03em;
}
.tab-btn:hover {
    background-color: #e2e8f0;
    color: #003893;
}
.tab-btn.is-active {
    background-color: #003893;
    color: #ffffff;
}

/* 記事一覧リスト */
.column-news-list {
    border-top: 2px solid #003893;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.news-item {
    display: block;
    padding: 22px 20px;
    border-bottom: 1px solid #e8eef5;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    word-break: break-word;
}

/* ゼブラパターン */
.news-item:nth-child(odd) { background-color: #ffffff; }
.news-item:nth-child(even) { background-color: #fafbfc; }

/* ホバーアニメーション */
.news-item:hover {
    background-color: #f1f5f9 !important;
    border-left-color: #003893;
    padding-left: 24px;
}

/* メタ情報エリア */
.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    flex-wrap: wrap;
}
.news-date {
    color: #777;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-right: 2px;
}

/* 各種バッジ */
.news-vol-badge {
    background-color: #ffffff;
    color: #003893;
    border: 1px solid #003893;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.03em;
}
.news-seo-badge {
    background-color: #eef4ff;
    color: #003893;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 400;
    border: 1px solid #cce0ff;
    display: inline-block;
}
.news-author {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 記事タイトル */
.news-title {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65;
    color: #222222;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    margin: 0;
}
.news-item:hover .news-title {
    color: #003893;
    text-decoration: underline;
}

/* 検索結果ゼロ時メッセージ */
.no-result-msg {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    display: none;
}

/* ページネーション */
.mizuho-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.page-num, .page-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.page-num:hover, .page-nav:hover {
    background-color: #f1f5f9;
    border-color: #003893;
    color: #003893;
}
.page-num.is-current {
    background-color: #003893;
    border-color: #003893;
    color: #ffffff;
    cursor: default;
}
.page-dots {
    display: inline-block;
    padding: 0 4px;
    color: #888;
    font-weight: 700;
}

/* サイドバー構成 */
.side-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 28px;
    box-sizing: border-box;
}
.side-widget-ttl {
    font-size: 15px;
    font-weight: 700;
    color: #003893;
    border-bottom: 2px solid #003893;
    padding-bottom: 8px;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

/* ランキング */
.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ranking-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.ranking-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ranking-badge {
    width: 26px;
    height: 26px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.ranking-badge.rank-1 { background: linear-gradient(135deg, #d4af37, #f3e5ab); color: #4a3b00; }
.ranking-badge.rank-2 { background: linear-gradient(135deg, #a0a0a0, #e0e0e0); color: #333; }
.ranking-badge.rank-3 { background: linear-gradient(135deg, #cd7f32, #f4c299); color: #4a2500; }

.ranking-content { flex: 1; min-width: 0; }
.ranking-date {
    font-size: 11px;
    color: #888;
    display: block;
    margin-bottom: 3px;
}
.ranking-link {
    font-size: 13px;
    font-weight: 400 !important;
    color: #222222;
    text-decoration: none;
    line-height: 1.5;
    display: block;
    word-break: break-word;
    transition: color 0.2s ease;
}
.ranking-link:hover {
    color: #003893;
    text-decoration: underline;
}

/* 検索・タグ */
.search-box { display: flex; gap: 6px; }
.search-input { width: 100%; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 3px; font-size: 13px; box-sizing: border-box; }
.search-btn { background: #003893; color: #fff; border: none; padding: 8px 14px; border-radius: 3px; cursor: pointer; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 12.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}
.filter-tag:hover, .filter-tag.is-active { background: #003893; color: #fff; }

/* 下部CVバナー */
.m-cv-wrap {
    margin: 60px auto 40px;
    max-width: 800px;
    box-sizing: border-box;
}
.m-cv {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid #003893;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.m-cv:hover {
    box-shadow: 0 6px 16px rgba(0, 56, 147, 0.15);
    transform: translateY(-2px);
}
.m-cv-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 30px 20px;
}
.m-cv-top-txt, .m-cv-top-img { margin: 0; }
.m-cv-bottom {
    background: #003893;
    text-align: center;
    padding-right: 0.5em;
    letter-spacing: 0.05em;
}

/* --- レスポンシブ対応 (PC) --- */
@media (min-width: 769px) {
    .nopc { display: none !important; }
}

/* --- スマホレスポンシブ対応 (768px以下) --- */
@media (max-width: 768px) {
    .nosp { display: none !important; }

    body header nav.nav__global .box__btn-toggle,
    body header nav.nav__global .btn__toggle,
    .box__btn-toggle,
    .btn__toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    body header .corp-header-logo img {
        height: auto !important;
        max-height: 22px !important;
        width: auto !important;
        vertical-align: middle !important;
    }

    body .l-pagebody .l-header {
        padding: 12px 0 !important;
    }
    body .l-pagebody .l-header .l-header-inner {
        margin: 0 !important;
        padding: 0 16px !important;
    }
    body .l-header-logo {
        margin-bottom: 4px !important;
    }
    body .l-header-logo img {
        max-height: 28px !important;
        width: auto !important;
    }
    body .l-header-txt {
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    body .l-pagebody .l-content .l-mv {
        position: relative !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        overflow: hidden !important;
    }
    body .l-pagebody .l-content .l-mv picture,
    body .l-pagebody .l-content .l-mv picture img {
        width: 100% !important;
        height: 280px !important;
        object-fit: cover !important;
        display: block !important;
    }

    body .l-pagebody .l-content .l-mv .p-mv-inner {
        position: absolute !important;
        top: 50% !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        width: 92% !important;
        margin: 0 auto !important;
        padding-top: 14px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    body .l-pagebody .l-content .l-mv .p-mv-txt01,
    body .l-pagebody .l-content .l-mv .p-mv-txt02 {
        font-size: 1.5rem !important;
        margin-bottom: 2px !important;
        line-height: 1.35 !important;
    }

    body .l-pagebody .l-content .l-mv .p-mv-ttl {
        margin-top: 4px !important;
        margin-bottom: 6px !important;
    }

    body .l-pagebody .l-content .l-mv .p-mv-ttl img {
        max-width: 480px !important;
        max-height: 85px !important;
        width: 95% !important;
        height: auto !important;
        display: inline-block !important;
    }

    body .l-pagebody .l-content .l-mv .p-mv-txt04 {
        font-size: 14px !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
    }

    .l-column-container {
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 20px !important;
    }
    .column-sidebar { width: 100% !important; }
    .news-item { padding: 16px 12px !important; }

    .m-cv-wrap { padding: 0 16px !important; margin-top: 30px !important; }
    .m-cv-top { flex-direction: column !important; text-align: center !important; gap: 16px !important; padding: 24px 16px !important; }
    .m-cv-top-txt { font-size: 18px !important; text-align: center !important; }
    .m-cv-top-img img { max-height: 35px !important; }
    .m-cv-bottom { font-size: 14px !important; }
}

/* コーポレートヘッダーロゴ（h1版）：スマホで縮小 2026-11-26
   ※ .corp-header-logo 用の指定が h1 マークアップに当たらないため補完 */
@media (max-width: 768px) {
    body header > .__container > h1 {
        width: auto !important;
        margin-right: 0 !important;
        transform: none !important;
        line-height: 1 !important;
    }
    body header > .__container > h1 img {
        height: auto !important;
        max-height: 22px !important;
        width: auto !important;
        vertical-align: middle !important;
    }
}
