@charset "UTF-8";
/* ==========================================================
   不動産売却王 加盟店ブログ一覧（B案デザイン）
   接頭辞：bkn-   対象：news.php
   ========================================================== */

.bkn-page {
    --bkn-blue: #12589E;
    --bkn-blue-dark: #0B3C6E;
    --bkn-tint: #EAF4FB;
    --bkn-soft: #F5F8FB;
    --bkn-accent: #FF9A1F;
    --bkn-ink: #1F2D3D;
    --bkn-text: #2B3A4A;
    --bkn-sub: #55667A;
    --bkn-on-blue: #E3EEF8;
    --bkn-line: #E3EAF1;
    --bkn-round: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;

    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--bkn-text);
    background: #FFFFFF;
}
.bkn-page * { box-sizing: border-box; }
.bkn-page a { color: var(--bkn-blue); text-decoration: none; }
.bkn-page a:hover { color: var(--bkn-blue-dark); text-decoration: underline; }
.bkn-page img { max-width: 100%; height: auto; }
.bkn-page p { margin: 0; }
.bkn-page h1,
.bkn-page h2 { background: none; border: 0; padding: 0; }
.bkn-page .screen-reader-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.bkn-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 見出し ---------- */
.bkn-head { background: var(--bkn-blue); border-radius: 0 0 48px 48px; padding: 28px 0 56px; }
.bkn-crumb { margin-bottom: 28px; font-size: 13px; color: #CFE0F1; }
.bkn-page .bkn-crumb a { color: #FFFFFF; }
.bkn-head__title { margin: 0 0 10px; font-family: var(--bkn-round); font-weight: 700; font-size: 40px; line-height: 1.4; color: #FFFFFF; }
.bkn-head__lead { max-width: 640px; font-size: 16px; color: var(--bkn-on-blue); }

/* ---------- 絞り込み ---------- */
.bkn-filter-wrap { position: relative; margin-top: -28px; }
.bkn-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 20px 24px;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 12px 32px rgba(31, 45, 61, .10);
}
.bkn-filter__label,
.bkn-area label { font-size: 14px; font-weight: 700; color: var(--bkn-ink); }
.bkn-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 520px; }
.bkn-page .bkn-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #EEF2F6;
    color: var(--bkn-ink);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}
.bkn-page .bkn-chip:hover { background: var(--bkn-tint); text-decoration: none; }
.bkn-page .bkn-chip.is-active { background: var(--bkn-blue); color: #FFFFFF; font-weight: 700; }
.bkn-area { display: flex; align-items: center; gap: 8px; margin: 0; }
.bkn-area select {
    height: 44px;
    min-width: 220px;
    padding: 0 12px;
    border: 2px solid #D5DEE7;
    border-radius: 12px;
    background: #FFFFFF;
    font-size: 15px;
    font-family: inherit;
    color: var(--bkn-text);
}
.bkn-area button {
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: var(--bkn-blue);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

/* ---------- 本文＋サイドバー ---------- */
.bkn-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; padding-top: 48px; padding-bottom: 80px; }
.bkn-main { flex: 3 1 560px; min-width: 0; }
.bkn-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* 加盟店で絞り込み中 */
.bkn-shopbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 28px;
    padding: 18px 22px;
    border-radius: 24px;
    background: var(--bkn-tint);
}
.bkn-shopbox__photo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; }
.bkn-shopbox__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bkn-shopbox__body { flex: 1 1 200px; display: flex; flex-direction: column; line-height: 1.5; }
.bkn-shopbox__area { font-size: 13px; font-weight: 700; color: var(--bkn-blue); }
.bkn-shopbox__name { font-family: var(--bkn-round); font-size: 19px; color: var(--bkn-ink); }
.bkn-page .bkn-shopbox__btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--bkn-accent);
    color: var(--bkn-ink);
    font-family: var(--bkn-round);
    font-weight: 700;
    text-decoration: none;
}

