         circleimageview.image = circleimage
         circleimageview.alpha = 0.0
         
+        // 輪郭の線をアニメーションする(くるくるする)
+        let strokeStartAnimation = CABasicAnimation(keyPath: "strokeStart")
+        strokeStartAnimation.fromValue = -0.5
+        strokeStartAnimation.toValue = 1.0
+        
+        let strokeEndAnimation = CABasicAnimation(keyPath: "strokeEnd")
+        strokeEndAnimation.fromValue = 0.0
+        strokeEndAnimation.toValue = 1.0
+        
+        
+        
+        let strokeAnimationGroup = CAAnimationGroup()
+        strokeAnimationGroup.duration = 0.2
+        strokeAnimationGroup.repeatDuration = CFTimeInterval.infinity
+        strokeAnimationGroup.animations = [strokeStartAnimation,strokeEndAnimation]
+//        ovalShapeLayer.addAnimation(strokeAnimationGroup, forKey: nil)
+
+        
         //遷移ボタンの作成
         for(var i = 0; i < 4; i++){
             let GestureRecognizerViewwork = UIView()
             let tapwork = UITapGestureRecognizer()
+            let ovalShapeLayerwork = CAShapeLayer()
             
             tapwork.addTarget(self, action: "onTap:")
             GestureRecognizerViewwork.frame = CGRectMake(CGFloat(GesturePositionArray[i][0]),CGFloat(GesturePositionArray[i][1]),CGFloat(GesturePositionArray[i][2]),CGFloat(GesturePositionArray[i][2]))
-
+            
+            ovalShapeLayerwork.strokeColor = UIColor.clearColor().CGColor
+            ovalShapeLayerwork.fillColor = UIColor.clearColor().CGColor
+            ovalShapeLayerwork.lineWidth = 6.0
+            ovalShapeLayerwork.path = UIBezierPath(ovalInRect: CGRect(x: CGFloat(GesturePositionArray[i][0]), y: CGFloat(GesturePositionArray[i][1]), width: CGFloat(GesturePositionArray[i][2]), height: CGFloat(GesturePositionArray[i][2]))).CGPath
             
             if(i == 3){
                 GestureRecognizerViewwork.layer.cornerRadius = 45

            })
            
        }else{      //メニューが消える
            self.ovalShapeLayer.strokeColor = UIColor.clearColor().CGColor
            
            UIView.animateWithDuration(0.3, animations: { () -> Void in
                self.circleimageview.alpha = 0.0
                for(var i = 0; i < 4; i++){
                    self.GestureRecognizerViewArray[i].backgroundColor = UIColor.hex("00e6ff", alpha: 0.0)

                }
                self.menushow = 0
            })
            

    func MenuButtontapped(sender: UIButton){
        
        if(menushow == 0){      //Menuが出てくる
            for(var i = 0; i < 4; i++){
                self.ovalShapeLayerArray[i].strokeColor = UIColor.hex(ovalShapeLayerArrayColorCode[i], alpha: 1.0).CGColor
            }
            
            UIView.animateWithDuration(0.3, animations: { () -> Void in
                self.AnimationMenuView.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
