@layer legacy-base, legacy-header-theme, legacy-grow, legacy-minimal, legacy-spacing, v4tokens, v4components, v4dark;
@layer legacy-base {

/* ===== Hero readability fix v2: darken the photo itself, no boxed panel =====
   A diagonal scrim sits between the background photo (z-index:0) and the
   title text (z-index:2, already set by the Tier-2 hero standard), so any
   photo underneath is guaranteed dark enough for white type without putting
   a visible card behind the words. */
.phero::before,
.hero-banner::before,
.kgc.contact-hero .page-title-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: none;
  content: none;
  display: none;
}
.phero-inner h1, .hero-inner h1, .hero-banner-content h1, .kgc.contact-hero .page-title h1,
.phero-inner p,  .hero-inner p,  .hero-banner-content p,  .kgc.contact-hero .page-title p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

/* Legacy token bridge ---------------------------------------------------
   --kg-* is a page-local legacy namespace (GlobalSO does not provide it).
   Keep it: the header (#kgh) re-defines these to white for its dark theme.
   Only the one missing value is filled here: --kg-radius-lg (lg panels).
   ---------------------------------------------------------------------- */
:root{ --kg-radius-lg: 12px; }


/* Keep only this custom header block visible if builder injects legacy fragments. */
html,body{margin:0;padding:0}header > :not(style):not(#kgh):not(script){display:none}
/* 全站正文统一为设计标准字体 Readex Pro（覆盖平台默认 Plus Jakarta / 散落的 Inter / Roboto 等）。
   仅作用于 body 及其后代；#kgh 内部另有 id 级规则，不会被覆盖。 */
body{font-family:'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN',system-ui,-apple-system,'Segoe UI',sans-serif}
/* 平台部分版块会显式把 font-family 写死成 Roboto（如首页轮播/页脚等），
   body 继承无法覆盖，故对全部文本元素再强制一次 Readex Pro。
   排除图标字体元素（.la / .las / .fa* / swiper 箭头），避免图标变乱码。 */
body,
body *:not([class*="la-"]):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.las):not(.lab):not(.lar):not(.lad):not(.la):not(.swiper-button-prev):not(.swiper-button-next):not([class*="swiper-button"]){
  font-family:'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN',system-ui,-apple-system,'Segoe UI',sans-serif;
}
#kgh{--kg-red:var(--kg-color-fill);--kg-red-dark:var(--kg-color-primary-hover);--kg-blue:#ffffff;--kg-ink:var(--kg-color-ink);--kg-line:rgba(255,255,255,.1);--kg-soft:rgba(255,255,255,.08);--kg-shadow:0 10px 30px rgba(0,0,0,.28);--kg-glass:rgba(11,11,11,.38)}
#kgh,#kgh *,#kgh *::before,#kgh *::after{box-sizing:border-box;margin:0;padding:0}
#kgh{--kg-header-h:72px;font-family:'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--kg-ink);font-size:16px;line-height:1.6;padding-top:0}
#kgh a{color:inherit;text-decoration:none}
#kgh img{max-width:100%;height:auto;display:block;border:0}
#kgh ul,#kgh li{list-style:none}
#kgh button,#kgh input,#kgh select,#kgh textarea{font-family:inherit}
#kgh .wrap{width:100%;max-width:1440px;margin:0 auto;padding:0 24px;box-sizing:border-box}
#kgh .btn{display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:16px;padding:12px 20px;border-radius:7px;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;cursor:pointer;border:1px solid #E01920;line-height:1.2;background:#E01920;color:#fff;box-shadow:0 2px 5px rgba(0,0,0,.12)}
#kgh .btn:hover{background:#B0141B;border-color:#B0141B;box-shadow:0 4px 10px rgba(0,0,0,.18);transform:translateY(-1px)}
#kgh .header{position:fixed;top:0;left:0;right:0;z-index:var(--kg-z-header);background:linear-gradient(180deg,rgba(43, 51, 63,.60),rgba(11,11,11,.44));backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%);border-bottom:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.16);transition:box-shadow .28s ease,background .28s ease}
#kgh .header::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(130% 120% at 0% 0%,rgba(255,255,255,.12),rgba(255,255,255,0) 55%)}
#kgh .header::after{content:'';position:absolute;left:0;right:0;top:0;height:55%;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,.10),rgba(255,255,255,0))}
#kgh .header.is-floating{background:linear-gradient(180deg,rgba(43, 51, 63,.60),rgba(11,11,11,.44));box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 30px rgba(0,0,0,.34)}
#kgh .header .wrap{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
#kgh .logo{cursor:pointer}
#kgh .logo img{height:37px;width:auto;max-width:none;cursor:inherit}
#kgh .nav .menu{display:flex;align-items:center;gap:0}
#kgh .nav .menu>li{position:relative}
#kgh .nav .menu>li{cursor:pointer}
#kgh .nav .menu>li>a{display:flex;align-items:center;gap:6px;font-weight:400;font-size:16px;color:var(--kg-ink);padding:13px 15px;cursor:pointer}
#kgh .nav .menu>li>a *{cursor:inherit}
#kgh .nav .menu>li>a:hover{color:var(--kg-red-dark)}
#kgh .nav .menu em{font-style:normal;font-weight:inherit}
.menu .ico, .menu .ico img, #kgh .nav .menu .ico, #kgh .nav .menu .ico img {display:none;width:0;height:0;opacity:0;visibility:hidden}
/* FIX: 手机汉堡菜单展开后 Our Products / Our Brands 后面的下拉三角不显示。
   根因：GlobalSO 手机端会把菜单里 <b> 内的 <svg> 三角压成 0×0（桌面正常）。
   解法：弃用那个易碎的 svg，改用纯 CSS 边框三角画在"有子菜单的父项" <a>::after 上——
   不依赖 svg；用 #kgh 的 ID 选择器优先级压过平台的 class 规则，桌面/手机都稳定显示。 */
