/* 武蔵小山店専用。共通UIは css/hanbai-tokyo.css を直接継承する。 */

.mog-musashikoyama-hero {
    --musashi-green: #087c35;
    --musashi-orange: #f45112;
    --musashi-yellow: #f2c84b;
    --musashi-ink: #252b27;
    box-sizing: border-box;
}
.mog-musashikoyama-hero *,
.mog-musashikoyama-hero *::before,
.mog-musashikoyama-hero *::after { box-sizing: border-box; }

/* =========================================================
   Hero
   ========================================================= */
.mog-musashikoyama-hero .hero {
    position: relative;
    width: 100%;
    height: 520px;
    min-height: 520px;
    overflow: hidden;
    background: #fffaf0;
}

.mog-musashikoyama-hero .hero > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.mog-musashikoyama-hero .hero__bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mog-musashikoyama-hero .hero__overlay {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(720px, 48vw);
    max-width: calc(100% - 48px);
    transform: translate(-50%, -48%);
    color: #252b27;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900;
    text-align: center;
}

.mog-musashikoyama-hero .hero__brandline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    margin: 0 0 8px;
    font-size: clamp(20px, 1.65vw, 30px);
    font-weight: 900;
    line-height: 1.25;
}

.mog-musashikoyama-hero .hero__brandline .buy {
    color: var(--musashi-green);
}

.mog-musashikoyama-hero .hero__brandline .sell {
    color: var(--musashi-orange);
}

.mog-musashikoyama-hero .hero__title {
    margin: 0;
    padding: 0;
    color: #242824;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .02em;
}

.mog-musashikoyama-hero .hero__stations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    margin-top: 8px;
    color: #333b35;
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 900;
    line-height: 1.4;
}

.mog-musashikoyama-hero .hero__ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.mog-musashikoyama-hero .hero__cta,
.mog-musashikoyama-hero .hero__cta--buy,
.mog-musashikoyama-hero .hero__cta--sale {
    display: flex;
    flex: 0 0 112px;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    padding: 12px;
    border: 2px solid #ddb535;
    border-radius: 50%;
    background: var(--musashi-yellow);
    color: #2e2a1d;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
}

.mog-musashikoyama-hero .hero__desc {
    max-width: 620px;
    margin: 14px 0 0;
    padding: 0;
    color: #3b403c;
    font-size: clamp(13px, .95vw, 16px);
    font-weight: 900;
    line-height: 1.55;
}


@media (max-width: 768px) {
    .mog-musashikoyama-hero .hero {
        height: auto;
        aspect-ratio: 1024 / 1100;
        min-height: 0;
    }

    .mog-musashikoyama-hero .hero__overlay {
        top: 48%;
        width: calc(100% - 32px);
        max-width: 520px;
        transform: translate(-50%, -50%);
    }

    .mog-musashikoyama-hero .hero__brandline {
        gap: 2px 10px;
        margin-bottom: 5px;
        font-size: clamp(17px, 5.1vw, 22px);
    }

    .mog-musashikoyama-hero .hero__title {
        font-size: 32px;
    }

    .mog-musashikoyama-hero .hero__stations {
        gap: 3px 10px;
        margin-top: 6px;
        font-size: clamp(12px, 3.4vw, 15px);
    }

    .mog-musashikoyama-hero .hero__ctas {
        gap: 8px;
        margin-top: 13px;
    }

    .mog-musashikoyama-hero .hero__cta,
    .mog-musashikoyama-hero .hero__cta--buy,
    .mog-musashikoyama-hero .hero__cta--sale {
        flex-basis: 92px;
        width: 92px;
        height: 92px;
        padding: 8px;
        font-size: 15px;
    }

    .mog-musashikoyama-hero .hero__desc {
        max-width: 320px;
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.5;
    }

}

.mog-hanbai-store-card__heading {
    margin: 0 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--mog-hanbai-green);
}

