
.kva { position: relative; margin: 0; overflow: hidden; background: #f3e6cf; aspect-ratio: var(--ar, 1780 / 884); }
.kva > picture, .kva-base { display: block; width: 100%; height: 100%; }
.kva-base, .kva-cv { object-fit: cover; }
@media (max-width: 767px) { .kva:not([data-kva-force]) { aspect-ratio: var(--ar-sp, 1086 / 1448); } }
.kva[data-kva-force="sp"] { aspect-ratio: var(--ar-sp, 1086 / 1448); }
.kva-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.kva.is-ready .kva-cv { visibility: visible; }

.kva-cv { opacity: 0; transition: opacity .6s ease; }
.kva.is-moving .kva-cv { opacity: 1; }


.kva-light { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; overflow: hidden; }
.kva.is-moving:not(.is-paused) .kva-light { opacity: 1; }
.kva-light i { position: absolute; inset: 0; display: block; mix-blend-mode: screen; }
.kva-sun { background: radial-gradient(circle at var(--sx, 50%) var(--sy, 25%), rgba(255, 228, 160, .55) 0, rgba(255, 236, 190, .22) 9%, rgba(255, 240, 200, 0) 26%); animation: kva-sun 6.5s ease-in-out infinite alternate; }
.kva-ray { inset: -20% -40%; background: linear-gradient(112deg, rgba(255, 248, 220, 0) 34%, rgba(255, 246, 214, .26) 41%, rgba(255, 248, 224, .08) 46%, rgba(255, 248, 220, 0) 50%, rgba(255, 246, 214, .18) 56%, rgba(255, 248, 220, 0) 62%); animation: kva-ray 11s ease-in-out infinite alternate; }
.kva-dapple { inset: -10%; opacity: .55; background:
  radial-gradient(ellipse 46px 30px at 12% 22%, rgba(255, 250, 225, .5), transparent 70%), radial-gradient(ellipse 38px 26px at 30% 8%, rgba(255, 250, 225, .45), transparent 70%),
  radial-gradient(ellipse 54px 34px at 74% 16%, rgba(255, 250, 225, .45), transparent 70%), radial-gradient(ellipse 34px 22px at 88% 34%, rgba(255, 250, 225, .4), transparent 70%),
  radial-gradient(ellipse 60px 36px at 22% 64%, rgba(255, 250, 225, .3), transparent 70%), radial-gradient(ellipse 50px 30px at 64% 70%, rgba(255, 250, 225, .3), transparent 70%);
  animation: kva-dapple 9s ease-in-out infinite alternate; }
@keyframes kva-sun { from { opacity: .45; transform: scale(.96); } to { opacity: 1; transform: scale(1.06); } }
@keyframes kva-ray { from { transform: translateX(-9%); opacity: .55; } to { transform: translateX(9%); opacity: 1; } }
@keyframes kva-dapple { 0% { transform: translate(0, 0); opacity: .3; } 50% { opacity: .6; } 100% { transform: translate(2.5%, 1.5%); opacity: .35; } }


.kva-toggle, .kvs-btn { position: absolute; bottom: 10px; z-index: 6; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px;
  padding: 0 14px; border: 1px solid rgba(74, 52, 30, .28); border-radius: 999px; background: rgba(255, 252, 245, .92); color: #4a3420;
  font: 700 13px/1 "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif; cursor: pointer; }
.kva-toggle { right: 10px; }
.kva-toggle:hover, .kvs-btn:hover { background: #fff; }
.kva-toggle:focus-visible, .kvs-btn:focus-visible { outline: 3px solid #c8602a; outline-offset: 2px; }
.kva-ico { width: 10px; height: 10px; display: inline-block; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%); }
.kva.is-paused > .kva-toggle .kva-ico, .kvs.is-paused .kvs-btn.pause .kva-ico { background: none; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.kva:not(.is-ready) > .kva-toggle { display: none; }


.kvs { position: relative; overflow: hidden; aspect-ratio: 1780 / 884; background: #f3e6cf; }
@media (max-width: 767px) { .kvs:not([data-kva-force]) { aspect-ratio: 1086 / 1448; } }
.kvs[data-kva-force="sp"] { aspect-ratio: 1086 / 1448; }
.kvs-slide { position: absolute; inset: 0; visibility: hidden; }
.kvs-slide.is-current { visibility: visible; }
.kvs-slide > .kva { position: absolute; inset: 0; aspect-ratio: auto; }
.kvs-curtain { position: absolute; inset: 0; z-index: 5; transform: translateX(101%); pointer-events: none; will-change: transform; }
.kvs-curtain img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kvs-btn.prev { left: 10px; } .kvs-btn.next { left: 62px; } .kvs-btn.pause { right: 10px; }
.kvs-btn span[aria-hidden] { font-size: 22px; line-height: 1; margin-top: -2px; }
.kvs-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }


.kvs-copy { position: absolute; z-index: 4; top: var(--pt, 5%); left: var(--pl, 50%); transform: translateX(var(--px, -50%)); text-align: var(--pa, center);
  width: max-content; max-width: 88%; pointer-events: none; color: #3A2414; font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 900; }
.kvs-copy p { margin: 0; font-size: var(--fs, clamp(20px, 2.15vw, 32px)); line-height: 1.62; letter-spacing: .06em; }
.kvs-copy .ln { position: relative; display: inline-block; white-space: nowrap; padding: 0 .1em; }
.kvs-copy .ln::before { content: ""; position: absolute; z-index: -1; left: -1.3em; right: -1.3em; top: .02em; bottom: -.02em;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0) 0, rgba(255, 250, 240, .78) 1.3em, rgba(255, 251, 243, .84) 50%, rgba(255, 250, 240, .78) calc(100% - 1.3em), rgba(255, 250, 240, 0) 100%);
  border-radius: .5em; filter: blur(5px); }

.kvs-copy .cp { display: flex; flex-direction: column; align-items: var(--pai, center); }
.kvs-copy .ln { display: block; width: max-content; }
.kvs-copy .cp-sp { display: none; }

.kvs-copy { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

.kvs { container-type: inline-size; }
@media (max-width: 767px) {
  .kvs:not([data-kva-force]) .kvs-copy { top: var(--st, 4%); left: var(--sl, 50%); transform: translateX(var(--sx2, -50%)); text-align: var(--sa, center); max-width: 96%; }
  .kvs:not([data-kva-force]) .kvs-copy .cp-pc { display: none; } .kvs:not([data-kva-force]) .kvs-copy .cp-sp { display: flex; align-items: var(--sai, center); }
  .kvs:not([data-kva-force]) .kvs-copy p { font-size: clamp(16px, calc(var(--fsk, 5.2) * 1cqw), 40px); line-height: var(--lhs, 1.58); letter-spacing: var(--lss, .04em); }
}
.kvs[data-kva-force="sp"] .kvs-copy { top: var(--st, 4%); left: var(--sl, 50%); transform: translateX(var(--sx2, -50%)); text-align: var(--sa, center); max-width: 96%; }
.kvs[data-kva-force="sp"] .kvs-copy .cp-pc { display: none; } .kvs[data-kva-force="sp"] .kvs-copy .cp-sp { display: flex; align-items: var(--sai, center); }
.kvs[data-kva-force="sp"] .kvs-copy p { font-size: clamp(14px, calc(var(--fsk, 5.2) * 1cqw), 40px); line-height: var(--lhs, 1.58); letter-spacing: var(--lss, .04em); }

.kva-anim .kvs-copy .ln::before { opacity: 0; transform: scaleX(.35); transform-origin: 0 50%; transition: opacity .9s ease, transform 1.3s cubic-bezier(.16, .8, .24, 1); }
.kva-anim .kvs-copy .tx { display: inline-block; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.kva-anim .kvs-copy .tx { color: rgba(58, 36, 20, 0); text-shadow: 0 0 10px rgba(58, 36, 20, .0); transition: -webkit-mask-position 1.5s cubic-bezier(.3, .6, .2, 1), mask-position 1.5s cubic-bezier(.3, .6, .2, 1), color 1.2s ease, text-shadow 1.2s ease; }
.kva-anim .kvs-slide.is-in .kvs-copy .ln::before { opacity: 1; transform: none; transition-delay: calc(.1s + var(--i, 0) * .32s); }
.kva-anim .kvs-slide.is-in .kvs-copy .tx { -webkit-mask-position: 0 0; mask-position: 0 0; color: #3A2414; transition-delay: calc(.42s + var(--i, 0) * .32s); }


@media (prefers-reduced-motion: reduce) { .kva-cv, .kva-toggle, .kva-light, .kvs-curtain { display: none !important; } .kvs-copy .ln::before { opacity: 1 !important; transform: none !important; transition: none !important; } .kvs-copy .tx { -webkit-mask-image: none !important; mask-image: none !important; color: #3A2414 !important; transition: none !important; } }
