@charset "utf-8";

/* ========================================================================
[sp]
========================================================================= */
.office-list {
    background: #fff;
    color: #000;
    font-family: var(--font-sans-serif);
    margin: 0 auto calc(80 * var(--vw-unit));
    width: calc(327 * var(--vw-unit));
}

.office-card {
    border-bottom: 1px solid #CCC;
    display: block;
    padding: calc(32 * var(--vw-unit)) 0;
}

.office-card:first-child {
    border-top: 1px solid #CCC;
}

.office-card__area {
    font-size: calc(20 * var(--vw-unit));
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin: 0 0 calc(16 * var(--vw-unit));
}

.office-card__name {
    font-size: calc(18 * var(--vw-unit));
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin: 0 0 calc(12 * var(--vw-unit));
    padding: 0 0 0 calc(20 * var(--vw-unit));
    position: relative;
}

.office-card__name::before {
    background-color: #0F78C0;
    content: "";
    width: calc(6 * var(--vw-unit));
    height: calc(6 * var(--vw-unit));
    border-radius: calc(3 * var(--vw-unit));
    background: linear-gradient(66deg, #117DCA 8.56%, #1887C7 50%, #53CCEA 91.44%);
    position: absolute;
    left: calc(5 * var(--vw-unit));
    top: calc(50% - calc(3 * var(--vw-unit)));
}

.office-card__office+.office-card__office {
    margin-top: calc(32 * var(--vw-unit));
}

.office-card__address {
    font-size: calc(14 * var(--vw-unit));
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    margin: 0;
    word-break: break-word;
}

.office-card__map {
    align-items: center;
    color: #0F3752;
    display: flex;
    font-size: calc(14 * var(--vw-unit));
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin: calc(20 * var(--vw-unit)) 0 0 auto;
    padding-right: calc(28 * var(--vw-unit));
    position: relative;
    text-decoration: underline;
    width: fit-content;
}

.office-card__map::after {
    background-color: #0F78C0;
    content: "";
    width: calc(16 * var(--vw-unit));
    height: calc(16 * var(--vw-unit));
    position: absolute;
    right: 0;
    top: calc(50% - calc(8 * var(--vw-unit)));
    -webkit-mask: var(--icon-external-arrow);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask: var(--icon-external-arrow);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}



/*==================================================
pc
================================================== */
@media print,
screen and (min-width:768px) {




    /* ========================================================================
    [pc]
    ========================================================================= */
    .office-list {
        margin: 0 auto 100px;
        width: 800px;
    }

    .office-card {
        display: block;
        padding: 32px 0;
    }

    .office-card__area {
        font-size: 20px;
        margin: 0 0 16px;
    }

    .office-card__name {
        flex-basis: 100%;
        font-size: 20px;
        margin: 0 0 12px;
        padding: 0 0 0 20px;
    }

    .office-card__name::before {
        background-color: #0F78C0;
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 3px;
        background: linear-gradient(66deg, #117DCA 8.56%, #1887C7 50%, #53CCEA 91.44%);
        position: absolute;
        left: 5px;
        top: calc(50% - 3px);
    }

    .office-card__office+.office-card__office {
        margin-top: 32px;
    }

    .office-card__body,
    .office-card__office {
        align-items: flex-end;
        display: flex;
        flex-wrap: wrap;
    }

    .office-card__office {
        width: 100%;
    }

    .office-card__address {
        flex: 1 1 auto;
        font-size: 16px;
        min-width: 0;
    }

    .office-card__map {
        flex: 0 0 auto;
        font-size: 16px;
        margin: 0 0 0 32px;
        padding-right: 28px;
        transition: color 0.3s ease;
    }

    .office-card__map:hover {
        color: rgba(0, 0, 0, 0.4);
    }

    .office-card__map::after {
        width: 16px;
        height: 16px;
        top: calc(50% - 8px);
    }





}
