/* Existing Hubzou shared header/footer, isolated from the renewed body. */
.hz-home .hz-common-contact{background:#fdfbf7;padding:0}
.hz-home .hz-common-contact-inner{width:calc(100% - 40px);max-width:1160px;margin:auto;border-top:1px solid #ccc;text-align:center;padding:50px 0}
.hz-home .hz-common-contact-button{display:inline-block;min-width:424px;max-width:100%;padding:10px 10px 10px 30px;border-radius:60px;background:#bfad81 url("assets/legacy/form-ic.svg") no-repeat 30px center/45px;color:#fff;text-align:center;font-size:16px;line-height:1.5;transition:background-color .3s}
.hz-home .hz-common-contact-button strong{display:block;font-size:24px;font-weight:700}
.hz-home .hz-common-contact-button>span{display:block}
.hz-home .hz-common-contact-button:hover{background-color:#004f9f;opacity:1;text-decoration:none}
@media(max-width:767px){.hz-home .hz-common-contact-inner{padding:20px 0}.hz-home .hz-common-contact-button{min-width:100%;font-size:14px;background-size:30px}.hz-home .hz-common-contact-button strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.hz-home .hz-common-contact-button{transition:none}}
.hz-home .hz-shared-header{height:100px;position:sticky;top:0;z-index:20;background:#fdfbf7;color:#333;display:flex;align-items:center}
.hz-home .hz-shared-inner{width:90%;margin:auto;display:flex;align-items:center;justify-content:space-between}
.hz-home .hz-shared-identity{width:30%;display:flex;align-items:center;flex-shrink:0}
.hz-home .hz-shared-identity>a{display:block;flex-shrink:0}
.hz-home .hz-shared-identity img{width:50px;height:53px}
.hz-home .hz-shared-identity>span{margin-left:16px;color:#504f4a;font-size:16px;font-weight:700;line-height:1.5;white-space:nowrap}
.hz-home .hz-shared-toggle{display:none}
.hz-home .hz-site-nav{width:40%;height:60px;display:flex;align-items:center;color:#333}
.hz-home .hz-site-menu{display:flex;justify-content:space-between;align-items:center;width:100%;list-style:none}
.hz-home .hz-site-menu>li{position:relative;flex:1}
.hz-home .hz-nav-trigger,.hz-home .hz-nav-contact{display:flex;align-items:center;gap:8px;padding:5px 20px;font:400 14px/1.5 "Noto Sans JP",sans-serif;color:#333;white-space:nowrap;background:transparent;border:0;cursor:pointer;text-align:left;min-height:44px}
.hz-home .hz-nav-trigger>span{width:8px;height:8px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(135deg);margin-top:-4px}
.hz-home .hz-nav-trigger[aria-expanded="true"]>span{transform:rotate(-45deg);margin-top:4px}
.hz-home .hz-submenu{position:absolute;top:100%;left:0;width:230px;background:rgba(253,251,247,.98);padding:10px 20px;list-style:none}
.hz-home .hz-submenu li{padding:4px 0}
.hz-home .hz-submenu a{display:flex;align-items:center;min-height:36px;font-size:14px;line-height:1.6;color:#333}
.hz-home .hz-submenu a:hover,.hz-home .hz-nav-contact:hover{text-decoration:underline;opacity:1}
.hz-home .hz-submenu[hidden]{display:none}
.hz-home .hz-shared-footer{background:#333 url("assets/legacy/pattern.png") repeat;background-size:100px;padding:60px 0 30px;color:#fff;font-size:16px;line-height:1.5}
.hz-home .hz-shared-footer-inner{width:100%;max-width:1160px;margin:auto}
.hz-home .hz-shared-footer-row{display:flex;justify-content:space-between;flex-wrap:wrap}
.hz-home .hz-shared-footer-info{width:32%;line-height:1.8}
.hz-home .hz-shared-footer-info img{width:78px;height:auto;margin-bottom:10px}
.hz-home .hz-shared-footer-info address{font-style:normal;font-size:14px;line-height:1.5}
.hz-home .hz-shared-footer-info strong{font-size:16px}
.hz-home .hz-shared-footer-row>ul{width:20%;list-style:none}
.hz-home .hz-shared-footer-row li{margin-bottom:10px}
.hz-home .hz-shared-footer-row li:first-child{font-weight:700}
.hz-home .hz-shared-footer-row a{color:#fff}
.hz-home .hz-shared-footer-row>ul a{display:inline-block;line-height:1.5}
.hz-home .hz-shared-footer-row>ul a:hover{text-decoration:underline;opacity:1}
.hz-home .hz-shared-copyright{text-align:center;padding-top:30px;font-size:14px;line-height:20px}
@media(max-width:1280px){.hz-home .hz-shared-inner{width:98%}}
@media(max-width:1159px){.hz-home .hz-shared-footer-inner{padding-inline:20px}}
@media(max-width:1024px){
  .hz-home [id]{scroll-margin-top:84px}
  .hz-home .hz-shared-header{height:60px}
  .hz-home .hz-shared-inner{width:100%;padding:10px}
  .hz-home .hz-shared-identity{width:76%;position:relative;z-index:2}
  .hz-home .hz-shared-identity img{width:36px;height:38px}
  .hz-home .hz-shared-identity>span{font-size:14px;margin-left:14px}
  .hz-home .hz-shared-toggle:not([hidden]){position:relative;z-index:2;display:flex;align-items:center;justify-content:flex-end;width:44px;height:44px;padding:10px 0;background:transparent;border:0;color:#504f4a;cursor:pointer}
  .hz-home .hz-shared-toggle>span{display:block;width:24px;height:1px;position:relative;background:currentColor}
  .hz-home .hz-shared-toggle>span::before,.hz-home .hz-shared-toggle>span::after{content:"";display:block;position:absolute;width:24px;height:1px;background:currentColor;left:0;top:-8px}
  .hz-home .hz-shared-toggle>span::after{top:8px}
  .hz-home .hz-shared-toggle[aria-expanded="true"]>span{background:transparent}
  .hz-home .hz-shared-toggle[aria-expanded="true"]>span::before{top:0;transform:rotate(45deg)}
  .hz-home .hz-shared-toggle[aria-expanded="true"]>span::after{top:0;transform:rotate(-45deg)}
  .hz-home.hz-js .hz-site-nav{display:none}
  .hz-home.hz-js .hz-site-nav.hz-is-open{display:block}
  .hz-home .hz-site-nav{position:fixed;top:60px;left:0;width:100%;height:calc(100vh - 60px);height:calc(100dvh - 60px);overflow-y:auto;overscroll-behavior:contain;background:#fdfbf7;padding:10% 5% 30px}
  .hz-home .hz-site-menu{display:block}
  .hz-home .hz-nav-trigger,.hz-home .hz-nav-contact{padding:20px 10px;font-size:18px;font-weight:500;letter-spacing:.05em;width:100%;min-height:64px}
  .hz-home .hz-submenu{position:static;width:100%;padding:0 5px 10px 30px;background:transparent}
  .hz-home .hz-submenu li{padding:4px 0}
  .hz-home .hz-submenu a{font-size:16px;min-height:40px}
  .hz-home:not(.hz-js) .hz-shared-header{position:relative;height:auto}
  .hz-home:not(.hz-js) .hz-shared-inner{flex-wrap:wrap}
  .hz-home:not(.hz-js) .hz-site-nav{position:static;height:auto;padding-top:20px}
}
@media(max-width:767px){
  .hz-home .hz-shared-footer{padding:20px 0}
  .hz-home .hz-shared-footer-info{width:100%;display:flex;margin-bottom:10px}
  .hz-home .hz-shared-footer-info>a{flex-shrink:0}
  .hz-home .hz-shared-footer-info img{width:50px;margin-right:10.8px;margin-bottom:10px}
  .hz-home .hz-shared-footer-row>ul{width:48%}
  .hz-home .hz-shared-footer-row li{margin-bottom:5px}
  .hz-home .hz-shared-copyright{font-size:11px}
}
@media(max-width:359px){.hz-home .hz-shared-identity>span{font-size:12px;margin-left:8px}}

/* r8: retain at least 20px gutters around the footer at narrow PC widths. */
.hz-home .hz-shared-footer-inner{width:calc(100% - 40px);padding-inline:0}
