﻿/* _svc_page_styles.ascx から外部化（2026-09-28・優先25） */
    /* パンくず（案A：白地＋下線）— EC側と同仕様 */
    .site-bc {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0 0 10px 0;
        padding: 8px 0;
        border-bottom: 1px solid #c5d0e0;
        background: #fff;
        font-size: 13px;
        line-height: 1.45;
        color: #666;
        text-align: left;
    }
    .site-bc-list { list-style: none; margin: 0; padding: 0; display: block; }
    .site-bc-item { display: inline; margin: 0; padding: 0; }
    .site-bc a { color: #1f4f9a !important; text-decoration: none !important; }
    .site-bc a:hover { color: #173d7a !important; text-decoration: underline !important; }
    .site-bc-sep { display: inline-block; margin: 0 6px; color: #99a8bc; font-weight: 400; }
    .site-bc-here { color: #333; font-weight: 400; }
    body.m-shell .site-bc { margin: 0 0 8px 0; padding: 8px 0; font-size: 12px; }
    body.m-shell .site-bc-sep { margin: 0 4px; }

    .svc-page {
        /* DZ-19 / Q75=A: 読み物本文を一覧・詳細と同幅（約800） */
        width: 810px;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 0 8px 0;
        padding: 20px 20px 8px;
        background: #fff;
        font-family: var(--font-sans, "Yu Gothic", "游ゴシック", YuGothic, Meiryo, "メイリオ", sans-serif);
        font-size: 14px;
        line-height: 1.7;
        color: #222;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .svc-page.svc-page--wide {
        width: 810px;
        max-width: 100%;
    }
    .svc-page .sp-title {
        margin: 0 0 8px 0;
        font-size: 22px;
        font-weight: 700;
        color: #1f4f9a;
        line-height: 1.35;
    }
    .svc-page .sp-intro {
        margin: 0 0 20px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-section {
        margin: 0 0 28px 0;
        padding: 0;
    }
    .svc-page .sp-section:last-child {
        margin-bottom: 0;
    }
    .svc-page .sp-h2 {
        margin: 0 0 12px 0;
        padding: 0 0 6px 0;
        border-bottom: 2px solid #1f4f9a;
        font-size: 18px;
        font-weight: 700;
        color: #1f4f9a;
        line-height: 1.4;
    }
    .svc-page .sp-lead {
        margin: 0 0 12px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-list {
        margin: 0;
        padding: 0 0 0 1.4em;
    }
    .svc-page .sp-list li {
        margin: 0 0 8px 0;
        font-size: 14px;
        line-height: 1.7;
        color: #222;
    }
    /* 配達時間帯：ラベル幅を揃え、半角数字の見た目差を抑える */
    .svc-page .sp-time-slots {
        list-style: none;
        padding-left: 0;
        margin: 8px 0 0 0;
    }
    .svc-page .sp-time-slots li {
        display: flex;
        align-items: baseline;
        gap: 4px;
        margin: 0 0 4px 0;
        padding: 0;
        font-size: 14px;
        line-height: 1.7;
        color: #222;
    }
    .svc-page .sp-time-slots .sp-time-label {
        flex: 0 0 4.5em;
        font-size: 14px;
        font-weight: 400;
        color: #222;
    }
    .svc-page .sp-time-slots .sp-time-range {
        flex: 0 0 auto;
        font-size: 14px;
        font-weight: 400;
        color: #222;
        font-variant-numeric: tabular-nums;
    }
    .svc-page .sp-steps {
        margin: 0;
        padding: 0 0 0 1.6em;
        list-style: decimal;
    }
    .svc-page .sp-steps li {
        margin: 0 0 10px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-steps li:last-child {
        margin-bottom: 0;
    }
    .svc-page .sp-method {
        margin: 0 0 16px 0;
        padding: 0 0 16px 0;
        border-bottom: 1px solid #e0e5ef;
    }
    .svc-page .sp-method:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .svc-page .sp-method-head {
        margin: 0 0 6px 0;
        font-size: 15px;
        font-weight: 700;
        color: #1f4f9a;
        line-height: 1.4;
    }
    .svc-page .sp-method-head .num {
        color: inherit;
        margin-right: 4px;
    }
    .svc-page .sp-method p {
        margin: 0 0 4px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-method p:last-child {
        margin-bottom: 0;
    }
    .svc-page .sp-sub {
        margin: 0 0 16px 0;
    }
    .svc-page .sp-sub:last-child {
        margin-bottom: 0;
    }
    .svc-page .sp-sub-title {
        margin: 0 0 6px 0;
        font-size: 15px;
        font-weight: 700;
        color: #1f4f9a;
    }
    .svc-page .sp-sub p {
        margin: 0 0 4px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-note {
        margin: 8px 0 0 0;
        font-size: 13px;
        color: #333;
        line-height: 1.6;
    }
    .svc-page .sp-em {
        color: #222;
        font-weight: 700;
    }
    .svc-page .sp-strike {
        color: #c85a10;
        font-weight: 700;
        text-decoration: line-through;
    }
    .svc-page .sp-box {
        margin: 0 0 20px 0;
        padding: 16px 18px;
        background: #f7f9fc;
        border: 2px solid #1f4f9a;
        border-radius: 8px;
    }
    .svc-page .sp-section > .sp-box:last-child {
        margin-bottom: 0;
    }
    .svc-page .sp-box-title {
        margin: 0 0 8px 0;
        font-size: 15px;
        font-weight: 700;
        color: #1f4f9a;
        line-height: 1.4;
    }
    .svc-page .sp-box p {
        margin: 0 0 6px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-box p:last-child {
        margin-bottom: 0;
    }
    .svc-page .sp-summary-steps {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 12px 0;
        padding: 0;
        list-style: none;
    }
    .svc-page .sp-summary-steps li {
        flex: 1 1 140px;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 10px 12px;
        background: #fff;
        border: 1px solid #c5d0e0;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        color: #222;
        line-height: 1.4;
        box-sizing: border-box;
    }
    .svc-page .sp-summary-steps .num {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #1f4f9a;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }
    .svc-page .sp-hero-img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 0 16px 0;
        border-radius: 8px;
    }
    .svc-page .sp-img-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 12px 0;
        max-width: 100%;
    }
    .svc-page .sp-img-row > img {
        flex: 1 1 180px;
        min-width: 0;
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
        border-radius: 4px;
    }
    .svc-page .sp-img-row img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
    }
    .svc-page .sp-pack-steps {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 12px 0 0 0;
        align-items: flex-start;
    }
    .svc-page .sp-pack-step {
        flex: 1 1 160px;
        text-align: center;
        font-size: 13px;
        color: #222;
        line-height: 1.5;
    }
    .svc-page .sp-pack-step img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto 8px;
        border-radius: 4px;
    }
    .svc-page .sp-media {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin: 12px 0 0 0;
        align-items: flex-start;
        max-width: 100%;
    }
    .svc-page .sp-media-body {
        flex: 1 1 280px;
        min-width: 0;
    }
    .svc-page .sp-media-side {
        flex: 1 1 120px;
        min-width: 0;
        max-width: 160px;
    }
    .svc-page .sp-media-side img {
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 4px;
    }
    .svc-page .sp-map {
        display: block;
        width: 100%;
        max-width: 400px;
        height: 300px;
        border: 1px solid #c5d0e0;
        border-radius: 8px;
        margin: 0;
    }
    .svc-page .sp-access {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 12px 0 0 0;
    }
    .svc-page .sp-access-map .sp-map {
        max-width: 100%;
        width: 100%;
        height: 360px;
    }
    .svc-page .sp-access-body .sp-box {
        margin-top: 0;
    }
    .svc-page .sp-media-map {
        flex: 1 1 280px;
        min-width: 0;
    }
    .svc-page .sp-media-map img {
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        margin: 0 0 12px 0;
    }
    .svc-page .sp-img-row .sp-img-cell {
        flex: 1 1 240px;
        min-width: 0;
    }
    .svc-page .sp-img-row .sp-img-cell img {
        display: block;
        width: 100%;
        height: auto;
    }
    .svc-page table.sp-table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
        margin: 0 0 8px 0;
        font-size: 14px;
        table-layout: fixed;
    }
    .svc-page table.sp-table th,
    .svc-page table.sp-table td {
        padding: 8px 10px;
        border: 1px solid #c5d0e0;
        text-align: left;
        vertical-align: top;
        line-height: 1.5;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    .svc-page table.sp-table th {
        background: #f7f9fc;
        color: #333;
        font-weight: 700;
        text-align: left;
        white-space: normal;
    }
    .svc-page table.sp-table td.sp-price {
        color: #c85a10;
        font-weight: 700;
        white-space: normal;
    }
    .svc-page .sp-case {
        margin: 0 0 16px 0;
        padding: 0 0 16px 0;
        border-bottom: 1px solid #e0e5ef;
    }
    .svc-page .sp-case:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .svc-page .sp-case p {
        margin: 0 0 4px 0;
        font-size: 14px;
        color: #222;
        line-height: 1.7;
    }
    .svc-page .sp-case .sp-case-label {
        font-weight: 700;
        color: #1f4f9a;
    }
    /* 文中リンク（ボタンにしない） */
    .svc-page a.sp-text-link {
        display: inline;
        margin: 0;
        padding: 0;
        background: none;
        color: #1f4f9a !important;
        font-size: inherit;
        font-weight: 700;
        text-decoration: underline !important;
        border: none;
        border-radius: 0;
        line-height: inherit;
    }
    .svc-page a.sp-text-link:hover {
        color: #173d7a !important;
        background: none !important;
        text-decoration: underline !important;
    }
    .svc-page a.sp-link {
        display: inline-block;
        margin: 8px 8px 0 0;
        padding: 8px 16px;
        background: #fff;
        color: #1f4f9a !important;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        border: 2px solid #1f4f9a;
        border-radius: 8px;
        line-height: 1.4;
        box-sizing: border-box;
    }
    .svc-page a.sp-link:hover {
        background: #f8fbff !important;
        color: #1f4f9a !important;
        text-decoration: none !important;
    }
    .svc-page a.sp-link-secondary {
        display: inline-block;
        margin: 8px 8px 0 0;
        padding: 8px 16px;
        background: #fff;
        color: #1f4f9a !important;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        border: 2px solid #1f4f9a;
        border-radius: 8px;
        line-height: 1.4;
        box-sizing: border-box;
    }
    .svc-page a.sp-link-secondary:hover {
        background: #f8fbff !important;
        color: #1f4f9a !important;
        text-decoration: none !important;
    }
    .svc-page a.sp-cta-primary {
        display: inline-block;
        margin: 8px 8px 0 0;
        padding: 8px 16px;
        background: #f07812;
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
        border-radius: 8px;
        line-height: 1.4;
    }
    .svc-page a.sp-cta-primary:hover {
        background: #c85a10 !important;
        color: #fff !important;
        text-decoration: none !important;
    }
    .svc-page .sp-cta-row {
        margin: 12px 0 16px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        max-width: 100%;
    }
    .svc-page .sp-cta-row > a {
        max-width: 100%;
        box-sizing: border-box;
    }
    .svc-page .sp-account {
        margin: 12px 0;
        padding: 12px 16px;
        background: #f7f9fc;
        border: 1px solid #c5d0e0;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.7;
        color: #222;
    }
    .svc-page .sp-flow-arrow {
        margin: 4px 0 12px 0;
        text-align: center;
        color: #1f4f9a;
        font-weight: 700;
        font-size: 16px;
        line-height: 1;
    }
    .svc-page a:not([class]) {
        color: #1f4f9a;
        text-decoration: underline;
    }
    .svc-page a:not([class]):hover {
        color: #173d7a;
    }


    /* DZ-18 / Q78=A: 読み物の要点カード（トップのカード＋線アイコン調） */
    .svc-page .sp-facts,
    .kaitori-page .sp-facts {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 0 0 4px 0;
        padding: 0;
        list-style: none;
    }
    .svc-page .sp-fact,
    .kaitori-page .sp-fact {
        flex: 1 1 230px;
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 0;
        padding: 12px 14px;
        background: #f7f9fc;
        border: 1px solid #c5d0e0;
        border-radius: 8px;
        color: #222;
    }
    .svc-page .sp-fact-icon,
    .kaitori-page .sp-fact-icon {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        margin-top: 1px;
        color: #1f4f9a;
        line-height: 0;
    }
    .svc-page .sp-fact-icon svg,
    .kaitori-page .sp-fact-icon svg {
        width: 28px;
        height: 28px;
        display: block;
    }
    .svc-page .sp-fact-body,
    .kaitori-page .sp-fact-body {
        flex: 1 1 auto;
        min-width: 0;
        display: block;
    }
    .svc-page .sp-fact-label,
    .kaitori-page .sp-fact-label {
        display: block;
        margin: 0 0 4px 0;
        font-size: 14px;
        font-weight: 700;
        color: #1f4f9a;
        line-height: 1.35;
    }
    .svc-page .sp-fact-text,
    .kaitori-page .sp-fact-text {
        display: block;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
        color: #333;
        line-height: 1.7;
    }
    body.m-shell .svc-page .sp-fact,
    body.m-shell .kaitori-page .sp-fact {
        flex: 1 1 100%;
    }
    /* H3: 拡大表示でも本文右端が切れない（viewport・全面レスポンシブは変えない） */
    .main.h3-overflow-safe {
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }

    /* DZ-18: 読み物ページの写真（メイン1枚＋必要ならサブ1枚）
       枠線・角丸は画像側に焼き込まず、ここで付ける */
    .svc-page .sp-figure,
    .kaitori-page .sp-figure {
        margin: 0 0 20px 0;
    }
    .svc-page .sp-figure img,
    .kaitori-page .sp-figure img {
        display: block;
        width: 100%;
        max-width: 770px;
        height: auto;
        box-sizing: border-box;
        border: 1px solid #c5d0e0;
        border-radius: 8px;
    }
    .svc-page .sp-figure figcaption,
    .kaitori-page .sp-figure figcaption {
        margin: 7px 0 0 0;
        font-size: 13px;
        color: #555;
        line-height: 1.6;
    }
    .svc-page .sp-figure-sub,
    .kaitori-page .sp-figure-sub {
        float: right;
        width: 200px;
        max-width: 40%;
        margin: 4px 0 12px 18px;
    }
    .svc-page .sp-figure-sub img,
    .kaitori-page .sp-figure-sub img {
        display: block;
        width: 100%;
        height: auto;
        box-sizing: border-box;
        border: 1px solid #c5d0e0;
        border-radius: 8px;
    }
    .svc-page .sp-figure-sub figcaption,
    .kaitori-page .sp-figure-sub figcaption {
        margin: 5px 0 0 0;
        font-size: 12px;
        color: #555;
        line-height: 1.5;
    }
    .svc-page .sp-figure-clear,
    .kaitori-page .sp-figure-clear {
        clear: both;
    }
    /* スマホでは回り込みをやめて横幅いっぱいに */
    body.m-shell .svc-page .sp-figure-sub,
    body.m-shell .kaitori-page .sp-figure-sub {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 12px 0;
    }

    /* DZ-18: 買取の受付案内。店頭看板の内容を作り直したもの。
       画像ではなく文字なので、拡大しても滲まず読み上げにも乗る */
    .svc-page .sp-pop,
    .kaitori-page .sp-pop {
        margin: 0 0 20px 0;
        padding: 34px 24px;
        background: #a9d6c6;
        border: 5px solid #7eb4a0;
        border-radius: 10px;
        text-align: center;
        box-sizing: border-box;
    }
    .svc-page .sp-pop-head,
    .kaitori-page .sp-pop-head {
        margin: 0;
        color: #5f4630;
        font-size: 40px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: .04em;
    }
    .svc-page .sp-pop-note,
    .kaitori-page .sp-pop-note {
        display: inline-block;
        margin: 20px 0 0 0;
        padding: 9px 20px;
        background: #fcfdfc;
        border: 3px solid #7c6046;
        border-radius: 999px;
        color: #5f4630;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.5;
    }
    body.m-shell .svc-page .sp-pop,
    body.m-shell .kaitori-page .sp-pop { padding: 22px 14px; }
    body.m-shell .svc-page .sp-pop-head,
    body.m-shell .kaitori-page .sp-pop-head { font-size: 26px; }
    body.m-shell .svc-page .sp-pop-note,
    body.m-shell .kaitori-page .sp-pop-note { font-size: 13px; padding: 8px 14px; margin-top: 16px; }