#kgh .nav .menu > li > a > b{display:none}
#kgh .nav .menu > li:has(> ul) > a{position:relative}
#kgh .nav .menu > li:has(> ul) > a::after{content:"";display:inline-block;margin-left:8px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:7px solid currentColor;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));transition:transform .22s;flex:0 0 auto;align-self:center;pointer-events:none}
#kgh .nav .menu li ul{position:absolute;top:100%;left:0;min-width:240px;background:linear-gradient(180deg,rgba(43, 51, 63,.62),rgba(11,11,11,.5));backdrop-filter:blur(18px) saturate(180%);-webkit-backdrop-filter:blur(18px) saturate(180%);border:1px solid rgba(255,255,255,.12);border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),var(--kg-shadow);padding:10px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);transition:opacity .22s ease,transform .22s ease;z-index:var(--kg-z-tray)}
@media(min-width:681px){#kgh .nav .menu li:hover > ul{display:block;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}#kgh .nav .menu > li:has(> ul):hover > a::after{transform:rotate(180deg);border-top-color:#E01920}
#kgh .nav .menu > li:has(> ul):focus-within > a::after{transform:rotate(180deg);border-top-color:#E01920}}
#kgh .nav .menu li ul li{cursor:pointer}
#kgh .nav .menu li ul li a{display:block;padding:11px 14px;border-radius:4px;font-size:16px;font-weight:400;color:var(--kg-ink);white-space:nowrap;cursor:pointer;transition:transform .18s ease,background-color .18s ease,color .18s ease}
#kgh .nav .menu li ul li a *{cursor:inherit}
#kgh .nav .menu li ul li a:hover{background:var(--kg-soft);color:#fff;transform:translateX(4px)}
#kgh .header-cta{display:flex;align-items:center;gap:14px}
#kgh .menu-toggle{display:none;background:none;border:none;font-size:26px;cursor:pointer;color:var(--kg-ink)}
/* Search */
#kgh .kgh-search{position:relative;display:flex;align-items:center}
#kgh .kgh-search-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.08);border-radius:4px;color:#fff;cursor:pointer;transition:background-color .2s ease}
#kgh .kgh-search-toggle:hover{background:rgba(255,255,255,.16)}
#kgh .kgh-search-toggle svg{width:18px;height:18px;fill:#fff}#kgh .kgh-search-panel .gsc-control-cse{padding:0;font-family:inherit}#kgh .kgh-search-panel .gsc-search-box{margin:0}#kgh .kgh-search-panel table.gsc-search-box{width:100%}#kgh .kgh-search-panel .gsc-input-box{border:1px solid #EEEEEE;border-radius:7px;background:#FAFAFA;height:42px;padding:0 12px;box-sizing:border-box}#kgh .kgh-search-panel .gsc-input-box{transition:border-color .2s ease}#kgh .kgh-search-panel .gsc-input-box:focus-within{border-color:var(--kg-color-primary)}#kgh .kgh-search-panel table.gsc-input,#kgh .kgh-search-panel .gsib_a,#kgh .kgh-search-panel .gsib_b{background:transparent;border:none;outline:none;box-shadow:none;background-image:none}#kgh .kgh-search-panel input.gsc-input{background:transparent;color:#111827;height:42px}#kgh .kgh-search-panel .gsc-search-button-v2{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;background:#E01920;border-radius:7px;border:none;margin-left:8px;padding:0}#kgh .kgh-search-panel .gsc-search-button-v2 svg{fill:#fff}#kgh .kgh-search-panel table.gsc-search-box td.gsc-search-button{vertical-align:middle}
/* === kgh-gsc button (match ja) === */
#kgh td.gsc-search-button{display:table-cell;padding:0 0 0 10px;vertical-align:top}
#kgh .gsc-search-button-v2{background:#E01920;border:none;border-radius:7px;height:48px;min-width:48px;width:48px;padding:0;display:flex;align-items:center;justify-content:center}
#kgh .gsc-search-button-v2:hover,#kgh .gsc-search-button-v2:focus{background:#B0141B}
#kgh .gsc-search-button-v2 svg{fill:#fff;width:17px;height:17px}
/* === kgh-gsc button end === */

#kgh .kgh-search-panel{position:absolute;top:calc(100% + 16px);right:0;width:480px;max-width:88vw;max-height:70vh;overflow-y:auto;background:linear-gradient(180deg,rgba(43, 51, 63,.64),rgba(11,11,11,.52));backdrop-filter:blur(18px) saturate(180%);-webkit-backdrop-filter:blur(18px) saturate(180%);border:1px solid rgba(255,255,255,.12);border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),var(--kg-shadow);padding:12px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px);transition:opacity .22s ease,transform .22s ease;z-index:var(--kg-z-popover)}
#kgh .kgh-search.open .kgh-search-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}




#kgh .kgh-search-go{flex:none;width:42px;height:42px;border:none;border-radius:4px;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
#kgh .kgh-search-go svg{width:16px;height:16px;fill:#333333}
/* Compact desktop band (681-1150px): keep the nav on a single line. The mobile
   drawer takes over at <=680px, so this is the narrow-desktop range. */
@media (max-width:1150px) and (min-width:681px){
  #kgh .wrap{padding:0 24px}
  #kgh .header .wrap{gap:12px}
  #kgh .logo img{height:29px;width:auto;max-width:none}
  #kgh .nav .menu > li > a{padding:13px 9px;font-size:14px;white-space:nowrap;gap:4px}
  #kgh .header-cta{gap:8px}
  #kgh .header-cta .btn{padding:10px 14px;font-size:13px;white-space:nowrap}
}
@media (max-width:1040px) and (min-width:681px){
  #kgh .header-cta .btn{display:none}
}
@media(max-width:680px){
  #kgh .nav,#kgh .header-cta .btn{display:none}
  #kgh .menu-toggle{display:block}
  #kgh{--kg-header-h:62px}
  #kgh .header{background:linear-gradient(180deg,rgba(43, 51, 63,.72),rgba(11,11,11,.56));box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 30px rgba(0,0,0,.34)}
  #kgh .header .wrap{height:62px}
  #kgh .wrap{padding:0 20px}
  #kgh .header-cta{gap:10px}
  #kgh .logo img{height:30px;width:auto;max-width:none}
  #kgh .kgh-search{position:static}
  #kgh .kgh-search-panel{position:fixed;top:94px;left:10px;right:10px;width:auto;max-width:none;z-index:var(--kg-z-popover)}
  /* 移动端抽屉背景：改为与顶部 header 完全一致的灰度和透明度
     (linear-gradient(180deg,rgba(43, 51, 63,.60),rgba(11,11,11,.44)) + 同款 blur)，
     不再用之前更深更不透明的一套灰。 */
  #kgh .nav.open{display:flex;position:fixed;top:62px;left:0;right:0;z-index:var(--kg-z-drawer);background:linear-gradient(180deg,rgba(43, 51, 63,.90),rgba(11,11,11,.82));-webkit-backdrop-filter:blur(16px) saturate(160%);backdrop-filter:blur(16px) saturate(160%);-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(#fff,#fff);isolation:isolate;flex-direction:column;padding:10px 16px 18px;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:var(--kg-shadow);max-height:calc(100vh - 62px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  #kgh .nav.open .menu{flex-direction:column;align-items:stretch;gap:0;width:100%}
  #kgh .nav.open .menu>li{border-bottom:1px solid rgba(255,255,255,.08)}
  #kgh .nav.open .menu>li>a{padding:13px 6px;justify-content:flex-start;gap:8px}
  #kgh .nav.open .menu > li.open > a::after{transform:rotate(180deg);border-top-color:#E01920}
  #kgh .nav.open .menu li ul{position:static;opacity:1;visibility:visible;pointer-events:auto;transform:none;box-shadow:none;border:none;border-radius:0;padding:0 0 8px 12px;min-width:0;display:none;background:rgba(255,255,255,.03)}
  #kgh .nav.open .menu li.open > ul{display:block}
  #kgh .nav.open .menu li ul li a{white-space:normal;overflow-wrap:break-word;word-break:break-word;padding:11px 8px;font-size:15px;line-height:21px}
}
/* FIX: 正式域名(www.kingentaglobal.com)的【首页，且仅首页】会走 GlobalSO 的「移动端加速」
   渲染链路（标志：<body mobile_visit_pc_home="1">），额外加载 mobile_style_async.css，
   其中带 改写菜单：
     header .nav li a      { font-size:14px }
     header .nav ul li a   { font-size:12px }   ← 打中一级菜单
     header .nav ul ul li a{ font-size:12px }   ← 打中二级菜单
     header .nav li a      { padding:8px 15px 8px 0; line-height:normal;
                             color:var(--bs-link-color) }   ← 该变量是 #333333
   且该表排在本 <style> 之后。上面那些规则本身没写，所以线上首页手机端会出两种症状：
     1) 一级菜单被压成 12px、二级 10px、左内边距归零，抽屉高度 368px→218px；
     2) 菜单文字被染成 #333333 —— 黑底黑字，展开后看不见字。
        （<em> 继承 a 的 color，下拉三角 ::after 用 currentColor，都会一起变黑。）
   所有内页、以及预览域名 v6-me39v.globalso.site 都不走这条链路，在那些地方看着都正常
   —— 手机端改动必须在正式域名的【首页】上复验，看内页等于没验。
   解法：用 #kgh 的 ID 选择器 + 压回来（ID 优先级高于平台的纯 class/元素
   选择器，两边都 时比特异性，我们赢）。 */
#kgh .nav .menu > li > a{font-size:16px;padding:13px 15px;line-height:1.6;color:var(--kg-ink)}
#kgh .nav .menu li ul li a{font-size:16px;padding:11px 14px;line-height:21px;color:var(--kg-ink)}
/* color 用了，hover 态也必须补，否则会被上面两条基础规则盖掉 */
#kgh .nav .menu > li > a:hover{color:var(--kg-red-dark)}
#kgh .nav .menu li ul li a:hover{color:#fff}
@media(max-width:680px){
  #kgh .nav.open .menu > li > a{font-size:16px;padding:15px 6px;line-height:1.6}
  #kgh .nav.open .menu li ul li a{font-size:13px;padding:9px 8px;line-height:21px}
}

/* Neutralize the white sticky/background bar the platform forces on the site header element globally,
   allowing our custom #kgh .header overlay to float transparently on all screens. */
header{height:auto;padding:0;background:transparent;box-shadow:none;border:none}

/* FIX: GlobalSO 注入 .kg-page > main {margin-top:92px} 给 fixed header 让位，
   但此值写死无响应式。我们的 header 实际高度是响应式的（桌面72px/手机62px，与 --kg-header-h 一致），需要覆盖。*/
body.kg-page>main{margin-top:72px}
body.kg-page>main#kgm,main#kgm{margin-top:0}
body.kg-page[page-type="index"]>main,
body.kg-page[page-route="index"]>main,
body.kg-page>main:has(.hero),
body.kg-page>main:has(.hero-banner),
body.kg-page>main:has(.phero),
body.kg-page>main:has(.ahero),
body.kg-page>main:has(.facility-hero),
body.kg-page>main:has(.section-imagetext-wrap-block),
body.kg-page>main:has(#kg-contact-hero){margin-top:0}
@media(max-width:680px){
  body.kg-page>main{margin-top:62px}
  body.kg-page[page-type="index"]>main,
  body.kg-page[page-route="index"]>main,
  body.kg-page>main:has(.hero),
  body.kg-page>main:has(.hero-banner),
  body.kg-page>main:has(.phero),
  body.kg-page>main:has(.ahero),
  body.kg-page>main:has(.facility-hero),
  body.kg-page>main:has(.section-imagetext-wrap-block),
  body.kg-page>main:has(#kg-contact-hero){margin-top:0}
}
/* FIX: GlobalSO style.css 在 (max-width:992px) 下给 body 加 padding-top:4rem(56px)，
   给它自家的手机顶栏让位。该顶栏已被我们隐藏，但 padding 还在 → 手机/iPad 上
   header 下方出现 56px 白框。清零即可，main 的 margin-top 已经负责让位。*/
@media(max-width:992px){
  body.kg-page{padding-top:0}
}

/* ===== GLOBAL HERO OVERRIDES ===== */
/* Adjust .phero (about-us, partner, brands, products portal, country sites) and .hero-banner (category templates, news) 
   so the text content is pushed down below the floating header. */
#kg .phero {
  min-height: 480px;
}
#kg .phero-inner {
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero-banner {
  min-height: 450px;
}
.hero-banner-content {
  padding-top: 140px;
  padding-bottom: 60px;
}
@media (max-width: 680px) {
  #kg .phero {
    min-height: 380px;
  }
  #kg .phero-inner {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  .hero-banner {
    min-height: 440px;
  }
  .hero-banner-content {
    padding-top: 100px;
    padding-bottom: 40px;
  }
}

