@charset "UTF-8";
/*
 * CARAD買取（king/）— CPT配下ページ用基本スタイル
 * 親テーマと干渉しないよう .king-* 名前空間に閉じる
 * デザイントークンは静的 /king/ サイトの style.css と整合
 *   gold     #B49500
 *   gold-l   #FFD74A
 *   ink      #1A1A1A
 *   navy     #1E284D
 *   bg-soft  #E8ECF3
 */

/* ============================================================
 * king-body: 親テーマの干渉を最小化するスコープリセット
 *  - header-king.php / footer-king.php を使うCPTページ全体に適用
 * ============================================================ */
body.king-body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
}
body.king-body #container,
body.king-body #content,
body.king-body #wrapper { padding: 0 !important; margin: 0 !important; max-width: none !important; }
body.king-body main { margin: 0 !important; padding: 0 !important; }
body.king-body .king-header { margin: 0 !important; }
/* ヘッダ直後の余白を意図的に確保（ヘッダーとKVの呼吸） */
body.king-body main > .king-kv { margin-top: 0; }
body.king-body main > .kv { margin-top: 0; }
@media (max-width: 768px) {
    body.king-body main > .king-kv,
    body.king-body main > .kv { margin-top: 0; }
}
/* KV直後の section との余分なギャップは除去 */
body.king-body main > .kv + section,
body.king-body main > .kv + .section { margin-top: 0 !important; }

/* ============================================================
 * Header (king-header)
 *  - 親テーマの header.php は読まない
 *  - logo: logo.png（濃色版）を採用 → 明背景で視認OK
 * ============================================================ */
