/* 6:4 transparent artwork. Keep the whole character and props visible. */
html body.ninja-kids .app-paper .has-wide-hero {
  --nk-hero-art-height:240px;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;
  column-gap:20px;
}
html body.ninja-kids .app-paper .has-wide-hero .app-ref-visual.is-ninja {
  display:grid;
  place-items:center;
  min-width:0;
  min-height:0;
  background:none;
}
html body.ninja-kids .app-paper .has-wide-hero .ninja-mascot {
  position:static;
  width:100%!important;
  height:auto!important;
  max-width:calc(var(--nk-hero-art-height) * 1.5)!important;
  max-height:var(--nk-hero-art-height)!important;
  aspect-ratio:3 / 2!important;
  object-fit:contain;
  margin:0;
  transform:none;
  filter:none;
}
html body.ninja-kids .app-paper .has-wide-hero:not(.app-ref-hero)>.ninja-mascot {
  grid-column:2!important;
  grid-row:1 / 9!important;
  justify-self:center;
  align-self:center;
  order:0;
}
html body.ninja-kids .app-paper .sa-head.has-wide-hero {
  display:grid;
  --nk-hero-art-height:150px;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;
}
html body.ninja-kids .app-paper .sa-head.has-wide-hero>.sa-head-badge {
  grid-column:2;
  grid-row:1;
  width:100%;
  height:auto;
  max-width:calc(var(--nk-hero-art-height) * 1.5);
  max-height:var(--nk-hero-art-height);
  aspect-ratio:3 / 2;
  object-fit:contain;
  justify-self:center;
  transform:none;
  filter:none;
}
html body.ninja-kids .app-paper .sa-head.has-wide-hero>div {
  grid-column:1;
  grid-row:1;
  min-width:0;
}
/* Preserve the short title strip on school laptops and landscape phones. */
@media (min-width:768px) and (max-height:760px) {
  html body.ninja-kids .app-paper .has-wide-hero {
    --nk-hero-art-height:84px;
    grid-template-columns:minmax(0,1fr) 150px!important;
  }
  html body.ninja-kids .app-paper .sa-head.has-wide-hero {
    --nk-hero-art-height:58px;
    grid-template-columns:minmax(0,1fr) 87px!important;
  }
}
@media (max-width:767px) {
  html body.ninja-kids .app-paper .has-wide-hero {
    --nk-hero-art-height:100px;
    /* 11字の見出し（とどうふけんしゅぎょう など）が 375・390 でも 1行に入るよう、絵の列は 28vw まで（#299） */
    grid-template-columns:minmax(0,1fr) clamp(96px,28vw,140px)!important;
    column-gap:10px;
  }
  html body.ninja-kids .app-paper .sa-head.has-wide-hero {
    /* 帯の 高さを 前の 絵の ときと 同じに（390x660・1093x520 で メニューが 1画面に 入るよう。#299） */
    --nk-hero-art-height:50px;
    grid-template-columns:minmax(0,1fr) 75px!important;
  }
}
@media (orientation:landscape) and (max-height:500px) {
  html body.ninja-kids .app-paper .has-wide-hero {
    --nk-hero-art-height:66px;
    grid-template-columns:minmax(0,1fr) 108px!important;
  }
  html body.ninja-kids .app-paper .sa-head.has-wide-hero {
    --nk-hero-art-height:46px;
    grid-template-columns:minmax(0,1fr) 69px!important;
  }
}
