@charset "UTF-8";

#mv .mv_textimg a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  /* let the hero grow to the image height instead of 100vh / 782px */
  #mv_outer #mv {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;   /* beats the inline max-height */
  }
  #mv_outer #mv .mv_img,
  #mv_outer #mv .mv_img li {
    height: auto;
  }
  #mv_outer #mv .mv_img li {
    position: relative;           /* was absolute, which collapsed the height */
  }

  /* swap the image (SP only) and show it uncropped */
  #mv_outer #mv .mv_img li img {
    content: url("/common/upload_data/shirohato-enmusubicom/image/20261120223056.jpg");
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: none;              /* stops the zoom animation from cropping */
    opacity: 1;
  }
}