/* ─────────────────────────────────────────
   PAGE ACCESS MAP — アクセスマップ
   ───────────────────────────────────────── */

/* ── Title band (teal strip, same look as the QA/WSR page bands) ── */
.am-title-band-wrap {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 2rem;
}
.am-title-band {
    display: inline-block;
    background: #4DB1AF;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    padding: 18px 48px 18px 28px;
    margin: 0;
}

/* ── Section: centered title with teal rules on both sides ── */
.am-section {
    margin-bottom: 64px;
}
.am-section-title {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 22px;
    font-weight: 700;
    color: #008F8D;
    text-align: center;
    margin: 0 0 28px;
}
.am-section-title::before,
.am-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #008F8D;
}

/* ── 本部 Section Grid ── */
.am-honbu-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 36px;
    align-items: stretch;
}
.am-honbu-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.am-honbu-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.am-address {
    font-size: 15px;
    color: #333F50;
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    font-weight: 500;
}

/* ── Map container ── */
.am-honbu-right {
    display: flex;
    flex-direction: column;
}
.am-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.am-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 280px;
}

/* ── 事務所 Section Grid ── */
.am-jimusho-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}
.am-office-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.am-office-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.am-office-address {
    margin-top: 4px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .am-honbu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .am-honbu-img {
        height: auto;
        max-height: 320px;
    }
    .am-map-wrapper {
        min-height: 320px;
    }
    .am-jimusho-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .am-office-img {
        height: auto;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .am-title-band {
        font-size: 20px;
        padding: 14px 32px 14px 20px;
    }
    .am-section-title {
        font-size: 18px;
        gap: 14px;
    }
}
