.office-info__inner {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    column-gap: 39.39px;
    border: 4px solid #E85959;
    border-radius: 150px;
    padding: 40.5px 25.25px 38.5px 23.75px;
}

@media screen and (max-width: 1275px) {
    .office-info__inner {
        padding: 40.5px 56.25px 38.5px 56.75px;
    }
}

@media screen and (max-width: 1024px) {
    .office-info__inner {
        padding: 23.3px 25.25px 33.4px 23.75px;
        border: 2px solid #E85959;
        border-radius: unset;
        flex-direction: column;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        row-gap: 17.96px;
        max-width: 500px;
    }
}

.office-info__title {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 2.4px;
    line-height: calc(36 / 24);
    display: flex;
    flex-direction: column;
    row-gap: 15.24px;
    margin-bottom: 16.76px;
}

@media screen and (max-width: 1275px) {
    .office-info__title {
        font-size: 18px;
    }
}

@media screen and (max-width: 1024px) {
    .office-info__title {
        text-align: center;
        line-height: 2;
        letter-spacing: 1.8px;
        margin-bottom: 12.04px;
        row-gap: 0;
    }
}

.office-info__title::after {
    content: "";
    flex-shrink: 0;
    width: 100%;
    /* 線の長さ */
    height: 2px;
    /* 線の太さ */
    background-image: repeating-linear-gradient(to right,
            #000000 0 2px,
            /* ドットの幅 */
            transparent 2px 8px
            /* 間隔 8px */
        );
}

.office-info__address {
    display: block;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1.6px;
    line-height: 2;
    margin-bottom: 6px;
}

@media screen and (max-width: 1024px) {
    .office-info__address {
        letter-spacing: 0.8px;
        margin-bottom: 10px;
    }
}

.office-info__tel {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 40px;
    letter-spacing: 4px;
    color: #E85959;
}

@media screen and (max-width: 1275px) {
    .office-info__tel {
        font-size: 36px;
        letter-spacing: 3px;
    }
}

@media screen and (max-width: 1024px) {
    .office-info__tel {
        letter-spacing: 3.6px;
        margin-bottom: 8.03px;
    }
}

.office-info__hours {
    display: block;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1.6px;
    line-height: 2;
    margin-bottom: 17px;
}

@media screen and (max-width: 1275px) {
    .office-info__hours {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .office-info__hours {
        font-size: 16px;
        letter-spacing: 0.5px;
        margin-bottom: 16px;
    }
}

.office-info__contact {
    max-width: 236px;
    position: relative;
    padding: 8px 84px 11px 84px;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 1.6px;
    color: #fff;
    background-color: #E85959;
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {
    .office-info__contact {
        margin-right: auto;
        margin-left: auto;
    }
}

.office-info__contact::after {
    content: '';
    background-color: #fff;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    right: 12%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.office-info__media-block {
    display: flex;
    column-gap: 8px;
}

@media screen and (max-width: 1024px) {
    .office-info__media-block {
        order: 1;
    }

    .office-info__text-block {
        order: 2;
    }
}

.office-info__image,
.office-info__map {
    border-radius: 10px;
    aspect-ratio: 272 / 224;
    max-width: 272px;
}

@media screen and (max-width: 1275px) {

    .office-info__image,
    .office-info__map {
        max-width: 252px;
    }
}

@media screen and (max-width: 1024px) {

    .office-info__image,
    .office-info__map {
        aspect-ratio: 278 / 157.35;
        max-width: 600px;
        object-fit: cover;
    }
}

.office-info__map-link {
    display: flex;
    align-items: center;
    column-gap: 6.04px;
    padding-left: 24.9px;
    padding-right: 24.9px;
    margin-bottom: 22.03px;
}

.office-info__map-text-link {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: calc(32 / 14);
    font-weight: 500;
    text-decoration: underline;
}

.office-info__map-ico {
    font-size: 15px;
}