@charset "UTF-8";
/* ==========================================================
   /treatment/ 診療案内トップ（2026-11 デザイン刷新）
   Figma: pc_診療案内 3721:3672 / sp_診療案内 3721:3673
   PC: 1181px〜 / タブレット: 768〜1180px / SP: 〜767px
========================================================== */

.tr,
.tr * {
    box-sizing: border-box;
}
.tr {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", meiryo, sans-serif;
    color: #333;
    letter-spacing: 0;
}
.tr img {
    max-width: 100%;
    height: auto;
}
.tr a,
.tr a:link,
.tr a:visited {
    background: none;
    text-decoration: none;
}
.tr-inner {
    max-width: 1088px;
    width: calc(100% - 80px);
    margin-inline: auto;
}
.tr-title {
    color: #004da0;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}
.tr .tr-sp {
    display: none;
}

/* ---------- MV（共通ヘッダーの上書き） ---------- */
#mv-submv {
    height: 570px;
}
#mv-submv:before {
    background: rgba(14, 97, 160, .72);
}
.sub .mv-type2box {
    background: rgba(0, 71, 157, .88);
}
/* MVの帯の見出しはデザインどおり「診療案内」と表示する。
   パンくず・他ページからのリンク名（診療内容）は共通ヘッダーの $page_h1 のまま */
.sub .mv-type2box .sub_midashitext > span {
    display: none;
}
.sub .mv-type2box .sub_midashitext::before {
    content: "診療案内";
    display: block;
    font-size: 32px;
    font-weight: 400;
    line-height: 106px;
    letter-spacing: .04em;
}

