@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&family=Shippori+Mincho:wght@400;500;600;700&display=swap");
body.clinic-renewal .tr-header,
body.clinic-renewal .tr-fixed {
    font-family: "Shippori Mincho", serif;
    color: #282520;
    box-sizing: border-box;
    line-height: 1.7;
}
body.clinic-renewal .tr-header p {
    margin: 0;
}
body.clinic-renewal .tr-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 0 0 20px;
    height: 98px;
    background: #fff9f2;
    position: relative;
    z-index: 100;
    border-bottom: 2px solid #c4a15a;
}
body.clinic-renewal .tr-brand {
    width: 102px;
    flex-shrink: 0;
}
body.clinic-renewal .tr-brand img {
    width: 100%;
    display: block;
}
body.clinic-renewal .tr-header-center {
    flex: 1;
    min-width: 0;
}
body.clinic-renewal .tr-tagline {
    font-size: 13px;
    color: #705e52;
    margin-bottom: 8px;
}
body.clinic-renewal .tr-contact {
    flex-shrink: 0;
    line-height: 1.3;
    font-size: 13px;
}
body.clinic-renewal .tr-contact a {
    color: inherit;
    text-decoration: none;
    font-size: 28px;
}
body.clinic-renewal .tr-reserve {
    width: 197px;
    flex-shrink: 0;
}
body.clinic-renewal .tr-reserve img {
    width: 100%;
    display: block;
}
body.clinic-renewal .tr-menu-toggle,
body.clinic-renewal .tr-mobile-menu,
body.clinic-renewal .tr-fixed {
    display: none;
}
body.clinic-renewal .tr-line-follow {
    position: fixed;
    top: 24%;
    right: 0;
    width: 90px;
    z-index: 120;
}
body.clinic-renewal .tr-line-follow img {
    display: block;
    width: 100%;
}
@media  (min-width: 768px) and (max-width: 1199px)  {
body.clinic-renewal .tr-header {
        gap: 12px;
    
}
body.clinic-renewal .tr-contact {
        display: none;
    
}
body.clinic-renewal .tr-reserve {
        width: 150px;
    
}
body.clinic-renewal .tr-line-follow {
        width: 65px;
    
}
}
@media  (max-width: 767px)  {
body.clinic-renewal .tr-header {
        position: sticky;
        top: 0;
        height: 64px;
        padding: 0 0 0 14px;
        gap: 10px;
        border: 0;
    
}
body.clinic-renewal.admin-bar .tr-header {
        top: 46px;
    
}
body.clinic-renewal .tr-brand {
        width: 78px;
    
}
body.clinic-renewal .tr-tagline {
        font-size: 11px;
        line-height: 1.5;
    
}
body.clinic-renewal .tr-contact,
body.clinic-renewal .tr-reserve,
body.clinic-renewal .tr-nav,
body.clinic-renewal .tr-line-follow {
        display: none;
    
}
body.clinic-renewal .tr-fixed {
        display: grid;
        grid-template-columns: 118fr 52fr 52fr 118fr;
        align-items: center;
        position: fixed;
        inset: auto 0 0;
        height: calc(68px + env(safe-area-inset-bottom));
        padding: 0 6px env(safe-area-inset-bottom);
        gap: 3px;
        background: #fff9f2;
        box-shadow: 0 -3px 14px #20190d26;
        z-index: 200;
    
}
body.clinic-renewal .tr-fixed a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-width: 0;
    
}
body.clinic-renewal .tr-fixed img {
        max-width: 100%;
        max-height: 63px;
        width: 100%;
    
}
}
body.clinic-renewal #secondary-masthead.tr-header {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    height: 98px;
    background: #fff9f2;
    color: #282520;
    z-index: 9999;
}
body.clinic-renewal.admin-bar #secondary-masthead.tr-header {
    top: 32px;
}
body.clinic-renewal #secondary-masthead #site-navigation {
    position: static;
    width: 100%;
    background: none;
    justify-content: flex-start;
    margin-top: 8px;
}
body.clinic-renewal #secondary-masthead .menu > li > a {
    color: #282520;
    font-size: 13px;
    white-space: nowrap;
    padding: 0 14px;
}
body.clinic-renewal #secondary-masthead .menu > li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 13px;
    background: #C9A75F;
    transform: translateY(-50%);
}
body.clinic-renewal #secondary-masthead .menu > li:first-child::before {
    display: none;
}
body.clinic-renewal #secondary-masthead .menu > li:first-child > a,
body.clinic-renewal #secondary-masthead.on .menu > li:first-child > a:hover {
    background: url(images/menu-home.svg) center / 20px 20px no-repeat;
    width: 26px;
    height: 24px;
    padding: 0;
    margin-right: 8px;
    font-size: 0 !important;
}
body.clinic-renewal .tr-contact > a {
    display: flex;
    align-items: center;
    gap: 6px;
}
body.clinic-renewal .tr-tel-icon {
    width: 34px;
    height: 34px;
}
body.clinic-renewal .tr-native-mobile {
    display: none;
}
@media  (min-width: 768px) and (max-width: 1249px)  {
body.clinic-renewal #secondary-masthead .menu > li > a {
        padding: 0 8px;
        font-size: 12px;
    
}
}
@media  (max-width: 767px)  {
body.clinic-renewal #secondary-masthead.tr-header {
        height: 64px;
    
}
body.clinic-renewal.admin-bar #secondary-masthead.tr-header {
        top: 46px;
    
}
body.clinic-renewal .tr-native-mobile {
        display: block;
    
}
body.clinic-renewal .tr-native-mobile .nav-trigger {
        top: 0;
        right: 0;
        width: 56px;
        height: 64px;
        border: 0;
        border-radius: 0;
        background: linear-gradient(180deg, #3f392e, #20190d);
        color: #e4cf83;
        z-index: 100001;
    
}
body.clinic-renewal.admin-bar .tr-native-mobile .nav-trigger {
        top: 46px;
    
}
body.clinic-renewal .tr-native-mobile .nav-trigger span {
        top: 25px;
    
}
body.clinic-renewal .tr-native-mobile .nav-trigger span,
body.clinic-renewal .tr-native-mobile .nav-trigger span::before,
body.clinic-renewal .tr-native-mobile .nav-trigger span::after {
        width: 22px;
        background-color: #e4cf83;
    
}
body.clinic-renewal .tr-native-mobile.nav-open .nav-trigger span {
        background-color: transparent;
    
}
body.clinic-renewal .tr-native-mobile .nav-trigger small {
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 100%;
        text-align: center;
        font: 10px "Shippori Mincho", serif;
        letter-spacing: 2px;
    
}
body.clinic-renewal #secondary-masthead .tr-header-center {
        padding-right: 56px;
    
}
}
body.clinic-renewal .tr-header-spacer {
    display: none;
}
@media  (min-width: 768px)  {
body.clinic-renewal #secondary-masthead.tr-header {
        position: fixed !important;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 98px;
    
}
body.clinic-renewal.admin-bar #secondary-masthead.tr-header {
        top: 32px;
    
}
body.clinic-renewal .tr-header-spacer {
        display: block;
        height: 98px;
    
}
}
@media  (max-width: 767px)  {
body.clinic-renewal .tr-tagline {
        white-space: normal;
        font-size: clamp(9px, 2.933vw, 12px);
        line-height: 1.5;
    
}
body.clinic-renewal .tr-tagline .tr-sp-only {
        display: block;
    
}
body.clinic-renewal .tr-native-mobile .nav-trigger small {
        color: #e5d082;
    
}
}
@media  (max-width: 767px)  {
body.clinic-renewal .tr-native-mobile .nav-trigger {
        text-indent: 0;
        overflow: visible;
    
}
body.clinic-renewal .tr-native-mobile .nav-trigger small {
        display: block;
        visibility: visible;
        opacity: 1;
        text-indent: 0;
        color: #e5d082;
        line-height: 1;
    
}
}
@media  (max-width: 767px)  {
body.clinic-renewal .tr-fixed {
        grid-template-columns: 69fr 69fr 118fr 118fr;
        align-items: start;
        height: calc(100vw * 63 / 374 + env(safe-area-inset-bottom, 0px));
        padding: 0 0 env(safe-area-inset-bottom, 0px);
        gap: 0;
        background: #fff9f2;
        box-shadow: none;
    
}
body.clinic-renewal .tr-fixed a {
        position: relative;
        height: calc(100vw * 63 / 374);
        padding: 0;
        margin: 0;
        line-height: 0;
    
}
body.clinic-renewal .tr-fixed img {
        display: block;
        width: 100%;
        max-width: none;
        max-height: none;
        height: auto;
        margin: 0;
    
}
body.clinic-renewal .tr-fixed a:nth-child(-n + 2) img {
        width: calc(100% * 52 / 69);
    
}
body.clinic-renewal .tr-fixed a:first-child::after {
        content: "";
        position: absolute;
        top: 9%;
        right: 0;
        width: 1px;
        height: 76%;
        background: #d7b67a;
    
}
}

