/* Direct service discovery and a lighter, more approachable conversion path. */
/* Keep existing image positioning and grid sizing when choosing AVIF. */
picture.optimized-picture { display: contents; }
picture.optimized-picture > source { display: none; }
body .top-header .header-toggle {
 border: 0;
 border-radius: 0;
 background: transparent;
 box-shadow: none;
 backdrop-filter: none;
 -webkit-backdrop-filter: none;
 transform: none;
 min-width: 44px;
 min-height: 44px;
}
body .top-header .header-toggle:focus:not(:focus-visible) { outline: none; }
body .top-header .header-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.home-page #mainview { height: auto; min-height: 100vh; min-height: 100svh; }
body.home-page #mainview .hero-grid { height: auto; min-height: 100vh; min-height: 100svh; }
@media(max-width:640px) {
 body #area .area-grid { grid-template-columns: minmax(0,1fr); }
 body #area .area-info { min-width: 0; }
 body #area .area { width: 100%; min-width: 0; }
 body #area .area ul { display: flex; width: 100%; box-sizing: border-box; }
 body #area .area ul li { flex: 1 1 0; min-width: 0; padding: 28px 12px; }
 body .footer-services-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
 body .footer-services .footer-services-list a { grid-template-columns: 22px minmax(0,1fr) 10px; gap: 6px; min-height: 76px; font-size: 14px; }
 body .footer-services .service-link-icon { width: 22px; height: 24px; font-size: 18px; }
 body .footer-services a span { min-width: 0; overflow-wrap: anywhere; }
 body .footer-services a::after { font-size: 10px; }
}
body #stats .stat-card:first-child .stat-card__num { font-size: 148px; }
@media(min-width:1201px) {
 body #stats .stats-grid { grid-template-columns: minmax(0,1.65fr) repeat(3,minmax(0,1fr)); }
}
@media(min-width:601px) and (max-width:1000px) {
 body #stats .stat-card:first-child .stat-card__num { font-size: 112px; }
 body #stats .stat-card:first-child .stat-card__value { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; line-height: 1; }
 body #stats .stat-card:first-child .stat-card__suffix { margin-left: 0; }
}
@media(max-width:600px) {
 body #stats .stats-grid { grid-template-columns: repeat(12,minmax(0,1fr)); }
 body #stats .stat-card { grid-column: span 6; }
 body #stats .stat-card:first-child { grid-column: span 7; }
 body #stats .stat-card:nth-child(2) { grid-column: span 5; }
 body #stats .stat-card:first-child .stat-card__num { font-size: 72px; }
 body #stats .stat-card:first-child .stat-card__value { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; line-height: 1; }
 body #stats .stat-card:first-child .stat-card__suffix { margin-left: 0; line-height: 1.4; }
}
@media(max-width:360px) {
 body #stats .stat-card:first-child .stat-card__num { font-size: 60px; }
}
.detail-related a > picture.optimized-picture { display: block; width: 64px; height: 64px; grid-column: 1; grid-row: 1; }
.detail-related a > span { grid-column: 2; grid-row: 1; min-width: 0; }
.detail-related a::after { grid-column: 3; grid-row: 1; }
@media(max-width:640px) {
 body .detail-related > div { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; }
 body .detail-related a { grid-template-columns: 40px minmax(0,1fr) 10px; gap: 6px; min-height: 88px; font-size: 13px; line-height: 1.6; }
 body .detail-related a > picture.optimized-picture, body .detail-related a img { width: 40px; height: 40px; }
 body .detail-related a::after { font-size: 10px; }
}
body.detail-contact-page #contact .confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
body.detail-contact-page #contact .confirmation-actions > :is(a,button) { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 280px; max-width: 100%; min-width: 0; min-height: 56px; margin: 0; padding: 14px 20px; border-radius: 4px; font: 700 18px/1.5 var(--font-jp); letter-spacing: 0; text-decoration: none; }
body.detail-contact-page #contact .confirmation-actions .contact-back { border: 1px solid #124b91; background: #fff; color: #124b91; transition: background-color .18s ease, color .18s ease; }
body.detail-contact-page #contact .confirmation-actions .contact-back:hover { background: #eaf3fc; color: #102e58; text-decoration: none; }
body.detail-contact-page #contact .confirmation-actions .contact-back i { font-size: 16px; }
@media(max-width:640px) {
 body.detail-contact-page #contact .confirmation-actions { flex-wrap: nowrap; gap: 10px; }
 body.detail-contact-page #contact .confirmation-actions > :is(a,button) { flex: 1 1 0; width: 0; padding: 14px 8px; gap: 5px; font-size: 14px; }
 body.detail-contact-page #contact .confirmation-actions .contact-back i { font-size: 12px; }
}
@media(max-width:360px) { body.detail-contact-page #contact .confirmation-actions > :is(a,button) { padding-inline: 6px; font-size: 12px; } }
body.detail-contact-page #contact .namebox .contact-page-title { margin: 0; padding: 0; color: #153b6a; font: 800 40px/1.4 var(--font-jp); letter-spacing: 0; text-shadow: none; }
body.lower_page .case_block.case_block--text { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; padding-top: 44px; }
body.lower_page .case_block.case_block--text h3 { grid-column: 1; grid-row: 1; }
body.lower_page .case_block.case_block--text p { grid-column: 1; grid-row: 2; letter-spacing: 0; }
@media(max-width:640px) { body.detail-contact-page #contact .namebox .contact-page-title { font-size: 30px; } }
body :is(a,button,summary,input,textarea,select):focus-visible { outline: 3px solid #1264c4; outline-offset: 4px; }
.hero-shortcuts { display: flex; flex-wrap: wrap; gap: 0 32px; }
body .mobile-contact[hidden] { display: none; }
body .mobile-contact { display: none; }
@media(max-width:767px) and (min-height:461px) {
 body .mobile-contact:not([hidden]) { position: fixed; z-index: 900; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1.18fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #d1dfec; background: #fff; box-shadow: 0 -4px 20px #153b6214; }
 body .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px; border-radius: 4px; text-decoration: none; }
 body .mobile-contact-phone { color: #a63029; background: #fff0ed; }
 body .mobile-contact-form { color: #fff; background: #125ba5; }
 body .mobile-contact a span { display: grid; gap: 3px; }
 body .mobile-contact strong { font: 800 14px/1.4 var(--font-jp); }
 body .mobile-contact small { font: 500 10px/1.4 var(--font-jp); }
 body .mobile-contact .fa-arrow-right { font-size: 11px; }
 body .mobile-contact a:focus-visible { outline: 3px solid #e0ab18; outline-offset: 2px; }
 html { scroll-padding-bottom: 96px; }
 .hero-shortcuts { gap: 0 20px; }
 .home-page #mainview .hero-shortcuts .hero-explore { font-size: 13px; gap: 12px; }
}
/* A light process band separates the emergency and trust sections. */
body.home-page #flow { background: #f5f9fc; color: #153b62; }
body.home-page #flow::before, body.home-page #flow::after { display: none; }
body.home-page #flow .namebox h2, body.home-page #flow .flowboxtitle h3 { color: #153b62 !important; }
body.home-page #flow .namebox > p { color: #1764ac; }
body.home-page #flow .flowbox { border-color: #cbdce9; background: none; }
body.home-page #flow .flowboxtitle h3 span { color: #1764ac; background: none; box-shadow: none; }
body.home-page #flow .flow-container .flowbox .flowboxtitle h3 { color: #153b62 !important; }
body.home-page #flow .flow-container .flowbox .flowboxtitle h3 span { color: #1764ac !important; background: none; }
body.home-page #flow .flow-caption { color: #435b72; letter-spacing: 0; }
body.home-page #flow .flowboximg img { filter: brightness(0) saturate(100%) invert(25%) sepia(38%) saturate(1555%) hue-rotate(174deg); opacity: 1; }
body.home-page #flow .is-water-stopped .flowbox:nth-child(5) { background: #fff2b5; box-shadow: inset 0 3px #e6bb35; }
body.home-page #flow .flow-water__track { stroke: #c9dbe8; }
body.home-page #flow .flow-water__fill { stroke: #2784b7; }
body.home-page #flow .flow-promises { border-color: #cbdce9; }
body.home-page #flow .flow-promises__header h3, body.home-page #flow .flow-promises__list h4 { color: #153b62; }
body.home-page #flow .flow-promises__header h3 span { color: #1764ac; }
body.home-page #flow .flow-promises__list em { color: #125ba5; background: linear-gradient(transparent 75%,#ffe27b 75%); }
body.home-page #flow .flow-promises__header p, body.home-page #flow .flow-promises__list p { color: #435b72; }
body.home-page #flow .flow-promises__list li { border-color: #cbdce9; }
body.home-page #flow .flow-promises__label, body.home-page #flow .flow-promises__label i { color: #1764ac; }
@media(max-width:640px) {
 body.home-page #flow .flowbox { min-height: 0; grid-template-columns: minmax(0,1fr) 36px; gap: 8px 12px; padding: 18px 0 18px 36px; }
 body.home-page #flow .flow-caption { grid-column: 1; padding: 0; margin: 0; font-size: 14px; line-height: 1.7; }
 body.home-page #flow .flow-caption br { display: none; }
 body.home-page #flow .flowboximg { width: 36px; height: 36px; grid-row: 1/3; align-self: center; }
 body.home-page #flow .flow-promises__list { gap: 20px; }
 body.home-page #flow .flow-promises__label { min-height: 24px; margin-bottom: 12px; font-size: 13px; }
 body.home-page #flow .flow-promises__label i { font-size: 22px; }
 body.home-page #flow .flow-promises__list h4, body.home-page #flow .flow-promises__list em { font-size: 20px; }
 body.home-page #flow .flow-promises__list h4 br, body.home-page #flow .flow-promises__list p br { display: none; }
 body.home-page #flow .flow-promises__list p { font-size: 14px; }
}
body.lower_page #planning-cards .case_block--photo { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto 1fr; }
body.lower_page #planning-cards .case_block--photo h3 { grid-column: 1; grid-row: 2; }
body.lower_page #planning-cards .case_block--photo p { grid-column: 1; grid-row: 3; letter-spacing: 0; }
body.lower_page .photo-case-group { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 40px; align-items: start; margin-bottom: 32px; }
body.lower_page .photo-case-image { position: sticky; top: 112px; margin: 0; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
body.lower_page .photo-case-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.lower_page .photo-case-group .photo-case-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; margin: 0; }
body.lower_page .photo-case-group .case_block { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; gap: 12px; padding: 24px 0 24px 48px; border: 0; border-bottom: 1px solid #cbdbe8; border-radius: 0; background: none; }
body.lower_page .photo-case-group .case_block:first-child { padding-top: 0; }
body.lower_page .photo-case-group .case_block::after { top: 30px; left: 0; right: auto; font-size: 16px; color: #3878ad; }
body.lower_page .photo-case-group .case_block:first-child::after { top: 6px; }
body.lower_page .photo-case-group .case_block h3 { grid-column: 1; grid-row: 1; padding: 0; font-size: 22px; text-wrap: pretty; }
body.lower_page .photo-case-group .case_block p { grid-column: 1; grid-row: 2; letter-spacing: 0; }
body.lower_page .cases_container.photo-case-list.forFour:has(> .case_block:nth-child(3):last-child) { grid-template-columns: minmax(0,1fr); }
body.lower_page .cases_container.photo-case-list.forFour:has(> .case_block:nth-child(3):last-child) .case_block { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; }
body.lower_page .cases_container.photo-case-list.forFour:has(> .case_block:nth-child(3):last-child) h3 { grid-column: 1; grid-row: 1; }
body.lower_page .cases_container.photo-case-list.forFour:has(> .case_block:nth-child(3):last-child) p { grid-column: 1; grid-row: 2; }
@media(max-width:900px) {
 body.lower_page .photo-case-group { grid-template-columns: minmax(0,1fr); gap: 28px; }
 body.lower_page .photo-case-image { position: static; aspect-ratio: 2; }
}
@media(max-width:640px) {
 body.lower_page .photo-case-image { aspect-ratio: 1.6; }
 body.lower_page .photo-case-group .case_block { padding-left: 36px; }
 body.lower_page .photo-case-group .case_block h3 { font-size: 20px; }
}
body.lower_page .case_block.case_block--photo { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto 1fr; background: #fff; }
body.lower_page .case_block.case_block--photo figure { grid-column: 1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 2; padding: 0; overflow: hidden; border-radius: 2px; }
body.lower_page .case_block.case_block--photo figure img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
body.lower_page .case_block.case_block--photo h3 { grid-column: 1; grid-row: 2; padding: 0; text-wrap: pretty; }
body.lower_page .case_block.case_block--photo p { grid-column: 1; grid-row: 3; }
body.lower_page .case_block.case_block--photo::after { top: 36px; right: 36px; padding: 8px; color: #153b62; background: #fff; border-radius: 2px; }
@media(max-width:640px) { body.lower_page .case_block.case_block--photo::after { top: 32px; right: 26px; } }
body .detail-breadcrumb { gap: 14px; color: #52677b; font: 500 13px/1.8 var(--font-jp); letter-spacing: 0; }
body .detail-breadcrumb a { color: #52677b; font-weight: 500; text-decoration: none; transition: color .2s; }
body .detail-breadcrumb a:hover { color: #1264c4; text-decoration: underline; text-underline-offset: 5px; }
body .detail-breadcrumb a:focus-visible { outline: 2px solid #1264c4; outline-offset: 4px; border-radius: 2px; }
body .detail-breadcrumb > span[aria-hidden="true"] { display: inline-flex; align-items: center; font-size: 0; }
body .detail-breadcrumb > span[aria-hidden="true"]::before { content: '\f054'; color: #8598aa; font: 900 8px/1 'Font Awesome 5 Free'; }
body .detail-breadcrumb [aria-current="page"] { color: #153b62; font-weight: 700; }
@media(max-width:640px) { body .detail-breadcrumb { gap: 10px; font-size: 12px; } }
.home-page #emergency .response-availability { max-width: 380px; margin: 16px 0 0; color: #d0dfe9; font: 500 13px/1.8 var(--font-jp); }
body.contact-entry #contact .contact-expectation { margin: 0 0 24px; color: #435b72; font: 500 15px/1.9 var(--font-jp); }
body.contact-entry #contact .contact-reply-note { margin: 0 0 28px; padding: 16px 20px; border-left: 3px solid #e9c44f; background: #fff8dc; color: #435b72; font: 500 14px/1.8 var(--font-jp); }
.home-page #mainview .hero-headline { font-size: 76px; line-height: 1.2; }
.home-page #mainview .hero-headline, .home-page #mainview .hero-headline span { text-shadow: none !important; letter-spacing: 0; }
.home-page #mainview .hero-headline__accent::after { left: 0; right: 0; }
.home-page #mainview .hero-headline__region { font-size: 42px; line-height: 1.5; }
.home-page #mainview .hero-explore { display: flex; width: fit-content; align-items: center; gap: 24px; margin-top: 20px; padding: 10px 0; color: #fff; font: 700 15px/1.6 var(--font-jp); text-decoration: none; border-bottom: 1px solid #ffffff70; }
.home-page #mainview .hero-explore i { color: #ffe27b; }
.home-page #worries.service-finder { padding: 72px 0; background: #f6f9fc; }
.finder-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.finder-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 24px; color: #1764ac; font: 600 12px/1.6 'Inter',sans-serif; }
.finder-eyebrow span { color: #3e566c; font: 700 13px/1.5 var(--font-jp); }
.finder-heading h2 { margin: 0; padding: 0; color: #153b62; font: 800 44px/1.4 var(--font-jp); letter-spacing: 0; text-align: left; }
.finder-heading h2 span { background: linear-gradient(transparent 75%,#ffe27b 75%); }
.finder-intro { max-width: 430px; margin: 0 0 6px; color: #43566c; font: 500 16px/1.9 var(--font-jp); }
.finder-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.finder-grid a { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 16px; align-items: center; overflow: hidden; padding: 0 20px 20px; border: 1px solid #d7e1ec; border-radius: 6px; background: #fff; color: #153b62; text-decoration: none; }
.finder-grid img { grid-column: 1/-1; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 2.4; object-fit: cover; margin: 0 -20px; }
.finder-copy { display: grid; gap: 6px; }
.finder-copy small { color: #53677b; font: 500 13px/1.5 var(--font-jp); }
.finder-copy strong { font: 800 22px/1.4 var(--font-jp); }
.finder-grid a > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e5f2fc; font-size: 14px; }
.finder-grid a:nth-child(3n + 2) > i { background: #fff0ad; }
.finder-grid a:nth-child(3n) > i { background: #ffded6; }
.finder-more { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 20px; }
.finder-more a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid #bdcfdf; color: #153b62; font: 700 16px/1.5 var(--font-jp); text-decoration: none; }
.finder-more a > i:first-child { color: #1878b7; }
.finder-more a > i:last-child { margin-left: auto; font-size: 12px; }
.finder-help { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding: 22px 28px; background: #ffe681; color: #233c52; }
.finder-help > span { display: flex; align-items: center; gap: 14px; font: 700 17px/1.7 var(--font-jp); }
.finder-help > span i { font-size: 24px; }
.finder-help a { display: flex; align-items: center; gap: 24px; flex-shrink: 0; min-height: 44px; color: #233c52; font: 800 16px/1.6 var(--font-jp); text-decoration: none; border-bottom: 1px solid #233c52; }
.service-finder a:focus-visible, .hero-explore:focus-visible { outline: 3px solid #e66049; outline-offset: 4px; }
@media(hover:hover) {
 .finder-grid a { transition: border-color .25s,box-shadow .25s; }
 .finder-grid a:hover { border-color: #1764ac; box-shadow: 0 6px 20px #123b6112; color: #1764ac; }
 .finder-grid a:hover > i { background: #1764ac; color: #fff; }
 .finder-more a:hover { color: #1764ac; border-color: #1764ac; }
}
@media(prefers-reduced-motion:no-preference) and (hover:hover) {
 .finder-grid img { transition: transform .5s cubic-bezier(.22,1,.36,1); }
 .finder-grid a:hover img { transform: scale(1.035); }
}
@media(max-width:1000px) {
 .home-page #mainview .hero-headline { font-size: 60px; }
 .home-page #mainview .hero-headline__region { font-size: 36px; }
 .finder-heading { display: block; }
 .finder-intro { max-width: none; margin-top: 24px; }
 .finder-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:640px) {
 .home-page #mainview .hero-headline { font-size: 44px; }
 .home-page #mainview .hero-headline__region { font-size: 28px; }
 .home-page #worries.service-finder { padding: 44px 0; }
 .finder-heading { margin-bottom: 24px; }
 .finder-eyebrow { margin-bottom: 18px; font-size: 11px; gap: 10px; }
 .finder-heading h2 { font-size: 30px; }
 .finder-intro { font-size: 15px; }
 .finder-grid { gap: 12px; }
 .finder-grid a { grid-template-columns: minmax(0,1fr) 24px; grid-template-rows: auto 33px minmax(42px,auto); align-content: start; padding: 0 12px 16px; gap: 10px 4px; }
 .finder-grid img { width: calc(100% + 24px); margin-inline: -12px; aspect-ratio: 1.45; }
 .finder-copy { display: contents; }
 .finder-copy small { grid-column: 1/-1; font-size: 11px; min-height: 33px; }
 .finder-copy strong { font-size: 17px; word-break: keep-all; overflow-wrap: normal; }
 .finder-grid a > i { grid-column: 2; width: 24px; height: 24px; font-size: 11px; }
 .finder-more { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
 .finder-more a { min-height: 56px; font-size: 15px; }
 .finder-help { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; margin-top: 24px; }
 .finder-help > span { font-size: 16px; }
 .finder-help a { align-self: stretch; justify-content: space-between; }
}
@media(max-width:360px) {
 .home-page #mainview .hero-headline { font-size: 38px; }
 .finder-heading h2 { font-size: 27px; }
 .finder-copy strong { font-size: 15px; }
}
