/* 古川亭・採用済みロゴ＋右側中世看板。既存の羊皮紙、豚、文字、価格、開閉動作は維持。 */
/* Approved gold-edged logo artwork; no font substitution in browsers. */
.home-page .name1 .name2 > img,
.site-signature > img.manuscript-new-svg,
.site-signature img.manuscript-new-svg,
.blog-page img.manuscript-new-svg,
.news-page img.manuscript-new-svg {
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  margin:2px auto 4px!important;
  object-fit:contain!important;
  filter:none!important;
}
.home-page .name1 .name2 > img{width:min(100%,750px)!important;}
.site-signature > img.manuscript-new-svg{width:min(100%,720px)!important;}
.blog-page img.manuscript-new-svg--inline,
.news-page img.manuscript-new-svg--inline {
  display:inline-block!important;
  width:min(100%,390px)!important;
  max-width:100%!important;
  height:auto!important;
  vertical-align:middle!important;
}
/* The left-side live-text chef board is preserved accessibly but replaced visually. */
.home-page .chef-board.chef-board--illustrated {
  border:0!important;
  outline:none!important;
  background:none!important;
  padding:0!important;
  margin:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  transform:none!important;
  border-radius:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.home-page .chef-board--illustrated > .chef-board-art {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  object-fit:contain!important;
  box-shadow:none!important;
  filter:drop-shadow(2px 8px 8px rgba(22,12,7,.5))!important;
}
/* Keep original editable names & century labels available to assistive tech. */
.home-page .chef-board--illustrated .chef-board__accessible {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}
/* Desktop: move the former LEFT board to the opposite, RIGHT side. */
@media (min-width:1000px) {
  .home-page .name1 {
    position:relative!important;
    width:min(790px,calc(100% - 335px))!important;
    left:-72px!important;
  }
  .home-page .chef-board.chef-board--illustrated {
    position:absolute!important;
    top:150px!important;
    left:auto!important;
    right:-245px!important;
    bottom:auto!important;
    width:225px!important;
    max-width:none!important;
    z-index:5!important;
  }
}
/* Laptops / phones: board stays below the panel menu and fully visible. */
@media (max-width:999px) {
  .home-page .name1 {left:auto!important;}
  .home-page .chef-board.chef-board--illustrated {
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:min(84%,370px)!important;
    margin:20px auto 2px!important;
  }
}
@media (max-width:520px) {
  .home-page .chef-board.chef-board--illustrated {width:min(82%,320px)!important;}
}
