.j1-reference-footer{background:#f7f5f0;color:#211b17;font:400 14px/1.5 "Noto Sans JP",sans-serif;padding:50px 0 0;margin:0}
.j1-reference-grid{display:grid;grid-template-columns:149.5px 168px 200.5px 167px;gap:56px;justify-content:center;max-width:100%;margin:0 auto 24px;padding:0 24px}
.j1-reference-footer .j1-reference-col{min-width:0;text-align:left}
.j1-reference-footer .j1-reference-logo{display:block;width:130px;margin:0 0 48px}
.j1-reference-logo img{display:block;width:130px;height:auto}
.j1-reference-footer h2,.j1-reference-footer .j1-reference-major{color:inherit;font:600 16px/1.5 "Noto Sans JP",sans-serif;margin:0 0 12px;padding:0;text-align:left;letter-spacing:.015em}
.j1-reference-footer ul{list-style:none;padding:0}
.j1-reference-footer .j1-reference-nested{margin:0 0 24px}
.j1-reference-nested li{position:relative;padding-left:21px;margin:0 0 9px}
.j1-reference-nested li::before{content:"";position:absolute;left:10px;top:.72em;width:6px;border-top:1px solid #a77941}
.j1-reference-major li{margin:0 0 24px}
.j1-reference-footer a{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.j1-reference-footer a:hover,.j1-reference-footer a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.j1-reference-footer .j1-reference-copyright{background:#fff;color:inherit;text-align:center;padding:29px 20px;margin:0;font-size:14px;line-height:1.45}
@media(max-width:950px){.j1-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}}
@media(max-width:640px){.j1-reference-footer{padding-top:32px}.j1-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding:0 20px}.j1-reference-footer .j1-reference-logo{margin-bottom:25px}.j1-reference-footer h2,.j1-reference-footer .j1-reference-major{font-size:15px}.j1-reference-footer .j1-reference-copyright{padding-bottom:78px;font-size:12px}}

/* Desktop: full-width contact background; align the content with the case sheet. */
.j1-contact-footer-band{display:contents}
@media(min-width:901px){
 .j1-contact-footer-band{display:flow-root;width:100%;background:#12364b;color:#fff}
 .j1-contact-footer-band #j1-contact-entry{width:min(1200px,calc(100% - 64px));margin:0 auto}
 .j1-contact-footer-band #j1-contact-entry .j1-contact-banner{padding-inline:0;border-inline:0;border-radius:0}
}

/* Desktop company footer uses the same column as the article and contact band. */
@media(min-width:901px){
 .j1-reference-footer .j1-reference-grid{box-sizing:border-box;width:min(1200px,calc(100% - 64px));max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:start;gap:clamp(24px,4vw,56px);padding-inline:0}
}

/* The consultation band and the company links share a content edge on phones and tablets. */
@media(max-width:900px){
 .j1-contact-footer-band{display:flow-root;width:100%;background:#12364b;color:#fff}
 .j1-contact-footer-band #j1-contact-entry{box-sizing:border-box;width:calc(100% - 40px);max-width:none;margin:0 auto}
 .j1-contact-footer-band #j1-contact-entry .j1-contact-banner{padding-inline:0;border-inline:0;border-radius:0}
 .j1-reference-footer .j1-reference-grid{box-sizing:border-box;width:calc(100% - 40px);max-width:none;margin-inline:auto;padding-inline:0}
}

/* A compact directory for phones, not a reduced copy of the desktop columns. */
.j1-reference-footer .j1-reference-mobile-title{display:none}
@media(max-width:640px){
 .j1-reference-footer{padding-top:24px}
 .j1-reference-footer .j1-reference-grid{grid-template-columns:minmax(0,1fr);gap:0;margin-bottom:20px}
 .j1-reference-footer .j1-reference-col{padding:17px 0;border-top:1px solid #ddd5c8}
 .j1-reference-footer .j1-reference-col:first-child{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:none;padding:0 0 17px}
 .j1-reference-footer .j1-reference-logo{flex:0 0 116px;width:116px;margin:0}
 .j1-reference-footer .j1-reference-logo img{width:116px}
 .j1-reference-footer .j1-reference-col:first-child ul{margin:0}
 .j1-reference-footer .j1-reference-mobile-title{display:block}
 .j1-reference-footer h2{color:#17394b;font-weight:750;letter-spacing:.02em;margin:0 0 7px}
 .j1-reference-footer .j1-reference-col h2:not(:first-child){margin-top:12px}
 .j1-reference-footer .j1-reference-nested,.j1-reference-footer .j1-reference-major{margin:0;font-size:14px;font-weight:400;letter-spacing:normal}
 .j1-reference-footer .j1-reference-nested li,.j1-reference-footer .j1-reference-major li{padding:0;margin:0;min-width:0}
 .j1-reference-footer .j1-reference-nested li::before{display:none}
 .j1-reference-footer .j1-reference-nested a,.j1-reference-footer .j1-reference-major a{display:flex;align-items:center;min-height:36px;padding-block:5px;line-height:1.4}
 .j1-reference-footer .j1-reference-services{border-top:0}
 .j1-reference-footer .j1-reference-services .j1-reference-nested{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
 .j1-reference-footer .j1-reference-copyright{padding:18px 20px;font-size:12px}
}