/* Enforce the unified brand-blue overlay gradient globally on all subpage heroes */
#kg .phero-bg::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 130% at 6% 50%, rgba(43, 51, 63,.40) 0%, rgba(43, 51, 63,.40) 18%, rgba(43, 51, 63,.12) 46%, transparent 72%),
    linear-gradient(90deg, rgba(43, 51, 63,.48) 0%, rgba(43, 51, 63,.48) 18%, rgba(43, 51, 63,.38) 42%, rgba(43, 51, 63,.07) 75%, transparent 100%);
  opacity: 1;
}

/* ==========================================================================
   DROPDOWN + MEGA PANELS  [KG-MEGA]
   Restored to the original light look: white glass card, red column headings,
   dark item text. Single-column panels and the 4-column Our Product mega share
   the same surface so the menu reads as one system.
   ========================================================================== */
#kgh .nav .menu li ul{
  background:rgba(255,255,255,.98);
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  box-shadow:0 20px 50px rgba(43, 51, 63,.12), 0 4px 16px rgba(0,0,0,.04);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  padding:10px;
}
#kgh .nav .menu li ul li a{
  color:#333333;font-size:13px;font-weight:500;line-height:21px;
  padding:8px 12px;border-radius:7px;
}
#kgh .nav .menu li ul li a:hover{
  background:rgba(224, 25, 32,.06);color:#E01920;
  transform:none;padding-left:18px;
}
/* Our Product mega panel */
#kgh .header .wrap{position:relative}
/* Close-on-click: same-page #anchor links do not navigate, so the hover panel would
   stay open over the page. JS adds .is-suppressed on any nav-link click and clears it
   when the pointer leaves the menu. Desktop only. */
