/* Real text and vector branding. No screenshot lettering or transparent links. */
.shared-footer{position:relative;isolation:isolate;width:100%;margin-top:-1px;min-height:139.1cqw;padding:64cqw 0 25cqw;background:#f7f4f5;overflow:visible}
.shared-footer:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('./assets/listing-background-underlay.webp') center bottom/380.686695% auto no-repeat;mask-image:linear-gradient(transparent,#000 20%)}
.brand-vector{display:block;width:100%;height:auto;max-width:none;pointer-events:none;user-select:none}
.shared-footer-brand{display:block;position:relative;width:43cqw;margin:0 auto;min-height:44px;line-height:0}
.shared-footer-links{position:relative;z-index:2;width:94%;margin:3cqw auto 0;color:#94834b;font-family:var(--serif);font-size:clamp(10px,2.15cqw,11px);line-height:1.5;text-align:center}
.footer-ornament{width:76%;height:3cqw;margin:0 auto 4cqw;background-size:100% .15cqw}
.footer-ornament:before{content:'';position:absolute;inset:0;background:linear-gradient(45deg,transparent 30%,#ad9859 30%,#ad9859 70%,transparent 70%) left center/1.8cqw 1.8cqw no-repeat,linear-gradient(45deg,transparent 30%,#ad9859 30%,#ad9859 70%,transparent 70%) right center/1.8cqw 1.8cqw no-repeat}
.footer-ornament:after{width:2.8cqw;height:3.4cqw;left:calc(50% - 1.4cqw);top:-.2cqw;transform:none;clip-path:polygon(50% 0,65% 34%,100% 50%,65% 66%,50% 100%,35% 66%,0 50%,35% 34%)}
.shared-footer-primary,.shared-footer-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 .7cqw;min-width:0}.shared-footer-primary{gap:0 4.4cqw}
.shared-footer-legal{column-gap:3cqw;margin-top:1cqw;font-size:clamp(10px,2.15cqw,11px)}
.shared-footer-links a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px .2cqw;color:inherit;text-decoration:none;text-underline-offset:.3em;border-radius:2px;white-space:nowrap;-webkit-tap-highlight-color:#b39d6326}
.shared-footer-links a:hover,.shared-footer-links a:focus-visible{color:#6e5d31;text-decoration:underline}
.shared-footer-links a:focus-visible,.shared-footer-brand:focus-visible{outline:1px solid #9e884a;outline-offset:2px}
.shared-footer--privacy{min-height:55cqw;padding:8cqw 0 15cqw}
.shared-footer--commercial{min-height:123cqw;padding:50cqw 0 29cqw}
.shared-footer--privacy .shared-footer-brand{width:32cqw}
.shared-footer--commercial .shared-footer-brand{width:37cqw}
/* Directory artwork is continuous across its normal-flow footer. */
.directory-footer .directory-footer-brand{display:block;position:relative;inset:auto;width:38cqw;height:auto;min-height:44px;margin:45cqw auto 0;line-height:0}
.directory-footer .shared-footer-links{position:relative;inset:auto;width:94%;height:auto;margin:3cqw auto 0}
.directory-footer .directory-footer-nav{display:none}
.directory-footer .footer-ornament{margin-bottom:3cqw}
.directory-footer:before{content:none}

/* トップのフッター上の飾りの余白を詰める（230px→約110px。2026-11-20）。PC は pc-layout.css の指定のまま */
@media (max-width:959px){.shared-footer--home{min-height:0;padding-top:30cqw}}
