/* 空き家ページの冒頭写真専用。既存のakiya-refresh.cssの後に読み込む。 */
.mk-akiya .ak-hero--before .ak-photos {
  position:relative;
  isolation:isolate;
  align-self:stretch;
  width:100%;
  min-width:0;
  min-height:440px;
  margin:0;
  padding:0;
  overflow:hidden;
  box-sizing:border-box;
}
.mk-akiya .ak-hero--before .ak-photos .ak-photo-slide {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  box-sizing:border-box;
}
.mk-akiya .ak-hero--before .ak-photo-slide img {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  object-fit:cover;
  box-sizing:border-box;
}
.mk-akiya .ak-hero--before .ak-photos .ak-photo-caption {
  position:absolute;
  inset:auto auto 16px 16px;
  z-index:2;
  width:fit-content;
  max-width:calc(100% - 32px);
  margin:0;
  padding:6px 10px;
  border:0;
  border-radius:4px;
  background:rgba(10,36,50,.86);
  color:#fff;
  font-size:.875rem;
  line-height:1.5;
  text-align:left;
  overflow-wrap:anywhere;
  box-sizing:border-box;
}
@media (max-width:768px) {
  .mk-akiya .ak-hero--before .ak-photos {
    min-height:0;
    height:auto;
    aspect-ratio:4/3;
  }
  .mk-akiya .ak-hero--before .ak-photos .ak-photo-caption {
    inset:auto auto 10px 10px;
    max-width:calc(100% - 20px);
    padding:5px 8px;
  }
}
