/* /ja/ai-ad/cm/ only (body.l2-cm). The shared lp2 stylesheets stay untouched so other pages (e.g. /ja/model-satsuei/) keep their look. */
body.l2.l2-cm .l2n-k{white-space:nowrap}
@media (min-width:1280px){
  body.l2.l2-cm .l2-hero--real .l2-hero-txt{max-width:640px}
  body.l2.l2-cm .l2-hero--real .l2-h1 .l2-nb{white-space:normal}
  body.l2.l2-cm .l2-main .l2-hero--real h1.l2-h1{font-size:clamp(36px,2.7vw,50px)}
  body.l2.l2-cm .l2-hero.l2-hero--real::after{background:linear-gradient(90deg,#0e0f0d 0,#0e0f0d 700px,rgba(14,15,13,.6) 820px,rgba(14,15,13,0) 1000px),linear-gradient(0deg,rgba(14,15,13,.75),rgba(14,15,13,0) 18%)}
  body.l2.l2-cm .l2-hero--real .l2-hero-media img{object-position:50% 5%}
}
@media (min-width:1700px){
  body.l2.l2-cm .l2-hero.l2-hero--real::after{background:linear-gradient(90deg,#0e0f0d 0,#0e0f0d calc((100% - 1200px)/2 + 24px + 700px),rgba(14,15,13,.6) calc((100% - 1200px)/2 + 24px + 820px),rgba(14,15,13,0) calc((100% - 1200px)/2 + 24px + 1000px)),linear-gradient(0deg,rgba(14,15,13,.75),rgba(14,15,13,0) 18%)}
}
@media (max-width:820px){
  body.l2.l2-cm .l2-facts li{display:block}
  body.l2.l2-cm .l2-facts b{white-space:normal;font-size:22px}
}
/* round 6: protective word wrappers are pure inline text (never flex/grid items, never block); base line breaking follows Japanese phrases where the browser supports it */
body.l2.l2-cm .l2n-k{display:inline!important;white-space:nowrap;margin:0!important;padding:0!important;font-size:inherit!important;color:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;float:none!important;position:static!important}
body.l2.l2-cm .l2-main{word-break:auto-phrase;line-break:strict}
body.l2.l2-cm .l2-stat span,body.l2.l2-cm .l2-facts span{text-wrap:balance}
body.l2.l2-cm .l2n-p{display:inline!important;white-space:nowrap}
body.l2.l2-cm .l2n-p{margin:0!important;padding:0!important;font-size:inherit!important;color:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;float:none!important;position:static!important;font-weight:inherit!important}
/* mobile card labels must match the desktop table headers (post-launch fix) */
@media (max-width:820px){
body.l2.l2-cm .l2-tbl tbody td:nth-of-type(1)::before{content:"一般的なテレビCM・実写の広告動画"}
body.l2.l2-cm .l2-tbl tbody td:nth-of-type(2)::before{content:"AIで作るCM・広告動画（当社）"}
}