/* 記事カード */
.bkn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.bkn-card { min-width: 0; }
.bkn-page .bkn-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 2px solid var(--bkn-line);
    border-radius: 24px;
    color: var(--bkn-text);
    text-decoration: none;
    transition: border-color .15s;
}
.bkn-page .bkn-card__link:hover { border-color: #BFD3E6; text-decoration: none; }
.bkn-card__img { display: block; height: 180px; overflow: hidden; background: var(--bkn-line); }
.bkn-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bkn-card__body { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 20px; }
.bkn-card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bkn-sub); }
.bkn-new { padding: 0 12px; border-radius: 999px; background: var(--bkn-accent); color: var(--bkn-ink); font-size: 12px; font-weight: 700; line-height: 1.8; }
.bkn-card__title { font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--bkn-ink); }
.bkn-card__link:hover .bkn-card__title { text-decoration: underline; }
.bkn-card__excerpt { font-size: 15px; line-height: 1.8; color: #44586E; }
.bkn-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 2px solid #EEF2F6;
    font-size: 12px;
    line-height: 1.4;
}
.bkn-card__avatar { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: #CFE3F3; }
.bkn-card__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bkn-card__area { display: block; font-weight: 700; color: var(--bkn-blue); }
.bkn-card__shop { color: var(--bkn-sub); }

/* 最新記事（1ページ目の先頭）は横長で大きく */
.bkn-card--featured { grid-column: 1 / -1; }
.bkn-page .bkn-card--featured .bkn-card__link { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 28px; }
.bkn-card--featured .bkn-card__img { height: auto; min-height: 280px; }
.bkn-card--featured .bkn-card__body { padding: 28px 30px; gap: 10px; }
.bkn-card--featured .bkn-card__title { font-family: var(--bkn-round); font-size: 24px; line-height: 1.5; }

/* ページ送り */
.bkn-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; font-weight: 700; }
.bkn-pager .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 6px;
    border: 2px solid #D5DEE7;
    border-radius: 999px;
    color: var(--bkn-ink);
    text-decoration: none;
}
.bkn-pager a.page-numbers:hover { border-color: var(--bkn-blue); text-decoration: none; }
.bkn-pager .page-numbers.current { border-color: var(--bkn-blue); background: var(--bkn-blue); color: #FFFFFF; }
.bkn-pager .page-numbers.dots { border: 0; min-width: auto; color: var(--bkn-sub); }

.bkn-empty { padding: 48px 0; text-align: center; color: var(--bkn-sub); }

/* ---------- サイドバー ---------- */
.bkn-side__cta { padding: 26px; border-radius: 24px; background: var(--bkn-blue); color: #FFFFFF; }
.bkn-side__cta-title { margin-bottom: 6px !important; font-family: var(--bkn-round); font-weight: 700; font-size: 20px; line-height: 1.5; }
.bkn-side__cta-lead { margin-bottom: 16px !important; font-size: 13px; color: var(--bkn-on-blue); }
.bkn-page .bkn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: var(--bkn-accent);
    color: var(--bkn-ink);
    font-family: var(--bkn-round);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}
.bkn-page .bkn-btn:hover { filter: brightness(1.06); text-decoration: none; }

.bkn-side__box { padding: 22px 24px; border-radius: 24px; background: var(--bkn-soft); }
.bkn-side__title { margin: 0 0 10px; font-family: var(--bkn-round); font-weight: 700; font-size: 17px; color: var(--bkn-ink); }

/* よく読まれている記事（WordPress Popular Posts の出力を整える） */
.bkn-popular ul { list-style: none; margin: 0; padding: 0; counter-reset: bkn-pop; }
.bkn-popular li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--bkn-line);
    font-size: 14px;
    line-height: 1.6;
    counter-increment: bkn-pop;
}
.bkn-popular li::before { content: counter(bkn-pop); font-family: var(--bkn-round); font-weight: 700; color: var(--bkn-blue); }
.bkn-page .bkn-popular a { color: var(--bkn-text); }
.bkn-popular .wpp-thumbnail,
.bkn-popular .wpp-meta,
.bkn-popular .post-stats { display: none; }

