/* The address in the header/footer and the adjacent booking link remain visible. */
a[data-mz-phone][aria-disabled="true"] {
    cursor: default !important;
    pointer-events: none;
    font-size: 0 !important;
    text-decoration: none !important;
}
a[data-mz-phone][aria-disabled="true"] > :not(.loca) { display: none !important; }
a[data-mz-phone][aria-disabled="true"]::before {
    content: attr(aria-label) !important;
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    font: 600 14px/1.45 sans-serif;
    letter-spacing: normal;
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
    text-align: center;
}
.hcontact-phone[data-mz-phone][aria-disabled="true"]::before { margin-bottom: 3px; }
.ft-contact .hcontact-phone[data-mz-phone][aria-disabled="true"] { color: #fff; }
.blue_btn[data-mz-phone][aria-disabled="true"],
.fixed-phone[data-mz-phone][aria-disabled="true"] {
    background: #515d65 !important;
    color: white !important;
    box-shadow: none !important;
    justify-content: center;
}
.fixed-phone[data-mz-phone][aria-disabled="true"]::before,
#fixed-btn .tel_btn[data-mz-phone][aria-disabled="true"]::before {
    content: attr(data-mz-compact) !important;
    white-space: pre-line;
}
.header-text_tel:has([data-mz-phone][aria-disabled="true"]) > p { display: none; }
.ft-anc a[data-mz-phone][aria-disabled="true"]::after { display: none; }

/* Keep both actions legible side by side on the floating LP control. */
#fixed-btn .tel_btn[data-mz-phone][aria-disabled="true"],
#fixed-btn .web_btn[data-mz-booking] {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-height: 48px;
    padding: 6px 12px;
    border-radius: 10px;
    text-align: center;
}
#fixed-btn .tel_btn[data-mz-phone][aria-disabled="true"] {
    max-width: 52vw;
    background: #515d65;
    color: #fff;
    box-shadow: none;
    opacity: 1;
}
#fixed-btn .web_btn[data-mz-booking] { max-width: 43vw; background: #a9390d; color: #fff; opacity: 1; }
#fixed-btn .web_btn[data-mz-booking] img { display: none; }
#fixed-btn .web_btn[data-mz-booking]::after {
    content: "初診のWeb予約は\aこちら";
    white-space: pre-line;
    font: 700 14px/1.35 sans-serif;
}
.hcontact-web[data-mz-booking] .icon { font-size: clamp(15px,1.5vw,21px); letter-spacing: normal; }
.fixed-list .fixed-web[data-mz-booking] .icon {
    font-size: clamp(14px,3.6vw,17px);
    line-height: 1.4;
    padding: 0;
    background: none;
    letter-spacing: normal;
    white-space: pre-line;
    text-align: center;
}
.fixed-list .fixed-web[data-mz-booking] .fw-tt { display: none; }
.fixed-list .fixed-web[data-mz-booking] { padding: 4px; }
.orange_btn[data-mz-booking] .btn_text,
.orange_btn[data-mz-booking] .btn_text span {
    font-size: clamp(15px,2.3vw,26px) !important;
    letter-spacing: normal !important;
    white-space: normal !important;
}
@media (max-width: 600px) {
    .blue_btn[data-mz-phone][aria-disabled="true"][data-mz-compact$="から"]::before {
        content: attr(data-mz-compact) "承ります" !important;
        white-space: pre-line;
    }
    #fixed-btn .tel_btn[data-mz-phone][aria-disabled="true"] { padding-inline: 6px; }
    #fixed-btn .tel_btn[data-mz-phone][aria-disabled="true"]::before { font-size: 13px; white-space: pre; }
}
