/* Core blocks in the two shared patterns use the same frames as the page design. */
@media screen {
  .hb-site :is(.hb-block-header,.hb-block-footer) .wp-block-group__inner-container {display:contents}
  .hb-site :is(.hb-block-header,.hb-block-footer):is(.wp-block-group),
  .hb-site .hb-block-header :is(.hb-menu,.hb-brand,p,figure),
  .hb-site .hb-block-footer :is(.hb-colophon-frame,.hb-colophon-body,.hb-colophon-identity,.hb-block-tel,.wp-block-buttons,.wp-block-button,figure) {
    margin-block:0;
  }
  .hb-site .hb-block-header .hb-header-row {margin-inline:auto}
  .hb-site .hb-header .hb-brand .hb-block-mark {
    display:block; margin:0; flex:none; width:50px; height:34px;
  }
  .hb-site .hb-header .hb-brand .hb-block-mark img {display:block; width:100%; height:100%; object-fit:contain}
  .hb-site .hb-header .hb-brand .hb-block-mark img[src$="/ripple.svg"] {
    transform:scale(.71); filter:brightness(0) saturate(100%) invert(33%) sepia(12%) saturate(795%) hue-rotate(65deg);
  }
  .hb-site .hb-block-header .hb-block-brand-name {color:inherit; font:inherit; letter-spacing:inherit}
  .hb-site .hb-block-header .hb-brand a {display:block; color:inherit; text-decoration:none}
  .hb-site .hb-block-header .hb-block-brand-name strong {
    display:block; margin-bottom:2px; font:500 12px/1.5 var(--sans); letter-spacing:.16em; color:#4d5c46;
  }
  .hb-site .hb-block-header .hb-block-brand-name a::after {content:""; position:absolute; inset:0}
  :is(.hb-site.hb-home,.hb-site .hb-home):has(.hb-main > :is(.hb-hero,.tks-hero,.tkb-hero):first-child) .hb-block-header .hb-block-brand-name strong {color:#fff; letter-spacing:.15em}
  :is(.hb-site.hb-home,.hb-site .hb-home):has(.hb-main > :is(.hb-hero,.tks-hero,.tkb-hero):first-child) .hb-block-header .hb-brand .hb-block-mark {width:56px;height:35px}
  :is(.hb-site.hb-home,.hb-site .hb-home):has(.hb-main > :is(.hb-hero,.tks-hero,.tkb-hero):first-child) .hb-block-header .hb-block-mark img[src$="/ripple.svg"] {transform:none;filter:brightness(0) invert(1)}
  .hb-site .hb-block-header .hb-menu p, .hb-site .hb-block-footer .hb-colophon-nav p {display:contents}
  .hb-site .hb-header.hb-block-header .hb-header-row .hb-menu.wp-block-group p:not(:last-child) a:last-child {
    padding:10px 7px; background:transparent; border:none; box-shadow:none; border-radius:0;
  }
  .hb-site .hb-block-footer .hb-colophon-name > strong {
    display:block; margin:0 0 8px .3em; color:#efe1bd;
    font:500 clamp(12px,.88vw,15px)/1.5 var(--sans); letter-spacing:.18em;
  }
  .hb-site .hb-block-footer .hb-block-address {
    margin:4px 0 0; color:#ebeada; font:400 clamp(14px,.94vw,16px)/1.82 var(--sans); overflow-wrap:normal;
  }
  .hb-site .hb-block-footer .hb-block-tel a {
    display:inline-block; color:#fff8e8; text-decoration:none; white-space:nowrap;
    font:500 clamp(29px,2.7vw,46px)/1.33 Georgia,'Yu Mincho',serif;
    font-variant-numeric:lining-nums tabular-nums; letter-spacing:.012em;
  }
  .hb-site .hb-block-footer .hb-block-tel a:hover {text-decoration:underline;text-decoration-thickness:1px}
  .hb-site .hb-block-footer .hb-colophon-print {
    margin:0; position:relative; background:none;
  }
  .hb-site .hb-block-footer .hb-colophon-print img {
    position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  }
  .hb-site .hb-block-footer .hb-colophon-nav p:not(:last-child) a {margin-inline-start:0; flex-basis:auto}
  .hb-site .hb-block-footer .hb-colophon-contact .wp-block-buttons {display:flex; justify-content:flex-start}
  .hb-site :is(.hb-block-header,.hb-block-footer) a[aria-disabled="true"] {opacity:.75; cursor:default}
}
@media screen and (min-width:961px) and (max-width:1100px) {
  .hb-site .hb-block-header .hb-menu {gap:5px}
  .hb-site .hb-block-header .hb-menu a {white-space:nowrap}
}
@media screen and (max-width:960px) {
  .hb-site .hb-block-header .hb-toggle {margin:0}
  .hb-site .hb-header .hb-brand .hb-block-mark,
  :is(.hb-site.hb-home,.hb-site .hb-home):has(.hb-main > :is(.hb-hero,.tks-hero,.tkb-hero):first-child) .hb-block-header .hb-brand .hb-block-mark {width:44px}
  .hb-site .hb-block-header .hb-block-brand-name strong {font-size:11px}
}
@media screen and (max-width:700px) {
  .hb-site .hb-block-footer .hb-colophon-name > strong {font-size:12px}
  .hb-site .hb-block-footer .hb-block-tel a {font-size:clamp(29px,8.5vw,39px)}
}
.editor-styles-wrapper .hb-block-header,
.editor-styles-wrapper .hb-block-footer {padding:18px; border:1px solid #b7a174}
.editor-styles-wrapper .hb-block-header {background:#fffdf6; color:#264738}
.editor-styles-wrapper .hb-block-footer {background:#edf6f2; color:#284b45; border-color:#cedfd7}
.editor-styles-wrapper .hb-block-footer :is(p,a) {color:inherit}
.editor-styles-wrapper .hb-block-header .hb-block-mark {width:52px}
.editor-styles-wrapper .hb-block-footer .hb-colophon-print {max-width:210px}