/* 共通部品に限定した初期化。下層本文のフォント・レイアウトは維持。 */
body.clinic-renewal .tr-header *,
body.clinic-renewal .tr-native-mobile *,
body.clinic-renewal .tr-fixed *,
body.clinic-renewal .tr-fixed *::after {
    box-sizing: border-box;
}
body.clinic-renewal .tr-tagline .tr-sp-only {
    display: none;
}
body.clinic-renewal .renewal-breadcrumbs {
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) and (max-width: 782px) {
    body.clinic-renewal.admin-bar #secondary-masthead.tr-header {
        top: 46px;
    }
}
@media (max-width: 767px) {
    body.clinic-renewal {
        padding-bottom: calc(16.84492vw + env(safe-area-inset-bottom, 0px));
    }
    body.clinic-renewal .tr-tagline .tr-sp-only {
        display: block;
    }
    body.clinic-renewal .tr-fixed {
        grid-template-columns: minmax(0, 69fr) minmax(0, 69fr) minmax(0, 118fr) minmax(0, 118fr);
        height: calc(16.84492vw + env(safe-area-inset-bottom, 0px));
    }
    body.clinic-renewal .tr-fixed > a {
        height: 16.84492vw;
    }
    body.clinic-renewal .tr-fixed > a:nth-child(-n + 2) img {
        width: 75.36232%;
    }
}

/* 旧固定ヘッダー用の本文上余白は、共通ヘッダーのスペーサーに置き換える。 */
body.clinic-renewal:not(.top-renewal) #secondary {
    margin-top: 0;
}
/* トップ専用CSSの読み込み順に左右されない固定メニューの寸法。 */
@media (max-width: 767px) {
    body.clinic-renewal.top-renewal {
        padding-bottom: calc(16.84492vw + env(safe-area-inset-bottom, 0px));
    }
    body.clinic-renewal.top-renewal .tr-fixed {
        grid-template-columns: minmax(0, 69fr) minmax(0, 69fr) minmax(0, 118fr) minmax(0, 118fr);
        height: calc(16.84492vw + env(safe-area-inset-bottom, 0px));
    }
    body.clinic-renewal.top-renewal .tr-fixed > a {
        height: 16.84492vw;
    }
    body.clinic-renewal.top-renewal .tr-fixed > a:nth-child(-n + 2) img {
        width: 75.36232%;
    }
}
