.clinic-page .clinic-menu-toggle { padding: 0; border: 0; background: transparent; cursor: pointer; }
.clinic-page .clinic-menu-toggle img { display: block; }
.clinic-page .h1box .clinic-tagline { color: #81511c; font-size: 16px; font-weight: bold; text-align: center; text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff; }
.clinic-page .clinic-map-slot { height: 390px; width: 100%; margin: 0 auto 30px; background-color: #f6f5ef; }
.clinic-page #accessWrap .clinic-map-slot iframe { display: block; width: 100%; height: 100%; border: 0; margin: 0; }
.clinic-page a:focus-visible, .clinic-page button:focus-visible { outline: 3px solid #8b4c1b; outline-offset: 2px; }
.clinic-hallux { display: block; max-width: 1170px; margin-inline: auto; scroll-margin-top: 70px; }
.clinic-hallux-art, .clinic-hallux-art img { display: block; }
.clinic-hallux-art img { width: 100%; height: auto; }
.clinic-hallux-title, .clinic-hallux-labels, .clinic-hallux-question, .clinic-hallux-symptoms, .clinic-hallux-detail { display: none; }
@font-face {
    font-family: "Hallux Rounded";
    src: url("media/rounded-gaihan.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@media (max-width: 767px) {
    .clinic-page #naviWrap.clinic-menu-open { display: block; }
    .clinic-page .clinic-map-slot { height: 300px; margin-bottom: 20px; }
    .clinic-page .h1box.honin .clinic-tagline, .clinic-page .h1box.shiraoka .clinic-tagline { font-size: 13px; }
    .clinic-page .h1box.takanodai .clinic-tagline { font-size: 14px; }
    .clinic-page .clinic-hallux {
        width: 100%;
        max-width: 590px;
        box-sizing: border-box;
        overflow: hidden;
        border: 3px solid #906856;
        background: #ffecd8;
        color: #77523d;
        font-family: "Hallux Rounded", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
        font-weight: 800;
        text-align: start;
        text-decoration: none;
    }
    .clinic-hallux-title {
        display: block;
        aspect-ratio: 576 / 68;
        margin: 6px 6px 7px;
        background: url("../../themes/machino2018/images/gaihan.jpg") 98.485% 5.921% / 203.125% 323.53% no-repeat;
    }
    .clinic-hallux-art {
        position: relative;
        overflow: hidden;
        aspect-ratio: 565 / 206;
        margin: 0 7px 7px;
    }
    /* The left 565px of the original 1170px banner contains the three photographs. */
    .clinic-page .clinic-hallux .clinic-hallux-art img {
        position: absolute;
        width: 207.08%;
        max-width: none;
        height: auto;
        left: -.885%;
        top: -2.43%;
    }
    .clinic-hallux-labels {
        position: absolute;
        inset: 0 0 auto auto;
        display: grid;
        grid-template-columns: 47% 53%;
        align-items: center;
        width: 52.5%;
        height: 16%;
        background: #fcecd8;
        font-size: clamp(13px, 3.4vw, 16px);
        font-weight: 800;
        line-height: 1;
        text-align: center;
    }
    .clinic-hallux-question {
        display: block;
        margin: 0 6px;
        padding: 4px 1px 5px;
        background: #ffad49;
        color: #fff;
        font-size: clamp(14px, 4.2vw, 19px);
        font-weight: 800;
        text-shadow: 0 1px 2px #8e4d14;
        line-height: 1.4;
        text-align: center;
    }
    .clinic-hallux-symptoms {
        display: grid;
        gap: 4px;
        padding: 8px clamp(10px, 3.4vw, 18px);
        font-size: clamp(16px, 4.7vw, 22px);
        font-weight: 800;
        line-height: 1.55;
    }
    .clinic-hallux-symptoms > span { position: relative; padding-left: 1.55em; }
    .clinic-hallux-symptoms strong { color: #ed1269; font-weight: inherit; }
    .clinic-hallux-symptoms > span::before {
        content: "";
        position: absolute;
        left: 0;
        top: .27em;
        width: 1em;
        height: 1em;
        box-sizing: border-box;
        border: 2px solid #f52179;
    }
    .clinic-hallux-symptoms > span::after {
        content: "";
        position: absolute;
        left: .29em;
        top: .26em;
        width: .34em;
        height: .68em;
        border: solid #f52179;
        border-width: 0 2px 2px 0;
        transform: rotate(40deg);
    }
    .clinic-hallux-detail {
        display: block;
        width: fit-content;
        min-width: 60%;
        margin-left: auto;
        padding: 5px 10px 6px;
        background: #916950;
        color: #fff;
        font-size: clamp(17px, 4.8vw, 22px);
        font-weight: 800;
        line-height: 1.5;
        text-align: center;
    }
    .clinic-hallux-detail::after { content: " >>>"; }
}
@media (max-width: 359px) {
    .clinic-page .machikotsu figure figcaption .name { white-space: normal; }
    .clinic-page .machikotsu figure figcaption .name .kana { display: inline-block; margin: 0 .25em; }
}
