/* トップバナー：商品と価格ポップアップ（2026-11-04）。幅に合わせて cqw で伸び縮みする */
#mainVisual { container-type: inline-size; overflow: hidden; }
#mainVisual h1 { top: 3.4cqw; font-size: clamp(2.2rem, 3.9cqw, 5.4rem); line-height: 1.5; z-index: 3; }
#mainVisual a { z-index: 3; bottom: 1.4cqw; width: clamp(200px, 29cqw, 367px); }
.rs-hero { position: absolute; left: 0; right: 0; top: 16.2cqw; height: 22cqw; z-index: 2; }
.rs-hero__item { position: absolute; top: 0; left: 50%; width: 11.2cqw; margin: 0; }
.rs-hero__item img { display: block; width: 100% !important; height: 17cqw; object-fit: contain; background: #fff; border-radius: .8cqw; padding: .35cqw; box-shadow: 0 1.2cqw 2.4cqw rgba(24, 16, 10, .42); }
.rs-hero__item--o { transform: translateX(-50%); z-index: 2; }
.rs-hero__item--a { transform: translateX(-152%) rotate(-7deg); z-index: 1; }
.rs-hero__item--w { transform: translateX(52%) rotate(7deg); z-index: 1; }
.rs-pop { position: absolute; left: 50%; bottom: -1.4cqw; min-width: 12.4cqw; padding: .55cqw .9cqw .6cqw; transform: translateX(-50%); border-radius: .6cqw; background: rgba(24, 18, 14, .92); color: #fff; text-align: center; white-space: nowrap; box-shadow: 0 .5cqw 1.2cqw rgba(0, 0, 0, .35); }
.rs-hero__item--a .rs-pop { transform: translateX(-50%) rotate(7deg); }
.rs-hero__item--w .rs-pop { transform: translateX(-50%) rotate(-7deg); }
.rs-pop span { display: block; font-size: max(10px, .85cqw); letter-spacing: .04em; color: #cfd8db; }
.rs-pop b { display: block; font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: max(15px, 1.75cqw); font-weight: 700; line-height: 1.25; color: #fff; font-variant-numeric: tabular-nums; }
.rs-pop small { font-size: .62em; font-family: inherit; }
.rs-hero__stamp { position: absolute; left: calc(50% + 20cqw); top: 8cqw; margin: 0; font-size: max(10px, .85cqw); color: #fff; white-space: nowrap; text-shadow: 0 0 6px rgba(0, 0, 0, .8); }
.rs-hero__stamp i { display: inline-block; width: .6em; height: .6em; margin-right: .5em; border-radius: 50%; background: #3fd07a; vertical-align: .05em; }
.rs-hero.is-on .rs-hero__item { animation: rsIn .55s cubic-bezier(.2, .8, .25, 1) both; }
.rs-hero.is-on .rs-hero__item--a { animation-delay: .1s; }
.rs-hero.is-on .rs-hero__item--o { animation-delay: 0s; }
.rs-hero.is-on .rs-hero__item--w { animation-delay: .2s; }
.rs-hero.is-on .rs-pop { animation: rsPop .4s cubic-bezier(.2, 1.4, .4, 1) both; }
.rs-hero.is-on .rs-hero__item--a .rs-pop { animation-delay: .5s; }
.rs-hero.is-on .rs-hero__item--o .rs-pop { animation-delay: .78s; }
.rs-hero.is-on .rs-hero__item--w .rs-pop { animation-delay: 1.06s; }
.rs-hero.is-on .rs-hero__stamp { animation: rsFade .5s 1.5s both; }
.rs-hero.is-on .rs-hero__stamp i { animation: rsBlink 2s 2s infinite; }
@keyframes rsIn { from { opacity: 0; margin-top: 1.5cqw; } to { opacity: 1; margin-top: 0; } }
@keyframes rsPop { from { opacity: 0; margin-bottom: -1cqw; } to { opacity: 1; margin-bottom: 0; } }
@keyframes rsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rsBlink { 50% { opacity: .35; } }
/* ふわふわ浮く・光が走る・順番に光る・写真がゆっくり寄る */
.rs-hero { transition: transform .35s ease-out; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.rs-hero.is-on .rs-hero__item { animation-name: rsIn, rsFloat; animation-duration: .55s, 5s; animation-timing-function: cubic-bezier(.2, .8, .25, 1), ease-in-out; animation-fill-mode: both, none; animation-iteration-count: 1, infinite; }
.rs-hero.is-on .rs-hero__item--a { animation-delay: .1s, 1.2s; }
.rs-hero.is-on .rs-hero__item--o { animation-delay: 0s, 1.8s; }
.rs-hero.is-on .rs-hero__item--w { animation-delay: .2s, 2.4s; }
.rs-hero__item::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 17cqw; border-radius: .8cqw; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%) no-repeat; background-size: 300% 100%; background-position: 130% 0; }
.rs-hero.is-on .rs-hero__item::after { animation: rsShine 6s ease-in-out infinite; }
.rs-hero.is-on .rs-hero__item--a::after { animation-delay: 2s; }
.rs-hero.is-on .rs-hero__item--o::after { animation-delay: 2.5s; }
.rs-hero.is-on .rs-hero__item--w::after { animation-delay: 3s; }
.rs-hero.is-on .rs-pop b { animation: rsGlow 6s ease-in-out infinite; }
.rs-hero.is-on .rs-hero__item--a .rs-pop b { animation-delay: 2s; }
.rs-hero.is-on .rs-hero__item--o .rs-pop b { animation-delay: 4s; }
.rs-hero.is-on .rs-hero__item--w .rs-pop b { animation-delay: 6s; }
#mainVisual p img { animation: rsZoom 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
#mainVisual p { overflow: hidden; }
@keyframes rsFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.7cqw; } }
@keyframes rsShine { 0%, 62% { background-position: 130% 0; } 82%, 100% { background-position: -30% 0; } }
@keyframes rsGlow { 0%, 12%, 100% { color: #fff; text-shadow: none; } 5% { color: #ffd9a8; text-shadow: 0 0 10px rgba(255, 190, 120, .9); } }
@keyframes rsZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  .rs-hero.is-on .rs-hero__item, .rs-hero.is-on .rs-pop, .rs-hero.is-on .rs-hero__stamp, .rs-hero.is-on .rs-hero__item::after, .rs-hero.is-on .rs-pop b, #mainVisual p img { animation: none; opacity: 1; }
}
@media screen and (min-width: 768px) and (max-width: 1100px) {
  #mainVisual a { width: auto; min-width: 200px; height: auto !important; padding: 8px 44px 8px 20px; font-size: 1.5rem; line-height: 1.4; white-space: nowrap; }
  .rs-hero__stamp { display: none; }
  .rs-pop { min-width: 15cqw; padding: .4cqw .5cqw .5cqw; }
  .rs-pop span { font-size: 9.5px; letter-spacing: 0; }
  .rs-pop b { font-size: 13px; }
}
@media screen and (max-width: 767px) {
  #mainVisual h1 { top: 6cqw; font-size: 7cqw; }
  #mainVisual a { bottom: 3cqw; }
  .rs-hero { top: 34cqw; height: 50cqw; }
  .rs-hero__item { width: 25cqw; }
  .rs-hero__item img { height: 38cqw; border-radius: 1.6cqw; padding: .7cqw; }
  #mainVisual a { width: 58cqw; }
  .rs-pop { min-width: 27.5cqw; bottom: -3.2cqw; padding: 1cqw 1.2cqw 1.2cqw; border-radius: 1.4cqw; }
  .rs-pop span { font-size: 2.3cqw; letter-spacing: 0; }
  .rs-pop b { font-size: 4.2cqw; }
  .rs-hero__item--a { transform: translateX(-156%) rotate(-7deg); }
  .rs-hero__item--w { transform: translateX(56%) rotate(7deg); }
  .rs-hero__stamp { left: 50%; top: -3.6cqw; transform: translateX(-50%); font-size: 2.6cqw; }
}