.bkn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bkn-page .bkn-tags a { padding: 6px 14px; border-radius: 999px; background: #FFFFFF; color: var(--bkn-ink); font-size: 13px; }

/* ==========================================================
   スマホ
   ========================================================== */
@media (max-width: 767px) {
    .bkn-page { font-size: 15px; line-height: 1.8; }
    .bkn-inner { padding: 0 16px; }

    .bkn-head { border-radius: 0 0 32px 32px; padding: 18px 0 44px; }
    .bkn-crumb { margin-bottom: 16px; font-size: 12px; }
    .bkn-head__title { font-size: 28px; margin-bottom: 6px; }
    .bkn-head__lead { font-size: 13px; }

    .bkn-filter-wrap { margin-top: -22px; }
    .bkn-filter { display: block; padding: 14px; border-radius: 20px; }
    .bkn-filter__label { display: none; }
    .bkn-chips { flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .bkn-page .bkn-chip { flex: 0 0 auto; padding: 0 14px; font-size: 13px; }
    .bkn-area { margin-top: 10px; }
    .bkn-area label { display: none; }
    .bkn-area select { flex: 1 1 auto; min-width: 0; height: 46px; font-size: 16px; }
    .bkn-area button { height: 46px; }

    .bkn-body { gap: 36px; padding-top: 28px; padding-bottom: 56px; }
    .bkn-main,
    .bkn-side { flex-basis: 100%; }

    .bkn-shopbox { padding: 14px 16px; border-radius: 20px; }
    .bkn-shopbox__photo { flex-basis: 56px; width: 56px; height: 56px; }
    .bkn-shopbox__name { font-size: 16px; }
    .bkn-page .bkn-shopbox__btn { width: 100%; justify-content: center; }

    /* カード → 左画像・右タイトルの1列リスト */
    .bkn-grid { grid-template-columns: 1fr; gap: 0; }
    .bkn-page .bkn-card__link {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
        border: 0;
        border-top: 2px solid #EEF2F6;
        border-radius: 0;
    }
    .bkn-card__img { flex: 0 0 104px; width: 104px; height: 78px; border-radius: 14px; }
    .bkn-card__body { padding: 0; gap: 2px; line-height: 1.55; }
    .bkn-card__meta { font-size: 11px; }
    .bkn-new { font-size: 10px; padding: 0 8px; }
    .bkn-card__title { font-size: 14px; }
    .bkn-card__author { margin-top: 4px; padding-top: 0; border-top: 0; font-size: 11px; }
    .bkn-card__avatar { display: none; }
    .bkn-card__area { display: inline; margin-right: 4px; }

    /* 最新記事は縦長の大きいカードのまま */
    .bkn-card--featured { margin-bottom: 8px; }
    .bkn-page .bkn-card--featured .bkn-card__link { display: flex; flex-direction: column; gap: 0; padding: 0; border: 2px solid var(--bkn-line); border-radius: 24px; }
    .bkn-card--featured .bkn-card__img { flex-basis: auto; width: 100%; height: 190px; min-height: 0; border-radius: 0; }
    .bkn-card--featured .bkn-card__body { padding: 16px 18px 18px; gap: 6px; }
    .bkn-card--featured .bkn-card__title { font-size: 19px; }
    .bkn-card--featured .bkn-card__excerpt { font-size: 13px; line-height: 1.7; }

    .bkn-pager { gap: 6px; margin-top: 28px; }
    .bkn-pager .page-numbers { min-width: 44px; height: 44px; }

    /* スマホではサイドバーを本文の下に（査定CTAを最後に） */
    .bkn-side__cta { order: 3; border-radius: 24px; padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .bkn-page .bkn-card__link { transition: none; }
}
