/* DAYO GROUP minimal logo (site-wide)
 * Boxes follow the artwork's ~2:1 ratio, so `contain` fills them edge to edge:
 * header 156x78 (minimal logo, ~2:1), eased back from the earlier 168x84. Footer uses the wide horizontal DAYO GROUP
 * wordmark, with a wider/shorter box so `contain` fills it. */
a:has(>img[src$="/dayo_white_head.png"]){display:block!important;width:156px!important;height:78px!important;background-image:url("/assets/DAYO%20GROUP%E3%83%9F%E3%83%8B%E3%83%9E%E3%83%AB%E3%83%AD%E3%82%B4.png"),url("/assets/DAYO%20GROUP%E3%83%9F%E3%83%8B%E3%83%9E%E3%83%AB%E3%83%AD%E3%82%B3%E3%82%99.png")!important;background-position:left center!important;background-repeat:no-repeat!important;background-size:contain!important;filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}
/* Scrolled header: React swaps the nav to a white background, so the logo must stay dark. */
nav.bg-white a:has(>img[src$="/dayo_white_head.png"]){filter:none!important;mix-blend-mode:normal!important}
footer a:has(>img[src$="/dayo_white_head.png"]){width:280px!important;height:52px!important;background-image:url("/assets/dayo_group_logo%20(1).png")!important;filter:none!important;mix-blend-mode:normal!important}
a:has(>img[src$="/dayo_white_head.png"])>img{width:0!important;height:0!important;opacity:0!important}
a:has(>img[src$="/dayo_white_head.png"])>div{display:none!important}
/* Header: the old "Trust Data" item is not used any more — the same slot shows
 * "Core Concept" (put there after React renders). Hidden here so a reload never
 * shows "Trust Data" even for a moment. The arrow icon belongs to "Solution",
 * and the replacement link carries data-hp-core-a. */
nav a[href$="#our-core-concept"]:not([data-hp-core-a]):not(:has(svg)),
nav li:nth-child(2) > a[href$="#our-core-concept"],
nav.flex-col > a:nth-of-type(2)[href$="#our-core-concept"]{display:none!important}
/* Footer office cards that link out to Google Maps (Tokyo / Hanoi / Ho Chi Minh City):
 * not needed, so the card itself and its now-empty grid are hidden on every page. */
a[href*="google.com/maps"]{display:none!important}
footer div:has(>a[href*="google.com/maps"]){display:none!important}
/* Founder section (top page and /founders/, every language): the "FOUNDER'S MESSAGE"
 * title block starts on the photo's top line. The top page pushes the title down
 * (md:mt-12) and the founders page pulls it up (md:-mt-8); BOTH offsets must be cleared
 * or the title sits above/below the photo. Selectors use the class tokens rather than the
 * nesting, so they work on every language page. */
@media (min-width:768px){
#founder-message [class~="grid"]{align-items:flex-start!important}
#founder-message [class~="grid"] > *{margin-top:0!important}
#founder-message [class~="grid"] > * > :first-child{margin-top:0!important}
#founder-message [class~="grid"] > * > :first-child > :first-child{margin-top:0!important}
}
@media (max-width:640px){
a:has(>img[src$="/dayo_white_head.png"]){width:128px!important;height:64px!important}
footer a:has(>img[src$="/dayo_white_head.png"]){width:190px!important;height:36px!important}
}
