/* Generated from untouched parent CSS. Semantic tags use legacy appearance classes. */
body:has(main) .anew-legacy-h2 { font-size:1.5em; font-weight:bold; margin:.83em 0; }
body:has(main) .anew-legacy-h3 { font-size:1.17em; font-weight:bold; margin:1em 0; }
body:has(main) .anew-legacy-h4 { font-size:1em; font-weight:bold; margin:1.33em 0; }
body:has(main) .anew-legacy-h5 { font-size:.83em; font-weight:bold; margin:1.67em 0; }
body:has(main) .anew-legacy-h6 { font-size:.67em; font-weight:bold; margin:2.33em 0; }
/* Parent: common.css */
body:has(main:not(#goodFlat)) .anew-legacy-h2 {font-size: 5.2rem; font-weight: 900; margin-top: 0px;}
body:has(main:not(#goodFlat)) .anew-legacy-h2 span.font-ja {font-size: 0.6em;}
@media screen and (max-width: 426px) {
body:has(main:not(#goodFlat)) .anew-legacy-h2 {font-size: 24px; font-weight: 900;}
}
body:has(main:not(#goodFlat)) .contact-link .anew-legacy-h4 {font-size: 6.4rem; margin: 0px;}
body:has(main:not(#goodFlat)) .contact-link .anew-legacy-h4 small {font-size: 0.4em; font-weight: 400;}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) .contact-link .anew-legacy-h4 {font-size: 5.6rem; margin: 0px;}
}
@media screen and (max-width: 426px) {
body:has(main:not(#goodFlat)) .contact-link .anew-legacy-h4 {font-size: 4.3rem;}
}
body:has(main:not(#goodFlat)) .rec-wrapper .anew-legacy-h3 {position: relative; margin-bottom: 5rem; font-size: 3rem !important; text-align: center !important;}
body:has(main:not(#goodFlat)) .rec-wrapper .anew-legacy-h3 span.font-ja {font-size: inherit !important; font-weight: inherit !important;}
body:has(main:not(#goodFlat)) .rec-wrapper .anew-legacy-h3 + p {text-align: center; line-height: 2; font-size: 1.8rem !important;}
body:has(main:not(#goodFlat)) .rec-wrapper .anew-legacy-h3 span.font-en {font-size: 1.8em !important;}
body:has(main:not(#goodFlat)) .rec-wrapper .anew-legacy-h3::after {content: ""; position: absolute; width: 1rem; height: 1rem; background-image: url("../images/icon-plus-white.svg");}
body:has(main:not(#goodFlat)) .works-card .anew-legacy-h4 {font-size: 2rem; margin: 0px 0px 1rem;}
body:has(main:not(#goodFlat)) .sec-related-business .anew-legacy-h4 {text-align: center; margin-bottom: 3rem; line-height: 1.4;}
body:has(main:not(#goodFlat)) .sec-related-business .anew-legacy-h4 .font-en {font-size: 2.4rem; letter-spacing: 0.1em; color: rgb(30, 163, 102);}
body:has(main:not(#goodFlat)) .sec-related-business .anew-legacy-h4 .font-ja {font-size: 1.4rem; color: rgb(51, 51, 51);}
body:has(main:not(#goodFlat)) .culture-lists .anew-legacy-h5 {font-size: 1.7rem; color: rgb(30, 163, 102); margin-bottom: 1rem;}

/* Parent: company.css */
body:has(main:not(#goodFlat)) #companyPage .anew-legacy-h3 {font-size: 3rem; text-align: center; margin-bottom: 4rem;}
body:has(main:not(#goodFlat)) #companyPage section .anew-legacy-h3 {text-align: left; text-transform: uppercase;}
body:has(main:not(#goodFlat)) .sec-company-bio .anew-legacy-h2.bg-title {font-size: 5.2rem; margin-block-end: 0px;}
body:has(main:not(#goodFlat)) .sec-company-bio .anew-legacy-h2.bg-title span.font-ja {font-size: 0.4em;}
body:has(main:not(#goodFlat)) .bio-wrapper :is(h1, .anew-legacy-h2).sm-title {font-size: 3.4rem; margin-bottom: 0px;}
body:has(main:not(#goodFlat)) .bio-wrapper :is(h1, .anew-legacy-h2).sm-title span.font-ja {font-size: 0.6em;}
body:has(main:not(#goodFlat)) .bio-wrapper :is(h1, .anew-legacy-h2).sm-title span.date-bigger {font-size: 1.6em;}
body:has(main:not(#goodFlat)) .sec-president .anew-legacy-h2 {font-size: 3.2rem; margin-block-end: 3.2rem;}
body:has(main:not(#goodFlat)) .sec-company-outline .anew-legacy-h3 .font-en {font-size: 1.8em;}
body:has(main:not(#goodFlat)) .sec-brand-logo .anew-legacy-h2 {color: rgb(255, 255, 255); text-shadow: 1px 1px 4px var(--clr-blue);}
body:has(main:not(#goodFlat)) .sec-sdg .anew-legacy-h2 {font-size: 3rem; margin-bottom: 4rem; text-align: left;}
body:has(main:not(#goodFlat)) .sec-sdg .anew-legacy-h2 .font-en {font-size: 1.8em;}
body:has(main:not(#goodFlat)) .sec-sdg .sdg-lists .anew-legacy-h4 {background: var(--clr-grey); padding-inline: 4rem; padding-block: 2rem; font-size: 2.2rem; border-radius: 1.2rem;}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) #companyPage .anew-legacy-h3 {line-height: 1.8;}
body:has(main:not(#goodFlat)) .bio-wrapper :is(h1, .anew-legacy-h2) {font-size: 3rem;}
}
@media screen and (max-width: 426px) {
body:has(main:not(#goodFlat)) #companyPage .anew-legacy-h2 {width: 100%;}
body:has(main:not(#goodFlat)) .bio-wrapper :is(h1, .anew-legacy-h2) {font-size: 2.6rem;}
body:has(main:not(#goodFlat)) #companyPage .anew-legacy-h3 {font-size: 2rem; text-align: center; margin-bottom: 0rem;}
}

/* Parent: news.css */
body:has(main:not(#goodFlat)) .news-wrapper .anew-legacy-h2 .font-ja {font-size: 0.4em;}
body:has(main:not(#goodFlat)) .filter-options .anew-legacy-h4 {font-size: 2.4rem;}
@media screen and (max-width: 426px) {
body:has(main:not(#goodFlat)) .news-wrapper .anew-legacy-h2 .font-ja {font-size: 1.8rem;}
}

/* Parent: recruit.css */
body:has(main:not(#goodFlat)) main#recruit :is(h1, .anew-legacy-h3) {flex: 0 0 auto; font-size: 5.2rem; margin-block-start: 0px;}
body:has(main:not(#goodFlat)) main#recruit :is(h1, .anew-legacy-h3) span.font-en {text-transform: uppercase; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--clr-blue); -webkit-text-stroke-width: 1px;}
body:has(main:not(#goodFlat)) main#recruit :is(h1, .anew-legacy-h3) span.font-ja {font-size: 0.6em; font-weight: 900;}
body:has(main:not(#goodFlat)) .recruit-bio-wrapper .anew-legacy-h5 {font-size: 2.6rem; line-height: 2;}
body:has(main:not(#goodFlat)) .sec-recruit-content .anew-legacy-h4 {font-size: 3.2rem;}
body:has(main:not(#goodFlat)) .recruit-detail-content .anew-legacy-h6 {margin: 2rem 0px; font-size: 2rem;}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) main#recruit :is(h1, .anew-legacy-h3) {margin-block: 2rem 0rem;}
}

/* Parent: recruit_detail.css */
body:has(main:not(#goodFlat)) main#recruitDetail :is(h1, .anew-legacy-h3) {font-size: 5.2rem;}
body:has(main:not(#goodFlat)) main#recruitDetail :is(h1, .anew-legacy-h3) span.font-en {text-transform: uppercase; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--clr-blue); -webkit-text-stroke-width: 1px;}
body:has(main:not(#goodFlat)) main#recruitDetail :is(h1, .anew-legacy-h3) span.font-ja {font-size: 0.6em; font-weight: 900; color: var(--clr-black);}
body:has(main:not(#goodFlat)) .recruit-bio-wrapper .anew-legacy-h5 {font-size: 2.6rem; line-height: 2;}
body:has(main:not(#goodFlat)) .recruit-detail-content .anew-legacy-h6 {margin: 2rem 0px; font-size: 2rem;}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) main#recruitDetail :is(h1, .anew-legacy-h3) {margin-block: 2rem 0rem;}
}
@media screen and (max-width: 425px) {
body:has(main:not(#goodFlat)) main#recruitDetail :is(h1, .anew-legacy-h3) {font-size: 3.4rem;}
}

/* Parent: brand.css */
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) {font-size: 5.2rem; flex: 0 0 auto; width: 40rem;}
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) span.font-en {text-transform: uppercase; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--clr-blue); -webkit-text-stroke-width: 1px;}
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) small {font-size: 0.6em; font-weight: 700; color: var(--clr-black);}
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) + p {margin-block: 4rem 8rem; font-size: 2.2rem; font-weight: 700;}
body:has(main:not(#goodFlat)) main#brand .brand-lists .anew-legacy-h5 {text-align: center; font-size: 3.2rem; margin-block: 0.4em;}
body:has(main:not(#goodFlat)) .brand-bio-wrapper .anew-legacy-h5 {font-size: 2.6rem; line-height: 2;}
body:has(main:not(#goodFlat)) .sec-brand-content .anew-legacy-h4 {font-size: 3.2rem;}
body:has(main:not(#goodFlat)) #brand .rec-wrapper .anew-legacy-h3 {width: unset;}
body:has(main:not(#goodFlat)) main#brand .rec-wrapper .anew-legacy-h3 span.font-en {-webkit-text-fill-color: unset; -webkit-text-stroke: unset;}
body:has(main:not(#goodFlat)) main#brand .rec-wrapper .anew-legacy-h3 + p {margin-block: 0px !important;}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) {margin-block: 2rem 0rem;}
body:has(main:not(#goodFlat)) main#brand .brand-lists .anew-legacy-h5 {text-align: center; font-size: 2.6rem; margin-block: 0.4em 2rem; border-bottom: 2px solid var(--clr-blue);}
}
@media screen and (max-width: 425px) {
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) {font-size: 3.4rem;}
body:has(main:not(#goodFlat)) .brand-bio-wrapper .anew-legacy-h5 {font-size: 1.9rem; line-height: 2; overflow-wrap: break-word;}
body:has(main:not(#goodFlat)) main#brand :is(h1, .anew-legacy-h3) + p {margin-block: 4rem 2rem; font-size: 1.8rem; font-weight: 700;}
body:has(main:not(#goodFlat)) main#brand .brand-lists .anew-legacy-h5 {margin-block-end: 4rem;}
}

/* Parent: service_consult.css */
body:has(main:not(#goodFlat)) .sec-consult-bio :is(h1, .anew-legacy-h3) {font-size: 5.2rem;}
body:has(main:not(#goodFlat)) .sec-consult-bio :is(h1, .anew-legacy-h3) span {text-transform: uppercase; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--clr-blue); -webkit-text-stroke-width: 1px;}
body:has(main:not(#goodFlat)) .sec-consult-bio :is(h1, .anew-legacy-h3) small {font-size: 0.6em; font-weight: 900;}
body:has(main:not(#goodFlat)) #serviceConsult .anew-legacy-h4 {flex: 0 0 auto; font-size: 2.6rem; line-height: 2.2;}
body:has(main:not(#goodFlat)) .point-lists li .anew-legacy-h6 {font-size: 2rem; margin: 0px 0px 6rem;}
body:has(main:not(#goodFlat)) .sec-point .anew-legacy-h4 {position: sticky; top: 20rem; height: fit-content; letter-spacing: 0.08em; text-indent: 0px !important;}
body:has(main:not(#goodFlat)) .flow-lists li .anew-legacy-h6 {font-size: 2.2rem; margin-top: 0px;}
body:has(main:not(#goodFlat)) .sec-flow .anew-legacy-h4 {margin-bottom: 8rem;}
body:has(main:not(#goodFlat)) .sec-faq .anew-legacy-h6 {margin: 0px; font-size: 1.8rem; font-weight: 500;}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) .sec-point .anew-legacy-h4 {position: static;}
}
@media screen and (max-width: 426px) {
body:has(main:not(#goodFlat)) .sec-consult-bio :is(h1, .anew-legacy-h3) {font-size: 3.6rem;}
body:has(main:not(#goodFlat)) #serviceConsult .anew-legacy-h4 {flex: 0 0 auto; font-size: 1.6rem; text-indent: 2em; line-height: 2.2;}
body:has(main:not(#goodFlat)) .flow-lists li .anew-legacy-h6 {font-size: 1.8rem; margin-top: 0px;}
body:has(main:not(#goodFlat)) .sec-faq .anew-legacy-h6 {margin: 0px; font-size: 1.4rem; font-weight: 500;}
}

/* Parent: service_rental.css */
body:has(main:not(#goodFlat)) #servicePageRental .anew-legacy-h4 {font-size: 3.6rem;}
body:has(main:not(#goodFlat)) #servicePageRental .anew-legacy-h4 span.font-en {font-size: 0.8em; line-height: 2;}
body:has(main:not(#goodFlat)) #servicePageRental .anew-legacy-h5 {font-size: 2.8rem; padding-left: 0px; font-weight: 900;}
body:has(main:not(#goodFlat)) #servicePageRental .anew-legacy-h5 span.font-en {font-size: 0.8em; line-height: 2;}
body:has(main:not(#goodFlat)) .rental-bio-wrapper .anew-legacy-h3 {font-size: 5.2rem; position: relative;}
body:has(main:not(#goodFlat)) .rental-bio-wrapper .anew-legacy-h3::after {content: ""; position: absolute; top: 0px; left: 1rem; width: 1.2rem; aspect-ratio: 1 / 1; border-radius: 50%; background-color: var(--clr-blue);}
body:has(main:not(#goodFlat)) .rental-bio-wrapper .anew-legacy-h3 span.font-ja {font-size: 0.6em; font-weight: 700;}
body:has(main:not(#goodFlat)) .sec-rental-desc .anew-legacy-h4 {font-size: 4rem;}
body:has(main:not(#goodFlat)) .sec-rental-desc .anew-legacy-h5 {font-size: 2.2rem; padding-inline-start: 1em; font-weight: 600;}
body:has(main:not(#goodFlat)) .gallery-container .anew-legacy-h4 {padding-inline: 8rem; top: 4rem; width: 100%; font-size: 4rem;}
body:has(main:not(#goodFlat)) .sec-desc-more .anew-legacy-h4 {font-size: 2.6rem; max-width: max-content; color: var(--clr-blue); text-transform: uppercase;}
body:has(main:not(#goodFlat)) .sec-desc-more .anew-legacy-h4 span.font-ja {font-weight: 900; color: var(--clr-black);}
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) .gallery-container .anew-legacy-h4 {padding-inline: 2rem; top: 2rem; width: 100%; font-size: 4rem;}
}
@media screen and (max-width: 425px) {
body:has(main:not(#goodFlat)) .rental-bio-wrapper .anew-legacy-h3 {font-size: 3.2rem;}
body:has(main:not(#goodFlat)) .gallery-container .anew-legacy-h4 {padding-inline: 2rem; top: -2rem; width: 100%; font-size: 2.6rem;}
body:has(main:not(#goodFlat)) .sec-rental-desc .anew-legacy-h4 {font-size: 2.8rem;}
}

/* Parent: service_sub.css */
body:has(main:not(#goodFlat)) .servicePageDetail-wrapper .anew-legacy-h4 {font-size: 2.6rem; width: 30%; max-width: max-content; color: var(--clr-blue); text-transform: uppercase;}
body:has(main:not(#goodFlat)) .servicePageDetail-wrapper .anew-legacy-h4.odd {font-size: 3rem; font-weight: 900; width: unset !important;}
body:has(main:not(#goodFlat)) .servicePageDetail-wrapper .anew-legacy-h4.odd span {font-size: inherit !important;}
body:has(main:not(#goodFlat)) .servicePageDetail-wrapper .anew-legacy-h4 span.font-en {font-weight: 900; font-size: 0.8em; line-height: 2;}
body:has(main:not(#goodFlat)) .servicePageDetail-wrapper .anew-legacy-h4 span.font-ja {line-height: 2; font-weight: 900; color: var(--clr-black);}
body:has(main:not(#goodFlat)) #servicePageDetail :is(h1, .anew-legacy-h3) {font-size: 5.2rem; position: relative;}
body:has(main:not(#goodFlat)) #servicePageDetail :is(h1, .anew-legacy-h3)::after {content: none; position: absolute; top: 0px; left: 1rem; width: 1.2rem; aspect-ratio: 1 / 1; border-radius: 50%; background-color: var(--clr-blue);}
body:has(main:not(#goodFlat)) #servicePageDetail :is(h1, .anew-legacy-h3) span.font-ja {font-size: 0.6em;}
body:has(main:not(#goodFlat)) #servicePageDetail :is(h1, .anew-legacy-h3) .font-ja {font-size: 0.6em;}
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
body:has(main:not(#goodFlat)) .servicePageDetail-wrapper .anew-legacy-h4 {font-size: 2.8rem; width: 100%;}
}
@media screen and (max-width: 425px) {
body:has(main:not(#goodFlat)) #servicePageDetail :is(h1, .anew-legacy-h3) {font-size: 4.2rem;}
body:has(main:not(#goodFlat)) #servicePageDetail :is(h1, .anew-legacy-h3) span.font-ja {font-size: 0.6em;}
}
}

/* Parent: sitemap.css */
body:has(main:not(#goodFlat)) #sitemap :is(h1, .anew-legacy-h3) {font-size: 5.2rem; text-transform: uppercase;}
body:has(main:not(#goodFlat)) #sitemap :is(h1, .anew-legacy-h3) small {font-size: 0.4em; font-weight: 500;}
@media screen and (max-width: 425px) {
body:has(main:not(#goodFlat)) #sitemap :is(h1, .anew-legacy-h3) {font-size: 4.2rem;}
}

/* Parent: common.css */
body:has(#goodFlat) .anew-legacy-h2 {font-size: 5.2rem; font-weight: 900; margin-top: 0px;}
body:has(#goodFlat) .anew-legacy-h2 span.font-ja {font-size: 0.6em;}
@media screen and (max-width: 426px) {
body:has(#goodFlat) .anew-legacy-h2 {font-size: 24px; font-weight: 900;}
}
body:has(#goodFlat) .contact-link .anew-legacy-h4 {font-size: 6.4rem; margin: 0px;}
body:has(#goodFlat) .contact-link .anew-legacy-h4 small {font-size: 0.4em; font-weight: 400;}
@media screen and (max-width: 768px) {
body:has(#goodFlat) .contact-link .anew-legacy-h4 {font-size: 5.6rem; margin: 0px;}
}
@media screen and (max-width: 426px) {
body:has(#goodFlat) .contact-link .anew-legacy-h4 {font-size: 4.3rem;}
}
body:has(#goodFlat) .rec-wrapper .anew-legacy-h3 {position: relative; margin-bottom: 5rem; font-size: 3rem !important; text-align: center !important;}
body:has(#goodFlat) .rec-wrapper .anew-legacy-h3 span.font-ja {font-size: inherit !important; font-weight: inherit !important;}
body:has(#goodFlat) .rec-wrapper .anew-legacy-h3 + p {text-align: center; line-height: 2; font-size: 1.8rem !important;}
body:has(#goodFlat) .rec-wrapper .anew-legacy-h3 span.font-en {font-size: 1.8em !important;}
body:has(#goodFlat) .rec-wrapper .anew-legacy-h3::after {content: ""; position: absolute; width: 1rem; height: 1rem; background-image: url("../images/icon-plus-white.svg");}
body:has(#goodFlat) .works-card .anew-legacy-h4 {font-size: 2rem; margin: 0px 0px 1rem;}
body:has(#goodFlat) .sec-related-business .anew-legacy-h4 {text-align: center; margin-bottom: 3rem; line-height: 1.4;}
body:has(#goodFlat) .sec-related-business .anew-legacy-h4 .font-en {font-size: 2.4rem; letter-spacing: 0.1em; color: rgb(30, 163, 102);}
body:has(#goodFlat) .sec-related-business .anew-legacy-h4 .font-ja {font-size: 1.4rem; color: rgb(51, 51, 51);}
body:has(#goodFlat) .culture-lists .anew-legacy-h5 {font-size: 1.7rem; color: rgb(30, 163, 102); margin-bottom: 1rem;}

/* Parent: goodflat.css */
body:has(#goodFlat) main#goodFlat .anew-legacy-h5 {font-size: 4.2rem; margin-block: 2rem 6rem; color: var(--clr-skyBlue);}
body:has(#goodFlat) main#goodFlat .anew-legacy-h5 span.font-en {font-size: 0.6em; font-weight: 900; margin-block-end: 2rem; display: inline-block;}
body:has(#goodFlat) main#goodflat section .anew-legacy-h4 {font-size: 3rem;}
body:has(#goodFlat) main#goodFlat :is(h1, .anew-legacy-h3) {font-size: 5.2rem; color: var(--clr-skyBlue);}
body:has(#goodFlat) .gallery-container .anew-legacy-h4 {padding-inline: 8rem; top: 4rem; width: 100%; font-size: 4rem;}
body:has(#goodFlat) .sec-instagram .anew-legacy-h3 {font-size: 4rem; font-family: var(--font-en); font-weight: 900; text-transform: uppercase; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: var(--clr-skyBlue); -webkit-text-stroke-width: 1px; border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor;}
body:has(#goodFlat) main#goodFlat .sec-rec-cont .anew-legacy-h3 {-webkit-text-fill-color: transparent; -webkit-text-stroke-width: 2px; -webkit-text-stroke-color: var(--clr-skyBlue);}
@media screen and (max-width: 768px) {
body:has(#goodFlat) main#goodFlat :is(h1, .anew-legacy-h3) {font-size: 3.2rem;}
body:has(#goodFlat) main#goodFlat .anew-legacy-h5 {font-size: 3.2rem; margin-block: 8rem 6rem;}
body:has(#goodFlat) .gallery-container .anew-legacy-h4 {padding-inline: 8rem; top: 4rem; width: 100%; font-size: 2.6rem;}
body:has(#goodFlat) .gallery-container .anew-legacy-h4 {display: none;}
}
@media screen and (max-width: 426px) {
body:has(#goodFlat) main#goodFlat .anew-legacy-h5 {font-size: 2.4rem;}
body:has(#goodFlat) .gallery-container .anew-legacy-h4 {padding-inline: 2rem; top: -2rem; width: 100%; font-size: 2.6rem;}
body:has(#goodFlat) main#goodFlat .gallery-container .anew-legacy-h5 {margin-block: 0px !important;}
}

/* SERVICE descriptions are readable without hover, touch or script. */
#servicePage h2.service-header.anew-legacy-div { margin:0; font-weight:400; }
#servicePage .service-item .service-body { height:auto !important; overflow:visible; opacity:1; }
#servicePage .service-item { cursor:default; }
#companyPage .sec-sdg .sdg-lists .anew-legacy-h4 { text-align:inherit; text-transform:none; line-height:inherit; margin:1.33em 0; }
#servicePageRental .gallery-container .panel-title.anew-legacy-h5 { margin:0 0 1rem; }
#servicePageRental .anew-legacy-h4 span.font-ja { font-size:inherit; }
#servicePageDetail .anew-legacy-h4 span.font-ja, #goodFlat .anew-legacy-h5 span.font-ja { font-size:inherit; }
#memberPage .rec-wrapper .anew-legacy-h3 { text-transform:none; }
#worksPage .anew-legacy-h3 span.font-ja, #goodCycleFesPage .anew-legacy-h3 span.font-ja { font-size:inherit; }
#newsPage .news-data-title.anew-legacy-h5 { font-size:1.8rem; font-weight:500; }
@media screen and (max-width:426px) { #newsPage .news-data-title.anew-legacy-h5 { font-size:16px; font-weight:400; } }
/* Preserve Japanese label size inside the outlined rental number. */
#servicePageRental .panel-title .anew-rental-category { display:block; font-size:2rem; line-height:1.5; font-family:var(--font-ja, sans-serif); -webkit-text-fill-color:var(--clr-blue); -webkit-text-stroke-width:0; }

/* NEWS detail: retain the previous h3/h5 presentation with semantic headings. */
#newsDetailPage h1.news-title { font-weight:700; margin:1em 0; }
#newsDetailPage .news-related-wrapper > h2 { font-size:4rem; font-weight:700; margin:1em 0; flex:0 0 auto; }
#newsDetailPage .news-related-wrapper > h2 .font-ja { font-size:0.6em; font-weight:400; }
#newsDetailPage h3.news-data-title { font-size:1.8rem; font-weight:500; margin:1.67em 0; }
@media screen and (max-width:426px) {
    #newsDetailPage h3.news-data-title { font-size:16px; font-weight:400; }
}

/* Child page hero correction: front.css's unscoped h1 weight must not replace the original heavy page titles. */
body :is(#companyPage, #servicePage, #servicePageDetail, #serviceConsult, #servicePageRental,
    #brand, #recruit, #recruitDetail, #memberPage, #contact, #entry, #privacy, #sitemap,
    #newsPage, #worksPage, #goodCycleFesPage) h1 { font-weight:900; }
/* These titles were h2, whose original size was not covered by a page-specific h1 rule. */
#servicePage .sec-service-bio h1,
#memberPage .sec-member-gallery h1,
#worksPage .sec-works-bio h1,
#goodCycleFesPage .sec-gcf-bio h1,
#newsPage .news-sidebar > h1 { font-size:5.2rem; }
#newsPage .news-sidebar > h1 .font-ja { font-size:0.4em; }
@media screen and (max-width:426px) {
    #servicePage .sec-service-bio h1,
    #worksPage .sec-works-bio h1,
    #goodCycleFesPage .sec-gcf-bio h1,
    #newsPage .news-sidebar > h1 { font-size:24px; }
    #newsPage .news-sidebar > h1 .font-ja { font-size:1.8rem; }
}

/* The source date remains intact and accessible; only this aria-hidden overlay counts. */
#companyPage .bio-wrapper .date-bigger[data-anew-counter-active] {
    position:relative; display:inline-block; color:transparent;
}
#companyPage .bio-wrapper .date-bigger > .anew-counter-value {
    position:absolute; inset:0; color:var(--anew-counter-color); pointer-events:none;
    display:flex; overflow:hidden; font:inherit; white-space:pre;
}
#companyPage .bio-wrapper .date-bigger .anew-counter-digit {
    position:relative; flex:1 1 0; min-width:0; height:100%; overflow:hidden;
}
#companyPage .bio-wrapper .date-bigger .anew-counter-reel {
    position:absolute; inset:0; will-change:transform;
}
#companyPage .bio-wrapper .date-bigger .anew-counter-cell {
    display:block; height:100%; font:inherit; text-align:center;
}

/* Recruitment statistics: one number scale, with original units and final values intact. */
#recruit .rec-detail-info-lists[data-anew-statistics] { --anew-statistics-ready:1; }
#recruit .rec-detail-info-lists > li { font-size:2rem; }
#recruit .rec-detail-info-lists > li > span:first-child { font-size:1.8rem; }
#recruit .rec-detail-info-lists > li:last-child ul li > span:first-child { font-size:1.6rem; }
#recruit .rec-detail-info-lists > li:last-child ul::after { font-size:5.6rem; line-height:1.1; bottom:0; }
#recruit .rec-detail-info-lists .largest-number {
    display:inline-block; font-size:5.6rem; line-height:1.1; font-weight:900;
    font-variant-numeric:tabular-nums;
}
#recruit .rec-detail-info-lists .largest-number[data-anew-statistic-active] {
    position:relative; color:transparent;
}
#recruit .rec-detail-info-lists .anew-statistic-value {
    position:absolute; inset:0; color:var(--anew-statistic-color); pointer-events:none;
    font:inherit; text-align:right; white-space:pre;
}
/* Reduce only the recruitment hero's height; retain its original picture and treatment. */
main#recruit > .sec-recruit-bio { padding:0; aspect-ratio:4.8; background-size:100% 100%,auto 100%; background-repeat:no-repeat; background-attachment:scroll; }
main#recruit > .sec-recruit-content h1 .font-en,
main#recruit > .sec-recruit-content h1 .font-en .letter { color:#333 !important; font-weight:900 !important; -webkit-text-fill-color:currentColor !important; -webkit-text-stroke:0 !important; }
@media (max-width:768px) {
    #recruit .rec-detail-info-lists .largest-number { font-size:4.8rem; }
    #recruit .rec-detail-info-lists > li:last-child ul::after { font-size:4.8rem; }
    main#recruit > .sec-recruit-bio { aspect-ratio:3.4; }
}
/* Shared photograph banners stay opaque, white and heavy, including on hover. */
body .sec-rec-cont .rec-wrapper :is(h2, h3, .anew-legacy-h3),
body .sec-rec-cont .rec-wrapper :is(h2, h3, .anew-legacy-h3) :is(.font-en, .font-ja) {
    color:#fff !important; font-weight:900 !important;
    -webkit-text-fill-color:currentColor !important; -webkit-text-stroke-width:0 !important;
}