/* ---------- 導入 ---------- */
.tr-intro {
    background: #f7f8f3;
    padding: 40px 0 24px;
}
.tr-intro__body {
    display: grid;
    grid-template-columns: 544px 1fr;
    grid-template-areas:
        "text  figure"
        "cta   figure";
    grid-template-rows: auto 1fr;
    margin-top: 42px;
}
.tr-intro__text {
    grid-area: text;
    padding-top: 4px;
}
.tr .tr-intro__lead {
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    text-align: justify;
}
.tr-intro__tags {
    display: flex;
    gap: 19px;
    margin-top: 26px;
    width: 500px;
    list-style: none;
}
.tr-intro__tags li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 10px;
    background: #1e3560;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
}
.tr-intro__tags li:nth-child(1) {
    width: 214px;
}
.tr-intro__tags li:nth-child(2) {
    width: 267px;
}
.tr .tr-intro__note {
    width: 500px;
    margin-top: 13px;
    padding: 14px 34px;
    border-radius: 8px;
    background: #fff;
    color: #1e3560;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
}
.tr-intro__cta {
    grid-area: cta;
    width: 500px;
    padding-bottom: 22px;
}
.tr-intro__figure {
    grid-area: figure;
    justify-self: end;
    width: 513px;
    margin-right: -48px;
}
.tr-intro__figure-title {
    width: 437px;
    margin-inline: auto;
    padding-bottom: 11px;
    border-bottom: 1px solid #00479d;
    color: #264880;
    font-family: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

/* 円グラフ風の診療体制図（--u = 直径507pxを基準にした1px） */
.tr-circle {
    --w: 507px;
    --u: calc(var(--w) / 507);
    --fu: var(--u);
    position: relative;
    width: var(--w);
    height: var(--w);
    margin: calc(22.5 * var(--u)) auto 0;
}
.tr-circle::after {
    content: "";
    position: absolute;
    inset: calc(-2.88 * var(--u));
    border: calc(6 * var(--u)) solid #fff;
    border-radius: 50%;
    pointer-events: none;
}
.tr-circle__clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
}
.tr-circle__q {
    position: absolute;
    overflow: hidden;
    color: #fff;
}
.tr .tr-circle__q img {
    position: absolute;
    width: calc(278.65 * var(--u));
    height: calc(138.58 * var(--u));
    max-width: none;
    object-fit: cover;
}
.tr .tr-circle__name,
.tr .tr-circle__desc {
    position: absolute;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
}
.tr .tr-circle__name {
    font-size: calc(20 * var(--fu));
    line-height: 2;
}
.tr .tr-circle__desc {
    font-size: calc(14 * var(--fu));
    line-height: 1.4;
}
.tr-circle__q--kyosei {
    left: 0;
    top: 0;
    width: calc(247.26 * var(--u));
    height: calc(233.3 * var(--u));
    background: #0e69b5;
}
.tr .tr-circle__q--kyosei img {
    left: calc(-22.97 * var(--u));
    top: calc(-1.07 * var(--u));
}
.tr-circle__q--kyosei .tr-circle__name {
    left: calc(86.34 * var(--u));
    top: calc(137.78 * var(--u));
}
.tr-circle__q--kyosei .tr-circle__desc {
    left: calc(22.72 * var(--u));
    top: calc(175.91 * var(--u));
}
.tr-circle__q--sogo {
    left: calc(253.45 * var(--u));
    top: 0;
    width: calc(253.45 * var(--u));
    height: calc(233.3 * var(--u));
    background: #19a6bc;
}
.tr .tr-circle__q--sogo img {
    left: calc(1.49 * var(--u));
    top: calc(-1.07 * var(--u));
}
.tr-circle__q--sogo .tr-circle__name {
    left: calc(85.9 * var(--u));
    top: calc(137.78 * var(--u));
}
.tr-circle__q--sogo .tr-circle__desc {
    left: calc(87.54 * var(--u));
    top: calc(175.91 * var(--u));
}
.tr-circle__q--masui {
    left: 0;
    top: calc(239.5 * var(--u));
    width: calc(247.26 * var(--u));
    height: calc(267.5 * var(--u));
    background: #35914b;
}
.tr .tr-circle__q--masui img {
    left: calc(-22.97 * var(--u));
    top: calc(1.5 * var(--u));
}
.tr-circle__q--masui .tr-circle__name,
.tr-circle__q--masui .tr-circle__desc {
    right: calc(11.85 * var(--u));
    text-align: right;
}
.tr-circle__q--masui .tr-circle__name {
    top: calc(140.09 * var(--u));
}
.tr-circle__q--masui .tr-circle__desc {
    top: calc(178.49 * var(--u));
    font-size: calc(15 * var(--fu));
}
.tr-circle__q--yobo {
    left: calc(253.45 * var(--u));
    top: calc(239.5 * var(--u));
    width: calc(253.45 * var(--u));
    height: calc(267.5 * var(--u));
    background: #6775bc;
}
.tr .tr-circle__q--yobo img {
    left: calc(1.49 * var(--u));
    top: calc(1.5 * var(--u));
}
.tr-circle__q--yobo .tr-circle__name {
    left: calc(22.67 * var(--u));
    top: calc(140.09 * var(--u));
}
.tr-circle__q--yobo .tr-circle__desc {
    left: calc(22.67 * var(--u));
    top: calc(178.49 * var(--u));
    font-size: calc(15 * var(--fu));
}
.tr-circle__bar {
    position: absolute;
    background: #fff;
}
.tr-circle__bar--h {
    left: 0;
    right: 0;
    top: calc(233.3 * var(--u));
    height: calc(12.37 * var(--u));
}
.tr-circle__bar--v {
    top: 0;
    bottom: 0;
    left: calc(247.26 * var(--u));
    width: calc(12.37 * var(--u));
}
.tr .tr-circle__center {
    position: absolute;
    left: calc(165.57 * var(--u));
    top: calc(153.14 * var(--u));
    width: calc(175.76 * var(--u));
    height: calc(175.76 * var(--u));
    max-width: none;
    border-radius: 50%;
}

/* ---------- 予約ボタン群（AI予約・電話・WEB予約） ---------- */
.tr-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 322px;
}
.tr a.tr-ai,
.tr a.tr-tel,
.tr a.tr-web {
    position: relative;
    display: block;
    width: 322px;
    height: 64px;
    border-radius: 4px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, .25);
}

/* AI予約・相談 */
.tr a.tr-ai {
    margin-top: 14px;
    border: 1px solid #ddd;
    background: #fff;
    color: #00479d;
}
.tr-ai__main {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}
.tr-ai__band {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 4px 4px;
    background: #00479d;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}
.tr-ai__pill {
    position: absolute;
    left: 47px;
    top: -15px;
    width: 226px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00479d;
    border-radius: 22px;
    background: #fff;
    color: #264880;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}
.tr-ai__avatar {
    position: absolute;
    left: -18px;
    top: -13px;
    width: 62px;
    height: 62px;
    border: 2px solid #264880;
    border-radius: 50%;
    background: #fff;
}
.tr .tr-ai__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.tr-ai__avatar::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #06c755;
}
.tr-ai::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 24px;
    width: 8.3px;
    height: 16.42px;
    background: url(/images/treatment/top/tr-icon-chevron-blue2.svg) no-repeat center / contain;
}

