本文へスキップ

CRG-21 — FEEDBACK FX

フィードバック・状態遷移21点 在庫あり

成功・エラー・完了・空状態。行動の結果を有機的に伝えるUX演出。Lottie不要の純CSS。 すべて画像不使用・クラス接頭辞 cg- 付きで、既存サイトに安全に積み込めます。

CRG-21-001
送信しました

送信完了(紙飛行機→チェック)Send Success

.cg-fb-send {
  position: relative;
  width: 180px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cg-fb-send .plane {
  position: absolute;
  top: 40px;
  left: 10px;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #4A6FA5;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cg-fb-send-fly 3.2s cubic-bezier(.45, .05, .55, .95) infinite;
}
.cg-fb-send .mark {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #3AA76D;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cg-fb-send-pop 3.2s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-send .mark circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: cg-fb-send-ringdraw 3.2s ease infinite; }
.cg-fb-send .mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: cg-fb-send-tickdraw 3.2s ease infinite; }
.cg-fb-send .burst {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #F2B707;
  box-shadow: 26px -14px 0 #3AA76D, -26px -12px 0 #F2B707, 18px 24px 0 #4A6FA5, -20px 22px 0 #3AA76D, 0 -30px 0 #E8557E, 30px 6px 0 #F2B707, -30px 4px 0 #4A6FA5;
  animation: cg-fb-send-burst 3.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
.cg-fb-send span {
  font-size: 13px;
  font-weight: 700;
  color: #2A2622;
  opacity: 0;
  animation: cg-fb-send-label 3.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
/* 飛行機が弧を描いて飛び去る→リングがばねで出現→チェック描画→紙吹雪 */
@keyframes cg-fb-send-fly {
  0% { transform: translate(-14px, 26px) rotate(16deg) scale(.7); opacity: 0; }
  10% { opacity: 1; }
  24% { transform: translate(34px, -4px) rotate(2deg) scale(1); }
  38% { transform: translate(104px, -38px) rotate(-12deg) scale(.75); opacity: 1; }
  46%, 100% { transform: translate(140px, -58px) rotate(-16deg) scale(.5); opacity: 0; }
}
@keyframes cg-fb-send-pop {
  0%, 42% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.14); opacity: 1; }
  56%, 90% { transform: scale(1); opacity: 1; }
  100% { transform: scale(.6); opacity: 0; }
}
@keyframes cg-fb-send-ringdraw { 0%, 46% { stroke-dashoffset: 145; } 66%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-send-tickdraw { 0%, 56% { stroke-dashoffset: 40; } 72%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-send-burst {
  0%, 60% { transform: scale(.2); opacity: 0; }
  66% { opacity: 1; }
  84%, 100% { transform: scale(1.3); opacity: 0; }
}
@keyframes cg-fb-send-label {
  0%, 58% { opacity: 0; transform: translateY(8px); }
  70%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}
<div class="cg-fb-send"><svg class="plane" viewBox="0 0 24 24" aria-hidden="true"><path d="M22 2 11 13"/><path d="M22 2 15 22l-4-9-9-4Z"/></svg><i class="burst" aria-hidden="true"></i><svg class="mark" viewBox="0 0 52 52" aria-hidden="true"><circle cx="26" cy="26" r="23"/><path d="M15 27l7 7 15-16"/></svg><span>送信しました</span></div>
GROSS WT. 3053 B ORIGINAL
CRG-21-002
送信に失敗しました

エラー(バツ描画+揺れ)Error Shake

.cg-fb-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cg-fb-error .wrap { position: relative; animation: cg-fb-error-shake 3.4s ease infinite; }
.cg-fb-error .ring {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  animation: cg-fb-error-pulse 3.4s ease-out infinite;
}
.cg-fb-error .mark {
  display: block;
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #C0392B;
  stroke-width: 4;
  stroke-linecap: round;
}
.cg-fb-error .mark circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: cg-fb-error-ringdraw 3.4s ease infinite; }
.cg-fb-error .mark path { stroke-dasharray: 26; stroke-dashoffset: 26; }
.cg-fb-error .mark path:nth-of-type(1) { animation: cg-fb-error-x 3.4s ease infinite; }
.cg-fb-error .mark path:nth-of-type(2) { animation: cg-fb-error-x 3.4s ease .12s infinite; }
.cg-fb-error span {
  font-size: 12.5px;
  font-weight: 700;
  color: #C0392B;
  background: #FBEAE8;
  padding: 6px 14px;
  border-radius: 8px;
  opacity: 0;
  animation: cg-fb-error-label 3.4s cubic-bezier(.22, 1, .36, 1) infinite;
}
/* 円→バツを順に描画→赤い波紋を出しながら首を振る */
@keyframes cg-fb-error-ringdraw { 0%, 6% { stroke-dashoffset: 145; } 32%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-error-x { 0%, 32% { stroke-dashoffset: 26; } 46%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-error-shake {
  0%, 48%, 76%, 100% { transform: translateX(0) rotate(0); }
  52% { transform: translateX(-7px) rotate(-2deg); }
  57% { transform: translateX(6px) rotate(2deg); }
  62% { transform: translateX(-4px) rotate(-1deg); }
  67% { transform: translateX(3px) rotate(.5deg); }
  72% { transform: translateX(0) rotate(0); }
}
@keyframes cg-fb-error-pulse {
  0%, 46% { box-shadow: 0 0 0 0 rgba(192, 57, 43, .35); }
  72% { box-shadow: 0 0 0 14px rgba(192, 57, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}
@keyframes cg-fb-error-label {
  0%, 55% { opacity: 0; transform: translateY(8px) scale(.9); }
  66%, 94% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; }
}
<div class="cg-fb-error"><div class="wrap"><i class="ring" aria-hidden="true"></i><svg class="mark" viewBox="0 0 52 52" aria-hidden="true"><circle cx="26" cy="26" r="23"/><path d="M17 17l18 18"/><path d="M35 17l-18 18"/></svg></div><span>送信に失敗しました</span></div>
GROSS WT. 2385 B ORIGINAL
CRG-21-003
保存中…保存しました

保存完了(スピナー→チェック)Saving to Saved

.cg-fb-save {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  font-size: 13.5px;
  font-weight: 700;
  min-width: 152px;
  animation: cg-fb-save-bg 3.4s ease infinite;
}
.cg-fb-save .icwrap { position: relative; width: 20px; height: 20px; flex: none; }
.cg-fb-save .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid #DCE3EC;
  border-top-color: #4A6FA5;
  animation: cg-fb-save-spin .7s linear infinite, cg-fb-save-out 3.4s ease infinite;
}
.cg-fb-save .tick {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #3AA76D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: cg-fb-save-tickdraw 3.4s ease infinite, cg-fb-save-tickpop 3.4s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-save .l-done { position: absolute; left: 52px; color: #3AA76D; opacity: 0; }
.cg-fb-save .l-save { animation: cg-fb-save-l1 3.4s ease infinite; }
.cg-fb-save .l-done { animation: cg-fb-save-l2 3.4s cubic-bezier(.22, 1, .36, 1) infinite; }
/* スピナーは縮んで消え、チェックがばねで飛び出す。ラベルは上下に入れ替わる */
@keyframes cg-fb-save-spin { to { transform: rotate(360deg); } }
@keyframes cg-fb-save-out {
  0%, 44% { opacity: 1; scale: 1; }
  50%, 100% { opacity: 0; scale: .4; }
}
@keyframes cg-fb-save-tickdraw { 0%, 48% { stroke-dashoffset: 24; } 64%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-save-tickpop {
  0%, 46% { transform: scale(.4); opacity: 0; }
  56% { transform: scale(1.25); opacity: 1; }
  62%, 92% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes cg-fb-save-bg { 0%, 46% { background: #fff; } 54%, 88% { background: #EFF9F3; } 100% { background: #fff; } }
@keyframes cg-fb-save-l1 { 0%, 44% { opacity: 1; transform: translateY(0); } 50%, 96% { opacity: 0; transform: translateY(-7px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes cg-fb-save-l2 { 0%, 50% { opacity: 0; transform: translateY(7px); } 58%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
<div class="cg-fb-save" role="status"><span class="icwrap" aria-hidden="true"><i class="ring"></i><svg class="tick" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7"/></svg></span><b class="l-save">保存中…</b><b class="l-done">保存しました</b></div>
GROSS WT. 2544 B ORIGINAL
CRG-21-004

ダウンロード完了Download Complete

.cg-fb-dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cg-fb-dl .disc {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cg-fb-dl-disc 3.2s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-dl .arrow {
  width: 3px;
  height: 18px;
  background: #4A6FA5;
  position: relative;
  animation: cg-fb-dl-arrow 3.2s ease-in infinite;
}
.cg-fb-dl .arrow::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: -1px;
  width: 13px;
  height: 13px;
  border: 3px solid #4A6FA5;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}
.cg-fb-dl .tick {
  position: absolute;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #3AA76D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: cg-fb-dl-tick 3.2s ease infinite;
}
.cg-fb-dl .bar { width: 130px; height: 8px; border-radius: 6px; background: #EEF2F6; overflow: hidden; }
.cg-fb-dl .bar i {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #4A6FA5, #3AA76D);
  overflow: hidden;
  animation: cg-fb-dl-fill 3.2s ease infinite;
}
.cg-fb-dl .bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) 0 0 / 200% 100%;
  animation: cg-fb-dl-shine 1s linear infinite;
}
/* 矢印が2回沈み込み→段階的に進むバー→ディスクが緑にポップしてチェック */
@keyframes cg-fb-dl-arrow {
  0% { transform: translateY(-10px); opacity: 0; }
  8% { opacity: 1; }
  20% { transform: translateY(6px) scaleY(.85); }
  26% { transform: translateY(2px) scaleY(1); }
  36% { transform: translateY(6px) scaleY(.9); }
  44% { transform: translateY(4px); opacity: 1; }
  50%, 100% { transform: translateY(10px); opacity: 0; }
}
@keyframes cg-fb-dl-fill {
  0% { width: 0; }
  10% { width: 16%; }
  24% { width: 33%; }
  30% { width: 38%; }
  40% { width: 68%; }
  48%, 100% { width: 100%; }
}
@keyframes cg-fb-dl-shine { to { background-position: -200% 0; } }
@keyframes cg-fb-dl-disc {
  0%, 48% { background: #EEF2F6; transform: scale(1); }
  56% { background: #E7F6EE; transform: scale(1.12); }
  62%, 92% { background: #E7F6EE; transform: scale(1); }
  100% { background: #EEF2F6; transform: scale(1); }
}
@keyframes cg-fb-dl-tick { 0%, 52% { stroke-dashoffset: 24; opacity: 0; } 58% { opacity: 1; } 72%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
<div class="cg-fb-dl" role="status"><div class="disc"><i class="arrow" aria-hidden="true"></i><svg class="tick" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg></div><div class="bar"><i></i></div></div>
GROSS WT. 2910 B ORIGINAL
CRG-21-005

スケルトン→表示Skeleton Reveal

.cg-fb-skel {
  display: flex;
  gap: 14px;
  width: 240px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  align-items: center;
}
.cg-fb-skel .ava {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(90deg, #E9EDF2 25%, #F5F7FA 50%, #E9EDF2 75%) 0 / 200% 100%;
  animation: cg-fb-skel-shine 1.4s ease infinite;
}
.cg-fb-skel .lines { flex: 1; display: grid; gap: 9px; }
.cg-fb-skel .lines span {
  position: relative;
  height: 11px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(90deg, #E9EDF2 25%, #F5F7FA 50%, #E9EDF2 75%) 0 / 200% 100%;
  animation: cg-fb-skel-shine 1.4s ease infinite;
}
.cg-fb-skel .w60 { width: 60%; }
.cg-fb-skel .w90 { width: 90%; }
.cg-fb-skel .w75 { width: 75%; }
/* 本物のコンテンツが左から順に流し込まれる(読み込み完了の表現) */
.cg-fb-skel .real {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
}
.cg-fb-skel .ava .real {
  background: linear-gradient(135deg, #FF9B54, #E8557E);
  animation: cg-fb-skel-ava 4.2s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-skel .lines .real { transform-origin: left center; }
.cg-fb-skel .r1 { background: #3F4A56; animation: cg-fb-skel-bar 4.2s cubic-bezier(.22, 1, .36, 1) .1s infinite; }
.cg-fb-skel .r2 { background: #C3CDD8; animation: cg-fb-skel-bar 4.2s cubic-bezier(.22, 1, .36, 1) .22s infinite; }
.cg-fb-skel .r3 { background: #C3CDD8; animation: cg-fb-skel-bar 4.2s cubic-bezier(.22, 1, .36, 1) .34s infinite; }
@keyframes cg-fb-skel-shine { to { background-position: -200% 0; } }
@keyframes cg-fb-skel-ava {
  0%, 46% { opacity: 0; transform: scale(.5); }
  56%, 90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes cg-fb-skel-bar {
  0%, 48% { opacity: 0; transform: scaleX(0); }
  60%, 90% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}
<div class="cg-fb-skel"><div class="ava"><i class="real" aria-hidden="true"></i></div><div class="lines"><span class="w60"><i class="real r1"></i></span><span class="w90"><i class="real r2"></i></span><span class="w75"><i class="real r3"></i></span></div></div>
GROSS WT. 2295 B ORIGINAL
CRG-21-006

オンボーディング進捗Onboarding Progress

.cg-fb-onb {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cg-fb-onb i {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #D5DDE6;
  overflow: hidden;
}
.cg-fb-onb i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #3AA76D;
  transform: scaleX(0);
  transform-origin: left center;
}
/* 現在地はバー状に伸び、中を進捗が流れる(ストーリーズ風)。完了時にポップ */
.cg-fb-onb i:nth-child(1) { animation: cg-fb-onb-w1 4.8s ease infinite; }
.cg-fb-onb i:nth-child(1)::after { animation: cg-fb-onb-f1 4.8s linear infinite; }
.cg-fb-onb i:nth-child(2) { animation: cg-fb-onb-w2 4.8s ease infinite; }
.cg-fb-onb i:nth-child(2)::after { animation: cg-fb-onb-f2 4.8s linear infinite; }
.cg-fb-onb i:nth-child(3) { animation: cg-fb-onb-w3 4.8s ease infinite; }
.cg-fb-onb i:nth-child(3)::after { animation: cg-fb-onb-f3 4.8s linear infinite; }
@keyframes cg-fb-onb-w1 {
  0%, 26% { width: 30px; }
  32% { width: 10px; transform: scale(1.3); }
  36%, 100% { width: 10px; transform: scale(1); }
}
@keyframes cg-fb-onb-f1 { 0% { transform: scaleX(0); } 24%, 100% { transform: scaleX(1); } }
@keyframes cg-fb-onb-w2 {
  0%, 26% { width: 10px; }
  33%, 59% { width: 30px; }
  65% { width: 10px; transform: scale(1.3); }
  69%, 100% { width: 10px; transform: scale(1); }
}
@keyframes cg-fb-onb-f2 { 0%, 33% { transform: scaleX(0); } 57%, 100% { transform: scaleX(1); } }
@keyframes cg-fb-onb-w3 {
  0%, 59% { width: 10px; }
  66%, 92% { width: 30px; }
  100% { width: 10px; }
}
@keyframes cg-fb-onb-f3 { 0%, 66% { transform: scaleX(0); } 90%, 96% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
<div class="cg-fb-onb" role="status" aria-label="3ステップ中"><i></i><i></i><i></i></div>
GROSS WT. 1815 B ORIGINAL
CRG-21-007

まだ何もありません

空状態(まだありません)Empty State

.cg-fb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cg-fb-empty .scene { position: relative; padding-top: 14px; }
.cg-fb-empty .box {
  position: relative;
  width: 56px;
  height: 42px;
  border: 3px solid #A9B4C0;
  border-radius: 4px 4px 8px 8px;
  background: #F1F4F8;
  animation: cg-fb-empty-float 3.6s ease-in-out infinite;
}
.cg-fb-empty .lid {
  position: absolute;
  top: -12px;
  left: -6px;
  right: -6px;
  height: 12px;
  border: 3px solid #A9B4C0;
  border-radius: 5px;
  background: #fff;
  transform-origin: left bottom;
  animation: cg-fb-empty-lid 3.6s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-empty .shade {
  display: block;
  width: 50px;
  height: 8px;
  margin: 9px auto 0;
  border-radius: 50%;
  background: rgba(42, 38, 34, .13);
  animation: cg-fb-empty-shade 3.6s ease-in-out infinite;
}
.cg-fb-empty .sp {
  position: absolute;
  top: 2px;
  right: -16px;
  width: 5px;
  height: 5px;
  background: #C4CEDA;
  box-shadow:
    0 -5px 0 #C4CEDA, 0 5px 0 #C4CEDA, -5px 0 0 #C4CEDA, 5px 0 0 #C4CEDA,
    -86px 10px 0 #D8E0E8, -86px 5px 0 #D8E0E8, -86px 15px 0 #D8E0E8, -91px 10px 0 #D8E0E8, -81px 10px 0 #D8E0E8;
  animation: cg-fb-empty-tw 2.4s steps(2, jump-none) infinite;
}
.cg-fb-empty p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #8A93A0;
  animation: cg-fb-empty-breath 3.6s ease-in-out infinite;
}
/* 箱がふわりと浮いてフタが開き、影が連動して縮む */
@keyframes cg-fb-empty-float { 50% { transform: translateY(-7px) rotate(-2deg); } }
@keyframes cg-fb-empty-lid { 0%, 12%, 88%, 100% { transform: rotate(0); } 50% { transform: rotate(-26deg) translateY(-2px); } }
@keyframes cg-fb-empty-shade { 50% { transform: scaleX(.7); opacity: .65; } }
@keyframes cg-fb-empty-tw { 50% { opacity: .25; transform: scale(.8); } }
@keyframes cg-fb-empty-breath { 50% { opacity: .65; } }
<div class="cg-fb-empty"><div class="scene"><i class="sp" aria-hidden="true"></i><div class="box"><i class="lid"></i></div><i class="shade" aria-hidden="true"></i></div><p>まだ何もありません</p></div>
GROSS WT. 2113 B ORIGINAL
CRG-21-008

アップロード完了リングUpload Ring

.cg-fb-up { position: relative; }
.cg-fb-up svg {
  width: 62px;
  height: 62px;
  transform: rotate(-90deg);
  animation: cg-fb-up-pop 3.4s cubic-bezier(.34, 1.56, .64, 1) infinite, cg-fb-up-glow 3.4s ease infinite;
}
.cg-fb-up .track { fill: none; stroke: #EEF2F6; stroke-width: 4; }
.cg-fb-up .prog {
  fill: none;
  stroke: #3AA76D;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 119;
  stroke-dashoffset: 119;
  animation: cg-fb-up-fill 3.4s cubic-bezier(.65, 0, .35, 1) infinite;
}
.cg-fb-up .tick {
  fill: none;
  stroke: #3AA76D;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
  transform-origin: 22px 22px;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: cg-fb-up-tick 3.4s ease infinite;
}
.cg-fb-up .burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3AA76D;
  box-shadow: 24px -18px 0 #3AA76D, -26px -14px 0 #57C285, 30px 10px 0 #57C285, -28px 14px 0 #3AA76D, 4px -32px 0 #57C285, -4px 32px 0 #3AA76D;
  animation: cg-fb-up-burst 3.4s cubic-bezier(.22, 1, .36, 1) infinite;
}
/* リングが満ちる→本体がポップして発光→チェック描画→粒が飛ぶ */
@keyframes cg-fb-up-fill { 0% { stroke-dashoffset: 119; } 52%, 100% { stroke-dashoffset: 0; } }
@keyframes cg-fb-up-pop {
  0%, 52% { transform: rotate(-90deg) scale(1); }
  58% { transform: rotate(-90deg) scale(1.14); }
  64%, 100% { transform: rotate(-90deg) scale(1); }
}
@keyframes cg-fb-up-glow {
  0%, 50% { filter: drop-shadow(0 0 0 rgba(58, 167, 109, 0)); }
  60% { filter: drop-shadow(0 0 6px rgba(58, 167, 109, .55)); }
  82%, 100% { filter: drop-shadow(0 0 0 rgba(58, 167, 109, 0)); }
}
@keyframes cg-fb-up-tick { 0%, 54% { stroke-dashoffset: 30; } 70%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 30; } }
@keyframes cg-fb-up-burst {
  0%, 54% { transform: scale(.2); opacity: 0; }
  60% { opacity: 1; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}
<div class="cg-fb-up" role="status"><i class="burst" aria-hidden="true"></i><svg viewBox="0 0 44 44" aria-hidden="true"><circle class="track" cx="22" cy="22" r="19"/><circle class="prog" cx="22" cy="22" r="19"/><path class="tick" d="M14 22l5 5 11-12"/></svg></div>
GROSS WT. 2282 B ORIGINAL
CRG-21-009

カート追加演出Add to Cart

.cg-fb-cart {
  position: relative;
  width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}
.cg-fb-cart .fly {
  position: absolute;
  left: 20px;
  top: 50%;
  margin-top: -15px;
  animation: cg-fb-cart-x 3.2s cubic-bezier(.45, .05, .55, .95) infinite;
}
.cg-fb-cart .item {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF9B54, #E8557E);
  box-shadow: 0 4px 10px rgba(232, 85, 126, .35);
  animation: cg-fb-cart-y 3.2s cubic-bezier(.45, .05, .55, .95) infinite;
}
.cg-fb-cart .basket svg { display: block; animation: cg-fb-cart-catch 3.2s ease infinite; }
.cg-fb-cart .basket { position: relative; }
.cg-fb-cart .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #E8557E;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  animation: cg-fb-cart-badge 3.2s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
/* 横移動と縦移動を分けて放物線を作る。カゴが受け止めて揺れ、バッジがばねで出る */
@keyframes cg-fb-cart-x {
  0%, 8% { transform: translateX(0); }
  46%, 100% { transform: translateX(112px); }
}
@keyframes cg-fb-cart-y {
  0%, 8% { transform: translateY(0) scale(1); opacity: 1; }
  26% { transform: translateY(-36px) scale(.95) rotate(10deg); }
  46% { transform: translateY(6px) scale(.45) rotate(24deg); opacity: 1; }
  50%, 100% { transform: translateY(12px) scale(.3); opacity: 0; }
}
@keyframes cg-fb-cart-catch {
  0%, 45% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(4px) rotate(-7deg); }
  57% { transform: translateY(-2px) rotate(4deg); }
  63%, 100% { transform: translateY(0) rotate(0); }
}
@keyframes cg-fb-cart-badge {
  0%, 47% { transform: scale(0); }
  56% { transform: scale(1.45); }
  62%, 90% { transform: scale(1); }
  96%, 100% { transform: scale(0); }
}
<div class="cg-fb-cart"><i class="fly" aria-hidden="true"><i class="item"></i></i><div class="basket" aria-hidden="true"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#2A2622" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg><b class="badge">1</b></div></div>
GROSS WT. 2484 B ORIGINAL
CRG-21-010

ステッパー完了Stepper Complete

.cg-fb-step {
  display: flex;
  align-items: center;
  width: 220px;
}
.cg-fb-step .dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #D5DDE6;
  position: relative;
}
.cg-fb-step .dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.cg-fb-step .dot::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 6px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
}
.cg-fb-step .bar { flex: 1; height: 4px; background: #D5DDE6; position: relative; overflow: hidden; }
.cg-fb-step .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #3AA76D, #5BC488);
  transform: scaleX(0);
  transform-origin: left;
}
/* 点灯時にポップ+波紋、バーはグラデーションで流れるように満ちる */
.cg-fb-step .dot:nth-child(1) { animation: cg-fb-step-d 4.2s ease infinite; }
.cg-fb-step .dot:nth-child(1)::before { animation: cg-fb-step-ring 4.2s ease-out infinite; }
.cg-fb-step .dot:nth-child(1)::after { animation: cg-fb-step-t 4.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.cg-fb-step .bar:nth-child(2)::after { animation: cg-fb-step-b 4.2s cubic-bezier(.65, 0, .35, 1) .3s infinite; }
.cg-fb-step .dot:nth-child(3) { animation: cg-fb-step-d 4.2s ease .6s infinite; }
.cg-fb-step .dot:nth-child(3)::before { animation: cg-fb-step-ring 4.2s ease-out .6s infinite; }
.cg-fb-step .dot:nth-child(3)::after { animation: cg-fb-step-t 4.2s cubic-bezier(.34, 1.56, .64, 1) .6s infinite; }
.cg-fb-step .bar:nth-child(4)::after { animation: cg-fb-step-b 4.2s cubic-bezier(.65, 0, .35, 1) .9s infinite; }
.cg-fb-step .dot:nth-child(5) { animation: cg-fb-step-d 4.2s ease 1.2s infinite; }
.cg-fb-step .dot:nth-child(5)::before { animation: cg-fb-step-ring 4.2s ease-out 1.2s infinite; }
.cg-fb-step .dot:nth-child(5)::after { animation: cg-fb-step-t 4.2s cubic-bezier(.34, 1.56, .64, 1) 1.2s infinite; }
@keyframes cg-fb-step-d {
  0%, 5% { background: #D5DDE6; transform: scale(1); }
  12% { background: #3AA76D; transform: scale(1.18); }
  17%, 92% { background: #3AA76D; transform: scale(1); }
  100% { background: #D5DDE6; transform: scale(1); }
}
@keyframes cg-fb-step-ring {
  0%, 6% { box-shadow: 0 0 0 0 rgba(58, 167, 109, .45); }
  28% { box-shadow: 0 0 0 9px rgba(58, 167, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 167, 109, 0); }
}
@keyframes cg-fb-step-t {
  0%, 8% { transform: rotate(45deg) scale(0); }
  16% { transform: rotate(45deg) scale(1.25); }
  22%, 92% { transform: rotate(45deg) scale(1); }
  100% { transform: rotate(45deg) scale(0); }
}
@keyframes cg-fb-step-b { 0%, 5% { transform: scaleX(0); } 20%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
<div class="cg-fb-step"><i class="dot"></i><i class="bar"></i><i class="dot"></i><i class="bar"></i><i class="dot"></i></div>
GROSS WT. 2942 B ORIGINAL
CRG-21-011
評価ありがとう!

星評価→お礼Rating Thanks

.cg-fb-star {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 64px;
  justify-content: center;
}
.cg-fb-star .stars { position: relative; display: flex; gap: 5px; animation: cg-fb-star-out 4s ease infinite; }
.cg-fb-star .stars::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #F2B707;
  box-shadow: 26px -16px 0 #F2B707, -28px -14px 0 #E8AC2F, 42px 8px 0 #E8557E, -44px 6px 0 #F2B707, 10px -24px 0 #E8AC2F, -8px 22px 0 #F2B707, 34px 20px 0 #E8AC2F, -34px 18px 0 #E8557E;
  transform: scale(.2);
  opacity: 0;
  animation: cg-fb-star-glitter 4s cubic-bezier(.22, 1, .36, 1) infinite;
}
.cg-fb-star i {
  width: 20px;
  height: 20px;
  background: #D5DDE6;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.cg-fb-star i:nth-child(1) { animation: cg-fb-star-fill 4s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.cg-fb-star i:nth-child(2) { animation: cg-fb-star-fill 4s cubic-bezier(.34, 1.56, .64, 1) .12s infinite; }
.cg-fb-star i:nth-child(3) { animation: cg-fb-star-fill 4s cubic-bezier(.34, 1.56, .64, 1) .24s infinite; }
.cg-fb-star i:nth-child(4) { animation: cg-fb-star-fill 4s cubic-bezier(.34, 1.56, .64, 1) .36s infinite; }
.cg-fb-star i:nth-child(5) { animation: cg-fb-star-fill 4s cubic-bezier(.34, 1.56, .64, 1) .48s infinite; }
.cg-fb-star span {
  position: absolute;
  font-size: 14px;
  font-weight: 900;
  color: #3AA76D;
  padding-bottom: 5px;
  background: linear-gradient(#F2B707, #F2B707) no-repeat left bottom / 0% 3px;
  opacity: 0;
  animation: cg-fb-star-thanks 4s cubic-bezier(.34, 1.56, .64, 1) infinite, cg-fb-star-line 4s ease infinite;
}
/* 星が回転しながらポップ→金の粒が弾ける→お礼が跳ねて下線が走る */
@keyframes cg-fb-star-fill {
  0%, 8% { background: #D5DDE6; transform: scale(1) rotate(0); }
  18% { background: #F2B707; transform: scale(1.4) rotate(-14deg); }
  26%, 55% { background: #F2B707; transform: scale(1) rotate(0); }
  62%, 100% { background: #D5DDE6; transform: scale(1) rotate(0); }
}
@keyframes cg-fb-star-glitter {
  0%, 52% { transform: scale(.2); opacity: 0; }
  57% { opacity: 1; }
  72%, 100% { transform: scale(1.3); opacity: 0; }
}
@keyframes cg-fb-star-out { 0%, 55% { opacity: 1; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes cg-fb-star-thanks {
  0%, 58% { opacity: 0; transform: scale(.5); }
  68% { opacity: 1; transform: scale(1.12); }
  73%, 92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
@keyframes cg-fb-star-line { 0%, 70% { background-size: 0% 3px; } 82%, 92% { background-size: 100% 3px; } 100% { background-size: 0% 3px; } }
<div class="cg-fb-star"><div class="stars" aria-hidden="true"><i></i><i></i><i></i><i></i><i></i></div><span>評価ありがとう!</span></div>
GROSS WT. 2942 B ORIGINAL
CRG-21-012
オフライン接続中…接続しました

接続状態インジケータConnection Status

.cg-fb-conn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  font-size: 13px;
  font-weight: 700;
  min-width: 150px;
  overflow: hidden;
  animation: cg-fb-conn-bg 4.5s ease infinite;
}
.cg-fb-conn .dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #C0392B;
  animation: cg-fb-conn-dot 4.5s ease infinite;
}
.cg-fb-conn .dot::before,
.cg-fb-conn .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
}
.cg-fb-conn .dot::before { animation: cg-fb-conn-ping 4.5s ease-out infinite; }
.cg-fb-conn .dot::after { animation: cg-fb-conn-ping 4.5s ease-out .4s infinite; }
.cg-fb-conn .ing, .cg-fb-conn .on { position: absolute; left: 41px; }
.cg-fb-conn .off { color: #C0392B; animation: cg-fb-conn-off 4.5s ease infinite; }
.cg-fb-conn .ing { color: #C7791D; opacity: 0; animation: cg-fb-conn-ing 4.5s ease infinite; }
.cg-fb-conn .on { color: #3AA76D; opacity: 0; animation: cg-fb-conn-on 4.5s ease infinite; }
/* 接続中はレーダー波紋が二重に走り、成功で緑の波紋+背景がふわっと点灯 */
@keyframes cg-fb-conn-dot {
  0%, 25% { background: #C0392B; box-shadow: none; }
  30%, 60% { background: #E8AC2F; }
  65% { background: #3AA76D; box-shadow: 0 0 0 0 rgba(58, 167, 109, .5); }
  76% { box-shadow: 0 0 0 8px rgba(58, 167, 109, 0); }
  92% { background: #3AA76D; }
  100% { background: #C0392B; }
}
@keyframes cg-fb-conn-ping {
  0%, 28% { box-shadow: 0 0 0 0 rgba(232, 172, 47, .5); opacity: 0; }
  32% { opacity: 1; }
  50% { box-shadow: 0 0 0 9px rgba(232, 172, 47, 0); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes cg-fb-conn-bg { 0%, 62% { background: #fff; } 68%, 86% { background: #EFF9F3; } 96%, 100% { background: #fff; } }
@keyframes cg-fb-conn-off {
  0%, 22% { opacity: 1; transform: translateY(0); }
  27%, 94% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes cg-fb-conn-ing {
  0%, 24% { opacity: 0; transform: translateY(8px); }
  29%, 58% { opacity: 1; transform: translateY(0); }
  64%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes cg-fb-conn-on {
  0%, 60% { opacity: 0; transform: translateY(8px); }
  66%, 90% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; }
}
<div class="cg-fb-conn" role="status"><i class="dot" aria-hidden="true"></i><b class="off">オフライン</b><b class="ing">接続中…</b><b class="on">接続しました</b></div>
GROSS WT. 2630 B ORIGINAL
CRG-21-013
変更を保存しました

トースト通知(スライド+自動消滅)Toast Notification

.cg-fb-toast {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
  font-size: 13px;
  font-weight: 700;
  color: #2A2622;
  overflow: hidden;
  transform: translateX(140%);
  animation: cg-fb-toast-slide 4s ease infinite;
}
.cg-fb-toast .ic {
  flex: none;
  width: 20px;
  height: 20px;
  transform: scale(0);
  animation: cg-fb-toast-ic 4s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-toast .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #3AA76D, #57C285);
  transform-origin: left;
  animation: cg-fb-toast-bar 4s linear infinite;
}
/* オーバーシュートして着地→アイコンが回転ポップ→残り時間バー→退場 */
@keyframes cg-fb-toast-slide {
  0% { transform: translateX(140%); }
  10% { transform: translateX(-4%); }
  14% { transform: translateX(1.5%); }
  18%, 76% { transform: translateX(0); }
  82% { transform: translateX(-3%); }
  92%, 100% { transform: translateX(140%); }
}
@keyframes cg-fb-toast-ic {
  0%, 11% { transform: scale(0) rotate(-90deg); }
  19% { transform: scale(1.2) rotate(8deg); }
  25%, 100% { transform: scale(1) rotate(0); }
}
@keyframes cg-fb-toast-bar {
  0%, 14% { transform: scaleX(1); }
  76%, 100% { transform: scaleX(0); }
}
<div class="cg-fb-toast" role="status"><svg class="ic" viewBox="0 0 24 24" fill="none" stroke="#3AA76D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg><span>変更を保存しました</span><i class="bar" aria-hidden="true"></i></div>
GROSS WT. 1738 B ORIGINAL
CRG-21-014

形式が正しくありません

確認できました

フォーム入力バリデーションField Validation

.cg-fb-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 230px;
}
.cg-fb-field .box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #D5DDE6;
  min-height: 18px;
  animation: cg-fb-field-shake 4.8s ease infinite, cg-fb-field-border 4.8s ease infinite;
}
/* 入力途中で止まる→エラー→続きを打って成功、を1本のタイムラインで表現 */
.cg-fb-field .txt {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 16ch;
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #2A2622;
  border-right: 2px solid #4A6FA5;
  animation: cg-fb-field-type 4.8s infinite;
}
.cg-fb-field .ok {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #3AA76D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: cg-fb-field-tick 4.8s ease infinite;
}
.cg-fb-field .msgs { position: relative; height: 14px; }
.cg-fb-field .msgs p { position: absolute; inset: 0; margin: 0; font-size: 11.5px; font-weight: 700; }
.cg-fb-field .err { color: #C0392B; opacity: 0; animation: cg-fb-field-err 4.8s ease infinite; }
.cg-fb-field .suc { color: #3AA76D; opacity: 0; animation: cg-fb-field-suc 4.8s ease infinite; }
@keyframes cg-fb-field-type {
  0% { max-width: 0ch; border-right-color: #4A6FA5; animation-timing-function: steps(12); }
  20% { max-width: 12ch; border-right-color: #4A6FA5; }
  44% { max-width: 12ch; border-right-color: #4A6FA5; animation-timing-function: steps(4); }
  54% { max-width: 16ch; border-right-color: #4A6FA5; }
  58%, 100% { max-width: 16ch; border-right-color: transparent; }
}
@keyframes cg-fb-field-shake {
  0%, 23% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  28% { transform: translateX(6px); }
  31% { transform: translateX(-4px); }
  34% { transform: translateX(4px); }
  37%, 100% { transform: translateX(0); }
}
@keyframes cg-fb-field-border {
  0%, 20% { border-color: #D5DDE6; }
  24%, 42% { border-color: #C0392B; }
  46%, 56% { border-color: #D5DDE6; }
  60%, 92% { border-color: #3AA76D; }
  100% { border-color: #D5DDE6; }
}
@keyframes cg-fb-field-tick {
  0%, 58% { opacity: 0; stroke-dashoffset: 24; }
  64% { opacity: 1; }
  76%, 92% { stroke-dashoffset: 0; opacity: 1; }
  100% { opacity: 0; }
}
@keyframes cg-fb-field-err {
  0%, 22% { opacity: 0; transform: translateY(4px); }
  27%, 42% { opacity: 1; transform: translateY(0); }
  48%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes cg-fb-field-suc {
  0%, 60% { opacity: 0; transform: translateY(4px); }
  66%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}
<div class="cg-fb-field"><label class="box"><span class="txt">taro@example.com</span><svg class="ok" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg></label><div class="msgs"><p class="err">形式が正しくありません</p><p class="suc">確認できました</p></div></div>
GROSS WT. 3158 B ORIGINAL
CRG-21-015

コピー完了(クリップボードモーフ)Copy to Clipboard

.cg-fb-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 9999px;
  background: #1B1A17;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  animation: cg-fb-copy-press 3.6s cubic-bezier(.34, 1.56, .64, 1) infinite, cg-fb-copy-bg 3.6s ease infinite;
}
.cg-fb-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: cg-fb-copy-ripple 3.6s ease-out infinite;
}
.cg-fb-copy .icwrap { position: relative; width: 16px; height: 16px; }
.cg-fb-copy .ic { position: absolute; inset: 0; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cg-fb-copy .clip { animation: cg-fb-copy-clip 3.6s ease infinite; }
.cg-fb-copy .tick { stroke-dasharray: 24; stroke-dashoffset: 24; animation: cg-fb-copy-tickdraw 3.6s ease infinite, cg-fb-copy-tickpop 3.6s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.cg-fb-copy .l-copy { animation: cg-fb-copy-l1 3.6s ease infinite; }
.cg-fb-copy .l-done { position: absolute; left: 44px; opacity: 0; animation: cg-fb-copy-l2 3.6s cubic-bezier(.22, 1, .36, 1) infinite; }
/* 押し込み→波紋→クリップが上へ抜けてチェックがばねで入り、緑へ遷移 */
@keyframes cg-fb-copy-press {
  0%, 42% { transform: scale(1); }
  46% { transform: scale(.94); }
  52% { transform: scale(1.06); }
  58%, 100% { transform: scale(1); }
}
@keyframes cg-fb-copy-ripple {
  0%, 44% { box-shadow: 0 0 0 0 rgba(58, 167, 109, .45); opacity: 1; }
  64% { box-shadow: 0 0 0 12px rgba(58, 167, 109, 0); opacity: 1; }
  100% { box-shadow: 0 0 0 0 rgba(58, 167, 109, 0); opacity: 0; }
}
@keyframes cg-fb-copy-clip {
  0%, 44% { opacity: 1; transform: translateY(0) rotate(0); }
  54%, 90% { opacity: 0; transform: translateY(-7px) rotate(-10deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes cg-fb-copy-tickdraw {
  0%, 48% { stroke-dashoffset: 24; }
  64%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 24; }
}
@keyframes cg-fb-copy-tickpop {
  0%, 46% { opacity: 0; transform: scale(.5); }
  56% { opacity: 1; transform: scale(1.2); }
  62%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}
@keyframes cg-fb-copy-l1 { 0%, 44% { opacity: 1; transform: translateY(0); } 50%, 94% { opacity: 0; transform: translateY(-7px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes cg-fb-copy-l2 { 0%, 48% { opacity: 0; transform: translateY(7px); } 56%, 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes cg-fb-copy-bg { 0%, 46% { background: #1B1A17; } 56%, 88% { background: #3AA76D; } 100% { background: #1B1A17; } }
<button class="cg-fb-copy" type="button" aria-live="polite"><span class="icwrap"><svg class="ic clip" viewBox="0 0 24 24" aria-hidden="true"><rect x="7" y="3" width="10" height="4" rx="1"/><rect x="5" y="5" width="14" height="16" rx="2"/></svg><svg class="ic tick" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg></span><span class="l-copy">コピー</span><span class="l-done">コピーしました</span></button>
GROSS WT. 3197 B ORIGINAL
CRG-21-016
メールを削除しました

元に戻す(アンドゥタイマー)Undo Snackbar

.cg-fb-undo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 14px 13px 20px;
  border-radius: 10px;
  background: #1B1A17;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(120%);
  animation: cg-fb-undo-slide 5s ease infinite;
}
.cg-fb-undo .undo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: #F2B707;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.cg-fb-undo .ring { width: 22px; height: 22px; transform: rotate(-90deg); flex: none; }
.cg-fb-undo .track { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 3; }
.cg-fb-undo .prog {
  fill: none;
  stroke: #F2B707;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 82;
  stroke-dashoffset: 0;
  animation: cg-fb-undo-ring 5s linear infinite;
}
/* 下から滑り込み→残り時間リングが減っていく→時間切れで縮んで消える */
@keyframes cg-fb-undo-slide {
  0% { transform: translateY(120%); opacity: 0; }
  8% { transform: translateY(0); opacity: 1; }
  82%, 88% { transform: translateY(0); opacity: 1; }
  96%, 100% { transform: translateY(120%) scale(.9); opacity: 0; }
}
@keyframes cg-fb-undo-ring {
  0%, 8% { stroke-dashoffset: 0; }
  86%, 100% { stroke-dashoffset: 82; }
}
<div class="cg-fb-undo" role="status"><span>メールを削除しました</span><button type="button" class="undo"><svg class="ring" viewBox="0 0 32 32" aria-hidden="true"><circle class="track" cx="16" cy="16" r="13"/><circle class="prog" cx="16" cy="16" r="13"/></svg><b>元に戻す</b></button></div>
GROSS WT. 1644 B ORIGINAL
CRG-21-017
弱い普通強い

パスワード強度メーターPassword Strength Meter

.cg-fb-pw { width: 220px; display: flex; flex-direction: column; gap: 8px; }
.cg-fb-pw .field {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #D5DDE6;
  animation: cg-fb-pw-border 5.6s ease infinite;
}
.cg-fb-pw .dots { display: flex; gap: 5px; }
.cg-fb-pw .dots i { width: 7px; height: 7px; border-radius: 50%; background: #2A2622; transform: scale(0); animation: cg-fb-pw-dot 5.6s ease infinite; }
/* 8文字ぶんのドットが順に打ち込まれ、強度バーとラベルが連動して切り替わる */
.cg-fb-pw .dots i:nth-child(1) { animation-delay: .1s; }
.cg-fb-pw .dots i:nth-child(2) { animation-delay: .25s; }
.cg-fb-pw .dots i:nth-child(3) { animation-delay: .4s; }
.cg-fb-pw .dots i:nth-child(4) { animation-delay: .55s; }
.cg-fb-pw .dots i:nth-child(5) { animation-delay: .7s; }
.cg-fb-pw .dots i:nth-child(6) { animation-delay: .85s; }
.cg-fb-pw .dots i:nth-child(7) { animation-delay: 1s; }
.cg-fb-pw .dots i:nth-child(8) { animation-delay: 1.15s; }
.cg-fb-pw .meter { height: 6px; border-radius: 4px; background: #EEF2F6; overflow: hidden; }
.cg-fb-pw .meter .fill { display: block; height: 100%; width: 0; border-radius: 4px; animation: cg-fb-pw-fill 5.6s ease infinite; }
.cg-fb-pw .labels { position: relative; height: 14px; }
.cg-fb-pw .labels b { position: absolute; inset: 0; font-size: 12px; font-weight: 700; opacity: 0; }
.cg-fb-pw .weak { color: #C0392B; animation: cg-fb-pw-weak 5.6s ease infinite; }
.cg-fb-pw .mid { color: #C7791D; animation: cg-fb-pw-mid 5.6s ease infinite; }
.cg-fb-pw .strong { color: #3AA76D; animation: cg-fb-pw-strong 5.6s ease infinite; }
@keyframes cg-fb-pw-dot {
  0%, 2% { transform: scale(0); }
  40% { transform: scale(1.3); }
  55%, 90% { transform: scale(1); }
  96%, 100% { transform: scale(0); }
}
@keyframes cg-fb-pw-fill {
  0%, 5% { width: 0; background: #D5DDE6; }
  16% { width: 30%; background: #C0392B; }
  36% { width: 60%; background: #E8AC2F; }
  50%, 90% { width: 100%; background: #3AA76D; }
  96%, 100% { width: 0; background: #D5DDE6; }
}
@keyframes cg-fb-pw-border {
  0%, 14% { border-color: #D5DDE6; }
  20%, 32% { border-color: #C0392B; }
  40%, 48% { border-color: #E8AC2F; }
  56%, 90% { border-color: #3AA76D; }
  96%, 100% { border-color: #D5DDE6; }
}
@keyframes cg-fb-pw-weak { 0%, 14% { opacity: 0; } 20%, 32% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes cg-fb-pw-mid { 0%, 36% { opacity: 0; } 42%, 48% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes cg-fb-pw-strong { 0%, 52% { opacity: 0; } 58%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
<div class="cg-fb-pw"><label class="field"><span class="dots"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span></label><div class="meter"><i class="fill"></i></div><div class="labels"><b class="weak">弱い</b><b class="mid">普通</b><b class="strong">強い</b></div></div>
GROSS WT. 2924 B ORIGINAL
CRG-21-018
読み取りました

QRコード読み取り完了QR Scan Success

.cg-fb-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cg-fb-qr .frame { position: relative; width: 92px; height: 92px; }
.cg-fb-qr .corner { position: absolute; width: 20px; height: 20px; border: 3px solid #4A6FA5; animation: cg-fb-qr-corner 3.6s ease infinite; }
.cg-fb-qr .tl { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.cg-fb-qr .tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.cg-fb-qr .bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.cg-fb-qr .br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.cg-fb-qr .qr { position: absolute; inset: 14px; fill: #2A2622; animation: cg-fb-qr-fade 3.6s ease infinite; }
.cg-fb-qr .scanline {
  position: absolute;
  top: 4px;
  left: 6px;
  right: 6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #4A6FA5, transparent);
  box-shadow: 0 0 8px rgba(74, 111, 165, .7);
  animation: cg-fb-qr-scan 3.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
.cg-fb-qr .tick {
  position: absolute;
  inset: 26px;
  fill: none;
  stroke: #3AA76D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transform: scale(.5);
  animation: cg-fb-qr-tick 3.6s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
.cg-fb-qr span { font-size: 12.5px; font-weight: 700; color: #3AA76D; opacity: 0; animation: cg-fb-qr-label 3.6s ease infinite; }
/* スキャンラインが往復→枠が緑に反応→QRが消えてチェックがばねで出現 */
@keyframes cg-fb-qr-scan {
  0% { top: 4px; opacity: 0; }
  6% { opacity: 1; }
  46% { top: 82px; opacity: 1; }
  52%, 100% { top: 82px; opacity: 0; }
}
@keyframes cg-fb-qr-corner {
  0%, 50% { border-color: #4A6FA5; }
  58%, 90% { border-color: #3AA76D; }
  100% { border-color: #4A6FA5; }
}
@keyframes cg-fb-qr-fade {
  0%, 52% { opacity: 1; transform: scale(1); }
  62%, 100% { opacity: 0; transform: scale(.85); }
}
@keyframes cg-fb-qr-tick {
  0%, 58% { opacity: 0; stroke-dashoffset: 24; transform: scale(.5); }
  68% { opacity: 1; transform: scale(1.15); }
  74%, 92% { opacity: 1; stroke-dashoffset: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
@keyframes cg-fb-qr-label {
  0%, 62% { opacity: 0; transform: translateY(6px); }
  72%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}
<div class="cg-fb-qr" role="status"><div class="frame"><i class="corner tl"></i><i class="corner tr"></i><i class="corner bl"></i><i class="corner br"></i><svg class="qr" viewBox="0 0 40 40" aria-hidden="true"><rect x="4" y="4" width="10" height="10"/><rect x="26" y="4" width="10" height="10"/><rect x="4" y="26" width="10" height="10"/><rect x="18" y="4" width="4" height="4"/><rect x="18" y="12" width="4" height="4"/><rect x="18" y="20" width="4" height="4"/><rect x="26" y="20" width="4" height="4"/><rect x="32" y="26" width="4" height="4"/><rect x="18" y="32" width="4" height="4"/><rect x="26" y="32" width="10" height="4"/></svg><i class="scanline" aria-hidden="true"></i><svg class="tick" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 13l4 4L19 7"/></svg></div><span>読み取りました</span></div>
GROSS WT. 3276 B ORIGINAL
CRG-21-019
128129

いいねバースト(ハート+カウント)Like Burst

.cg-fb-like {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}
.cg-fb-like .icwrap { position: relative; width: 26px; height: 26px; flex: none; }
.cg-fb-like .line,
.cg-fb-like .fill {
  position: absolute;
  inset: 0;
  width: 26px;
  height: 26px;
}
.cg-fb-like .line { fill: none; stroke: #A9B4C0; stroke-width: 1.8; animation: cg-fb-like-line 3.2s ease infinite; }
.cg-fb-like .fill { fill: #E8557E; opacity: 0; transform: scale(0); animation: cg-fb-like-fill 3.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.cg-fb-like .burst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E8557E;
  box-shadow: 20px -12px 0 #F2B707, -20px -10px 0 #E8557E, 16px 16px 0 #E8557E, -16px 14px 0 #F2B707, 0 -22px 0 #E8557E, 22px 4px 0 #F2B707;
  animation: cg-fb-like-burst 3.2s cubic-bezier(.22, 1, .36, 1) infinite;
}
.cg-fb-like .cnt { position: relative; width: 3ch; height: 16px; font-size: 13.5px; font-weight: 800; color: #2A2622; overflow: hidden; }
.cg-fb-like .cnt b { position: absolute; left: 0; top: 0; }
.cg-fb-like .n2 { color: #E8557E; }
.cg-fb-like .n1 { animation: cg-fb-like-n1 3.2s ease infinite; }
.cg-fb-like .n2 { animation: cg-fb-like-n2 3.2s cubic-bezier(.22, 1, .36, 1) infinite; }
/* 輪郭ハートが縮む→塗りハートがばねで出現+粒が弾ける→カウントが繰り上がる */
@keyframes cg-fb-like-line {
  0%, 44% { opacity: 1; transform: scale(1); }
  52%, 100% { opacity: 0; transform: scale(.7); }
}
@keyframes cg-fb-like-fill {
  0%, 44% { opacity: 0; transform: scale(0); }
  54% { opacity: 1; transform: scale(1.3); }
  62%, 92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}
@keyframes cg-fb-like-burst {
  0%, 48% { transform: scale(.2); opacity: 0; }
  56% { opacity: 1; }
  76%, 100% { transform: scale(1.4); opacity: 0; }
}
@keyframes cg-fb-like-n1 {
  0%, 46% { opacity: 1; transform: translateY(0); }
  54%, 96% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes cg-fb-like-n2 {
  0%, 50% { opacity: 0; transform: translateY(14px); }
  58%, 90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}
<div class="cg-fb-like" role="status"><span class="icwrap" aria-hidden="true"><svg class="line" viewBox="0 0 24 24"><path d="M12 21s-6.7-4.36-9.3-8.32C1 10.4 1.6 6.9 4.6 5.6 7.1 4.5 9.5 5.4 12 8c2.5-2.6 4.9-3.5 7.4-2.4 3 1.3 3.6 4.8 1.9 7.48C18.7 16.64 12 21 12 21Z"/></svg><svg class="fill" viewBox="0 0 24 24"><path d="M12 21s-6.7-4.36-9.3-8.32C1 10.4 1.6 6.9 4.6 5.6 7.1 4.5 9.5 5.4 12 8c2.5-2.6 4.9-3.5 7.4-2.4 3 1.3 3.6 4.8 1.9 7.48C18.7 16.64 12 21 12 21Z"/></svg><i class="burst"></i></span><span class="cnt"><b class="n1">128</b><b class="n2">129</b></span></div>
GROSS WT. 2936 B ORIGINAL
CRG-21-020
ここにドラッグ&ドロップアップロード完了

ドラッグ&ドロップ アップロードDrag & Drop Upload

.cg-fb-drop { display: flex; }
.cg-fb-drop .zone {
  position: relative;
  width: 220px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  border: 2.5px dashed #C3CDD8;
  background: #F7F9FB;
  animation: cg-fb-drop-zone 4.6s ease infinite;
}
.cg-fb-drop .icwrap { position: relative; width: 26px; height: 26px; flex: none; }
.cg-fb-drop .up,
.cg-fb-drop .ok {
  position: absolute;
  inset: 0;
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cg-fb-drop .up { stroke: #4A6FA5; animation: cg-fb-drop-up 4.6s cubic-bezier(.45, .05, .55, .95) infinite; }
.cg-fb-drop .ok { stroke: #3AA76D; stroke-dasharray: 24; stroke-dashoffset: 24; opacity: 0; animation: cg-fb-drop-ok 4.6s ease infinite; }
.cg-fb-drop .lwrap { position: relative; width: 100%; height: 15px; }
.cg-fb-drop .l1, .cg-fb-drop .l2 {
  position: absolute;
  inset: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.cg-fb-drop .l1 { color: #8A93A0; animation: cg-fb-drop-l1 4.6s ease infinite; }
.cg-fb-drop .l2 { color: #3AA76D; opacity: 0; animation: cg-fb-drop-l2 4.6s ease infinite; }
/* 破線が波打つ→ファイルが枠内へ落下→縁が緑に変わりチェックが描かれる */
@keyframes cg-fb-drop-zone {
  0%, 30% { border-color: #C3CDD8; background: #F7F9FB; transform: scale(1); }
  38% { border-color: #4A6FA5; background: #EEF3FA; transform: scale(1.02); }
  52%, 86% { border-color: #3AA76D; background: #EFF9F3; transform: scale(1); }
  96%, 100% { border-color: #C3CDD8; background: #F7F9FB; transform: scale(1); }
}
@keyframes cg-fb-drop-up {
  0%, 28% { transform: translateY(0); opacity: 1; }
  40%, 100% { transform: translateY(14px) scale(.7); opacity: 0; }
}
@keyframes cg-fb-drop-ok {
  0%, 42% { opacity: 0; stroke-dashoffset: 24; transform: scale(.6); }
  50% { opacity: 1; transform: scale(1.15); }
  58%, 88% { opacity: 1; stroke-dashoffset: 0; transform: scale(1); }
  100% { opacity: 0; }
}
@keyframes cg-fb-drop-l1 {
  0%, 30% { opacity: 1; }
  40%, 100% { opacity: 0; }
}
@keyframes cg-fb-drop-l2 {
  0%, 48% { opacity: 0; transform: translateY(6px); }
  58%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; }
}
<div class="cg-fb-drop" role="status"><div class="zone"><span class="icwrap" aria-hidden="true"><svg class="up" viewBox="0 0 24 24"><path d="M12 16V4M6 10l6-6 6 6M4 20h16"/></svg><svg class="ok" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7"/></svg></span><span class="lwrap"><b class="l1">ここにドラッグ&amp;ドロップ</b><b class="l2">アップロード完了</b></span></div></div>
GROSS WT. 2714 B ORIGINAL
CRG-21-021
タスク: 資料を送付
タスク: MTG準備

スワイプで削除Swipe to Delete

.cg-fb-swipe { display: flex; }
.cg-fb-swipe .list { width: 230px; display: flex; flex-direction: column; }
.cg-fb-swipe .row1 {
  position: relative;
  border-radius: 10px;
  background: #C0392B;
  overflow: hidden;
  animation: cg-fb-swipe-row 4.4s ease infinite;
}
.cg-fb-swipe .row2 { margin-top: 8px; }
.cg-fb-swipe .del {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 16px;
}
.cg-fb-swipe .del svg { width: 18px; height: 18px; opacity: 0; animation: cg-fb-swipe-del 4.4s ease infinite; }
.cg-fb-swipe .card {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
  font-size: 12.5px;
  font-weight: 700;
  color: #2A2622;
}
.cg-fb-swipe .row1 .card { animation: cg-fb-swipe-card 4.4s cubic-bezier(.65, 0, .35, 1) infinite; }
/* カードが左へスライドして削除ボタンが覗く→行が畳まれて次の行が繰り上がる */
@keyframes cg-fb-swipe-card {
  0%, 22% { transform: translateX(0); }
  40%, 56% { transform: translateX(-58px); }
  66%, 100% { transform: translateX(0); }
}
@keyframes cg-fb-swipe-del {
  0%, 26% { opacity: 0; transform: translateX(8px); }
  42%, 54% { opacity: 1; transform: translateX(0); }
  64%, 100% { opacity: 0; transform: translateX(8px); }
}
@keyframes cg-fb-swipe-row {
  0%, 66% { height: 46px; opacity: 1; margin-bottom: 8px; }
  80%, 100% { height: 0; opacity: 0; margin-bottom: 0; }
}
<div class="cg-fb-swipe" role="status"><div class="list"><div class="row1"><i class="del" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2m-9 0v14a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V6"/></svg></i><span class="card">タスク: 資料を送付</span></div><div class="row2"><span class="card">タスク: MTG準備</span></div></div></div>
GROSS WT. 2024 B ORIGINAL