.mog-hanbai-store-card__heading-title {
    margin: 0;
    color: #163d28;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.mog-hanbai-store-card__heading-subtitle {
    margin: 4px 0 0;
    color: #25322a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .mog-hanbai-store-card__heading {
        margin-bottom: 10px;
        padding-left: 9px;
    }

    .mog-hanbai-store-card__heading-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.4;
    }

    .mog-hanbai-store-card__heading-subtitle {
        font-size: 14px;
    }
}

.mog-hanbai-store-card__product-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 5px;
    color: var(--mog-hanbai-green);
    font-weight: 800;
}

.mog-hanbai-store-card__product-heading svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mog-hanbai-store-card__delivery-area {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--mog-hanbai-line);
    border-radius: 10px;
    color: #25322a;
    text-align: left;
}

.mog-hanbai-store-card__delivery-area-title {
    display: block;
    margin: 0 0 6px;
    color: var(--mog-hanbai-green);
    font-weight: 800;
    line-height: 1.5;
}

.mog-hanbai-store-card__delivery-area-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.mog-hanbai-store-card__delivery-area-item {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mog-hanbai-store-card__delivery-area {
        padding: 10px 11px;
    }

    .mog-hanbai-store-card__delivery-area-list {
        font-size: 15px;
    }
}

.mog-hanbai-branch-actions__heading {
    margin: 0 0 14px;
    color: #111;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .mog-hanbai-branch-actions__heading {
        margin-bottom: 10px;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.4;
    }
}

@media (min-width: 769px) {


/* 武蔵小山店固有部分。共通デザイン値は hanbai-tokyo.css を正本として継承。 */
.mog-musashikoyama-content .mog-musashi-copy-panel {
    padding: 24px;
}
.mog-musashikoyama-content .mog-musashi-copy p {
    margin: 0;
}
.mog-musashikoyama-content .mog-musashi-copy p + p {
    margin-top: 12px;
}
.mog-musashikoyama-content .mog-musashi-store-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.mog-musashikoyama-content .mog-musashi-store-photo-panel,
.mog-musashikoyama-content .mog-musashi-store-meta-panel,
.mog-musashikoyama-content .mog-musashi-map-panel,
.mog-musashikoyama-content .mog-musashi-tags-panel {
    padding: 18px;
}
.mog-musashikoyama-content .mog-musashi-store-photo-panel img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 10px;
}
.mog-musashikoyama-content .mog-musashi-store-meta-panel .mog-hanbai-store-card__full-meta {
    margin-top: 0;
}
.mog-musashikoyama-content .mog-musashi-map-panel,
.mog-musashikoyama-content .mog-musashi-tags-panel,
.mog-musashikoyama-content .mog-musashi-branch-panel {
    margin-top: 18px;
}
.mog-musashikoyama-content .mog-musashi-map-panel .mog-hanbai-store-card__sp-map-frame {
    margin-bottom: 0;
}
.mog-musashikoyama-content .mog-musashi-tags-panel .mog-hanbai-campaigns-title {
    margin: 0 0 12px;
}
.mog-musashikoyama-content .mog-musashi-buyback-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.mog-musashikoyama-content .mog-musashi-buyback-phone {
    color: var(--mog-hanbai-orange);
    font-weight: 900;
}
.mog-musashikoyama-content .mog-musashi-branch-lead {
    margin: 0 0 14px;
}
@media (max-width: 768px) {
    .mog-musashikoyama-content .mog-musashi-copy-panel,
    .mog-musashikoyama-content .mog-musashi-store-photo-panel,
    .mog-musashikoyama-content .mog-musashi-store-meta-panel,
    .mog-musashikoyama-content .mog-musashi-map-panel,
    .mog-musashikoyama-content .mog-musashi-tags-panel {
        padding: 16px;
    }
    .mog-musashikoyama-content .mog-musashi-store-info-grid,
    .mog-musashikoyama-content .mog-musashi-buyback-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .mog-musashikoyama-content .mog-musashi-store-photo-panel img {
        min-height: 0;
        aspect-ratio: 828 / 520;
    }
}