/* 電話 */
.tr a.tr-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid #014282;
    background: #fff;
    color: #014282;
}
.tr-tel__num {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 14px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .07em;
}
.tr .tr-tel__num img {
    width: 22px;
    height: 23px;
}
.tr-tel__time {
    color: #868686;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .02em;
    white-space: nowrap;
}
.tr-tel::after {
    content: "";
    position: absolute;
    right: 19px;
    top: 23px;
    width: 8.88px;
    height: 17px;
    background: url(/images/treatment/top/tr-icon-chevron-blue.svg) no-repeat center / contain;
}

/* 初診WEB予約 */
.tr a.tr-web {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00479d;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .02em;
}
.tr-web::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8.88px;
    height: 17px;
    margin-top: -8.5px;
    background: url(/images/treatment/top/tr-icon-chevron-white.svg) no-repeat center / contain;
}

/* 導入セクション（PC）：AIボタン大＋電話・WEBを横並び */
@media screen and (min-width: 1181px) {
    .tr-btns--intro {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 11px;
        width: 500px;
        padding-left: 4px;
    }
    .tr .tr-btns--intro a.tr-ai {
        width: 306px;
        height: 82px;
        margin: 41px 100px 0 90px;
        border-radius: 0;
    }
    .tr-btns--intro .tr-ai__main {
        height: 55px;
        justify-content: flex-start;
        padding: 10px 0 0 94px;
        font-size: 20px;
    }
    .tr-btns--intro .tr-ai__band {
        height: 27px;
        border-radius: 0;
        font-size: 15px;
    }
    .tr-btns--intro .tr-ai__pill {
        left: 47px;
        top: -15px;
        border-color: #264880;
    }
    .tr-btns--intro .tr-ai__avatar {
        left: -30px;
        top: -24px;
        width: 74px;
        height: 74px;
    }
    .tr-btns--intro .tr-ai__avatar::after {
        right: -1px;
        bottom: 5px;
        width: 14px;
        height: 14px;
    }
    .tr-btns--intro .tr-ai::after {
        right: 16px;
        top: 33px;
        background-image: url(/images/treatment/top/tr-icon-chevron-blue3.svg);
    }
    .tr .tr-btns--intro a.tr-tel,
    .tr .tr-btns--intro a.tr-web {
        width: 240px;
        height: 76px;
        border-radius: 0;
    }
    .tr .tr-btns--intro a.tr-tel {
        border-color: #00479d;
        color: #00479d;
    }
    .tr-btns--intro .tr-tel__num {
        gap: 6px;
        padding-right: 0;
        font-size: 20px;
        font-weight: 500;
        letter-spacing: .02em;
    }
    .tr .tr-btns--intro .tr-tel__num img {
        width: 24px;
        height: 23px;
    }
    .tr-btns--intro .tr-tel__time,
    .tr-btns--intro .tr-tel::after {
        display: none;
    }
    .tr .tr-btns--intro a.tr-web {
        padding-right: 14px;
        font-size: 19px;
        letter-spacing: .08em;
    }
    .tr-btns--intro .tr-web::after {
        right: 22px;
        width: 8.3px;
        height: 16.42px;
        margin-top: -8px;
        background-image: url(/images/treatment/top/tr-icon-chevron-white2.svg);
    }
}

