/* =========================
   共通カードスタイル（PC + モバイル）
   ========================= */
.asc-card {
    max-width: 1200px;
    margin: 24px auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    box-sizing: border-box;
    background: #fff;
}

.asc-card--section {
    padding: 24px 28px;
}

.asc-card--tight {
    padding: 16px 18px;
}

.asc-card--no-shadow {
    box-shadow: none;
}

@media (max-width: 768px) {
    .asc-card {
        width: 100%;
        margin: 20px 0;
        border-radius: 10px;
        padding: 18px 20px !important;
    }
}

/* ==========================================
   広告セクション（共通）
   ========================================== */
.asc-ad {
    margin: 40px auto;
    /* PC のデフォルト余白 */
}

.asc-ad .asc-card {
    margin: 0 !important;
}

/* 広告枠（カード風・PC用） */
.asc-ad__card {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

/* picture / img を幅いっぱいに */
.asc-ad__picture {
    display: block;
}

.asc-ad__img {
    display: block;
    width: 100%;
    height: auto;
}

/* 画像全体をクリック可能にする */
.asc-ad__link {
    display: block;
    width: 100%;
    height: 100%;
}


/* ------------------------------------------------
   PC 版：広告はカードとして中央寄せ
   ------------------------------------------------ */
@media (min-width: 769px) {
    .asc-ad {
        max-width: 1040px;
        /* 他カードと幅を合わせて見栄えUP */
    }

    .asc-ad__card {
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    }
}


/* ------------------------------------------------
   モバイル版：広告は画面いっぱい・内側余白なし
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* 幅いっぱいに広げる */
    .asc-ad {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        margin-top: 0;
        /* ★ まず全広告の余白をゼロにする */
        margin-bottom: 0;
    }

    /* カード内のパディングや角丸も全て消す（端まで画像表示） */
    .asc-ad__card {
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent;
        /* 背景は画像だけでOK */
    }

    /* ▼ 最初の広告：上に余白をつける */
    .asc-ad:first-of-type {
        margin-top: 32px;
        /* 調整可能 */
    }

    /* ▼ 最後の広告：下に余白をつける */
    .asc-ad:last-of-type {
        margin-bottom: 32px;
        /* 調整可能 */
    }

    /* ▼ 中央の広告：上下余白なし（完全密着） */
    /* → （何も書かなくても .asc-ad が margin 0 になるのでOK） */
}

/* ==========================================
   PC：広告グループを2カラム表示
   ========================================== */
@media (min-width: 992px) {

    .asc-ad-group {
        /* ← ここで max-width は指定しない（親と同じ幅で広がる） */
        width: 100%;
        margin: 32px 0;
        /* 上下の余白だけ */
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        /* ★広告間の隙間（狭め） */
    }

    /* グループ内の .asc-ad は margin 不要 */
    .asc-ad-group .asc-ad {
        margin: 0;
    }

    /* PC用 カード装飾（角丸＋影） */
    .asc-ad-group .asc-ad__card {
        border-radius: 8px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
        background: #fff;
    }

    /* ① 1枚目：左列を2行ぶち抜き */
    .asc-ad-group .asc-ad:nth-child(1) {
        grid-column: 1;
        grid-row: 1 / span 2;
        /* 1行目〜2行目 */
    }

    /* ② 2枚目：右上 */
    .asc-ad-group .asc-ad:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    /* ③ 3枚目：右下（ご希望の赤枠位置） */
    .asc-ad-group .asc-ad:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
}



/* ==========================================
   共通セクションタイトル（どこでも使える）
   ========================================== */

/* タイトルを乗せるカード全体（必要な場合だけ使う） */
.section-header-card {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 24px 28px 22px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

/* 左に線が入る共通ヘッダー */
.section-header {
    text-align: left;
    border-left: 4px solid var(--vk-color-primary, #c9333e);
    padding-left: 12px;
    margin-bottom: 18px;
}

/* 小さいラベル（例：取扱銘柄） */
.section-header__eyebrow {
    margin: 0 0 2px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #696969;
}

/* 見出し（例：お取り扱い新聞） */
.section-header__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

/* =========================================================
   配達エリア（delivery ページ専用）
   ========================================================= */

/* 各 ASA ブロック全体 */
.delivery-area-block {
    margin: 40px 0;
    padding: 0 0 32px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

/* 見出し：ASA鈴蘭泉台 の配達エリア */
.delivery-area-title {
    margin: 0 0 12px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .08em;
    border: none;
}

.delivery-area-title__asa {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vk-color-primary, #c62828);
}

.delivery-area-title__note {
    margin-left: .4em;
    font-size: 0.95em;
    color: #666;
}

/* タイトル下に細いライン */
.delivery-area-title::after {
    content: none !important;
}

/* 店全体の取扱い銘柄タグ */
.delivery-area-newspapers {
    margin: 12px 0 18px;
    font-size: 0.9rem;
    color: #555;
}

.delivery-area-newspapers .delivery-tag {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .12);
    font-size: 0.82rem;
    background: #fafafa;
}

/* 新聞の組み合わせごとのサブタイトル */
.delivery-subtitle {
    margin: 18px 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
}

/* 住所リスト全体：PC では 2 カラム、SP は 1 カラム */
.delivery-area-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
}

/* 各行：左が郵便番号、右が住所 */
.delivery-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 18px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .06);
    font-size: 0.9rem;
}

