.dd-home-hero .dd-home-mascot-photo[data-home-zabuton] .dd-home-mascot-profile {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
[data-home-zabuton="01"] .dd-home-mascot-profile { background-image: url("home-mascot-zabuton/01.webp"); }
[data-home-zabuton="02"] .dd-home-mascot-profile { background-image: url("home-mascot-zabuton/02.webp"); }
[data-home-zabuton="03"] .dd-home-mascot-profile { background-image: url("home-mascot-zabuton/03.webp"); }
[data-home-zabuton="04"] .dd-home-mascot-profile { background-image: url("home-mascot-zabuton/04.webp"); }
[data-home-zabuton="05"] .dd-home-mascot-profile { background-image: url("home-mascot-zabuton/05.webp"); }

.dd-zabuton-switch {
  padding: 14px;
  margin: 12px 0;
  border: 1px solid #dfe7e1;
  border-radius: 14px;
  background: #f7faf8;
  color: #27372e;
}
.dd-zabuton-switch div { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 0; }
.dd-zabuton-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: underline;
}
.dd-zabuton-switch a[aria-current="page"] {
  background: #d9eee4;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 780px) {
  .dd-home-hero .dd-home-mascot-photo[data-home-zabuton] .dd-home-mascot-profile {
    overflow: hidden;
    border-radius: var(--dd-radius-lg, 18px);
  }
}
@media (max-width: 680px) {
  .dd-home-zabuton-preview .dd-home-main { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .dd-home.dd-home-zabuton-preview .dd-home-main > .dd-home-photo-mobile { display: none !important; }
  .dd-home-zabuton-preview .dd-home-main > .dd-home-hero { display: grid !important; color: #171a19; }
  .dd-home-zabuton-preview .dd-home-main > .dd-zabuton-switch { display: block !important; }
  .dd-home-zabuton-preview .dd-zabuton-switch div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd-home-zabuton-preview .dd-zabuton-switch div a { min-width: 0; padding-inline: 7px; font-size: .875rem; overflow-wrap: anywhere; }
  .dd-home-zabuton-preview .dd-home-hero--photo .dd-home-copy--registration { min-block-size: 0; }
  .dd-home-zabuton-preview .dd-home-hero figure.dd-home-mascot-photo {
    width: calc(100% - 24px);
    height: auto;
    margin: 12px auto;
    aspect-ratio: 8 / 5;
    overflow: hidden;
    border-radius: var(--dd-radius-lg, 18px);
  }
  .dd-home-zabuton-preview .dd-home-hero .dd-home-mascot-profile { position: absolute; inset: 0; }
  .dd-home-zabuton-preview .dd-home-hero figure.dd-home-mascot-photo .dd-home-mascot-profile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: contain;
  }
  .dd-home-zabuton-preview .dd-home-hero .dd-home-mascot-recruit { top: 7px; right: 8px; width: 54px; }
  .dd-home-zabuton-preview .dd-home-hero .dd-home-mascot-photo figcaption {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff;
  }
}
