@import url("japanese-font-unified-20261113.css");
/* Consistent semantic text sizes; preserve zoom, display art, counters and shared chrome. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body [data-rg-type="body"]{font-size:16px!important;line-height:1.9!important}
body [data-rg-type="note"]{font-size:14px!important;line-height:1.75!important}
body [data-rg-type="label"]{font-size:12px!important;line-height:1.6!important}
body [data-rg-type="title"]{font-size:36px!important;line-height:1.45!important}
body [data-rg-type="heading"]{font-size:32px!important;line-height:1.5!important}
body [data-rg-type="subheading"]{font-size:24px!important;line-height:1.6!important}
body [data-rg-type="minor-heading"]{font-size:20px!important;line-height:1.6!important}
body [data-rg-type="body"] :is(strong,b,em){font-size:inherit!important;line-height:inherit!important}
@media(max-width:700px){body [data-rg-type="title"]{font-size:28px!important}body [data-rg-type="heading"]{font-size:26px!important}body [data-rg-type="subheading"]{font-size:22px!important}body [data-rg-type="minor-heading"]{font-size:20px!important}}

/* Short table labels are not body copy. Keep words intact and let intrinsic column sizing work. */
body th[data-rg-type="table-label"]{font-size:14px!important;line-height:1.75!important;word-break:keep-all!important;overflow-wrap:normal!important}
body :is(button,summary,.faq-q)[data-rg-type]{word-break:keep-all!important;overflow-wrap:normal!important;white-space:normal}
body [data-rg-type] .rg-word{display:inline-block;max-width:100%}

/* Historical news follows the same date/category/body hierarchy. */
.news-readable .news-static-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:30px 0;border-bottom:1px solid #c5d0c7;align-items:start;font-size:16px;line-height:1.9}
.news-readable .news-static-row>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;min-width:0}
.news-readable .news-static-row>time{color:#54685f}
.news-readable .news-static-row>div>span:first-child{font-size:14px;font-weight:600}
@media(max-width:700px){.news-readable .news-static-row{grid-template-columns:100px 1fr;gap:10px 14px;padding:24px 0}.news-readable .news-static-row>div{display:contents}.news-readable .news-static-row>div>:last-child{grid-column:1/-1}}

/* Company proper names stay on one line; the body column uses remaining space. */
@media(max-width:700px){body .info-table th[data-rg-type="table-label"]{width:auto;min-width:0;white-space:nowrap;padding-inline:8px}}

@media(max-width:700px){body .rg-company-table th[data-rg-type="table-label"]{width:132px!important;box-sizing:border-box}}

/* 2026-11-17: requested small UI labels; preview guards unchanged. */
body .required-label{font-size:12px!important}
@media(max-width:800px){
 body .rg-gradient-hero .rg-gradient-eyebrow,
 body .breadcrumb,body .breadcrumb .container,body .breadcrumb :is(a,span),
 body .news-badge,
 body #contents .k1-section-label,body #contents.cs-ready .cs-top,
 body #regaxia-strengths .strengths-heading>p,
 body .home-recruit-head>p>span{font-size:12px!important}
}

/* Keep words intact after the requested sentence breaks. */
body p.rg-sentence-lines .rg-word{display:inline-block;white-space:nowrap;max-width:100%;font:inherit;letter-spacing:inherit}
/* Isolated migrated pages reset descendants; these scoped rules must survive it. */
body p.rg-sentence-lines .rg-word{display:inline-block!important;white-space:nowrap!important;max-width:100%!important;font:inherit!important;letter-spacing:inherit!important}
body p.rg-sentence-lines br{display:revert!important}

/* 2026-11-17: explicitly marked remaining small labels; font size only. */
body [data-rg-small-label=""]{font-size:12px!important}

/* v2: preserve larger desktop text; also cover textual CSS counters. */
@media(max-width:800px){body [data-rg-small-label="mobile"]{font-size:12px!important}}
body [data-rg-small-before]::before,body [data-rg-small-after]::after{font-size:12px!important}

/* Preserve whole labels after the minimum-size increase. */
@media(max-width:760px){
 body .why-table tbody td{grid-template-columns:108px minmax(0,1fr);column-gap:4px;padding-inline:8px}
 body .why-mobile-label[data-rg-small-label]{white-space:nowrap}
 body .recognition-symbol small[data-rg-small-label]{width:max-content;white-space:nowrap;overflow-wrap:normal;justify-self:center}
}
@media(max-width:700px){html[lang="en"] #shared-site-footer .footer-v24-nav{grid-template-columns:1fr}}
@media(max-width:360px){#shared-site-footer.footer-v24{padding-inline:16px}}

@media(max-width:360px){body .why-table tbody tr{margin-inline:-4px;width:calc(100% + 8px)}}
/* Reclaim the four pixels added to the news category badge, not its article. */
@media(max-width:800px){body #dynamic-news>div{column-gap:14px!important}}