/* ---------- 当院の診療内容（タブ） ---------- */
.tr-menu {
    background: #e0ebf3;
    padding: 48px 0 80px;
}
.tr .tr-menu__desc {
    margin-top: 11px;
    font-size: 16px;
    font-weight: 300;
    line-height: 2;
    text-align: center;
}
.tr-tabs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 33px;
    margin-top: 41px;
    padding-right: 17px;
}
.tr-tabs__btn {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 69px;
    margin: 0;
    padding: 0 10px;
    border: 2px solid #004da0;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #00479d;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .3s;
}
.tr-tabs__btn:nth-child(1) {
    width: 285px;
}
.tr-tabs__btn:nth-child(2) {
    width: 267px;
}
.tr-tabs__btn:hover {
    opacity: .8;
}
.tr-tabs__btn[aria-selected="true"] {
    background: #fff;
    color: #00479d;
    cursor: default;
    opacity: 1;
}
.tr-tabs__btn:focus-visible {
    outline: 2px solid #f3c71b;
    outline-offset: 2px;
}
.tr-panel[hidden] {
    display: none;
}
.tr-panel__box {
    background: #fff;
    padding: 48px 27px 30px 32px;
}
.tr-panel__box--list {
    padding-bottom: 62px;
}
.tr-panel__box + .tr-panel__box {
    margin-top: 73px;
    padding-bottom: 65px;
}
.tr-panel__box + .tr-panel__box .tr-panel__heading {
    margin-bottom: 43px;
}
.tr-panel__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 50px;
    color: #004da0;
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .15em;
}
.tr-panel__heading span {
    padding: 10px 17px 10px 20px;
    background: #264880;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    letter-spacing: .15em;
}
.tr-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25.5px;
    list-style: none;
}
.tr-cards--list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 37px;
}
.tr-cards--list > li {
    width: calc((100% - 51px) / 3);
}
.tr-cards > li {
    display: flex;
}
.tr a.tr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 350px;
    padding: 22px 23px 24px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, .16);
    color: #264880;
    text-align: center;
}
.tr-card__img {
    display: block;
    width: 100%;
}
.tr .tr-card__img img {
    display: block;
    width: 100%;
}
.tr-card__title {
    display: block;
    margin-top: 30px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}
.tr-card__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 236px;
    max-width: 100%;
    height: 48px;
    margin-top: 22px;
    padding-right: 12px;
    border-radius: 8px;
    background: #0050a4;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.tr-card__btn::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 6.5px;
    height: 11px;
    margin-top: -5.5px;
    background: url(/images/treatment/top/tr-icon-arrow-s.svg) no-repeat center / contain;
}
.tr-cards--symptom > li:nth-child(n+4) .tr-card__title {
    margin-top: 22px;
}
/* 診療内容一覧のカード */
.tr a.tr-card--list {
    min-height: 378px;
    padding: 26px 23px 24px;
}
.tr-card--list .tr-card__title {
    margin-top: 24px;
    color: #4b6daa;
    line-height: 1;
}
.tr-card__desc {
    display: block;
    margin: 16px -16px 0;
    color: #333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
}
.tr-card--list .tr-card__btn {
    margin-top: 16px;
}

/* ---------- 当院が選ばれる理由 ---------- */
.tr-reasons {
    background: #eeede3;
    padding: 54px 0 68px;
}
.tr-reasons__list {
    display: flex;
    justify-content: space-between;
    margin-top: 54px;
    list-style: none;
}
.tr-reason {
    position: relative;
    width: 333px;
    height: 214px;
    overflow: hidden;
    background: #fff;
}
.tr .tr-reason__img {
    position: absolute;
    right: 0;
    top: 0;
    width: 166.5px;
    height: 214px;
    max-width: none;
}
.tr .tr-reason__label {
    position: absolute;
    z-index: 1;
    left: 18px;
    top: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 160px;
    height: 31px;
    border-radius: 23px;
    background: #a5b6d5;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}
.tr-reason__label span {
    font-size: 24px;
}
.tr .tr-reason__text {
    position: absolute;
    z-index: 1;
    left: 23px;
    top: 54px;
    color: #00479d;
    font-family: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
}
.tr-reason__text b {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.4;
}
.tr-reason__text .tr-reason__sub {
    display: block;
    color: #333;
    font-size: 19px;
}
.tr-reason:nth-child(3) .tr-reason__text {
    left: 15px;
}
.tr .tr-reason__note {
    position: absolute;
    z-index: 1;
    left: 23px;
    top: 157px;
    color: #555;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    white-space: nowrap;
}
.tr a.tr-reasons__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 378px;
    height: 73px;
    margin: 55px auto 0;
    border-radius: 8px;
    background: #00479d;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

/* ---------- 予約CTA ---------- */
.tr-cta {
    position: relative;
    height: 618px;
    background: #f5f4f1 url(/images/treatment/top/tr-cta-pc.jpg) no-repeat center bottom / cover;
}
.tr-cta::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% + 137px);
    right: 0;
    background: rgba(255, 255, 255, .72);
    clip-path: polygon(122px 0, 100% 0, 100% 100%, 0 100%);
}
.tr .tr-cta__photo {
    display: none;
}
.tr-cta .tr-inner {
    position: relative;
}
.tr-cta__content {
    width: 480px;
    margin-left: 627px;
    padding-top: 83px;
}
.tr-cta__title {
    color: #004da0;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
}
.tr .tr-cta__text {
    margin-top: 15px;
    font-size: 17px;
    font-weight: 300;
    line-height: 2;
    text-align: left;
}
.tr-cta .tr-btns {
    margin: 33px 0 0 4px;
}

