.rhm-banner{position:relative;width:100%;max-width:1440px;height:750px;aspect-ratio:auto;min-height:750px;max-height:750px;margin-inline:auto;background:#1B1F23}
.rhm-banner-frame{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;border:0;background:#1B1F23}
.rhm-banner-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.rhm-banner-fallback img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(max-width:767px){.rhm-banner{height:clamp(400px,125vw,600px);aspect-ratio:auto;min-height:0;max-height:none}}
.rhm-image-viewer{padding:0;border:0;margin:auto;background:#14171b;color:#fff;font-family:"Noto Sans JP",sans-serif}
.rhm-image-viewer[open]{display:flex;flex-direction:column;width:100vw;height:100dvh;max-width:none;max-height:none;inset:0;overflow:hidden}
.rhm-image-viewer::backdrop{background:#000d}
.rhm-image-viewer__header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;min-height:64px;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));background:#1B1F23}
.rhm-image-viewer__header h2{margin:0;font:600 15px/1.5 "Noto Sans JP",sans-serif;color:#ECE8E2}
.rhm-image-viewer button{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;padding:6px 12px;border:1px solid #3B4249;border-radius:10px;background:#242A30;color:#fff;font:500 24px/1 "Noto Sans JP",sans-serif;cursor:pointer;touch-action:manipulation}
.rhm-image-viewer button:disabled{opacity:.4;cursor:default}
.rhm-image-viewer button:focus-visible{outline:2px solid #D99455;outline-offset:3px}
.rhm-image-viewer__stage{position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;touch-action:none;cursor:zoom-in}
.rhm-image-viewer__stage.is-zoomed{cursor:grab}
.rhm-image-viewer__stage.is-dragging{cursor:grabbing}
.rhm-image-viewer__stage img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;user-select:none;-webkit-user-drag:none;transform:translate3d(var(--rhm-image-x,0px),var(--rhm-image-y,0px),0) scale(var(--rhm-image-zoom,1));transform-origin:center}
.rhm-image-viewer__controls{display:flex;align-items:center;justify-content:center;gap:16px;flex:none;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:#1B1F23}
.rhm-image-viewer__controls [data-rhm-image-reset]{min-width:90px;font-size:14px}
html.rhm-viewer-open{overflow:hidden}