@media (min-width:681px){
  #kgh .nav.is-suppressed .menu li ul,
  #kgh .nav.is-suppressed .menu li ul.kgh-mega{
    opacity:0;visibility:hidden;transform:translateY(6px);pointer-events:none}
}
/* Desktop-only mega panel geometry (absolute 880px-wide centred grid). This
   used to have no media guard, so its declarations always beat
   the mobile accordion's non-important default-closed state, forcing the
   "Our Product" panel permanently open as an 880px grid on phones too：with
   the panel centred via left:50%/margin-left:-440px, only the ~375px middle
   slice of that 880px grid fell inside the viewport, so two of the four
   categories were simply off-screen. Scoping this whole block to desktop
   removes it from the mobile cascade entirely. */
@media (min-width:681px){
#kgh .nav .menu > li:has(> ul.kgh-mega){position:relative}
#kgh .nav .menu li ul.kgh-mega{
  left:50%;right:auto;margin-left:-440px;max-width:880px;width:880px;min-width:0;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  column-gap:22px;row-gap:0;padding:14px 20px;
}
#kgh .nav .menu li ul.kgh-mega > li{position:static;border:0;margin:0;padding:0}
#kgh .nav .menu li ul.kgh-mega > li.kgh-mega-col{display:flex;flex-direction:column;min-width:0}
#kgh .nav .menu li ul.kgh-mega > li.kgh-mega-col > a{
  display:block;padding:0 0 6px;margin-bottom:5px;
  font-size:13px;font-weight:600;line-height:21px;
  color:#E01920;white-space:nowrap;
  background:none;transform:none;
  border-bottom:1px solid rgba(0,0,0,.12);
}
#kgh .nav .menu li ul.kgh-mega > li.kgh-mega-col > a:hover{color:#B0141B;background:none}
#kgh .nav .menu li ul.kgh-mega ul{
  position:static;display:block;opacity:1;
  transform:none;min-width:0;
  background:none;border:0;box-shadow:none;border-radius:0;
  padding:0;margin:0;
  /* FIX: do NOT force visibility:visible / pointer-events:auto here unconditionally.
     Those were making the inner column links hoverable+clickable even while the whole
     panel was "closed" (outer ul had opacity:0 but opacity does not block hit-testing).
     That let the invisible 880px-wide band of mega links capture the cursor and flip
     li:hover -> panel popped open early (e.g. when moving the mouse UP toward
     "Our Product" before reaching the label). Now the open-state visibility/pe is
     restored ONLY under li:hover (see the rule right after this block), so the inner
     content stays hidden/non-interactive when closed and becomes visible/clickable
     exactly when the panel is open. */
}
/* FIX (cont.): when the panel IS open (li:hover), force the inner column lists and
   their links visible + interactive again, otherwise the mega items can't be clicked.
   Gated on :hover so it applies ONLY in the open state -> no early-open from below. */