.delivery-row__zip {
    white-space: nowrap;
    color: #555;
}

.delivery-row__addr {
    color: #222;
}

/* 最後の行はボーダーを消してもよい場合 */
.delivery-area-rows .delivery-row:last-child {
    border-bottom: none;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 768px) {

    .delivery-area-block {
        margin: 28px 0;
        padding-bottom: 24px;
    }

    .delivery-area-title {
        font-size: 1.2rem;
    }

    .delivery-area-title__asa {
        font-size: 1.3rem;
    }

    .delivery-area-rows {
        grid-template-columns: minmax(0, 1fr);
        /* 1カラムに */
        column-gap: 0;
    }

    .delivery-row {
        grid-template-columns: 92px minmax(0, 1fr);
        padding: 4px 0;
        column-gap: 10px;
    }
}

/* =========================================================
   FAQ（よくあるご質問）コンポーネント
   ※ asc-card / section-header と組み合わせて使用
   ========================================================= */

.faq-block {
    position: relative;
    overflow: hidden;
}

/* 見出し（section-header を拝借） */
.faq-header {
    position: relative;
    margin-bottom: 24px;
}

.faq-hero {
    position: absolute;
    right: -10px;
    top: -15px;
    width: 128px;
    height: 128px;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    /* ← ここが重要 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.faq-hero img {
    width: 160%;
    /* 透明余白をなくすためあえて大きくする */
    height: auto;
    object-fit: cover;
    object-position: center;
    /* 中央に寄せる */
}



/* スマホでは画像ごと非表示 */
@media (max-width: 980px) {
    .faq-hero {
        display: none !important;
    }
}

/* FAQ グリッド（PC：2列 / SP：1列） */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
}

@media (max-width: 980px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* 各項目 */
.faq-item {
    padding-right: 6px;
}

/* 質問（Q） */
.faq-q {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 16px;
    color: #0d2540;
    /* 読みやすい濃紺 */
}

/* 回答（A） */
.faq-a {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #4a5568;
}

/* =========================================================
   FAQ 内リンク・強調表現
   ========================================================= */

/* FAQ内リンク */
.faq-a a {
    color: var(--vk-color-primary, #2563eb);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}

.faq-a a:hover {
    opacity: .75;
}

/* 強調（重要事項・注意点） */
.faq-a strong {
    font-weight: 700;
    color: #0d2540;
}

/* さらに目立たせたい注意文 */
.faq-a .faq-note {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border-left: 3px solid var(--vk-color-primary, #2563eb);
    font-size: 13px;
    color: #334155;
}

/* =========================================================
   ボタン（共通）
   ========================================================= */

.apply-btn-wrap {
    text-align: center;
    margin: 40px 0 20px;
}

.btn-apply {
    display: inline-block;
    background: var(--primary, #c9333e);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    padding: 16px 60px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    transition: background-color .3s ease, transform .2s ease, box-shadow .3s ease;
    color: #fff;
    /* ← テキスト色を常に白にする */
}

/* hover時の反応 */
.btn-apply:hover {
    background: color-mix(in srgb, var(--primary, #c9333e) 80%, white 20%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
    color: #fff;
}

/* スマホ向け */
@media (max-width: 640px) {
    .btn-apply {
        font-size: 16px;
        padding: 14px 40px;
    }
}

/* =========================================================
   追従バナー（左下固定・画像そのまま・影つき）
   ========================================================= */

.follow-banner {
    position: fixed;
    left: 16px;
    bottom: 20px;
    z-index: 900;
    display: none;
    /* ← デフォルトは非表示 */
}

/* PC では大きめ（360px） */
.follow-banner__inner {
    position: relative;
    display: block;
    max-width: 360px;
    /* ← PC版 少し大きく */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    background: transparent;
}

.follow-banner__link {
    display: block;
}

.follow-banner__img {
    display: block;
    width: 230px;
    height: auto;
}

/* 閉じるボタン */
.follow-banner__close {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

/* ---- ホバー時（PC） ---- */
.follow-banner__inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ---------------------------------------------------------
   スマホは小さめ（幅 55vw）で控えめなサイズに
   --------------------------------------------------------- */
@media (max-width: 768px) {
    .follow-banner {
        display: block;
        /* ← モバイルのみ表示 */
    }

    .follow-banner__inner {
        max-width: 55vw;
        /* ← モバイル 小さめ */
        border-radius: 5px;
    }
}