/* v1.4.5 — resolved conflict with the separate Ken'i unified H1 theme.
 * The common theme gave archive h1.mkuf-title-heading a white !important
 * background while v1.4.4 gave its inner spans white !important text. Result:
 * blank white rectangle. Set BOTH text and background to a deliberate pair,
 * and exceed the shared theme selector specificity rather than relying on
 * stylesheet order or repeatedly injecting inline CSS. */
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 {
  display:block!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:0!important;height:auto!important;
  padding:clamp(18px,2.5vw,30px) clamp(16px,3vw,42px)!important;
  margin:0 0 clamp(22px,3vw,34px)!important;
  border:0!important;border-bottom:5px solid #ffd943!important;
  border-radius:12px 12px 4px 4px!important;
  background:#fffefa!important;background-image:none!important;
  box-shadow:0 12px 30px rgba(0,0,0,.12)!important;
  color:#161616!important;-webkit-text-fill-color:#161616!important;
}
/* Stronger than:
 body.mkuf-onecol.mkuf-heading-system .keni-main_outer h1.mkuf-title-heading
 AND body.mkuf-onecol.mkuf-heading-system .keni-main_outer :is(.archive_title>h1,...).
 The theme is a separate plugin and may enqueue after the LP. */
body.mtcb-traffic-lp.mkuf-onecol.mkuf-heading-system .keni-main_outer .mtcb-lp-hero .mtcb-title-band144 h1.mtcb-lp-hero__native-h1,
body.mtcb-traffic-lp .keni-main_outer .mtcb-lp-hero .mtcb-title-band144 h1.mtcb-lp-hero__native-h1,
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 :is(h1.mtcb-lp-hero__native-h1,h1.archive_title,h1.entry_title) {
  display:block!important;float:none!important;clear:none!important;
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:none!important;background-image:none!important;
  box-shadow:none!important;text-shadow:none!important;
  color:#171717!important;-webkit-text-fill-color:#171717!important;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif!important;
  font-size:clamp(23px,2.15vw,32px)!important;
  font-weight:900!important;line-height:1.42!important;
  text-align:left!important;letter-spacing:-.045em!important;
  overflow-wrap:normal!important;word-break:normal!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 h1.mtcb-lp-hero__native-h1::before,
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 h1.mtcb-lp-hero__native-h1::after,
body.mtcb-traffic-lp .mtcb-title-band144 .mtcb-h1-main144::before,
body.mtcb-traffic-lp .mtcb-title-band144 .mtcb-h1-main144::after,
body.mtcb-traffic-lp .mtcb-title-band144 .mtcb-h1-sub144::before,
body.mtcb-traffic-lp .mtcb-title-band144 .mtcb-h1-sub144::after {content:none!important;display:none!important;}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 .mtcb-h1-main144 {
  display:block!important;width:auto!important;height:auto!important;
  white-space:nowrap!important;
  color:#141414!important;-webkit-text-fill-color:#141414!important;
  font-size:inherit!important;font-weight:900!important;line-height:inherit!important;
  font-family:inherit!important;letter-spacing:-.048em!important;
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;text-shadow:none!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 .mtcb-h1-sub144 {
  display:block!important;width:auto!important;min-height:0!important;
  margin:8px 0 0!important;padding:0!important;
  font-size:clamp(13px,1.1vw,16px)!important;font-weight:750!important;
  line-height:1.5!important;letter-spacing:.018em!important;
  color:#51462c!important;-webkit-text-fill-color:#51462c!important;
  background:transparent!important;
}
@media(max-width:1100px){
  body.mtcb-traffic-lp .keni-main_outer .mtcb-lp-hero .mtcb-title-band144 h1.mtcb-lp-hero__native-h1 {font-size:clamp(21px,2.5vw,27px)!important;}
}
@media(max-width:950px){
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 .mtcb-h1-main144{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
}
@media(max-width:767px){
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144{padding:16px 15px!important;}
  body.mtcb-traffic-lp .keni-main_outer .mtcb-lp-hero .mtcb-title-band144 h1.mtcb-lp-hero__native-h1{font-size:clamp(19px,5.25vw,25px)!important;line-height:1.5!important;}
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 .mtcb-h1-main144{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;}
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-title-band144 .mtcb-h1-sub144{font-size:13px!important;margin-top:6px!important;}
}
/* Prominent luxury CTAs in the hero; contrast is preserved in every state. */
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions {
  display:flex!important; flex-wrap:wrap!important;
  gap:clamp(12px,1.3vw,18px)!important;
  margin-bottom:23px!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a {
  position:relative!important; isolation:isolate!important;
  display:inline-flex!important; flex:1 1 245px!important;
  min-width:0!important; min-height:78px!important;
  padding:20px 24px!important; border-radius:17px!important;
  overflow:hidden!important; cursor:pointer!important;
  font-size:clamp(16px,1.32vw,20px)!important; font-weight:900!important;
  line-height:1.45!important; white-space:nowrap!important;
  letter-spacing:.01em!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
  text-decoration:none!important; text-shadow:none!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a.mtcb-lp-hero__primary,
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a.mtcb-lp-hero__primary:visited {
  color:#111!important; -webkit-text-fill-color:#111!important;
  border:2px solid #fff0a0!important;
  background:linear-gradient(150deg,#fff5b8 0%,#ffe05b 34%,#ffc718 78%,#f8b600 100%)!important;
  box-shadow:0 5px 0 #bb8e17,0 14px 28px rgba(255,204,40,.2),inset 0 2px 0 rgba(255,255,255,.8)!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a.mtcb-lp-hero__secondary,
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a.mtcb-lp-hero__secondary:visited {
  color:#fff!important; -webkit-text-fill-color:#fff!important;
  border:2px solid #f7d66b!important;
  background:linear-gradient(145deg,#3b434b 0%,#1a2029 38%,#090c12 100%)!important;
  box-shadow:0 5px 0 #7c631c,0 14px 28px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a::before {
  content:""!important; display:block!important; pointer-events:none!important;
  position:absolute!important; z-index:0!important;
  left:-120%!important; top:-55%!important;
  width:55%!important;height:210%!important;
  transform:translateX(0) rotate(22deg)!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.66),transparent)!important;
  animation:mtcb-sheen144 5.4s ease-in-out infinite!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a > span {
  position:relative!important; z-index:1!important; font-size:24px!important;
  color:inherit!important; -webkit-text-fill-color:inherit!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a:hover {
  transform:translateY(-3px)!important;
  box-shadow:0 9px 0 #8f7220,0 19px 35px rgba(0,0,0,.22)!important;
}
body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a:focus-visible {
  outline:3px solid white!important;outline-offset:5px!important;
}
@keyframes mtcb-sheen144 {0%,56%{left:-120%;opacity:0}63%{opacity:.78}77%,100%{left:190%;opacity:0}}

/* Smaller and more deliberate white compensation form. The dark upper panel
   and original input elements stay in the same root, no DOM/calculation edits. */
body.mtcb-traffic-lp .keni-main_outer .mtcb-calculator-refined.mtcb-form142,
body.mtcb-traffic-lp .keni-main_outer .mtcb-calculator-refined.mtcb-estimator144 {
  box-sizing:border-box!important;
  width:min(100%,790px)!important;
  max-width:790px!important;
  min-width:0!important;
  margin:clamp(26px,3vw,43px) auto!important;
  padding:clamp(15px,2vw,27px)!important;
}
body.mtcb-traffic-lp .mtcb-estimator144 :is(form,fieldset,.mtcb-date-pair142){max-width:100%!important;min-width:0!important;}
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-cta-row142 {margin:30px auto 22px!important;}
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-estimate-luxe144,
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-calculator-submit {
  position:relative!important;isolation:isolate!important;
  overflow:hidden!important;cursor:pointer!important;
  width:min(100%,580px)!important;max-width:100%!important;
  min-height:84px!important;padding:20px 24px!important;
  font-size:clamp(21px,2.2vw,27px)!important;font-weight:900!important;
  line-height:1.4!important;letter-spacing:.015em!important;
  color:#191400!important;-webkit-text-fill-color:#191400!important;
  border:2px solid #ffe897!important;border-radius:17px!important;
  background:linear-gradient(135deg,#fff5b6 0%,#ffdf53 36%,#ffcc19 75%,#f5b600 100%)!important;
  box-shadow:0 6px 0 #b88a0d,0 16px 35px rgba(120,87,0,.20),inset 0 2px 0 #fff9d5!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
/* No legacy horizontal rules or dot decorations beside calculator CTA. */
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-calculator-submit::after,
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-cta-row142::before,
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-cta-row142::after {content:none!important;display:none!important;}
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-estimate-luxe144::before {
  content:""!important;display:block!important;position:absolute!important;
  z-index:0!important;pointer-events:none!important;
  width:50%!important;height:220%!important;top:-60%!important;left:-110%!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent)!important;
  transform:rotate(20deg)!important;animation:mtcb-sheen144 6.1s ease-in-out infinite!important;
}
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-estimate-luxe144:hover {transform:translateY(-2px)!important;}
body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-estimate-luxe144:focus-visible {outline:3px solid #283956!important;outline-offset:4px!important;}

/* Enhance the existing end-of-LP contact section when its actual copy and both
   working link types are found. Text remains editable at the original source. */
body.mtcb-traffic-lp .keni-main_outer .mtcb-consult144 {
  box-sizing:border-box!important;
  max-width:100%!important; min-width:0!important;
  padding:clamp(24px,4vw,50px)!important;
  border-radius:clamp(15px,2vw,26px)!important;
  background:linear-gradient(135deg,#07152c 0%,#102e55 48%,#0e2448 100%)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-align:center!important;
}
body.mtcb-traffic-lp .mtcb-consult144 .mtcb-consult-heading144 {
  max-width:100%!important;width:100%!important;
  margin:10px auto 16px!important;padding:0!important;
  background:none!important;background-image:none!important;
  border:0!important;box-shadow:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:clamp(27px,3vw,42px)!important;
  font-weight:900!important;line-height:1.4!important;letter-spacing:-.03em!important;
  text-wrap:balance;
}
body.mtcb-traffic-lp .mtcb-consult144 .mtcb-consult-heading144::before,
body.mtcb-traffic-lp .mtcb-consult144 .mtcb-consult-heading144::after {content:none!important;display:none!important;}
body.mtcb-traffic-lp .mtcb-consult144 .mtcb-consult-lead144 {
  margin:0 auto 26px!important;max-width:750px!important;
  font-size:clamp(17px,1.55vw,22px)!important;line-height:1.8!important;
  color:#e6f1ff!important;-webkit-text-fill-color:#e6f1ff!important;
  text-wrap:pretty;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-line144,
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144 {
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  box-sizing:border-box!important;display:inline-flex!important;
  flex-direction:column!important;align-items:center!important;justify-content:center!important;
  vertical-align:top!important;
  width:clamp(230px,38%,460px)!important;max-width:100%!important;
  min-height:118px!important; margin:7px!important;padding:22px 20px!important;
  border-radius:17px!important;
  text-align:center!important;text-decoration:none!important;
  font-size:clamp(19px,1.75vw,25px)!important;font-weight:900!important;
  line-height:1.5!important;letter-spacing:.01em!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-line144 {
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:2px solid #82edac!important;
  background:linear-gradient(145deg,#19bc62 0%,#078746 65%,#056b36 100%)!important;
  box-shadow:0 6px 0 #00552a,0 14px 28px rgba(0,0,0,.2),inset 0 2px 0 rgba(255,255,255,.45)!important;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144 {
  color:#0e2443!important;-webkit-text-fill-color:#0e2443!important;
  border:2px solid #ffe38c!important;
  background:linear-gradient(145deg,#fffdf2 0%,#fff2c0 66%,#ffe090 100%)!important;
  box-shadow:0 6px 0 #b98f39,0 14px 28px rgba(0,0,0,.17),inset 0 2px 0 white!important;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144 .mtcb-consult-phone-caption144 {
  display:block!important; font-size:clamp(14px,1.2vw,17px)!important;
  line-height:1.5!important;font-weight:800!important;
  color:#233751!important;-webkit-text-fill-color:#233751!important;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144 .mtcb-consult-phone-number144 {
  display:block!important;font-size:clamp(21px,2vw,29px)!important;
  line-height:1.4!important;font-weight:950!important;
  color:#132d52!important;-webkit-text-fill-color:#132d52!important;
  white-space:nowrap!important;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-line144::before,
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144::before {
  content:""!important;display:block!important;pointer-events:none!important;
  position:absolute!important;z-index:0!important;left:-110%!important;top:-55%!important;
  width:55%!important;height:205%!important;transform:rotate(19deg)!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent)!important;
  animation:mtcb-sheen144 6s ease-in-out infinite!important;
}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-line144:hover,
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144:hover {transform:translateY(-3px)!important;}
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-line144:focus-visible,
body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144:focus-visible {outline:3px solid #ffec9c!important;outline-offset:5px!important;}
/* The original plugin's family contact component is also made more prominent. */
body.mtcb-traffic-lp .mtcb-family-message h2,
body.mtcb-traffic-lp .mtcb-family-message__copy p {
  font-size:clamp(17px,1.6vw,22px)!important;line-height:1.75!important;
}
body.mtcb-traffic-lp .mtcb-family-message h2 {font-size:clamp(27px,2.8vw,39px)!important;line-height:1.4!important;}
body.mtcb-traffic-lp .mtcb-family-message__contact a {
  min-height:76px!important;font-size:clamp(18px,1.5vw,24px)!important;
  font-weight:900!important;border-radius:14px!important;
}
@media(max-width:767px){
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;}
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a{
    width:100%!important; min-width:0!important;min-height:70px!important;
    font-size:clamp(17px,4.8vw,20px)!important;
    padding:17px 15px!important;
  }
  body.mtcb-traffic-lp .keni-main_outer .mtcb-calculator-refined.mtcb-form142,
  body.mtcb-traffic-lp .keni-main_outer .mtcb-calculator-refined.mtcb-estimator144{
    width:100%!important;max-width:100%!important;padding:17px 12px!important;
  }
  body.mtcb-traffic-lp .mtcb-estimator144 .mtcb-estimate-luxe144 {min-height:76px!important;font-size:clamp(19px,5vw,23px)!important;padding:17px 11px!important;}
  body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-line144,
  body.mtcb-traffic-lp .mtcb-consult144 a.mtcb-consult-phone144{
    width:100%!important;max-width:100%!important;margin:8px auto!important;min-height:92px!important;
  }
}
@media(max-width:380px){
  body.mtcb-traffic-lp .mtcb-lp-hero .mtcb-lp-hero__actions a{white-space:normal!important;}
}
@media(prefers-reduced-motion:reduce){
  body.mtcb-traffic-lp :is(.mtcb-lp-hero__actions a,.mtcb-estimate-luxe144,.mtcb-consult144 a)::before {animation:none!important;display:none!important;}
  body.mtcb-traffic-lp :is(.mtcb-lp-hero__actions a,.mtcb-estimate-luxe144,.mtcb-consult144 a){transition:none!important;}
}
