         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++){

    
    //メニューボタンを押した時のアニメーション
    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

    
    let GesturePositionArray: [[Int]] = [[225,171,50],[75,260,50],[200,330,50],[145,217,90]] //右上,左下,右下,真ん中
    var GestureRecognizerViewArray: [UIView] = []
    let ovalShapeLayerArrayColorCode: [String] = ["6648ff","6648ff","6648ff","6648ff"]       //ぐるぐる円のRGBカラーコード
    var ovalShapeLayerArray: [CAShapeLayer] = []
    var tap: [UITapGestureRecognizer] = []
    let moveToPoint: [[Int]] = [[50,100],[100,100],[150,100],[200,100]]
    let addToPoint: [[Int]] = [[50,300],[100,300],[150,300],[200,300]]
    var Straightline: [UIBezierPath] = []
    var lineShapeLayer: [CAShapeLayer] = []
    var lineAnimation: [CABasicAnimation] = []
    
//    let ovalShapeLayer = CAShapeLayer()
    
    override func viewDidLoad() {
