/* codex-japanese-linebreak-v1:start */
html[lang="ja"] body {
  line-break: strict;
}

html[lang="ja"] main :is(h1, h2, h3, h4, h5, h6) {
  word-break: normal;
  word-break: auto-phrase;
  overflow-wrap: normal;
  text-wrap: balance;
}

html[lang="ja"] main :is(p, li, dt, dd, blockquote, figcaption, summary) {
  word-break: normal;
  word-break: auto-phrase;
  overflow-wrap: normal;
  text-wrap: pretty;
}

@media (max-width: 760px) {
  html[lang="ja"] main :is(h1, h2, h3, h4, blockquote) > br:not([class]),
  html[lang="ja"] main p:is([class*="lead"], [class*="copy"]) > br:not([class]) {
    display: none !important;
  }
}
/* codex-japanese-linebreak-v1:end */

/* Readability repair: cover the existing role=main containers as well. */
html[lang="ja"] #main :is(h1,h2,h3,h4){word-break:normal;word-break:auto-phrase;overflow-wrap:normal;text-wrap:balance}
html[lang="ja"] #main :is(p,li,dt,dd,summary){word-break:normal;word-break:auto-phrase;overflow-wrap:anywhere;text-wrap:pretty}
.readable-flow .reading-line{display:block}
.readable-flow .reading-line + .reading-line{margin-top:12px}
.readable-flow .reading-phrase{display:block}
.readable-flow #main article > h1{font-size:clamp(23px,4vw,30px);line-height:1.6;letter-spacing:0}
.readable-flow .application-funnel h2,.readable-flow .company-video-selector h2{font-size:clamp(21px,3vw,28px);line-height:1.6;padding-left:0;border-left:0}
.readable-flow .application-funnel-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
.readable-flow .application-funnel-actions{display:grid;grid-template-columns:minmax(0,1fr)}
.readable-flow .application-funnel-actions a{font-size:16px;padding:14px 12px;text-wrap:balance}
.readable-flow .line-store-grid{grid-template-columns:minmax(0,1fr)}
.readable-flow .line-store-grid a{justify-content:center;text-align:center;font-size:17px}
.readable-flow .line-store-grid a::after{content:none}
.readable-flow .condition-checklist{margin:14px 0 0;padding-left:1.4em}
.readable-flow .condition-checklist li{margin:8px 0}
.readable-flow .funnel-photo-strip{grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0}
.readable-flow .funnel-photo-strip img,.readable-flow .funnel-photo-strip img:first-child{grid-column:auto;height:150px}
.readable-flow a:focus-visible{outline:3px solid #8d574c;outline-offset:4px}
@media(max-width:600px){
  .readable-flow .application-funnel-steps{grid-template-columns:minmax(0,1fr)}
  .readable-flow .wrap{padding:0 16px}
  .readable-flow article{padding:24px 18px}
  .readable-flow .application-funnel,.readable-flow .company-video-selector{padding:22px 14px}
  .readable-flow .funnel-photo-strip{grid-template-columns:1fr 1fr}
  .readable-flow .funnel-photo-strip img:first-child{grid-column:1/-1;height:180px}
  .readable-flow .funnel-photo-strip img{height:120px}
}