/* ==========================================================
   タブレット（768〜1180px）
========================================================== */
@media screen and (max-width: 1180px) {
    .tr-intro {
        padding-bottom: 52px;
    }
    .tr-intro__body {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 24px;
    }
    .tr-intro__text {
        max-width: 640px;
    }
    .tr-intro__tags,
    .tr .tr-intro__note {
        margin-inline: auto;
    }
    .tr-intro__figure {
        margin: 36px 0 0;
    }
    .tr-intro__cta {
        width: auto;
        margin-top: 44px;
        padding-bottom: 0;
    }
    .tr-card__desc {
        margin-inline: 0;
        line-height: 1.4;
        white-space: normal;
    }
    .tr-reasons__list {
        flex-direction: column;
        align-items: center;
        gap: 38px;
    }
    .tr-cta {
        background-position: calc(50% - 180px) center;
    }
    .tr-cta::before {
        left: calc(50% - 40px);
    }
    .tr-cta__content {
        margin-left: auto;
    }
}

/* ==========================================================
   SP（〜767px）
========================================================== */
@media screen and (max-width: 767px) {
    .tr .tr-sp {
        display: inline;
    }
    .tr .tr-pc {
        display: none;
    }
    .tr-inner {
        width: auto;
        max-width: 500px;
        margin-inline: 24px;
    }
    .tr-title {
        font-size: 30px;
    }

    /* MV */
    #mv-submv {
        height: 383px;
    }
    .sub .mv-type2box,
    #mv-submv:before {
        height: 54px;
    }
    .sub .mv-type2box {
        width: 59.8vw;
    }
    .sub .mv-type2box .sub_midashitext::before {
        padding-left: 24px;
        font-size: 21px;
        line-height: 54px;
    }

    /* 導入 */
    .tr-intro {
        padding: 22px 0 57px;
    }
    .tr-intro .tr-title {
        line-height: 1.6;
    }
    .tr-intro__body {
        margin-top: 17px;
    }
    .tr-intro__text {
        max-width: none;
        padding-top: 0;
    }
    .tr-intro__tags {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: auto;
        margin-top: 22px;
    }
    .tr-intro__tags li:nth-child(n) {
        width: 267px;
    }
    .tr .tr-intro__note {
        width: 100%;
        margin-top: 28px;
        padding: 12px 26px;
    }
    .tr-intro__figure {
        width: 100%;
        margin-top: 22px;
    }
    .tr-intro__figure-title {
        width: auto;
        margin-inline: -2px;
        padding-bottom: 16px;
        white-space: normal;
    }
    .tr-circle {
        --w: min(356px, calc(100vw - 34px));
        --fu: calc(var(--u) * 1.0776);
        margin-top: 12px;
        left: 50%;
        margin-left: calc(var(--w) / -2);
    }
    .tr-intro__cta {
        margin-top: 30px;
    }

    /* 診療内容 */
    .tr-menu {
        padding: 34px 0 81px;
    }
    .tr .tr-menu__desc {
        margin-top: 20px;
    }
    .tr-menu .tr-inner {
        max-width: none;
        margin-inline: 12px;
    }
    .tr-tabs {
        gap: 14px;
        margin-top: 40px;
        padding-right: 0;
    }
    .tr-tabs__btn {
        height: 54px;
        border-width: 1px;
        font-size: 16px;
    }
    .tr-tabs__btn:nth-child(1) {
        width: 157px;
    }
    .tr-tabs__btn:nth-child(2) {
        width: 145px;
    }
    .tr-panel__box {
        padding: 35px 12px 37px;
    }
    .tr-panel__box--list {
        padding: 31px 11px 0;
    }
    .tr-panel__box + .tr-panel__box {
        margin-top: 0;
        padding: 70px 13px 42px;
    }
    .tr-panel__heading {
        gap: 11px;
        margin-bottom: 36px;
        font-size: 24px;
    }
    .tr-panel__box + .tr-panel__box .tr-panel__heading {
        margin-bottom: 20px;
    }
    .tr-cards--list {
        row-gap: 22px;
    }
    .tr-panel__heading span {
        padding: 7px 17px 7px 20px;
        font-size: 16px;
    }
    .tr-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 22px;
    }
    .tr-cards--symptom {
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
    }
    .tr-cards--list {
        display: grid;
        gap: 22px 13px;
    }
    .tr-cards--list > li {
        width: auto;
    }
    .tr a.tr-card {
        min-height: 175px;
        padding: 11px 6px 14px;
        border-radius: 4px;
        box-shadow: 0 0 4px rgba(0, 0, 0, .16);
    }
    .tr-card__img {
        width: calc(100% - 8px);
    }
    .tr .tr-card--symptom .tr-card__img img {
        aspect-ratio: 7 / 4;
        object-fit: cover;
    }
    .tr-cards--symptom > li:nth-child(n) .tr-card__title,
    .tr-card__title {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        padding: 8px 0 6px;
        min-height: 38px;
        font-size: 14px;
    }
    .tr-card__btn {
        width: auto;
        min-width: 118px;
        height: 24px;
        margin-top: 0;
        padding: 0 17px 0 8px;
        border-radius: 4px;
        font-size: 12px;
    }
    .tr-card__btn::after {
        right: 8px;
        width: 3.25px;
        height: 5.5px;
        margin-top: -2.75px;
    }
    .tr a.tr-card--list {
        min-height: 224px;
        padding: 13px 8px 20px;
    }
    .tr-card--list .tr-card__img {
        width: calc(100% - 7px);
    }
    .tr-card--list .tr-card__title {
        flex: none;
        min-height: 0;
        margin-top: 8px;
        padding: 0;
        line-height: 1.2;
    }
    .tr-card__desc {
        flex: 1;
        margin: 8px 0;
        padding-inline: 6px;
        font-size: 13px;
    }
    .tr-card--list .tr-card__btn {
        margin-top: 0;
        font-size: 13px;
    }

    /* 選ばれる理由 */
    .tr-reasons {
        padding: 43px 0 60px;
    }
    .tr-reasons__list {
        margin-top: 28px;
    }
    .tr-reason:nth-child(n+2) .tr-reason__text b {
        font-size: 44px;
    }
    .tr-reason:nth-child(n+2) .tr-reason__text {
        top: 57px;
    }
    .tr a.tr-reasons__btn {
        width: 254px;
        height: 62px;
        margin-top: 40px;
        border-radius: 0;
        font-size: 17px;
    }

    /* CTA */
    .tr-cta {
        height: auto;
        padding-bottom: 62px;
        background: #f5f4f1;
        overflow: hidden;
    }
    .tr-cta::before {
        top: 89vw;
        left: 0;
        height: 14vw;
        bottom: auto;
        background: #f5f4f1;
        clip-path: polygon(0 100%, 0 93%, 100% 0, 100% 100%);
    }
    .tr-cta::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 102.9vw;
        height: 50vw;
        background: #f5f4f1;
    }
    .tr .tr-cta__photo {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
    }
    .tr-cta .tr-inner {
        z-index: 1;
        max-width: none;
        margin-inline: 0;
    }
    .tr-cta__content {
        width: auto;
        margin-left: 0;
        padding-top: 55px;
    }
    .tr-cta__title,
    .tr .tr-cta__text {
        margin-left: 49.9%;
    }
    .tr-cta__title {
        font-size: 26px;
        letter-spacing: -.06em;
    }
    .tr .tr-cta__text {
        margin-top: 14px;
        font-size: 15px;
        white-space: nowrap;
    }
    .tr-cta .tr-btns {
        margin: max(55px, calc(108.7vw - 369px)) auto 0;
    }
    .tr-btns {
        margin-inline: auto;
    }
}
@media screen and (max-width: 374px) {
    .tr-btns {
        transform: scale(.9);
        transform-origin: center top;
        margin-inline: calc((100vw - 48px - 322px) / 2);
    }
    .tr-cta .tr-btns {
        margin-inline: calc((100vw - 322px) / 2);
    }
    .tr-cta__title {
        font-size: 22px;
    }
    .tr .tr-cta__text {
        font-size: 13px;
    }
}
