{"version":3,"file":"CTAButton.CAAcJS21.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_CKT6jEEQ","ControlType","addPropertyControls","CTAButton","isPrimary","variant","isGold","isPink","bg","pulseColor","textColor","style","label","init_CTAButton"],"sources":["https:/framerusercontent.com/modules/4oL6zftasws5cvhWmLbM/cFbSM1VxmCholMUa0uL0/CTAButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function CTAButton({label=\"資料請求・お問い合わせ\",href=\"https://admina.moneyforward.com/jp/demo\",variant=\"primary\",style}){const isPrimary=variant===\"primary\";const isGold=variant===\"gold\";const isPink=variant===\"pink\";const bg=isGold?\"linear-gradient(135deg, #f5a623 0%, #f0c040 50%, #f5a623 100%)\":isPink?\"#FF388B\":isPrimary?\"#4361ee\":\"rgba(255,255,255,0.15)\";const pulseColor=isGold?\"rgba(245,166,35,\":isPink?\"rgba(255,56,139,\":isPrimary?\"rgba(67,97,238,\":\"rgba(255,255,255,\";const textColor=isGold?\"#1a0e00\":\"#ffffff\";return /*#__PURE__*/_jsxs(\"a\",{href:href,target:\"_blank\",rel:\"noopener noreferrer\",style:{position:\"relative\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:200,minHeight:52,padding:\"14px 32px\",background:bg,borderRadius:100,textDecoration:\"none\",cursor:\"pointer\",overflow:\"visible\",boxSizing:\"border-box\",border:isPrimary?\"none\":isGold?\"none\":isPink?\"none\":\"1.5px solid rgba(255,255,255,0.4)\",...style},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,borderRadius:100,border:`2px solid ${pulseColor}0.6)`,animation:\"cta-pulse1 2.4s ease-out infinite\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,borderRadius:100,border:`2px solid ${pulseColor}0.35)`,animation:\"cta-pulse2 2.4s ease-out infinite\",animationDelay:\"0.8s\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",inset:0,borderRadius:100,background:\"linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.28) 50%, transparent 62%)\",backgroundSize:\"250% 100%\",animation:\"cta-shimmer 3s ease-in-out infinite\",pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",zIndex:1,fontSize:15,fontWeight:700,color:textColor,fontFamily:\"'Noto Sans JP', sans-serif\",letterSpacing:\"-0.01em\",whiteSpace:\"nowrap\"},children:label}),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes cta-pulse1 {\n                    0%   { transform: scale(1);    opacity: 0.9; }\n                    70%  { transform: scale(1.20); opacity: 0;   }\n                    100% { transform: scale(1.20); opacity: 0;   }\n                }\n                @keyframes cta-pulse2 {\n                    0%   { transform: scale(1);    opacity: 0.6; }\n                    70%  { transform: scale(1.32); opacity: 0;   }\n                    100% { transform: scale(1.32); opacity: 0;   }\n                }\n                @keyframes cta-shimmer {\n                    0%   { background-position: 180% center; }\n                    55%  { background-position: -80% center; }\n                    100% { background-position: -80% center; }\n                }\n            `})]});}addPropertyControls(CTAButton,{label:{type:ControlType.String,title:\"ラベル\",defaultValue:\"資料請求・お問い合わせ\"},href:{type:ControlType.String,title:\"リンク先\",defaultValue:\"https://admina.moneyforward.com/jp/demo\"},variant:{type:ControlType.Enum,title:\"スタイル\",options:[\"primary\",\"secondary\",\"gold\",\"pink\"],optionTitles:[\"Primary（青）\",\"Secondary（透明）\",\"Gold（金）\",\"Pink（ピンク）\"],defaultValue:\"primary\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CTAButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CTAButton.map"],"mappings":"A,mKAA6G,SAAwBO,EAAU,CAAC,QAAM,cAAc,OAAK,0CAA0C,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