#kgh .nav .menu li:hover > ul.kgh-mega ul,
#kgh .nav .menu li:hover > ul.kgh-mega ul *{
  visibility:visible;
  pointer-events:auto;
}
#kgh .nav .menu li ul.kgh-mega ul li{position:static;border:0;margin:0;padding:0}
#kgh .nav .menu li ul.kgh-mega ul li a{
  display:block;padding:8px 12px;font-size:13px;line-height:21px;
  color:#333333;font-weight:500;white-space:normal;
  background:none;transform:none;border-radius:7px;
}
#kgh .nav .menu li ul.kgh-mega ul li a:hover{
  background:rgba(224, 25, 32,.06);color:#E01920;transform:none;
}
}
/* Narrow desktop (681-1150px): a trigger-anchored 720px panel would overflow the
   viewport, so revert to spanning the content box in that range. */
@media (max-width:1150px) and (min-width:681px){
  #kgh .nav .menu > li:has(> ul.kgh-mega){position:static}
  #kgh .nav .menu li ul.kgh-mega{left:24px;right:24px;max-width:none;margin-left:0}
}
@media (max-width:680px){
  /* 平台手机端可能用 max-height:0 / overflow:hidden / opacity / visibility 折叠嵌套列表
     （症状：箭头展开但内容空白）。逐项用 #kgh+ 顶回；display 仍交给上方
     li.open > ul 规则做手风琴，避免全部子菜单常开。 */
  #kgh .nav.open .menu li ul{background:transparent;border:0;box-shadow:none;padding:0;max-height:none;height:auto;overflow:visible;opacity:1;visibility:visible;transform:none}
  #kgh .nav.open .menu li.open > ul.kgh-mega{display:block;padding:4px 0 10px;max-height:none;height:auto;overflow:visible}
  #kgh .nav.open .menu li.open > ul.kgh-mega > li.kgh-mega-col{display:block;height:auto;max-height:none;overflow:visible}
  #kgh .nav.open .menu li.open > ul.kgh-mega > li.kgh-mega-col > a{
    display:block;padding:10px 8px 6px;margin-bottom:0;border-bottom:0;color:#E01920}
  #kgh .nav.open .menu li.open > ul.kgh-mega ul{display:block;padding-left:10px;max-height:none;height:auto;overflow:visible;opacity:1;visibility:visible}
  #kgh .nav.open .menu li.open > ul.kgh-mega ul li{display:block;height:auto;max-height:none;overflow:visible}
  #kgh .nav.open .menu li.open > ul.kgh-mega ul li a{display:block;padding:8px;font-size:14px;line-height:21px;color:#EEEEEE;opacity:1;visibility:visible}
  #kgh .nav.open .menu li ul li a{color:#EEEEEE}
}

