.component-html .ag-extra-banner {
  position: relative;
  display: block;
  width: 100%;
}
.component-html .ag-extra-banner:focus-visible::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 4px dashed var(--Tabキー選択時の破線の色);
}
.component-html .ag-extra-banner > picture {
  transition: opacity var(--metrotokyo-anchor-hover-transition-duration) var(--metrotokyo-easing-ease-out-quad);
}
.component-html .ag-extra-banner:hover > picture,
.component-html .ag-extra-banner:focus-visible > picture {
  opacity: 0.7;
}
.component-html .ag-extra-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (min-width: 521px) and (max-width: 1040px) {
  .component-html .ag-extra-banner img {
    aspect-ratio: calc(var(--タブレット・PC向け画像アスペクト比) / 2);
  }
}
@media (min-width: 1041px) and (max-width: 2080px) {
  .component-html .ag-extra-banner img {
    height: calc(2080px / var(--タブレット・PC向け画像アスペクト比));
  }
}