@charset "UTF-8";
/* =========================================================
   IMG★SHOP LP  motion
   ========================================================= */

/* ---------- keyframes ---------- */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes popIn    { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bounceY  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hop      { 0%,70%,100% { transform: translateY(0) rotate(0); } 80% { transform: translateY(-14px) rotate(-3deg); } 90% { transform: translateY(0) rotate(2deg); } }
@keyframes sway     { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes floaty   { 0%,100% { transform: translate(0,0); } 50% { transform: translate(0,-14px); } }
@keyframes drift    { 0%,100% { translate: 0 0; scale: 1; } 50% { translate: 12px -18px; scale: 1.04; } }
@keyframes spinSlow { to { rotate: 360deg; } }
@keyframes wobble   { 0%,100% { rotate: 0deg; } 25% { rotate: -6deg; } 75% { rotate: 6deg; } }
@keyframes arrowDown{ 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes shine    { 0% { left: -60%; } 30%,100% { left: 130%; } }
@keyframes nudge    { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes bubblePop{ 0%,100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(-3deg) scale(1.05); } }

/* ---------- MV entrance ---------- */
.js .mv__pill, .js .mv__title, .js .mv__sub, .js .mv__checks li, .js .mv__btns .btn { opacity: 0; }
.is-loaded .mv__pill        { animation: popIn .6s .1s cubic-bezier(.2,.8,.3,1.2) both; }
.is-loaded .mv__title       { animation: fadeUp .7s .25s cubic-bezier(.2,.7,.2,1) both; }
.is-loaded .mv__sub         { animation: fadeUp .7s .45s cubic-bezier(.2,.7,.2,1) both; }
.js .mv__logo img           { opacity: 0; }
.is-loaded .mv__logo img    { animation: popIn .8s .65s cubic-bezier(.2,.8,.3,1.25) both; }
.is-loaded .mv__checks li   { animation: fadeUp .5s cubic-bezier(.2,.7,.2,1) both; }
.is-loaded .mv__checks li:nth-child(1) { animation-delay: .95s; }
.is-loaded .mv__checks li:nth-child(2) { animation-delay: 1.05s; }
.is-loaded .mv__checks li:nth-child(3) { animation-delay: 1.15s; }
.is-loaded .mv__checks li:nth-child(4) { animation-delay: 1.25s; }
.is-loaded .mv__btns .btn   { animation: fadeUp .6s 1.4s cubic-bezier(.2,.7,.2,1) both; }
.is-loaded .mv__btns .btn + .btn { animation-delay: 1.5s; }
.mv__cart { animation: floaty 4s ease-in-out infinite; }
.mv__build { display: inline-block; }
.is-loaded .mv__build { animation: fadeUp .7s .45s both, hop 3.2s 2s ease-in-out infinite; }

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal="pop"] { transform: scale(.85); transition-timing-function: cubic-bezier(.2,.8,.3,1.3); }
.js [data-reveal="left"]  { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- section title ---------- */
.sec-title__en { transition: transform .3s; }
.sec-title.is-in .sec-title__en { animation: popIn .6s cubic-bezier(.2,.8,.3,1.3) both; }

/* ---------- characters ---------- */
.charas__group img { transform-origin: 50% 100%; }
.is-in .charas__group img,
.charas__group.is-in img { animation: hop 2.8s ease-in-out infinite; }
.is-in .charas__group img:nth-child(2), .charas__group.is-in img:nth-child(2) { animation-delay: .35s; }
.is-in .charas__group img:nth-child(3), .charas__group.is-in img:nth-child(3) { animation-delay: .7s; }
.bubble { animation: bubblePop 2.4s ease-in-out infinite; }
.problem__chara { transform-origin: 50% 100%; animation: sway 2.6s ease-in-out infinite; }
.problem__chara:last-child { animation-delay: -1.3s; }
.problem__arrow { animation: arrowDown 1.4s ease-in-out infinite; }

/* ---------- decorations ---------- */
.deco[src*="shape"] { animation: drift 12s ease-in-out infinite; }
.deco[src*="dots"]  { animation: drift 9s ease-in-out infinite reverse; }
.deco--price-shape, .deco--faq-shape { animation-duration: 14s !important; animation-delay: -5s !important; }
.mv { background-attachment: scroll; }

/* ---------- stickers ---------- */
.sticker::before { animation: spinSlow 18s linear infinite; }
.sticker { animation: wobble 3s ease-in-out infinite; }
.plan--2 .sticker { animation-delay: -1s; }
.plan--3 .sticker { animation-delay: -2s; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--red::after, .btn--white::after, .header__cta::after {
  content: ""; position: absolute; top: 0; left: -60%; z-index: -1; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.6s ease-in-out infinite;
}
.btn--white::after { background: linear-gradient(100deg, transparent, rgba(244,116,39,.18), transparent); }
.header__cta { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s; }
.header__cta:hover { transform: translateY(-2px); }
.btn:hover .i-arrow, .header__cta:hover .i-arrow, .exp:hover .exp__price b { animation: nudge .6s ease-in-out infinite; }
.exp__price b { display: inline-block; }

/* ---------- cards hover ---------- */
.point, .plan, .case-card, .step, .problem__list li {
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.point:hover, .case-card:hover, .step:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(153,77,26,.16); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(153,77,26,.16); }
.problem__list li:hover { transform: translateX(4px); }
.case-card__img, .plan__photo { transition: transform .5s; }
.case-card { overflow: hidden; }
.case-card:hover .case-card__img { transform: scale(1.04); }
.point__head img, .step__icon img { transition: transform .4s cubic-bezier(.2,.8,.3,1.4); }
.point:hover .point__head img, .step:hover .step__icon img { transform: rotate(-8deg) scale(1.12); }

/* ---------- years / highlights ---------- */
.years__num .n { display: inline-block; }
.years.is-in .years__num .n { animation: popIn .7s .2s cubic-bezier(.2,.8,.3,1.4) both; }
.solution__copy .s2 { display: inline-block; }
.solution__copy.is-in .s2 { animation: popIn .7s .3s cubic-bezier(.2,.8,.3,1.4) both; }
/* ---------- FAQ open ---------- */
.qa__a { transition: opacity .3s; }
.qa:not([open]) .qa__a { opacity: 0; }
.qa summary { transition: background .2s; }
.qa summary:hover { background: #FFE7D2; }

/* ---------- header ---------- */
.header { transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

/* ---------- page top ---------- */
.pagetop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(244,116,39,.35);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s;
}
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { transform: translateY(-4px); }
.pagetop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) { .pagetop { right: 14px; bottom: 14px; width: 48px; height: 48px; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js [data-reveal], .js .mv__pill, .js .mv__title, .js .mv__sub, .js .mv__checks li, .js .mv__btns .btn, .js .mv__logo img { opacity: 1 !important; transform: none !important; }
}

/* プランのステッカーは揺れも揃える */
.plan--2 .sticker, .plan--3 .sticker { animation-delay: 0s; }

/* ステッカーの文字は傾きを固定（動くのは星形の背景だけ） */
.sticker { animation: none; }