.king-header {
    background: #fff;
    border-bottom: 1px solid #E8ECF3;
    position: relative;
    z-index: 80;
}
.king-header__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.king-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.king-header__logo-link { display: inline-flex; align-items: center; line-height: 0; }
/* 静的king /css/base.css の `img { width:100% }` を打ち消すため明示固定 */
.king-header__logo {
    display: block;
    width: 240px !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ハンバーガー（PCでは非表示） */
.king-nav-toggle { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.king-header__hamburger { display: none; }
.king-header__sub {
    font-size: 11px;
    color: #6B7280;
    letter-spacing: .08em;
    border-left: 1px solid #E8ECF3;
    padding-left: 12px;
    line-height: 1.4;
}
.king-header__nav {
    margin-left: auto;
}
.king-header__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}
.king-header__nav a {
    color: #1E284D;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color .2s;
}
.king-header__nav a:hover { color: #B49500; }
.king-header__cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.king-header__tel {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: #1E284D;
    line-height: 1.2;
    text-align: right;
}
.king-header__tel-num {
    font-family: "Palatino", "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    color: #B49500;
    letter-spacing: .02em;
}
.king-header__tel-hours {
    font-size: 10px;
    color: #6B7280;
    letter-spacing: .04em;
}
.king-header__btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: #B49500;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s;
}
.king-header__btn:hover { background: #FFD74A; color: #1E284D; }

@media (max-width: 960px) {
    /* 白背景は維持。親テーマ・静的king CSS の干渉対策で body.king-body プレフィックス＋!important */
    body.king-body .king-header {
        display: block !important;
        background: #fff !important;
        position: fixed;
        width: 100%;
    }
    body.king-body .king-header__inner {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px 14px !important;
        max-width: none;
    }
    body.king-body .king-header__brand {
        display: flex !important;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
        margin-right: auto;
    }
    body.king-body .king-header__sub { display: none !important; }
    body.king-body .king-header__logo-link { display: inline-flex !important; line-height: 0; }
    body.king-body .king-header__logo {
        width: 140px !important;
        max-width: 45vw !important;
        height: auto !important;
    }

    /* CTA を 右側・ハンバーガーの左に */
    body.king-body .king-header__cta {
        display: flex !important;
        margin-left: 0 !important;
        gap: 6px;
        align-items: center;
        flex-shrink: 0;
    }
    body.king-body .king-header__tel { display: inline-flex !important; flex-direction: column; color: #1E284D !important; }
    body.king-body .king-header__tel-num { font-size: 16px !important; color: #B49500 !important; }
    body.king-body .king-header__tel-hours { display: none !important; }
    body.king-body .king-header__btn {
        display: inline-flex !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }

    /* ハンバーガー：白背景に対応して濃紺の3本線 */
    body.king-body .king-header__hamburger {
        display: inline-flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 38px;
        height: 38px;
        cursor: pointer;
        flex-shrink: 0;
        background: transparent;
        border-radius: 4px;
        position: relative;
    }
    body.king-body .king-header__hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #1E284D;
        margin: 1.5px 0;
        transition: transform .25s ease, opacity .2s ease, top .25s ease;
        border-radius: 2px;
    }

    /* デフォルト：ナビは閉じている */
    body.king-body .king-header__nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #E8ECF3;
        box-shadow: 0 6px 16px rgba(0,0,0,0.08);
        z-index: 95;
        padding: 6px 16px 12px;
        margin: 0;
    }
    body.king-body .king-header__nav ul {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    body.king-body .king-header__nav li { border-bottom: 1px solid #F5F7FB; }
    body.king-body .king-header__nav li:last-child { border-bottom: 0; }
    body.king-body .king-header__nav a {
        display: block !important;
        padding: 14px 4px;
        font-size: 15px;
        font-weight: 600;
        color: #1E284D;
    }
    body.king-body .king-header__nav a::before {
        content: "›";
        color: #B49500;
        margin-right: 8px;
        font-weight: 700;
    }

    /* チェックON：ナビ展開＋ハンバーガーをX形に */
    body.king-body .king-nav-toggle:checked ~ .king-header__inner .king-header__nav {
        display: block !important;
    }
    body.king-body .king-nav-toggle:checked ~ .king-header__inner .king-header__hamburger span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    body.king-body .king-nav-toggle:checked ~ .king-header__inner .king-header__hamburger span:nth-child(2) {
        opacity: 0;
    }
    body.king-body .king-nav-toggle:checked ~ .king-header__inner .king-header__hamburger span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
}

@media (max-width: 380px) {
    body.king-body .king-header__inner { padding: 8px 10px !important; gap: 6px; }
    body.king-body .king-header__logo { width: 110px !important; }
    body.king-body .king-header__tel-num { font-size: 15px !important; }
    body.king-body .king-header__btn { padding: 7px 8px !important; font-size: 10px !important; }
    body.king-body .king-header__hamburger { width: 34px !important; height: 34px !important; }
}

/* ============================================================
 * Footer (king-footer)
 * ============================================================ */
.king-footer {
    background: #1E284D;
    color: #E8ECF3;
    padding: 48px 24px 0;
    margin-top: 0;
}
.king-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
}
.king-footer__brand .king-footer__logo {
    width: 220px;
    height: auto;
    background: #fff;
    padding: 10px 14px;
    border-radius: 3px;
    margin-bottom: 14px;
}
.king-footer__addr {
    font-size: 12px;
    line-height: 1.7;
    color: #E8ECF3;
    margin: 0;
}
.king-footer__addr small { color: #A0AEC0; font-size: 11px; }

.king-footer__contact { display: flex; flex-direction: column; gap: 12px; }
.king-footer__tel {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.king-footer__tel-label { font-size: 11px; color: #FFD74A; letter-spacing: .1em; }
.king-footer__tel-num {
    font-family: "Palatino", "Times New Roman", serif;
    font-size: 26px;
    color: #FFD74A;
    font-weight: 700;
    letter-spacing: .02em;
}
.king-footer__tel-hours { font-size: 11px; color: #A0AEC0; }
.king-footer__btn {
    display: inline-block;
    padding: 10px 16px;
    background: #B49500;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background .2s;
}
.king-footer__btn:hover { background: #FFD74A; color: #1E284D; }

.king-footer__nav h4,
.king-footer__corp h4 {
    font-size: 12px;
    color: #FFD74A;
    letter-spacing: .12em;
    margin: 0 0 12px;
    font-weight: 700;
}
.king-footer__nav ul,
.king-footer__corp ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.king-footer__nav a,
.king-footer__corp a {
    color: #E8ECF3;
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}
.king-footer__nav a:hover,
.king-footer__corp a:hover { color: #FFD74A; }

.king-footer__copy {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    text-align: center;
    font-size: 11px;
    color: #A0AEC0;
    letter-spacing: .04em;
}

@media (max-width: 840px) {
    .king-footer { padding: 36px 16px 0; }
    .king-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .king-footer__brand .king-footer__logo { width: 200px; height: auto; }
    .king-footer__nav h4,
    .king-footer__corp h4 { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
}

.king-area,
.king-maker,
.king-case,
.king-column {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    color: #1A1A1A;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.king-area *,
.king-maker *,
.king-case *,
.king-column * {
    box-sizing: border-box;
}

.king-area img,
.king-maker img,
.king-case img,
.king-column img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
 * KV
 * ============================================================ */
.king-kv {
    background: linear-gradient(135deg, #1E284D 0%, #0B646F 100%);
    color: #fff;
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
}
.king-kv::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: #B49500;
    margin: 28px auto 0;
}
.king-kv__inner {
    max-width: 980px;
    margin: 0 auto;
}
.king-kv__h1 {
    font-size: clamp(22px, 3.4vw, 34px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .04em;
    margin: 0;
    color: #fff;
}
.king-kv__visit {
    margin: 20px 0 0;
    font-size: 14px;
    color: #FFD74A;
    letter-spacing: .08em;
}

/* ============================================================
 * Section共通
 * ============================================================ */
.king-section {
    padding: 64px 24px;
}
/* .king-section:nth-of-type(even) {
    background: #F5F7FB;
} */
.king-section__inner {
    max-width: 1040px;
    margin: 0 auto;
}
.king-section h2 {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    color: #1E284D;
    text-align: center;
    margin: 0 0 36px;
    position: relative;
    padding-bottom: 16px;
    line-height: 1.5;
}
.king-section h2::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background: #B49500;
}

/* ============================================================
 * 選ばれる理由
 * ============================================================ */
.king-reason__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 720px) {
    .king-reason__list {
        grid-template-columns: 1fr;
    }
}
.king-reason__item {
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
}
.king-reason__num {
    display: inline-block;
    font-family: "Palatino", "Times New Roman", serif;
    font-size: 32px;
    color: #B49500;
    line-height: 1;
    letter-spacing: .02em;
}
.king-reason__head {
    font-size: 18px;
    font-weight: 700;
    color: #1E284D;
    margin: 12px 0 12px;
    line-height: 1.5;
}
.king-reason__body {
    font-size: 14px;
    color: #3B3B3B;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* ============================================================
 * 実績リスト・エリアグリッド
 * ============================================================ */
.king-cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.king-cases-list li {
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 4px;
    overflow: hidden;
}
.king-cases-list a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.king-cases-list__title {
    display: block;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1E284D;
}
.king-cases-list__more {
    text-align: center;
    margin: 28px 0 0;
}
.king-cases-list__more a {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #1E284D;
    color: #1E284D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    transition: opacity .2s;
}
.king-cases-list__more a:hover {
    opacity: .8;
}

.king-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.king-area-grid a {
    display: block;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 4px;
    color: #1E284D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, color .2s;
}
.king-area-grid a::before {
    content: "›";
    color: #B49500;
    margin-right: 6px;
    font-weight: 700;
}
.king-area-grid a:hover {
    background: #1E284D;
    color: #fff;
}
.king-area-grid a:hover::before {
    color: #FFD74A;
}

/* ============================================================
 * 買取の流れ
 * ============================================================ */
.king-flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: king-flow;
}
@media (max-width: 840px) {
    .king-flow__list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .king-flow__list {
        grid-template-columns: 1fr;
    }
}
.king-flow__item {
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 6px;
    padding: 24px 18px 22px;
    text-align: center;
    counter-increment: king-flow;
    position: relative;
}
.king-flow__item::before {
    content: "STEP " counter(king-flow);
    display: inline-block;
    font-family: "Palatino", "Times New Roman", serif;
    font-size: 12px;
    letter-spacing: .12em;
    color: #B49500;
    margin-bottom: 8px;
}
.king-flow__head {
    font-size: 16px;
    font-weight: 700;
    color: #1E284D;
    margin: 0 0 10px;
}
.king-flow__body {
    font-size: 13px;
    color: #3B3B3B;
    line-height: 1.75;
    margin: 0;
    text-align: left;
}

/* ============================================================
 * FAQ
 * ============================================================ */
.king-faq__list {
    max-width: 820px;
    margin: 0 auto;
}
.king-faq__item {
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
}
.king-faq__item[open] {
    border-color: #B49500;
}
.king-faq__q {
    cursor: pointer;
    padding: 18px 56px 18px 56px;
    font-size: 15px;
    font-weight: 600;
    color: #1E284D;
    position: relative;
    list-style: none;
    line-height: 1.6;
}
.king-faq__q::-webkit-details-marker { display: none; }
.king-faq__q::before {
    content: "Q";
    position: absolute;
    left: 20px;
    top: 18px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #B49500;
    color: #fff;
    border-radius: 50%;
    font-family: "Palatino", serif;
    font-size: 13px;
    font-weight: 700;
}
.king-faq__q::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 14px;
    font-size: 24px;
    color: #B49500;
    line-height: 1;
    transition: transform .2s;
}
.king-faq__item[open] .king-faq__q::after {
    content: "−";
}
.king-faq__a {
    padding: 0 20px 18px 56px;
    font-size: 14px;
    color: #3B3B3B;
    line-height: 1.85;
    margin: 0;
}
.king-faq__a::before {
    content: "A";
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #1E284D;
    color: #fff;
    border-radius: 50%;
    font-family: "Palatino", serif;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px;
    margin-left: -36px;
    vertical-align: top;
}

/* ============================================================
 * CTA
 * ============================================================ */
.king-cta {
    background: linear-gradient(135deg, #1E284D 0%, #0B646F 100%);
    color: #fff;
}
.king-cta .king-section__inner {
    text-align: center;
}
.king-cta h2 {
    color: #fff;
}
.king-cta h2::after {
    background: #FFD74A;
}
.king-cta p {
    color: #E8ECF3;
    font-size: 15px;
    margin: 0 0 28px;
}
.king-cta__row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}
.king-cta__tel {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 32px;
    background: #fff;
    color: #1E284D;
    text-decoration: none;
    border-radius: 4px;
    min-width: 280px;
    line-height: 1.3;
}
.king-cta__tel small {
    font-size: 12px;
    color: #3B3B3B;
    letter-spacing: .1em;
    font-weight: 600;
}
.king-cta__tel strong {
    font-family: "Palatino", "Times New Roman", serif;
    font-size: 30px;
    color: #B49500;
    letter-spacing: .04em;
}
.king-cta__tel em {
    font-size: 11px;
    font-style: normal;
    color: #3B3B3B;
    margin-top: 2px;
}
.king-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    background: #B49500;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    min-width: 280px;
    min-height: 64px;
    transition: background .2s;
}
.king-cta__btn:hover {
    background: #FFD74A;
    color: #1E284D;
}

/* ============================================================
 * メーカー/車種ページ専用（king-maker-* スコープ）
 *  - 子モデル/兄弟モデルのリンクグリッドは king-area-grid を流用
 * ============================================================ */
.king-maker-body__inner {
    max-width: 820px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.95;
    color: #1A1A1A;
}
.king-maker-body__inner p {
    margin: 0 0 1em;
}
.king-maker-siblings .king-cases-list__more {
    margin-top: 18px;
}

/* ============================================================
 * case ページ用 spec 表示
 * ============================================================ */
.king-case-spec__list {
    max-width: 680px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 6px;
    overflow: hidden;
}
.king-case-spec__list dt,
.king-case-spec__list dd {
    padding: 14px 18px;
    border-top: 1px solid #E8ECF3;
    margin: 0;
    font-size: 14px;
}
.king-case-spec__list dt {
    background: #F5F7FB;
    color: #1E284D;
    font-weight: 700;
}
.king-case-spec__list dt:first-of-type,
.king-case-spec__list dd:nth-of-type(1) { border-top: 0; }
.king-case-spec__list a { color: #1E284D; text-decoration: underline; }
.king-case-spec__price {
    color: #B49500 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    font-family: "Palatino", serif;
}
@media (max-width: 560px) {
    .king-case-spec__list { grid-template-columns: 1fr; }
    .king-case-spec__list dt { border-top: 1px solid #E8ECF3; }
    .king-case-spec__list dd { border-top: 0; padding-top: 6px; }
}

/* ============================================================
 * page-king-top 専用（オプション微調整）
 * ============================================================ */
.king-kv--top {
    padding: 96px 24px 104px;
}

/* ============================================================
 * Archive ページ用（area / maker）
 * ============================================================ */
.king-area-archive__region,
.king-maker-archive__country {
    margin-bottom: 40px;
}
.king-area-archive__region-head,
.king-maker-archive__country-head {
    font-size: 18px;
    font-weight: 700;
    color: #1E284D;
    margin: 0 0 18px;
    padding: 10px 14px;
    border-left: 4px solid #B49500;
    background: #F5F7FB;
}
.king-area-archive__sub {
    list-style: none;
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px dashed #E8ECF3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}
.king-area-archive__sub li::before {
    content: "└";
    color: #B49500;
    margin-right: 4px;
}
.king-area-archive__sub a {
    color: #1E284D;
    text-decoration: none;
    font-size: 13px;
}
.king-area-archive__sub a:hover { text-decoration: underline; }

/* ============================================================
 * パンくず（簡易）
 * ============================================================ */
.king-bread {
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 12px;
    color: #777;
}
.king-bread a {
    color: #1E284D;
    text-decoration: none;
}
.king-bread a:hover { text-decoration: underline; }
.king-bread__sep {
    margin: 0 8px;
    color: #B49500;
}
