/* ep-tpl-hero-text.js: キャッチ画像 → 文字(位置は ep-hero-copy-rt.js が元の img[data-ep-ghost] に合わせる) */
img[data-ep-ghost]{visibility:hidden!important}
.ep-copy-ov{position:absolute;left:0;top:0;container-type:inline-size;pointer-events:none;display:block}
.ep-copy-ov:not([data-ep-placed]){opacity:0!important}
.ep-copy-ov .epc{position:absolute;inset:0}
.ep-copy-ov [data-editable]{pointer-events:auto}
.ep-copy-ov .epc-logo img{position:absolute!important;left:var(--ep-l,6%)!important;top:var(--ep-t,8%)!important;right:auto!important;bottom:auto!important;width:var(--ep-w,88%)!important;height:var(--ep-h,84%)!important;max-width:none!important;max-height:none!important;margin:0!important;opacity:1!important;transform:none!important;visibility:visible!important;object-fit:contain;z-index:auto!important}
/* SP 用のキャッチ画像が無い(SP のキャッチは SP 写真に焼き込み)→ PC 用の文字を SP でも出す */
.main_visual_copy[data-ep-sp-show]{display:block!important}
@media (max-width:767px){.main_visual_copy[data-ep-sp-show] img[data-ep-ghost]{width:88%!important;max-width:none!important;max-height:none!important;left:0!important;right:0!important}}
.epc-main_copy1 .epc { position: absolute; inset: 0; display: block; container-type: inline-size; } .epc-main_copy1 .epc .line { position: absolute; top: 9.8cqw; display: block; color: #fff; font-family: "Shippori Mincho", "Noto Serif JP", serif; font-size: 10cqw; font-weight: 500; line-height: 1; letter-spacing: 0.28em; writing-mode: vertical-rl; text-orientation: mixed; white-space: nowrap; } .epc-main_copy1 .epc .l1 { left: 80.6cqw; } .epc-main_copy1 .epc .l2 { left: 56.6cqw; } .epc-main_copy1 .epc .l3 { left: 32.2cqw; } .epc-main_copy1 .epc .l4 { left: 8.5cqw; }
