.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: 160px;
    padding: 30.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: 10px;
    margin-bottom: 12px;
}

@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;
        font-size: 17px;
    }
}

.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;
    }
}

.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: 12px;
}

@media screen and (max-width: 1275px) {
    .office-info__hours {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .office-info__hours {
        font-size: 15px;
        letter-spacing: 0.5px;
        margin-bottom: 16px;
    }
}


.office-info__contact {
    width: 236px;
    height: 43px;
    padding: 0 2.5em;
    background: var(--accent, #E85959);
    color: var(--fg, #fff);
    border: 1px solid var(--accent, #E85959);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1.6px;
    line-height: 1;
    font-family: "Zen Kaku Gothic New", sans-serif;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .0s ease;
}


/* dot */
.office-info__contact::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--fg, #fff);
    transition: background-color .25s ease;
    z-index: 1;
}

/* dot起点で広がる背景 */
.office-info__contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    clip-path: circle(0px at calc(100% - 24px) 50%);
    transition: clip-path .45s cubic-bezier(.4,0,.2,1);
    z-index: -1;
}

.office-info__contact:hover::before,
.office-info__contact:focus-visible::before {
    clip-path: circle(800px at calc(100% - 24px) 50%);
}

.office-info__contact:hover,
.office-info__contact:focus-visible {
    color: var(--fg-hover, #E85959);
    outline: none;
}

.office-info__contact:hover::after,
.office-info__contact:focus-visible::after {
    background-color: var(--fg-hover, #E85959);
}



@media screen and (max-width: 1024px) {
    .office-info__contact {
        margin-right: auto;
        margin-left: auto;
    }
}


.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;
}

.office-info__map-text-link {
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: calc(32 / 14);
    font-weight: 500;
    text-decoration: underline;
    position: relative;
    top: -10px;
}

.fa-arrow-up-right-from-square:before {
    position: relative;
    top: -10px;
}

.office-info__map-ico {
    font-size: 15px;
}

/*数字の折り返す禁止*/
@media screen and (max-width: 520px) {
    .office-info__tel {
        letter-spacing: 2px;
        white-space: nowrap;
    }
}