/* Shared by the Japanese and English home pages; keep article image ownership. */
.hero-gallery .hero-scene{position:relative}
.hero-gallery .hero-scene[hidden],.hero-gallery-controls[hidden]{display:none!important}
.hero-gallery .hero-photo-link{display:block;width:100%;height:100%}
.hero-gallery .hero-photo-link>img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-gallery .hero-stamp{bottom:50px;display:block;text-decoration:none;color:var(--sumi)}
.hero-gallery .hero-stamp>span{font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;letter-spacing:0;padding-top:8px}
.hero-gallery .hero-photo-caption{display:block;max-width:none;min-height:82px;padding:12px 220px 8px 0;white-space:normal;overflow:visible;letter-spacing:0;color:var(--sumi)}
.hero-gallery .hero-place-name{display:block;font-size:18px;line-height:1.5;font-family:var(--serif)}
.hero-gallery .hero-photo-note{display:block!important;font-size:15px;line-height:1.6}
.hero-gallery-controls{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:6px;font:16px/1.4 var(--sans)}
.hero-gallery-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--sumi);background:transparent;color:var(--sumi);font:inherit;cursor:pointer;padding:8px 12px}
.hero-gallery-controls button:hover{background:#efe3ca}
.hero-gallery-controls button:focus-visible,.hero-gallery a:focus-visible{outline:3px solid #b6371b;outline-offset:4px}
.hero-gallery-controls [data-hero-position]{min-width:44px;text-align:center;font-variant-numeric:tabular-nums}
.hero-gallery-controls [data-hero-pause]{margin-left:auto;min-width:72px}
.hero-gallery .hero-scene.is-entering{animation:hero-photo-enter 420ms ease-out}
@keyframes hero-photo-enter{from{opacity:.25}to{opacity:1}}
@media(max-width:1100px){.hero-gallery .hero-photo-caption{padding-right:175px}.hero-gallery .hero-stamp{bottom:52px}}
@media(max-width:700px){.hero-gallery .hero-photo-caption{padding-right:140px;min-height:88px}.hero-gallery .hero-place-name{font-size:16px}.hero-gallery .hero-stamp{bottom:48px}.hero-gallery .hero-stamp>span{font-size:15px}.hero-gallery-controls{margin-top:4px}}
@media(prefers-reduced-motion:reduce){.hero-gallery .hero-scene.is-entering{animation:none}}