/* ===== Sitewide breadcrumb style sync (2026-09-17) =====
   Matches the CMS category-page template's plain breadcrumb style
   ("Home / Products", slash separators, no icons, 14px/normal type)
   instead of the icon+chevron k2-crumb variant used on the redesigned
   pages. Font-size/line-height forced on every child so ol/li/a can't
   carry a different size than the template's .breadcrumb-nav baseline. */
.k2-crumb .home-icon,
.k2-crumb .chevron-icon { display: none; }
.k2-crumb ol { gap: 8px; }
.k2-crumb,
.k2-crumb ol,
.k2-crumb li,
.k2-crumb a {
  font-size: 14px;
  line-height: normal;
}
.k2-crumb li.sep::after {
  content: none;
  color: #c0c6d0;
  font-weight: 400;
}
.k2-crumb a { color: var(--k2-muted, #666666); text-decoration: none; }
.k2-crumb a:hover { color: var(--k2-accent, #E01920); }
.k2-crumb [aria-current="page"] { color: var(--k2-accent, #E01920); font-weight: 600; }


  #kgf {
    --kg-red:var(--kg-color-fill);
    --kg-red-dark:var(--kg-color-primary-hover);
    --kg-blue: #1350a1;
    --kg-ink:var(--kg-color-ink);
    --kg-muted:var(--kg-color-muted);
    --kg-line: rgba(0, 0, 0, 0.08);
    --kg-soft:var(--kg-color-surface);
    position: relative;
    background: #ffffff;
    color: var(--kg-ink);
    font-family: 'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    padding-top: 64px;
    display: block;
  }

  #kgf a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #kgf img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
  }

  #kgf ul, #kgf li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #kgf .wrap {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
  }

  /* Brand row: logo + slogan + CTA, full width, above the nav column grid */
  #kgf .foot-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--kg-line);
  }
  #kgf .foot-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  #kgf .foot-brand-row .foot-logo { margin-bottom: 0; }
  #kgf .foot-brand-row .foot-desc { margin-bottom: 0; }
  @media (max-width: 700px) {
    #kgf .foot-brand-row {
      flex-direction: column;
      align-items: flex-start;
      padding-bottom: 32px;
      margin-bottom: 32px;
    }
    #kgf .foot-brand-text {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  }

  /* Grid Layout for Footer Columns */
  #kgf .foot-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--kg-line);
  }

  #kgf .foot-col {
    display: flex;
    flex-direction: column;
  }

  /* Brand Column */
  #kgf .foot-logo {
    display: block;
    margin-bottom: 20px;
    transition: transform 0.25s ease;
  }
  #kgf .foot-logo:hover {
    transform:none;
  }
  #kgf .foot-logo img {
    display: block;
    height: auto;
    max-height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  #kgf .foot-desc {
    color: var(--kg-muted);
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  #kgf .btn-pill-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 20px;
    border-radius:7px;
    background: var(--kg-red);
    color: #ffffff;
    border: 1px solid var(--kg-red);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    align-self: flex-start;
  }
  #kgf .btn-pill-sm:hover {
    background: var(--kg-red-dark);
    border-color: var(--kg-red-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
  }

  /* Column Titles */
  #kgf .foot-title {
    font-family: 'Noto Sans JP','Hiragino Sans','Hiragino Kaku Gothic ProN', system-ui, sans-serif;
    color: var(--kg-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    position: relative;
  }

  #kgf .foot-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  #kgf .foot-nav a {
    color: var(--kg-muted);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
  }

  #kgf .foot-nav a:hover {
    color: var(--kg-red);
    transform: translateX(3px);
  }

  /* Contact Details Column */
  #kgf .foot-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--kg-muted);
    margin-bottom: 12px;
    line-height: 1.5;
  }
  #kgf .foot-contact-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: var(--kg-red);
    margin-top: 2px;
  }
  #kgf .foot-contact-item a:hover {
    color: var(--kg-red);
  }

  /* Bottom Copyright Bar */
  #kgf .foot-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--kg-muted);
  }

  #kgf .foot-copy {
    font-weight: 500;
  }

  #kgf .foot-legal {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  #kgf .foot-legal a {
    color: var(--kg-muted);
    font-weight: 500;
  }
  #kgf .foot-legal a:hover {
    color: var(--kg-red);
  }

  /* Responsive Adjustments */
  @media (max-width: 1100px) {
    #kgf .foot-main {
      grid-template-columns: 1fr 1fr 1fr;
      gap: 32px;
    }
  }

  @media (max-width: 700px) {
    #kgf { padding-top: 48px; }
    #kgf .wrap { padding: 0 20px; }
    #kgf .foot-main {
      grid-template-columns: 1fr;
      gap: 32px;
      padding-bottom: 40px;
    }
    #kgf .foot-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
    #kgf .foot-legal {
      flex-wrap: wrap;
      gap: 16px;
    }
  }
  

