
        html body,
        html body :where(
            h1,
            h2,
            h3,
            h4,
            h5,
            h6,
            button,
            input,
            textarea,
            select,
            option
        ) {
            font-family: "Noto Serif JP", "Source Han Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
            font-kerning: normal;
        }

        .brand-logo,
        .footer-logo {
            width: 238px !important;
            height: auto !important;
            max-height: 62px !important;
            object-fit: contain !important;
            object-position: center !important;
        }
        .footer-logo {
            width: 280px !important;
            max-height: 72px !important;
        }
        @media (max-width: 767px) {
            .brand-logo {
                width: 190px !important;
                max-height: 50px !important;
            }
            .footer-logo {
                width: 230px !important;
                max-height: 60px !important;
            }

            /* No fixed action is shown over the footer, so reserve only the
             * device safe area instead of the theme's 110px mobile spacer. */
            html body .cosme-site-footer__inner {
                padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
            }
        }

        #cosme-contact-title > span {
            white-space: nowrap;
        }

        /*
         * Keep the text logo optically centred between the menu and search
         * controls at every tablet/mobile width. The theme's flex layout can
         * push the search control outside the viewport around 390-414px.
         */
        @media (max-width: 959.98px) {
            html body #header .l-header__inner {
                align-items: center !important;
                column-gap: 12px !important;
                display: grid !important;
                grid-template-columns: 48px minmax(0, 1fr) 48px !important;
                grid-template-rows: 72px !important;
                min-height: 72px !important;
                padding-inline: 14px !important;
            }

            html body #header .l-header__menuBtn {
                align-self: center !important;
                grid-column: 1 !important;
                grid-row: 1 !important;
                justify-self: center !important;
                margin: 0 !important;
                min-width: 0 !important;
                width: 48px !important;
            }

            html body #header .l-header__logo {
                align-items: center !important;
                align-self: center !important;
                display: flex !important;
                grid-column: 2 !important;
                grid-row: 1 !important;
                justify-content: center !important;
                justify-self: center !important;
                margin: 0 !important;
                max-width: 100% !important;
                min-width: 0 !important;
                padding: 0 !important;
                width: auto !important;
            }

            html body #header .l-header__logo .c-headLogo,
            html body #header .l-header__logo .c-headLogo__link {
                max-width: 100% !important;
            }

            html body #header .l-header__customBtn {
                align-self: center !important;
                grid-column: 3 !important;
                grid-row: 1 !important;
                justify-self: center !important;
                margin: 0 !important;
                min-width: 0 !important;
                width: 48px !important;
            }

            html body #header .l-header__menuBtn > .c-iconBtn,
            html body #header .l-header__customBtn > .c-iconBtn {
                min-height: 44px !important;
                min-width: 44px !important;
            }

            /* Keep drawer navigation readable and comfortably tappable even
             * where the theme scales its base type below 16px. */
            html body #sp_menu .c-widget__title.-spmenu {
                align-items: center !important;
                box-sizing: border-box !important;
                display: flex !important;
                font-size: 16px !important;
                line-height: 1.5 !important;
                min-height: 48px !important;
                padding-block: 10px !important;
            }

            html body #sp_menu .c-spnav > li > a {
                align-items: center !important;
                box-sizing: border-box !important;
                display: flex !important;
                font-size: 16px !important;
                line-height: 1.6 !important;
                min-height: 48px !important;
                overflow-wrap: anywhere !important;
                padding-block: 10px !important;
            }

            html body #sp_menu .p-spMenu__inner {
                max-width: 420px !important;
                width: min(88vw, 420px) !important;
            }

            html[data-spmenu="closed"] body #sp_menu.-left .p-spMenu__inner {
                transform: translateX(-100%) !important;
            }

            html body #sp_menu .cosme-spmenu-actions {
                display: grid !important;
                gap: 10px !important;
                margin: 24px 0 0 !important;
                padding: 0 18px calc(24px + env(safe-area-inset-bottom)) !important;
            }

            html body #sp_menu .cosme-spmenu-action {
                align-items: center !important;
                border: 1px solid #12373d !important;
                border-radius: 8px !important;
                box-sizing: border-box !important;
                display: flex !important;
                font-size: 15px !important;
                font-weight: 700 !important;
                justify-content: center !important;
                line-height: 1.5 !important;
                min-height: 48px !important;
                padding: 10px 14px !important;
                text-align: center !important;
                text-decoration: none !important;
            }

            html body #sp_menu .cosme-spmenu-action.-seller {
                background: #7a3e50 !important;
                border-color: #7a3e50 !important;
                color: #fff !important;
            }

            html body #sp_menu .cosme-spmenu-action.-buyer {
                background: #fff !important;
                color: #12373d !important;
            }

            html body #sp_menu .cosme-spmenu-action:focus-visible {
                outline: 3px solid #7a3e50 !important;
                outline-offset: 3px !important;
            }

            /* The fixed conversion bar must not sit above the open drawer. */
            html[data-spmenu="opened"] body #body_wrap.home.cosme-clean-professional
            .cosme-mobile-sticky {
                opacity: 0 !important;
                pointer-events: none !important;
                transform: translateY(calc(100% + 24px)) !important;
                visibility: hidden !important;
            }
        }

        @media (min-width: 960px) {
            html body :is(#header, #fix_header) .cosme-header-action {
                min-height: 44px !important;
                white-space: nowrap !important;
            }

            html body #header .l-header__bar .c-iconList__link {
                align-items: center !important;
                box-sizing: border-box !important;
                display: inline-flex !important;
                justify-content: center !important;
                min-height: 44px !important;
                min-width: 44px !important;
            }
        }

        @media (max-width: 599px) {
            html body #header .l-header__inner {
                column-gap: 6px !important;
                grid-template-columns: 44px minmax(0, 1fr) 44px !important;
                padding-inline: 10px !important;
            }

            html body #header .l-header__menuBtn,
            html body #header .l-header__customBtn {
                width: 44px !important;
            }

            html body #header .c-headLogo__link {
                column-gap: 9px !important;
                font-size: clamp(15px, 4.4vw, 17px) !important;
                grid-template-columns: 32px auto !important;
                min-height: 44px !important;
            }

            html body #header .c-headLogo__link::before {
                font-size: 15px !important;
                height: 32px !important;
                width: 32px !important;
            }
        }

        @media (max-width: 374px) {
            html body #header .l-header__inner {
                column-gap: 5px !important;
                grid-template-columns: 44px minmax(0, 1fr) 44px !important;
                padding-inline: 8px !important;
            }

            html body #header .l-header__menuBtn,
            html body #header .l-header__customBtn {
                width: 44px !important;
            }

            html body #header .c-headLogo__link {
                column-gap: 8px !important;
                font-size: clamp(14.5px, 4.4vw, 16px) !important;
                grid-template-columns: 30px auto !important;
                min-height: 44px !important;
            }

            html body #header .c-headLogo__link::before {
                font-size: 14px !important;
                height: 30px !important;
                width: 30px !important;
            }
        }

        @media (max-width: 340px) {
            html body #header .l-header__inner {
                column-gap: 3px !important;
                grid-template-columns: 44px minmax(0, 1fr) 44px !important;
                padding-inline: 4px !important;
            }

            html body #header .l-header__menuBtn,
            html body #header .l-header__customBtn {
                width: 44px !important;
            }

            html body #header .c-headLogo__link {
                column-gap: 7px !important;
                font-size: 14px !important;
                grid-template-columns: 28px auto !important;
                min-height: 44px !important;
            }

            html body #header .c-headLogo__link::before {
                font-size: 13px !important;
                height: 28px !important;
                width: 28px !important;
            }

            /* Keep the long contact title on semantic Japanese phrase
             * boundaries: role / inquiry / form. */
            #cosme-contact-title {
                overflow-wrap: normal !important;
                word-break: normal !important;
            }
        }
    