/* ========================================================================
     MATCHING GREY FOOTER [KG-GREY-HF] (same level of grey as header: #333333)
     ======================================================================== */
  #kgf {
    background: linear-gradient(180deg, rgba(43, 51, 63, .60), rgba(11, 11, 11, .44));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #ffffff;
  }
  #kgf .foot-main { border-bottom-color: rgba(255, 255, 255, 0.10); }
  #kgf .foot-title { color: #ffffff; }
  #kgf .foot-desc { color: rgba(255, 255, 255, 0.78); }
  #kgf .foot-nav a { color: rgba(255, 255, 255, 0.75); }
  #kgf .foot-nav a:hover { color: var(--kg-red); text-decoration: none; }
  #kgf .foot-contact-item { color: rgba(255, 255, 255, 0.75); }
  #kgf .foot-contact-item a:hover { color: var(--kg-red); text-decoration: none; }
  #kgf .foot-contact-item svg { fill: var(--kg-red); }
  #kgf .foot-bottom { color: rgba(255, 255, 255, 0.55); }
  #kgf .foot-copy { color: rgba(255, 255, 255, 0.55); }
  #kgf .foot-legal a { color: rgba(255, 255, 255, 0.55); }
  #kgf .foot-legal a:hover { color: var(--kg-red); text-decoration: none; }
  #kgf .btn-pill-sm { background: var(--kg-red); color: #ffffff; border: 1px solid var(--kg-red); }
  #kgf .btn-pill-sm:hover { background: var(--kg-red-dark); border-color: var(--kg-red-dark); color: #ffffff; }

.k2-floating-dock {
  position: fixed;
  bottom: 28px;
  right: 24px;
  top: auto;
  transform: none;
  z-index:var(--kg-z-dock);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.k2-float-btn {
  width: 48px;
  height: 48px;
  border-radius:12px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.k2-float-btn:hover {
  transform:none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}
.k2-float-wa {
  background-color: #25d366;
}
.k2-float-wa svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}
.k2-float-top {
  background-color: #E01920;
}
.k2-float-top svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}
@media (max-width: 1200px) {
  .k2-floating-dock {
    bottom: 24px;
    right: 18px;
    opacity: 0.92;
    transition: opacity 0.2s ease, right 0.2s ease, bottom 0.2s ease;
  }
  .k2-floating-dock:hover {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .k2-floating-dock {
    bottom: 20px;
    right: 14px;
    gap: 8px;
  }
  .k2-float-btn {
    width: 44px;
    height: 44px;
    border-radius:7px;
  }
  .k2-float-wa svg { width: 24px; height: 24px; }
  .k2-float-top svg { width: 20px; height: 20px; }
}

.k2-crumb{position:relative;z-index:3;scroll-margin-top:101px}

/* Search: Google CSE results render inside the header search panel (not a clipped 54px overlay) */
#kgh .kgh-search-panel .gsc-control-wrapper-cse{width:100%}
#kgh .kgh-search-panel .gsc-results-wrapper-overlay{position:static;top:auto;left:auto;width:100%;height:auto;max-height:none;overflow:visible;background:transparent;margin-top:12px}
#kgh .kgh-search-panel .gsc-results{width:100%;height:auto;max-height:none;overflow:visible}
#kgh .kgh-search-panel .gsc-webResult.gsc-result{width:100%}
/* Search: hide Google CSE modal backdrop that covered the inline results */
.gsc-modal-background-image{display:none}

}
